/* ============================================================
   Boka — Korean Fried Chicken
   Design system: phone-width centered column on any viewport.
   Reference pattern from thestampa.com (full-bleed sections,
   narrow inner container), adapted for a restaurant.
   ============================================================ */

/* -------------------- TOKENS -------------------- */
:root {
  /* Brown palette — lightened. The whole site sits on this single brown.
     Section separation is by hairline rules, not by color blocks. */
  --brown-deep: #3D2817;     /* primary site background (was #2B1810) */
  --brown-mid:  #4A3022;     /* nav background, raised cards on brown */
  --brown-soft: #5A3A28;     /* hover states */
  --hairline:   rgba(255, 255, 255, 0.09);  /* divider between sections */

  /* Cream palette (alternating section bg) */
  --cream:   #FAF6EE;
  --cream-2: #F2EAD9;        /* slightly warmer for menu */
  --cream-3: #EFE4CE;        /* contrast inside cream sections */

  /* Brand-derived accents (from the chicken SVG) */
  --red:    #E9423E;         /* chicken comb */
  --red-d:  #C73329;         /* hover */
  --yellow: #F6DC02;         /* chicken beak */

  /* Text */
  --ink:        #1F1612;     /* on cream */
  --ink-muted:  #6E5A4A;
  --paper:      #FAF6EE;     /* on brown */
  --paper-muted:#C9B8A5;

  /* Layout */
  --col-max: 440px;          /* the "phone-width" knob — body content sections */
  --wide-max: 1024px;        /* nav + footer (matches thestampa.com max-w-5xl) */
  --col-pad: 24px;
  --section-pad: 88px;
  --section-pad-sm: 64px;

  /* Type */
  --font-display: 'Archivo Black', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-script: 'Caveat', 'Bradley Hand', cursive;

  /* Motion */
  --t-fast: 160ms;
  --t-mid: 300ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* -------------------- RESET -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--paper);
  background: var(--brown-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, a { color: inherit; }
a { text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
table { border-collapse: collapse; }
address { font-style: normal; }

/* -------------------- LAYOUT PRIMITIVES -------------------- */
.container {
  width: 100%;
  max-width: var(--col-max);
  margin: 0 auto;
  padding: 0 var(--col-pad);
  text-align: center;     /* Stampa-style — all body content centered */
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
  scroll-margin-top: 72px;
  background: var(--brown-deep);
  color: var(--paper);
}
/* Hairline divider between consecutive sections — single brown bg, lines
   provide the structural separation instead of color blocks. */
.section + .section,
main + .visit,
.visit + .site-footer {
  border-top: 1px solid var(--hairline);
}
/* Legacy color-variant classes are now no-ops (kept so HTML doesn't change) */
.section--hero, .section--brown,
.section--cream, .section--menu {
  background: var(--brown-deep);
  color: var(--paper);
}

/* -------------------- TYPOGRAPHY -------------------- */
.display {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 11vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  text-transform: uppercase;
}
.display span {
  display: block;
}
.lede {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 auto 28px;
  max-width: 36ch;
  opacity: 0.92;
  color: var(--paper-muted);
}

/* -------------------- BUTTONS --------------------
   Rounded-rectangle pill (~14px radius) with soft, layered drop shadow.
   Inspired by thestampa.com's "Download" button: softer, more substantial
   feel than a sharp pill. Three variants reuse the shape; only colors
   and shadow tone change. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 14px;
  border: 1px solid rgba(31, 22, 18, 0.06);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  background: #fff;
  color: var(--ink);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 8px 24px -10px rgba(0, 0, 0, 0.20);
  transition: transform var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
  margin: 0 8px 12px 0;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.08),
    0 14px 32px -10px rgba(0, 0, 0, 0.24);
}
.btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.10);
}

/* Red — primary CTA. Vivid, slightly elevated red shadow tone */
.btn--accent {
  background: var(--red);
  color: #fff;
  border-color: transparent;
  box-shadow:
    0 1px 2px rgba(199, 51, 41, 0.34),
    0 10px 26px -8px rgba(199, 51, 41, 0.46);
}
.btn--accent:hover {
  background: var(--red-d);
  box-shadow:
    0 2px 4px rgba(199, 51, 41, 0.38),
    0 16px 34px -10px rgba(199, 51, 41, 0.50);
}

/* Dark — for cream sections where white-on-cream wouldn't pop */
.btn--ink {
  background: var(--ink);
  color: var(--cream);
  border-color: transparent;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.22),
    0 10px 26px -8px rgba(0, 0, 0, 0.40);
}
.btn--ink:hover { background: #000; }

/* Ghost — transparent w/ border, adapts to ink on cream / paper on dark */
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid currentColor;
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-1px);
}
.section--hero .btn--ghost,
.section--brown .btn--ghost,
.visit .btn--ghost {
  color: var(--paper);
}
.section--hero .btn--ghost:hover,
.section--brown .btn--ghost:hover,
.visit .btn--ghost:hover {
  background: var(--paper);
  color: var(--ink);
}

