/* frame.css: Teton Thai only (v4, 2026-10-21). Desktop (>= 64rem) only; phones and tablets are unchanged.
   From the TYGR Mart / Teton Tiger desktop pilot: container up to 1440px with fluid side padding clamp(24px, 5vw, 80px) (was
   1152px / 24px), fluid type and spacing, edge-to-edge bands (alternating dark / surface, gold hairlines between them, gold
   dividers between columns), square letterspaced buttons with the gold one filled, letterspaced caps nav, no rule under the header.
   From Howard's Teton Thai page (framing only; our fonts, marks, colours and copy): split hero, the mark + tagline + button
   left with a thin rule and the hours / address fact line under it, a framed photo right (the skull over the bar, Howard's hero
   subject); a photo band of food in thin frames under the hero (Howard's "the room" grid as a row: our photos are all 2:3);
   Visit | Hours | Contact with dividers. No captions or headings were added (Howard's are his copy). */
.tt-hero-photo, .tt-hero-sym, .tt-gallery { display: none; } /* t971u: tt-facts visible all widths */

/* t971u/t972u: hero facts — address then hours, stacked, centered group under logo (all widths) */
.tt-facts {
  display: block;
  text-align: center;
  max-width: 36rem;
  margin: var(--space-4) auto 0;
  padding-top: 0;
  border-top: 0;
  color: var(--color-muted);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  width: 100%;
  box-sizing: border-box;
}
.tt-facts__line { display: block; text-align: center; }
/* Call + Directions sit with the address (same tel: and Maps links as Visit). */
.tt-facts__reach {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 1.35rem;
  row-gap: 0.15rem;
  margin-top: 0.2rem;
}
.tt-facts__reach a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  white-space: nowrap;
}
.hero--centered .tt-facts,
.hero--frame .tt-facts { margin-inline: auto; text-align: center; }


@media (min-width: 64rem) {
  :root {
    --pad: clamp(24px, 5vw, 80px); --cmax: 1440px;
    --gold-line: color-mix(in srgb, var(--color-accent) 45%, transparent);
    --step--2: 0.8125rem;
    --step--1: clamp(0.875rem, 0.8rem + 0.15vw, 1rem);
    --step-0: clamp(1rem, 0.8rem + 0.35vw, 1.1875rem);
    --step-1: clamp(1.25rem, 0.95rem + 0.55vw, 1.5rem);
    --step-2: clamp(1.625rem, 1.1rem + 0.9vw, 2.125rem);
    --step-3: clamp(2.5rem, 1.5rem + 1.5vw, 3.25rem);
    --step-4: clamp(3.75rem, 2rem + 2.6vw, 5rem);
    --space-6: clamp(2rem, 1rem + 1.4vw, 2.75rem);
    --space-7: clamp(3rem, 1rem + 4vw, 6rem);
    --space-8: clamp(4.5rem, 2rem + 4vw, 7rem);
  }
  main, .site-header, .door-footer { container-type: inline-size; }
  .wrap { --edge: max(var(--pad), (100cqw - var(--cmax)) / 2); max-width: none; padding-inline: var(--edge); }

  /* Buttons (Howard / Teton Tiger): square-cornered, small letterspaced caps; Order online = gold, filled */
  .site-header .btn, .hero--frame .btn { border-radius: 2px; border-width: 1px; padding: 0.95em 1.7em; font-family: var(--font-ui); font-size: var(--step--2); font-weight: var(--font-ui-weight); letter-spacing: var(--font-ui-tracking); text-transform: var(--font-ui-transform); line-height: 1; }
  .site-header .btn--primary, .hero--frame .btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-bg); }

  /* Header (v2 layout kept: nav | mark | Order online, mark centred): caps nav, no rule under it (the hero band continues up) */
  .site-header { border-bottom: 0; }
  /* v7 (Caelan 2026-10-22: "the skull logo on top being a middle crown"): more room above the skull so the horns and all six
     arrows sit clear of the top edge; nav left, Order online right, one row; the skull stays on the page centre line. */
  .site-header .wrap { padding-top: clamp(1.5rem, 2vw, 2.25rem); padding-bottom: var(--space-3); }
  .site-nav ul { flex-wrap: nowrap; white-space: nowrap; gap: clamp(1rem, 4vw - 1.75rem, 2.75rem); font-family: var(--font-ui); font-size: var(--step--2); font-weight: var(--font-ui-weight); letter-spacing: var(--font-ui-tracking); text-transform: var(--font-ui-transform); }   /* 1024: 16px gaps keep it one row beside the 364px mark */
  .site-nav a { color: color-mix(in srgb, var(--color-fg) 82%, transparent); }

  /* Hero band (Howard split): badge (v3 size, 326 x 526) + tagline + button left, then a rule and the hours / address line;
     the framed photo right, vertically centred. Photo width clamp(300px, 32vw, 466px) -> 2x max 932 of the 944 px file. */
  .hero--frame { padding: clamp(0.25rem, 0.5vw, 1rem) 0 clamp(3rem, 5vw, 6rem);   /* v7: top trimmed (was clamp(1rem, 2vw, 2.5rem)) for the taller header, keeps Order online on a 1440x900 first screen */
  border-bottom: 1px solid var(--gold-line); }
  /* v6 (Caelan 2026-10-21: "closer to the middle of the page and 10% bigger"): badge 359 x 580 (was 326 x 526); the badge +
     tagline + button + hours line are one 36rem group, centred text, set against the photo side of the left column (gutter
     clamp(3rem, 5vw, 6rem), was clamp(3rem, 6vw, 8rem)), so group + photo read as one unit near the page's centre line. */
  /* v7 (Caelan 2026-10-22: "the logo and picture as a unit being centered"): the 36rem group + the photo frame are one unit,
     centred on the page (equal outer margins); the group column shrinks below 36rem only when the window is too narrow. */
  .hero--frame .wrap { display: grid; grid-template-columns: minmax(0, 36rem) auto; justify-content: center; grid-template-rows: 1fr auto auto 1fr; row-gap: 0; column-gap: clamp(3rem, 5vw, 6rem); align-items: start; }
  .hero--frame .hero-media--graphic, .hero--frame .wrap > div { width: 100%; }
  .hero--frame .hero-media--graphic { grid-column: 1; grid-row: 2; margin: 0 0 var(--space-5); }
  .hero--frame .hero-media--sized img { margin-inline: auto; }
  .hero--frame .wrap > div { grid-column: 1; grid-row: 3; text-align: center; }
  .hero--frame .wrap > div > p { margin-inline: auto; }
  .hero--frame .actions { justify-content: center; }
  .tt-facts { display: block; max-width: 36rem; margin: var(--space-6) auto 0; padding-top: 0; border-top: 0; color: var(--color-muted); font-size: var(--step--2); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-align: center; width: 100%; }  /* t971u/t972u stacked+centered */
  .tt-facts__line { display: block; text-align: center; }
  .tt-facts__reach { display: none; }  /* phone/tablet only; this line would push hours off a 900px-tall desktop */
