/* ReviTEAlize homepage.
   One system: die-cut stickers (cream outline + ink keyline), 2px ink outlines with hard offset shadows,
   condensed Archivo for giant words, Fraunces italic for the human line, flavour colour fields. */
:root {
  /* Core */
  --matcha-deep: #123A24;
  --matcha-deep-hover: #0B2A19;
  --leaf: #517234;
  --whisk: #BFD98A;
  --whisk-soft: #E6F0CC;
  --foam: #F4F5EA;
  --cream: #FFF8E7;           /* sticker outline cream */
  --ink: #16211B;
  --sage: #5E6B60;
  --white: #FFFFFF;
  --chai: #E2692C;            /* ink text only */
  --oat: #EFE4D2;
  --cocoa: #4A2C22;
  --line: #D9DDCB;
  /* Flavour surfaces */
  --vanilla: #F2D27E;
  --chocolate: #6E4332;
  --hazelnut: #C7976A;
  --caramel: #E3A45E;
  --mint: #CDE7D3;
  --sky: #BFE1F0;

  /* Type */
  --font-display: "Archivo", "Arial Narrow", sans-serif;   /* condensed with font-stretch 62% */
  --font-serif: "Fraunces", Georgia, serif;
  --font-body: "Archivo", Arial, sans-serif;
  --text-body: clamp(16px, 1.3vw, 18px);

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;
  --content-max: 1240px;
  --gutter: 16px;
  --section-pad: 72px;

  /* Outline system */
  --stroke: 2px solid var(--ink);
  --pop-sm: 3px 3px 0 var(--ink);
  --pop: 5px 5px 0 var(--ink);
  --pop-lg: 8px 8px 0 var(--ink);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --focus-ring: 0 0 0 3px var(--foam), 0 0 0 5px var(--leaf);
  --ease-out: cubic-bezier(.2,.7,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --header-h: 84px;
  --ticker-h: 40px;
  --panel-overlap: 64px;
}
@media (min-width: 768px) { :root { --gutter: 32px; --section-pad: 104px; } }
@media (min-width: 1200px) { :root { --section-pad: 128px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
body { margin: 0; background: var(--foam); color: var(--ink); font-family: var(--font-body); font-size: var(--text-body); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 10px; }
p { margin: 0 0 var(--space-4); }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
button { font: inherit; }
.wrap { width: 100%; max-width: calc(var(--content-max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-pad) 0; position: relative; }
.section-tight { padding-top: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--space-4); top: -60px; background: var(--white); border: var(--stroke); padding: var(--space-2) var(--space-4); z-index: 400; border-radius: 10px; }
.skip:focus { top: var(--space-2); }
sup.dag { font-size: .4em; vertical-align: super; font-family: var(--font-body); font-weight: 600; font-style: normal; letter-spacing: 0; }
.progress { position: fixed; left: 0; top: 0; right: 0; height: 4px; z-index: 350; background: var(--chai); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* ---------- Type ---------- */
.serif { font-family: var(--font-serif); font-weight: 500; font-variation-settings: "SOFT" 100, "WONK" 0; letter-spacing: -.02em; line-height: 1.04; }
.serif em { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-variation-settings: "SOFT" 100; }
.t-l { font-size: clamp(36px, 5vw, 64px); }
.t-m { font-size: clamp(28px, 3.4vw, 44px); }
.shout { font-family: var(--font-display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; line-height: .86; letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--sage); max-width: 46ch; }
.small { font-size: 15px; }
.muted { color: var(--sage); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
/* Sticker label (replaces pill eyebrows) */
.tag { display: inline-block; font-family: var(--font-display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: 16px; letter-spacing: .05em; line-height: 1; padding: 7px 12px 6px; background: var(--cream); color: var(--ink); border: var(--stroke); border-radius: 10px; box-shadow: var(--pop-sm); rotate: -2deg; margin-bottom: var(--space-4); }
.tag-lime { background: var(--whisk); }
/* Split headline words (built by JS) */
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .12em 0; margin: 0 -.06em -.12em 0; }
.split-wi { display: inline-block; will-change: transform; }

/* ---------- CTA system: one primary, one secondary, one tertiary, used everywhere ----------
   Primary   .btn.btn-primary    dark green, lime fill sweeps in on hover
   Secondary .btn.btn-secondary  white, dark green fill sweeps in on hover
   Tertiary  .link-arrow         text + icon box, underline draws in (add .on-dark on dark backgrounds)
   Shared: label rolls to a fresh copy, arrow shoots out and back, press-down, click ripple, magnetic pull (JS). */
.btn { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-fill: var(--matcha-deep); --btn-fg-hover: var(--foam);
  --ic-bg: var(--ink); --ic-fg: var(--white); --ic-bg-hover: var(--whisk); --ic-fg-hover: var(--matcha-deep);
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 8px 0 22px;
  border: var(--stroke); border-radius: var(--radius-md); background: var(--btn-bg); color: var(--btn-fg); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  box-shadow: var(--pop-sm); white-space: nowrap; transition: translate .25s var(--ease-out), box-shadow .25s var(--ease-out), color .35s var(--ease-out); }
.btn-primary { --btn-bg: var(--matcha-deep); --btn-fg: var(--foam); --btn-fill: var(--whisk); --btn-fg-hover: var(--matcha-deep);
  --ic-bg: var(--whisk); --ic-fg: var(--matcha-deep); --ic-bg-hover: var(--matcha-deep); --ic-fg-hover: var(--whisk); }
.btn-secondary { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-fill: var(--matcha-deep); --btn-fg-hover: var(--foam);
  --ic-bg: var(--ink); --ic-fg: var(--white); --ic-bg-hover: var(--whisk); --ic-fg-hover: var(--matcha-deep); }
/* Fill sweep: grows from the left on hover, leaves to the right on exit. */
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-fill); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .55s var(--ease-out); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: 0 50%; }
.btn:hover, .btn:focus-visible { color: var(--btn-fg-hover); translate: -2px -2px; box-shadow: var(--pop); }
.btn:active { translate: 2px 2px; box-shadow: 0 0 0 var(--ink); }
/* Keyboard focus: an outline, since the hover shadow takes the box-shadow slot. */
.btn:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: var(--radius-md); }
.btn > span { position: relative; z-index: 1; }
/* Label roll: the text-shadow is the copy waiting below, so changing labels (prices) still roll. */
.btn-label { display: inline-block; overflow: hidden; height: 1.6em; line-height: 1.6em; }
.btn-roll { display: inline-block; text-shadow: 0 1.6em 0 currentColor; transition: transform .5s var(--ease-out); }
.btn:hover .btn-roll, .btn:focus-visible .btn-roll { transform: translateY(-1.6em); }
/* Icon box */
.btn .ic { width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--ic-bg); color: var(--ic-fg); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; transition: background .35s var(--ease-out), color .35s var(--ease-out); }
.btn:hover .ic, .btn:focus-visible .ic { background: var(--ic-bg-hover); color: var(--ic-fg-hover); }
.btn .ic svg, .link-arrow .ic svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease-out); }
/* Arrow swap: out one side, back in from the other. Direction follows the icon. */
.ic { --sx: 170%; --sy: 0%; }
.ic-up { --sx: 0%; --sy: -170%; }
.ic-down { --sx: 0%; --sy: 170%; }
.ic-diag { --sx: 150%; --sy: -150%; }
@keyframes ic-swap {
  0% { transform: translate(0, 0); }
  45% { transform: translate(var(--sx), var(--sy)); }
  46% { transform: translate(calc(-1 * var(--sx)), calc(-1 * var(--sy))); }
  100% { transform: translate(0, 0); }
}
.btn:hover .ic svg, .btn:focus-visible .ic svg, .link-arrow:hover .ic svg, .link-arrow:focus-visible .ic svg { animation: ic-swap .6s var(--ease-out); }
.btn:hover .ic-plus svg, .btn:focus-visible .ic-plus svg { animation: none; transform: rotate(90deg); }
/* Click ripple (added by JS) */
.btn-ripple { position: absolute; z-index: 0; border-radius: 50%; background: currentColor; opacity: .22; transform: scale(0); pointer-events: none; animation: ripple .7s var(--ease-out) forwards; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.btn-block { width: 100%; justify-content: space-between; }
.btn.is-added { --btn-bg: var(--whisk); --btn-fg: var(--matcha-deep); --btn-fill: var(--whisk); --btn-fg-hover: var(--matcha-deep); --ic-bg: var(--matcha-deep); --ic-fg: var(--whisk); }

/* Tertiary */
.link-arrow { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; }
.la-text { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: 2px; transition: background-size .45s var(--ease-out); }
.link-arrow:hover .la-text, .link-arrow:focus-visible .la-text { background-size: 100% 2px; }
.link-arrow .ic { width: 34px; height: 34px; flex: none; border-radius: 10px; border: var(--stroke); background: var(--cream); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 2px 2px 0 var(--ink); transition: background .3s var(--ease-out), color .3s, translate .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.link-arrow .ic svg { width: 15px; height: 15px; }
.link-arrow:hover .ic, .link-arrow:focus-visible .ic { background: var(--whisk); translate: -2px -2px; box-shadow: 4px 4px 0 var(--ink); }
.link-arrow:active .ic { translate: 1px 1px; box-shadow: 0 0 0 var(--ink); }
.link-arrow.on-dark { color: var(--foam); }
.link-arrow.on-dark .ic { background: transparent; border-color: var(--foam); color: var(--foam); box-shadow: 2px 2px 0 var(--whisk); }
.link-arrow.on-dark:hover .ic, .link-arrow.on-dark:focus-visible .ic { background: var(--whisk); border-color: var(--whisk); color: var(--matcha-deep); box-shadow: 4px 4px 0 var(--whisk); }

/* ---------- Announcement ticker ---------- */
.ticker { background: var(--matcha-deep); color: var(--foam); overflow: hidden; font-size: 13px; font-weight: 600; letter-spacing: .02em; border-bottom: var(--stroke); }
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker-track span { padding: 9px 28px; line-height: 20px; white-space: nowrap; display: inline-flex; align-items: center; gap: 28px; }
.ticker-track span::after { content: "✺"; color: var(--whisk); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; padding: 12px 0; pointer-events: none; transition: translate .45s var(--ease-out); }
.site-header.is-hidden { translate: 0 -130%; }
.site-header .wrap { pointer-events: auto; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); background: var(--white); border: var(--stroke); border-radius: 18px; padding: 6px 6px 6px 18px; box-shadow: var(--pop-sm); }
.logo img { width: 120px; }
.nav { display: none; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a { position: relative; display: block; padding: 10px 14px; font-size: 15px; font-weight: 600; text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .35s var(--ease-out); }
.nav a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.tools { display: flex; align-items: center; gap: 4px; }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; position: relative; text-decoration: none; transition: background .2s; }
.icon-btn:hover { background: var(--whisk-soft); }
.icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cart-btn { background: var(--matcha-deep); color: var(--foam); width: auto; padding: 0 14px 0 12px; gap: 6px; font-size: 14px; font-weight: 700; border: var(--stroke); }
.cart-btn:hover { background: var(--matcha-deep-hover); }
.cart-btn span { display: inline-block; min-width: 1ch; font-variant-numeric: tabular-nums; }
.menu-toggle { display: inline-flex; }
@media (min-width: 1024px) { .nav { display: block; } .menu-toggle { display: none; } }
.mobile-nav { display: none; margin-top: 8px; background: var(--white); border: var(--stroke); border-radius: 18px; padding: 6px 16px; box-shadow: var(--pop-sm); }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a { display: block; padding: 14px 4px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav li:last-child a { border-bottom: 0; }

/* ---------- Hero ---------- */
.hero {
  --hero-bg: #123A24; --hero-word: #BFD98A; --hero-ui: #FFF8E7;
  position: relative; margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h);
  display: flex; flex-direction: column;
  background: var(--hero-bg); transition: background-color .8s var(--ease-out); overflow: hidden; isolation: isolate;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 64px 64px; }
/* The stage fills the first screen exactly (below the ticker and header); the curved panel starts at the fold.
   Everything inside sizes from the stage height (cqh) so nothing overflows on short, wide screens. */
.hero-stage { position: relative; flex: none; container-type: size;
  height: max(480px, calc(100vh - var(--ticker-h) - var(--header-h) + var(--panel-overlap)));
  height: max(480px, calc(100svh - var(--ticker-h) - var(--header-h) + var(--panel-overlap))); }
/* Flex centring keeps an over-wide word centred, overflowing equally on both sides. */
.hero-word { position: absolute; left: 0; right: 0; top: 45%; transform: translateY(-50%); margin: 0; display: flex; justify-content: center; font-size: clamp(130px, 25vw, 400px); font-size: min(25vw, 46cqh); color: var(--hero-word); text-shadow: .03em .03em 0 rgba(0,0,0,.16); white-space: nowrap; user-select: none; pointer-events: none; transition: color .8s var(--ease-out); }
.hero-word-inner { display: inline-flex; will-change: transform; }
.hero-word-inner span { display: inline-block; }
.hero-echo { position: absolute; left: 0; right: 0; overflow: hidden; pointer-events: none; user-select: none; }
.echo-top { top: 3%; }
.echo-bottom { top: 76%; }
.echo-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.echo-track.rev { animation-direction: reverse; }
.echo-track span { font-family: var(--font-display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(46px, 7vw, 110px); font-size: min(7vw, 12cqh); line-height: 1; padding: 0 .3em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px var(--hero-word); opacity: .32; }
.flecks { position: absolute; inset: 0; pointer-events: none; }
.fleck { position: absolute; display: block; width: 26px; height: 7px; border-radius: 7px; background: rgba(255,255,255,.3); }
.hero-floats { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-floats img { position: absolute; height: auto; max-width: none; filter: drop-shadow(0 12px 16px rgba(0,0,0,.2)); animation: floaty 6s ease-in-out infinite; will-change: transform; }
@keyframes floaty { 50% { translate: 0 -14px; } }
.pack-wrap { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); z-index: 3; }
.pack-tilt { will-change: transform; }
.pack-float { position: relative; perspective: 1400px; animation: bob 5.5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(1deg); } }
/* 34vw below 1200px keeps the pack clear of the controls on tablets; 40vw on wide screens. */
.pack { display: block; width: auto; max-width: none; height: clamp(300px, 34vw, 580px); height: max(170px, min(40vw, 56cqh)); rotate: -5deg; filter: drop-shadow(0 28px 34px rgba(0,0,0,.3)); transform-origin: 50% 60%; backface-visibility: hidden; }
.seal { position: absolute; z-index: 2; right: -22%; top: -3%; width: clamp(88px, 9vw, 136px); width: max(70px, min(9vw, 16cqh)); aspect-ratio: 1; filter: drop-shadow(3px 3px 0 var(--ink)); }
.seal svg { display: block; width: 100%; height: 100%; }
.seal-ring { animation: spin 16s linear infinite; transform-origin: 70px 70px; }
.seal-star { fill: var(--hero-bg); transition: fill .8s var(--ease-out); }
.price-tag { position: absolute; z-index: 2; left: -30%; bottom: 12%; display: grid; justify-items: start; gap: 2px; background: var(--cream); color: var(--ink); border: var(--stroke); border-radius: 14px; padding: 9px 14px 10px; box-shadow: var(--pop-sm); rotate: -7deg; line-height: 1.1; text-align: left; }
.pt-drink { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--sage); white-space: nowrap; }
.price-tag b { font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: clamp(34px, 3.4vw, 52px); font-size: max(28px, min(3.4vw, 7.5cqh)); line-height: .95; font-variant-numeric: tabular-nums; }
.pt-unit { font-size: 13px; font-weight: 700; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Centred by flex, not transform, so GSAP can move it without fighting a percentage offset. */
.hero-controls { position: absolute; left: 0; right: 0; bottom: calc(var(--panel-overlap) + 14px); z-index: 5; display: flex; justify-content: center; align-items: center; gap: 14px; pointer-events: none; color: var(--hero-ui); transition: color .8s var(--ease-out); }
.hero-controls > * { pointer-events: auto; }
.hero-arrow { width: 52px; height: 52px; flex: none; border-radius: 14px; border: var(--stroke); background: var(--cream); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--pop-sm); transition: translate .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.hero-arrow:hover { translate: -2px -2px; box-shadow: var(--pop); }
.hero-arrow:active { translate: 2px 2px; box-shadow: 0 0 0 var(--ink); }
.hero-arrow svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hero-dots { display: flex; gap: 4px; }
.hero-dots button { position: relative; width: 40px; height: 28px; border: 0; padding: 0; background: none; cursor: pointer; color: inherit; }
.hero-dots button::before { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 6px; margin-top: -3px; border-radius: 6px; background: currentColor; opacity: .3; }
.hero-dots i { position: absolute; left: 3px; top: 50%; height: 6px; margin-top: -3px; border-radius: 6px; width: 0; background: currentColor; }
.hero-dots button[aria-current="true"] i { width: calc(100% - 6px); animation: fill 6s linear both; }
.hero.is-paused .hero-dots i { animation-play-state: paused; }
@keyframes fill { from { width: 0; } to { width: calc(100% - 6px); } }
.hero-count { font-size: 20px; letter-spacing: .04em; min-width: 3.4em; text-align: center; }
.hero-count b { font-size: 30px; font-weight: 900; }

.hero-panel { flex: none; position: relative; z-index: 6; margin-top: calc(-1 * var(--panel-overlap)); background: var(--foam); border-top: var(--stroke); border-radius: 50% 50% 0 0 / var(--panel-overlap) var(--panel-overlap) 0 0; padding: calc(var(--panel-overlap) - 4px) 0 44px; }
.hero-panel .wrap { display: grid; gap: var(--space-5); align-items: center; text-align: center; }
.hero-panel h1 { font-size: clamp(34px, 4.4vw, 60px); }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.slide-name { font-size: 14px; font-weight: 700; color: var(--sage); min-height: 1.5em; }
.hero-blurb { font-size: 15px; color: var(--sage); max-width: 36ch; margin: 0 auto; min-height: 4.6em; }
@media (min-width: 900px) {
  .hero-panel .wrap { grid-template-columns: 1.2fr auto 1fr; text-align: left; }
  .hero-blurb { margin: 0 0 0 auto; text-align: right; min-height: 3em; }
}
@media (max-width: 699px) {
  :root { --panel-overlap: 52px; }
  .pack { height: max(160px, min(66vw, 52cqh)); }
  .seal { right: -18%; top: -6%; width: max(64px, min(20vw, 16cqh)); }
  .price-tag { left: -24%; bottom: 6%; padding: 7px 11px 8px; }
  .price-tag b { font-size: 30px; }
  .hero-controls { gap: 10px; }
  .hero-arrow { width: 46px; height: 46px; }
  .hero-dots button { width: 32px; }
  .hero-count { display: none; }
  .hero-floats img:nth-child(n+3) { display: none; }
  .hero-floats img:nth-child(1) { left: 4% !important; top: 13% !important; } /* clear of the price tag */
}

/* ---------- Crossing bands ---------- */
.bands { position: relative; height: clamp(170px, 17vw, 250px); overflow: hidden; margin: 8px 0; }
.band { position: absolute; left: -6%; right: -6%; top: 50%; border-block: var(--stroke); padding: 16px 0; overflow: hidden; }
.band-a { z-index: 2; background: var(--whisk); transform: translateY(-50%) rotate(-3deg); }
.band-b { z-index: 1; background: var(--matcha-deep); transform: translateY(-50%) rotate(2.5deg); }
.band-track { display: flex; width: max-content; animation: ticker 30s linear infinite; }
.band-track[data-marquee="-1"] { animation-direction: reverse; }
.band-track.is-gsap { animation: none; }
.band-track span { font-family: var(--font-display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 5vw, 72px); line-height: 1; padding: 0 26px; display: inline-flex; align-items: center; gap: 52px; white-space: nowrap; }
.band-track span::after { content: ""; width: .6em; height: .6em; flex: none; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.8 9.2L24 12l-9.2 2.8L12 24l-2.8-9.2L0 12l9.2-2.8z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.8 9.2L24 12l-9.2 2.8L12 24l-2.8-9.2L0 12l9.2-2.8z'/%3E%3C/svg%3E") center / contain no-repeat; }
.band-a span { color: var(--matcha-deep); }
.band-a span::after { background: var(--matcha-deep); }
.band-a span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--matcha-deep); }
.band-b span { color: var(--whisk); }
.band-b span::after { background: var(--whisk); }
.band-b span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--whisk); }

