/* ============================================================
   MR. CHEN — Criollo Chinese Kitchen
   Design system · brand hexes from LOGO/WALLPAPER SVGs
   ============================================================ */

:root {
  --orange: #E86220;
  --orange-deep: #C94E12;
  --yellow: #FAD134;
  --mustard: #F7B62B;
  --green: #084925;
  --green-bright: #0E6534;
  --chrome: #06331A; /* deepest forest green — ALL decorative chrome (borders, hard shadows) */
  --ink: #0C0B08;
  --cream: #FDF6E3;
  --cream-dim: #F3E9CF;
  --white: #FFFFFF;

  --font-display: "Anton", "Anton-fallback", "Arial Narrow", sans-serif;
  --font-label: "Oswald", "Oswald-fallback", "Arial Narrow", sans-serif;
  --font-script: "Yellowtail", cursive;
  --font-body: "Archivo", "Helvetica Neue", sans-serif;

  --nav-h: 84px;
  --radius: 22px;
  --shadow-pop: 0 4px 0 var(--chrome);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* takeout-box zigzag dividers (24px tall, 48px period) */
  --zigzag-down-cream: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Cpath fill='%23FDF6E3' d='M0 0h48L36 24 24 0 12 24z'/%3E%3C/svg%3E");
  --zigzag-up-cream: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Cpath fill='%23FDF6E3' d='M0 24h48L36 0 24 24 12 0z'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

::selection { background: var(--yellow); color: var(--green); }

/* anchored sections land below the fixed nav */
[id] { scroll-margin-top: calc(var(--nav-h) + 1rem); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 250;
  background: var(--yellow); color: var(--green);
  padding: .75rem 1.25rem; font-weight: 700; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* ---------- grain (films everything incl. header; cursor rides above) ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 200; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .05;
  animation: grain-shift 1.2s steps(3) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0,0); } 33% { transform: translate(-2%,1%); }
  66% { transform: translate(1%,-2%); } 100% { transform: translate(0,0); }
}

/* ---------- cursor ---------- */
.cursor { position: fixed; inset: 0; z-index: 300; pointer-events: none; }
.cursor__dot, .cursor__ring {
  position: absolute; top: 0; left: 0; border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor__dot { width: 8px; height: 8px; background: var(--yellow); mix-blend-mode: difference; }
.cursor__ring {
  width: 36px; height: 36px; border: 2px solid var(--yellow);
  mix-blend-mode: difference;
  transition: width .25s var(--ease-out), height .25s var(--ease-out), opacity .25s;
}
.cursor.is-hover .cursor__ring { width: 58px; height: 58px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; text-decoration: none; cursor: pointer;
  border: 3px solid var(--chrome); border-radius: 999px;
  padding: .8rem 1.7rem; font-size: .95rem; line-height: 1;
  background: var(--cream); color: var(--ink);
  box-shadow: var(--shadow-pop);
  /* magnetic offset (--mx/--my, set by JS) composes with hover lift (--lift) */
  transform: translate(var(--mx, 0px), calc(var(--my, 0px) + var(--lift, 0px)));
  transition: transform .18s var(--ease-spring), box-shadow .18s var(--ease-spring), background .18s;
  will-change: transform;
}
.btn:hover { --lift: -3px; box-shadow: 0 7px 0 var(--chrome); }
.btn:active { --lift: 1px; box-shadow: 0 2px 0 var(--chrome); }
[data-magnetic] { transition: transform .12s ease-out, box-shadow .18s var(--ease-spring), background .18s; }
.btn--solid { background: var(--yellow); color: var(--green); }
.btn--yellow { background: var(--yellow); color: var(--green); }
.btn--green { background: var(--green); color: var(--yellow); }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--cream); box-shadow: 0 4px 0 var(--chrome); }
.btn--ghost:hover { background: rgba(255,255,255,.12); box-shadow: 0 7px 0 var(--chrome); }
.btn--lg { padding: 1.05rem 2.2rem; font-size: 1.05rem; }

/* two-layer focus ring: yellow outline + dark halo — visible on every field color */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(12,11,8,.55);
  border-radius: 6px;
}
.btn:focus-visible {
  outline: 3px solid var(--yellow); outline-offset: 3px;
  box-shadow: var(--shadow-pop), 0 0 0 6px rgba(12,11,8,.55);
  border-radius: 999px;
}

.chip {
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
  letter-spacing: .05em; font-size: .85rem;
  background: transparent; color: var(--green);
  border: 2.5px solid var(--green); border-radius: 999px;
  padding: .55rem 1.2rem; cursor: pointer;
  transition: background .18s, color .18s, transform .18s var(--ease-spring);
}
.chip:hover { transform: translateY(-2px); }
.chip.is-active { background: var(--green); color: var(--yellow); }
.chip:focus-visible {
  outline: 3px solid var(--yellow); outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(12,11,8,.55);
  border-radius: 999px;
}

