/* ==========================================================================
   The Waffle Club
   1. Fonts & tokens   2. Base   3. Layout helpers   4. Components
   5. Header           6. Traveler (signature)        7. Sections 01-05
   8. Footer           9. Motion states              10. Responsive
   ========================================================================== */

/* 1. Fonts & tokens ------------------------------------------------------ */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-italic.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --cream: #F3EADB;
  --cream-2: #EBDFCB;
  --sand: #E1CDAC;
  --choc: #2B1A12;
  --choc-2: #1F130D;
  --choc-3: #3A251A;
  --caramel: #B8742F;
  --caramel-soft: #E3B77B;
  --ink: #2B1A12;
  --ink-muted: #6F5B4C;
  --on-dark: #F3EADB;
  --on-dark-muted: rgba(243, 234, 219, .68);
  --line: rgba(43, 26, 18, .14);
  --line-dark: rgba(243, 234, 219, .16);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 4.2vw, 72px);
  --max: 1520px;
  --header-h: 76px;
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --fs-display: clamp(3.1rem, 7.2vw, 8.4rem);
  --fs-display-md: clamp(3rem, 6.4vw, 7.2rem);
  --fs-headline: clamp(2.5rem, 5.1vw, 5.6rem);
  --fs-lead: clamp(1.02rem, 1.1vw, 1.18rem);
}

/* 2. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--caramel); outline-offset: 4px; border-radius: 6px; }
::selection { background: var(--caramel-soft); color: var(--choc); }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--choc); color: var(--on-dark); padding: 10px 16px; border-radius: 999px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* 3. Layout helpers ------------------------------------------------------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.theme-dark { background: var(--choc); color: var(--on-dark); }

/* 4. Components ------------------------------------------------------------ */

.display, .headline {
  font-family: var(--serif);
  font-weight: 340;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  letter-spacing: -.035em;
  line-height: .94;
}
.display { font-size: var(--fs-display); }
.display--md { font-size: var(--fs-display-md); }
.headline { font-size: var(--fs-headline); line-height: .98; }
.display em, .headline em {
  font-style: italic; font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--caramel);
}
.theme-dark .display em, .theme-dark .headline em { color: var(--caramel-soft); }

.lead { font-size: var(--fs-lead); line-height: 1.65; color: var(--ink-muted); max-width: 34em; }
.theme-dark .lead { color: var(--on-dark-muted); }

.btn {
  --btn-bg: var(--choc); --btn-fg: var(--on-dark);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 560; font-size: .98rem; letter-spacing: .005em;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--caramel); border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 14px 32px -14px rgba(43, 26, 18, .55); }
.btn-arrow { display: inline-block; transition: transform .5s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn--cream { --btn-bg: var(--cream); --btn-fg: var(--choc); }
.btn--cream:hover { color: var(--choc); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: .9rem; }
.btn--block { width: 100%; justify-content: center; }

.link-underline {
  position: relative; font-weight: 560; padding-block: 6px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link-underline:hover { background-size: 0 1px; background-position: right bottom; }
.link-underline--light { color: var(--on-dark); }

/* 5. Header ---------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: transform .6s var(--ease), background-color .4s, box-shadow .4s;
}
.site-header.is-scrolled {
  background: rgba(243, 234, 219, .82);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  backdrop-filter: saturate(1.2) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { width: 30px; height: 30px; color: var(--choc); }
.brand-word {
  font-family: var(--serif); font-size: 1.32rem; font-weight: 450; letter-spacing: -.02em;
  font-variation-settings: "opsz" 36, "SOFT" 50;
}
.nav-list { display: flex; gap: clamp(22px, 2.6vw, 44px); }
.nav-list a { position: relative; font-size: .95rem; font-weight: 500; padding-block: 8px; }
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav-list a:hover::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; font-weight: 560; }
.menu-toggle-icon { position: relative; width: 22px; height: 12px; }
.menu-toggle-icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-toggle-icon i:first-child { top: 0; }
.menu-toggle-icon i:last-child { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:last-child { top: 5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 auto; z-index: 49;
  background: var(--cream); padding: 12px var(--gutter) 28px;
  box-shadow: 0 30px 40px -30px rgba(43, 26, 18, .35);
}
.mobile-menu ul { margin-bottom: 20px; }
.mobile-menu li a {
  display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 2rem; letter-spacing: -.02em; line-height: 1.1;
}
.mobile-menu li a span { font-family: var(--sans); font-size: .75rem; color: var(--caramel); letter-spacing: .1em; }

/* 6. Traveler: the signature floating waffle ------------------------------ */
.journey { position: relative; }
.traveler {
  position: absolute; top: 0; left: 0; z-index: 6;
  pointer-events: none;
  display: none;               /* enabled by JS on desktop with motion allowed */
  transform-origin: 0 0;
  will-change: transform;
}
.has-traveler .traveler { display: block; }
.traveler-tilt { width: 100%; height: 100%; will-change: transform; }
.traveler-float { position: relative; width: 100%; height: 100%; animation: float 7s ease-in-out infinite; }
.traveler-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.traveler-shadow {
  position: absolute; left: 14%; right: 10%; bottom: 2%; height: 16%;
  background: radial-gradient(closest-side, rgba(31, 19, 13, .42), rgba(31, 19, 13, 0));
  transform: translateY(18%); filter: blur(2px);
}
.has-traveler .slot--travel > img { visibility: hidden; }

@keyframes float {
  0%, 100% { transform: translate3d(0, -1.2%, 0); }
  50% { transform: translate3d(0, 1.2%, 0); }
}

/* Slots: real boxes in the layout that reserve space for the product (no layout shift). */
.slot { position: relative; aspect-ratio: 1 / 1; }
.slot > img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 40px 40px rgba(31, 19, 13, .28)); }

