/* IyaBolaji Restaurant ------------------------------------------------- */

:root {
  --nav-h: 96px;      /* header height at the top of the page */
  --nav-glass-h: 66px; /* height once it turns to glass */
  --nav-glass-top: 10px;
  --red: #d9151d;
  --red-deep: #b30f16;
  --ink: #141211;
  --cream: #fdf0dc;
  --paper: #fffaf2;
  --peach: #f8e5cc;
  --sand: #f4dcbb;
  --muted-on-ink: #dccdb9;

  --f-logo: "Modak", "Bagel Fat One", system-ui, sans-serif;
  --f-fun: "Bagel Fat One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --f-head: "Archivo", "Arial Black", Impact, sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-pop: cubic-bezier(.2, .9, .3, 1.25);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: calc(var(--nav-glass-h) + var(--nav-glass-top) + 16px); }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

/* Real photos sit in an enamel-plate frame so they match the illustrated plates. */
img.is-photo {
  --ring: 8px;
  aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  padding: 3.5%; background: var(--paper);
  box-shadow: 0 0 0 var(--ring) var(--red), 0 0 0 calc(var(--ring) + 5px) var(--paper), 0 26px 50px rgba(60, 10, 0, .35);
}
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { flex: none; }
p { margin: 0; text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--focus, currentColor); outline-offset: 3px; }

/* Focus rings take the colour of the surface's text so they never vanish into it. */
.announce, .hero, .page-hero, .drop, .footer, .feature-card, .card--red, .card--ink, .bg-ink, .bg-red { --focus: var(--cream); }
.cravings, .lineup, .builder, .why, .card--white, .bag-panel, .bg-cream, .bg-peach, .bg-sand, .menu-tabs { --focus: var(--ink); }

.container { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: 999px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.display {
  font-family: var(--f-head);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  font-size: clamp(40px, 6.6vw, 100px);
  line-height: .88;
  letter-spacing: -.005em;
  margin: 0;
}

.lede { font-size: 19px; max-width: 420px; }

/* Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border: 2.5px solid transparent; border-radius: 999px;
  font-family: var(--f-body); font-weight: 700; font-size: 16px; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-lg { min-height: 58px; padding: 16px 30px; font-size: 18px; }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: var(--paper); }
.btn-ghost { border-color: var(--cream); color: var(--cream); }
.btn-ghost:hover { background: var(--cream); color: var(--red); }
.btn-red { background: var(--red); color: var(--cream); }
.btn-red:hover { background: var(--red-deep); }
.btn-icon { width: 20px; height: 20px; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 2.5px solid var(--cream); background: transparent; color: var(--cream);
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.icon-btn:hover { background: var(--cream); color: var(--red); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn-ink { border-color: var(--ink); color: var(--ink); }
.icon-btn-ink:hover { background: var(--ink); color: var(--cream); }

.round-btn {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  border: 2.5px solid var(--ink); background: transparent; color: var(--ink);
  transition: background-color .18s ease, color .18s ease;
}
.round-btn:hover { background: var(--ink); color: var(--cream); }
.round-btn svg { width: 22px; height: 22px; }

/* Announcement bar ----------------------------------------------------- */

.announce {
  background: var(--ink); color: var(--cream);
  font-size: 14px; text-align: center; padding: 10px var(--gutter);
}
/* Padding gives the link a 44px tap area; the negative margin keeps the bar slim. */
.announce a { display: inline-block; padding: 12px 4px; margin: -12px 0 -12px 2px; font-weight: 700; text-underline-offset: 3px; white-space: nowrap; }
.announce-spark { width: 13px; height: 13px; color: var(--red); vertical-align: -1px; margin-right: 6px; }

/* Hero ----------------------------------------------------------------- */

.hero, .page-hero {
  position: relative;
  overflow-x: clip;
  color: var(--cream);
  background: var(--red) url("../assets/patterns/on-red.svg") 0 0 / 260px;
  padding-bottom: clamp(110px, 10vw, 150px);
}

/* The header stays pinned while you scroll. Its wrapper keeps a fixed height
   so the page never jumps; the bar inside shrinks into a frosted glass pill. */
.site-header { position: sticky; top: 0; z-index: 50; display: flow-root; height: var(--nav-h); color: var(--cream); pointer-events: none; }
.site-header + :is(.hero, .page-hero) { margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h); }
.nav {
  position: relative; z-index: 20; display: flex; align-items: center; gap: 28px; height: var(--nav-h);
  border: 1px solid transparent; border-radius: 0; pointer-events: auto;
  transition: height .35s ease, margin-top .35s ease, padding .35s ease, border-radius .35s ease, background-color .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.logo { transition: transform .35s ease; transform-origin: left center; }
/* Deep red glass: dark enough that cream text stays readable over any section. */
.site-header.is-glass .nav {
  height: var(--nav-glass-h); margin-top: var(--nav-glass-top); padding: 0 10px 0 22px;
  border-color: rgba(255, 255, 255, .22); border-radius: 999px;
  background: rgba(179, 15, 22, .8);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 14px 34px rgba(50, 0, 0, .25);
}
.site-header.is-glass .logo { transform: scale(.82); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.is-glass .nav { background: rgba(179, 15, 22, .96); }
}

.logo { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 54px; /* 44px after the glass header scales it to .82 */ color: var(--cream); text-decoration: none; }
.is-glass .logo .food-mark { color: var(--cream); }
.logo-word { font-family: var(--f-logo); font-size: 46px; line-height: .78; padding-top: 4px; }
.logo .food-mark { width: 48px; height: 11px; color: var(--ink); margin-top: 3px; }

.nav-links { display: flex; gap: 34px; list-style: none; margin: 0 0 0 28px; padding: 0; }
.nav-links a { position: relative; display: inline-block; padding: 10px 0; font-weight: 700; font-size: 16px; text-decoration: none; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2.5px; border-radius: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.sound-btn[aria-pressed="true"] { background: var(--cream); color: var(--red); }
.bag-count {
  position: absolute; top: -7px; right: -7px; min-width: 24px; height: 24px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 12px; border: 2px solid var(--cream);
  background: var(--ink); color: var(--cream); font-size: 12px; font-weight: 700; line-height: 1;
}
.bag-count.is-bumped { animation: bump .4s var(--ease-pop); }
.menu-toggle { display: none; }

.hero-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; }
.lockup { position: relative; grid-column: 1 / -1; padding-top: clamp(22px, 3vw, 44px); }

.wordmark {
  margin: 0;
  font-family: var(--f-logo); font-weight: 400;
  font-size: clamp(80px, 17.5vw, 262px);
  line-height: .74;
  letter-spacing: -.012em;
  text-align: center;
  color: var(--cream);
}
.wordmark span { display: inline-block; }
.wordmark .ch { display: inline-block; }

.hero-food { display: block; width: clamp(150px, 31vw, 440px); height: auto; aspect-ratio: 404 / 88; margin: -.4% 0 0 17%; color: var(--ink); position: relative; z-index: 1; }

.scribble {
  position: absolute; z-index: 4; top: 0; right: 0;
  font-family: var(--f-fun); font-size: clamp(18px, 2vw, 27px); line-height: 1.12;
  transform: rotate(-5deg);
}
.scribble-arrow { position: absolute; left: -80px; top: 10px; width: 70px; height: auto; }

.hero-copy { position: relative; z-index: 3; grid-column: 1; align-self: end; max-width: 680px; margin: clamp(28px, 4vw, 56px) 0 clamp(8px, 2vw, 28px); }
.hero-title {
  margin-bottom: 30px;
  font-family: var(--f-head); font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(31px, 3.9vw, 58px); line-height: .92;
}
.hero-title span { display: block; white-space: nowrap; }
.hero-title .ink { color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.open-now { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-weight: 700; }
.dot { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--cream); }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--cream); animation: pulse 2s ease-out infinite; }