.script { font-family: var(--font-script); text-transform: none; letter-spacing: 0; }
.script--yellow { color: var(--yellow); }

/* ---------- header / nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: transform .35s var(--ease-out), background .35s, box-shadow .35s;
}
.site-header.is-scrolled {
  background: rgba(253, 246, 227, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(6,51,26,.16);
}
.site-header.is-hidden { transform: translateY(-100%); }

.nav {
  height: var(--nav-h);
  max-width: 1400px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem;
}
.nav > * { min-width: 0; }
/* explicit column placement: keeps the burger right-anchored at ALL widths,
   even when .nav__links is display:none */
.nav__logo { grid-column: 1; justify-self: start; }
.nav__links { grid-column: 2; }
.nav__cta-wrap { grid-column: 3; }
.nav__logo img { height: 56px; width: auto; }
.nav__links { justify-self: center; display: flex; gap: clamp(1rem, 2.5vw, 2.2rem); list-style: none; }
.nav__link {
  font-family: var(--font-label); font-weight: 600; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
  color: var(--ink); position: relative; padding: .35rem 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px;
  background: var(--orange); border-radius: 2px;
  transition: right .25s var(--ease-out);
}
.nav__link:hover::after, .nav__link:focus-visible::after { right: 0; }
/* current page: yellow bar (reads on orange & green heroes), orange on the cream scrolled bar */
.nav__link.is-current::after { right: 0; background: var(--yellow); box-shadow: 0 1px 0 var(--chrome); }
.site-header.is-scrolled .nav__link.is-current::after { background: var(--orange); box-shadow: none; }
.mobile-menu a.is-current:not(.btn) { color: var(--orange); }
/* green-hero pages carry a yellow logo until the cream bar appears */
.nav__logo-onlight { display: none; }
.site-header.is-scrolled .nav__logo-onlight { display: block; }
.site-header.is-scrolled .nav__logo-ondark { display: none; }
.nav__cta-wrap { justify-self: end; display: flex; align-items: center; gap: 1rem; }

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
  background: none; border: 0; padding: .5rem; cursor: pointer;
}
.nav__burger span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: grid; grid-template-rows: 0fr;
  visibility: hidden;
  background: var(--cream);
  transition: grid-template-rows .3s var(--ease-out), visibility 0s .3s;
}
.mobile-menu.is-open {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows .3s var(--ease-out), visibility 0s;
}
.mobile-menu__inner { min-height: 0; overflow: hidden; }
.mobile-menu ul {
  list-style: none; display: grid; gap: 1.1rem;
  border-top: 3px solid var(--green);
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 2rem;
}
.mobile-menu a:not(.btn) {
  font-family: var(--font-label); font-weight: 600; font-size: 1.3rem;
  text-transform: uppercase; text-decoration: none; color: var(--green);
}
@media (min-width: 861px) { .mobile-menu { display: none; } }