/* ---------- Section heads ---------- */
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-5); margin-bottom: var(--space-7); }
.head-tools { display: flex; align-items: center; gap: var(--space-5); }
.head .note { margin: 0; max-width: 260px; font-size: 15px; color: var(--sage); }
.rail-btns { display: flex; gap: 10px; }
.rail-btn { width: 52px; height: 52px; border-radius: 14px; border: var(--stroke); background: var(--white); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--pop-sm); transition: background .2s, color .2s, translate .2s var(--ease-out), box-shadow .2s var(--ease-out), opacity .2s; }
.rail-btn:hover { background: var(--ink); color: var(--white); translate: -2px -2px; box-shadow: var(--pop); }
.rail-btn:active { translate: 2px 2px; box-shadow: 0 0 0 var(--ink); }
.rail-btn:disabled { opacity: .35; cursor: default; translate: none; box-shadow: var(--pop-sm); background: var(--white); color: var(--ink); }
.rail-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 699px) { .head-tools { width: 100%; justify-content: space-between; } }

/* ---------- Flavour cards ---------- */
.flavours { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 24vw, 320px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px var(--gutter) 30px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; cursor: grab; scroll-padding-left: var(--gutter); overscroll-behavior-x: contain; }
.flavours::-webkit-scrollbar { display: none; }
.flavours.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.flavours.is-dragging .fl { pointer-events: none; }
.fl { scroll-snap-align: start; position: relative; overflow: hidden; border-radius: var(--radius-lg); border: var(--stroke); box-shadow: var(--pop); display: flex; flex-direction: column; text-decoration: none; color: var(--ink); isolation: isolate; transition: translate .35s var(--ease-spring), box-shadow .35s var(--ease-out); }
.fl:hover { translate: -3px -3px; box-shadow: var(--pop-lg); }
.fl-word { position: absolute; z-index: -1; left: 0; right: 0; top: 22px; display: flex; justify-content: center; font-size: clamp(96px, 9vw, 130px); color: rgba(255,255,255,.45); white-space: nowrap; transition: letter-spacing .6s var(--ease-out); }
.fl:hover .fl-word { letter-spacing: .05em; }
.f-chocolate .fl-word, .f-cocoa .fl-word { color: rgba(255,255,255,.16); }
.fl-media { height: 300px; display: flex; align-items: center; justify-content: center; padding: 30px 22px 6px; }
.fl-media img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(0,0,0,.2)); transition: transform .6s var(--ease-spring); transform-origin: 50% 80%; }
.fl:hover .fl-media img { transform: translateY(-8px) rotate(-5deg) scale(1.05); }
.fl-duo { position: relative; }
.fl-duo .duo-a { width: 74%; }
.fl-duo .duo-b { position: absolute; width: 50%; right: 6%; top: 14%; rotate: 16deg; }
.fl:hover .fl-duo .duo-b { transform: translateY(-14px) rotate(14deg) scale(1.06); }
.fl-body { margin-top: auto; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; border-top: var(--stroke); background: var(--cream); }
.fl-name { display: block; font-family: var(--font-serif); font-weight: 600; font-size: 20px; line-height: 1.15; font-variation-settings: "SOFT" 100; }
.fl-meta { display: block; font-size: 13px; color: var(--sage); margin-top: 2px; }
.fl-price { text-align: right; line-height: 1.15; }
.fl-price b { display: block; font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.fl-price small { display: block; font-size: 12px; font-weight: 700; color: var(--sage); white-space: nowrap; }
.fl-add { width: 40px; height: 40px; border-radius: 12px; background: var(--matcha-deep); color: var(--whisk); display: inline-flex; align-items: center; justify-content: center; transition: transform .35s var(--ease-spring); }
.fl-add svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; }
.fl:hover .fl-add { transform: rotate(90deg); }
.f-matcha { background: var(--whisk); } .f-vanilla { background: var(--vanilla); } .f-chocolate { background: var(--chocolate); } .f-hazelnut { background: var(--hazelnut); } .f-caramel { background: var(--caramel); } .f-mint { background: var(--mint); } .f-cocoa { background: var(--cocoa); }
.rail-progress { position: relative; height: 6px; border-radius: 6px; background: rgba(22,33,27,.12); margin-top: 6px; overflow: hidden; }
.rail-progress i { position: absolute; top: 0; bottom: 0; left: 0; width: 30%; border-radius: 6px; background: var(--ink); }