/* -------------------- NAV -------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(43, 24, 16, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav__inner {
  width: 100%;
  max-width: var(--wide-max);
  margin: 0 auto;
  padding: 12px var(--col-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__logo img {
  height: 32px;
  width: auto;
  display: block;
}
/* Order button — now a dropdown trigger. More breathing room L/R, caret on the right. */
.nav__order-wrap { position: relative; }
.nav__order {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: #fff;
  padding: 8px 22px 8px 12px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow:
    0 1px 2px rgba(199, 51, 41, 0.32),
    0 6px 16px -6px rgba(199, 51, 41, 0.48);
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.nav__order:hover {
  transform: translateY(-1px);
  background: var(--red-d);
  box-shadow:
    0 2px 4px rgba(199, 51, 41, 0.36),
    0 10px 22px -8px rgba(199, 51, 41, 0.55);
}
.nav__order:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(199, 51, 41, 0.40); }
.nav__order[aria-expanded="true"] { background: var(--red-d); }
.nav__chicken {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 999px;
  flex-shrink: 0;
}
.nav__chicken svg { width: 24px; height: auto; }
.nav__caret {
  width: 11px;
  height: 11px;
  display: block;
  transition: transform var(--t-mid) var(--ease);
  margin-left: 2px;
}
.nav__order[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }

/* Dropdown menu — appears below the Order button */
.nav__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--brown-mid);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  z-index: 100;
  animation: nav-menu-in 180ms cubic-bezier(.2, .7, .2, 1);
}
.nav__menu[hidden] { display: none; }
@keyframes nav-menu-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav__menu li { margin: 0; }
.nav__menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--paper);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav__menu a:hover { background: var(--brown-soft); color: var(--yellow); }
.nav__menu a span { font-family: var(--font-display); color: var(--yellow); }
/* push body so content isn't under the fixed nav */
main > .section:first-of-type { padding-top: calc(var(--section-pad) + 60px); }

/* -------------------- HERO -------------------- */
.section--hero .display {
  color: var(--paper);
}
.section--hero .display span:nth-child(2) {
  color: var(--yellow);
}
/* iPhone frame around the hero video — pure CSS shell, no PNG.
   Adapted from thestampa.com pattern (rounded shell + dark border + drop shadow). */