/* body scroll lock while the mobile menu is open (JS toggles the class) */
body.menu-open { overflow: hidden; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  background: var(--orange);
  display: grid; place-items: center;
  overflow: clip;
  padding: calc(var(--nav-h) + 2rem) clamp(1rem, 4vw, 3rem) 9.5rem;
}
/* subtle warm glow behind the lockup so the field isn't a flat paint chip */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 62% 52% at 50% 44%, rgba(244, 126, 66, .85) 0%, rgba(244, 126, 66, 0) 70%);
}
.hero__pattern {
  position: absolute; inset: 0; opacity: .035; pointer-events: none;
  background: url("../assets/pattern/PATTERN.svg") 0 0 / 640px repeat;
  filter: saturate(0) brightness(2.5);
  animation: pattern-drift 60s linear infinite;
  /* fade the tile out under the header band */
  -webkit-mask-image: linear-gradient(180deg, transparent 140px, #000 280px);
  mask-image: linear-gradient(180deg, transparent 140px, #000 280px);
}
@keyframes pattern-drift { to { background-position: 640px 640px; } }

.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__inner {
  position: relative; z-index: 2; text-align: center;
  max-width: 1100px;
  display: grid; justify-items: center; gap: clamp(.8rem, 1.8svh, 1.4rem);
}
.hero__inner > * { min-width: 0; }
.hero__kicker { font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: var(--cream); transform: rotate(-3deg); }
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: min(clamp(3.6rem, 12vw, 10.5rem), 17.5svh);
  line-height: .92; text-transform: uppercase; letter-spacing: .01em;
}
.hero__line { display: block; overflow: hidden; }
.hero__word {
  display: inline-block; transform: translateY(110%);
  text-shadow: 0.045em 0.045em 0 var(--chrome);
  animation: word-up .9s var(--ease-out) forwards;
}
.hero__line:nth-child(2) .hero__word { animation-delay: .08s; }
.hero__line:nth-child(3) .hero__word { animation-delay: .16s; }
@keyframes word-up { to { transform: translateY(0); } }
.hero__word--cream { color: var(--cream); }
.hero__word--green { color: var(--green); }
.hero__word--yellow { color: var(--yellow); }

.hero__sub {
  max-width: 46ch; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.55;
  color: var(--ink); font-weight: 500;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* appetite moment: rotated circular photo sticker, lower-right */
.hero__sticker {
  position: absolute; z-index: 1;
  right: clamp(2rem, 6vw, 7rem); bottom: clamp(6.5rem, 12vh, 9.5rem);
  width: 200px; height: 200px;
  transform: rotate(-8deg);
  animation: sticker-float 6s ease-in-out infinite alternate;
}
.hero__sticker img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--chrome);
  box-shadow: 0 8px 0 var(--chrome);
}
.hero__sticker-caption {
  position: absolute; left: -1.6rem; bottom: .4rem;
  background: var(--yellow); color: var(--green);
  font-size: 1.15rem; line-height: 1;
  padding: .45rem .95rem .55rem;
  border: 3px solid var(--chrome); border-radius: 999px;
  box-shadow: 0 4px 0 var(--chrome);
  transform: rotate(4deg);
  white-space: nowrap;
}
@keyframes sticker-float {
  from { transform: rotate(-8deg) translateY(0); }
  to { transform: rotate(-8deg) translateY(-10px); }
}
/* mobile keeps the appetite moment: smaller chip, lower-LEFT (the 3D wok
   slot is dropped there, so the photo owns that corner) */
@media (max-width: 900px) {
  .hero__sticker {
    width: 136px; height: 136px;
    left: clamp(1rem, 5vw, 3rem); right: auto;
    bottom: clamp(4.5rem, 9vh, 7rem);
    transform: rotate(-7deg);
  }
  .hero__sticker-caption { left: -0.8rem; font-size: 1rem; }
}

.hero__scroll-hint {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%);
  display: grid; justify-items: center; gap: .55rem;
  color: var(--cream);
}
.hero__scroll-word {
  font-family: var(--font-label); font-weight: 600; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .32em; text-indent: .32em;
}
.hero__scroll-coin {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--chrome);
  box-shadow: 0 3px 0 var(--chrome);
  display: grid; place-items: center;
}
.hero__scroll-chev {
  width: 9px; height: 9px; margin-top: -4px;
  border-right: 3px solid var(--chrome); border-bottom: 3px solid var(--chrome);
  transform: rotate(45deg);
  animation: cue-bob 1.6s var(--ease-out) infinite;
}
@keyframes cue-bob {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 1; }
  60% { transform: rotate(45deg) translate(3px, 3px); opacity: .35; }
}
@media (max-width: 700px) { .hero__scroll-hint { display: none; } }

/* ---------- marquee ---------- */
.marquee {
  background: var(--green); color: var(--yellow);
  overflow: hidden; padding: 1.05rem 0;
  border-block: 3px solid var(--chrome);
  position: relative; z-index: 3;
}
/* 4 identical seqs → -50% lands exactly 2 seqs in: seamless loop */
.marquee__track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__seq {
  display: flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem;
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.7vw, 2.3rem);
  text-transform: uppercase; white-space: nowrap;
}
.marquee__seq em { font-style: normal; }
.marquee__seq em:nth-of-type(1) { color: var(--yellow); }
.marquee__seq em:nth-of-type(2) { color: var(--cream); }
.marquee__seq em:nth-of-type(3) { color: var(--mustard); }
.marquee__seq em:nth-of-type(4) { color: var(--cream); }
.marquee__ico { width: 34px; height: 34px; background: var(--yellow); flex: 0 0 auto; }
.marquee__ico--wok { -webkit-mask: url("../assets/icons/svg/wok.svg") center/contain no-repeat; mask: url("../assets/icons/svg/wok.svg") center/contain no-repeat; }
.marquee__ico--noodles { -webkit-mask: url("../assets/icons/svg/noodles.svg") center/contain no-repeat; mask: url("../assets/icons/svg/noodles.svg") center/contain no-repeat; }
.marquee__ico--rice { -webkit-mask: url("../assets/icons/svg/rice-bowl.svg") center/contain no-repeat; mask: url("../assets/icons/svg/rice-bowl.svg") center/contain no-repeat; }
.marquee__ico--dumpling { -webkit-mask: url("../assets/icons/svg/dumpling.svg") center/contain no-repeat; mask: url("../assets/icons/svg/dumpling.svg") center/contain no-repeat; }