/* ---------- Matcha Moments ---------- */
.moments { position: relative; overflow: hidden; background: var(--sky); border: var(--stroke); border-radius: var(--radius-xl); margin: 0 var(--space-2); min-height: clamp(560px, 62vw, 780px); display: flex; align-items: center; justify-content: center; text-align: center; isolation: isolate; }
@media (min-width: 768px) { .moments { margin: 0 var(--space-5); } }
.moments::before { content: ""; position: absolute; z-index: -1; left: -12%; top: -30%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--oat); }
.moments::after { content: ""; position: absolute; z-index: -1; right: -10%; bottom: -34%; width: 40%; aspect-ratio: 1; border-radius: 50%; background: var(--whisk); opacity: .7; }
.moments-title { position: relative; z-index: 2; color: var(--matcha-deep); padding: var(--space-8) var(--gutter); }
.moments-title .shout { display: block; font-size: clamp(96px, 19vw, 280px); text-shadow: .03em .03em 0 rgba(18,58,36,.14); }
.moments-title .serif { display: block; font-size: clamp(56px, 9vw, 132px); margin-top: -.08em; }
.moments-title p { margin: var(--space-5) auto 0; max-width: 40ch; color: var(--matcha-deep); font-size: 17px; }
.m-st { position: absolute; z-index: 1; height: auto; pointer-events: none; filter: drop-shadow(0 18px 22px rgba(18,58,36,.22)); }
.m1 { width: clamp(110px, 14vw, 220px); left: 4%; bottom: 7%; rotate: -10deg; }
.m2 { width: clamp(64px, 8vw, 120px); left: 14%; top: 8%; rotate: 14deg; }
.m3 { width: clamp(80px, 10vw, 150px); right: 6%; top: 9%; rotate: -12deg; }
.m4 { width: clamp(100px, 13vw, 200px); right: 4%; bottom: 10%; rotate: 8deg; }
.m5 { width: clamp(80px, 9vw, 140px); right: 26%; top: 4%; rotate: 20deg; }
.m6 { width: clamp(50px, 6vw, 90px); left: 28%; bottom: 5%; rotate: -18deg; }
@media (max-width: 699px) { .m5, .m6 { display: none; } .m1 { bottom: 3%; } .m4 { bottom: 4%; } }