.hero__iphone {
  position: relative;
  margin: 36px auto 0;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 9 / 19.5;        /* iPhone 14 Pro-ish */
  border-radius: 42px;
  border: 4px solid #0e0e0e;     /* slimmer bezel — less old-iPhone */
  background: #0e0e0e;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55),
              0 10px 20px rgba(0, 0, 0, 0.4),
              inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.hero__iphone-screen {
  position: absolute;
  inset: 0;
  background: #000;
  border-radius: 38px;
  overflow: hidden;
}
/* Ambient backdrop video — same source, blurred + scaled + brightened.
   Acts as a soft "reflection" of the foreground video so the screen
   never looks like a flat iPhone bezel even when the video letterboxes. */
.hero__iphone-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(36px) brightness(1.15) saturate(1.5);
  transform: scale(1.4);
  pointer-events: none;
  z-index: 0;
}
/* Foreground video — full content visible, centered */
.hero__iphone-fg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  z-index: 1;
}
/* Dynamic island — black pill at the top center */
.hero__iphone-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  max-width: 96px;
  min-width: 72px;
  height: 22px;
  background: #000;
  border-radius: 999px;
  z-index: 5;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
/* Mute toggle — sits INSIDE the screen, top-right corner like a video player overlay */
.hero__mute {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}
.hero__mute:hover { background: rgba(0, 0, 0, 0.78); transform: scale(1.06); }
.hero__mute:active { transform: scale(0.94); }
.hero__mute-icon { width: 16px; height: 16px; display: block; }
/* Show muted icon by default; swap when video is unmuted */
.hero__mute .hero__mute-icon--on  { display: none; }
.hero__mute[aria-pressed="true"] .hero__mute-icon--off { display: none; }
.hero__mute[aria-pressed="true"] .hero__mute-icon--on  { display: block; }

/* -------------------- AYCE — chicken + speech bubble + big $34 -------------------- */
/* Modeled on the menu PDF (page 4): white card, chicken with a flavor
   speech bubble pointing down at his beak, then big price stack. */
/* AYCE = vertical Admit One ticket with a speech bubble hovering above.
   Phone number runs vertically up each side as the "serial number". */
.ayce-coupon {
  position: relative;
  max-width: 360px;
  margin: 18px auto 28px;
}
/* SPEECH BUBBLE — hovers over the ticket, "Pick 1 or 2 flavors" centered */
.ayce-bubble {
  position: relative;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: 18px 22px 16px;
  margin: 0 4px -4px;        /* -4px so tail visually meets the ticket below */
  text-align: center;
  z-index: 2;
  box-shadow: 0 4px 0 var(--ink);
}
.ayce-bubble::before,
.ayce-bubble::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 0;
  height: 0;
}
.ayce-bubble::before {
  bottom: -22px;
  transform: translateX(-50%);
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 22px solid var(--ink);
}
.ayce-bubble::after {
  bottom: -16px;
  transform: translateX(-50%);
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 16px solid var(--cream);
}
.ayce-bubble__label {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: lowercase;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--ink);
  text-align: center;
}
.ayce-bubble__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.4;
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0;
}
.ayce-bubble__list li { white-space: nowrap; }
.ayce-bubble__list li.hot {
  color: var(--red-d);
  font-weight: 700;
}
.ayce-bubble__list li.hot::before {
  content: '🌶 ';
  margin-right: 1px;
}

/* ADMIT ONE TICKET — vertical, red, scalloped top/bottom edges, phone serial. */
.ayce-ticket {
  position: relative;
  background: var(--red);
  color: var(--ink);
  margin-top: 30px;          /* gap absorbs the bubble's tail */
  padding: 36px 56px 32px;   /* extra L/R padding for the vertical phone serials */
  text-align: center;
  outline: 2px solid var(--ink);
  outline-offset: -10px;
}
/* Scalloped TOP edge — row of brown semicircles "punching" into the red */
.ayce-ticket::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: -10px;
  height: 18px;
  background-image: radial-gradient(circle 9px at 9px 100%, var(--brown-deep) 99%, transparent 100%);
  background-size: 18px 18px;
  background-repeat: repeat-x;
  z-index: 1;
}
/* Scalloped BOTTOM edge */
.ayce-ticket::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -10px;
  height: 18px;
  background-image: radial-gradient(circle 9px at 9px 0%, var(--brown-deep) 99%, transparent 100%);
  background-size: 18px 18px;
  background-repeat: repeat-x;
  z-index: 1;
}