/* ---------- section heads ---------- */
.section-head { text-align: center; display: grid; gap: .6rem; justify-items: center; padding: 0 1rem; }
.section-head__kicker { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--orange); transform: rotate(-2deg); }
.section-head__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.6rem); text-transform: uppercase;
  color: var(--green); line-height: 1;
}
.section-head__sub { color: rgba(12,11,8,.72); font-size: 1.05rem; max-width: 52ch; }
@media (max-width: 700px) {
  .section-head__title { font-size: 2.9rem; }
}

/* ---------- menu ---------- */
.menu { padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 4vw, 3rem); max-width: 1400px; margin: 0 auto; }
.menu__filters { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin: 2.2rem 0 2.8rem; }
@media (max-width: 700px) {
  .menu__filters {
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-padding-inline: .5rem 3rem; /* snapped chips stop short of the fade so a half chip peeks */
    padding: .25rem 2.75rem .25rem .5rem;
    /* right-edge fade on the scrolling container itself: wide 48px ramp */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 48px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 48px), transparent 100%);
    scrollbar-width: none;
  }
  .menu__filters::-webkit-scrollbar { display: none; }
  .menu__filters .chip { flex: 0 0 auto; white-space: nowrap; scroll-snap-align: start; min-height: 44px; }
}

.menu__grid {
  list-style: none;
  display: grid; gap: clamp(1.2rem, 2.5vw, 2rem);
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-flow: dense;
}
@media (min-width: 1100px) {
  .menu__grid { grid-template-columns: repeat(4, 1fr); }
}
.menu__grid > li { min-width: 0; }
.dish {
  background: var(--white);
  border: 3px solid var(--chrome); border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 0 var(--chrome);
  transition: transform .25s var(--ease-spring), box-shadow .25s var(--ease-spring), opacity .3s, scale .3s;
  display: flex; flex-direction: column;
}
.dish:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: 0 10px 0 var(--chrome); }
.dish.is-hidden { display: none; }

.dish__media {
  position: relative;
  aspect-ratio: 4 / 3; /* acts as the minimum — flex growth absorbs any extra row height */
  flex: 1 1 auto; min-height: 0;
  overflow: hidden;
  border-bottom: 3px solid var(--chrome);
}
.dish__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform .35s var(--ease-spring);
}
.obj-top { object-position: center top !important; }
.dish:hover .dish__media img { transform: scale(1.05); }
/* tighter crop for photos where the bowl reads small */
.dish__media img.zoom { transform: scale(1.15); }
.dish:hover .dish__media img.zoom { transform: scale(1.2); }

/* strict orange -> green -> yellow field rotation behind the photos,
   with a subtle multiply wash so seamless photo backgrounds take the field color */
.dish__media--orange { background: var(--orange); }
.dish__media--green { background: var(--green); }
.dish__media--yellow { background: var(--yellow); }
.dish__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  mix-blend-mode: multiply; opacity: .14; pointer-events: none;
}
.dish__media--orange::after { background: var(--orange); }
.dish__media--green::after { background: var(--green); }
.dish__media--yellow::after { background: var(--yellow); }

.dish__badge {
  position: absolute; top: .9rem; left: .9rem; z-index: 2;
  font-family: var(--font-label); font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  background: var(--yellow); color: var(--green);
  border: 2px solid var(--chrome); border-radius: 999px; padding: .3rem .8rem;
  box-shadow: 0 3px 0 var(--chrome);
}
.dish__flag {
  position: absolute; right: 1.1rem; bottom: .8rem; z-index: 2;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--cream);
  transform: rotate(-6deg);
  text-shadow: 2px 3px 0 var(--chrome);
}

.dish__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; min-width: 0; flex: 0 0 auto; }
.dish__body > * { min-width: 0; }
.dish__name { font-family: var(--font-label); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; color: var(--green); }
.dish__desc { font-size: .95rem; line-height: 1.5; color: rgba(12,11,8,.75); flex: 1; }
.dish__meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem .7rem; margin-top: .3rem; }
.dish__price { font-family: var(--font-display); font-size: 1.4rem; color: var(--orange-deep); }
/* metadata tag: flat overlay badge on the media, top-right — never reads as a button */
.dish__tag {
  position: absolute; top: .9rem; right: .9rem; z-index: 2;
  font-family: var(--font-label); font-size: .68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  background: rgba(253,246,227,.92); color: var(--chrome);
  border: 2px solid var(--chrome); border-radius: 999px; padding: .22rem .65rem;
  box-shadow: none;
}
.dish__order {
  font-family: var(--font-label); font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .07em;
  background: var(--yellow); color: var(--ink);
  border: 2px solid var(--chrome); border-radius: 999px; padding: .38rem 1rem;
  text-decoration: none; flex: 0 0 auto; margin-left: auto;
  box-shadow: 0 3px 0 var(--chrome);
  transition: transform .18s var(--ease-spring), box-shadow .18s var(--ease-spring);
}
.dish__order:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--chrome); }
.dish__order:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--chrome); }
.dish__order:focus-visible {
  outline: 3px solid var(--yellow); outline-offset: 3px;
  box-shadow: 0 3px 0 var(--chrome), 0 0 0 6px rgba(12,11,8,.55);
  border-radius: 999px;
}

