/* ==========================================================================
   Heart & Harvest — design system + sections
   Swap brand colours and type here; every component reads these tokens.
   ========================================================================== */

:root {
  --bg: #0b0b0a;
  --bg-2: #121210;
  --ink: #f3eee6;
  --muted: #8d877d;
  --muted-2: #a7a095;
  --red: #e3271b;
  --red-deep: #8f150d;
  --amber: #f2a93b;
  --neon-red: #ff2a1f;
  --neon-green: #3dff6a;
  --green-deep: #0e2a17;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);
  --glass: rgba(20, 20, 20, 0.55);
  --glass-border: rgba(255, 255, 255, 0.1);

  --serif: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.35s;
  --t-med: 0.7s;
  --t-slow: 1.1s;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --radius: 22px;
  --section-y: clamp(96px, 14vw, 180px);

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
::selection { background: var(--red); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important; 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: 16px; top: -60px; z-index: 200;
  background: var(--red); color: #fff; padding: 10px 16px; border-radius: 999px;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}
.skip:focus { top: 12px; }
.noscript { padding: 40px; text-align: center; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 2; }
.section { position: relative; padding: var(--section-y) 0; overflow: hidden; isolation: isolate; }

/* Section vignettes: very subtle deep-green / deep-red radial glows. */
.tint-green::before, .tint-red::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
.tint-green::before {
  background:
    radial-gradient(60% 50% at 15% 30%, rgba(30, 110, 55, 0.16), transparent 70%),
    radial-gradient(50% 40% at 90% 85%, rgba(140, 25, 15, 0.1), transparent 70%);
}
.tint-red::before {
  background:
    radial-gradient(55% 50% at 85% 20%, rgba(170, 30, 20, 0.17), transparent 70%),
    radial-gradient(45% 45% at 10% 90%, rgba(30, 110, 55, 0.1), transparent 70%);
}

/* ---------- Type ---------- */
.headline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.headline em, .headline .em { font-style: italic; color: var(--red); font-weight: 500; }
.headline--hero { font-size: clamp(56px, 9vw, 148px); line-height: 0.88; }
.headline--xl { font-size: clamp(48px, 7.4vw, 118px); }
.headline--xxl { font-size: clamp(72px, 12vw, 190px); line-height: 0.86; }
.headline--md { font-size: clamp(40px, 4.6vw, 68px); }
.headline--dish { font-size: clamp(38px, 4.6vw, 70px); line-height: 1; }
.headline--dish em { display: block; color: var(--red); font-size: 0.56em; margin-top: 0.3em; line-height: 1.1; }

/* Split words live in clip masks so they can rise from 110%. */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.04em 0.02em 0.12em; margin: -0.04em -0.02em -0.12em; }
.split .wi { display: inline-block; will-change: transform; }
.em-group { position: relative; display: inline; }
.em-group .ink {
  position: absolute; left: 0.04em; right: 0.04em; bottom: 0.02em; height: 0.06em;
  background: linear-gradient(90deg, var(--red), var(--neon-red));
  transform-origin: left center; border-radius: 1px;
  box-shadow: 0 0 18px rgba(255, 42, 31, 0.5);
}

.eyebrow, .micro {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--red); }
.lede { font-size: clamp(16px, 1.3vw, 19px); color: var(--muted-2); max-width: 46ch; margin-top: 28px; line-height: 1.65; }
.body { color: var(--muted-2); max-width: 48ch; margin-top: 24px; font-size: 16px; }
.sub-serif { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 30px); color: var(--ink); margin-top: 20px; }

/* ---------- Buttons, pills, glass ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 28px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease), border-color var(--t-fast);
  white-space: nowrap;
}
.btn--sm { --h: 42px; padding: 0 20px; font-size: 10px; }
.btn--red {
  background: var(--red); color: #fff;
  box-shadow: 0 10px 30px -10px rgba(227, 39, 27, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--red:hover { transform: translateY(-2px); background: #f0331f; box-shadow: 0 16px 40px -10px rgba(255, 42, 31, 0.8), 0 0 0 1px rgba(242, 169, 59, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn--ghost { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); color: var(--ink); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.btn-row--center { justify-content: center; }
.link-quiet { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); transition: color var(--t-fast); }
.link-quiet:hover { color: var(--ink); }

.pill {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line);
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2);
  background: rgba(255, 255, 255, 0.015);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.pill:hover { color: var(--amber); border-color: rgba(242, 169, 59, 0.5); }
.pill.is-active { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 24px -4px rgba(255, 42, 31, 0.6); }
.pill--sm { height: 34px; padding: 0 14px; font-size: 10px; }
.pill-toggle { display: flex; gap: 8px; margin-top: 36px; flex-wrap: wrap; }

.glass {
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 30px rgba(255, 255, 255, 0.02);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2);
  background: rgba(20, 20, 20, 0.4); backdrop-filter: blur(8px);
}
.chip__dot { width: 6px; height: 6px; border-radius: 50%; box-shadow: 0 0 10px currentColor; }
.chip--solid { gap: 10px; background: rgba(0, 0, 0, 0.25); border-color: rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.75); }
.chip--solid strong { color: #fff; font-weight: 600; letter-spacing: 0.06em; }

.round-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink);
  transition: border-color var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--ease), box-shadow var(--t-fast);
}
.round-btn:hover { border-color: var(--amber); color: var(--amber); box-shadow: 0 0 24px -6px rgba(242, 169, 59, 0.6); transform: scale(1.05); }

/* ---------- Floating bowls (circle cut-outs + contact shadow) ---------- */
.float-bowl {
  border-radius: 50%; overflow: hidden; aspect-ratio: 1;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 80px -20px rgba(242, 169, 59, 0.25);
  animation: bob 6s ease-in-out infinite;
}
.float-bowl img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); animation: slow-spin 60s linear infinite; }
@keyframes bob { 0%, 100% { translate: 0 -10px; } 50% { translate: 0 10px; } }
@keyframes slow-spin { to { rotate: 360deg; } }
.contact-shadow {
  position: absolute; left: 50%; bottom: -6%; width: 70%; height: 9%; translate: -50% 0;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0.85), transparent 70%);
  filter: blur(6px); animation: shadow-bob 6s ease-in-out infinite; z-index: 0;
}
@keyframes shadow-bob { 0%, 100% { transform: scaleX(1.05); opacity: 0.9; } 50% { transform: scaleX(0.85); opacity: 0.6; } }

