/* Lumiéra, Lion’s Mane Vanilla Latte. Rebuild of October 14, 2026; product and payment update October 18, 2026.
   The brand's own palette and nothing else: cream, forest green, gold. Navy appears only on the pack art.
   One look for every viewer (no dark variant, by the client's rule).
   Type: Cinzel for the LUMIÉRA wordmark, Instrument Serif for headlines, Bricolage Grotesque for everything else. */

:root {
  --cream: #F7F1E6;
  --cream-2: #EFE4D0;
  --champagne: #F2E2B8;
  --paper: #FFFCF7;
  --gold: #C9A54B;
  --gold-l: #E8CF86;
  --gold-xl: #F7EAC2;
  --gold-d: #8A6A22;
  --green: #1F4D2B;
  --green-d: #143821;
  --night: #0B2215;
  --sage: #E4ECE1;
  --ink: #1D2A20;
  --muted: #5E6A5F;
  --line: rgba(138, 106, 34, .28);

  --f-brand: "Cinzel", "Times New Roman", serif;
  --f-disp: "Instrument Serif", Georgia, serif;
  --f-ui: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;

  --gut: clamp(18px, 4.6vw, 64px);
  --max: 1320px;
  --r: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-row: 72px;
  --band-h: 36px;
  /* the fixed top is the running-text strip plus the menu: everything that clears it uses --nav-h */
  --nav-h: calc(var(--nav-row) + var(--band-h));
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
@supports not (overflow: clip) { body { overflow-x: hidden; } }
body {
  margin: 0; overflow-x: clip;
  background: var(--cream); color: var(--ink);
  font: 400 1.0625rem/1.55 var(--f-ui); font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:where(a, button, input, summary, [tabindex]):focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
body.is-locked { overflow: hidden; }
.narrow-only { display: none; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 5000; background: var(--green); color: var(--cream); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - var(--gut) * 2, var(--max)); margin-inline: auto; }
.tbc { display: inline-block; padding: 1px 9px; border: 1.5px dashed var(--gold); border-radius: 999px; font: 700 .78rem/1.6 var(--f-ui); letter-spacing: .04em; color: var(--gold-d); vertical-align: middle; white-space: nowrap; }

/* the gold wordmarks are SVG text with a gradient fill: it renders the same in every browser, Safari included */
.mast { display: block; height: auto; overflow: visible; }
.mast text { font: 700 200px var(--f-brand); letter-spacing: 3px; }

/* type */
.h2 { font: 400 clamp(2.6rem, 6.2vw, 5.6rem)/.95 var(--f-disp); letter-spacing: -.012em; color: var(--green); text-wrap: balance; }
.lede { font-size: clamp(1.05rem, 1.3vw, 1.22rem); line-height: 1.55; color: var(--muted); max-width: 46ch; text-wrap: pretty; }
.small { font-size: .9rem; }

/* buttons */
.btn {
  --bg: var(--gold); --fg: var(--green-d);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 56px; padding: 0 1.7rem; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg); font: 700 1.02rem/1 var(--f-ui); white-space: nowrap; text-decoration: none;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
.btn:active { transform: translateY(1px); }
.btn--gold { background: linear-gradient(180deg, #D8B860, var(--gold)); box-shadow: 0 10px 26px rgba(201, 165, 75, .38), inset 0 1px 0 rgba(255, 255, 255, .45); }
@media (hover: hover) { .btn--gold:hover { box-shadow: 0 14px 32px rgba(201, 165, 75, .48), inset 0 1px 0 rgba(255, 255, 255, .45); } }
.btn--green { --bg: var(--green); --fg: var(--cream); box-shadow: 0 10px 26px rgba(20, 56, 33, .28); }
@media (hover: hover) { .btn--green:hover { background: var(--green-d); } }
.btn--line { --bg: transparent; --fg: var(--green); border-color: var(--green); }
@media (hover: hover) { .btn--line:hover { background: var(--sage); } }
.btn--sm { min-height: 44px; padding: 0 1.15rem; font-size: .95rem; }
.btn--wide { width: 100%; }
.textlink { background: none; border: 0; padding: 4px 0; font: 700 1rem/1.2 var(--f-ui); color: var(--green); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (hover: hover) { .textlink:hover { color: var(--gold-d); } }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: calc(var(--band-h) + env(safe-area-inset-top, 0px)) 0 auto; z-index: 900; height: var(--nav-row);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 max(var(--gut), env(safe-area-inset-right, 0px)) 0 max(var(--gut), env(safe-area-inset-left, 0px));
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), transform .35s var(--ease);
}
.nav.is-solid { background: rgba(247, 241, 230, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.is-dark { background: rgba(8, 26, 16, .62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(232, 207, 134, .2); }
.nav.is-dark .nav__brand { color: var(--cream); }
@media (min-width: 961px) { .nav.is-dark .nav__links a { color: var(--cream); } .nav.is-dark .nav__links a:hover { color: var(--gold-l); } }
.nav__brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--green); }
.nav__brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.nav__brand b { font: 600 1.05rem/1 var(--f-brand); letter-spacing: .18em; }
.nav__links { display: flex; gap: 1.9rem; }
.nav__links a { font-weight: 600; font-size: .98rem; text-decoration: none; color: var(--green); }
@media (hover: hover) { .nav__links a:hover { color: var(--gold-d); } }
.nav__end { display: flex; align-items: center; gap: .7rem; }
.cartbtn { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 .9rem 0 .8rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--green); font-weight: 700; font-size: .95rem; }
.cartbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.cartbtn i { font-style: normal; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--green); color: var(--cream); font-size: .76rem; }
.cartbtn.bump i { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); background: var(--gold); color: var(--green-d); } }
.burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 50%; background: var(--paper); padding: 0; place-items: center; }
.burger i { display: block; width: 16px; height: 2px; background: var(--green); box-shadow: 0 -5px 0 var(--green), 0 5px 0 var(--green); border-radius: 2px; }

/* ---------- the cover: the client's format, a photo of the first sip with the question and the answer beside it ---------- */
.cover {
  position: relative; height: max(100vh, 720px); height: max(100svh, 720px); max-height: 1080px; overflow: hidden; isolation: isolate;
  background: #F4EADB;
}
/* the photo fills the cover; she and the box are on its left, its right half is soft window light for the words */
.cover__photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
/* a soft wash at the top keeps the menu readable over her hair */
.cover__photo::before { content: ""; position: absolute; z-index: 1; inset: 0 0 auto; height: calc(var(--nav-h) + 40px); background: linear-gradient(180deg, rgba(251, 246, 236, .7), rgba(251, 246, 236, 0)); pointer-events: none; }
.cover__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 18% 50%; transform: translateY(var(--photo-y, 0px)) scale(var(--photo-s, 1.02)); transform-origin: 30% 40%; animation: photoin 1.4s var(--ease) both; }
@keyframes photoin { from { opacity: 0; scale: 1.06; } to { opacity: 1; scale: 1; } }
/* warm the right side a little so the words always sit on calm light, whatever the screen's shape */
.cover__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251, 246, 236, 0) 44%, rgba(251, 246, 236, .55) 62%, rgba(251, 246, 236, .78) 100%); }