/* featured card — General Chen's · wide closer — La Familia Tray */
@media (min-width: 680px) {
  .dish--featured { grid-column: span 2; }
  /* familia tray spans 3 so the last row fills the 4-col grid (flan + tray) */
  .dish--wide { grid-column: span 3; }
  .dish--featured .dish__media { aspect-ratio: 16 / 9; }
  .dish--wide .dish__media { aspect-ratio: 21 / 9; }
  .dish--featured .dish__name { font-size: 1.7rem; }
  .dish--featured .dish__desc { font-size: 1.05rem; }
  .dish--featured .dish__price { font-size: 1.9rem; }
  .dish--wide .dish__name { font-size: 1.45rem; }
}

/* menu closer: centered CTA row after the grid */
.menu__cta {
  display: flex; flex-wrap: wrap; gap: 1rem 1.2rem; justify-content: center;
  margin-top: clamp(2.4rem, 5vw, 3.4rem);
}
.menu__note { text-align: center; margin-top: 1.4rem; color: rgba(12,11,8,.65); }

/* mobile menu cards: horizontal mini-cards (featured + familia keep full-width media on top) */
@media (max-width: 520px) {
  .dish:not(.dish--featured):not(.dish--wide) { display: grid; grid-template-columns: 40% 1fr; }
  .dish:not(.dish--featured):not(.dish--wide) .dish__media {
    aspect-ratio: 4 / 5; height: auto; min-height: 100%;
    border-bottom: 0; border-right: 3px solid var(--chrome);
  }
  .dish:not(.dish--featured):not(.dish--wide) .dish__media img { object-position: center; }
  .dish__body { padding: .9rem 1rem 1rem; }
  .dish__badge { top: .6rem; left: .6rem; font-size: .65rem; padding: .22rem .6rem; }
  .dish__tag { top: .6rem; right: .6rem; font-size: .6rem; padding: .18rem .5rem; }
  .dish__name { font-size: 1.05rem; }
  .dish__desc { font-size: .85rem; }
  /* featured + familia closer stay full-width cards with bigger type and a legible flag */
  .dish--featured .dish__name, .dish--wide .dish__name { font-size: 1.45rem; }
  .dish--featured .dish__desc, .dish--wide .dish__desc { font-size: .95rem; }
  .dish--featured .dish__flag { font-size: 1.7rem; right: .9rem; bottom: .7rem; }
}

/* ---------- SEND NOODS campaign band ---------- */
.noods {
  position: relative;
  background: var(--green); color: var(--yellow);
  overflow: clip; text-align: center;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}
.noods::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 24px; z-index: 3;
  background: var(--zigzag-down-cream) repeat-x; background-size: 48px 24px;
  pointer-events: none;
}
/* falling noodle squiggles — big flat yellow shapes leading the eye to the CTA */
.noods__deco { position: absolute; inset: 0; pointer-events: none; }
.noods__squiggle {
  position: absolute;
  background: var(--yellow);
  -webkit-mask: url("../assets/icons/svg/noodles.svg") center / contain no-repeat;
  mask: url("../assets/icons/svg/noodles.svg") center / contain no-repeat;
}
.noods__squiggle:nth-child(1) { width: 210px; height: 150px; left: 4%; bottom: 30%; transform: rotate(-16deg); }
.noods__squiggle:nth-child(2) { width: 140px; height: 100px; left: 20%; bottom: 6%; transform: rotate(9deg) scale(-1, 1); }
.noods__squiggle:nth-child(3) { width: 220px; height: 160px; right: 5%; bottom: 34%; transform: rotate(12deg); }
.noods__squiggle:nth-child(4) { width: 160px; height: 115px; right: 20%; bottom: 5%; transform: rotate(-10deg) scale(-1, 1); }
.noods__squiggle:nth-child(5) { width: 120px; height: 90px; left: 47%; bottom: 12%; transform: rotate(22deg); }
@media (max-width: 700px) {
  .noods__squiggle:nth-child(3), .noods__squiggle:nth-child(5) { display: none; }
}
.noods__inner {
  position: relative; z-index: 2;
  width: max-content; max-width: 100%; margin-inline: auto;
  display: grid; justify-items: start;
}
.noods__stack { display: grid; }
.noods__row {
  font-family: var(--font-display); text-transform: uppercase;
  white-space: nowrap; line-height: .93; letter-spacing: .01em;
  font-size: clamp(3.4rem, 13vw, 12rem);
  text-shadow: 0.03em 0.03em 0 var(--chrome);
}
.noods__row--orange { color: var(--orange); }
.noods__row--yellow { color: var(--yellow); }
.noods__row:nth-child(1) { transform: translateX(-3.5%); }
.noods__row:nth-child(2) { transform: translateX(2.5%); }
.noods__row:nth-child(3) { transform: translateX(-1.5%); }
/* CTA left edge aligns with the headline stack's left indent */
.noods__cta { margin-top: clamp(1.8rem, 4vw, 3rem); padding: 1.2rem 2.6rem; font-size: 1.15rem; }