/* Phone number running vertically up each side — like Admit One's serial */
.ayce-ticket__serial {
  position: absolute;
  top: 18px;
  bottom: 18px;
  width: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.36em;
  color: rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  writing-mode: vertical-rl;
  text-transform: uppercase;
  z-index: 2;
}
.ayce-ticket__serial--left  { left: 6px;  transform: rotate(180deg); }
.ayce-ticket__serial--right { right: 6px; }

.ayce-ticket__inner { position: relative; z-index: 2; }

/* Chicken inside the ticket — keeps talking-mouth + eye-tracking */
.ayce-ticket__chicken {
  width: 96px;
  margin: 0 auto 10px;
}
.ayce-ticket__chicken svg {
  width: 100%;
  height: auto;
  display: block;
  animation: chicken-bob 3.2s ease-in-out infinite;
  transform-origin: center bottom;
}
@keyframes chicken-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

/* Talking mouth animation — closed alternates with open every ~350ms */
#ayce-chicken #ac-mouth-top,
#ayce-chicken #ac-mouth-bottom { opacity: 0; }
#ayce-chicken #ac-mouth-closed { opacity: 1; }
#ayce-chicken #ac-mouth-closed { animation: ac-mouth-close 700ms steps(1, end) infinite; }
#ayce-chicken #ac-mouth-top,
#ayce-chicken #ac-mouth-bottom { animation: ac-mouth-open 700ms steps(1, end) infinite; }
@keyframes ac-mouth-close { 0%,49.99%{opacity:1} 50%,100%{opacity:0} }
@keyframes ac-mouth-open  { 0%,49.99%{opacity:0} 50%,100%{opacity:1} }
@media (prefers-reduced-motion: reduce) {
  .ayce-ticket__chicken svg { animation: none; }
  #ayce-chicken #ac-mouth-top,
  #ayce-chicken #ac-mouth-bottom { animation: none; opacity: 0; }
  #ayce-chicken #ac-mouth-closed { animation: none; opacity: 1; }
}
#ayce-chicken #ac-eye-inside { will-change: transform; transform-box: fill-box; transform-origin: center; }

/* The Admit One stamp — big bold framed letters */
.ayce-ticket__stamp {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.4vw, 1.7rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1;
}
.ayce-ticket__name {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  text-transform: lowercase;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.15;
}
.ayce-ticket__price {
  font-family: var(--font-display);
  font-size: clamp(4.6rem, 13vw, 6.4rem);
  line-height: 0.9;
  margin: 8px 0;
  color: var(--ink);
  letter-spacing: -0.04em;
}
.ayce-ticket__sub {
  font-size: 0.78rem;
  color: rgba(0, 0, 0, 0.7);
  margin: 0;
  letter-spacing: 0.04em;
}

/* ORDER GRID — 4 separate delivery-app buttons in the final CTA */
.order-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 320px;
}
@media (min-width: 540px) {
  .order-grid { grid-template-columns: 1fr 1fr; max-width: 520px; }
}
.order-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  background: var(--red);
  color: #fff;
  border-radius: 14px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  box-shadow:
    0 1px 2px rgba(199, 51, 41, 0.32),
    0 8px 18px -8px rgba(199, 51, 41, 0.45);
  transition: transform var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}
.order-btn:hover {
  transform: translateY(-2px);
  background: var(--red-d);
  box-shadow:
    0 2px 4px rgba(199, 51, 41, 0.38),
    0 14px 28px -10px rgba(199, 51, 41, 0.55);
}
.order-btn:active { transform: translateY(0); }
.order-btn__arrow {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--yellow);
  line-height: 1;
}

/* -------------------- MENU (on brown bg) -------------------- */
.menu { margin-top: 12px; text-align: left; }  /* re-anchor menu rows to left */
.menu-cat {
  border-top: 1px solid var(--hairline);
}
.menu-cat:last-child { border-bottom: 1px solid var(--hairline); }

