/* Valentine Texas Bar. Brand book Sept 28 2026: photocopied objects, black toner on pale paper,
   condensed type for short statements, a neutral sans for the name. */

@font-face { font-family: "Big Shoulders Display"; src: url(/fonts/big-shoulders-display-latin-900-normal.woff2) format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Big Shoulders Display"; src: url(/fonts/big-shoulders-display-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url(/fonts/work-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url(/fonts/work-sans-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url(/fonts/work-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: #E3E1D9;      /* copier paper, not cream */
  --paper-2: #D7D4CB;    /* fields, product beds */
  --toner: #141412;
  --toner-2: #45443F;    /* secondary text */
  --metal: #8E908B;      /* rules */
  --oxblood: #6B1D1C;    /* the barber chair's seat; actions and today only */
  --oxblood-2: #551615;
  --gutter: clamp(16px, 4vw, 56px);
  --measure: 34rem;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--toner);
  font: 400 1.0625rem/1.55 var(--sans);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--oxblood); }
:focus-visible { outline: 3px solid var(--oxblood); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
figure { margin: 0; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--toner); color: var(--paper); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- top ---------- */
.top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
  position: relative; z-index: 5;
}
.wordmark {
  font: 500 0.95rem/1 var(--sans);
  text-transform: uppercase; letter-spacing: 0.06em;
  text-decoration: none; white-space: nowrap;
}
.top nav { display: flex; align-items: baseline; gap: clamp(12px, 2.4vw, 28px); font-size: 0.95rem; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; }
.bag-open {
  font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer;
}
.bag-count {
  display: inline-block; min-width: 1.5em; padding: 0 0.35em; margin-left: 0.15em;
  border: 1px solid var(--toner); border-radius: 999px; text-align: center; font-size: 0.85em;
}
.bag-open.has-items .bag-count { background: var(--oxblood); border-color: var(--oxblood); color: var(--paper); }
@media (max-width: 620px) {
  .top { flex-wrap: wrap; row-gap: 10px; }
  .top nav { width: 100%; justify-content: space-between; }
}

/* ---------- shared ---------- */
section { padding: clamp(56px, 9vw, 128px) var(--gutter); }
h2 {
  font: 900 clamp(2.75rem, 6.5vw, 5rem)/0.9 var(--display);
  text-transform: uppercase; letter-spacing: 0.005em;
}
.h-sub { font-size: clamp(2rem, 4vw, 2.75rem); margin-top: 48px; }
.statement {
  font: 900 clamp(5.5rem, 12.5vw, 13rem)/0.87 var(--display);
  text-transform: uppercase; letter-spacing: -0.005em;
}
.statement-md { font-size: clamp(2.5rem, 7vw, 7rem); line-height: 0.9; }
.lede { font-size: 1.25rem; max-width: var(--measure); margin-top: 14px; }
.fine { font-size: 0.875rem; color: var(--toner-2); margin-top: 12px; max-width: var(--measure); }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head .lede { margin-top: 0; }

.btn {
  display: inline-block; font: 500 1rem/1 var(--sans);
  padding: 14px 20px; border: 1.5px solid var(--toner); border-radius: 2px;
  background: transparent; color: var(--toner); text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--toner); color: var(--paper); }