/* ---------- Drifting dots ---------- */
.dots { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.dot-wrap { position: absolute; }
.dot { display: block; border-radius: 50%; box-shadow: 0 0 14px currentColor; opacity: 0.75; animation: drift 16s ease-in-out infinite alternate; }
@keyframes drift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(18px, -26px); }
  100% { transform: translate(-14px, 12px); }
}

/* ---------- Intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 300; background: #000;
  display: grid; place-items: center; align-content: center; gap: 18px;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.intro__mark { width: 84px; height: 84px; }
.intro__mark path { stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.2s var(--ease) forwards; }
.intro__mark path + path { stroke: var(--red); animation-delay: 0.35s; }
.intro__word { font-family: var(--serif); font-size: 22px; letter-spacing: 0.04em; opacity: 0.35; animation: fade-in 0.8s 0.5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
.intro.is-done { opacity: 0; visibility: hidden; }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -100%; z-index: 250; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(4%, -7%); }
  60% { transform: translate(-3%, 8%); } 80% { transform: translate(7%, 2%); } 100% { transform: translate(0, 0); }
}

/* ---------- Cursor ---------- */
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input[type='search'], .has-cursor input[type='email'] { cursor: text !important; }
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 400; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--red); box-shadow: 0 0 10px var(--neon-red); }
.cursor__ring {
  width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid rgba(243, 238, 230, 0.45);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.cursor__ring.is-hot { width: 68px; height: 68px; margin: -34px 0 0 -34px; border-color: var(--amber); background: rgba(242, 169, 59, 0.08); }
.cursor-out .cursor { opacity: 0; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 22px var(--gutter);
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(11, 11, 10, 0.72); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); padding-top: 14px; padding-bottom: 14px; border-color: var(--line-soft); }
.nav__brand { justify-self: start; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; }
.wordmark .monogram { color: var(--ink); flex: none; }
.wordmark__text { display: flex; flex-direction: column; line-height: 1; }
.wordmark__name { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.wordmark__sub { font-size: 8.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav__links { display: flex; gap: 34px; }
.nav__links a { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); position: relative; padding: 6px 0; transition: color var(--t-fast); }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { justify-self: end; display: flex; align-items: center; gap: 22px; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.nav__burger span:not(.sr-only) { position: absolute; left: 13px; right: 13px; height: 1px; background: var(--ink); transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.nav__burger span:nth-child(2) { top: 18px; }
.nav__burger span:nth-child(3) { top: 25px; }
.is-open .nav__burger span:nth-child(2) { top: 21.5px; transform: rotate(45deg); }
.is-open .nav__burger span:nth-child(3) { top: 21.5px; transform: rotate(-45deg); }
.mobile-menu { display: none; }

/* ---------- Section rail ---------- */
.rail { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 90; }
.rail ol { display: flex; flex-direction: column; gap: 4px; }
.rail a { display: flex; align-items: center; justify-content: flex-end; gap: 12px; height: 22px; }
.rail__dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(243, 238, 230, 0.28); transition: background 0.4s, transform 0.4s var(--ease), box-shadow 0.4s; }
.rail__label { font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); opacity: 0; transform: translateX(8px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); white-space: nowrap; }
.rail a:hover .rail__label, .rail a:focus-visible .rail__label { opacity: 0.7; transform: none; }
.rail .is-active .rail__dot { background: var(--red); transform: scale(1.5); box-shadow: 0 0 12px var(--neon-red); }
.rail .is-active .rail__label { opacity: 1; transform: none; color: var(--red); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 260; translate: -50% 140%;
  padding: 14px 22px; border-radius: 999px; font-size: 13px; max-width: calc(100vw - 32px);
  transition: translate 0.6s var(--ease), opacity 0.4s; opacity: 0; pointer-events: none;
}
.toast.is-on { translate: -50% 0; opacity: 1; }

/* ---------- 3D scene wrapper ---------- */
.scene { position: absolute; }
.scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scene__fallback { position: absolute; inset: 0; transition: opacity 1s var(--ease); }
.scene.is-ready .scene__fallback { opacity: 0; pointer-events: none; }
.scene--full { inset: 0; }
.scene--full .scene__fallback img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   01 Hero
   ========================================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 140px 0 40px; overflow: hidden; isolation: isolate; }