/* The plate is capped by the screen height so it is fully visible on first open. */
.hero-visual {
  position: relative; z-index: 2; grid-column: 2; justify-self: end;
  width: min(100%, 540px); width: min(100%, 540px, calc(100svh - 330px)); min-width: min(100%, 380px);
  margin: calc(-1 * clamp(40px, 6.5vw, 96px)) -1% 0 0;
}
.hero-dish { position: relative; z-index: 2; width: 100%; animation: float 6s ease-in-out infinite; }
.hero-dish.is-photo { --ring: 12px; width: 88%; margin: 6%; }
.hero-drink { position: absolute; z-index: 1; width: 31%; right: -6%; top: -16%; transform: rotate(9deg); }

.price-sticker {
  position: absolute; z-index: 3; right: -5%; top: 34%;
  display: grid; place-content: center; text-align: center;
  width: clamp(104px, 11vw, 150px); aspect-ratio: 1; border-radius: 50%;
  background: var(--cream); color: var(--ink); transform: rotate(-9deg);
  box-shadow: 0 14px 28px rgba(80, 5, 5, .3);
}
.price-sticker span { font-family: var(--f-fun); font-size: clamp(12px, 1.1vw, 15px); line-height: 1.05; max-width: 9ch; margin-inline: auto; }
.price-sticker strong { font-family: var(--f-fun); font-weight: 400; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.1; color: var(--red); }

.mood-badge {
  position: absolute; z-index: 3; left: -6%; bottom: 7%;
  width: clamp(110px, 11vw, 150px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream); color: var(--red); border: 3px solid var(--ink);
  box-shadow: 0 14px 28px rgba(80, 5, 5, .3);
}
.mood-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.mood-ring text { font-family: var(--f-fun); font-size: 19px; fill: var(--ink); }
.mood-core {
  display: grid; place-items: center; width: 54%; aspect-ratio: 1; border-radius: 50%;
  background: var(--red); color: var(--cream); border: 3px solid var(--cream); box-shadow: 0 0 0 3px var(--red);
  font-family: var(--f-fun); font-size: clamp(14px, 1.4vw, 19px); line-height: .95; text-align: center;
}

/* Ticker bands --------------------------------------------------------- */

.ticker { position: relative; z-index: 6; margin-top: -96px; padding: 28px 0 8px; overflow-x: clip; }
.band { width: 116%; margin-left: -8%; overflow: hidden; white-space: nowrap; }
.band-cream { background: var(--cream); color: var(--red); transform: rotate(-2.6deg); font-size: clamp(30px, 4vw, 58px); box-shadow: 0 10px 30px rgba(60, 0, 0, .12); }
.band-ink { background: var(--ink); color: var(--cream); transform: rotate(2deg); margin-top: -12px; font-size: clamp(28px, 3.7vw, 54px); }
.track { display: inline-flex; font-family: var(--f-fun); line-height: 1.3; padding: .12em 0; animation: marquee 38s linear infinite; }
.track.reverse { animation-direction: reverse; }
.half { display: inline-flex; align-items: center; gap: .45em; padding-right: .45em; }
.half svg { width: .56em; height: .56em; color: var(--red); }

/* Cravings ------------------------------------------------------------- */

main { overflow-x: clip; }

.cravings { background: var(--cream); padding: 120px 0 100px; margin-top: -70px; }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 40px; }
.section-head .lede { margin-bottom: 8px; }

.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 50px; padding: 10px 22px;
  border: 2.5px solid var(--ink); border-radius: 999px; background: transparent;
  font-weight: 700; font-size: 17px; line-height: 1;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.chip svg { width: 14px; height: 14px; }
.chip:hover { transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); }

.feature { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; margin-top: 28px; }