/* ---------- Story collage + stickers ---------- */
.story { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 960px) { .story { grid-template-columns: 1fr 1.1fr; } }
.story h2 { margin: 0 0 var(--space-5); }
.story .lead { margin-bottom: var(--space-6); }
.story-points { list-style: none; padding: 0; margin: 0 0 var(--space-6); display: grid; gap: var(--space-3); }
.story-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.story-points li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 0; border-radius: 8px; border: var(--stroke); background: var(--whisk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316211B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.collage { position: relative; min-height: 440px; }
@media (min-width: 600px) { .collage { min-height: 560px; } }
.snap { position: absolute; margin: 0; background: var(--white); border: var(--stroke); border-radius: 22px; padding: 10px 10px 0; box-shadow: var(--pop); }
.snap-pic { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; border-radius: 14px; background: var(--whisk); overflow: hidden; }
.snap-pic img { width: 66%; height: auto; max-height: 84%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(0,0,0,.18)); transition: transform .6s var(--ease-spring); }
.snap:hover .snap-pic img { transform: rotate(-6deg) scale(1.06); }
.snap figcaption { font-family: var(--font-serif); font-style: italic; font-size: 16px; line-height: 1.25; padding: 10px 4px 12px; text-align: center; font-variation-settings: "SOFT" 100; }
.s1 { right: 2%; top: 0; width: 50%; rotate: 3deg; z-index: 2; }
.s2 { left: 0; top: 18%; width: 40%; rotate: -6deg; z-index: 3; }
.s3 { left: 24%; bottom: 0; width: 36%; rotate: 4deg; z-index: 4; }
.s2 .snap-pic img { width: 82%; }
.s3 .snap-pic img { width: 56%; }
/* Photo snaps fill their frame. */
.snap.is-photo .snap-pic img { width: 100%; height: 100%; max-height: none; object-fit: cover; filter: none; }
.snap.is-photo:hover .snap-pic img { transform: scale(1.06); }
.s1.is-photo .snap-pic { aspect-ratio: 5 / 4; }
.sticker { position: absolute; z-index: 6; cursor: grab; touch-action: none; user-select: none; transition: transform .3s var(--ease-spring); }
.sticker:hover { transform: rotate(-8deg) scale(1.08); }
.sticker.is-dragging { cursor: grabbing; transition: none; transform: scale(1.12) rotate(4deg); }
.sticker svg { width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(3px 3px 0 var(--ink)); }
.st-leaf { width: 74px; height: 74px; top: -22px; left: 40%; }
.st-spark { width: 56px; height: 56px; bottom: 12%; right: -6px; }
.st-badge { width: 120px; height: 120px; top: 50%; right: 2%; }
.badge-spin { animation: spin 14s linear infinite; transform-origin: 60px 60px; }
@media (max-width: 599px) { .st-badge { width: 92px; height: 92px; } }