.hero__horizon { position: absolute; inset: 0; z-index: 0; perspective: 520px; perspective-origin: 50% 58%; pointer-events: none; }
.hero__sun {
  position: absolute; left: 62%; top: 58%; width: 60vw; height: 60vw; translate: -50% -50%;
  background: radial-gradient(circle, rgba(227, 39, 27, 0.28), rgba(227, 39, 27, 0.06) 40%, transparent 65%);
}
.skyline { position: absolute; left: 0; right: 0; top: calc(58% - 160px); height: 160px; width: 100%; opacity: 0.85; }
.grid-floor {
  position: absolute; left: -60%; right: -60%; top: 58%; height: 90%;
  transform-origin: top center; transform: rotateX(70deg);
  background-image:
    linear-gradient(rgba(255, 42, 31, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 42, 31, 0.35) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: grid-run 2.2s linear infinite;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 60%, transparent 100%);
}
.hero__horizon::after { content: ''; position: absolute; left: 0; right: 0; top: 58%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 42, 31, 0.9), transparent); box-shadow: 0 0 24px 2px rgba(255, 42, 31, 0.6); }
@keyframes grid-run { to { background-position: 0 64px; } }

.hero__scene { right: 0; top: 0; bottom: 0; width: 58%; z-index: 1; }
.hero__scene .scene__fallback { display: grid; place-items: center; }
.float-bowl--hero { width: min(34vw, 520px); margin-top: 6vh; }
.hero__mini { position: absolute; right: 5%; top: 21%; z-index: 2; }
.float-bowl--mini { width: clamp(90px, 9vw, 150px); animation-duration: 7s; animation-delay: -2s; }
.hero__inner { z-index: 3; }
.hero__copy { max-width: 720px; }
.hero__stats { display: flex; align-items: flex-end; gap: clamp(28px, 5vw, 72px); margin-top: auto; padding-top: 48px; z-index: 3; }
.stat { display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--line); padding-left: 18px; }
.stat__value { font-family: var(--serif); font-size: clamp(32px, 3.4vw, 50px); line-height: 1; }
.stat__label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.hero__scroll { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.hero__scroll span { width: 1px; height: 46px; background: linear-gradient(var(--red), transparent); animation: scroll-cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes scroll-cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.badge-spin { position: absolute; right: 8%; bottom: 17%; width: 128px; height: 128px; z-index: 3; display: grid; place-items: center; }
.badge-spin svg { position: absolute; inset: 0; animation: slow-spin 18s linear infinite; }
.badge-spin text { fill: var(--ink); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--sans); font-weight: 500; }
.badge-spin__core { width: 48px; height: 48px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: 22px; color: #fff; box-shadow: 0 0 30px rgba(255, 42, 31, 0.6); }

/* ==========================================================================
   02 Eat Local
   ========================================================================== */
.eat-local__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.eat-local__visual { position: relative; display: grid; place-items: center; padding: 8% 0; }
.eat-local__halo { position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(61, 255, 106, 0.12), transparent 62%); }
.bowl-stage { position: relative; width: min(88%, 520px); aspect-ratio: 1; }
.float-bowl--orbit { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--ease), scale 0.9s var(--ease); scale: 0.94; z-index: 2; }
.float-bowl--orbit.is-on { opacity: 1; scale: 1; }
.orbit { position: absolute; left: -12.5%; top: 52%; width: 125%; height: 0; }
.orbit-pill {
  position: absolute; left: 50%; top: 0; white-space: nowrap;
  padding: 9px 16px; border-radius: 999px; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  will-change: transform;
}
.orbit-pill::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--neon-green); margin-right: 8px; box-shadow: 0 0 8px var(--neon-green); vertical-align: 1px; }
.orbit-pill:nth-child(3n + 2)::before { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.orbit-pill:nth-child(3n)::before { background: var(--neon-red); box-shadow: 0 0 8px var(--neon-red); }
/* Back-half pills sit behind the bowl (z 1), front-half in front (z 3); set in JS. */
.farm-note { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 13px; color: var(--muted-2); }
.farm-note__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--neon-green); box-shadow: 0 0 12px var(--neon-green); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

/* ==========================================================================
   03 + 07 Pinned 3D sections
   ========================================================================== */
.section-3d { position: relative; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; background: #070708; }
.section-3d .scene { z-index: 0; }
.section-3d__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(7, 7, 8, 0.82) 0%, rgba(7, 7, 8, 0.3) 45%, transparent 70%), linear-gradient(0deg, rgba(7, 7, 8, 0.7), transparent 40%); }
.section-3d__inner { height: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-top: 120px; padding-bottom: clamp(48px, 8vh, 96px); pointer-events: none; }
.section-3d__inner > * { pointer-events: auto; }
.section-3d__inner--top { align-items: flex-end; }
.section-3d__copy { max-width: 760px; }
.section-3d__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 3; background: rgba(255, 255, 255, 0.06); }
.section-3d__progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--neon-red)); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px var(--neon-red); }