.menu-cat__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: 0;
  padding: 18px 4px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-transform: lowercase;
  color: var(--paper);
  cursor: pointer;
  text-align: left;
}
.menu-cat__head .chev {
  transition: transform var(--t-mid) var(--ease);
  font-size: 1.1rem;
  color: var(--paper-muted);
}
.menu-cat[data-open="true"] .menu-cat__head .chev { transform: rotate(45deg); color: var(--yellow); }

.menu-cat__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-mid) var(--ease);
}
.menu-cat[data-open="true"] .menu-cat__body { grid-template-rows: 1fr; }
.menu-cat__body > div { overflow: hidden; }

.menu-cat__note {
  font-size: 0.85rem;
  color: var(--paper-muted);
  padding: 0 4px 12px;
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 12px 4px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  align-items: baseline;
}
.menu-item:first-child { border-top: 0; }
.menu-item__name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--paper);
}
.menu-item__name.hot::after {
  content: ' 🌶';
}
.menu-item__desc {
  font-size: 0.85rem;
  color: var(--paper-muted);
  margin-top: 2px;
  line-height: 1.4;
}
.menu-item__price {
  font-family: var(--font-display);
  font-size: 1rem;
  white-space: nowrap;
  color: var(--yellow);
}

/* Fried chicken flavors panel inside menu */
.flavor-panel {
  background: var(--brown-mid);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 12px 0;
  font-size: 0.9rem;
  color: var(--paper);
}
.flavor-panel strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 6px;
  text-transform: lowercase;
  color: var(--paper);
}
.flavor-panel__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.flavor-panel__list span.hot { color: var(--red); font-weight: 700; }

.menu__footnote {
  margin-top: 24px;
  font-size: 0.75rem;
  color: var(--paper-muted);
  text-align: center;
  letter-spacing: 0.04em;
}

/* -------------------- POLAROID CAROUSEL -------------------- */
.polaroid-section { padding-bottom: var(--section-pad-sm); }
/* Carousel breaks out of the iPhone column to the full viewport width.
   JS auto-pans the track slowly leftward; touch/wheel pauses for ~5s.
   Edge fade is masked so polaroids gracefully enter/exit the viewport. */
.polaroids {
  display: flex;
  gap: 16px;
  padding: 24px var(--col-pad) 32px;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: none;        /* JS pans freely; snap would fight it */
  scroll-behavior: auto;         /* not 'smooth' — would compete with RAF */
  /* gradient mask: polaroids fade in at the edges of the viewport */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.polaroids::-webkit-scrollbar { display: none; }

.polaroid {
  flex: 0 0 220px;
  margin: 14px 0;
  background: #fff;
  padding: 14px 14px 0;
  border-radius: 4px;
  box-shadow: 0 14px 24px -16px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(0, 0, 0, 0.04);
  transform: rotate(var(--rot, 0deg));
  transition: transform var(--t-mid) var(--ease);
}
.polaroid:hover { transform: rotate(0deg) translateY(-4px); }
.polaroid__photo {
  aspect-ratio: 1 / 1;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--cream-3), var(--brown-soft));
  background-size: cover;
  background-position: center;
}
/* GPT-generated food photos for the inner polaroid frames */
.polaroid__photo--ayce { background-image: url('assets/polaroids/korean-fried-chicken-beer-ayce.jpg'); }
.polaroid__photo--kimbap { background-image: url('assets/polaroids/kimbap.jpg'); }
.polaroid__photo--rice-cakes { background-image: url('assets/polaroids/spicy-rice-cakes.jpg'); }
.polaroid__photo--bibimbap { background-image: url('assets/polaroids/bibimbap.jpg'); }
.polaroid__photo--steak-eggs { background-image: url('assets/polaroids/boka-steak-and-eggs.jpg'); }
.polaroid__photo--kimchi-jjigae { background-image: url('assets/polaroids/kimchi-jjigae.jpg'); }
.polaroid__photo--drinks { background-image: url('assets/polaroids/cocktail-soju-beer.jpg'); }

