/* phone.css: generated by _gen/phone.py (mobile pass 2026-10-24). Phones and tablets only; desktop never loads it.
   1) the door's desktop rules, copied verbatim; 2) the shared header/menu; 3) the phone layout. */
@media (max-width: 1023.98px) {
  :root { --ph-hdr-in: 4.5rem; --ph-hdr: 4.5rem; --ph-menu-bg: var(--color-bg); --ph-menu-line: color-mix(in srgb, var(--color-accent) 45%, transparent); }
  /* ---- copied from howard.css (its >= 64rem rules) ---- */

  :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): square-cornered, small letterspaced caps; gold = filled, the other = thin outline */
  .site-header .btn, .hero--howard .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; }
  .btn--gold { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-bg); }
  .btn--line { background: transparent; border-color: color-mix(in srgb, var(--color-fg) 70%, transparent); color: var(--color-fg); }

  /* Header row: logo left, nav centre, buttons right; no rule under it (the hero band continues up) */
  .site-header { border-bottom: 0; }
  .site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; padding-top: var(--space-5); padding-bottom: var(--space-5); }
  .site-header .wrap > :first-child { justify-self: start; }
  .site-nav ul { gap: clamp(1.5rem, 2.4vw, 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); }
  .site-nav a { color: color-mix(in srgb, var(--color-fg) 82%, transparent); }
  .hdr-cta { display: flex; gap: var(--space-3); justify-self: end; }

  /* Hero band: text column left, arches right */
  .hero--howard { padding: clamp(2.5rem, 4vw, 5rem) 0 clamp(4rem, 6vw, 7.5rem); border-bottom: 1px solid var(--gold-line); }
  .hero--howard .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto auto 1fr; row-gap: 0; column-gap: clamp(3rem, 4vw, 5rem); }
  .hero--howard .hero-media--graphic { grid-column: 1; grid-row: 2; margin: 0 0 var(--space-5); }
  /* v6 (Caelan 2026-10-25): tiger centered on the address glyphs, ~10% bigger. v5 sized the figure to a hard-coded 17.85rem
     (the address width measured in Manrope), so any change in the address's rendered width (font substitution or hinting,
     minimum-font-size / text-size settings) slid the tiger off-center. Now the figure and the address share .hw-mark, which
     shrink-wraps to the address line; the kicker's -0.24em right margin drops the last letter's trailing tracking, so the box
     is exactly the visible glyphs and the tiger centers in it. The img keeps its 10rem layout box (nothing else moves) and is
     drawn at 13.2rem (scale 1.32 from bottom-center, up into the hero's top padding). Below ~1313px that padding is too thin
     for the full 21px of growth to go up, so --tg-dip moves the drawing down into the gap above the address by what is
     missing (max 11.5px at 1024), keeping >= 12px between the tiger and the header row. */
  .hero--howard .hw-mark { width: max-content; max-width: 100%; margin-inline: auto; }   /* round 2: centred on the column */
  .hero--howard .hw-mark .hw-kicker { margin-right: -0.24em; }
  .hero--howard .hero-media--graphic { width: auto; max-width: 100%; }
  .hero--howard .hero-media--sized img { --tg-dip: max(0px, 3.28rem - 4vw); margin-inline: auto; width: 10rem; transform: translateY(var(--tg-dip)) scale(1.32); transform-origin: 50% 100%; }
  /* round 2 (Caelan 2026-10-25: "as a unit ... more symmetrical and centered"): the whole column is one centred stack, tiger,
     address, title, tagline, the button pair, the rule and the hours line on one axis (the text column's centre). */
  .hero--howard .wrap > div:not(.hw-arches) { grid-column: 1; grid-row: 3; text-align: center; }
  .hero--howard .wrap > div > p { margin-inline: auto; }
  .hero--howard .wrap > div > .label:not(.hw-kicker) { display: none; }   /* the city label lives on inside the address kicker */
  .hw-kicker { display: block; color: var(--color-accent); letter-spacing: 0.24em; margin-bottom: var(--space-5); }
  .hero--howard h1 { color: var(--color-fg); font-size: clamp(4.5rem, 1rem + 6.6vw, 9rem); line-height: 0.98; letter-spacing: -0.01em; margin-bottom: var(--space-6); }
  .hw-split { display: block; }
  .hw-plain { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .hw-accent { display: block; font-style: italic; font-weight: 500; color: var(--color-accent); }
  .hero--howard .tagline { max-width: 30rem; font-size: var(--step-0); color: color-mix(in srgb, var(--color-fg) 88%, transparent); }
  .hero--howard .actions { justify-content: center; margin-top: var(--space-6); }
  .hero--howard .actions .hero-order { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
  .hero--howard .actions .hero-order__note {
    margin: 0; max-width: 16rem; text-align: center;
    font-family: var(--font-body); font-size: var(--step--2); font-weight: 500;
    letter-spacing: 0.02em; line-height: var(--leading-snug);
    color: var(--color-muted); text-transform: none;
  }
  .hero--howard .actions .btn--primary { order: 2; background: transparent; border-color: color-mix(in srgb, var(--color-fg) 70%, transparent); color: var(--color-fg); }
  .hero--howard .actions .btn:not(.btn--primary) { order: 1; background: var(--color-accent); border-color: var(--color-accent); color: var(--color-bg); }
  .hw-hours { display: block; max-width: 30rem; margin: var(--space-6) auto 0; text-indent: 0.16em; padding-top: var(--space-5); border-top: 1px solid var(--gold-line); color: var(--color-muted); font-size: var(--step--2); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }

  /* Arches: large 3:5 + small 2:3 offset lower, each in a thin gold outline 8px off the photo. v3 (Caelan 2026-10-21: bigger):
     --lw = min(40vw - 130px, 500px): 1024 280 / 1280 382 / 1440 446 / 1920 500 CSS px; small = 0.74 x large. Both sources are
     enlarged exports (real detail ~900-1080 px across the large crop, ~630-720 across the small); 2x at 1440 stays within it. */
  .hw-arches { --lw: min(calc(40vw - 130px), 500px); --sw: calc(var(--lw) * 0.74); grid-column: 2; grid-row: 1 / -1;
    display: flex; align-items: flex-start; gap: calc(var(--lw) * 0.06); margin: 0; }
  .hw-arch { margin: 0; padding: 8px; border: 1px solid var(--color-accent); border-radius: 9999px 9999px 0 0; }
  .hw-arch img { display: block; border-radius: 9999px 9999px 0 0; object-fit: cover; background: var(--color-surface); }
  .hw-arch--large img { width: var(--lw); aspect-ratio: 3 / 5; }
  .hw-arch--small { margin-top: calc(var(--lw) * 0.37); }
  .hw-arch--small img { width: var(--sw); aspect-ratio: 2 / 3; }
  .hw-arch-wrap figcaption { margin-top: var(--space-3); font-family: var(--font-heading); font-style: italic; font-size: var(--step--1); color: var(--color-muted); }

  /* Rest of the page: gold hairlines between sections, alternating dark 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); }

  /* Hours (v2, Caelan): same as TYGR Mart. The #hours section hides; the same line (+ happy hour) is a Visit column,
     h3 like Contact: Visit | Hours | Contact. The header "Hours" link points at it. Phones/tablets keep #hours. */
  #hours, .nav-phone { display: none; }
  .visit-hours { display: block; }
  /* Old Hours slot -> "the story, in chapters" (after Howard): left = eyebrow, display headline with one italic accent, lede,
     two gold-framed room photos; right = numbered chapters under a heavy rule, hairlines between. Surface green band. */
  .hw-story { display: block; background: var(--color-surface); }
  .hw-story .wrap { display: grid; grid-template-columns: minmax(min-content, 5fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 8rem); align-items: start; }
  .hw-eyebrow { margin: 0 0 var(--space-3); font-size: var(--step--2); font-weight: var(--label-weight); letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-accent); }
  .hw-story h2 { margin: 0; font-size: clamp(2.75rem, 4.4vw, 4.75rem); line-height: 1.02; color: var(--color-fg); }   /* cream + gold italic accent, like the hero h1 */
  .hw-story h2 .hw-accent { display: block; }
  /* story tiger (Caelan 2026-10-25): gold tiger (symbol pull 14) right of the headline, as tall as the headline, its box centered
     over the small skull arch. Absolute inside the h2, so nothing moves. Small-arch centre from the arches row's left edge =
     large (slw + 18px) + gap (0.06 slw) + half the small (0.34 slw + 9px) = 1.4 slw + 27px; --slw repeats .hw-story__arches'. */
  .hw-story h2 { position: relative; }
  /* round 2 (Caelan 2026-10-25: "20% bigger and more directly above the small skull arch"): 1.2x the heading height, grown
     upward (bottom stays on the heading's bottom); the tiger's body (art x 0-45% of the trimmed width, its bottom 60%) centres
     on the small arch instead of the whole box: the box was centred, but the ink cloud on the right pulled the body left. */
  .hw-story__tiger { --slw: min(22.5vw, 362.5px); position: absolute; top: -20%; bottom: 0; left: calc(1.4 * var(--slw) + 27px); transform: translateX(-22.5%); pointer-events: none; }
  .hw-story__tiger img { display: block; height: 100%; width: auto; max-width: none; }
  .hw-story__lede { margin: var(--space-4) 0 0; max-width: 26rem; color: var(--color-muted); }
  /* v4: two arches (same arch + inset gold hairline as the hero), large + smaller offset lower. --slw = min(18vw, 290px)
     keeps both at or under their source pixels at 2x (south crop 660 wide, north 392). */
  /* v11 (Caelan 2026-10-21): both arches exactly 1.25x the v10 size at every width (was min(18vw, 290px)); the intro column grows to
     fit them (min-content) so the arches never run into the chapters; Su 2x max 725 px (real detail ~900), skull 2x max 493 (~600). */
  .hw-story__arches { --slw: min(22.5vw, 362.5px); display: flex; align-items: flex-start; gap: calc(var(--slw) * 0.06); margin-top: var(--space-6); }
  .hw-story__arches .hw-arch--large img { width: var(--slw); aspect-ratio: 3 / 5; }
  .hw-story__arches > .hw-arch { flex: none; }   /* v11: fixed size; the intro column (min-content) widens to hold them */
  .hw-story__arches img { max-width: none; }
  .hw-story__arches .hw-arch--small { margin-top: calc(var(--slw) * 0.37); }
  .hw-story__arches .hw-arch--small img { width: calc(var(--slw) * 0.68); aspect-ratio: 2 / 3; }
  /* v5: storefront, natural 3:2 rectangle with the inset gold hairline (no crop), under the chapters, lined up with the chapter
     text (4.5rem in), max 540 CSS px so 2x stays within the ~1080 px of real detail in the 1179 px source. */
  .hw-frame { margin: 0; padding: 6px; border: 1px solid var(--color-accent); }
  .hw-story__photo { margin: var(--space-6) 0 0 4.5rem; max-width: 540px; }
  .hw-story__photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .hw-chapters { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--color-accent); }
  .hw-chapters li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); padding: var(--space-5) 0; border-bottom: 1px solid var(--gold-line); }
  .hw-num { font-family: var(--font-heading); font-style: italic; font-size: var(--step-2); line-height: 1; color: var(--color-accent); }
  .hw-chapters h3 { margin: 0 0 var(--space-2); font-size: var(--step--1); letter-spacing: 0.16em; text-transform: uppercase; font-variant: small-caps; }
  .hw-chapters p { margin: 0; max-width: 40rem; color: var(--color-muted); }
  /* v7: TM-OLD-026 tiki glass (gold line art) in a third column of chapter III only; centred on the entry, bleeding into
     its padding so the row grows only by the text's extra line. Other entries keep the 2-column rhythm. */
  .hw-chapters li.hw-ch--art { grid-template-columns: 4.5rem minmax(0, 1fr) auto; }
  .hw-ch__art { display: block; align-self: center; margin: calc(-1 * var(--space-3)) var(--space-3) calc(-1 * var(--space-3)) var(--space-5); }
  .hw-ch__art img { display: block; width: 76px; height: 112px; }
  .nav-desk { display: list-item; }
  #visit .grid--2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .visit-hours .hours-fact { font-weight: var(--body-weight-strong); }

  /* Header logo (v8, Caelan "double"): the script wordmark, 16rem wide (256 x 148 CSS px; was 8rem / 128 x 74); padding 1rem -> header 180px */
  .site-header .wrap { padding-top: var(--space-4); padding-bottom: var(--space-4); }
  .door-footer .sisters { border-top-color: var(--gold-line); }


  /* Shared phone header: logo + actions + menu button on one row; the section links drop down under it */
  .site-header { position: relative; z-index: 40; }
  .site-header .wrap { flex-wrap: nowrap; min-height: var(--ph-hdr-in); padding-top: 0; padding-bottom: 0; gap: 0.75rem; }
  .site-header:not(.ph-js) .wrap { flex-wrap: wrap; padding-top: var(--space-3); padding-bottom: var(--space-3); }
  .ph-burger { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 2.75rem; height: 2.75rem;
               margin: 0 -0.55rem 0 0; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .ph-burger:not(.ph-ready) { display: none; }
  .ph-burger span, .ph-burger span::before, .ph-burger span::after { display: block; width: 1.375rem; height: 2px; background: currentColor; border-radius: 1px; }
  .ph-burger span { position: relative; }
  .ph-burger span::before, .ph-burger span::after { content: ""; position: absolute; left: 0; }
  .ph-burger span::before { top: -7px; } .ph-burger span::after { top: 7px; }
  .ph-open .ph-burger span { background: transparent; }
  .ph-open .ph-burger span::before { top: 0; transform: rotate(45deg); }
  .ph-open .ph-burger span::after { top: 0; transform: rotate(-45deg); }
  .ph-burger:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
  .ph-js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ph-menu-bg);
                     border-bottom: 1px solid var(--ph-menu-line); box-shadow: 0 14px 28px rgba(0,0,0,0.35); padding: 0.25rem var(--gutter) 0.75rem; }
  .ph-js.ph-open .site-nav { display: block; }
  .ph-js .site-nav ul { display: block; max-width: 36rem; margin: 0 auto; }
  .ph-js .site-nav li { border-bottom: 1px solid var(--ph-menu-line); }
  .ph-js .site-nav li:last-child { border-bottom: 0; }
  .ph-js .site-nav a { display: block; padding: 0.95rem 0; opacity: 1; }

  .ph-js .site-nav .social-links {
    display: flex;
    max-width: 36rem;
    margin: 0.35rem auto 0;
    padding-top: 0.15rem;
    color: inherit;
  }
  .ph-js .site-nav .social-links li { border-bottom: 0; }
  .ph-js .site-nav .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
  }

  /* ---- Teton Tiger phone layout ---- */
  :root { --pad: var(--gutter); --tg-c: calc(36rem + 2 * var(--gutter)); }
  .site-header .wrap { display: flex; padding-top: 0; padding-bottom: 0; }
  .site-header .site-logo { margin-right: auto; }
  .site-header .site-logo img { width: 6.75rem; }
  .hdr-cta { flex: none; }
  .hdr-cta .btn--gold { display: none; }   /* Reserve stays in the hero, Visit and the menu band */
  .site-header .btn { padding: 0.95em 1.15em; font-size: 0.6875rem; }
  .site-nav ul { font-size: 0.8125rem; }

  /* Hero: tiger head, address kicker, the two-line headline with the gold italic tail, tagline, buttons, hours; the arches under */
  .hero--howard { padding: 1.25rem 0 2.5rem; }
  .hero--howard .wrap { max-width: var(--tg-c); grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .hero--howard .hero-media--graphic { grid-row: 1; margin: 0 0 1rem; }
  .hero--howard .hero-media--sized img { width: 7.15rem; transform: none; }   /* v4 4.5rem -> 5.4rem, v5 -> 6.5rem, v6 -> 7.15rem (Caelan, 10/24-25); no desktop scale */
  .hero--howard .hw-mark { margin-inline: auto; }   /* v6: the tiger + address box (shrink-wrapped to the address glyphs) centers on the column */
  /* v2 (Caelan, 10/24): tiger head and the two-line title centered (v3 adds the kicker below) */
  .hero--howard .hero-media--sized img { margin-inline: auto; }
  .hero--howard h1 { text-align: center; }
  /* v3 (Caelan, 10/24): the address kicker centered too; round 2 (10/25): tagline, buttons and hours centred too (desktop rules) */
  .hero--howard .hw-kicker { text-align: center; margin-inline: auto; }
  .hero--howard .wrap > div:not(.hw-arches) { grid-row: 2; }
  .hw-kicker { margin-bottom: 0.75rem; }
  .hero--howard h1 { font-size: clamp(3.25rem, 16vw, 4.75rem); margin-bottom: 1rem; }
  .hero--howard .tagline { font-size: 1rem; }
  .hero--howard .actions { margin-top: 1.25rem; }
  .hero--howard .btn { padding: 0.95em 1.1em; font-size: 0.6875rem; }
  .hw-hours { margin-top: 1.25rem; padding-top: 1rem; }
  .hw-arches { --lw: min(calc((100vw - 2 * var(--gutter) - 36px) / 1.8), 15rem); grid-column: 1; grid-row: 3; justify-content: center; margin-top: 2rem; }

  /* Story band: one column; the two arches, then the chapters and the storefront */
  .hw-story .wrap { max-width: var(--tg-c); grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .hw-story h2 { font-size: clamp(2.5rem, 11vw, 3.25rem); }
  .hw-story__arches { --slw: min(calc((100vw - 2 * var(--gutter) - 36px) / 1.74), 13rem); justify-content: center; }
  /* story tiger: the arches row is centered on phones/tablets, so the small-arch centre is offset by half the spare width */
  .hw-story__tiger { --slw: min(calc((100% - 36px) / 1.74), 13rem); left: calc((100% - 1.74 * var(--slw) - 36px) / 2 + 1.4 * var(--slw) + 27px); }
  .hw-chapters li { grid-template-columns: 3rem minmax(0, 1fr); padding: 1.25rem 0; }
  .hw-chapters li.hw-ch--art { grid-template-columns: 3rem minmax(0, 1fr) auto; }
  .hw-ch__art { margin: calc(-1 * var(--space-3)) 0 calc(-1 * var(--space-3)) var(--space-3); }
  .hw-story__photo { margin: 2rem 0 0; max-width: none; }

  @media (max-width: 39.99rem) {
    #visit .grid--2 { grid-template-columns: minmax(0, 1fr); }
    .grid--2 > div:not(:first-child) { border-left: 0; padding-left: 0; border-top: 1px solid var(--ph-menu-line); padding-top: var(--space-5); }
    .grid--2 > div:not(:last-child) { padding-right: 0; }
  }
  @media (min-width: 40rem) {
    .grid--2 > div:not(:first-child) { padding-left: 1.5rem; }
    .grid--2 > div:not(:last-child) { padding-right: 1.5rem; }
  }

}

/* t982u: Visit address + Hours vertical rhythm closer to Contact (mirrored from howard.css). */
#visit.tt-visit .tt-visit-pair address {
  display: flex; flex-direction: column; gap: var(--space-3);
}
#visit.tt-visit .tt-visit-pair address .fact { margin-block: 0; }
#visit.tt-visit .visit-hours { flex-direction: column; gap: var(--space-3); }
#visit.tt-visit .visit-hours > h3 { margin-bottom: 0; }
#visit.tt-visit .visit-hours .hours-line { margin: 0; }
@media screen and (min-width: 64rem) {
  #visit.tt-visit .tt-visit-pair address { gap: var(--space-5); }
  #visit.tt-visit .visit-hours { display: flex; gap: var(--space-5); }
}