/* full-height noodle strands hugging the band's edges (template echo) */
.noods__strand {
  position: absolute; top: 50%;
  width: clamp(220px, 38vw, 540px); height: clamp(70px, 9vw, 120px);
  background: var(--yellow);
  -webkit-mask: url("../assets/icons/svg/noodles.svg") center / contain no-repeat;
  mask: url("../assets/icons/svg/noodles.svg") center / contain no-repeat;
}
.noods__strand--left { left: clamp(1.5rem, 4vw, 4.5rem); transform: translate(-50%, -50%) rotate(90deg); }
.noods__strand--right { right: clamp(1.5rem, 4vw, 4.5rem); transform: translate(50%, -50%) rotate(90deg) scale(-1, 1); }

/* cream ric-rac divider: breaks the green-on-green run between noods and story */
.zig-band {
  height: 56px;
  background:
    var(--zigzag-up-cream) top / 48px 24px repeat-x,
    var(--zigzag-down-cream) bottom / 48px 24px repeat-x,
    linear-gradient(var(--cream), var(--cream)) center / 100% 10px no-repeat;
  background-color: var(--green);
}

/* ---------- story ---------- */
.story {
  position: relative; background: var(--green); color: var(--cream);
  overflow: clip;
  padding: clamp(4rem, 9vw, 7.5rem) clamp(1rem, 4vw, 3rem) calc(clamp(4rem, 9vw, 7.5rem) + 24px);
}
.story::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 24px; z-index: 2;
  background: var(--zigzag-up-cream) repeat-x; background-size: 48px 24px;
  pointer-events: none;
}
.story__pattern {
  position: absolute; inset: 0; opacity: .05; pointer-events: none;
  background: url("../assets/pattern/PATTERN.svg") 0 0 / 640px repeat;
}
.story__inner {
  position: relative; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(260px, 420px) 1fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
/* photo card with the stamp overlapping its bottom-left corner like a seal */
.story__visual { position: relative; }
.story__photo {
  border: 4px solid var(--chrome); border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 0 var(--chrome);
  transform: rotate(3deg);
}
.story__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story__stamp {
  /* seal sits mostly on the flat green field — only ~25% overlaps the photo corner */
  position: absolute; left: -24%; bottom: -20%; width: 55%; z-index: 2;
}
.story__stamp img { position: relative; width: 100%; animation: stamp-spin 40s linear infinite; }
@keyframes stamp-spin { to { transform: rotate(360deg); } }
.story__copy { position: relative; isolation: isolate; min-width: 0; }
.story__copy::before {
  content: ""; position: absolute; inset: -3rem -4rem; z-index: -1;
  background: radial-gradient(ellipse at center, var(--green) 60%, rgba(8,73,37,0) 85%);
  pointer-events: none;
}
.story__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4rem); text-transform: uppercase;
  color: var(--yellow); line-height: 1.04; margin-bottom: 1.2rem;
}
.story__copy p { line-height: 1.65; margin-bottom: 1.1rem; max-width: 58ch; color: rgba(253,246,227,.92); }
.story__copy .btn { margin-top: .8rem; }
@media (max-width: 820px) {
  .story__inner { grid-template-columns: 1fr; }
  .story__visual { max-width: 340px; margin: 0 auto; }
  /* narrow screens: pull the seal back in so it doesn't clip off-canvas */
  .story__stamp { left: -12%; bottom: -14%; }
}