.feature-visual { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.feature-visual::before {
  content: ""; position: absolute; inset: -14%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .8) 0deg 5deg, rgba(255, 255, 255, 0) 5deg 13deg);
  -webkit-mask: radial-gradient(closest-side, #000 22%, transparent 100%);
  mask: radial-gradient(closest-side, #000 22%, transparent 100%);
}
.feature-visual img { position: relative; width: 86%; transition: transform .45s var(--ease-pop), opacity .2s ease; }
.feature-visual img.is-photo { width: 76%; }
.feature-visual img.is-swapping { opacity: 0; transform: rotate(-30deg) scale(.82); }

.price-dot {
  position: absolute; z-index: 2; top: 5%; right: 11%;
  display: grid; place-content: center; text-align: center;
  width: clamp(96px, 10vw, 134px); aspect-ratio: 1; border-radius: 50%;
  background: var(--red); color: var(--cream); transform: rotate(-10deg);
  box-shadow: 0 14px 28px rgba(120, 10, 10, .28);
}
.price-dot small { font-family: var(--f-fun); font-size: 14px; line-height: 1; }
.price-dot strong { font-family: var(--f-fun); font-weight: 400; font-size: clamp(21px, 2.3vw, 31px); line-height: 1.1; }

.feature-card { background: var(--ink); color: var(--cream); border-radius: 32px; padding: clamp(28px, 3.6vw, 50px); }
.feature-card h3 {
  margin: 0 0 16px;
  font-family: var(--f-head); font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(34px, 4.2vw, 60px); line-height: .92;
}
.feature-card > p { max-width: 38ch; margin-bottom: 30px; color: var(--muted-on-ink); }

.meters { display: grid; gap: 16px; margin: 0 0 30px; }
.meters div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.meters dt { font-weight: 700; font-size: 15px; }
.meters dd { display: flex; align-items: center; gap: 8px; margin: 0; }
.m-heat svg { width: 22px; height: 22px; display: block; color: var(--cream); }
.m-full { width: 26px; height: 12px; border-radius: 6px; background: var(--cream); }
.m-napkins svg { width: 19px; height: 19px; display: block; color: var(--cream); }
.m-napkins:nth-child(odd) svg { transform: rotate(-6deg); }
.meters .off { opacity: .2; }

.feature-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(253, 240, 220, .16); font-weight: 700; font-size: 15px; }

/* Checkered divider ---------------------------------------------------- */

.checker {
  position: relative; z-index: 4;
  height: 40px; margin: -20px -5%;
  background: conic-gradient(var(--ink) 25%, var(--paper) 0 50%, var(--ink) 0 75%, var(--paper) 0) 0 0 / 40px 40px;
  transform: rotate(-1.4deg);
}
.checker-dark { transform: rotate(1.2deg); }

/* Menu lineup ---------------------------------------------------------- */

.lineup { background: var(--peach) url("../assets/patterns/on-cream.svg") 0 0 / 260px; padding: 120px 0 90px; }
.lineup .chips { margin: 0 0 10px; }

.cards {
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  display: flex; gap: 28px; list-style: none; margin: 0;
  padding: 120px var(--edge) 36px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  scrollbar-width: none;
}
.cards::-webkit-scrollbar { display: none; }

.card {
  position: relative; display: flex; flex-direction: column;
  flex: 0 0 clamp(272px, 26vw, 340px); min-height: 440px;
  padding: 200px 26px 26px; border-radius: 30px;
  scroll-snap-align: start;
  box-shadow: 0 18px 40px rgba(90, 40, 10, .12);
}
.card img {
  position: absolute; top: -96px; left: 50%; width: 280px; height: 280px; object-fit: contain;
  transform: translateX(-50%) rotate(var(--tilt, 0deg));
  transition: transform .35s var(--ease-pop);
}
.card:hover img { transform: translateX(-50%) rotate(calc(var(--tilt, 0deg) - 10deg)) scale(1.05); }
.card img.is-photo { --ring: 6px; top: -80px; width: 246px; height: 246px; object-fit: cover; }