/* ---------- Ritual: filling-glass scene ---------- */
.ritual { position: relative; overflow: hidden; background: var(--matcha-deep); color: var(--foam); border: var(--stroke); border-radius: var(--radius-xl); margin: 0 var(--space-2); isolation: isolate; }
@media (min-width: 768px) { .ritual { margin: 0 var(--space-5); } }
.ritual::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 70% at 72% 50%, rgba(191,217,138,.16), rgba(191,217,138,0) 70%); }
.ritual-word { position: absolute; z-index: -1; left: 0; right: 0; bottom: -.12em; display: flex; justify-content: center; margin: 0; font-size: clamp(140px, 24vw, 360px); color: rgba(191,217,138,.08); white-space: nowrap; pointer-events: none; }
.ritual-grid { display: grid; gap: var(--space-6); align-items: center; }
/* Pinned on desktop, so the whole section must fit under the 60px pin offset. */
@media (min-width: 960px) {
  .ritual { padding: clamp(40px, 5vh, 64px) 0; }
  .ritual-grid { grid-template-columns: 1fr 1fr; min-height: min(720px, calc(100vh - 200px)); }
  .scene-wrap { max-width: min(520px, calc((100vh - 220px) * .87)); }
  .scene-wrap.has-media { max-width: min(440px, calc((100vh - 240px) * .8)); }
}
.ritual h2 { margin: 0 0 var(--space-6); }
.steps-wrap { position: relative; padding-left: 22px; }
.steps-line { position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; border-radius: 4px; background: rgba(191,217,138,.18); overflow: hidden; }
.steps-line i { display: block; width: 100%; height: 0; border-radius: 4px; background: var(--whisk); transition: height .5s var(--ease-out); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.step-item button { width: 100%; display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); align-items: center; text-align: left; background: transparent; border: 2px solid transparent; color: inherit; padding: 14px 18px; border-radius: 20px; cursor: pointer; transition: background .4s var(--ease-out), border-color .4s; }
.step-num { font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: clamp(56px, 6vw, 84px); line-height: .9; color: rgba(191,217,138,.28); transition: color .4s; }
.step-txt b { display: block; font-family: var(--font-serif); font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; color: rgba(244,245,234,.5); transition: color .4s; font-variation-settings: "SOFT" 100; }
.step-txt span { display: block; font-size: 15px; color: rgba(244,245,234,.55); margin-top: 4px; max-width: 34ch; transition: color .4s; }
.step-item.is-active button { background: rgba(191,217,138,.12); border-color: rgba(191,217,138,.4); }
.step-item.is-active .step-num { color: var(--whisk); }
.step-item.is-active .step-txt b { color: var(--foam); }
.step-item.is-active .step-txt span { color: rgba(244,245,234,.88); }
.scene-wrap { width: 100%; max-width: 520px; justify-self: center; }
/* Footage mode: shown only once a video or photo exists for all three steps. */
.ritual-media { display: none; position: relative; aspect-ratio: 4 / 5; border: var(--stroke); border-radius: var(--radius-lg); overflow: hidden; background: #0B2A19; box-shadow: 8px 8px 0 var(--whisk); rotate: 2deg; }
.scene-wrap.has-media { max-width: 440px; }
.scene-wrap.has-media .ritual-media { display: block; }
.scene-wrap.has-media .scene { display: none; }
.rm { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.08); transition: opacity .6s var(--ease-out), transform 1.4s var(--ease-out); }
.rm.is-active { opacity: 1; transform: none; }
.rm video { display: block; width: 100%; height: 100%; object-fit: cover; }
.rm-label { position: absolute; left: 16px; bottom: 16px; z-index: 2; background: var(--cream); color: var(--ink); border: var(--stroke); border-radius: 10px; padding: 6px 12px 5px; box-shadow: var(--pop-sm); rotate: -3deg; font-family: var(--font-display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: 22px; line-height: 1; }
.rm-label b { color: var(--leaf); }
.scene { width: 100%; height: auto; display: block; overflow: visible; }
.scene .s-halo { transform-box: fill-box; transform-origin: center; animation: halo 4s ease-in-out infinite; }
@keyframes halo { 50% { transform: scale(1.05); } }
.scene .tool { opacity: 0; transition: opacity .5s var(--ease-out), transform .7s var(--ease-out); }
.scene .spoon { transform: translate(-30px, -30px) rotate(-8deg); }
.scene .jug { transform: translate(30px, -20px); }
.scene .frother { transform: translateY(-60px); }
.scene[data-step="0"] .spoon { opacity: 1; transform: none; }
.scene[data-step="1"] .jug { opacity: 1; transform: none; }
.scene[data-step="2"] .frother { opacity: 1; transform: none; }
.scene .s-powder { transition: opacity .6s, transform .8s var(--ease-out); transform-box: fill-box; transform-origin: bottom; }
.scene[data-step="1"] .s-powder, .scene[data-step="2"] .s-powder { opacity: 0; transform: scaleY(.3); }
.scene .s-liquid { transform: translateY(260px); transition: transform 1.1s var(--ease-out); }
.scene[data-step="1"] .s-liquid { transform: translateY(70px); }
.scene[data-step="2"] .s-liquid { transform: translateY(24px); }
.scene .s-foam { opacity: 0; transition: opacity .6s .3s; }
.scene[data-step="2"] .s-foam { opacity: 1; }
.scene .s-wave { animation: wave2 2.6s linear infinite; }
@keyframes wave2 { to { transform: translateX(-80px); } }
.scene .dust { animation: dust 1.2s ease-in infinite; }
.scene .dust:nth-of-type(2) { animation-delay: .4s; }
.scene .dust:nth-of-type(3) { animation-delay: .8s; }
@keyframes dust { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(150px); opacity: 0; } }
.scene .stream { transform-box: fill-box; transform-origin: top; animation: stream 1.4s ease-in-out infinite alternate; }
@keyframes stream { from { transform: scaleY(.85); } to { transform: scaleY(1); } }
.scene .coil { transform-box: fill-box; transform-origin: center; animation: spin .5s linear infinite; }
.scene .s-bub { opacity: 0; }
.scene[data-step="2"] .s-bub { animation: rise 2.4s ease-in infinite; }
.scene[data-step="2"] .s-bub:nth-of-type(2) { animation-delay: .8s; }
.scene[data-step="2"] .s-bub:nth-of-type(3) { animation-delay: 1.6s; }
@keyframes rise { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: .8; } 100% { opacity: 0; transform: translateY(-170px); } }