/* ---------- values ---------- */
.values { background: var(--cream); padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 3rem); }
.values__grid {
  list-style: none; max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.value {
  position: relative; overflow: hidden;
  padding: clamp(1.8rem, 3.5vw, 3rem); padding-top: 158px;
  text-align: center;
  display: grid; gap: .8rem; justify-items: center; align-content: start;
  border: 3px solid var(--chrome); border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--chrome);
  min-width: 0;
}
.value--orange { background: var(--orange); }
.value--orange h3 { color: var(--ink); }
.value--orange p { color: rgba(12,11,8,.88); }
.value--yellow { background: var(--yellow); }
.value--yellow h3 { color: var(--green); }
.value--yellow p { color: rgba(12,11,8,.82); }
.value--green { background: var(--green); }
.value--green h3 { color: var(--yellow); }
.value--green p { color: rgba(253,246,227,.88); }
/* oversized tinted SVG icons, cropped off a card edge (template behavior) */
.value__icon {
  position: absolute; width: 210px; height: 210px; pointer-events: none;
}
.value__icon--wok {
  background: var(--yellow); top: -56px; left: -50px; transform: rotate(-12deg);
  -webkit-mask: url("../assets/icons/svg/wok.svg") center / contain no-repeat;
  mask: url("../assets/icons/svg/wok.svg") center / contain no-repeat;
}
.value__icon--onion {
  background: var(--green); top: -56px; right: -50px; transform: rotate(10deg);
  -webkit-mask: url("../assets/icons/svg/green-onion.svg") center / contain no-repeat;
  mask: url("../assets/icons/svg/green-onion.svg") center / contain no-repeat;
}
.value__icon--coin {
  background: var(--yellow); top: -56px; left: -50px; transform: rotate(-8deg);
  -webkit-mask: url("../assets/icons/svg/coin-charm.svg") center / contain no-repeat;
  mask: url("../assets/icons/svg/coin-charm.svg") center / contain no-repeat;
}
.value h3 { font-family: var(--font-label); text-transform: uppercase; font-size: 1.2rem; }
.value p { font-size: .95rem; line-height: 1.55; max-width: 30ch; }
@media (max-width: 820px) {
  .values__grid { grid-template-columns: 1fr; }
}

/* ---------- visit ---------- */
.visit { padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 3rem) clamp(4rem, 9vw, 7rem); max-width: 1200px; margin: 0 auto; }
.visit__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 4rem; }
.visit__cards > * { min-width: 0; }
.visit-card {
  position: relative;
  background: var(--orange); color: var(--cream);
  border: 3px solid var(--chrome); border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--chrome);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex; flex-direction: column; gap: 1rem;
}
.visit-card__mascot {
  position: absolute; top: -46px; right: -26px; z-index: 2;
  width: 120px; height: auto;
  transform: rotate(-10deg);
  pointer-events: none;
}
.visit-card--soon { background: var(--yellow); color: var(--ink); }
.visit-card--soon p { color: rgba(12,11,8,.8); line-height: 1.6; }
.visit-card__title { font-family: var(--font-display); font-size: 2rem; text-transform: uppercase; }
.visit-card--soon .visit-card__title { color: var(--green); }
.visit-card__addr { line-height: 1.55; font-weight: 500; }
.visit-card__hours { display: grid; gap: .4rem; }
.visit-card__hours div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 1px dashed rgba(253,246,227,.4); padding-bottom: .4rem; }
.visit-card__hours dt { font-family: var(--font-label); text-transform: uppercase; font-weight: 600; font-size: .9rem; }
.visit-card__hours dd { font-family: var(--font-label); font-weight: 500; font-variant-numeric: tabular-nums; }
.visit-card__list { list-style: none; display: grid; gap: .4rem; }
.visit-card__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 1px dashed rgba(12,11,8,.35); padding-bottom: .4rem; }
.visit-card__list li span:first-child { font-family: var(--font-label); text-transform: uppercase; font-weight: 600; font-size: .9rem; }
.visit-card__list li span:last-child { font-family: var(--font-label); font-weight: 500; font-variant-numeric: tabular-nums; }
/* shared bottom baseline: actions pin to the card's bottom edge */
.visit-card__actions { display: flex; gap: 1rem 1.4rem; flex-wrap: wrap; align-items: center; margin-top: auto; padding-top: .6rem; }