.cover__copy { position: absolute; z-index: 4; right: var(--gut); top: 50%; translate: 0 -46%; width: min(40vw, 540px); display: grid; gap: 1.05rem; }
.cover__copy > * { animation: fadein .9s var(--ease) both; }
.cover__copy > :nth-child(1) { animation-delay: .35s; } .cover__copy > :nth-child(2) { animation-delay: .5s; } .cover__copy > :nth-child(3) { animation-delay: .62s; }
.cover__copy > :nth-child(4) { animation-delay: .74s; } .cover__copy > :nth-child(5) { animation-delay: .86s; }
@keyframes fadein { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.cover__title { display: grid; line-height: .9; }
.cover__title .w1 { font: 800 clamp(3.1rem, 5.6vw, 6rem)/.9 var(--f-ui); font-variation-settings: "opsz" 96, "wdth" 86; letter-spacing: -.035em; color: var(--green); }
.cover__title .w2 { font: italic 400 clamp(3.6rem, 6.6vw, 7rem)/.92 var(--f-disp); color: var(--gold-d); letter-spacing: -.01em; }
/* "Meet your new daily ritual." on a stroke of gold paint, as in the client's sample */
.cover__ritual { justify-self: start; rotate: -2deg; font: italic 400 clamp(1.5rem, 2.3vw, 2.25rem)/1.8 var(--f-disp); }
.cover__ritual span {
  padding: .38em 1.1em .42em .8em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  color: var(--green-d);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23E2C578'/%3E%3Cstop offset='.55' stop-color='%23F2DD9A'/%3E%3Cstop offset='1' stop-color='%23C9A54B'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M6 14 C40 6 120 9 200 7 C280 5 350 4 394 9 L388 20 L397 27 L390 36 L396 46 C330 55 240 53 160 55 C100 56 40 54 9 51 L14 42 L3 33 L12 24 Z'/%3E%3Cpath fill='%23FFF6D6' opacity='.45' d='M30 15 C120 11 260 10 360 13 L358 17 C260 15 120 16 32 19 Z'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  filter: drop-shadow(0 6px 10px rgba(138, 106, 34, .22));
}
.cover__lead { font-size: 1.06rem; color: var(--ink); max-width: 44ch; text-wrap: pretty; }
.cover__buy { display: grid; gap: .9rem; }
.cover__price { display: flex; align-items: center; gap: .8rem; }
.cover__price b { font: 800 3rem/.9 var(--f-ui); font-variation-settings: "opsz" 96; letter-spacing: -.03em; color: var(--green); }
.cover__price span { font-size: .92rem; line-height: 1.3; color: var(--muted); font-weight: 600; }
.cover__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; }
.cover__trust { display: flex; flex-wrap: wrap; gap: .5rem; }
.cover__trust span { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .85rem; border-radius: 999px; background: rgba(255, 252, 247, .8); border: 1px solid var(--line); font-weight: 700; font-size: .86rem; color: var(--green); }
.cover__trust svg { width: 17px; height: 17px; fill: none; stroke: var(--gold-d); stroke-width: 1.8; stroke-linejoin: round; }
/* "SIP SMART. STAY SHARP." in the bottom right corner, the client's sign-off, on forest green */
.cover__tag {
  justify-self: end; margin: .4rem calc(var(--gut) * -1) 0 0; padding: .95rem var(--gut) 1rem 3rem;
  background: linear-gradient(100deg, var(--green) 0%, var(--green-d) 100%); clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%);
  font: italic 800 clamp(1.4rem, 2.2vw, 2.2rem)/.95 var(--f-ui); font-variation-settings: "opsz" 96, "wdth" 90; letter-spacing: -.01em; color: var(--cream); white-space: nowrap;
  box-shadow: inset 0 3px 0 var(--gold);
}
.cover__copy > .cover__tag { animation: tagin 1s var(--ease) 1s both; }
.cover__tag span:last-child { color: var(--gold-l); }
@keyframes tagin { from { opacity: 0; translate: 40px 0; } to { opacity: 1; translate: 0 0; } }