.card-badge {
  position: absolute; z-index: 2; top: 22px; left: 22px;
  padding: 6px 13px; border-radius: 999px; transform: rotate(-7deg);
  font-family: var(--f-fun); font-size: 15px; line-height: 1.2;
}
.card h3 {
  margin: 0 0 10px;
  font-family: var(--f-head); font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: 26px; line-height: .95;
}
.card p { margin-bottom: 20px; font-size: 15.5px; line-height: 1.5; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.card-price { font-family: var(--f-fun); font-size: 26px; line-height: 1; }
.add-btn { display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; transition: transform .18s var(--ease-pop); }
.add-btn:hover { transform: scale(1.1) rotate(90deg); }
.add-btn svg { width: 22px; height: 22px; }

.card--red { background: var(--red); color: var(--cream); }
.card--red .card-badge { background: var(--cream); color: var(--red); }
.card--red .add-btn { background: var(--cream); color: var(--red); }
.card--white { background: var(--paper); color: var(--ink); }
.card--white .card-badge { background: var(--red); color: var(--cream); }
.card--white .add-btn { background: var(--ink); color: var(--cream); }
.card--ink { background: var(--ink); color: var(--cream); }
.card--ink p { color: var(--muted-on-ink); }
.card--ink .card-badge { background: var(--red); color: var(--cream); }
.card--ink .add-btn { background: var(--red); color: var(--cream); }

.lineup-nav { display: flex; justify-content: flex-end; gap: 12px; }

/* Why it tastes like home ---------------------------------------------- */

.why { background: var(--sand); padding: 120px 0 140px; }
.why .lede { margin-top: 26px; }
.why-grid { display: grid; grid-template-columns: 1fr minmax(0, 1.5fr) 1fr; gap: clamp(20px, 3vw, 44px); align-items: center; margin-top: 64px; }
.facts { display: grid; gap: 54px; }
.facts-left { text-align: right; }
.fact strong { display: block; margin-bottom: 8px; font-family: var(--f-fun); font-weight: 400; font-size: clamp(38px, 4.4vw, 62px); line-height: 1; color: var(--red); }
.fact p { max-width: 250px; font-size: 16px; }
.facts-left .fact p, .facts-left .fact-arrow { margin-left: auto; }
.fact-arrow { display: block; width: 74px; height: auto; margin-top: 12px; color: var(--ink); }

.why-photo { position: relative; margin: 0; }
.why-photo img { width: 100%; aspect-ratio: 760 / 520; object-fit: cover; border-radius: 30px; box-shadow: 0 30px 60px rgba(70, 25, 5, .28); }
.why-photo figcaption {
  position: absolute; left: 22px; bottom: 22px;
  padding: 8px 16px; border-radius: 999px; transform: rotate(-6deg);
  background: var(--ink); color: var(--cream); font-family: var(--f-fun); font-size: 17px;
}

/* Drop ----------------------------------------------------------------- */

.drop { position: relative; background: var(--ink); color: var(--cream); padding: 130px 0 150px; }
.drop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.tag-red {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px;
  padding: 10px 20px; border-radius: 999px; transform: rotate(-4deg);
  background: var(--red); color: var(--cream); font-family: var(--f-fun); font-size: 19px;
}
.tag-red svg { width: 16px; height: 16px; }
.drop-copy > p:not(.tag-red) { max-width: 44ch; margin: 24px 0 30px; color: var(--muted-on-ink); font-size: 18px; }

.countdown { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.countdown div { min-width: 90px; padding: 12px 16px; border: 2px solid rgba(253, 240, 220, .22); border-radius: 18px; text-align: center; }
.countdown b { display: block; font-family: var(--f-fun); font-weight: 400; font-size: 42px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-on-ink); }

.drop-visual { position: relative; }
.drop-visual > img { width: min(100%, 560px); margin-left: auto; }

.scratch { user-select: none; -webkit-user-select: none; position: absolute; z-index: 2; left: -2%; bottom: -40px; width: min(320px, 70%); transform: rotate(-5deg); }
.scratch-card { position: relative; height: 196px; overflow: hidden; border-radius: 22px; border: 4px solid var(--cream); background: var(--red); box-shadow: 0 22px 44px rgba(0, 0, 0, .5); }
.scratch-prize { position: absolute; inset: 0; display: grid; place-content: center; gap: 4px; padding: 16px; text-align: center; color: var(--cream); }
.scratch-prize small { font-family: var(--f-fun); font-size: 15px; }
.scratch-prize strong { font-family: var(--f-head); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 38px; line-height: 1; }
.scratch-prize span { font-size: 14px; line-height: 1.35; }
.scratch canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; transition: opacity .5s ease; }
.scratch canvas:active { cursor: grabbing; }
.scratch.is-revealed canvas { opacity: 0; pointer-events: none; }
.scratch-reveal { margin-top: 10px; padding: 8px 2px; border: 0; background: none; color: var(--cream); font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.scratch.is-revealed .scratch-reveal { visibility: hidden; }

/* Footer --------------------------------------------------------------- */

.footer { background: var(--ink); color: var(--cream); overflow: hidden; }
.footer-band { height: 96px; background: var(--red) url("../assets/patterns/band.svg") 0 -24px / 220px; }
.footer-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 84px 0 56px; }
.signup .display { font-size: clamp(30px, 3.3vw, 48px); }
.signup > p { max-width: 40ch; margin: 18px 0 28px; color: var(--muted-on-ink); }
.signup-row { display: flex; flex-wrap: wrap; gap: 12px; }
.signup input {
  flex: 1 1 240px; max-width: 380px; min-height: 58px; padding: 0 24px;
  border: 2.5px solid transparent; border-radius: 999px;
  background: var(--cream); color: var(--ink); font: 500 17px var(--f-body);
}
.signup input::placeholder { color: #75644f; }
.signup input[aria-invalid="true"] { border-color: var(--red); }
.form-msg { min-height: 1.6em; margin-top: 12px; font-weight: 700; }

.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-top: 70px; }
.footer-cols h3 { margin: 0 0 14px; font-family: var(--f-fun); font-weight: 400; font-size: 19px; }
.footer-cols ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; color: var(--muted-on-ink); }
.footer-cols li { display: flex; align-items: center; min-height: 40px; }
.footer-cols a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); text-decoration: none; text-underline-offset: 3px; }
.footer-cols a:hover { text-decoration: underline; }
.directions { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.directions svg { width: 18px; height: 18px; color: var(--red); }

.footer-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: clamp(28px, 4vw, 44px) 0 clamp(28px, 3vw, 36px); font-size: 14px; color: var(--muted-on-ink); }
.footer-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border: 2px solid rgba(253, 240, 220, .55); border-radius: 999px;
  color: var(--cream); font-weight: 700; font-size: 14px; text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.pill:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }

.footer-mark { padding-top: clamp(24px, 5vw, 80px); text-align: center; }
.footer-word { display: block; font-family: var(--f-logo); font-size: clamp(84px, 23.5vw, 360px); line-height: .74; color: var(--cream); }
.footer-mark .food-mark { display: block; width: clamp(140px, 36%, 470px); height: auto; aspect-ratio: 404 / 88; margin: clamp(14px, 2.6vw, 36px) auto 0; color: var(--red); }

/* Bag panel + toast ---------------------------------------------------- */