/* text-link secondary — underlined Oswald link, not a pill */
.link-arrow {
  font-family: var(--font-label); font-weight: 600; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .05em;
  color: inherit;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.link-arrow:hover { text-decoration-thickness: 3px; }

/* ---------- footer ---------- */
.footer {
  position: relative; background: var(--chrome); color: var(--cream);
  overflow: clip; text-align: center;
  padding: calc(clamp(3.5rem, 7vw, 5.5rem) + 24px) 1.5rem 2.5rem;
}
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 24px; z-index: 2;
  background: var(--zigzag-down-cream) repeat-x; background-size: 48px 24px;
  pointer-events: none;
}
.footer__pattern {
  position: absolute; inset: 0; opacity: .05; pointer-events: none;
  background: url("../assets/pattern/PATTERN.svg") 0 0 / 380px repeat;
  filter: saturate(0) brightness(3);
}
.footer__inner { position: relative; z-index: 1; display: grid; gap: 1.4rem; justify-items: center; }
/* soft chrome scrim behind the content column so the trilingual line owns its moment */
.footer__inner::before {
  content: ""; position: absolute; inset: -3.5rem -3rem; z-index: -1;
  background: radial-gradient(ellipse 62% 58% at 50% 42%, var(--chrome) 42%, rgba(6,51,26,0) 78%);
  pointer-events: none;
}
.footer__inner > * { min-width: 0; }
.footer__logo { width: min(420px, 70vw); height: auto; }
.footer__tag { font-size: 1.7rem; margin-top: -0.6rem; color: var(--yellow); }
.footer__cta {
  display: flex; flex-direction: column; gap: 1.1rem;
  align-items: center; justify-content: center; margin-top: .4rem;
}
.footer__info {
  font-style: normal; font-family: var(--font-body);
  font-size: .95rem; line-height: 1.65; text-align: center;
  color: rgba(253,246,227,.8);
}
.footer__info a { color: rgba(253,246,227,.8); }
.footer__info a:hover { color: var(--yellow); }
.footer__nav { display: flex; gap: 1.8rem; flex-wrap: wrap; justify-content: center; }
.footer__nav a, .footer__social a {
  font-family: var(--font-label); text-transform: uppercase; font-weight: 600;
  font-size: .95rem; letter-spacing: .06em; text-decoration: none; color: var(--cream);
}
/* socials sit one tier below primary nav */
.footer__social a { font-size: .85rem; color: rgba(253,246,227,.7); }
.footer__nav a:hover, .footer__social a:hover { color: var(--yellow); }
.footer__social { display: flex; gap: 1.8rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.footer__legal { font-size: .85rem; color: rgba(253,246,227,.55); margin-top: 1rem; }

/* ---------- sticky mobile order CTA ---------- */
.mobile-cta { display: none; }
@media (max-width: 700px) {
  .mobile-cta {
    position: fixed; left: .9rem; right: .9rem;
    bottom: calc(.9rem + env(safe-area-inset-bottom, 0px));
    z-index: 150;
    display: flex; align-items: center; justify-content: center;
    min-height: 54px; padding: .8rem 1.4rem;
    font-family: var(--font-label); font-weight: 600; font-size: 1rem;
    text-transform: uppercase; letter-spacing: .05em; text-decoration: none;
    background: var(--yellow); color: var(--ink);
    border: 3px solid var(--chrome); border-radius: 999px;
    box-shadow: 0 4px 0 var(--chrome);
    transform: translateY(calc(100% + 2.5rem));
    transition: transform .35s var(--ease-spring);
  }
  .mobile-cta.is-shown { transform: translateY(0); }
  .mobile-cta:focus-visible {
    outline: 3px solid var(--yellow); outline-offset: 3px;
    box-shadow: var(--shadow-pop), 0 0 0 6px rgba(12,11,8,.55);
    border-radius: 999px;
  }
  body.cta-visible { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- reveal on scroll (JS-gated so no-JS users see everything) ---------- */
html.js .reveal, html.js .dish, html.js .value, html.js .visit-card,
html.js .section-head, html.js .story__copy > * {
  opacity: 0; translate: 0 26px;
  transition: opacity .7s var(--ease-out), translate .7s var(--ease-out);
}
html.js .in-view { opacity: 1; translate: 0 0; }
/* Instant-reveal mode (deep links, hidden documents): no choreography */
html.revealed-all { scroll-behavior: auto; }
html.revealed-all :is(.reveal, .dish, .value, .visit-card, .section-head, .story__copy > *) {
  transition: none !important;
}
html.revealed-all .hero__word { animation: none !important; transform: none !important; }
/* Capture mode (screenshot tooling): viewport-stable hero, frozen motion */
html.capture .hero { min-height: 0; height: 900px; }
@media (max-width: 500px) { html.capture .hero { height: 844px; } }
html.capture .grain,
html.capture .hero__scroll-hint span,
html.capture .hero__sticker,
html.capture .marquee__track,
html.capture .story__stamp img,
html.capture .hero__pattern { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .dish, .value, .visit-card, .section-head, .story__copy > * { opacity: 1; translate: none; }
  .hero__word { transform: none; animation: none; }
  .hero__scroll-chev { animation: none; }
  .hero__sticker { animation: none; }
  .marquee__track { animation: none; }
  .story__stamp img { animation: none; }
  .grain { animation: none; }
}