.steps { display: flex; flex-direction: column; gap: 12px; width: min(360px, 100%); flex: none; }
.step { display: flex; gap: 16px; padding: 18px 20px; border-radius: 18px; opacity: 0.25; transform: translateX(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), border-color 0.7s; }
.step.is-on { opacity: 1; transform: none; }
.step.is-current { border-color: rgba(61, 255, 106, 0.4); box-shadow: 0 0 40px -12px rgba(61, 255, 106, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.step__n { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--neon-green); line-height: 1; text-shadow: 0 0 14px rgba(61, 255, 106, 0.6); }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.1; }
.step p { font-size: 13px; color: var(--muted-2); margin-top: 6px; line-height: 1.5; }

.partner-list { display: flex; flex-direction: column; gap: 10px; flex: none; }
.partner-list li { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); }
.partner-list__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--neon-red); box-shadow: 0 0 10px var(--neon-red); }

/* CSS2D partner labels inside Scene C */
.city-label {
  padding: 10px 14px; border-radius: 12px; white-space: nowrap; pointer-events: none;
  background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-family: var(--sans); color: var(--ink); text-align: left;
  opacity: 0; translate: 0 10px; transition: opacity 0.6s var(--ease), translate 0.6s var(--ease);
}
.city-label.is-on { opacity: 1; translate: 0 0; }
.city-label small { display: block; font-size: 8.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--neon-red); margin-bottom: 3px; }
.city-label span { font-family: var(--serif); font-size: 17px; }
.city-label--kitchen small { color: var(--neon-green); }
.labels-layer { position: absolute; inset: 0; pointer-events: none; z-index: 1; }

/* ==========================================================================
   04 Goals
   ========================================================================== */
.goals__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.goals__intro { position: sticky; top: 140px; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item h3 { font: inherit; }
.acc-head { width: 100%; display: grid; grid-template-columns: 44px 1fr auto 28px; align-items: center; gap: 16px; padding: 28px 4px; text-align: left; }
.acc-head__n { font-size: 11px; letter-spacing: 0.2em; color: var(--muted); }
.acc-head__title { font-family: var(--serif); font-size: clamp(28px, 2.8vw, 42px); line-height: 1; transition: color var(--t-fast); }
.acc-head__sub { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.acc-head:hover .acc-head__title { color: var(--amber); }
.is-open .acc-head__title { color: var(--ink); font-style: italic; }
.acc-head__icon { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); transition: transform 0.6s var(--ease), background 0.4s, border-color 0.4s; }
.acc-head__icon::before, .acc-head__icon::after { content: ''; position: absolute; left: 8px; right: 8px; top: 13px; height: 1px; background: currentColor; }
.acc-head__icon::after { transform: rotate(90deg); transition: transform 0.6s var(--ease); }
.is-open .acc-head__icon { background: var(--red); border-color: var(--red); transform: rotate(180deg); }
.is-open .acc-head__icon::after { transform: rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.8s var(--ease); }
.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel__inner { overflow: hidden; min-height: 0; }
.goal-card {
  margin: 0 0 28px; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 90, 50, 0.35), transparent 55%),
    linear-gradient(140deg, #b81d12 0%, #7d120b 55%, #3a0906 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 60px rgba(255, 120, 80, 0.12), 0 30px 70px -30px rgba(227, 39, 27, 0.6);
  opacity: 0; transform: translateY(14px); transition: opacity 0.6s 0.15s var(--ease), transform 0.8s 0.15s var(--ease);
}
.is-open .goal-card { opacity: 1; transform: none; }
.goal-card__top { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; }
.dial { position: relative; width: 150px; height: 150px; }
.dial svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.dial circle { fill: none; stroke-width: 6; }
.dial__track { stroke: rgba(255, 255, 255, 0.15); }
.dial__bar { stroke: #fff; stroke-linecap: round; transition: stroke-dashoffset 1.4s var(--ease); }
.dial__text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dial__text strong { font-family: var(--serif); font-size: 40px; font-weight: 500; line-height: 1; }
.dial__text span { font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); margin-top: 4px; }
.kcal { display: block; }
.kcal__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.kcal__row .micro { color: rgba(255, 255, 255, 0.75); }
.kcal__row strong { font-family: var(--serif); font-size: 26px; font-weight: 500; }
input[type='range'] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #fff var(--fill), rgba(255, 255, 255, 0.2) var(--fill)); outline-offset: 8px; }
input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--amber); box-shadow: 0 0 0 6px rgba(242, 169, 59, 0.25); cursor: grab; }
input[type='range']::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--amber); box-shadow: 0 0 0 6px rgba(242, 169, 59, 0.25); }
.macro-chips { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.goal-card__day { margin: 26px 0 10px; color: rgba(255, 255, 255, 0.75); }
.meal-rows { display: flex; flex-direction: column; gap: 8px; }
.meal-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 8px 16px 8px 8px; border-radius: 16px; background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(255, 255, 255, 0.08); transition: background var(--t-fast); }
.meal-row:hover { background: rgba(0, 0, 0, 0.35); }
.meal-row__thumb { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; }
.meal-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.meal-row__text { display: flex; flex-direction: column; gap: 2px; font-family: var(--serif); font-size: 19px; line-height: 1.15; }
.meal-row__text .micro { font-family: var(--sans); font-size: 9.5px; color: rgba(255, 255, 255, 0.7); }
.meal-row__kcal { font-size: 12px; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.85); }