/* ---------- Whole label (1 of 2): the numbers and the pack ---------- */
.label-panel { position: relative; overflow: hidden; isolation: isolate; background: var(--whisk); border: var(--stroke); border-radius: var(--radius-xl); margin: 0 var(--space-2); padding: var(--space-8) 0; }
@media (min-width: 768px) { .label-panel { margin: 0 var(--space-5); padding: var(--space-9) 0; } }
.label-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px); background-size: 48px 48px; }
.label-grid { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 960px) { .label-grid { grid-template-columns: 1.1fr 1fr; gap: var(--space-8); } }
.label-intro h2 { color: var(--matcha-deep); margin: 0 0 var(--space-5); }
.label-intro .lead { color: var(--matcha-deep); }
/* Key numbers as one ruled strip, like the top of a nutrition panel. */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: var(--space-6) 0 0; background: var(--cream); border: var(--stroke); border-radius: var(--radius-md); box-shadow: var(--pop-sm); overflow: hidden; }
.facts > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 14px 16px 16px; border-left: var(--stroke); }
.facts > div:first-child { border-left: 0; }
.facts dt { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--sage); line-height: 1.2; }
.facts dd { margin: 0; font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: clamp(40px, 4vw, 54px); line-height: .9; color: var(--matcha-deep); font-variant-numeric: tabular-nums; }
.facts dd small { font-size: .45em; margin-left: 2px; }
@media (max-width: 599px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts > div:nth-child(3) { border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: var(--stroke); }
}
.label-link { margin-top: var(--space-6); color: var(--matcha-deep); }
/* The pack sits whole in its own column, ingredients drifting around it. */
.label-pack-wrap { position: relative; height: clamp(340px, 38vw, 540px); }
.label-pack { position: absolute; left: 50%; top: 50%; width: clamp(190px, 20vw, 290px); margin: calc(clamp(190px, 20vw, 290px) * -0.738) 0 0 calc(clamp(190px, 20vw, 290px) / -2); rotate: -6deg; filter: drop-shadow(0 26px 30px rgba(18,58,36,.3)); z-index: 2; }
.lp-float { position: absolute; height: auto; filter: drop-shadow(0 12px 14px rgba(18,58,36,.2)); }
.lp1 { width: clamp(80px, 8vw, 130px); left: 8%; top: 6%; rotate: -14deg; z-index: 1; }
.lp2 { width: clamp(110px, 12vw, 180px); right: 2%; bottom: 8%; rotate: 8deg; z-index: 3; }
.lp3 { width: clamp(90px, 9vw, 140px); left: 4%; bottom: 6%; rotate: 12deg; z-index: 3; }

/* ---------- Whole label (2 of 2): every ingredient, open on the page ---------- */
.ing-card { background: var(--white); border: var(--stroke); border-radius: var(--radius-lg); box-shadow: var(--pop-lg); padding: 28px 22px 24px; }
@media (min-width: 768px) { .ing-card { padding: 40px 44px 32px; } }
.ing-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 32px; padding-bottom: 14px; }
.ing-head h2 { font-size: clamp(60px, 9vw, 132px); color: var(--ink); }
.ing-head p { margin: 0 0 6px; max-width: 34ch; font-size: 15px; font-weight: 700; color: var(--sage); }
.ing-rule { display: block; height: 10px; background: var(--ink); transform-origin: 0 50%; }
/* Thin ink rules between cells come from the 1.5px grid gap over an ink background. */
.ing-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1.5px; background: var(--ink); border-bottom: 5px solid var(--ink); }
@media (min-width: 700px) { .ing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .ing-grid { grid-template-columns: repeat(3, 1fr); } }
.ing-cell { background: var(--white); padding: 24px 24px 28px 0; transition: background .3s var(--ease-out); }
@media (min-width: 700px) { .ing-cell { padding: 28px 28px 32px; } }
.ing-cell:hover { background: var(--whisk-soft); }
.ing-n { display: inline-block; font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: 30px; line-height: 1; color: var(--leaf); transition: transform .4s var(--ease-spring); }
.ing-cell:hover .ing-n { transform: rotate(-8deg) scale(1.15); }
.ing-cell h3 { margin: 10px 0 8px; font-family: var(--font-serif); font-weight: 500; font-size: clamp(22px, 2vw, 26px); line-height: 1.15; font-variation-settings: "SOFT" 100; }
.ing-cell p { margin: 0; font-size: 15px; color: var(--sage); }
.ing-foot { margin: 18px 0 0; font-size: 14px; color: var(--sage); }
.ing-foot a { color: var(--leaf); font-weight: 700; }

/* ---------- Collagen Creamer: real at-home video + the habit pitch ---------- */
.creamer { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 960px) { .creamer { grid-template-columns: .85fr 1.15fr; } }
.creamer-media { position: relative; width: 100%; max-width: 400px; justify-self: center; margin: var(--space-5) 0; }
.creamer-frame { aspect-ratio: 2 / 3; border: var(--stroke); border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); box-shadow: 8px 8px 0 var(--vanilla), 8px 8px 0 2px var(--ink); rotate: -2deg; }
.creamer-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.tag.creamer-note { position: absolute; left: -14px; top: 22px; margin: 0; rotate: -6deg; z-index: 2; }
.creamer-pack { position: absolute; z-index: 2; right: -16%; bottom: -7%; width: clamp(110px, 13vw, 180px); rotate: 10deg; filter: drop-shadow(0 18px 22px rgba(0,0,0,.25)); }
@media (max-width: 599px) { .creamer-pack { right: -4%; } .tag.creamer-note { left: -6px; } }
.creamer-copy h2 { margin: 0 0 var(--space-5); }
.creamer-copy .facts { margin-bottom: var(--space-6); }
.creamer-quote { margin: 0 0 var(--space-6); max-width: 46ch; padding: 18px 22px; background: var(--vanilla); border: var(--stroke); border-radius: 18px; box-shadow: var(--pop-sm); rotate: -1deg; }
.creamer-quote p { margin: 0 0 8px; font-family: var(--font-serif); font-size: 20px; line-height: 1.35; font-variation-settings: "SOFT" 100; }
.creamer-quote cite { font-style: normal; font-weight: 700; font-size: 14px; }