/* 7. Sections ------------------------------------------------------------- */

/* 01 Hero */
.hero {
  position: relative; z-index: 2;
  min-height: max(720px, 100svh);
  padding-top: calc(var(--header-h) + clamp(24px, 4vh, 56px));
  padding-bottom: clamp(48px, 8vh, 96px);
  display: flex; align-items: center;
}
.hero-grid-lines {
  position: absolute; inset: 0 0 0 50%; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: clamp(90px, 9vw, 140px) clamp(90px, 9vw, 140px);
  -webkit-mask-image: radial-gradient(70% 70% at 55% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 55% 50%, #000 20%, transparent 75%);
  opacity: .8;
}
.hero-inner { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.hero-copy { grid-column: 1 / span 6; position: relative; z-index: 7; }
.hero .display { margin-bottom: clamp(24px, 3vw, 40px); max-width: 9.2em; }
.hero .lead { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hero-meta { display: flex; gap: 40px; margin-top: clamp(40px, 6vh, 72px); padding-top: 22px; border-top: 1px solid var(--line); max-width: 30rem; }
.hero-meta li { font-size: .9rem; color: var(--ink-muted); line-height: 1.4; }
.hero-meta strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.9rem; color: var(--ink); letter-spacing: -.02em; }

.hero-visual { grid-column: 7 / span 6; position: relative; }
.hero-halo {
  position: absolute; left: 50%; top: 50%; width: 86%; aspect-ratio: 1;
  translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #EFD3A6 0%, #E5BF86 45%, rgba(229, 191, 134, 0) 70%);
  opacity: .75;
}
.slot--a { width: min(100%, 760px); margin-inline: auto; margin-right: -4%; translate: 0 6%; }
.hero-caption {
  position: absolute; right: 0; bottom: -2%; z-index: 7;
  font-size: .82rem; color: var(--ink-muted); display: flex; gap: 10px; align-items: baseline;
}
.hero-caption span { font-family: var(--serif); font-style: italic; color: var(--caramel); font-size: 1rem; }

.scroll-cue {
  position: absolute; left: var(--gutter); bottom: 28px; z-index: 7;
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted);
}
.scroll-cue i { position: relative; width: 48px; height: 1px; background: var(--line); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* 02 Poured */
.poured {
  position: relative; z-index: 1;
  min-height: 100vh;                           /* the plating scene is pinned at full height */
  padding-block: calc(var(--header-h) + 16px) 40px;
  display: flex; align-items: center;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 20% 40%, rgba(184, 116, 47, .16), transparent 70%),
    var(--choc);
}
.poured-inner { width: 100%; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.poured-visual { grid-column: 1 / span 6; }

/* Plating stage: one square scene, every layer positioned in % so it scales cleanly */
.stage { position: relative; aspect-ratio: 1 / 1; width: min(100%, 640px, calc(100vh - var(--header-h) - 70px)); margin-inline: auto; }
.stage-float { position: absolute; inset: 0; animation: float 7s ease-in-out infinite; }
.stage-glow {
  position: absolute; left: 8%; right: 8%; top: 22%; bottom: 6%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(227, 183, 123, .22), rgba(227, 183, 123, 0));
}
.stage-plate {
  position: absolute; left: 0; bottom: 3%; width: 100%; height: auto;
  filter: drop-shadow(0 34px 30px rgba(10, 5, 2, .5));
}
.stage-dish { position: absolute; left: 11%; top: 7%; width: 78%; aspect-ratio: 1 / 1; }
.stage-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.stage-classic { opacity: 0; filter: drop-shadow(0 30px 30px rgba(10, 5, 2, .35)); }
.stage-topped { filter: drop-shadow(0 16px 14px rgba(10, 5, 2, .4)); }
.stage-drizzle {
  position: absolute; left: 9%; top: 17%; width: 82%;
  transform: rotate(-36deg) scale(1, .7);
}
.stage-drizzle img { width: 100%; height: auto; }
.stage-berry { position: absolute; width: 17%; height: auto; opacity: 0; filter: drop-shadow(0 10px 8px rgba(10, 5, 2, .35)); }
.stage-berry--1 { left: 22%; top: 13%; }
.stage-berry--2 { left: 60%; top: 12%; }
.stage-berry--3 { left: 13%; top: 37%; }
.stage-berry--4 { left: 70%; top: 35%; }
.stage-stream { position: absolute; left: 50%; bottom: 76%; width: 5%; height: 160%; translate: -50% 0; opacity: 0; }
.stage-stream img { width: 100%; height: 100%; object-fit: fill; }
.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; }
.poured-copy { grid-column: 8 / span 5; position: relative; z-index: 7; }
.poured .headline { margin-bottom: 32px; }
.poured .lead { margin-bottom: 44px; }
.specs { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.spec { display: grid; grid-template-columns: 5.4rem 1fr; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.spec dt { font-family: var(--serif); font-size: 2rem; font-weight: 350; letter-spacing: -.02em; color: var(--caramel-soft); }
.spec dd { color: var(--on-dark-muted); font-size: .95rem; }


/* 03 Crunch */
.crunch {
  position: relative; z-index: 2;
  padding-top: clamp(96px, 10vw, 160px);
  padding-bottom: clamp(88px, 9vw, 140px);
}
.crunch-inner { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.crunch-media { grid-column: 1 / span 7; position: relative; }
.crunch-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.3; background: var(--cream-2); }
.parallax-frame { position: relative; height: 100%; overflow: hidden; }
.parallax-frame img { width: 100%; height: 116%; object-fit: cover; margin-top: -8%; will-change: transform; }
.crunch-loupe {
  position: absolute; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px);
  width: clamp(120px, 12vw, 190px);
}
.crunch-loupe img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  border: 6px solid var(--cream);
  box-shadow: 0 30px 60px -30px rgba(43, 26, 18, .55);
}
.crunch-copy { grid-column: 9 / span 4; }
.crunch .headline { margin-bottom: 28px; }
.headline .line { display: block; white-space: nowrap; }
.crunch .lead { margin-bottom: 36px; }
.ingredients { border-top: 1px solid var(--line); }
.ingredients li {
  display: grid; grid-template-columns: 2.4rem 1fr; column-gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.ingredients span { grid-row: span 2; font-family: var(--serif); font-style: italic; color: var(--caramel); }
.ingredients strong { font-weight: 560; }
.ingredients em { font-style: normal; font-size: .9rem; color: var(--ink-muted); }

/* Marquee */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); padding: clamp(18px, 2.2vw, 30px) 0; background: var(--cream); }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 38s linear infinite; }
.marquee span {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(2rem, 4.6vw, 4.6rem); letter-spacing: -.03em; line-height: 1;
  padding-inline: clamp(20px, 2.4vw, 40px); white-space: nowrap;
}
.marquee i { width: clamp(16px, 1.4vw, 22px); aspect-ratio: 1; border-radius: 6px; border: 1.5px solid var(--caramel);
  background: linear-gradient(var(--caramel), var(--caramel)) center / 1.5px 100% no-repeat, linear-gradient(var(--caramel), var(--caramel)) center / 100% 1.5px no-repeat; flex: none; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* 04 Flavors */
.flavors { position: relative; padding-block: clamp(100px, 11vw, 170px) clamp(100px, 11vw, 160px); background: var(--cream-2); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: clamp(84px, 8.5vw, 130px); }
.section-head-note { max-width: 18rem; color: var(--ink-muted); padding-bottom: .6em; }
.flavor-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 1.6vw, 28px); }
.flavor {
  --card: #E8CFA6; --card-ink: var(--ink); --card-muted: var(--ink-muted);
  position: relative; border-radius: var(--radius); background: var(--card); color: var(--card-ink);
  padding: 0 clamp(20px, 1.8vw, 30px) clamp(22px, 2vw, 30px);
  display: flex; flex-direction: column;
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.flavor:nth-child(even) { margin-top: clamp(40px, 5vw, 80px); }
.flavor--honey { --card: #E9D1A9; }
.flavor--blush { --card: #EED3C9; }
.flavor--cocoa { --card: #3A251A; --card-ink: var(--on-dark); --card-muted: var(--on-dark-muted); }
.flavor--sage { --card: #DCDFBF; }
.flavor-media { margin-top: -28%; margin-inline: -6%; aspect-ratio: 1; }
.flavor-media img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 26px 24px rgba(31, 19, 13, .3));
  transition: transform .9s var(--ease);
}
.flavor:hover { transform: translateY(-6px); box-shadow: 0 40px 60px -40px rgba(43, 26, 18, .5); }
.flavor:hover .flavor-media img { transform: translateY(-4%) rotate(-4deg) scale(1.03); }
.flavor-body { display: flex; flex-direction: column; flex: 1; }
.flavor-no { font-family: var(--serif); font-style: italic; color: var(--caramel); margin-bottom: 6px; }
.flavor--cocoa .flavor-no { color: var(--caramel-soft); }
.flavor-name { font-family: var(--serif); font-weight: 380; font-size: clamp(1.6rem, 2vw, 2.1rem); letter-spacing: -.025em; line-height: 1.05; margin-bottom: 12px; font-variation-settings: "opsz" 72, "SOFT" 50; }
.flavor-desc { font-size: .93rem; color: var(--card-muted); margin-bottom: 26px; }
.flavor-price {
  margin-top: auto; display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--card-ink) 18%, transparent);
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--card-muted);
}
.flavor-price span:last-child { font-family: var(--serif); font-size: 1.3rem; letter-spacing: -.01em; text-transform: none; color: var(--card-ink); }