/* ==========================================================================
   05 Lifestyle coverflow
   ========================================================================== */
.lifestyle__head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.coverflow { position: relative; height: clamp(500px, 52vw, 680px); margin-top: 70px; perspective: 1400px; touch-action: pan-y; }
.cf-card {
  position: absolute; left: 50%; top: 50%; width: min(400px, 74vw); aspect-ratio: 3 / 4;
  border-radius: 26px; overflow: hidden; cursor: pointer;
  transition: transform 1s var(--ease), filter 1s var(--ease), opacity 1s var(--ease);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.07);
  --rx: 0deg; --ry: 0deg;
}
.cf-card.pos-c { transform: translate(-50%, -50%) scale(1.08) rotateX(var(--rx)) rotateY(var(--ry)); z-index: 3; cursor: default; transition: transform 1s var(--ease), filter 1s, opacity 1s, box-shadow 0.5s; }
.cf-card.pos-c:hover { box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(242, 169, 59, 0.35), 0 0 70px -20px rgba(242, 169, 59, 0.4); }
.cf-card.pos-l { transform: translate(calc(-50% - 78%), -50%) scale(0.88) rotateY(12deg); filter: blur(3px) brightness(0.6); opacity: 0.6; z-index: 1; }
.cf-card.pos-r { transform: translate(calc(-50% + 78%), -50%) scale(0.88) rotateY(-12deg); filter: blur(3px) brightness(0.6); opacity: 0.6; z-index: 1; }
.cf-card__media { position: absolute; inset: 0; }
.cf-card__media img { width: 100%; height: 100%; object-fit: cover; }
.cf-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(5, 5, 5, 0.92) 100%); }
.cf-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cf-card__title { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 3vw, 46px); line-height: 0.95; }
.cf-card__title em { color: var(--red); }
.cf-card__body p { font-size: 14px; color: rgba(243, 238, 230, 0.75); margin-bottom: 6px; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 40px; position: relative; z-index: 2; }
.carousel-dots { display: flex; gap: 10px; }
.carousel-dots button { width: 8px; height: 8px; border-radius: 999px; background: rgba(243, 238, 230, 0.25); transition: width 0.5s var(--ease), background 0.4s; position: relative; }
.carousel-dots button::before { content: ''; position: absolute; inset: -10px; }
.carousel-dots .is-active { width: 28px; background: var(--red); }

/* Shared specular highlight for tilt cards. */
[data-tilt] { --mx: 50%; --my: 50%; }
[data-tilt]::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 4;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.13), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}
[data-tilt]:hover::after { opacity: 1; }

/* ==========================================================================
   06 Ingredients
   ========================================================================== */
.ingredients { background: radial-gradient(80% 70% at 30% 50%, rgba(25, 80, 42, 0.55), transparent 70%), linear-gradient(180deg, var(--bg), #08170d 30%, #08170d 70%, var(--bg)); }
.ingredients__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.plate-stage { position: relative; width: min(100%, 580px); aspect-ratio: 1; margin: 0 auto; }
.plate-ring { position: absolute; inset: -6%; border-radius: 50%; border: 1px dashed rgba(61, 255, 106, 0.25); animation: slow-spin 80s linear infinite reverse; }
.plate-ring::before { content: ''; position: absolute; inset: 8%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.06); }
.plate-spin { position: absolute; inset: 6%; z-index: 2; }
.plate-rotate { position: absolute; inset: 0; animation: slow-spin 40s linear infinite; }
.plate { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; opacity: 0; transition: opacity 0.9s var(--ease); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.95), 0 0 0 10px rgba(255, 255, 255, 0.03), 0 0 0 11px rgba(255, 255, 255, 0.07); }
.plate.is-on { opacity: 1; }
.plate img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.contact-shadow--lg { bottom: -2%; z-index: 1; }
.float-tag {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 16px; border-radius: 999px; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
  animation: tag-in 0.9s var(--d) var(--ease) both, bob 6s calc(var(--d) * 8) ease-in-out infinite;
}
.float-tag__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--neon-green); box-shadow: 0 0 10px var(--neon-green); }
.float-tag--tl { left: -4%; top: 12%; }
.float-tag--tr { right: -6%; top: 24%; }
.float-tag--bl { left: 2%; bottom: 18%; }
.float-tag--br { right: -2%; bottom: 8%; }
@keyframes tag-in { from { opacity: 0; scale: 0.8; } to { opacity: 1; scale: 1; } }
.macro-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.macro-row > div { padding: 20px 0 20px 18px; border-left: 1px solid var(--line); }
.macro-row > div:first-child { border-left: 0; padding-left: 0; }
.macro-row dt { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.macro-row dd { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; margin-top: 6px; }
.dish-nav { display: flex; align-items: center; gap: 20px; margin-top: 40px; }
.dish-nav__count { font-size: 12px; letter-spacing: 0.2em; color: var(--muted); }
.dish-nav__count strong { color: var(--ink); font-weight: 500; }

/* ==========================================================================
   08 CTA + testimonials + press
   ========================================================================== */
.cta__head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta__head .headline { max-width: 14ch; }
.marquee { margin-top: clamp(80px, 10vw, 130px); position: relative; z-index: 2; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__note { text-align: center; margin-bottom: 22px; color: var(--muted); }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee 60s linear infinite; padding: 6px 0; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
.quote-card { width: 360px; padding: 26px 28px; border-radius: var(--radius); flex: none; display: flex; flex-direction: column; gap: 16px; transition: border-color 0.4s, box-shadow 0.4s; }
.quote-card:hover { border-color: rgba(242, 169, 59, 0.35); box-shadow: 0 0 50px -20px rgba(242, 169, 59, 0.4); }
.quote-card__stars { color: var(--amber); letter-spacing: 0.2em; font-size: 12px; }
.quote-card blockquote { font-family: var(--serif); font-size: 21px; line-height: 1.3; }
.quote-card figcaption { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: auto; }
.quote-card figcaption strong { color: var(--ink); font-weight: 500; }
.press { margin-top: 90px; text-align: center; }
.press__note { letter-spacing: 0.1em; text-transform: none; color: var(--muted); }
.press ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(28px, 5vw, 72px); margin-top: 28px; color: rgba(243, 238, 230, 0.55); }
.press li { transition: color 0.4s; }
.press li:hover { color: var(--ink); }
.press--serif { font-family: var(--serif); font-size: 28px; font-weight: 600; }
.press--caps { font-size: 13px; letter-spacing: 0.4em; font-weight: 600; }
.press--italic { font-family: var(--serif); font-style: italic; font-size: 30px; }
.press--mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 15px; letter-spacing: 0.08em; }
.press--amp { font-family: var(--serif); font-size: 24px; letter-spacing: 0.12em; text-transform: uppercase; }