/* ---------- Morning Set builder ---------- */
.builder { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 960px) { .builder { grid-template-columns: 1.05fr 1fr; gap: var(--space-8); } }
.set-stage { position: relative; overflow: hidden; aspect-ratio: 1 / 1; border: var(--stroke); border-radius: var(--radius-xl); box-shadow: var(--pop); background: var(--vanilla); isolation: isolate; transition: background-color .6s var(--ease-out); }
.set-stage::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 48px 48px; }
.set-word { position: absolute; z-index: -1; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: flex; justify-content: center; font-size: clamp(90px, 13vw, 190px); color: rgba(255,255,255,.5); white-space: nowrap; }
.set-word span { display: inline-block; }
.set-pack { position: absolute; filter: drop-shadow(0 24px 28px rgba(0,0,0,.24)); }
.set-pack img { width: 100%; height: auto; display: block; }
.set-matcha { width: 30%; left: 9%; top: 50%; transform: translateY(-54%) rotate(-9deg); }
.set-creamer { width: 42%; right: 7%; top: 50%; transform: translateY(-46%) rotate(6deg); }
.set-plus { position: absolute; left: calc(45% - 27px); top: calc(50% - 27px); width: 54px; height: 54px; border-radius: 14px; border: var(--stroke); background: var(--matcha-deep); color: var(--whisk); font-size: 30px; font-weight: 700; display: flex; align-items: center; justify-content: center; z-index: 2; box-shadow: var(--pop-sm); }
.set-ribbon { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%) rotate(-2deg); background: var(--cream); border: var(--stroke); border-radius: 10px; padding: 7px 14px; font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: var(--pop-sm); }
.build h2 { margin: 0 0 var(--space-4); }
.build .lead { margin-bottom: var(--space-6); }
.build-step { border: 0; margin: 0 0 var(--space-5); padding: 0; min-width: 0; }
.build-step legend { font-weight: 800; font-size: 15px; margin-bottom: var(--space-3); padding: 0; }
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
@media (max-width: 520px) { .swatches { grid-template-columns: repeat(3, 1fr); } }
.sw { position: relative; }
.sw input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.sw span { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; padding: 10px 6px 12px; border-radius: 16px; background: var(--white); border: 2px solid var(--line); font-size: 13px; font-weight: 700; text-align: center; line-height: 1.2; transition: border-color .2s, translate .25s var(--ease-spring), box-shadow .25s; }
.sw img { width: 100%; max-width: 56px; aspect-ratio: 3 / 4; object-fit: contain; transition: transform .4s var(--ease-spring); }
.sw:hover img { transform: rotate(-6deg) scale(1.06); }
.sw input:checked + span { border-color: var(--ink); translate: -2px -2px; box-shadow: var(--pop-sm); }
.sw input:focus-visible + span { box-shadow: var(--focus-ring); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.opt span { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 82px; border-radius: 16px; padding: 12px 16px; gap: 2px; background: var(--white); border: 2px solid var(--line); font-size: 15px; font-weight: 700; transition: border-color .2s, background .2s, color .2s, translate .25s var(--ease-spring), box-shadow .25s; }
.opt b { font-size: 22px; font-variant-numeric: tabular-nums; }
.opt input:checked + span { border-color: var(--ink); background: var(--matcha-deep); color: var(--foam); translate: -2px -2px; box-shadow: var(--pop-sm); }
.opt input:focus-visible + span { box-shadow: var(--focus-ring); }
.set-total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin: var(--space-5) 0; }
.set-total strong { font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: 56px; line-height: 1; font-variant-numeric: tabular-nums; }
.set-total s { color: var(--sage); }
.terms { font-size: 14px; color: var(--sage); margin-top: var(--space-3); }
.fly { position: fixed; z-index: 320; pointer-events: none; height: auto; filter: drop-shadow(0 10px 14px rgba(0,0,0,.25)); }
.cart-btn.bump span { animation: bump .5s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.6); } }