.polaroid figcaption {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
  text-align: center;
  padding: 14px 8px 18px;
  line-height: 1;
}
/* Swipe hint — interactive arrow buttons + front-facing chicken on white */
.polaroid-controls { padding-top: 8px; }
.polaroid__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0;
  user-select: none;
}
.hint-arrow {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--paper-muted);
  cursor: pointer;
  transition: color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}
.hint-arrow:hover {
  color: var(--yellow);
  background: rgba(255, 255, 255, 0.06);
  transform: scale(1.08);
}
.hint-arrow:active { transform: scale(0.96); }
.hint-arrow svg { width: 22px; height: 22px; display: block; }

.hint-chicken {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35),
              0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: transform var(--t-mid) var(--ease);
}
.hint-chicken:hover { transform: rotate(-6deg) scale(1.04); }
.hint-chicken img,
.hint-chicken svg { width: 38px; height: auto; display: block; overflow: visible; }
#hint-chicken #h-eye-left,
#hint-chicken #h-eye-right { will-change: transform; }

.hint-label {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  color: var(--paper-muted);
  text-transform: uppercase;
  margin: 14px 0 0;
}

/* -------------------- DELIVERY LIST -------------------- */
.delivery-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.delivery-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--brown-mid);
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.delivery-list a:hover { background: var(--brown-soft); transform: translateY(-1px); }
.delivery-arrow {
  font-family: var(--font-display);
  color: var(--yellow);
}

/* -------------------- CATERING FORM -------------------- */
/* Posts to /api/catering (Pages Function), which sends via MailChannels
   and redirects back to /?sent=catering#catering for the thanks banner. */
.catering-thanks {
  background: #1f4d2a;
  color: #f5fff5;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.95rem;
  margin: 0 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.catering-thanks strong { font-weight: 700; }

/* Honeypot — invisible to humans, irresistible to bots */
.catering-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.catering-form-wrap {
  position: relative;
  background: #fff;
  border: 1px solid rgba(31, 22, 18, 0.12);
  border-radius: 18px;
  padding: clamp(20px, 4vw, 28px);
  margin: 8px 0 16px;
}
.catering-form__heading { margin: 0 0 18px; }
.catering-form__heading h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.7rem);
  text-transform: lowercase;
  margin: 0 0 6px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.catering-form__heading p {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: 0;
}

.catering-form { display: grid; gap: 14px; }
.catering-form[hidden] { display: none; }
.catering-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 540px) {
  .catering-form__row { grid-template-columns: 1fr 1fr; }
}

.catering-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
}
.catering-form input,
.catering-form select,
.catering-form textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(31, 22, 18, 0.18);
  border-radius: 10px;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.catering-form select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%),
    linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) center, calc(100% - 12px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 32px;
}
.catering-form textarea {
  min-height: 110px;
  resize: vertical;
  font-family: var(--font-body);
}
.catering-form input:focus,
.catering-form select:focus,
.catering-form textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(233, 66, 62, 0.15);
}
.catering-form input::placeholder,
.catering-form textarea::placeholder {
  color: rgba(31, 22, 18, 0.38);
  font-style: italic;
}
.catering-form__submit {
  margin-top: 4px;
}
.catering-form__submit .btn {
  width: 100%;
  margin: 0;
}
.catering-form__hint {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin: 8px 0 0;
  text-align: center;
}
.catering-form__hint a {
  color: var(--ink);
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
}
.catering-form__hint a:hover { color: var(--red); }

/* ============================================================
   VISIT STRIP — info column + embedded Google Map + map badges
   Pattern adapted from sister project shirokuronyc.com
   ============================================================ */