/* 05 Indulge */
.indulge { position: relative; min-height: max(760px, 108svh); display: flex; align-items: center; overflow: hidden; background: var(--choc-2); }
.indulge-media { position: absolute; inset: 0 0 0 28%; }
.parallax-frame--tall img { height: 120%; margin-top: -10%; object-position: 70% 50%; }
.indulge-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--choc-2) 0%, rgba(31, 19, 13, .7) 14%, rgba(31, 19, 13, 0) 42%),
    linear-gradient(0deg, rgba(25, 15, 10, .6), rgba(25, 15, 10, 0) 30%);
}
.indulge-inner { position: relative; z-index: 2; padding-block: clamp(120px, 14vw, 200px); }
.indulge-copy { max-width: 36rem; }
.indulge .display { margin-bottom: clamp(24px, 3vw, 40px); }
.indulge .lead { margin-bottom: 36px; color: rgba(243, 234, 219, .8); max-width: 30em; }
.indulge-meta { border-top-color: var(--line-dark); }
.indulge-meta li { color: var(--on-dark-muted); }
.indulge-meta strong { color: var(--on-dark); }

/* 8. Footer ---------------------------------------------------------------- */
.site-footer { background: var(--choc-2); padding-top: clamp(64px, 7vw, 104px); padding-bottom: 28px; }
.footer-word {
  font-family: var(--serif); font-weight: 300; letter-spacing: -.045em; line-height: .9;
  font-size: min(17.2vw, 16.2rem); color: var(--on-dark); white-space: nowrap;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  line-height: .82; margin-block: clamp(56px, 7vw, 110px) clamp(28px, 3vw, 44px);
  margin-left: -.04em;
}
.footer-word em { font-style: italic; color: var(--caramel-soft); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 32px; align-items: start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; color: var(--on-dark-muted); font-size: .95rem; line-height: 1.8; }
.footer-links a:hover { color: var(--on-dark); }
.footer-top { align-self: end; font-size: .95rem; }
.footer-cols h4 { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--caramel-soft); font-weight: 600; margin-bottom: 12px; }
.footer-cols p { color: var(--on-dark-muted); font-size: .95rem; line-height: 1.8; }
.footer-cols a:hover { color: var(--on-dark); }
.footer-base { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .82rem; color: rgba(243, 234, 219, .5); }