.btn-solid { background: var(--oxblood); border-color: var(--oxblood); color: #F3EFE7; }
.btn-solid:hover { background: var(--oxblood-2); border-color: var(--oxblood-2); color: #F3EFE7; }
.btn-quiet { border-color: var(--metal); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.text-link { font-weight: 500; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end; gap: 24px;
  padding-top: 0; padding-left: 0; padding-bottom: 0;
  min-height: min(90vh, 960px);
}
.hero-obj { align-self: stretch; display: flex; align-items: flex-end; margin-top: -64px; }
.hero-obj img { width: 100%; max-height: 92vh; object-fit: contain; object-position: left bottom; }
.hero-copy { padding-bottom: clamp(40px, 7vw, 112px); }
.hero .statement { font-size: clamp(3.25rem, 7.2vw, 8rem); line-height: 0.88; }
.today {
  font: 500 clamp(1.25rem, 2.2vw, 1.6rem)/1.3 var(--sans);
  margin-top: clamp(24px, 3vw, 40px); max-width: 26rem;
}
.today .mark { color: var(--oxblood); }
.hero-where { margin-top: 8px; color: var(--toner-2); max-width: 26rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }

/* The copier pass: one reveal on load. */
@media (prefers-reduced-motion: no-preference) {
  .hero-obj { position: relative; }
  .hero-obj img { animation: print 1.5s cubic-bezier(.45,.05,.4,1) 0.15s both; }
  .hero-obj::after {
    content: ""; position: absolute; left: 0; right: 0; height: 3px; top: 0;
    background: rgba(255, 255, 250, 0.9);
    box-shadow: 0 0 22px 10px rgba(255, 255, 245, 0.55);
    opacity: 0; animation: lamp 1.5s cubic-bezier(.45,.05,.4,1) 0.15s both; pointer-events: none;
  }
}
@keyframes print { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes lamp { 0% { top: 0; opacity: 1; } 96% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

@media (max-width: 899px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-right: var(--gutter); }
  .hero-obj { margin-top: -8px; max-width: 560px; }
  .hero-obj img { max-height: 62vh; }
  .hero-copy { padding-left: var(--gutter); }
  .statement, .hero .statement { font-size: clamp(2.75rem, 14.5vw, 6rem); }
  .statement-md { font-size: clamp(2.5rem, 13.5vw, 5rem); }
}

/* ---------- visit ---------- */
.visit {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px);
  align-items: start; border-top: 1.5px solid var(--toner);
}
.visit-obj { position: sticky; top: 24px; }
.visit-obj img { width: min(100%, 520px); }
.hours { border-collapse: collapse; width: 100%; max-width: 30rem; margin-top: 24px; font-size: 1.125rem; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--metal); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; color: var(--oxblood); }
.hours tr.is-today th::after { content: " (today)"; font-weight: 400; }
.address { font-size: 1.25rem; margin-top: 16px; }
.strip-map { margin-top: 24px; max-width: 34rem; }
.strip-map svg { width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.strip-map .road { stroke: var(--toner); stroke-width: 3; }
.strip-map .stop circle { fill: var(--paper); stroke: var(--toner); stroke-width: 2.5; }
.strip-map .here rect { fill: var(--oxblood); }
.strip-map text { font-size: 22px; fill: var(--toner); }
.strip-map .here text { font-weight: 600; fill: var(--oxblood); }
.strip-map .dist { fill: var(--toner-2); font-size: 19px; }
.strip-map .hwy { font-size: 17px; fill: var(--toner-2); letter-spacing: 0.04em; }
.map-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 899px) {
  .visit { grid-template-columns: minmax(0, 1fr); }
  .visit-obj { position: static; }
  .visit-obj img { width: min(70%, 380px); }
}

/* ---------- music ---------- */
.music { border-top: 1.5px solid var(--toner); }
.shows { list-style: none; margin: 0; padding: 0; max-width: 64rem; }
.show {
  display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) auto; gap: 8px 24px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--metal);
}
.show:first-child { border-top: 1px solid var(--metal); }
.show-date { font-weight: 500; }
.show-act { font: 800 clamp(1.6rem, 3.2vw, 2.4rem)/1 var(--display); text-transform: uppercase; }
.show-time { color: var(--toner-2); white-space: nowrap; }
.show.is-closed .show-act { color: var(--oxblood); }
.show.is-today .show-date { color: var(--oxblood); }
.shows-empty { padding: 18px 0; border-top: 1px solid var(--metal); border-bottom: 1px solid var(--metal); color: var(--toner-2); max-width: var(--measure); }
.after { margin-top: 28px; }
@media (max-width: 620px) {
  .show { grid-template-columns: 1fr auto; }
  .show-act { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- shop ---------- */
.shop { border-top: 1.5px solid var(--toner); }
.notice { background: var(--toner); color: var(--paper); padding: 14px 18px; margin-bottom: 28px; max-width: 40rem; }
.products {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px);
}
.products-empty { color: var(--toner-2); }
.product { display: flex; flex-direction: column; }
.product-img { background: var(--paper-2); aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-img.is-empty::after { content: "No photo yet"; color: var(--toner-2); font-size: 0.9rem; }
.product h3 { font: 500 1.0625rem/1.3 var(--sans); margin-top: 14px; }
.product .price { margin-top: 4px; color: var(--toner-2); }
.product .desc { font-size: 0.9rem; color: var(--toner-2); margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-buy { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; }
.product-buy select { flex: 1 1 auto; min-width: 0; }
.product-buy .btn { flex: 0 0 auto; padding: 12px 16px; }
.product.is-soldout .product-img { opacity: 0.55; }
.soldout { margin-top: auto; padding-top: 14px; color: var(--toner-2); font-weight: 500; }
@media (max-width: 620px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .product .desc { display: none; }
  .product h3 { font-size: 0.95rem; }
  .product-buy { flex-direction: column; }
  .product-buy .btn { width: 100%; }
}

/* ---------- story ---------- */
.story {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px);
  border-top: 1.5px solid var(--toner); align-items: start;
}
.story-obj img { width: min(100%, 460px); }
.story-copy .lede { margin-top: 28px; }
.timeline { list-style: none; margin: 20px 0 0; padding: 0; max-width: 40rem; }
.timeline li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--metal); }
.timeline .yr { font: 800 1.5rem/1.1 var(--display); }
.timeline p { max-width: var(--measure); }
@media (max-width: 899px) {
  .story { grid-template-columns: minmax(0, 1fr); }
  .story-obj img { width: min(70%, 340px); }
}