.visit {
  background: var(--brown-deep);
  color: var(--paper);
  padding: clamp(4rem, 8vw, 6rem) 0;
  scroll-margin-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.visit__container {
  width: 100%;
  max-width: var(--col-max);
  margin: 0 auto;
  padding: 0 var(--col-pad);
  text-align: center;
}
.visit__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
/* Single column always — keep the iPhone-width feel even on desktop */
.visit .display { color: var(--paper); margin-bottom: 24px; }
.visit .display span:nth-child(2) { color: var(--yellow); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-muted);
  margin: 0 0 12px;
}

.visit__info { margin: 8px 0 24px; }
.visit__info dt {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper-muted);
  margin-top: 18px;
}
.visit__info dt:first-child { margin-top: 0; }
.visit__info dd {
  margin: 6px 0 0;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--paper);
}
.visit__info dd a {
  color: var(--yellow);
  border-bottom: 1px solid rgba(246, 220, 2, 0.4);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.visit__info dd a:hover { color: #fff; border-bottom-color: #fff; }
.visit__info dd strong { color: var(--paper); font-weight: 700; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

/* Map iframe + badges */
.map-link {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--brown-mid);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.map-link iframe { width: 100%; height: 100%; display: block; filter: saturate(0.85) brightness(0.97); }
.map-link__badges {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  z-index: 2;
}
.map-link__badge {
  background: var(--cream);
  color: var(--ink);
  padding: 7px 12px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--ink);
  white-space: nowrap;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.map-link__badge:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  transform: translateY(-1px);
}

/* ============================================================
   EDITORIAL FOOTER — closing brand mark, follow card, 4-col index
   ============================================================ */
.site-footer {
  position: relative;
  background: var(--brown-mid);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) var(--col-pad) clamp(2rem, 3vw, 2.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.site-footer > * {
  max-width: var(--wide-max);
  margin-left: auto;
  margin-right: auto;
}

/* Closing brand mark + tagline */
.footer-hero {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.footer-hero__brand {
  display: inline-block;
  line-height: 0;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.footer-hero__brand:hover { transform: rotate(-4deg); }
.footer-hero__brand img {
  width: clamp(140px, 16vw, 200px);
  height: auto;
  display: block;
}
.footer-hero__tagline {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--yellow);
  margin: clamp(1rem, 2vw, 1.5rem) 0 0.4rem;
}
.footer-hero__sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-muted);
  margin: 0;
}

/* Hand-drawn divider rule */
.footer-rule {
  max-width: 760px;
  margin: clamp(2rem, 4vw, 3rem) auto;
  opacity: 0.35;
}
.footer-rule svg { width: 100%; height: 8px; display: block; }
.footer-rule path {
  fill: none;
  stroke: var(--paper-muted);
  stroke-width: 1.4;
  stroke-linecap: round;
}

/* Prominent FOLLOW section */
.footer-follow {
  max-width: 720px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.footer-follow__eyebrow {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--paper-muted);
  margin: 0 0 clamp(1rem, 2vw, 1.6rem);
}
.footer-follow__eyebrow em { font-style: italic; }
.footer-follow__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.follow-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.4rem);
  padding: clamp(1.2rem, 2.4vw, 1.8rem) clamp(1.4rem, 3vw, 2rem);
  background: var(--brown-deep);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  text-decoration: none;
  overflow: hidden;
  transition: border-color .35s ease, transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
}
.follow-card:hover {
  border-color: var(--yellow);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
.follow-card__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: clamp(56px, 6vw, 72px);
  height: clamp(56px, 6vw, 72px);
  border-radius: 50%;
  color: #fff;
  transition: transform .35s ease, box-shadow .35s ease;
}
.follow-card__icon svg { width: 56%; height: 56%; }
.follow-card:hover .follow-card__icon {
  transform: rotate(-8deg) scale(1.06);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}