.bag-panel {
  width: min(440px, 100%); height: 100%; height: 100dvh; max-height: none; max-width: 100%;
  margin: 0 0 0 auto; padding: 0; border: 0; overflow: hidden;
  background: var(--cream); color: var(--ink);
  display: none; flex-direction: column;
}
.bag-panel[open] { display: flex; animation: slide-in .3s var(--ease-pop); }
.bag-panel::backdrop { background: rgba(20, 18, 17, .55); }
.bag-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 2px solid var(--ink); }
.bag-head h2 { margin: 0; font-family: var(--f-head); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 30px; }
.bag-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 12px 24px; list-style: none; }
.bag-list li { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(20, 18, 17, .12); }
.bag-list img { width: 64px; height: 64px; object-fit: contain; }
.bag-list img.is-photo { padding: 2px; object-fit: cover; box-shadow: 0 0 0 3px var(--red); }
.bag-item-name { font-weight: 700; line-height: 1.25; }
.bag-item-price { font-size: 14px; color: #5a4e44; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; }
.stepper button:hover { background: var(--ink); color: var(--cream); }
.stepper svg { width: 16px; height: 16px; }
.stepper output { min-width: 22px; text-align: center; font-weight: 700; }
.bag-empty { padding: 40px 0; text-align: center; font-family: var(--f-fun); font-size: 22px; border: 0 !important; display: block !important; }
.bag-foot { padding: 20px 24px 28px; border-top: 2px solid var(--ink); display: grid; gap: 14px; }
.bag-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.bag-total strong { font-family: var(--f-fun); font-weight: 400; font-size: 30px; color: var(--red); }
.bag-checkout { width: 100%; }
.bag-note { font-size: 14px; text-align: center; color: #5a4e44; }

.toast {
  position: fixed; z-index: 60; left: 50%; bottom: 24px;
  padding: 14px 22px; border-radius: 999px; max-width: calc(100% - 32px);
  background: var(--ink); color: var(--cream); font-weight: 700; box-shadow: 0 16px 40px rgba(0, 0, 0, .3);
  transform: translate(-50%, 140%); opacity: 0; pointer-events: none;
  transition: transform .3s var(--ease-pop), opacity .2s ease;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* Shared section helpers (used by the subpages) ------------------------ */

.section { padding: clamp(80px, 9vw, 130px) 0; }
.bg-cream { background: var(--cream); }
.bg-peach { background: var(--peach) url("../assets/patterns/on-cream.svg") 0 0 / 260px; }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); color: var(--cream); }
.bg-red { background: var(--red) url("../assets/patterns/on-red.svg") 0 0 / 260px; color: var(--cream); }
.after-ticker { margin-top: -70px; padding-top: clamp(110px, 10vw, 140px); }
.kicker { display: inline-block; font-family: var(--f-fun); font-size: clamp(18px, 2vw, 26px); line-height: 1.1; transform: rotate(-3deg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center { text-align: center; }
.center .btn-row { justify-content: center; }
.center .lede { margin-inline: auto; }
.lineup-more { margin-right: auto; }

/* Subpage hero */
.page-hero { color: var(--cream); background: var(--red) url("../assets/patterns/on-red.svg") 0 0 / 260px; padding-bottom: clamp(130px, 12vw, 180px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(16px, 3vw, 40px); }
.page-title {
  margin: 14px 0 24px;
  font-family: var(--f-head); font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(52px, 9.4vw, 142px); line-height: .86;
}
.page-title .ink { color: var(--ink); }
.page-hero .lede { max-width: 470px; margin-bottom: 30px; }
.page-hero-visual { position: relative; justify-self: end; width: min(100%, 500px); aspect-ratio: 1; }
.page-hero-visual > img { position: absolute; }
.plate-main { z-index: 2; top: 0; right: 0; width: 76%; }
.plate-side { z-index: 1; bottom: 0; left: 0; width: 52%; }
.page-hero-visual .price-sticker { top: auto; bottom: 6%; right: 2%; }

/* Menu page */
.menu-tabs { position: sticky; top: calc(var(--nav-glass-h) + var(--nav-glass-top) + 8px); z-index: 30; background: rgba(253, 240, 220, .94); border-bottom: 2px solid var(--ink); }
.menu-tabs .container { display: flex; gap: 10px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.menu-tabs .container::-webkit-scrollbar { display: none; }
.menu-tabs .chip { flex: none; text-decoration: none; }
.menu-tabs .chip[aria-current="true"] { background: var(--ink); color: var(--cream); }
.menu-cat { scroll-margin-top: calc(var(--nav-glass-h) + var(--nav-glass-top) + 86px); padding: clamp(60px, 7vw, 100px) 0 clamp(70px, 8vw, 110px); }
.menu-cat-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.menu-cat-head .display { font-size: clamp(38px, 5.6vw, 84px); }
.menu-cat-head p { max-width: 380px; }
.count-pill { display: inline-block; margin-bottom: 14px; padding: 7px 16px; border-radius: 999px; transform: rotate(-4deg); background: var(--red); color: var(--cream); font-family: var(--f-fun); font-size: 17px; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr)); gap: 124px 26px; margin: 0; padding: 124px 0 0; list-style: none; }
.menu-grid .card { min-height: 420px; }

/* Our story page */
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.story-name { margin: 0 0 10px; font-family: var(--f-logo); font-weight: 400; font-size: clamp(84px, 13vw, 200px); line-height: .78; color: var(--red); }
.story-means { font-family: var(--f-fun); font-size: clamp(20px, 2.2vw, 28px); }
.story-copy p { max-width: 46ch; margin-bottom: 18px; font-size: 19px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 56px; }
.stat { padding-top: 18px; border-top: 3px solid var(--red); }
.stat b { display: block; font-family: var(--f-fun); font-weight: 400; font-size: clamp(42px, 5.2vw, 78px); line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted-on-ink); }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 56px; }
.value, .info-card {
  padding: 30px 26px; border: 2.5px solid var(--ink); border-radius: 28px;
  background: var(--paper); box-shadow: 8px 8px 0 var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.value:hover, .info-card:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--ink); }
.value-icon { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 20px; border-radius: 50%; background: var(--red); color: var(--cream); }
.value-icon svg { width: 28px; height: 28px; }
.value h3, .info-card h3 { margin: 0 0 10px; font-family: var(--f-head); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 22px; line-height: 1; }
.value p { font-size: 16px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 60px; }
.polaroid { margin: 0; padding: 14px 14px 18px; border-radius: 20px; background: var(--paper); box-shadow: 0 24px 50px rgba(60, 20, 0, .18); transform: rotate(var(--tilt, 0deg)); transition: transform .3s var(--ease-pop); }
.polaroid:hover { transform: rotate(0deg) scale(1.03); }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--cream); }
.polaroid figcaption { margin-top: 12px; text-align: center; font-family: var(--f-fun); font-size: 18px; }
.big-quote { margin: 0; font-family: var(--f-fun); font-weight: 400; font-size: clamp(48px, 9vw, 140px); line-height: .95; text-align: center; }