/* ---------- Reviews: locked heading, cards zoom down onto the page ---------- */
.reviews-sec { position: relative; padding-bottom: var(--section-pad); overflow-x: clip; }
/* The heading block sticks to the top while the cards scroll up beneath it; its lower edge fades out. */
.rv-head { position: relative; z-index: 3; text-align: center; padding: var(--space-6) 0 var(--space-7); background: linear-gradient(var(--foam) 78%, rgba(244,245,234,0)); }
@media (min-width: 700px) { .rv-head { position: sticky; top: 0; padding: var(--space-7) 0 var(--space-8); } }
.rv-ghost { position: absolute; z-index: -1; left: 0; right: 0; top: 50%; transform: translateY(-58%); margin: 0; display: flex; justify-content: center; white-space: nowrap; pointer-events: none; user-select: none; font-size: clamp(110px, 17vw, 270px); color: var(--matcha-deep); opacity: .07; }
.rv-ghost span { display: inline-block; will-change: transform; }
.rv-head-inner { position: relative; }
.rv-head .quote-mark { font-family: var(--font-serif); font-size: 130px; line-height: .55; height: 54px; display: block; color: var(--whisk); -webkit-text-stroke: 2px var(--ink); }
.rv-head .lead { margin-top: var(--space-4); margin-bottom: 0; }
@media (min-width: 700px) and (max-height: 760px) { .rv-head .quote-mark { display: none; } }
/* Masonry columns: the cards land into these slots. */
.rv-grid { position: relative; z-index: 1; columns: 1; column-gap: 22px; margin-top: var(--space-5); }
@media (min-width: 700px) { .rv-grid { columns: 2; } }
@media (min-width: 1040px) { .rv-grid { columns: 3; } }
.rv-cell { break-inside: avoid; padding-bottom: 22px; }
.rv { margin: 0; background: var(--white); border: var(--stroke); border-radius: 24px; padding: 24px 26px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--pop); rotate: -1deg; transform-origin: 50% 50%; transition: rotate .4s var(--ease-spring), scale .4s var(--ease-spring); }
.rv-cell:nth-child(even) .rv { rotate: 1.2deg; }
.rv-cell:nth-child(3n) .rv { rotate: -.4deg; }
.rv:hover { rotate: 0deg; scale: 1.02; }
.rv.lime { background: var(--whisk); }
.rv.butter { background: var(--vanilla); }
.rv blockquote { margin: 0; font-family: var(--font-serif); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.35; font-variation-settings: "SOFT" 100; }
.rv figcaption { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.rv figcaption i { width: 36px; height: 36px; border-radius: 10px; border: var(--stroke); background: var(--matcha-deep); color: var(--foam); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 14px; }
.rv .reply { margin: 0; font-size: 14px; padding-top: 12px; border-top: 1.5px solid rgba(22,33,27,.2); }
.reviews-foot { text-align: center; margin-top: var(--space-5); }

/* ---------- Guarantee ---------- */
.promise { text-align: center; }
.promise-inner { position: relative; }
.promise .big { font-size: clamp(120px, 22vw, 300px); color: var(--matcha-deep); line-height: .8; text-shadow: .03em .03em 0 rgba(18,58,36,.14); }
.promise .big span { font-variant-numeric: tabular-nums; }
.promise .big em { font-family: var(--font-serif); font-style: italic; font-weight: 400; text-transform: none; font-stretch: normal; font-size: .3em; display: block; color: var(--leaf); letter-spacing: -.01em; margin-top: 10px; text-shadow: none; }
.promise .lead { margin: var(--space-6) auto; text-align: center; }
.promise-seal { position: absolute; right: 10%; top: -2%; width: clamp(84px, 11vw, 150px); aspect-ratio: 1; rotate: 12deg; filter: drop-shadow(3px 3px 0 var(--ink)); }
.promise-seal svg { display: block; width: 100%; height: 100%; }
@media (max-width: 699px) { .promise-seal { right: 2%; top: -6%; } }

/* ---------- Follow along ---------- */
.follow { position: relative; overflow: hidden; padding: 0 0 var(--section-pad); text-align: center; }
.follow-band { background: var(--chai); border-block: var(--stroke); padding: 14px 0; overflow: hidden; }
.follow-band span { font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: clamp(56px, 9vw, 140px); line-height: 1; color: var(--ink); padding: 0 .3em; text-transform: none; }
.follow-band span:nth-child(even) { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.follow-inner { position: relative; display: grid; justify-items: center; gap: var(--space-5); padding-top: var(--space-8); }
.follow-inner h2 { max-width: 22ch; position: relative; z-index: 2; }
.follow-inner .btn { position: relative; z-index: 2; }
.f-st { position: absolute; z-index: 1; height: auto; pointer-events: none; filter: drop-shadow(0 14px 18px rgba(0,0,0,.18)); }
.f1 { width: clamp(80px, 10vw, 150px); left: 4%; top: 30%; rotate: -12deg; }
.f2 { width: clamp(80px, 11vw, 160px); right: 4%; top: 22%; rotate: 14deg; }
.f3 { width: clamp(60px, 7vw, 110px); left: 22%; bottom: -10%; rotate: 20deg; }
@media (max-width: 699px) { .f-st { opacity: .45; } .f3 { display: none; } }

/* ---------- Footer: product shelf, newsletter sticker card, links ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--matcha-deep); color: var(--foam); border-top: var(--stroke); padding-top: var(--space-8); }
.site-footer::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px; }
.site-footer .wrap { position: relative; }
.foot-top { display: grid; gap: var(--space-8); align-items: start; }
@media (min-width: 960px) { .foot-top { grid-template-columns: 1.05fr 1fr; gap: var(--space-9); } }
/* Newsletter as a cream sticker card with a lime offset shadow. */
.foot-news { background: var(--cream); color: var(--ink); border: var(--stroke); border-radius: var(--radius-lg); box-shadow: 8px 8px 0 var(--whisk); padding: 28px 22px 22px; rotate: -1deg; }
@media (min-width: 768px) { .foot-news { padding: 40px 40px 30px; } }
.foot-news h2 { margin: 0 0 8px; color: var(--matcha-deep); }
.foot-news-sub { margin: 0 0 var(--space-5); color: var(--sage); font-size: 16px; }
.signup { display: flex; gap: 6px; background: var(--white); border: var(--stroke); border-radius: var(--radius-md); padding: 5px; box-shadow: var(--pop-sm); }
.signup input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 12px; font: 400 16px var(--font-body); color: var(--ink); }
.signup input:focus-visible { outline: 2px solid var(--leaf); outline-offset: 2px; border-radius: 10px; box-shadow: none; }
.signup .btn { min-height: 46px; border-radius: 12px; box-shadow: none; }
.signup .btn:hover, .signup .btn:active { translate: none; box-shadow: none; }
.signup.is-error { border-color: #B42318; }
.signup-msg { min-height: 1.5em; margin: 10px 0 0; font-size: 14px; font-weight: 700; color: var(--leaf); }
.signup-msg.is-error { color: #B42318; }
@media (max-width: 420px) { .signup .btn > span:first-child { display: none; } .signup .btn { padding: 0 4px; } }
/* Link columns */
.foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6) var(--space-5); }
@media (min-width: 600px) { .foot-cols { grid-template-columns: repeat(3, 1fr); } }
.foot-cols h3 { font-family: var(--font-display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; font-size: 24px; color: var(--whisk); margin-bottom: var(--space-4); }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols li { margin-bottom: 10px; }
.foot-cols a { position: relative; text-decoration: none; font-size: 15px; color: rgba(244,245,234,.82); transition: color .2s; }
.foot-cols a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--whisk); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .35s var(--ease-out); }
.foot-cols a:hover { color: var(--foam); }
.foot-cols a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
/* Contact, socials, back to top */
.foot-mid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); margin-top: var(--space-8); padding: var(--space-5) 0 var(--space-6); border-top: 1.5px solid rgba(244,245,234,.2); }
.foot-contact { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 15px; color: rgba(244,245,234,.82); }
.foot-contact a { color: var(--foam); text-decoration: none; font-weight: 600; }
.foot-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.foot-social a { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; border: var(--stroke); background: var(--cream); color: var(--ink); box-shadow: 3px 3px 0 var(--whisk); transition: translate .2s var(--ease-out), box-shadow .2s var(--ease-out), background .2s; }
.foot-social a:hover { translate: -2px -2px; box-shadow: 5px 5px 0 var(--whisk); background: var(--whisk); }
.foot-social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Product shelf: the footer's top row, a last chance to pick a bag. */
.foot-shelf { padding-bottom: var(--space-8); margin-bottom: var(--space-8); border-bottom: 1.5px solid rgba(244,245,234,.2); }
.shelf-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-4) var(--space-6); margin-bottom: var(--space-6); }
.shelf-head h2 { color: var(--foam); }
.shelf-head h2 em { color: var(--whisk); }
/* Scrolls sideways on smaller screens, seven across on wide ones. */
.shelf { list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 6px var(--gutter) 16px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(158px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
.shelf::-webkit-scrollbar { display: none; }
@media (min-width: 1180px) { .shelf { grid-auto-flow: row; grid-template-columns: repeat(7, 1fr); overflow: visible; margin: 0; padding: 6px 0 16px; } }
.shelf li { scroll-snap-align: start; }
.shelf-item { height: 100%; display: flex; flex-direction: column; border: var(--stroke); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 4px 4px 0 var(--whisk); transition: translate .3s var(--ease-spring), box-shadow .3s var(--ease-out); }
.shelf-item:hover { translate: -3px -3px; box-shadow: 7px 7px 0 var(--whisk); }
.shelf-pic { height: 150px; display: flex; align-items: center; justify-content: center; padding: 16px 12px 8px; }
.shelf-pic img { max-height: 100%; max-width: 100%; width: auto; height: auto; filter: drop-shadow(0 10px 12px rgba(0,0,0,.22)); transition: transform .5s var(--ease-spring); }
.shelf-item:hover .shelf-pic img { transform: translateY(-6px) rotate(-6deg) scale(1.08); }
.shelf-txt { margin-top: auto; display: grid; gap: 2px; padding: 10px 12px 12px; background: var(--cream); border-top: var(--stroke); }
.shelf-name { font-size: 14px; font-weight: 800; line-height: 1.2; }
.shelf-price { font-size: 12px; font-weight: 700; color: var(--sage); white-space: nowrap; }
.legal { position: relative; z-index: 3; background: var(--ink); color: rgba(244,245,234,.75); font-size: 13px; padding: var(--space-5) 0; border-top: var(--stroke); }
.legal p { margin: 0 0 8px; max-width: 110ch; }
.legal-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 0 !important; max-width: none !important; }
.legal a { color: var(--foam); }

/* ---------- Custom cursor (fine pointers only) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; width: 66px; height: 66px; margin: 14px 0 0 14px; border-radius: 50%; border: var(--stroke); background: var(--whisk); color: var(--matcha-deep); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; transform: scale(0); transition: transform .3s var(--ease-spring); }
.cursor.is-on { transform: scale(1); }

/* ---------- Intro: hide hero pieces only until the motion script takes over ---------- */
.js:not(.intro-done) [data-intro] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html:not(.lenis) { scroll-behavior: auto; }
}