.follow-card--ig .follow-card__icon {
  background: radial-gradient(circle at 28% 105%, #fdc468 0%, #fa7e1e 18%, #d62976 42%, #962fbf 70%, #4f5bd5 100%);
}
.follow-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
}
.follow-card__platform {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  letter-spacing: -0.01em;
  color: var(--paper);
  text-transform: lowercase;
}
.follow-card__handle {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--paper-muted);
}
.follow-card__arrow {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--paper-muted);
  transition: color .3s ease, transform .3s ease;
}
.follow-card:hover .follow-card__arrow {
  color: var(--yellow);
  transform: translate(3px, -3px);
}

/* Large follow card variant — final eye-catcher near the bottom of the footer.
   Bigger padding, raised silhouette, IG gradient bleeds into the card border. */
.footer-follow--large { max-width: 720px; margin-bottom: 0; }
.follow-card--xl {
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.6rem, 3vw, 2.4rem);
  border-radius: 22px;
  background: var(--brown-deep);
  gap: clamp(1.2rem, 2.4vw, 1.8rem);
  position: relative;
}
.follow-card--xl::after {
  /* Soft IG-gradient halo */
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, #fdc468 0%, #fa7e1e 22%, #d62976 50%, #962fbf 78%, #4f5bd5 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.65;
  transition: opacity .35s ease;
}
.follow-card--xl:hover::after { opacity: 1; }
.follow-card--xl .follow-card__icon {
  width: clamp(72px, 8vw, 96px);
  height: clamp(72px, 8vw, 96px);
}
.follow-card--xl .follow-card__body { gap: 4px; }
.follow-card--xl .follow-card__eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-muted);
}
.follow-card--xl .follow-card__platform {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}
.follow-card--xl .follow-card__handle {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
}
.follow-card--xl .follow-card__arrow {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
}

/* Practical index — 2 cols on narrow, 4 cols on wide (matches stampa-style footer width) */
.footer-index {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  padding-top: clamp(0.5rem, 1vw, 1rem);
}
@media (min-width: 720px) {
  .footer-index--four { grid-template-columns: repeat(4, 1fr); gap: 1.5rem 2rem; }
}
.footer-index__heading {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  margin: 0 0 clamp(0.8rem, 1.5vw, 1.2rem);
}
.footer-index__line {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--paper);
  margin: 0 0 0.3rem;
}
.footer-index__line strong { color: var(--paper); font-weight: 700; }
.footer-index__line a {
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 1px;
  transition: color .25s ease, border-color .25s ease;
}
.footer-index__line a:hover { color: var(--yellow); border-bottom-color: var(--yellow); }
.footer-index__list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 0.5rem;
}
.footer-index__list a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--paper);
  transition: color .25s ease;
}
.footer-index__list a:hover { color: var(--yellow); }

/* Closing meta line — stacks centered on narrow, spreads to a row on wide */
.footer-meta {
  margin: clamp(1.5rem, 3vw, 2rem) auto 0;
  padding-top: clamp(1rem, 2vw, 1.4rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--paper-muted);
  text-align: center;
}
@media (min-width: 720px) {
  .footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1.5rem;
    text-align: left;
  }
  .footer-meta__tagline { flex: 1; text-align: center; }
}
.footer-meta p { margin: 0; }
.footer-meta__tagline {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--paper);
}
.footer-meta__brand {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--red);
}

/* -------------------- ORDER BUTTON CHICKEN EYES -------------------- */
#order-chicken { width: 100%; height: 100%; }
#order-chicken #eye-left,
#order-chicken #eye-right {
  transform-origin: center;
  will-change: transform;
}

/* -------------------- DESKTOP — keep the phone-width feel -------------------- */
@media (min-width: 720px) {
  :root { --section-pad: 112px; }
  .display { font-size: clamp(3rem, 4.6vw, 4.4rem); }
  .hero__iphone { max-width: 320px; }
  /* Polaroids stay constrained to the same iPhone column on desktop */
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
