/* site.css — layout + components. Identical in all six repos; per-door values come from tokens.css DOOR BLOCK. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-body);
  font-weight: var(--body-weight);
  font-size: var(--step-0);
  line-height: var(--leading-body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.18em; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--space-4); top: var(--space-4); background: var(--color-bg); padding: var(--space-2); z-index: 10; }

.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* Headings: per-door display face (FONT-SPEC-2026-11-03); no Fraunces axes */
h1, h2, h3, .heading {
  font-family: var(--font-heading);
  font-weight: var(--h-weight);
  font-style: var(--h-style);
  font-variation-settings: normal;
  font-synthesis: none;
  text-transform: var(--h-transform);
  letter-spacing: var(--h-tracking);
  color: var(--color-accent);
  line-height: var(--leading-snug);
  margin: 0 0 var(--space-3);
}
h1 { font-size: var(--step-5); line-height: var(--leading-tight); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 var(--space-3); max-width: var(--measure); }
.label { font-size: var(--step--2); font-weight: var(--label-weight); letter-spacing: var(--label-tracking); text-transform: uppercase; color: var(--color-muted); margin: 0 0 var(--space-1); }
.muted { color: var(--color-muted); }
.small { font-size: var(--step--1); }

/* Scaffold-only markers (remove before launch) */
.nr { display: inline-block; font-family: var(--font-body); font-style: normal; font-size: var(--step--2); font-weight: 700; letter-spacing: 0.02em; text-transform: none; padding: 0 var(--space-2); border-radius: var(--radius-1); border: 1px dashed currentColor; color: var(--color-muted); vertical-align: middle; }
.placeholder {
  border: 2px dashed var(--color-line);
  border-radius: var(--radius-2);
  background: var(--color-surface);
  color: var(--color-muted);
  padding: var(--space-5) var(--space-4);
  font-size: var(--step--1);
  display: grid; place-content: center; text-align: center; gap: var(--space-1);
}
.placeholder strong { color: var(--color-fg); letter-spacing: var(--label-tracking); text-transform: uppercase; font-size: var(--step--2); }
.placeholder--logo { min-height: 4.5rem; min-width: 9rem; padding: var(--space-3); }
.placeholder--photo { aspect-ratio: 4 / 3; margin: var(--space-5) 0 0; }

/* Caelan 2026-11-03: Dine In or Take Out — two equal square photo slots (Teton Thai placeholders / Mama Su photos) */
.menu-squares { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); align-self: start; }
.menu-squares__item { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: var(--color-surface); border: 1px solid var(--color-line); }
.menu-squares__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.menu-squares__ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: var(--space-3); text-align: center; font-family: var(--font-body); font-size: var(--step--2); letter-spacing: var(--label-tracking); text-transform: uppercase; color: var(--color-muted); }
@media (max-width: 39.99rem) {
  #menu .grid--2 { grid-template-columns: minmax(0, 1fr); }
  #menu .menu-squares { margin-top: var(--space-5); }
}


/* Header */
.site-header { border-bottom: var(--border-width) solid var(--color-line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); padding-top: var(--space-3); padding-bottom: var(--space-3); }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-4); margin: 0; padding: 0; font-family: var(--font-ui); font-weight: var(--font-ui-weight); font-size: var(--step--1); letter-spacing: var(--font-ui-tracking); text-transform: var(--font-ui-transform); }
.site-nav a { text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }

/* Sections */
section { padding: var(--space-7) 0; border-bottom: var(--border-width) solid var(--color-line); }
.hero { padding-top: var(--space-6); }
.hero .tagline { font-size: var(--step-1); text-wrap: pretty; }
.hero .tagline__line { display: block; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.btn { display: inline-block; padding: var(--space-3) var(--space-5); border-radius: var(--radius-pill); border: 2px solid var(--color-fg); font-family: var(--font-ui); font-weight: var(--font-ui-weight); letter-spacing: var(--font-ui-tracking); text-transform: var(--font-ui-transform); text-decoration: none; }
.btn--primary { background: var(--color-fg); color: var(--color-bg); }
.grid { display: grid; gap: var(--space-5); }
.fact { margin: 0 0 var(--space-4); }
address { font-style: normal; }

/* ---- Neon open sign: the ONLY glowing element on any page (vision lock d) ---- */
.hours-line { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); font-size: var(--step-1); font-weight: var(--body-weight-strong); }
.open-sign { display: inline-flex; align-items: center; gap: var(--space-2); }
.open-sign__light { display: inline-block; flex: none; }
/* Teton Thai: thin neon ring */
.open-sign--ring .open-sign__light { width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid var(--neon); box-shadow: 0 0 6px var(--neon), 0 0 14px var(--neon); }
/* Teton Tiger, Zoo Thai: single-color dot */
.open-sign--dot .open-sign__light { width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--neon); box-shadow: 0 0 6px var(--neon), 0 0 16px var(--neon); }
/* TYGR Mart (light page): outlined dot, dark core, no glow (a glow reads pink here) */
.open-sign--outline .open-sign__light { width: 1rem; height: 1rem; border-radius: 50%; border: 3px solid var(--neon); background: var(--color-fg); }
/* Mama Su: white-cored "OPEN DAILY" pill so it doesn't vanish into lantern red */
.open-sign--pill .open-sign__light { padding: 0.2em 0.8em; border-radius: var(--radius-pill); border: 2px solid var(--neon); color: #fff7f4; font-size: var(--step--1); letter-spacing: 0.12em; font-weight: 800; text-shadow: 0 0 4px #fff, 0 0 10px var(--neon); box-shadow: 0 0 8px var(--neon), inset 0 0 8px var(--neon); }

@media (prefers-reduced-motion: no-preference) {
  .open-sign__light { animation: neon-on var(--neon-flicker-duration) linear 1 both; }
}
@keyframes neon-on {
  0%   { opacity: 0.15; }
  8%   { opacity: 1; }
  12%  { opacity: 0.25; }
  22%  { opacity: 1; }
  26%  { opacity: 0.4; }
  40%, 100% { opacity: 1; }
}

/* Door cards (group site) */
.doors { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.door-card { border: var(--border-width) solid var(--color-line); border-radius: var(--radius-2); padding: var(--space-5) var(--space-4); background: var(--color-surface); }
.door-card h3 { margin-bottom: var(--space-1); }

/* Footer (vision lock e) */
.door-footer { padding: var(--space-7) 0 var(--space-6); font-size: var(--step--1); }
.door-footer .heading { font-size: var(--step-3); margin-bottom: var(--space-4); }
.footer-grid { display: grid; gap: var(--space-4); }
.footer-grid p { margin: 0; }
.sisters { margin-top: var(--space-5); padding-top: var(--space-4); border-top: var(--border-width) solid var(--color-line); }
.sisters ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin: var(--space-1) 0 0; padding: 0; }
.endorse { margin-top: var(--space-3); color: var(--color-muted); }
.endorse a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: color-mix(in srgb, currentColor 50%, transparent);
}
.endorse a:hover, .endorse a:focus-visible {
  text-decoration-color: currentColor;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  color: var(--color-muted);
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: inherit;
  text-decoration: none;
}
.social-links a:hover,
.social-links a:focus-visible {
  color: var(--color-accent);
}
.social-links svg { display: block; width: 24px; height: 24px; }
.social-links + .endorse { margin-top: var(--space-2); }
.site-nav .social-links { display: none; }

/* Sister doors band (round 2, Caelan 2026-10-25): its own centred section under the footer, divider + section padding (as Mama Su),
   heading in the door's label style at the section-heading size, the other doors' logos (Neon Tiger Group's five door files,
   recoloured into this door's footer colours by make_r2_marks.py) as the links. Equal optical weight = equal trimmed bbox area:
   height = --sl / sqrt(aspect). */
.door-footer.has-band { padding-bottom: 0; }
.door-footer.has-band > .wrap { padding-bottom: var(--space-7); }
.sisters.sisters-band { margin: 0; padding: var(--space-7) 0; border-top: var(--border-width) solid var(--color-line); text-align: center; }
.sisters-band .sisters-h { font-family: var(--font-body); font-variation-settings: normal; font-size: var(--step-3); line-height: 1.1; margin: 0 0 var(--space-5); text-align: center; }
.sisters .sisters-logos, .sisters-logos { --sl: 77.28px; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: calc(var(--space-3) * 1.25) calc(var(--space-5) * 1.25); margin: 0 auto; padding: 0; }
.sisters-logos a { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0.5rem; border-radius: 2px; text-decoration: none; color: inherit; }
.sisters-logos a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sisters-logos img { display: block; width: auto; max-width: none; }
.sl-tetonthai img { height: calc(var(--sl) * 1.189); }
.sl-tetontiger img { height: calc(var(--sl) * 0.891); }
.sl-tygrmart img { height: calc(var(--sl) * 0.714); }
.sl-mamasu img { height: calc(var(--sl) * 1.252); }
.sl-zoothai img { height: calc(var(--sl) * 1.19); }
/* Sister-door hover glow (Caelan 2026-10-25 11 PM: "light up when scrolled over individually ... a line tight to the borders
   of the logos ... a soft neon so soft it doesn't take over the logo ... match that neon color to whatever is under Hours").
   Stacked drop-shadows follow the logo's alpha (its real outline, not a box): a crisp ~1px line in this door's --neon plus
   two soft blurs (4px, 10px) at low alpha; the logo's own fill is untouched. Mouse: :hover (hover-capable pointers only,
   so a tap never leaves it stuck on). Keyboard: :focus-visible. Touch: shows while pressed (:active / .is-tap from SL_TAP_JS, cleared on release). No pulsing. */
