/* 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: 3.5rem; --ph-hdr: calc(3.5rem + 1px); --ph-menu-bg: #0b0b0b; --ph-menu-line: rgba(236,230,214,0.14); }
  /* ---- copied from hours.css (its >= 64rem rules) ---- */

  #hours, .nav-phone { display: none; }
  .visit-hours { display: block; }
  .nav-desk { display: list-item; }
  #visit .grid--2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* ---- copied from frame.css (its >= 64rem rules) ---- */

  :root {
    --pad: clamp(24px, 5vw, 80px); --cmax: 1440px;
    --font-heading: var(--font-display); /* Alata from door block */
    --font-body: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    --zt-mono: var(--font-body); /* meta = JetBrains; buttons/nav use --font-ui */
    --zt-ink: #0b0b0b; --zt-concrete: #b48b5c;   /* Ryan 11-04: tan board ground replaces the gray concrete */ --zt-board: #b48b5c; --zt-paper: #ece6d6; --zt-lime: #c6e43c;
    --zt-c: min(83.34%, 1360px);                                       /* the mock's content column: 1200 of 1440 */
    --zt-hh: clamp(36rem, calc(100svh - 5.5rem), 64rem);               /* the first screen under the header (v7: cap 64rem so 1920x1080 fills) */
    /* v6: the hero photo is the full uncropped 2:3 frame of CHawks_1905, so its column is a true 2:3 panel sized from the hero
       height: at least 2/3 of the first screen, ideally 42vw, at most 0.8x the first screen (so the hero runs at most ~1.2x the first
       screen tall). The hero row is the panel's height (width x 3/2), so the photo is never cropped or letterboxed. */
    --zt-pw: min(calc(var(--zt-hh) * 2 / 3), 43vw);                    /* v7: the 2:3 photo is sized from the available height, so the hero fits the screen
                                                                          (43vw cap keeps room for the headline on narrow, tall windows) */
    --zt-ci: min(92%, 1500px);                                         /* v7: the Room + food band, ~10% wider than --zt-c */
    --step--2: 0.8125rem;
    --step--1: clamp(0.875rem, 0.8rem + 0.15vw, 1rem);
    --step-0: clamp(1rem, 0.8rem + 0.35vw, 1.125rem);
    --step-1: clamp(1.25rem, 0.95rem + 0.55vw, 1.5rem);
    --step-2: clamp(1.75rem, 1.1rem + 1.1vw, 2.5rem);
    --step-3: clamp(2.75rem, 1.5rem + 2vw, 3.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); }
  h1, h2, h3, .heading { font-weight: 400; font-variation-settings: normal; font-synthesis: none; letter-spacing: 0.005em; }
  .label { font-family: var(--zt-mono); font-weight: 500; letter-spacing: 0.16em; }

  /* Buttons (mock): square, mono caps, letterspaced */
  .site-header .btn, .hero--zt .btn { border-radius: 0; border-width: 1px; padding: 1.15em 1.75em; font-family: var(--font-ui); font-size: 0.75rem; 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 { background: var(--zt-lime); border-color: var(--zt-lime); color: var(--zt-ink); }
  .hero--zt .btn--primary { background: var(--zt-ink); border-color: var(--zt-ink); color: var(--zt-paper); }

  /* Header, one row: small mark (#28) left, mono caps nav centred, phone + lime Order online right. Desktop nav = the mock's four
     links (twins; the phone links stay as they were and are hidden here). */
  .site-header { background: var(--zt-ink); }
  .site-header .placeholder--logo { display: none; }
  /* v8 (Caelan 2026-10-23 12:29: "lets get rid of the zoo thai logo in the top left corner and slide menus/room+food,seatingtakeout,
     and find us in its place"): no visible header mark; the nav starts at the header's left edge (where the mark was), same font
     and gaps; phone + Order online stay right. The "Zoo Thai home" link is visually hidden and appears on keyboard focus. */
  .site-header .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nav cta"; align-items: center; column-gap: var(--space-5); padding-top: 1.0625rem; padding-bottom: 1.0625rem; position: relative; }
  .zt-mark { display: block; position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .zt-mark:focus-visible { width: auto; height: auto; margin: 0; clip: auto; overflow: visible; left: var(--edge); top: 100%; z-index: 20; padding: 0.6rem 0.9rem; background: var(--zt-lime); color: var(--zt-ink); font-family: var(--zt-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; }
  .site-header .site-nav { grid-area: nav; justify-self: start; }
  .site-header .site-nav li { display: none; }
  .site-header .site-nav li.zt-nav-desk { display: list-item; }
  .site-nav ul { flex-wrap: nowrap; white-space: nowrap; gap: clamp(1.25rem, 2.4vw, 2.5rem); font-family: var(--font-ui); font-size: 0.75rem; 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(--zt-paper) 86%, transparent); text-decoration: none; }
  .site-nav a:hover { color: var(--zt-paper); text-decoration: underline; }
  .zt-hdr-cta { display: flex; grid-area: cta; justify-self: end; align-items: center; gap: var(--space-5); white-space: nowrap; }
  .zt-hdr-cta .zt-tel { font-family: var(--zt-mono); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; text-decoration: none; color: color-mix(in srgb, var(--zt-paper) 86%, transparent); }
  .zt-hdr-cta .zt-tel:hover { text-decoration: underline; }
  @media (max-width: 79.99rem) { .zt-hdr-cta .zt-tel { display: none; } }   /* 1024-1279: button only, so the nav keeps room */

  /* Split hero (mock): the photo left, caption bottom-left; concrete panel right (the remaining width), text left-aligned and
     vertically centred. v6 (Caelan 2026-10-23: "i really love the pov of the original image ... its a little tall and i think we can
     adjust accordingly"): the photo column is a 2:3 portrait panel (--zt-pw wide, --zt-pw x 3/2 tall) showing the whole uncropped
     frame; replaces v5's narrower 4:5 crop column (min(47%, 800px)). v7 (Caelan 2026-10-23: "lets center this as a unit neon
     included"): photo + text are one centred unit as wide as the content column (--zt-c), the photo is --zt-hh tall (the screen
     under the header) and 2:3 wide, and the neon strip below spans exactly that unit. The phone photo figure is hidden here (its
     picture serves a 1x1 placeholder from 64rem, so it is not downloaded). */
  .hero--zt { padding: 0; border-bottom: 0; background: var(--zt-concrete); overflow-x: clip;
    /* v8: logo #1-r3 above the headline. Everything in the text column is budgeted against the photo height (--zt-ph) so the
       column never grows the hero past the photo (the neon stays on the first screen): the logo is ~26% of the photo height, the
       headline gets what is left (3 lines), capped at its v7 size. */
    --zt-ph: calc(var(--zt-pw) * 3 / 2); --zt-tp: clamp(1.25rem, 3vh, 2.5rem); --zt-lh: calc(var(--zt-ph) * 0.323 - 13px); }   /* v9: logo ~20% wider than v8 */
  @media (max-width: 79.99rem) { .hero--zt { --zt-ix: 20px; } }   /* v9: below 1280 the intro runs to 3 lines; budget for it */   /* v7: no page h-scroll while the desktop fonts swap in (fallback face is wider) */
  .hero--zt .wrap { display: grid; width: var(--zt-c); max-width: none; margin-inline: auto; grid-template-columns: var(--zt-pw) minmax(0, 1fr); grid-template-rows: minmax(calc(var(--zt-pw) * 3 / 2), auto); gap: 0; padding: 0; align-items: center; }
  .hero--zt .hero-media { display: none; }
  .zt-hero-d { display: block; grid-column: 1; grid-row: 1; margin: 0; position: relative; width: var(--zt-pw); height: calc(var(--zt-pw) * 3 / 2); overflow: hidden; background: #2a0d14; }
  .zt-hero-d picture { position: absolute; inset: 0; }
  .zt-hero-d img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }   /* the panel is 2:3 like the file: nothing is cut */
  .hero--zt .wrap > div { grid-column: 2; grid-row: 1; color: var(--zt-ink); display: flex; flex-direction: column; justify-content: center; align-items: stretch; text-align: left; padding: var(--zt-tp) 0 var(--zt-tp) clamp(2rem, 4.5vw, 6rem); }
  .hero--zt .wrap > div > * { max-width: 40rem; }
  .zt-kicker { display: block; margin: 0 0 1rem; font-family: var(--zt-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: #1f1f1e; }
  .hero--zt h1.hero-wordmark { margin: 0; line-height: 1; text-align: left; display: flex; flex-direction: column; align-items: center; width: max-content; max-width: 100%; }   /* v9: the h1 shrink-wraps the headline, so the logo centres on the text width */
  .hero--zt h1.hero-wordmark > picture { display: none; }   /* v8: the visible logo below is the h1 brand (alt "Zoo Thai") */
  .zt-hlogo { display: block; margin: 0 0 1rem; line-height: 0; }
  .hero--zt h1 .zt-hlogo img { display: block; height: var(--zt-lh); width: auto; max-width: none; aspect-ratio: 320 / 454; margin: 0; }   /* left-aligned with the headline (beats site.css .hero-wordmark--center img, which loads later) */
  .zt-h1 { display: block; font-family: var(--font-heading); font-size: clamp(2.5rem, min(7vw, calc((var(--zt-ph) - 2 * var(--zt-tp) - var(--zt-lh) - 254px - var(--zt-ix, 0px) - var(--zt-palm-x, 0px)) / 2.79)), 7.25rem); font-weight: 400; line-height: 0.93; letter-spacing: 0.002em; text-transform: uppercase; color: var(--zt-ink); max-width: 100%; align-self: stretch; } .zt-h1 > span { display: block; }   /* v8: 3 lines, TRADITIONAL / THAI FOOD IN / MISSOULA. (was the mock's 4), to make room for the logo */
  .zt-h1 { font-family: "Anton", "Alata", "Helvetica Neue", Arial, sans-serif; font-size: clamp(2.75rem, 6vw, 4.5rem); line-height: 1; letter-spacing: 0.05em; }   /* Ryan 11-04 (Django spec): Anton 400 hero line */
  .hero--zt h1.hero-wordmark + .label, .hero--zt .tagline { display: none; }
  .hero--zt .wrap > div > .zt-intro { display: block; margin: 1.25rem 0 1.5rem; font-family: var(--font-body); font-size: clamp(1rem, 0.75rem + 0.45vw, 1.1875rem); line-height: 1.55; color: #161616; max-width: 30em; }
  .hero--zt .actions { justify-content: flex-start; margin: 0; }
  /* Caelan 2026-10-25 (cleared: ours): ink palm at the right end of the ORDER ONLINE row, sitting just above the black rule.
     The palm hangs 1rem into the intro's bottom margin and 0.75rem into the rule's top margin, so the row only grows by
     H - 1.75rem - button; anything past the column's ~30px slack comes out of the headline budget (--zt-ix), so the hero
     height (= photo height) never changes. */
  .hero--zt { --zt-palm-h: clamp(96px, calc(12.5vw - 80px), 128px); --zt-palm-x: max(0px, calc(var(--zt-palm-h) - 99.6px)); }
  .hero--zt .actions { align-items: flex-end; }
  /* round 2 (Caelan 2026-10-25): intro on two lines, so the ORDER ONLINE row (palm at its right end) and the black rule come in to
     85% of the column; never under 24rem, the width the HOURS / ADDRESS rows need on one line (381.5 px), so phones and 1024 keep 100%. */
  .hero--zt .wrap > div > .actions, .hero--zt .wrap > div > .zt-hours { max-width: min(34rem, max(85%, 24rem)); }   /* 34rem = 85% of the old 40rem cap */
  .zt-palm { display: block; flex: none; margin: -1rem 0 -0.75rem auto; line-height: 0; }
  .zt-palm img { display: block; height: var(--zt-palm-h); width: auto; aspect-ratio: 544 / 800; }
  .zt-hours { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 2rem; row-gap: 0.625rem; width: 100%; margin: 1.25rem 0 0; padding-top: 1.25rem; border-top: 2px solid var(--zt-ink); font-family: var(--zt-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; color: var(--zt-ink); }
  @media (max-width: 79.99rem) { .zt-hours { column-gap: 1rem; } }   /* v10: keeps the address on one line at 1024 */
  .zt-hours .zt-hours-k { color: #1f1f1e; text-transform: uppercase; letter-spacing: 0.16em; }

  /* Three neon bars on the hero's bottom edge (mock): pink / blue / amber, each about 24% of the width, glowing. Static. */
  .zt-room { display: block; position: relative; background: var(--zt-ink); color: var(--zt-paper); padding: clamp(5rem, 9.6vw, 8.75rem) 0 clamp(5rem, 9vw, 8rem); }
  .zt-neon { position: absolute; left: 0; right: 0; top: -2px; width: var(--zt-c); margin-inline: auto; display: flex; justify-content: center; gap: clamp(8px, 1vw, 14px); z-index: 2; pointer-events: none; }
  .zt-neon span { flex: 1 1 0; height: 8px; border-radius: 4px; }   /* Ryan 11-04: six thicker tubes red gold blue blue gold red */   /* v7: three equal tubes across the hero unit's width */
  .zt-neon span:nth-child(1), .zt-neon span:nth-child(6) { background: #ffbfcd; box-shadow: 0 0 6px 2px #ff5c93, 0 0 18px 5px rgba(255, 60, 130, 0.55); }
  .zt-neon span:nth-child(3), .zt-neon span:nth-child(4) { background: #c2e6ff; box-shadow: 0 0 6px 2px #4aa8ff, 0 0 18px 5px rgba(40, 140, 255, 0.55); }
  .zt-neon span:nth-child(2), .zt-neon span:nth-child(5) { background: #ffdfb5; box-shadow: 0 0 6px 2px #ffad4a, 0 0 18px 5px rgba(255, 160, 50, 0.55); }
  #menu .zt-neon--menu { width: var(--zt-c); }   /* t947u: match upper neon column width */

  /* The room (mock): tan hardboard card with four black screws beside the tall 2:3 photo (the CHawks17667 swap). */
  .zt-c { width: var(--zt-c); margin-inline: auto; }
  .zt-pair { display: grid; grid-template-columns: minmax(0, 621fr) minmax(0, 517fr); column-gap: 5%; align-items: stretch; }
  .zt-card { position: relative; background: var(--zt-board); color: var(--zt-ink); padding: clamp(2.75rem, 5.1vw, 5rem) clamp(2rem, 4.4vw, 4.5rem); }
  .zt-card .zt-lbl { margin: 0 0 1.1rem; font-family: var(--zt-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
  .zt-card h2 { margin: 0 0 1.75rem; font-family: var(--font-heading); font-size: clamp(3.25rem, 5.6vw, 5.25rem); line-height: 0.92; text-transform: uppercase; color: var(--zt-ink); max-width: none; }
  .zt-card p { max-width: none; }
  .zt-card .zt-body { margin: 0 0 1em; font-family: var(--font-body); font-size: clamp(0.9375rem, 0.8rem + 0.25vw, 1.0625rem); line-height: 1.7; color: #161616; }
  /* Caelan 2026-10-25 (cleared: ours): ZT monogram centred under the tag line, in the card's empty lower area.
     The card is a flex column so the mark can take the leftover height (margin-block: auto); the last body paragraph drops its
     bottom margin because flex margins do not collapse (keeps the body -> tag gap at 1.5rem as before). */
  .zt-card { display: flex; flex-direction: column; }
  .zt-card .zt-body--last { margin-bottom: 0; }
  /* round 2 (Caelan 2026-10-25: "bring this all down a bit to be more centered in its frame (we can expand that logo 15%)"): the
     mark is 1.15x, sits 2.25rem under the tag (one group, ~1.5x the 1.5rem body -> tag gap) and the whole group is centred
     vertically in the card (padding is symmetric, so top and bottom space between the screws match). Card size unchanged. */
  .zt-card { justify-content: center; }
  .zt-mono-mark { display: block; flex: none; align-self: center; margin: 2.25rem 0 0; padding: 0; line-height: 0; color: var(--zt-ink); }
  .zt-mono-mark svg { display: block; height: clamp(87.4px, calc(11.5vw - 34.5px), 142.6px); width: auto; aspect-ratio: 2 / 3; overflow: visible; }
  .zt-card .zt-tag { margin: 1.5rem 0 0; padding-top: 1.4rem; border-top: 2px solid var(--zt-ink); font-family: var(--zt-mono); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.2em; line-height: 1.7; text-transform: uppercase; }
  /* ZT v3 (Caelan 2026-10-25 "move the zt symbol to be half way from the bottom text to the bottom of the frame ... 8% bigger"):
     the text block stays exactly where round 2 put it: the card is a grid whose rows reproduce the old centred group
     (1fr | text | old gap + old mark height | 1fr). The mark (now 1.08x: transform-free, real height) spans rows 3-4 and is centred
     there with margins that stretch its alignment box up to the tag's ink baseline (--zt-tag-d = tag box bottom - ink bottom) and
     down through the bottom padding to the card's bottom edge (--zt-pad-b), so its centre = midpoint(tag ink bottom, card bottom).
     The ZT ink (stroke box 13-187 x 13-287 of 200x300) is centred in the svg box. */
  .zt-card { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto var(--zt-mk-old) 1fr;
             --zt-pad-b: clamp(2.75rem, 5.1vw, 5rem); --zt-mk-old: calc(2.25rem + clamp(87.4px, calc(11.5vw - 34.5px), 142.6px)); --zt-tag-d: calc(0.875rem * 0.54); }   /* tag ink baseline sits 0.54em of its 0.875rem size above its line box bottom (measured) */
  .zt-card-text { grid-row: 2; display: flex; flex-direction: column; }
  .zt-card .zt-mono-mark { grid-row: 3 / 5; align-self: center; justify-self: center; margin: calc(-1 * var(--zt-tag-d)) 0 calc(-1 * var(--zt-pad-b)); }
  .zt-mono-mark svg { height: clamp(94.39px, calc(12.42vw - 37.26px), 154.01px); }
  .zt-screw { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--zt-ink); }
  .zt-screw:nth-of-type(1) { top: 16px; left: 16px; } .zt-screw:nth-of-type(2) { top: 16px; right: 16px; }
  .zt-screw:nth-of-type(3) { bottom: 16px; left: 16px; } .zt-screw:nth-of-type(4) { bottom: 16px; right: 16px; }
  .zt-photo { margin: 0; }
  .zt-photo img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; background: #1a1a1a; }

  /* desktop-v3 (Caelan 2026-10-23): the Six Flavors band becomes four photo cards, two of the room and two of the food, laid out
     like Teton Thai's four-tile band (styles/frame.css .tt-strip: repeat(4, minmax(0, 1fr))) in the mock's look: concrete band,
     mono label + Anton headline left, intro right, dark cards with a 4:5 photo, lime mono number, Anton title, Archivo text. */
  .zt-inside { display: block; background: var(--zt-concrete); color: var(--zt-ink); padding: clamp(5rem, 8.9vw, 8rem) 0; }
  .zt-inside > .zt-c { width: var(--zt-ci); }   /* v7: card photos ~10% larger */
  /* Caelan 2026-11-03: THE ROOM. / THE FOOD. block spans full width at every breakpoint (not a side column) */
  .zt-in-head { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 1rem; align-items: start; margin-bottom: 2.75rem; }
  .zt-in-head .zt-lbl { margin: 0 0 0.9rem; font-family: var(--zt-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
  .zt-in-head h2 { margin: 0; font-family: var(--font-heading); font-size: clamp(3.5rem, 5.9vw, 5.5rem); line-height: 0.95; text-transform: uppercase; color: var(--zt-ink); max-width: 100%; }
  .zt-in-head h2 > span { display: block; }
  .zt-in-head p.zt-in-intro { margin: 0; font-family: var(--font-body); font-size: clamp(0.9375rem, 0.8rem + 0.25vw, 1.0625rem); line-height: 1.7; color: #161616; max-width: 36rem; }
  .zt-in-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.05vw, 16px); list-style: none; margin: 0; padding: 0; }
  .zt-in-card { background: var(--zt-ink); color: var(--zt-paper); padding: clamp(8px, 0.7vw, 10px) clamp(8px, 0.7vw, 10px) clamp(1.25rem, 1.7vw, 1.75rem); }
  .zt-in-card figure { margin: 0 0 clamp(1rem, 1.4vw, 1.375rem); }
  .zt-in-card img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; background: #1a1a1a; }   /* v7: full uncropped 2:3 frames */
  .zt-in-card h3, .zt-in-card .zt-in-text { margin-left: clamp(0.5rem, 0.8vw, 0.875rem); margin-right: clamp(0.5rem, 0.8vw, 0.875rem); }
  .zt-in-card h3 { margin-top: 0; margin-bottom: 0.7rem; font-family: var(--font-heading); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2.125rem); line-height: 1; text-transform: uppercase; text-align: center; color: var(--zt-paper); }  /* t945u: center single-word descriptors under photos */
  .zt-in-card .zt-in-text { margin-top: 0; margin-bottom: 0; font-family: var(--font-body); font-size: clamp(0.875rem, 0.78rem + 0.2vw, 1rem); line-height: 1.6; color: #cfc9bb; max-width: none; }

  /* v6 (Caelan 2026-10-23): a fifth "artistic photo spot" under the four cards, hung like an art piece on the concrete, with a small
     wall label. v7: a matched pair (CHawks17344 + the 17683 spread), both full 2:3 frames in dark frames, centred, label at right. */
  .zt-feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(10px, 1.05vw, 16px); margin: clamp(3.5rem, 6vw, 5.5rem) 0 0; }
  .zt-feat-frame:nth-of-type(1) { grid-column: 2; } .zt-feat-frame:nth-of-type(2) { grid-column: 3; }
  .zt-feat-frame { margin: 0; background: var(--zt-ink); padding: clamp(10px, 0.9vw, 14px); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55); }
  .zt-feat-frame img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; background: #1a1a1a; }
  .zt-feat-lbl { grid-column: 4; align-self: end; margin: 0; padding: 0 0 0.25rem clamp(0.5rem, 1.2vw, 1.25rem); border-left: 2px solid var(--zt-ink); }
  .zt-feat-lbl .zt-num { margin: 0 0 0.6rem; font-family: var(--zt-mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--zt-ink); max-width: none; }
  .zt-feat-lbl .zt-feat-line { margin: 0; font-family: var(--font-body); font-size: clamp(0.875rem, 0.78rem + 0.2vw, 1rem); line-height: 1.6; color: #161616; max-width: 18em; }

  /* Rest of the page (below the mock's last band): the same type system, hairlines, Visit on the surface band */
  main > section h2, main > section h3, .door-footer .heading { text-transform: uppercase; color: var(--zt-paper); }
  #visit { background: var(--color-surface); }
  .grid--2 { column-gap: 0; }
  .grid--2 > div:not(:first-child) { border-left: 1px solid var(--color-line); padding-left: clamp(2rem, 4vw, 5rem); }
  .grid--2 > div:not(:last-child) { padding-right: clamp(2rem, 4vw, 5rem); }


  .zt-boxes .wrap.grid--2 > div:not(:first-child) { border-left: 1px solid var(--color-line); padding-left: clamp(1.25rem, 2.5vw, 2rem); }
  .zt-boxes .wrap.grid--2 > div:not(:last-child) { padding-right: clamp(1.25rem, 2.5vw, 2rem); }
  .zt-visit3 .wrap.grid--2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .zt-visit3 .zt-visit-photo img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }


  /* 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;
  }

  /* ---- Zoo Thai phone layout ---- */
  :root { --pad: var(--gutter); --zt-c: min(calc(100% - 2 * var(--gutter)), 36rem); --zt-ci: var(--zt-c); }
  .site-header .wrap { display: flex; justify-content: space-between; padding-top: 0; padding-bottom: 0; }
  .ph-burger { order: -1; margin: 0 0 0 -0.55rem; }
  .zt-hdr-cta .zt-tel { display: none; }
  .site-header .btn { padding: 1.05em 1.25em; font-size: 0.6875rem; }
  .site-nav ul { font-size: 0.8125rem; }

  /* Hero: the whole 2:3 corridor frame left with its caption, the logo + 3-line headline right; intro, Order online and the
     hours under them, all on the concrete panel; one first screen */
  .hero--zt { display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh - var(--ph-hdr)); }
  @supports (height: 1svh) { .hero--zt { min-height: calc(100svh - var(--ph-hdr)); } }
  .hero--zt .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; column-gap: 1rem; padding: 1.25rem 0 1.75rem; }
  .zt-hero-d { grid-column: 1; grid-row: 1; width: 100%; height: auto; aspect-ratio: 2 / 3; }
  .hero--zt .wrap > div { display: contents; }
  .hero--zt h1.hero-wordmark { grid-column: 2; grid-row: 1; align-self: center; width: auto; margin: 0; }
  .zt-hlogo { margin: 0 0 0.9rem; }
  .hero--zt h1 .zt-hlogo img { height: min(9rem, 30vw); }
  .zt-h1 { font-family: "Anton", "Alata", "Helvetica Neue", Arial, sans-serif; font-size: clamp(1.7rem, 9.4vw - 0.6rem, 3rem); line-height: 1; letter-spacing: 0.05em; text-align: center; }   /* Ryan 11-04 (Django spec): Anton hero line on phone too (Caelan) */
  .hero--zt .wrap > div > .zt-intro { grid-column: 1 / -1; margin: 1.25rem 0 1.1rem; font-size: 1rem; }
  .hero--zt .actions { grid-column: 1 / -1; }
  .hero--zt { --zt-palm-h: 64px; }   /* Caelan 2026-10-25: palm on the ORDER ONLINE row, right side; smaller on phones */
  .zt-palm { margin-top: -0.5rem; }
  .zt-hours { grid-column: 1 / -1; column-gap: 1rem; }

  /* The room: the board card, then the tall photo under it */
  .zt-room { padding: 3.5rem 0 4rem; }
  .zt-pair { grid-template-columns: minmax(0, 1fr); row-gap: 1rem; }
  .zt-card { padding: 2.75rem 1.75rem; }
  .zt-card h2 { font-size: clamp(2.6rem, 12vw, 3.5rem); margin-bottom: 1.25rem; }
  .zt-card .zt-tag { font-size: 0.75rem; }
  .zt-mono-mark { margin-top: 1.75rem; }
  .zt-mono-mark svg { height: 92px; }
  .zt-card { --zt-pad-b: 2.75rem; --zt-mk-old: calc(1.75rem + 92px); --zt-tag-d: calc(0.75rem * 0.54); }   /* ZT v3: phone card is content-driven, so the 1fr rows are 0 */
  .zt-card .zt-mono-mark { margin-top: calc(-1 * var(--zt-tag-d)); }
  .zt-mono-mark svg { height: 99.36px; }   /* ZT v3: 92 -> 99.36 px (+8%) */   /* round 2: 80 -> 92 px (+15%) */   /* Caelan 2026-10-25: ZT monogram under the tag line */

  /* Room + food band: 2-up cards, then the pair of framed photos with the wall label under them */
  .zt-inside { padding: 3.5rem 0 4rem; }
  .zt-in-head { grid-template-columns: minmax(0, 1fr); row-gap: 1rem; margin-bottom: 1.75rem; }
  .zt-in-head h2 { font-size: clamp(2.6rem, 12vw, 3.5rem); }
  .zt-in-head h2 > span { display: block; }
  .zt-in-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .zt-in-card { padding: 7px 7px 1.1rem; }
  .zt-in-card figure { margin-bottom: 0.9rem; }
  .zt-in-card h3, .zt-in-card .zt-in-text { margin-left: 0.4rem; margin-right: 0.4rem; }
  .zt-in-card h3 { font-size: 1.375rem; text-align: center; }  /* t945u */
  .zt-in-card .zt-in-text { font-size: 0.875rem; }
  .zt-feat { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 2.5rem; }
  .zt-feat-frame { padding: 8px; }
  .zt-feat-frame:nth-of-type(1) { grid-column: 1; } .zt-feat-frame:nth-of-type(2) { grid-column: 2; }
  .zt-feat-lbl { grid-column: 1 / -1; margin-top: 0.75rem; padding-left: 0.75rem; }

  /* Visit: stacked with hairlines on phones; the desktop three columns from 40rem */
  @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(--color-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; }
  }

  /* Narrow phone: one left-aligned stack. Hours, then address, then two equal outline buttons,
     the entrance note, the welcome line, the waitlist, then the menu buttons. */
  @media (max-width: 39.99rem) {
    .hero--zt .wrap > div > .zt-hours,
    .hero--zt .wrap > div > .zt-arrive,
    .hero--zt .wrap > div > .zt-intro,
    .hero--zt .tagline,
    .hero--zt .wrap > div > .actions { grid-column: 1 / -1; max-width: none; width: 100%; }

    .hero--zt .wrap > div > .zt-hours {
      order: 1; display: flex; flex-direction: column; align-items: stretch; gap: 0.4rem;
      margin: 1rem 0 0; padding-top: 0.85rem; letter-spacing: 0.04em;
    }
    .hero--zt .zt-hours-line {
      display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.75rem; row-gap: 0.15rem; width: 100%;
    }
    .hero--zt .zt-addr { letter-spacing: 0.02em; white-space: nowrap; }

    .hero--zt .zt-arrive {
      order: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 0.5rem;
      margin: 0.75rem 0 0; align-items: stretch;
    }
    .hero--zt .zt-arrive .zt-dir,
    .hero--zt .zt-arrive .zt-call {
      display: flex; align-items: center; justify-content: center; box-sizing: border-box;
      min-height: 44px; padding: 0.65rem 0.4rem;
      border: 2px solid var(--zt-ink); border-radius: 0; background: transparent; color: var(--zt-ink);
      font-family: var(--font-ui); font-size: 0.6875rem; font-weight: var(--font-ui-weight);
      letter-spacing: 0.06em; text-transform: var(--font-ui-transform); line-height: 1;
      text-decoration: none; text-align: center; white-space: nowrap;
    }
    .hero--zt .zt-arrive .zt-dir:hover,
    .hero--zt .zt-arrive .zt-call:hover { background: color-mix(in srgb, var(--zt-ink) 10%, transparent); }
    .hero--zt .zt-arrive .zt-dir:focus-visible,
    .hero--zt .zt-arrive .zt-call:focus-visible { outline: 2px solid var(--zt-lime); outline-offset: 3px; }
    .hero--zt .zt-enter {
      grid-column: 1 / -1; margin: 0.15rem 0 0; max-width: none;
      font-family: var(--font-ui); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.01em;
      line-height: 1.35; text-align: left; white-space: nowrap; color: #161616;
    }
    @media (max-width: 21.5rem) {
      .hero--zt .zt-enter { white-space: normal; text-wrap: balance; }
    }

    .hero--zt .wrap > div > .zt-intro {
      order: 3; margin: 0.85rem 0 0; max-width: none; text-wrap: pretty;
    }
    .hero--zt .zt-intro br { display: none; }
    .hero--zt .zt-gap { display: inline; }
    .hero--zt .zt-keep { white-space: nowrap; }

    .hero--zt .tagline {
      display: block; order: 4; margin: 0.85rem 0 0; max-width: none;
      color: #161616; font-size: 0.9375rem; line-height: 1.45; text-wrap: pretty;
    }
    .hero--zt .wrap > div > .actions { order: 5; margin-top: 0.85rem; }
    #visit .zt-entrance { display: none; }
  }

}