/* Find us page */
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.info-card { display: flex; flex-direction: column; gap: 14px; }
.info-card p { color: #4a4038; }
.info-card .big { font-family: var(--f-fun); font-size: clamp(28px, 3vw, 40px); line-height: 1.05; color: var(--red); }
.info-card .btn { align-self: flex-start; margin-top: auto; }
.service-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.service-list li { padding: 7px 14px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: 14px; }
.map-wrap { position: relative; margin-top: 56px; overflow: hidden; border: 3px solid var(--ink); border-radius: 30px; box-shadow: 10px 10px 0 var(--ink); background: var(--sand); }
.map-wrap iframe { display: block; width: 100%; height: clamp(320px, 44vw, 520px); border: 0; }
.map-tag { position: absolute; z-index: 2; top: 18px; left: 18px; }

/* Build your plate (home) ------------------------------------------------ */

.builder { background: var(--cream) url("../assets/patterns/on-cream.svg") 0 0 / 260px; padding: clamp(90px, 10vw, 130px) 0; }
.builder-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(20px, 3vw, 40px); align-items: start; margin-top: 46px; }
.builder-tabs { margin: 0 0 14px; gap: 8px; }
.builder-tabs .chip { min-height: 42px; padding: 8px 16px; font-size: 15px; }
.builder-list { display: grid; gap: 12px; max-height: 470px; margin: 0; padding: 4px 8px 8px 4px; overflow-y: auto; list-style: none; scrollbar-width: thin; }
.pick {
  display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 12px; width: 100%;
  padding: 10px 16px 10px 10px; border: 0; border-radius: 20px; text-align: left;
  background: var(--paper); box-shadow: 0 8px 20px rgba(90, 40, 10, .1), inset 0 0 0 2px rgba(20, 18, 17, .06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.pick:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(90, 40, 10, .16), inset 0 0 0 2px var(--ink); }
.pick:active { transform: scale(.98); }
.pick img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.pick img.is-photo { padding: 0; box-shadow: 0 0 0 3px var(--red); }
.pick-name { display: block; font-weight: 700; line-height: 1.2; }
.pick-meta { display: block; font-size: 13px; color: #6b5d50; }
.pick-price { font-family: var(--f-fun); font-size: 19px; color: var(--red); white-space: nowrap; }
.pick:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.pick:disabled .pick-price { color: inherit; }

.builder-stage { position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: end; padding-top: 70px; }
.builder-scribble { position: absolute; top: 0; right: 4%; font-family: var(--f-fun); font-size: 18px; line-height: 1.15; transform: rotate(5deg); text-align: center; }
.belle-meter { position: relative; height: 340px; align-self: center; border-left: 3px solid var(--ink); }
.belle-meter i { position: absolute; left: -3px; width: 14px; height: 3px; background: var(--ink); font-style: normal; }
.belle-meter i::after { content: attr(data-l); position: absolute; left: 20px; top: -8px; font-size: 12px; font-weight: 700; }
.belle-fill { position: absolute; left: -9px; bottom: 0; width: 6px; height: 0; border-radius: 3px; background: var(--red); transition: height .6s var(--ease-pop); }
.belle-tag { position: absolute; left: -2px; bottom: 0; translate: -50% 50%; padding: 4px 9px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 12px; font-weight: 700; white-space: nowrap; transition: bottom .6s var(--ease-pop); }
.builder-plate {
  position: relative; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, #fffdf8 0 40%, #f6efe2 70%, #e6dac4 100%);
  box-shadow: inset 0 0 0 10px #fffaf2, inset 0 0 0 20px var(--red), inset 0 0 0 30px #fffaf2, inset 0 0 0 48px rgba(216, 201, 173, .45), 0 30px 50px rgba(70, 25, 5, .28);
}
.scoop {
  position: absolute; left: var(--x); top: var(--y); width: 38%; aspect-ratio: 1;
  translate: -50% -50%; rotate: var(--r, 0deg);
  border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%;
  background: center / 280% no-repeat; box-shadow: 0 10px 16px rgba(60, 20, 0, .32);
  animation: scoop-in .65s var(--ease-pop) both;
}
.scoop.is-photo { background-size: 150%; }
.builder-empty { position: absolute; inset: 0; display: grid; place-content: center; padding: 22%; text-align: center; font-family: var(--f-fun); font-size: clamp(16px, 1.6vw, 20px); color: #a08a74; }

.receipt-wrap { filter: drop-shadow(0 22px 34px rgba(70, 25, 5, .2)); }
.receipt {
  --tooth: 16px;
  padding: 24px 24px calc(28px + var(--tooth)); background: #fffefa; color: var(--ink);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 14px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--tooth) 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--tooth) 100%;
}
.receipt-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 2px dashed #b8aa98; font-weight: 700; }
.receipt-logo { display: inline-flex; flex-direction: column; align-items: center; font-family: var(--f-logo); font-size: 34px; line-height: .8; color: var(--red); }
.receipt-logo .food-mark { width: 34px; height: 8px; margin-top: 3px; color: var(--ink); }
.receipt-lines { min-height: 120px; margin: 0; padding: 14px 0; list-style: none; display: grid; gap: 8px; border-bottom: 2px dashed #b8aa98; align-content: start; }
.receipt-lines li { display: flex; align-items: baseline; gap: 6px; }
.receipt-lines .dots { flex: 1; border-bottom: 2px dotted #c7baa8; translate: 0 -4px; }
.receipt-lines .muted { color: #8a7a68; }
.receipt-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; font-family: var(--f-body); font-weight: 700; font-size: 22px; }
.receipt-total strong { font-size: 24px; }
.receipt-sub { display: flex; justify-content: space-between; gap: 10px; margin-top: 4px; font-size: 13px; color: #6b5d50; }
.receipt-name { min-height: 2.4em; margin: 18px 0 16px; font-family: var(--f-fun); font-size: 22px; line-height: 1.1; color: var(--red); }
.receipt-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.receipt-actions .btn { flex: 1 1 0; min-height: 44px; padding: 10px 14px; font-size: 14px; }
.receipt-actions #plate-add { flex-basis: 100%; }
.btn-soft { background: #f3eadb; color: var(--ink); }
.btn-soft:hover { background: #eadcc6; }
.btn:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.barcode { height: 52px; margin-top: 20px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 16px); }

@keyframes scoop-in { from { opacity: 0; transform: translateY(-220%) scale(1.25); } 60% { opacity: 1; } }

/* Sold out, forms, checkout ----------------------------------------------- */

.card.is-soldout img, .feature-visual.is-soldout img { filter: grayscale(.85); opacity: .75; }
.card .soldout-tag { position: absolute; z-index: 3; top: 22px; right: 22px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--cream); font-family: var(--f-fun); font-size: 15px; transform: rotate(6deg); }
.add-btn:disabled { cursor: not-allowed; opacity: .4; }
.add-btn:disabled:hover { transform: none; }

.field { display: grid; gap: 7px; font-weight: 700; font-size: 15px; }
.field .hint { font-weight: 500; font-size: 13px; color: #6b5d50; }
.field :is(input, textarea, select) {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border: 2px solid var(--ink); border-radius: 14px; background: var(--paper); color: var(--ink);
  font: 500 16px/1.4 var(--f-body);
}
.field textarea { min-height: 84px; resize: vertical; }
.field :is(input, textarea, select):focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--red); background: #fff1ee; }
.form-error { min-height: 1.4em; margin: 0; font-weight: 700; color: var(--red); }
.form-ok { margin: 0; font-weight: 700; color: #1d7a3a; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.seg legend { width: 100%; margin-bottom: 8px; padding: 0; font-weight: 700; font-size: 15px; }
.seg label { flex: 1 1 0; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: grid; place-items: center; min-height: 46px; padding: 8px 12px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; cursor: pointer; transition: background-color .18s ease, color .18s ease; }
.seg input:checked + span { background: var(--ink); color: var(--cream); }
.seg input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; min-height: 44px; padding: 0; border: 0; background: none; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.link-btn svg { width: 16px; height: 16px; }
[hidden] { display: none !important; }

.bag-view { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.checkout-body { flex: 1; min-height: 0; display: grid; gap: 16px; align-content: start; overflow-y: auto; overscroll-behavior: contain; padding: 14px 24px 20px; }
.order-done { align-items: center; justify-content: center; gap: 14px; padding: 30px 28px; text-align: center; overflow-y: auto; }
.done-badge { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--red); color: var(--cream); animation: pop .6s var(--ease-pop) both; }
.done-badge svg { width: 46px; height: 46px; }
.order-done h3 { margin: 6px 0 0; font-family: var(--f-head); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 32px; line-height: 1; }
.order-done p { max-width: 34ch; }
.done-items { width: 100%; margin: 4px 0 10px; padding: 14px 0; list-style: none; border-block: 2px dashed #b8aa98; font-size: 15px; display: grid; gap: 6px; }
.done-items li { display: flex; justify-content: space-between; gap: 12px; }

/* FAQ (Find us) */
.faq { display: grid; gap: 12px; max-width: 860px; margin-top: 40px; }
.faq-item { border: 2.5px solid var(--ink); border-radius: 22px; background: var(--paper); transition: box-shadow .2s ease; }
.faq-item[open] { box-shadow: 6px 6px 0 var(--ink); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 14px 22px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: var(--cream); font-size: 22px; line-height: 1; transition: transform .25s var(--ease-pop); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 20px; max-width: 64ch; color: #4a4038; }

/* Lottie animations (js: startLottie) */
.lottie { display: block; }
.lottie svg { display: block; }
.lottie-card {
  aspect-ratio: 1; padding: 6%; overflow: hidden;
  border: 3px solid var(--ink); border-radius: 34px; background: var(--paper);
  box-shadow: 10px 10px 0 var(--ink); rotate: -3deg;
}
.lottie-hire { width: clamp(180px, 18vw, 260px); }
.hire-grid:has(> .lottie:not([hidden])) { grid-template-columns: minmax(0, 1.3fr) auto minmax(0, .85fr); align-items: center; }
.lottie-apply { width: min(100%, 340px); margin-top: 34px; rotate: 3deg; }
.lottie-done { width: 180px; aspect-ratio: 1; }
/* Keep the tick until the animation has actually drawn. */
.lottie-done:not(.is-ready) { position: absolute; opacity: 0; pointer-events: none; }
.order-done:has(.lottie-done.is-ready) .done-badge { display: none; }

/* Footer credit */
.credit { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--cream); }
.heart { width: 18px; height: 18px; color: #a855f7; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 15% { transform: scale(1.22); } 30% { transform: scale(1.05); } 45% { transform: scale(1.18); } }

/* Hiring: home band and careers page */
.hire-band { position: relative; padding: clamp(70px, 8vw, 110px) 0; }
.hire-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 48px; align-items: end; }
.hire-grid .lede { margin-bottom: 24px; color: var(--cream); }
.hire-band .display .ink { color: var(--ink); }
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 48px; }
.check-list { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { flex: none; width: 22px; height: 22px; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--red); color: var(--cream); }
.apply-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.apply-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: clamp(24px, 3vw, 36px); border: 2.5px solid var(--ink); border-radius: 28px; background: var(--paper); box-shadow: 10px 10px 0 var(--ink); }
.apply-form .wide { grid-column: 1 / -1; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: 15px; }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--red); flex: none; }

/* Motion --------------------------------------------------------------- */

/* Every animation here only moves, scales or fades (cheap for phones), plays
   once, and is CSS-driven: no animation library is loaded. */

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

/* Load intro: waits for the fonts (html.is-loaded) so letters don't jump. */
.js:not(.is-loaded) :is([data-intro], [data-split], .wordmark .ch, .hero-title .li, .hero-food, .hero-dish) { opacity: 0; }
.is-loaded [data-intro] { animation: var(--intro, fade-up) .9s cubic-bezier(.2, .8, .2, 1) var(--delay, 0s) backwards; }
.is-loaded .wordmark .ch { animation: pop-in .8s var(--ease-pop) calc(.1s + var(--i) * 65ms) backwards; }
.is-loaded .hero-food { stroke-dasharray: 420 480; animation: draw 1.3s cubic-bezier(.6, 0, .2, 1) .7s backwards; }
.hero-title .ln { display: block; overflow: hidden; overflow: clip visible; padding-bottom: .07em; margin-bottom: -.07em; }
.hero-title .li { display: block; }
.is-loaded .hero-title .li { animation: rise .9s cubic-bezier(.2, .8, .2, 1) calc(.85s + var(--i) * 120ms) backwards; }
.is-loaded .hero-dish { animation: spin-in 1.2s var(--ease-pop) .4s backwards, float 6s ease-in-out 1.6s infinite; }

/* Scroll reveals use the standalone translate/scale properties, so they never
   clash with an element's own rotation or hover transform. */
.motion [data-reveal] {
  opacity: 0; translate: 0 34px;
  transition: opacity .8s ease var(--d, 0s), translate .9s cubic-bezier(.2, .8, .2, 1) var(--d, 0s), scale .9s var(--ease-pop) var(--d, 0s),
    transform .25s ease, background-color .18s ease, color .18s ease, box-shadow .2s ease;
}
.motion [data-reveal="left"] { translate: -48px 0; }
.motion [data-reveal="right"] { translate: 48px 0; }
.motion [data-reveal="pop"] { translate: 0 24px; scale: .82; }
.motion [data-reveal="fade"] { translate: none; }
.motion [data-reveal].is-in { opacity: 1; translate: none; scale: none; }

/* Headings rise word by word. */
.motion [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .05em .03em .1em; margin: -.05em -.03em -.1em; }
.motion [data-split] .wi { display: inline-block; translate: 0 115%; transition: translate .9s cubic-bezier(.2, .8, .2, 1) calc(var(--d, 0s) + var(--wi) * 85ms); }
.motion [data-split].is-in .wi { translate: none; }

/* Big wordmarks pop in letter by letter. */
.motion [data-chars] .ch { display: inline-block; opacity: 0; translate: 0 40%; scale: .6; transition: opacity .5s ease calc(var(--i) * 60ms), translate .8s var(--ease-pop) calc(var(--i) * 60ms), scale .8s var(--ease-pop) calc(var(--i) * 60ms); }
.motion [data-chars].is-in .ch { opacity: 1; translate: none; scale: none; }

/* The FOOD mark draws itself. */
.motion [data-draw] { stroke-dasharray: 420 480; stroke-dashoffset: 440; transition: stroke-dashoffset 1.4s cubic-bezier(.6, 0, .2, 1) .5s; }
.motion [data-draw].is-in { stroke-dashoffset: 0; }

/* Looping animations pause while they are off screen. */
.is-paused, .is-paused * { animation-play-state: paused !important; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px) rotate(-1.5deg); } }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(2.6); opacity: 0; } }
@keyframes bump { 40% { transform: scale(1.4); } }
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(26px); } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-18px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(35%) scale(.5) rotate(-10deg); } }
@keyframes pop { from { opacity: 0; transform: scale(.3) rotate(-25deg); } }
@keyframes spin-in { from { opacity: 0; transform: scale(.55) rotate(-70deg); } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-70px) rotate(24deg); } }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes draw { from { stroke-dashoffset: 440; } to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .motion [data-reveal], .motion [data-split] .wi, .motion [data-chars] .ch { opacity: 1; translate: none; scale: none; }
  .motion [data-draw] { stroke-dashoffset: 0; }
}