/* ---------- book ---------- */
.book {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px);
  border-top: 1.5px solid var(--toner); align-items: start;
}
.book-obj img { width: min(100%, 360px); }
.tabs { display: flex; gap: 0; margin-top: 28px; border-bottom: 1.5px solid var(--toner); }
.tabs [role="tab"] {
  font: 500 1.0625rem/1 var(--sans); color: var(--toner-2); background: none; border: 0;
  padding: 14px 18px 12px; margin-bottom: -1.5px; border-bottom: 4px solid transparent; cursor: pointer;
}
.tabs [role="tab"][aria-selected="true"] { color: var(--toner); border-bottom-color: var(--oxblood); }
.panel { padding-top: 24px; }
.panel-intro { max-width: 38rem; margin-bottom: 24px; }
.inquiry { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; max-width: 46rem; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide, .inquiry .form-msg, .inquiry .btn { grid-column: 1 / -1; }
.inquiry .btn { justify-self: start; }
label { font-size: 0.95rem; font-weight: 500; }
.opt { font-weight: 400; color: var(--toner-2); }
input, select, textarea {
  font: 400 1rem/1.4 var(--sans); color: var(--toner);
  background: var(--paper-2); border: 1px solid var(--metal); border-radius: 2px;
  padding: 11px 12px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--toner); outline-offset: 0; border-color: var(--toner); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--oxblood); }
::placeholder { color: #75746E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 1.4em; font-weight: 500; }
.form-msg.is-error { color: var(--oxblood); }
.sent { font: 500 1.25rem/1.4 var(--sans); padding: 24px 0; border-top: 1px solid var(--metal); border-bottom: 1px solid var(--metal); max-width: 38rem; }
@media (max-width: 899px) {
  .book { grid-template-columns: minmax(0, 1fr); }
  .book-obj img { width: min(50%, 240px); }
}
@media (max-width: 560px) { .inquiry { grid-template-columns: 1fr; } }

.lost { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; gap: 8px; }

/* ---------- footer ---------- */
.foot { padding: 40px var(--gutter) 56px; border-top: 1.5px solid var(--toner); display: grid; gap: 6px; color: var(--toner-2); }
.foot .wordmark { color: var(--toner); margin-bottom: 6px; }
.foot a { margin-right: 18px; }

/* ---------- bag ---------- */
.scrim { position: fixed; inset: 0; background: rgba(20, 20, 18, 0.35); z-index: 30; }
.bag {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 31;
  width: min(440px, 100vw); background: var(--paper); border-left: 1.5px solid var(--toner);
  display: flex; flex-direction: column;
}
@media (prefers-reduced-motion: no-preference) { .bag { animation: slide 0.22s ease-out; } }
@keyframes slide { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.bag-head { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 20px 12px; border-bottom: 1px solid var(--metal); }
.bag-head h2 { font-size: 2.25rem; }
.bag-close { font: 500 1rem var(--sans); background: none; border: 0; cursor: pointer; text-decoration: underline; color: var(--toner); }
.bag-items { list-style: none; margin: 0; padding: 0 20px; overflow-y: auto; flex: 1 1 auto; }
.bag-items .empty { padding: 24px 0; color: var(--toner-2); }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--metal); align-items: start; }
.line-img { width: 64px; height: 64px; background: var(--paper-2); object-fit: contain; mix-blend-mode: multiply; }
.line-name { font-weight: 500; line-height: 1.3; }
.line-var { color: var(--toner-2); font-size: 0.9rem; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; }
.qty button { width: 32px; height: 32px; font: 500 1.1rem/1 var(--sans); background: none; border: 1px solid var(--metal); color: var(--toner); cursor: pointer; border-radius: 2px; }
.qty output { min-width: 2ch; text-align: center; }
.qty .line-remove { width: auto; height: auto; background: none; border: 0; padding: 0; margin-left: 10px; color: var(--toner-2); text-decoration: underline; cursor: pointer; font: inherit; font-size: 0.85rem; }
.line-price { font-weight: 500; }
.bag-foot { padding: 16px 20px 24px; border-top: 1.5px solid var(--toner); }
.bag-sums { margin: 0; }
.bag-sums div { display: flex; justify-content: space-between; padding: 4px 0; }
.bag-sums dt, .bag-sums dd { margin: 0; }
.bag-foot .form-msg { margin: 8px 0; }