/* ---------- the band ---------- */
.band { position: fixed; inset: 0 0 auto; z-index: 901; height: calc(var(--band-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); display: flex; align-items: center; background: var(--green-d); border-bottom: 1px solid rgba(201, 165, 75, .55); overflow: hidden; }
.band__track { display: flex; width: max-content; animation: band 40s linear infinite; }
.band__track span { display: inline-flex; align-items: center; gap: 1.6rem; padding-right: 1.6rem; font: italic 400 1.08rem/1 var(--f-disp); color: var(--gold-l); white-space: nowrap; }
.band__track span::after { content: "✦"; font-style: normal; font-size: .7em; color: var(--gold); }
@keyframes band { to { transform: translateX(-50%); } }

/* ---------- the ritual ---------- */
.ritual { position: relative; height: 560vh; background: var(--night); color: var(--cream); }
.ritual__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(70% 60% at 62% 55%, #1E5235 0%, #0F2E1C 52%, #081A10 100%); }
.ritual__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1s var(--ease); }
.ritual.is-ready .ritual__canvas { opacity: 1; }
.ritual__fallback { display: none; }
.ritual__copy { position: absolute; z-index: 2; left: var(--gut); top: 50%; transform: translateY(-46%); width: min(36vw, 480px); display: grid; }
.step { grid-area: 1 / 1; align-self: center; display: grid; gap: 1rem; opacity: 0; transform: translateY(26px); transition: opacity .22s ease, transform .3s ease; pointer-events: none; }
.ritual[data-step="0"] .step[data-i="0"], .ritual[data-step="1"] .step[data-i="1"], .ritual[data-step="2"] .step[data-i="2"],
.ritual[data-step="3"] .step[data-i="3"], .ritual[data-step="4"] .step[data-i="4"] { opacity: 1; transform: none; pointer-events: auto; transition: opacity .5s var(--ease) .2s, transform .7s var(--ease) .2s; }
.step__n { font: 700 .95rem/1 var(--f-ui); letter-spacing: .08em; color: var(--gold-l); display: flex; align-items: center; gap: .7rem; }
.step__n::after { content: ""; width: 46px; height: 1.5px; background: var(--gold); }
.step h2 { font: 400 clamp(3rem, 5.6vw, 5.8rem)/.94 var(--f-disp); letter-spacing: -.012em; text-wrap: balance; color: var(--cream); }
.step[data-i="4"] h2 { font-style: italic; color: var(--gold-l); }
.step > p:not(.step__n) { font-size: 1.12rem; color: rgba(247, 241, 230, .82); max-width: 32ch; }
.step__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin-top: .4rem; }
.step__ctas span { font-weight: 700; color: var(--gold-l); }
.ritual__rail { position: absolute; z-index: 2; right: var(--gut); top: 50%; transform: translateY(-50%); display: grid; gap: 1.1rem; counter-reset: r; }
.ritual__rail li { display: flex; align-items: center; justify-content: flex-end; gap: .7rem; font-weight: 700; font-size: .85rem; color: rgba(247, 241, 230, .45); transition: color .4s var(--ease); counter-increment: r; }
.ritual__rail li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; transition: background-color .4s var(--ease), transform .4s var(--ease); }
.ritual[data-step="0"] .ritual__rail li:nth-child(-n + 1), .ritual[data-step="1"] .ritual__rail li:nth-child(-n + 2), .ritual[data-step="2"] .ritual__rail li:nth-child(-n + 3),
.ritual[data-step="3"] .ritual__rail li:nth-child(-n + 4), .ritual[data-step="4"] .ritual__rail li:nth-child(-n + 5) { color: var(--gold-l); }
.ritual[data-step="0"] .ritual__rail li:nth-child(1)::after, .ritual[data-step="1"] .ritual__rail li:nth-child(2)::after, .ritual[data-step="2"] .ritual__rail li:nth-child(3)::after,
.ritual[data-step="3"] .ritual__rail li:nth-child(4)::after, .ritual[data-step="4"] .ritual__rail li:nth-child(5)::after { background: var(--gold-l); transform: scale(1.35); }
.ritual__hint { position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .5rem; font-weight: 700; font-size: .8rem; letter-spacing: .1em; color: var(--gold-l); transition: opacity .4s; }
.ritual__hint::after { content: ""; width: 1.5px; height: 34px; background: linear-gradient(var(--gold-l), transparent); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { from { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } to { transform: scaleY(0); transform-origin: bottom; } }
.ritual:not([data-step="0"]) .ritual__hint { opacity: 0; }
/* without WebGL the steps are a plain list beside the box photo */
.ritual.no-gl { height: auto; }
.ritual.no-gl .ritual__pin { position: relative; height: auto; display: grid; gap: 2rem; padding: 6rem var(--gut); }
.ritual.no-gl .ritual__canvas, .ritual.no-gl .ritual__rail, .ritual.no-gl .ritual__hint { display: none; }
.ritual.no-gl .ritual__fallback { display: block; width: min(100%, 720px); border-radius: var(--r); }
.ritual.no-gl .ritual__copy { position: static; transform: none; width: auto; gap: 2.4rem; }
.ritual.no-gl .step { grid-area: auto; opacity: 1; transform: none; pointer-events: auto; }

/* ---------- the label ---------- */
.label { padding: clamp(5rem, 11vw, 9.5rem) 0 clamp(4rem, 8vw, 7rem); background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%); }
.label__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.label__card { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; justify-items: center; gap: 1.2rem; }
.flip { position: relative; width: min(100%, 380px); aspect-ratio: 1114 / 1716; perspective: 1400px; }
.flip__face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 14px; backface-visibility: hidden; transition: transform 1s var(--ease); box-shadow: 0 30px 60px rgba(60, 45, 10, .22), 0 0 0 1px rgba(60, 45, 10, .08); }
.flip__back { transform: rotateY(180deg); }
.flip.is-flipped .flip__face:first-child { transform: rotateY(-180deg); }
.flip.is-flipped .flip__back { transform: rotateY(0deg); }
.label__text { display: grid; gap: 1.4rem; padding-top: 1rem; }
.ingredients { font: 400 clamp(1.25rem, 1.9vw, 1.7rem)/1.42 var(--f-disp); color: rgba(29, 42, 32, .62); text-wrap: pretty; }
.ingredients mark { color: var(--green); background: linear-gradient(transparent 58%, rgba(232, 207, 134, .75) 58%, rgba(232, 207, 134, .75) 92%, transparent 92%) no-repeat 0 0 / 0% 100%; transition: background-size 1s var(--ease); }
.ingredients.is-in mark { background-size: 100% 100%; }
.ingredients.is-in mark:nth-of-type(2) { transition-delay: .15s; } .ingredients.is-in mark:nth-of-type(3) { transition-delay: .3s; }
.ingredients.is-in mark:nth-of-type(4) { transition-delay: .45s; } .ingredients.is-in mark:nth-of-type(5) { transition-delay: .6s; } .ingredients.is-in mark:nth-of-type(6) { transition-delay: .75s; }
.legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; }
.legend div { padding-top: .8rem; border-top: 1.5px solid var(--gold); }
.legend dt { font-weight: 800; color: var(--green); }
.legend dd { color: var(--muted); font-size: .98rem; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(3.5rem, 7vw, 6rem); border-block: 1.5px solid var(--gold); }
.facts li { display: grid; gap: .3rem; padding: 1.6rem 1.4rem; }
.facts li + li { border-left: 1px solid var(--line); }
.facts b { font: 800 clamp(2.6rem, 5vw, 4.6rem)/.9 var(--f-ui); font-variation-settings: "opsz" 96, "wdth" 85; letter-spacing: -.035em; color: var(--green); font-variant-numeric: tabular-nums; }
.facts li > span { font-weight: 700; color: var(--gold-d); }
.label__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem 2rem; margin-top: 1.4rem; color: var(--muted); font-weight: 600; font-size: .95rem; }