.sisters-logos img { transition: filter 220ms ease-out; }
.sisters-logos a:focus-visible img, .sisters-logos a:active img, .sisters-logos a.is-tap img { filter: var(--slg); }
@media (hover: hover) { .sisters-logos a:hover img { filter: var(--slg); } }
/* JP 2026-11-04 (Ryan review: every logo lights up like Zoo Thai's, 'a neon light that clicked on' with a thin white outline):
   four 0-blur 1px drop-shadows trace a thin white line on the logo's own silhouette, then the door's neon glow sits outside it. */
.sisters-logos { --slw: color-mix(in srgb, #fff 92%, transparent); --slg: drop-shadow(1px 0 0 var(--slw)) drop-shadow(-1px 0 0 var(--slw)) drop-shadow(0 1px 0 var(--slw)) drop-shadow(0 -1px 0 var(--slw)) drop-shadow(0 0 0.75px color-mix(in srgb, var(--sd-glow, var(--neon)) var(--slg-line), transparent)) drop-shadow(0 0 4px color-mix(in srgb, var(--sd-glow, var(--neon)) var(--slg-near), transparent)) drop-shadow(0 0 10px color-mix(in srgb, var(--sd-glow, var(--neon)) var(--slg-far), transparent)); }
@media (prefers-reduced-motion: reduce) { .sisters-logos img { transition: none; } }
@media (max-width: 39.99rem) { .sisters .sisters-logos, .sisters-logos { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; justify-items: center; align-items: center; gap: calc(var(--space-3) * 1.25) calc(var(--space-6) * 1.25); } }
/* sister doors v2 (Caelan 2026-10-25 10:31 PM): every logo +15% (--sl 64 -> 73.6px phone, 88 -> 101.2px from 40rem); the per-logo factors keep the equal optical weight. v3: +5% more, see below */
@media (min-width: 40rem) { .sisters .sisters-logos, .sisters-logos { --sl: 106.26px; gap: calc(var(--space-4) * 1.25) calc(var(--space-6) * 1.25); } }
/* Mama Su keeps its 36rem wrap up to 64rem: at +15% the four logos (489px) + 3 x 32px gaps overflowed it and wrapped 3+1, so the gap steps down to 24px there (gap before size) */
@media (min-width: 40rem) and (max-width: 63.99rem) { .ms-sisters-list.sisters-logos { column-gap: calc(var(--space-5) * 1.25); margin-inline: -1rem; } }
/* sister doors v3 (Caelan 2026-10-25 11:34 PM: "spaced out just a little bit more and then like 5 % bigger"): --sl +5% (73.6 -> 77.28px,
   101.2 -> 106.26px; per-logo factors unchanged), every gap x1.25 (phone grid 12/32 -> 15/40px, 40rem+ 16/32 -> 20/40px, Mama Su's
   40-64rem band 24 -> 30px). At 40-44rem the widest rows (TYGR Mart + Teton Tiger logos, 4-up) need ~626px, so the list may use 1rem
   of the side padding on each side (centred, invisible) and the column gap eases to 39px at 640px; Mama Su's 36rem wrap needs the
   same 1rem (601px row in a 608px list). Logos still >= 44px tap targets; nothing clips the 10px glow (no overflow on any ancestor). */
@media (min-width: 40rem) and (max-width: 43.99rem) { .sisters .sisters-logos:not(.ms-sisters-list), .sisters-logos:not(.ms-sisters-list) { margin-inline: -1rem; column-gap: min(calc(var(--space-6) * 1.25), calc((100vw - 524px) / 3)); } }

/* Larger screens */
@media (min-width: 40rem) {
  :root { --gutter: var(--space-5); }
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .doors { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64rem) {
  .hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-7); align-items: center; }
  .hero .placeholder--photo { margin: 0; }
  .doors { grid-template-columns: repeat(3, 1fr); }
}