/* 9. Motion states --------------------------------------------------------- */
/* Initial states only apply when JS + GSAP are running (html.motion), so content never stays hidden. */
.motion [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); }
.motion [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.motion [data-split] .w > span { display: inline-block; transform: translate3d(0, 105%, 0); }
.motion [data-reveal-img] { clip-path: inset(8% 6% 8% 6% round var(--radius)); }
.motion .indulge-media[data-reveal-img] { clip-path: inset(6% 4% 6% 4%); }
.motion .slot--a > img { opacity: 0; transform: scale(.92) rotate(-6deg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; }
  .traveler-float { animation: none; }
}

/* 10. Responsive ------------------------------------------------------------ */
@media (max-width: 1180px) {
  .nav-list { gap: 22px; }
  .flavor-list { grid-template-columns: repeat(2, 1fr); row-gap: clamp(110px, 14vw, 150px); }
  .flavor:nth-child(even) { margin-top: 0; }
  .flavor { max-width: none; }
  .flavor-media { margin-top: -24%; margin-inline: 10%; }
}

@media (max-width: 899px) {
  :root { --header-h: 64px; --radius: 18px; }
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand-word { font-size: 1.15rem; }
  .brand-mark { width: 26px; height: 26px; }

  /* Hero: text first, product below, product breaks into section 02 */
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 36px); padding-bottom: 0; display: block; }
  .hero-grid-lines { inset: 40% 0 0 0; }
  .hero-inner { display: block; }
  .hero .display { font-size: clamp(3rem, 14.5vw, 5rem); max-width: none; }
  .hero .lead { margin-bottom: 28px; }
  .hero-meta { gap: 28px; margin-top: 32px; }
  .hero-meta strong { font-size: 1.6rem; }
  .hero-visual { margin-top: 28px; }
  .slot--a { width: 92%; margin: 0 auto; translate: 0 22%; z-index: 4; }
  .hero-halo { width: 96%; top: 46%; }
  .hero-caption { position: relative; right: auto; bottom: auto; justify-content: center; margin-top: -4px; display: none; }
  .scroll-cue { display: none; }

  /* 02: copy first, then the plating scene */
  .poured { min-height: 0; display: block; padding-top: 34vw; padding-bottom: 56px; }
  .poured-inner { display: flex; flex-direction: column; align-items: stretch; }
  .poured-copy { order: 1; }
  .poured-visual { order: 2; margin-top: 40px; }
  .stage { width: 100%; clip-path: inset(-8% -12% -4% -12%); }  /* falling toppings never cross the copy */
  .poured .headline { margin-bottom: 22px; }
  .poured .lead { margin-bottom: 32px; }
  .spec { grid-template-columns: 4.2rem 1fr; padding: 14px 0; }
  .spec dt { font-size: 1.6rem; }

  /* 03 */
  .crunch { padding-top: 72px; }
  .crunch-inner { display: flex; flex-direction: column-reverse; gap: 56px; }
  .crunch-copy { padding-top: 0; }
  .crunch-photo { aspect-ratio: 4 / 4.4; }
  .crunch-loupe { right: 12px; bottom: 12px; width: 30vw; }
  .crunch-inner { gap: 40px; }

  /* 04: contained horizontal snap list, the page itself never scrolls sideways */
  .section-head { display: block; margin-bottom: 24px; }
  .section-head-note { margin-top: 18px; }
  .flavor-scroller {
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    padding-top: 30vw; padding-bottom: 12px;
  }
  .flavor-scroller::-webkit-scrollbar { display: none; }
  .flavor-list { display: flex; width: max-content; gap: 14px; max-width: none; }
  .flavor { width: 74vw; max-width: 340px; scroll-snap-align: center; }
  .flavor-media { margin-top: -30%; margin-inline: 4%; }

  /* 05 */
  .indulge { min-height: auto; display: block; padding-top: 0; }
  .indulge-media { position: relative; inset: auto; height: 78vw; }
  .indulge-shade { background: linear-gradient(0deg, var(--choc-2) 0%, rgba(25, 15, 10, 0) 45%); }
  .parallax-frame--tall img { object-position: 66% 50%; }
  .indulge-inner { padding-block: 8px 64px; margin-top: -8vw; }
  .indulge .display { font-size: clamp(3rem, 14vw, 4.6rem); }

  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-cols > nav { grid-column: 1 / -1; }
  .footer-top { grid-column: 1 / -1; align-self: start; }
  .footer-word { font-size: 16.4vw; margin-block: 44px 22px; }
  .footer-cols > div:nth-child(2) { grid-column: 1 / -1; }
  .site-footer { padding-top: 56px; }
  .flavors { padding-bottom: 88px; }
  .indulge-meta { margin-top: 32px; }
  .footer-base { flex-direction: column; gap: 6px; }
}

@media (max-width: 420px) {
  .hero-meta { flex-direction: row; gap: 20px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-actions { gap: 16px; }
  .hero-actions .link-underline { margin-inline: auto; }
}
.traveler-intro { width: 100%; height: 100%; }