/* Phone first screen: Reserve + tap-to-call sit with Order online.
   Below the hero copy: Visit (Directions), then the dish arches, then Reservations.
   The story stays last. Desktop never loads this file. */
@media (max-width: 1023.98px) {
  body:has(.hero--howard) main#main { display: flex; flex-direction: column; }
  .hero.hero--howard,
  .hero.hero--howard > .wrap { display: contents; }
  .hero.hero--howard .hero-copy {
    order: 1;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    flex: 0 0 auto;
    padding: 1.25rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--gold-line);
  }
  #visit.tt-visit { order: 2; }
  .hw-arches {
    order: 3;
    display: flex;
    width: 100%;
    box-sizing: border-box;
    flex: 0 0 auto;
    margin-top: 0;
    padding: 2.5rem 0 2rem;
    border-bottom: 1px solid var(--gold-line);
  }
  #reserve.tt-reserve { order: 4; }
  #hours { order: 5; }
  .hw-story { order: 6; }
  /* The Resy button now lives in the hero; the section keeps its photo, heading, and note. */
  #reserve .tt-reserve__btn { display: none; }
  .hero--howard .actions a.btn.hero-ph-only { display: inline-flex; }
  body .hero.hero--howard .actions a.hero-reserve { grid-column: 1; grid-row: 2; }
  body .hero.hero--howard .actions a.hero-call { grid-column: 2; grid-row: 2; }
  body .hero.hero--howard .actions .hero-order__note { grid-row: 3; }
}