/* ---------- hot or iced ---------- */
.taste { padding: clamp(4.5rem, 9vw, 8rem) 0; background: var(--green-d); color: var(--cream); }
.taste .h2 { color: var(--cream); }
.taste .lede { color: rgba(247, 241, 230, .78); }
.taste__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem 4rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.compare { position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, .35), 0 0 0 1.5px rgba(232, 207, 134, .5); user-select: none; touch-action: pan-y; }
.compare__side { position: absolute; inset: 0; display: grid; place-items: center; }
.compare__hot { background: radial-gradient(60% 70% at 50% 58%, #FFF1C9 0%, #EBC873 45%, #B98A2E 100%); }
.compare__iced { background: radial-gradient(60% 70% at 50% 58%, #FBFDF8 0%, #DCE8D7 50%, #9FB9A0 100%); clip-path: inset(0 0 0 var(--x)); }
/* the photos never take the pointer: a mouse press on one would start the browser's own image drag and cancel the slider */
.compare__side img { width: min(56%, 520px); filter: drop-shadow(0 30px 30px rgba(60, 40, 10, .3)); pointer-events: none; -webkit-user-drag: none; }
.compare__tag { position: absolute; top: 22px; padding: .45rem 1rem; border-radius: 999px; font: italic 400 1.6rem/1 var(--f-disp); }
.compare__hot .compare__tag { left: 22px; background: rgba(255, 252, 247, .85); color: var(--gold-d); }
.compare__iced .compare__tag { right: 22px; background: rgba(255, 255, 255, .85); color: var(--green); }
.compare__how { position: absolute; bottom: 22px; padding: .5rem 1rem; border-radius: 999px; background: rgba(255, 252, 247, .88); color: var(--green-d); font-weight: 700; font-size: .92rem; }
.compare__hot .compare__how { left: 22px; } .compare__iced .compare__how { right: 22px; }
.compare__tag, .compare__how { transition: opacity .25s var(--ease); }
.compare.hot-hidden .compare__hot .compare__tag, .compare.hot-hidden .compare__hot .compare__how,
.compare.iced-hidden .compare__iced .compare__tag, .compare.iced-hidden .compare__iced .compare__how { opacity: 0; }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: var(--paper); box-shadow: 0 0 18px rgba(0, 0, 0, .25); pointer-events: none; }
.compare__line span { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; background: var(--paper); box-shadow: 0 8px 22px rgba(0, 0, 0, .25), 0 0 0 3px var(--gold); }
.compare__line svg { width: 26px; fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.compare { cursor: ew-resize; }
.compare__range { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.compare__range:focus-visible + * { outline: none; }
.compare:has(.compare__range:focus-visible) .compare__line span { box-shadow: 0 0 0 4px var(--gold-l), 0 8px 22px rgba(0, 0, 0, .25); }
.steam { position: absolute; left: 50%; top: 14%; width: 20%; height: 26%; transform: translateX(-62%); pointer-events: none; }
.steam i { position: absolute; bottom: 0; width: 28%; height: 100%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0)); filter: blur(8px); animation: steam 4.2s ease-in infinite; }
.steam i:nth-child(1) { left: 10%; } .steam i:nth-child(2) { left: 38%; animation-delay: 1.4s; } .steam i:nth-child(3) { left: 66%; animation-delay: 2.8s; }
@keyframes steam { from { opacity: 0; transform: translateY(40%) scaleY(.6); } 30% { opacity: .9; } to { opacity: 0; transform: translateY(-50%) scaleY(1.2) translateX(10%); } }
.frost i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 4px rgba(255, 255, 255, .9); animation: twinkle 2.6s ease-in-out infinite; }
.frost i:nth-child(1) { left: 62%; top: 30%; } .frost i:nth-child(2) { left: 70%; top: 58%; animation-delay: .6s; } .frost i:nth-child(3) { left: 58%; top: 70%; animation-delay: 1.2s; }
.frost i:nth-child(4) { left: 74%; top: 38%; animation-delay: 1.8s; } .frost i:nth-child(5) { left: 66%; top: 46%; animation-delay: 2.2s; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1); } }
.notes { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 2rem; }
.notes li { padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid rgba(232, 207, 134, .5); font: italic 400 1.35rem/1.2 var(--f-disp); color: var(--gold-l); }