/* Responsive ----------------------------------------------------------- */

@media (max-width: 1100px) {
  .nav-links { gap: 22px; margin-left: 8px; }
  .why-grid { grid-template-columns: 1fr 1.3fr 1fr; }
  .price-sticker { right: 0; }
  .hero-drink { right: 0; }
}

@media (max-width: 960px) {
  .menu-toggle { display: inline-grid; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    display: none; flex-direction: column; gap: 0; margin: 0; padding: 12px 24px;
    background: var(--ink); border-radius: 24px; box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
  }
  .nav.is-open .nav-links { display: flex; animation: menu-in .3s var(--ease-pop); }
  .nav-links a { display: block; padding: 14px 0; font-size: 20px; }

  .hero { padding-bottom: 130px; }
  .hero-stage { display: flex; flex-direction: column; }
  .scribble { top: auto; bottom: -6px; right: 0; font-size: clamp(15px, 3.6vw, 22px); }
  .scribble-arrow { left: -50px; top: -22px; width: 44px; transform: scaleY(-1); }
  .hero-visual { order: 2; width: min(84%, 460px); min-width: 0; margin: 26px auto 0; }
  .hero-drink { width: 28%; right: -12%; top: 4%; }
  .hero-copy { order: 3; margin: 36px 0 0; }

  .feature { grid-template-columns: 1fr; }
  .feature-visual { width: min(100%, 520px); margin-inline: auto; }

  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-photo { grid-column: 1 / -1; grid-row: 1; }
  .facts-left { text-align: left; }
  .facts-left .fact p, .facts-left .fact-arrow { margin-left: 0; }
  .fact-arrow { display: none; }

  .drop-grid { grid-template-columns: 1fr; gap: 64px; }
  .drop-visual > img { margin-inline: auto; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { padding-top: 0; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  :root { --nav-h: 80px; --nav-glass-h: 60px; --nav-glass-top: 8px; }
  .nav { gap: 12px; }
  .site-header.is-glass .nav { padding: 0 6px 0 16px; }
  .logo-word { font-size: 38px; }
  .logo .food-mark { width: 40px; height: 9px; }
  .nav-order, .sound-btn { display: none; }
  .nav-actions { gap: 10px; }

  .hero-title { font-size: calc((100vw - 2 * var(--gutter)) / 11); }
  .hero-ctas .btn { flex: 1 1 auto; }
  .price-sticker { right: -10%; }
  .mood-badge { left: -10%; }
  .announce { font-size: 13px; padding-block: 8px; }

  .ticker { margin-top: -80px; }
  .cravings { padding-top: 100px; }
  .chip { min-height: 46px; padding: 9px 18px; font-size: 16px; }
  .meters dt { font-size: 14px; }

  .cards { gap: 20px; padding-top: 110px; }
  .card { min-height: 440px; padding-top: 180px; }
  .card img { width: 250px; height: 250px; top: -88px; }
  .lineup-nav { justify-content: center; }

  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .facts { gap: 32px; }

  .signup .display { font-size: calc((100vw - 2 * var(--gutter)) / 12.4); }
  .countdown div { min-width: 0; flex: 1 1 0; padding: 10px 6px; }
  .countdown b { font-size: 34px; }
  .drop { padding-bottom: 90px; }
  .scratch { position: relative; left: auto; bottom: auto; width: min(100%, 340px); margin: -40px auto 0; }

  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .page-hero-grid, .story-grid { grid-template-columns: 1fr; }
  .page-hero-visual { justify-self: center; width: min(86%, 420px); }
  .values, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .values { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .stats { gap: 22px 16px; }
  .menu-grid { gap: 110px 20px; padding-top: 110px; }
  .lineup-nav { flex-wrap: wrap; }
  .lineup-more { margin-right: 0; width: 100%; }
}

@media (max-width: 1100px) {
  .builder-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .builder-pick { grid-column: 1 / -1; }
  .builder-list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: none; }
}

@media (max-width: 760px) {
  .builder-grid, .hire-grid, .apply-grid, .hire-grid:has(> .lottie:not([hidden])) { grid-template-columns: 1fr; }
  .lottie-hire { width: min(70%, 240px); justify-self: center; }
  .lottie-apply { width: min(80%, 280px); margin-inline: auto; }
  .builder-list { grid-template-columns: 1fr; }
  .builder-stage { grid-template-columns: 40px 1fr; padding-top: 60px; }
  .belle-meter { height: 240px; }
  .roles { grid-template-columns: 1fr; }
  .apply-form { grid-template-columns: 1fr; }
}