/* ==========================================================================
   09 Menu
   ========================================================================== */
.menu__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.search { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px; border-radius: 999px; width: min(380px, 100%); color: var(--muted-2); transition: border-color 0.4s, box-shadow 0.4s; }
.search:focus-within { border-color: rgba(242, 169, 59, 0.55); box-shadow: 0 0 30px -10px rgba(242, 169, 59, 0.5); }
.search input { flex: 1; background: none; border: 0; outline: 0; height: 100%; color: var(--ink); font-size: 14px; min-width: 0; }
.search input::placeholder { color: var(--muted); }
.pill-toggle--wrap { margin-top: 40px; }
.menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.menu-card {
  position: relative; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line-soft); overflow: hidden;
  --rx: 0deg; --ry: 0deg; --lift: 0px;
  transform: perspective(900px) translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.6s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
  animation: card-in 0.7s var(--ease) both;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.menu-card:hover { --lift: -8px; border-color: rgba(242, 169, 59, 0.4); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 60px -18px rgba(242, 169, 59, 0.45); transition: transform 0.15s linear, box-shadow 0.5s var(--ease), border-color 0.5s; }
@keyframes card-in { from { opacity: 0; transform: perspective(900px) translateY(20px) scale(0.97); } }
.menu-card__media { position: relative; aspect-ratio: 1; overflow: hidden; }
.menu-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.menu-card:hover .menu-card__media img { transform: scale(1.06); }
.menu-card__badge { position: absolute; left: 14px; top: 14px; padding: 7px 12px; border-radius: 999px; background: rgba(11, 11, 10, 0.7); backdrop-filter: blur(10px); border: 1px solid var(--glass-border); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; }
.menu-card__body { padding: 20px 20px 22px; position: relative; }
.menu-card h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.1; padding-right: 44px; }
.menu-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 14px; font-size: 11.5px; color: var(--muted-2); }
.menu-card__meta strong { font-size: 15px; color: var(--ink); font-weight: 600; }
.menu-card__add { position: absolute; right: 18px; top: 18px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); font-size: 18px; line-height: 1; transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.menu-card__add:hover { background: var(--red); border-color: var(--red); transform: rotate(90deg); }
.menu-empty { margin-top: 40px; color: var(--muted-2); text-align: center; }

/* ==========================================================================
   10 Delivery + CSS 3D bag
   ========================================================================== */
.delivery { min-height: 100vh; display: flex; align-items: center; }
.delivery__bg { position: absolute; inset: -40px; z-index: -1; }
.delivery__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) blur(10px) brightness(0.35); }
.delivery__bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 70% at 70% 55%, rgba(227, 39, 27, 0.18), transparent 60%), linear-gradient(180deg, var(--bg), rgba(11, 11, 10, 0.4) 30%, rgba(11, 11, 10, 0.5) 70%, var(--bg)); }
.delivery__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }

.bag-scene { position: relative; height: 520px; display: grid; place-items: center; perspective: 1200px; }
.bag-drop { transform-origin: 50% 100%; transform-style: preserve-3d; }
.bag-sway { transform-style: preserve-3d; transform-origin: 50% 100%; }
.bag-landed .bag-sway { animation: sway 5s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotateY(-8deg) rotateZ(-1.2deg); } 50% { transform: rotateY(10deg) rotateZ(1.2deg); } }
.bag { --w: 220px; --h: 260px; --d: 120px; position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d; transform: rotateX(-12deg) rotateY(-28deg); }
.bag__face { position: absolute; left: 50%; top: 50%; backface-visibility: hidden; }
.bag__front, .bag__back { width: var(--w); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2); }
.bag__left, .bag__right { width: var(--d); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--d) / -2); }
.bag__top, .bag__bottom { width: var(--w); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--w) / -2); }
.bag__front {
  transform: translateZ(calc(var(--d) / 2));
  background: linear-gradient(160deg, #ffbf55 0%, var(--amber) 30%, #e8632a 70%, var(--red) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #1a0906;
  box-shadow: inset 0 0 50px rgba(120, 20, 0, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.4);
}
.bag__front .monogram { color: #1a0906; }
.bag__front .monogram path:last-child { fill: #1a0906; }
.bag__name { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: 0.12em; text-transform: uppercase; }
.bag__tag { font-size: 8px; letter-spacing: 0.28em; text-transform: uppercase; opacity: 0.75; }
.bag__back { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); background: linear-gradient(160deg, #e8632a, #a3170d); }
.bag__right { transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); background: linear-gradient(180deg, #d9471f, #8f150d); box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.35); }
.bag__left { transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); background: linear-gradient(180deg, #f08a33, #c4321a); }
.bag__top { transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); background: linear-gradient(90deg, #2a0805, #4a0d08); box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8); }
.bag__bottom { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); background: #5a0f09; }
.bag__handle { position: absolute; left: 50%; top: 0; width: 110px; height: 80px; margin: -66px 0 0 -55px; border: 9px solid #c4321a; border-bottom: 0; border-radius: 60px 60px 0 0; }
.bag__handle--front { transform: translateZ(calc(var(--d) / 2 - 18px)); border-color: #f08a33; }
.bag__handle--back { transform: translateZ(calc(var(--d) / -2 + 18px)); }
.bag-shadow { position: absolute; bottom: 60px; left: 50%; width: 300px; height: 40px; margin-left: -150px; background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0.9), transparent 70%); filter: blur(8px); z-index: -1; }
.bag-scene::before { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 169, 59, 0.28), transparent 65%); filter: blur(10px); }

/* ---------- FAQ ---------- */
.faq { padding-top: 40px; }
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 110px); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 4px; font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); cursor: pointer; transition: color var(--t-fast); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--amber); }
.faq__item summary .acc-head__icon { flex: none; color: var(--ink); }
.faq__item[open] summary .acc-head__icon { background: var(--red); border-color: var(--red); transform: rotate(180deg); }
.faq__item[open] summary .acc-head__icon::after { transform: rotate(0deg); }
.faq__item p { padding: 0 4px 26px; color: var(--muted-2); max-width: 60ch; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding: 90px 0 40px; position: relative; background: radial-gradient(60% 80% at 50% 120%, rgba(227, 39, 27, 0.12), transparent 70%); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 0.7fr 0.7fr 1.5fr; gap: 48px; }
.footer__grid > * { min-width: 0; }
.footer__tag { font-family: var(--serif); font-style: italic; font-size: 26px; margin: 22px 0 8px; }
.footer__col ul { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: var(--muted-2); font-size: 14px; transition: color var(--t-fast); }
.footer__col a:hover { color: var(--amber); }
.footer__news > p:not(.micro) { color: var(--muted-2); font-size: 14px; margin-top: 14px; }
.news-form { display: flex; gap: 8px; margin-top: 18px; padding: 6px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); transition: border-color 0.4s; }
.news-form:focus-within { border-color: rgba(242, 169, 59, 0.55); }
.news-form input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 0 16px; font-size: 14px; }
.news-done { margin-top: 18px; color: var(--neon-green); font-size: 14px; }
.socials { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.footer__base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 80px; padding-top: 28px; border-top: 1px solid var(--line-soft); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.footer__credit { color: var(--ink); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__links { gap: 22px; }
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1023px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links, .nav__actions .link-quiet { display: none; }
  .nav__burger { display: block; }
  /* Full-screen menu: a sibling of the nav, so the nav's backdrop-filter can't shrink it. */
  .mobile-menu {
    display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
    position: fixed; inset: 0; z-index: 99; overflow-y: auto; overscroll-behavior: contain;
    padding: 112px var(--gutter) max(32px, env(safe-area-inset-bottom));
    background:
      radial-gradient(70% 45% at 90% 0%, rgba(170, 30, 20, 0.22), transparent 70%),
      radial-gradient(60% 40% at 0% 100%, rgba(30, 110, 55, 0.14), transparent 70%),
      #0b0b0a;
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu__links { display: flex; flex-direction: column; border-top: 1px solid var(--line-soft); }
  .mobile-menu__links a {
    display: flex; align-items: baseline; gap: 18px; padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
    font-family: var(--serif); font-size: clamp(34px, 10vw, 46px); line-height: 1.05;
    animation: menu-in 0.7s calc(var(--i) * 0.06s) var(--ease) both;
  }
  .mobile-menu__links a:hover, .mobile-menu__links a:focus-visible { color: var(--amber); }
  .mobile-menu__n { font-family: var(--sans); font-size: 10px; letter-spacing: 0.2em; color: var(--red); min-width: 20px; }
  .mobile-menu__foot { display: flex; flex-direction: column; align-items: stretch; gap: 18px; animation: menu-in 0.7s calc(var(--i) * 0.06s) var(--ease) both; }
  .mobile-menu__foot .btn { flex-shrink: 0; }
  .mobile-menu__foot .link-quiet { align-self: center; padding: 8px; }
  .mobile-menu__foot .micro { text-align: center; color: var(--muted); }
  .nav.is-open { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: transparent; }
  body.menu-open { overflow: hidden; }
  @keyframes menu-in { from { opacity: 0; transform: translateY(24px); } }
  .rail { display: none; }
  .eat-local__grid, .goals__grid, .ingredients__grid, .delivery__grid, .faq__grid { grid-template-columns: 1fr; }
  .goals__intro { position: static; }
  .eat-local__visual { order: -1; }
  .hero__scene { position: relative; width: 100%; height: min(64vw, 560px); order: 2; margin-top: 24px; }
  .float-bowl--hero { width: min(56vw, 420px); margin: 0; }
  .hero__stats { order: 3; }
  .badge-spin { top: auto; bottom: 150px; right: 6%; }
  .section-3d__inner { flex-direction: column; align-items: flex-start; justify-content: flex-end; }
  .steps { width: 100%; }
}

@media (max-width: 767px) {
  .hero { padding-top: 120px; }
  .hero__scene { height: 76vw; }
  .float-bowl--hero { width: 70vw; }
  .wordmark__name { font-size: 16px; white-space: nowrap; letter-spacing: 0.06em; }
  .wordmark__sub { display: none; }
  .wordmark .monogram { width: 26px; height: 26px; }
  .nav__actions { gap: 10px; }
  .orbit { left: 0; width: 100%; }
  .section-3d__shade { background: linear-gradient(0deg, rgba(7, 7, 8, 0.96) 35%, rgba(7, 7, 8, 0.4) 70%, transparent); }
  .hero__mini { right: 6%; top: 92px; }
  .float-bowl--mini { width: 74px; }
  .badge-spin { width: 92px; height: 92px; right: 4%; bottom: 120px; }
  .badge-spin text { font-size: 9px; }
  .hero__stats { gap: 18px; }
  .hero__scroll { display: none; }
  .stat { padding-left: 12px; }
  .hero__horizon { perspective-origin: 50% 70%; }
  .skyline { top: calc(70% - 110px); height: 110px; }
  .grid-floor, .hero__horizon::after { top: 70%; }
  .hero__sun { top: 70%; left: 50%; width: 120vw; height: 120vw; }
  .btn-row .btn { flex: 1 1 auto; }
  .orbit-pill { font-size: 9px; padding: 7px 11px; }
  .section-3d { height: auto; min-height: 100svh; }
  .section-3d .scene--full { position: absolute; }
  .section-3d__inner { padding-top: 46vh; }
  .goal-card__top { grid-template-columns: 1fr; justify-items: center; }
  .goal-card__controls { width: 100%; }
  .acc-head { grid-template-columns: 32px 1fr 28px; }
  .acc-head__sub { grid-column: 2; grid-row: 2; }
  .acc-head__icon { grid-column: 3; grid-row: 1 / span 2; }
  .cf-card { width: 74vw; }
  .cf-card.pos-l { transform: translate(calc(-50% - 70%), -50%) scale(0.86) rotateY(12deg); }
  .cf-card.pos-r { transform: translate(calc(-50% + 70%), -50%) scale(0.86) rotateY(-12deg); }
  .coverflow { height: 112vw; max-height: 560px; margin-top: 40px; }
  .float-tag { font-size: 9px; padding: 8px 12px; }
  .float-tag--tl { left: 0; } .float-tag--tr { right: 0; } .float-tag--br { right: 0; }
  .macro-row { grid-template-columns: repeat(2, 1fr); }
  .macro-row > div:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .macro-row > div:nth-child(4) { border-top: 1px solid var(--line); }
  .menu-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .menu-card h3 { font-size: 18px; padding-right: 0; }
  .menu-card__body { padding: 14px; }
  .menu-card__add { display: none; }
  .menu-card__meta { flex-direction: column; gap: 4px; }
  .quote-card { width: 280px; }
  .bag-scene { height: 420px; }
  .bag { --w: 170px; --h: 200px; --d: 96px; }
  .bag__handle { width: 86px; height: 64px; margin: -54px 0 0 -43px; border-width: 7px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 420px) {
  .menu-grid { grid-template-columns: 1fr; }
  .nav { padding-left: 16px; padding-right: 16px; }
  .wordmark { gap: 9px; }
  .wordmark__name { font-size: 14.5px; letter-spacing: 0.05em; }
  .nav__actions .btn--sm { padding: 0 14px; letter-spacing: 0.14em; }
}

/* Narrow phones: Order Now lives in the mobile menu and the hero instead. */
@media (max-width: 400px) {
  .nav__actions > .btn { display: none; }
  .wordmark__name { font-size: 16px; }
}

/* ==========================================================================
   Reduced motion: no smooth scroll, no loops, no 3D (handled in JS).
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .grain { display: none; }
  .marquee { overflow-x: auto; }
  .intro { display: none; }
}