/* ---------- versus ---------- */
.versus { padding: clamp(5rem, 10vw, 8.5rem) 0; background: var(--paper); }
.versus__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem 4rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.vs { display: grid; border-radius: var(--r); overflow: hidden; border: 1.5px solid var(--gold); }
.vs__row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 4fr) minmax(0, 5fr); }
.vs__row > span { padding: 1.15rem 1.4rem; }
.vs__row + .vs__row { border-top: 1px solid var(--line); }
.vs__row > span:nth-child(1) { font-weight: 800; color: var(--gold-d); font-size: .95rem; }
.vs__row > span:nth-child(2) { color: #8C877C; background: var(--cream); }
.vs__row > span:nth-child(3) { background: var(--green); color: var(--cream); font: 400 1.45rem/1.2 var(--f-disp); }
.vs__top > span { font-weight: 800 !important; font-size: .95rem !important; font-family: var(--f-ui) !important; padding-block: .95rem; }
.vs__top > span:nth-child(3) { color: var(--gold-l); }
.vs s { text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 55% / 0% 1.5px; transition: background-size .9s var(--ease); }
.vs.is-in s { background-size: 100% 1.5px; }

/* ---------- made for ---------- */
.made { padding: clamp(5rem, 10vw, 8rem) 0 0; background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); overflow: hidden; }
.made__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.made__pic { position: relative; align-self: end; }
.made__sun { position: absolute; left: 50%; top: 18%; width: 92%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 40% 35%, #F7EAC2 0%, var(--gold-l) 40%, var(--gold) 100%); box-shadow: 0 0 120px rgba(201, 165, 75, .45); }
/* a group photo cut flat at its sides: fade those edges, and the bottom, into the section */
.made__pic img { position: relative; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(0deg, transparent 0, #000 9%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(0deg, transparent 0, #000 9%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.made__text { display: grid; gap: 1.6rem; padding-bottom: clamp(4rem, 8vw, 7rem); }
.made__h { min-height: 2.9em; }
.rotor { display: block; color: var(--gold-d); font-style: italic; }
.rotor span { display: inline-block; animation: swap .6s var(--ease) both; }
@keyframes swap { from { opacity: 0; transform: translateY(40%); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.who { display: flex; flex-wrap: wrap; gap: .55rem; }
.who li { padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--green); font-weight: 700; color: var(--green); font-size: .95rem; transition: background-color .3s, color .3s; }
.who li.is-on { background: var(--green); color: var(--cream); }
.realtalk { display: grid; gap: .7rem; padding: 1.6rem 1.7rem; border-radius: var(--r); background: var(--green); color: var(--cream); box-shadow: 0 24px 50px rgba(20, 56, 33, .25); }
.realtalk h3 { font: italic 400 2.2rem/1 var(--f-disp); color: var(--gold-l); }
.realtalk .small { color: rgba(247, 241, 230, .72); }

/* ---------- bundles ---------- */
.bundles { padding: clamp(5rem, 10vw, 8.5rem) 0; background: radial-gradient(70% 80% at 60% 30%, #FBF1D6 0%, var(--cream) 60%); }
.bundles__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem 4rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.bundles__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 4fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
.pick { display: grid; gap: .8rem; }
.pick button { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1rem; align-items: center; text-align: left; padding: 1.1rem 1.3rem; border-radius: 18px; border: 1.5px solid var(--line); background: var(--paper); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
@media (hover: hover) { .pick button:hover { transform: translateY(-2px); } }
.pick b { font: 400 1.8rem/1 var(--f-disp); color: var(--green); }
.pick span { grid-column: 1; font-size: .92rem; color: var(--muted); }
.pick em { grid-row: 1 / span 2; grid-column: 2; font: 800 1.3rem/1 var(--f-ui); font-style: normal; color: var(--green); }
.pick [aria-checked="true"] { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-l), 0 16px 34px rgba(201, 165, 75, .25); background: #FFFBEF; }
.stack { display: grid; justify-items: center; gap: 1.2rem; }
.stack__scene { position: relative; width: 100%; height: 400px; perspective: 1600px; pointer-events: none; }
.cbox { --w: 172px; --h: 162px; --d: 121px; position: absolute; left: 50%; bottom: 20px; width: var(--w); height: var(--h); margin-left: calc(var(--w) / -2); transform-style: preserve-3d; transition: transform .8s var(--ease), opacity .5s var(--ease); }
.cbox i { position: absolute; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(60, 45, 10, .08); }
.cbox .fr { inset: 0; background-image: url(../assets/box-front.jpg); transform: translateZ(calc(var(--d) / 2)); }
.cbox .rt { top: 0; height: var(--h); width: var(--d); left: calc((var(--w) - var(--d)) / 2); background-image: url(../assets/box-right.jpg); transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); filter: brightness(.86); }
.cbox .tp { left: 0; width: var(--w); height: var(--d); top: calc((var(--h) - var(--d)) / 2); background-image: url(../assets/box-top.jpg); transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); filter: brightness(1.04); }
.cbox .sh { left: -10%; width: 120%; height: var(--d); top: calc((var(--h) - var(--d)) / 2); background: radial-gradient(closest-side, rgba(60, 45, 10, .32), rgba(60, 45, 10, 0)); transform: rotateX(90deg) translateZ(calc(var(--h) / -2 - 1px)); box-shadow: none; }
.stack__rig { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(-16deg) rotateY(-32deg); }
.mornings { display: grid; grid-template-columns: repeat(10, 14px); gap: 7px; }
.mornings i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--gold); transition: background-color .3s var(--ease), transform .3s var(--ease); }
.mornings i.on { background: var(--gold); transform: scale(1.08); }
.mornings__label { font-weight: 700; color: var(--gold-d); }
.mornings__label b { font: 800 1.2rem/1 var(--f-ui); color: var(--green); }
.sum { display: grid; gap: .9rem; padding: 1.8rem; border-radius: 26px; background: var(--green); color: var(--cream); box-shadow: 0 30px 60px rgba(20, 56, 33, .3); }
.sum__price { font: 800 clamp(3.2rem, 5vw, 4.4rem)/.9 var(--f-ui); font-variation-settings: "opsz" 96, "wdth" 88; letter-spacing: -.035em; color: var(--gold-l); font-variant-numeric: tabular-nums; }
.sum__cup { font-weight: 700; color: rgba(247, 241, 230, .82); display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.sum__cup .tbc { color: var(--gold-l); border-color: var(--gold-l); }
.sum__list { display: grid; gap: .45rem; padding: .9rem 0; border-block: 1px solid rgba(232, 207, 134, .3); }
.sum__list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: .6rem; font-size: .95rem; }
.sum__list li::before { content: "✦"; color: var(--gold-l); }

/* ---------- faq ---------- */
.faq { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq__grid > div:first-child { position: sticky; top: calc(var(--nav-h) + 30px); display: grid; gap: 1rem; }
.chat { display: grid; gap: .7rem; }
.chat p { max-width: 86%; padding: .9rem 1.2rem; border-radius: 22px; line-height: 1.45; }
.chat .q { justify-self: end; background: var(--green); color: var(--cream); font-weight: 700; border-bottom-right-radius: 6px; margin-top: .6rem; }
.chat .a { justify-self: start; background: var(--cream); border: 1px solid var(--line); border-bottom-left-radius: 6px; }

/* ---------- footer ---------- */
.foot { padding: clamp(4rem, 8vw, 6rem) 0 calc(2.4rem + env(safe-area-inset-bottom, 0px)); background: var(--night); color: rgba(247, 241, 230, .82); overflow: hidden; }
.foot__mast { width: 100%; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 1.6rem 3rem; margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid rgba(232, 207, 134, .25); }
.foot__links, .foot__contact { display: grid; gap: .4rem; align-content: start; }
.foot a { color: var(--gold-l); text-decoration: none; font-weight: 600; }
@media (hover: hover) { .foot a:hover { text-decoration: underline; } }
.foot .tbc { color: var(--gold-l); border-color: var(--gold); }
.foot__fine { margin-top: 2.2rem; font-size: .85rem; color: rgba(247, 241, 230, .55); }

/* ---------- buy bar, cart, checkout ---------- */
.buybar { display: none; }
.scrim { position: fixed; inset: 0; z-index: 1900; background: rgba(11, 34, 21, .45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.drawer { position: fixed; z-index: 2000; top: 0; right: 0; bottom: 0; width: min(100%, 440px); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: var(--paper); box-shadow: -20px 0 60px rgba(11, 34, 21, .25); transform: translateX(102%); transition: transform .45s var(--ease); }
.drawer.is-open { transform: none; }
.drawer__head, .co__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.drawer__head { padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.drawer__head h2, .co__head h2 { font: 400 2rem/1 var(--f-disp); color: var(--green); }
.x { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); font-size: 1.5rem; line-height: 1; color: var(--green); }
.drawer__body { overflow: auto; padding: 1.2rem 1.4rem; display: grid; align-content: start; gap: 1rem; }
.line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 1rem; align-items: center; }
.line img { width: 72px; border-radius: 10px; box-shadow: 0 6px 16px rgba(60, 45, 10, .15); }
.line b { display: block; color: var(--green); }
.line small { color: var(--muted); font-size: .88rem; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.qty button { width: 40px; height: 40px; border: 0; background: none; font-size: 1.2rem; color: var(--green); }
.qty span { min-width: 22px; text-align: center; font-weight: 800; }
.empty { display: grid; gap: 1rem; justify-items: start; padding: 1rem 0; color: var(--muted); }
.drawer__foot { padding: 1.2rem 1.4rem calc(1.2rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: grid; gap: .5rem; }
.row { display: flex; justify-content: space-between; gap: 1rem; font-variant-numeric: tabular-nums; }
.row .free { color: var(--gold-d); }
.row--total { font-size: 1.2rem; padding: .4rem 0 .6rem; border-top: 1px solid var(--line); margin-top: .2rem; }
.row--total b { color: var(--green); }

dialog { padding: 0; border: 0; color: var(--ink); }
dialog::backdrop { background: rgba(11, 34, 21, .55); backdrop-filter: blur(4px); }
.co, .labeldlg { width: min(100% - 24px, 640px); max-height: min(92svh, 900px); border-radius: 26px; background: var(--paper); box-shadow: 0 40px 100px rgba(11, 34, 21, .4); }
.co[open], .labeldlg[open] { animation: dlg .45s var(--ease); }
@keyframes dlg { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.co__step { display: grid; gap: 1rem; padding: 1.4rem 1.6rem 1.6rem; }
.co__n { font-weight: 700; color: var(--gold-d); font-size: .92rem; }
.co h2 { font: 400 2.3rem/1 var(--f-disp); color: var(--green); }
.co__sub { color: var(--muted); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.f { display: grid; gap: .3rem; font-weight: 700; font-size: .9rem; color: var(--green); }
.f--full { grid-column: 1 / -1; }
.f small { font-weight: 500; color: var(--muted); }
.f input { min-height: 50px; padding: 0 .95rem; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream); font: 500 1rem var(--f-ui); color: var(--ink); }
.f input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 165, 75, .25); }
.f input[aria-invalid="true"] { border-color: #B4462E; }
/* Province, city, barangay: three linked pickers, each opens once the one above is chosen */
.place { border: 0; padding: 0; margin: 0; min-width: 0; gap: .5rem; }
.place legend { padding: 0; margin-bottom: .3rem; }
.place select { width: 100%; min-height: 50px; padding: 0 2.6rem 0 .95rem; border-radius: 14px; border: 1.5px solid var(--line); font: 500 1rem var(--f-ui); color: var(--ink); text-overflow: ellipsis;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%238A6A22' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .9rem center / 18px; }
.place select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 165, 75, .25); }
.place select:disabled { cursor: default; color: var(--muted); opacity: .75; }
.place select[aria-invalid="true"] { border-color: #B4462E; }
.co__err { color: #A23C25; font-weight: 700; min-height: 0; }
.co__err:empty { display: none; }
.co__total { display: flex; justify-content: space-between; align-items: baseline; padding: .9rem 1.1rem; border-radius: 16px; background: var(--cream); font-weight: 700; }
.co__total b { font: 800 1.6rem/1 var(--f-ui); color: var(--green); }
.co__acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem; }
.co__note { font-size: .9rem; color: var(--muted); }
.gcash { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 1.2rem; align-items: center; padding: 1.1rem; border-radius: 20px; background: var(--cream); border: 1px solid var(--line); }
/* the account's own QR card, as the bank or GCash makes it */
.gcash__qr { display: grid; place-items: center; aspect-ratio: 3 / 4; padding: .5rem; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.gcash__qr img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.paypick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.paypick button { padding: .8rem .6rem; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); font: 800 1rem/1.1 var(--f-ui); color: var(--green); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.paypick button[aria-checked="true"] { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-l); background: #FFFBEF; }
.paypick button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.pay__num { display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.copy { padding: .25rem .7rem; border-radius: 999px; border: 1.5px solid var(--gold); background: transparent; font: 700 .8rem/1.4 var(--f-ui); color: var(--gold-d); }
.copy.is-done { background: var(--green); border-color: var(--green); color: var(--cream); }
.pay__how { align-items: baseline; }
.pay__how span { font-weight: 500 !important; font-size: .9rem; }
.gcash__info { display: grid; gap: .55rem; }
.gcash__info p { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .95rem; }
.gcash__info span { color: var(--muted); font-weight: 600; }
.gcash__amt b { font: 800 1.9rem/1 var(--f-ui); color: var(--green); }
.upload { position: relative; display: grid; place-items: center; min-height: 120px; padding: 1rem; border-radius: 18px; border: 2px dashed var(--line); background: var(--paper); text-align: center; cursor: pointer; transition: border-color .2s; }
@media (hover: hover) { .upload:hover { border-color: var(--gold); } }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload__empty { display: grid; gap: .25rem; pointer-events: none; }
.upload__empty b { color: var(--green); }
.upload__empty span { color: var(--muted); font-size: .9rem; }
.upload__preview { max-height: 220px; width: auto; border-radius: 10px; }
.upload.has-file .upload__empty { display: none; }
.done__code { font: 800 clamp(2.4rem, 8vw, 3.4rem)/1 var(--f-ui); letter-spacing: .02em; color: var(--gold-d); }
.done__sum { font-weight: 700; color: var(--green); }
/* stock: "Only 3 boxes left" and "Out of stock" (gold, the brand has no red) */
.stockline { display: inline-flex; align-items: center; gap: .5rem; justify-self: start; padding: .3rem .8rem .3rem .65rem; border-radius: 999px; background: var(--gold-xl); border: 1px solid var(--gold); font-weight: 800; font-size: .9rem; color: var(--gold-d); }
.stockline::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(201, 165, 75, .25); }
.stockline.is-out { background: var(--paper); border-color: var(--green); color: var(--green); }
.stockline.is-out::before { background: var(--green); box-shadow: none; }
.stockline--dark { background: rgba(232, 207, 134, .14); border-color: var(--gold-l); color: var(--gold-l); }
.stockline--dark.is-out { background: transparent; border-color: var(--cream); color: var(--cream); }
.stockline--dark.is-out::before { background: var(--cream); }
.cover__buy .stockline { grid-column: 1 / -1; }
.stocknote { padding: .7rem .9rem; border-radius: 14px; background: var(--gold-xl); border: 1px solid var(--line); color: var(--gold-d); font-weight: 700; font-size: .92rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.pick button[aria-disabled="true"] { opacity: .42; cursor: not-allowed; }
.pick button[aria-disabled="true"] em { text-decoration: line-through; }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.done__sum:empty { display: none; }
.labeldlg { padding: 1.4rem 1.6rem 1.8rem; }
.ld__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 1.4rem; margin-top: 1rem; font-size: .95rem; }
.ld__grid img { border-radius: 12px; border: 1px solid var(--line); }
.ld__grid p + p { margin-top: .6rem; }
.toast { position: fixed; z-index: 2500; left: 50%; bottom: 24px; transform: translate(-50%, 140%); opacity: 0; visibility: hidden; padding: .8rem 1.3rem; border-radius: 999px; background: var(--green-d); color: var(--cream); font-weight: 700; box-shadow: 0 16px 40px rgba(11, 34, 21, .35); transition: transform .45s var(--ease); white-space: nowrap; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast:empty { display: none; }

/* ---------- tablets ---------- */
@media (max-width: 1080px) {
  .nav__links { gap: 1.2rem; }
  .bundles__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stack { grid-column: 1 / -1; grid-row: 1; }
}
@media (max-width: 960px) {
  .nav__links { display: none; position: absolute; top: calc(100% + 6px); left: 12px; right: 12px; flex-direction: column; gap: 0; padding: .6rem; border-radius: 20px; background: var(--paper); box-shadow: 0 20px 50px rgba(11, 34, 21, .2); }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: .9rem 1rem; border-radius: 12px; }
  .nav__links a:hover { background: var(--cream); }
  .burger { display: grid; }
  .nav__cta { display: none; }
}

/* ---------- 4:3 and 5:4 screens: too narrow for the words over the photo, so the photo takes the left, the words the right ---------- */
@media (min-aspect-ratio: 1/1) and (max-aspect-ratio: 7/5) and (min-width: 761px) {
  .cover__photo { right: 41%; }
  /* nudge the photo left a little so the whole box stays inside the photo's column */
  .cover__photo img { object-position: -3vw 50%; }
  .cover__photo::after { background: linear-gradient(90deg, rgba(244, 234, 219, 0) 91%, #F4EADB 100%); }
  .cover__copy { width: calc(41% - var(--gut) - 1.2rem); }
  .cover__title .w1 { font-size: 5.2vw; }
  .cover__title .w2 { font-size: 6vw; }
}

/* ---------- screens taller than wide (phones, tablets held upright): the photo on top, the words under it ---------- */
@media (max-aspect-ratio: 1/1), (max-width: 760px) {
  .cover { height: auto; max-height: none; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; align-content: start; row-gap: .8rem; padding-bottom: 3.2rem; }
  /* the photo spans the first three rows: the question, the ritual line, and the rest of the photo */
  .cover__photo { grid-row: 1 / 4; grid-column: 1; position: relative; inset: auto; z-index: 0; height: min(80vw, 50svh); margin-top: var(--nav-h); }
  /* the copy's parts join the cover's grid, so the question can sit on the photo, in the light beside her, as on a desktop */
  .cover__copy { display: contents; }
  .cover__copy > * { margin-inline: var(--gut); }
  .cover__title, .cover__ritual { grid-column: 1; z-index: 2; justify-self: start; margin-left: 42vw; margin-right: var(--gut); }
  .cover__title { grid-row: 1; align-self: start; margin-top: calc(var(--nav-h) + 2.4vw); text-shadow: 0 2px 18px rgba(255, 250, 238, .9); }
  .cover__title .w1 { font-size: 11vw; }
  .cover__title .w2 { font-size: 12vw; }
  /* two even lines when it wraps ("Meet your new / daily ritual."), never one word alone */
  .cover__ritual { grid-row: 2; align-self: start; position: relative; margin-top: -.35rem; font-size: 3.8vw; line-height: 1.6; text-wrap: balance; }
  .cover__lead { font-size: 1.12rem; max-width: 60ch; }
  .cover__copy > .cover__tag { justify-self: end; margin: .2rem 0 0; }
  /* shifted a little left: her shoulder crops, the light beside her widens for the words */
  .cover__photo img { object-position: -7.7vw 42%; }
  .cover__photo::after { background: linear-gradient(180deg, rgba(244, 234, 219, 0) 72%, #F4EADB 100%); }
}

/* ---------- phones: designed for the thumb, not stacked from the desktop ---------- */
@media (max-width: 760px) {
  :root { --nav-row: 62px; --band-h: 32px; }
  html { scrollbar-width: none; }
  html::-webkit-scrollbar { display: none; }
  body { font-size: 1rem; }
  .nav__brand b { display: none; }
  .cartbtn span { display: none; }
  .cartbtn { padding: 0 .7rem; }

  .wide-only { display: none; }
  .narrow-only { display: inline; }
  .cover { row-gap: .6rem; }
  .cover__photo { height: min(90vw, 52svh); }
  .cover__title .w1 { font-size: 11.8vw; }
  .cover__title .w2 { font-size: 12.8vw; }
  .cover__ritual { font-size: 5.6vw; line-height: 1.5; }
  .cover__lead { font-size: .98rem; }
  .cover__buy { grid-template-columns: auto auto; justify-content: space-between; align-items: center; gap: .8rem 1rem; }
  .cover__price { display: grid; gap: .25rem; }
  .cover__price b { font-size: 2.6rem; }
  .cover__price span { font-size: .84rem; }
  .cover__ctas { gap: .5rem 1rem; }
  .cover__ctas .btn { min-height: 52px; padding: 0 1.2rem; }
  .cover__ctas .textlink { display: none; }
  .cover__trust span { font-size: .8rem; padding: .35rem .7rem; }

  .band__track span { font-size: .98rem; gap: 1.2rem; padding-right: 1.2rem; }

  .ritual { height: 600vh; }
  .ritual__copy { left: var(--gut); right: var(--gut); top: auto; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: none; width: auto; }
  .ritual__copy::before { content: ""; position: absolute; z-index: -1; left: calc(var(--gut) * -1); right: calc(var(--gut) * -1); top: -5rem; bottom: -140px; background: linear-gradient(180deg, rgba(8, 26, 16, 0), rgba(8, 26, 16, .86) 34%, #081A10 100%); }
  .step { align-self: end; gap: .55rem; }
  .step h2 { font-size: clamp(2.4rem, 11.4vw, 3.4rem); }
  .step > p:not(.step__n) { font-size: 1rem; }
  .step__ctas .btn { min-height: 50px; }
  .ritual__rail { right: auto; left: var(--gut); top: calc(var(--nav-h) + 14px); transform: none; display: flex; gap: .4rem; }
  .ritual__rail li { font-size: 0; gap: 0; }
  .ritual__rail li::after { width: 26px; height: 4px; border-radius: 4px; border: 0; background: rgba(247, 241, 230, .25); }
  .ritual[data-step] .ritual__rail li::after { transform: none; }
  .ritual[data-step="0"] .ritual__rail li:nth-child(-n + 1)::after, .ritual[data-step="1"] .ritual__rail li:nth-child(-n + 2)::after, .ritual[data-step="2"] .ritual__rail li:nth-child(-n + 3)::after,
  .ritual[data-step="3"] .ritual__rail li:nth-child(-n + 4)::after, .ritual[data-step="4"] .ritual__rail li:nth-child(-n + 5)::after { background: var(--gold-l); }
  .ritual__hint { display: none; }

  .label__grid { grid-template-columns: minmax(0, 1fr); }
  .label__card { position: relative; top: auto; order: 2; }
  .flip { width: min(72%, 300px); }
  .legend { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li { padding: 1.2rem 1rem; }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .taste__head, .versus__head, .bundles__head { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .compare { aspect-ratio: 4 / 5; border-radius: 22px; }
  .compare__side img { width: 84%; }
  .compare__tag { top: 14px; font-size: 1.3rem; }
  .compare__hot .compare__tag, .compare__hot .compare__how { left: 14px; }
  .compare__iced .compare__tag, .compare__iced .compare__how { right: 14px; }
  .compare__how { bottom: 14px; font-size: .78rem; max-width: 46%; white-space: normal; line-height: 1.25; }
  .steam { top: 8%; width: 30%; }
  .notes li { font-size: 1.1rem; }

  .vs__top { display: none; }
  .vs__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .vs__row > span:nth-child(1) { grid-column: 1 / -1; padding-bottom: .2rem; background: var(--paper); }
  .vs__row > span { padding: .8rem 1rem; }
  .vs__row > span:nth-child(3) { font-size: 1.15rem; }
  .vs__row > span:nth-child(2)::before { content: "3-in-1"; display: block; font-size: .72rem; font-weight: 800; color: var(--gold-d); margin-bottom: .2rem; }
  .vs__row > span:nth-child(3)::before { content: "Focus Latte"; display: block; font: 800 .72rem/1.4 var(--f-ui); color: var(--gold-l); margin-bottom: .2rem; }

  .made { padding-top: 4.5rem; }
  .made__grid { grid-template-columns: minmax(0, 1fr); }
  .made__text { order: -1; padding-bottom: 0; }
  .made__pic { width: min(100%, 420px); justify-self: center; }
  .made__h { min-height: 3.9em; }

  .bundles__grid { grid-template-columns: minmax(0, 1fr); }
  .stack { grid-row: auto; }
  .stack__scene { height: 250px; }
  .cbox { --w: 118px; --h: 112px; --d: 83px; }
  .mornings { grid-template-columns: repeat(10, 12px); gap: 6px; }
  .mornings i { width: 12px; height: 12px; }
  .pick button { padding: .95rem 1.1rem; }

  .faq__grid { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .faq__grid > div:first-child { position: static; }
  .chat p { max-width: 92%; }

  .foot { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
  .foot__grid { grid-template-columns: minmax(0, 1fr); }

  .buybar {
    position: fixed; z-index: 1500; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: .7rem; align-items: center; padding: 8px 8px 8px 10px;
    border-radius: 22px; background: rgba(255, 252, 247, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 14px 40px rgba(11, 34, 21, .25), 0 0 0 1px var(--line);
    transform: translateY(150%); transition: transform .45s var(--ease);
  }
  .buybar.is-on { transform: none; }
  .buybar img { width: 46px; border-radius: 8px; }
  .buybar p { display: grid; line-height: 1.2; min-width: 0; }
  .buybar b { font-size: .92rem; color: var(--green); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar span { font-size: .82rem; color: var(--muted); font-weight: 600; }
  .toast { top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 8px); bottom: auto; left: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px); margin-inline: auto; transform: translateY(-160%); white-space: normal; text-align: center; }
  .toast.is-on { transform: none; }

  .drawer { width: 100%; }
  .co, .labeldlg { width: 100%; max-width: none; max-height: 100vh; height: 100vh; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .co__step { padding: 1rem 1.1rem 1.4rem; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .gcash { grid-template-columns: minmax(0, 1fr); }
  .gcash__qr { width: min(100%, 240px); justify-self: center; }
  .co__acts { flex-direction: column-reverse; }
  .co__acts .btn { width: 100%; }
  .ld__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- a phone held sideways: the copy on the left, the model and the wordmark on the right ---------- */
@media (min-width: 561px) and (max-width: 1080px) and (max-height: 560px) and (orientation: landscape) {
  .cover { height: auto; min-height: 0; max-height: none; display: block; padding: calc(var(--nav-h) + 12px) 0 2.6rem; }
  .cover__photo { position: absolute; inset: 0 44% 0 0; height: auto; margin: 0; z-index: -1; }
  .cover__photo img { object-position: 0% 50%; }
  .cover__photo::after { background: linear-gradient(90deg, rgba(244, 234, 219, 0) 80%, #F4EADB 100%); }
  .cover__copy { display: grid; position: relative; right: auto; top: auto; translate: none; width: calc(44% - var(--gut) - .8rem); margin: 0 var(--gut) 0 auto; gap: .7rem; }
  .cover__copy > * { margin-inline: 0; }
  .cover__title, .cover__ritual { grid-row: auto; grid-column: auto; justify-self: start; margin: 0; }
  .cover__title { text-shadow: none; }
  .cover__ritual { font-size: 1.3rem; line-height: 1.8; }
  .cover__copy > .cover__tag { margin: .4rem calc(var(--gut) * -1) 0 0; }
  .cover__title { grid-auto-flow: row; }
  .cover__title .w1 { font-size: 2.6rem; }
  .cover__title .w2 { font-size: 3rem; }
  .cover__lead { font-size: .92rem; }
  .cover__price b { font-size: 2.3rem; }
  .cover__tag { font-size: 1.3rem; padding: .7rem var(--gut) .75rem 2.4rem; }
  .ritual__copy { width: min(42vw, 400px); }
  .step h2 { font-size: clamp(2.2rem, 5.4vw, 3rem); }
  .step > p:not(.step__n) { font-size: .98rem; }
  .ritual__rail { display: none; }
  /* undo the upright-phone layout where both apply (a small phone turned sideways is under 760 wide) */
  .cover__ctas .textlink { display: inline; }
  .ritual__copy { left: var(--gut); right: auto; top: 50%; bottom: auto; transform: translateY(-46%); }
  .ritual__copy::before { display: none; }
  .step { align-self: center; }
  .buybar { display: none; }
  .foot { padding-bottom: calc(2.4rem + env(safe-area-inset-bottom, 0px)); }
}

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