/* Caelan 2026-11-03: drop thin rule above hours/address; keep row + balanced margin */
  .hero--frame .wrap > .tt-hero-side { grid-column: 2; grid-row: 1 / -1; align-self: stretch; width: auto; margin: 0; text-align: initial; display: flex; flex-direction: column; }   /* Caelan 2026-11-03: stretch column so sym can sit midway in leftover space under skull */
  .tt-hero-photo { display: block; }
  /* hero symbols (Caelan 2026-10-25 11:08 PM: "together closely but tastefully ... centered below the bison skull photo"):
     noodle bowl + clinking mugs as a pair under the photo frame, same cream art and 160px height, bottoms aligned.
     Measured from the art (h = symbol height): bowl box 0.956h wide with ink from 21.78% to 94.88% of it; mugs ink = its box.
     Box gap 0.201h + the bowl's 0.0512 x 0.956h right margin = 0.25h ink gap (40px at 160). The bowl's 0.2178 x 0.956h left
     margin would push the ink right by half of it, so the pair shifts left 0.1041h: the pair's INK box centres on the frame. */
  .tt-hero-sym { --h: 160px; display: flex; justify-content: center; align-items: flex-end; gap: calc(var(--h) * 0.201); margin-top: auto; margin-bottom: auto; transform: translateX(calc(var(--h) * -0.1041)); }  /* Caelan 2026-11-03 pt807u: midway in empty space under skull (was fixed 2–2.5rem); ink-centred */
  .tt-hero-sym img { display: block; height: var(--h); width: auto; }
  .tt-frame { margin: 0; padding: 8px; border: 1px solid var(--gold-line); }
  .tt-frame img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; background: var(--color-surface); }
  .tt-hero-photo img { width: clamp(300px, 32vw, 466px); aspect-ratio: 3 / 4; }   /* v7: driggs_03 neon skull, whole frame (no crop) */

  /* Food band (surface): four framed photos edge to edge (8px off the window edge) up to 1888px, as the TYGR Mart food strip.
     Tile at 1920 = 448 CSS px -> 2x 896 of the 944 px files. */
  .tt-gallery { display: block; background: var(--color-surface); padding: var(--space-7) 0; }
  .tt-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); width: min(100cqw - 16px, 1888px); margin-inline: calc((100% - min(100cqw - 16px, 1888px)) / 2); }

  /* Rest of the page: gold hairlines between sections, alternating bands edge to edge, gold dividers between columns */
  section { border-bottom: 1px solid var(--gold-line); }
  #visit { background: var(--color-surface); }
  .grid--2 { column-gap: 0; }
  .grid--2 > div:not(:first-child) { border-left: 1px solid var(--gold-line); padding-left: clamp(2rem, 4vw, 5rem); }
  .grid--2 > div:not(:last-child) { padding-right: clamp(2rem, 4vw, 5rem); }
  .door-footer .sisters { border-top-color: var(--gold-line); }
}
/* Own "screen and" block so phone.py (which copies every plain min-width 64rem block into phone.css) leaves phones and
   tablets exactly as they were. */
@media screen and (min-width: 64rem) {
  /* Round 3 hero tighten (Caelan 2026-10-26 "lets tighten the hero spacing"): Order online and the symbol pair on the first
     screen from 1024x768 up. Spacing a step tighter; the photo + pair column now starts level with the badge (it was centred
     on the whole text column, hours line included, which pushed the pair ~45px lower). Sizes follow the window HEIGHT only
     where it is short (full size from ~870px tall): badge 580px tall, down to 494 (-15%) at 768; photo capped at
     (100vh - 380px) so frame + pair fit under the header; the symbol pair stays 160px. */
  .hero--frame .hero-media--graphic { margin-bottom: var(--space-3); }
  .hero--frame .hero-media--sized img { width: clamp(calc(494px * 652 / 1053), calc((100vh - 290px) * 652 / 1053), var(--hero-max-laptop)); }
  .hero--frame .actions { margin-top: var(--space-4); }
  .hero--frame .wrap > .tt-hero-side { align-self: stretch; }  /* Caelan 2026-11-03 pt807u: was start; stretch so pair can centre in leftover */
  .tt-hero-sym { margin-top: auto; margin-bottom: auto; }  /* Caelan 2026-11-03 pt807u: midway under skull */
  .tt-hero-photo img { width: min(clamp(300px, 32vw, 466px), (100vh - 380px) * 3 / 4); }
}
