/* Alvea — concept supplement store by Kinallo.
   One world, five colourings: every colour below is a registered custom property, so the whole page cross-fades when the formula changes.
   Bricolage Grotesque (condensed and heavy for display) + Newsreader italic. Cream shelf, saturated worlds. */
@property --bg { syntax: '<color>'; inherits: true; initial-value: #0E2A1E; }
@property --mid { syntax: '<color>'; inherits: true; initial-value: #1E4C37; }
@property --glow { syntax: '<color>'; inherits: true; initial-value: #93CBA5; }
@property --accent { syntax: '<color>'; inherits: true; initial-value: #E0A07A; }
@property --ink { syntax: '<color>'; inherits: true; initial-value: #F3ECDD; }

:root {
  --bg: #0E2A1E; --mid: #1E4C37; --glow: #93CBA5; --accent: #E0A07A; --ink: #F3ECDD;
  --cream: #F2EBDC; --cream-2: #E8DFCD; --dark: #15130E; --muted: #635D50;
  --sans: 'Bricolage Grotesque', system-ui, sans-serif;
  --serif: 'Newsreader', Georgia, serif;
  --gut: 18px; --max: 1400px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  transition: --bg 1s ease, --mid 1s ease, --glow 1s ease, --accent 1s ease, --ink 1s ease;
}
@media (min-width: 768px) { :root { --gut: 32px; } }
@media (min-width: 1280px) { :root { --gut: 52px; } }
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 300; letter-spacing: -0.02em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--dark); color: #fff; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.eyebrow { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.02em; opacity: 0.75; margin-bottom: 16px; }
.h2 { font-size: clamp(2.8rem, 7vw, 6.6rem); font-weight: 600; font-stretch: 78%; line-height: 0.92; letter-spacing: -0.03em; }
.h2 em { font-size: 1.04em; }
.h2--xl { font-size: clamp(3.6rem, 11vw, 11rem); }

/* World: fixed sky behind everything, fixed 3D canvas above it */
.sky { position: fixed; inset: 0; z-index: -2; background: linear-gradient(180deg, var(--bg), var(--mid) 78%); overflow: hidden; }
.sky__glow { position: absolute; left: 50%; top: 46%; width: min(110vw, 1100px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); opacity: 0.55; }
.sky__cloud { position: absolute; width: 46vw; height: 16vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.34), transparent); filter: blur(10px); animation: drift 60s linear infinite alternate; }
.sky__cloud--a { left: -8vw; top: 20%; }
.sky__cloud--b { right: -12vw; top: 36%; width: 34vw; animation-duration: 80s; animation-direction: alternate-reverse; }
@keyframes drift { to { transform: translateX(14vw); } }
.stage { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.stage.is-off { visibility: hidden; }
.stage canvas { width: 100% !important; height: 100% !important; display: block; opacity: 0; transition: opacity 1s; }
.is-3d .stage canvas { opacity: 1; }

/* Nav */
.nav { position: fixed; z-index: 40; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gut); color: var(--ink); transition: color 0.4s, transform 0.5s var(--ease); }
.nav.on-light { color: var(--dark); }
.nav.is-hidden { transform: translateY(-110%); }
.logo { font-family: var(--serif); font-style: italic; font-size: 1.9rem; letter-spacing: -0.03em; line-height: 1; }
.logo i { font-family: var(--sans); font-style: normal; font-size: 0.4em; vertical-align: 0.9em; margin-left: 1px; }
.nav__links { display: none; gap: 26px; font-size: 0.94rem; font-weight: 500; }
.nav__links a { position: relative; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.nav__links a:hover::after { transform: none; }
@media (min-width: 900px) { .nav__links { display: flex; } }
.cartbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 8px 0 16px; border-radius: 999px; font-weight: 500; font-size: 0.94rem; box-shadow: inset 0 0 0 1.5px currentColor; transition: background 0.3s; }
.cartbtn b { display: grid; place-items: center; min-width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--dark); font-weight: 600; font-size: 0.82rem; }
.cartbtn.is-bump b { animation: bump 0.5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 10px 0 24px; border-radius: 999px; font-weight: 600; transition: transform 0.35s var(--ease), background 0.3s; }
.btn i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-style: normal; font-size: 1.15rem; transition: transform 0.4s var(--ease); }
.btn:hover i { transform: rotate(90deg); }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; }
.btn--accent { background: var(--accent); color: var(--dark); }
.btn--accent i { background: var(--dark); color: var(--accent); }
.btn--ink { background: var(--dark); color: var(--cream); }
.btn--ink i { background: var(--cream); color: var(--dark); }
.btn--full { width: 100%; padding: 0 24px; }
.link { padding: 0; font-weight: 600; font-size: 0.92rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* HERO */
.hero { position: relative; height: 100svh; min-height: 680px; overflow: hidden; }
.drag { position: absolute; z-index: 2; left: 30%; right: 30%; top: 18%; bottom: 24%; cursor: grab; touch-action: pan-y; }
.drag:active { cursor: grabbing; }
.hero__title { position: absolute; inset: 0; font-weight: 700; pointer-events: none; }
.t { position: absolute; display: block; line-height: 0.85; }
/* The big word sits BEHIND the canvas, the two italics in FRONT */
.t--b { z-index: -1; left: 0; right: 0; top: 13%; text-align: center; font-size: clamp(5rem, 21.5vw, 26rem); font-stretch: 75%; letter-spacing: -0.035em; color: var(--ink); white-space: nowrap; }
.t--b > span { display: inline-block; animation: rise 1.4s 0.2s var(--ease) both; }
.t--a { z-index: 3; left: var(--gut); top: 88px; font-size: clamp(2.6rem, 6.6vw, 7rem); font-weight: 300; }
.t--c { z-index: 3; right: var(--gut); top: calc(13% + clamp(5rem, 19vw, 23rem)); font-size: clamp(3rem, 8.4vw, 9rem); font-weight: 300; color: var(--accent); }
@keyframes rise { from { opacity: 0; transform: translateY(14%); } }
main { position: relative; }
.hero { isolation: auto; }

/* Hills in front of the bottle's base */
.hills { position: absolute; z-index: 2; left: -2%; width: 104%; max-width: none; bottom: -2px; height: 34vh; pointer-events: none; will-change: transform; }
.hills--3 path { fill: color-mix(in srgb, var(--mid) 80%, var(--glow)); }
.hills--2 path { fill: var(--mid); }
.hills--1 path { fill: color-mix(in srgb, var(--bg) 75%, var(--mid)); }
.hills--3 { height: 40vh; z-index: 0; }

/* Formula picker: tilted tiles fanning around the bottle */
.picker { position: absolute; z-index: 4; left: 0; right: 0; top: 54%; height: 0; }
.tile { position: absolute; left: 50%; top: 0; width: clamp(68px, 8.6vw, 124px); aspect-ratio: 1; margin-left: calc(clamp(68px, 8.6vw, 124px) / -2); margin-top: calc(clamp(68px, 8.6vw, 124px) / -2); border-radius: 26%; display: grid; place-items: center; align-content: center; gap: 4px; background: rgba(248, 243, 232, 0.92); color: var(--dark); transform: translate(var(--x), var(--y)) rotate(var(--r)); transition: transform 0.6s var(--ease), background 0.4s; box-shadow: 0 24px 40px -22px rgba(0, 0, 0, 0.6); }
.tile svg { width: 40%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile small { font-size: clamp(0.6rem, 0.8vw, 0.76rem); font-weight: 600; }
.tile:hover { transform: translate(var(--x), calc(var(--y) - 8px)) rotate(0deg); }
.tile[aria-checked='true'] { background: var(--accent); }
.tile[aria-checked='true'] svg { stroke-width: 2; }

/* Buy bar */
.buybar { position: absolute; z-index: 5; left: 50%; bottom: 22px; translate: -50% 0; width: min(760px, calc(100vw - var(--gut) * 2)); display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 12px 12px 24px; border-radius: 28px; background: rgba(12, 12, 8, 0.42); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.buybar__name { font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1.1; }
.buybar__line { font-size: 0.86rem; opacity: 0.8; line-height: 1.3; }
.buybar__act { display: flex; align-items: center; gap: 14px; flex: none; }
.buybar__price { font-size: 1.5rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.hero__more { position: absolute; z-index: 5; right: var(--gut); bottom: 34px; display: none; align-items: center; gap: 10px; font-weight: 600; }
.hero__more i { font-style: normal; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }
.hero__note { position: absolute; z-index: 5; left: var(--gut); bottom: 34px; display: none; font-size: 0.86rem; line-height: 1.35; opacity: 0.85; }
@media (min-width: 1180px) { .hero__more, .hero__note { display: flex; } .hero__note { display: block; } }

@media (max-width: 767px) {
  .hero { min-height: 620px; }
  .t--a { top: 74px; }
  .t--b { top: 15%; }
  .t--c { top: calc(15% + 22vw); }
  .picker { top: auto; bottom: 150px; height: auto; position: absolute; display: flex; gap: 8px; justify-content: center; padding: 0 var(--gut); }
  .tile { position: static; width: auto; flex: 1 1 0; max-width: 66px; margin: 0; transform: rotate(var(--r2)); }
  .tile:hover { transform: rotate(var(--r2)); }
  .tile small { display: none; }
  .tile svg { width: 46%; }
  .buybar { flex-wrap: wrap; bottom: 14px; padding: 10px 10px 10px 18px; gap: 6px 10px; }
  .buybar__line { display: none; }
  .buybar__txt { flex: 1 1 100%; }
  .buybar__act { flex: 1 1 100%; justify-content: space-between; }
  .buybar__name { font-size: 1.2rem; }
  .btn { min-height: 46px; }
}

/* SHELF */
.shelf, .stack, .faq { position: relative; z-index: 5; background: var(--cream); color: var(--dark); padding: clamp(56px, 7vw, 96px) var(--gut); }
.shelf { border-radius: 36px 36px 0 0; margin-top: -24px; }
.shelf > *, .stack > *, .faq > *, .ritual > *, .inside > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.shelf__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; }
.shelf__head p { color: var(--muted); }
.cats { position: sticky; top: 8px; z-index: 6; display: flex; gap: 6px; overflow-x: auto; padding: 8px; margin-top: 22px; margin-bottom: 18px; border-radius: 999px; background: rgba(232, 223, 205, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); scrollbar-width: none; width: fit-content; max-width: 100%; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 500; font-size: 0.92rem; transition: background 0.3s, color 0.3s; }
.cat b { font-weight: 400; opacity: 0.55; margin-left: 4px; font-size: 0.8em; }
.cat[aria-selected='true'] { background: var(--dark); color: var(--cream); }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 1180px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; border-radius: 22px; background: var(--tile); overflow: hidden; transition: opacity 0.35s, transform 0.5s var(--ease); }
.card[hidden] { display: none; }
.card__shot { position: relative; aspect-ratio: 1 / 1.02; overflow: hidden; }
.card__shot img { position: absolute; left: 50%; top: 50%; height: 104%; width: auto; max-width: none; translate: -50% -50%; opacity: 0; transition: opacity 0.6s, transform 0.7s var(--ease); }
.card__shot img.is-on { opacity: 1; }
.card:hover .card__shot img { transform: translateY(-3%) rotate(-3deg) scale(1.05); }
.card__tag { position: absolute; z-index: 1; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: var(--dark); color: var(--cream); font-size: 0.72rem; font-weight: 500; }
.card__body { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: end; padding: 0 12px 12px 16px; }
.card__name { font-size: clamp(1.02rem, 1.5vw, 1.3rem); font-weight: 600; font-stretch: 85%; letter-spacing: -0.015em; line-height: 1.1; }
.card__ben { font-size: 0.84rem; color: rgba(21, 19, 14, 0.72); line-height: 1.25; }
.card__price { font-weight: 500; font-size: 0.92rem; margin-top: 4px; font-variant-numeric: tabular-nums; }
.card__add { grid-column: 2; grid-row: 1 / span 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--dark); color: var(--cream); font-size: 1.3rem; transition: transform 0.4s var(--ease), background 0.3s; }
.card__add:hover { transform: rotate(90deg) scale(1.08); }

/* INSIDE: transparent, so the fixed bottle shows through; text stays left */
.inside { position: relative; z-index: 2; padding: 16vh var(--gut) 18vh; min-height: 230vh; }
.inside__rail { margin-bottom: 18vh; }
.fact { max-width: 560px; margin: 0 auto 22vh 0; padding: 24px; border-radius: 24px; background: rgba(10, 10, 6, 0.36); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); will-change: transform; }
.fact b { display: block; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.4rem; color: var(--accent); margin-bottom: 10px; }
.fact h3 { font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 600; font-stretch: 85%; line-height: 1.05; letter-spacing: -0.02em; }
.fact p { margin-top: 10px; opacity: 0.85; }
.fact--r { margin-left: 8%; }
.free__list li { font-size: clamp(2rem, 6vw, 5.2rem); font-weight: 600; font-stretch: 78%; line-height: 1.06; letter-spacing: -0.03em; opacity: 0.2; transition: opacity 0.6s; text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: var(--accent); }
.free__list li.is-on { opacity: 1; }
@media (max-width: 1023px) { .fact, .fact--r { margin-left: 0; margin-right: 18%; } .free__list li { font-size: clamp(1.8rem, 8vw, 3.4rem); } }

/* RITUAL */
.ritual { position: relative; z-index: 5; padding: clamp(70px, 9vw, 130px) var(--gut); background: var(--dark); color: var(--cream); overflow: hidden; }
.ritual__sky { position: absolute; left: 0; right: 0; top: 40px; height: 46%; max-width: none; color: rgba(242, 235, 220, 0.25); pointer-events: none; }
.ritual__sky svg { width: 100%; height: 100%; }
.sun { position: absolute; left: 0; top: 0; width: clamp(70px, 9vw, 130px); aspect-ratio: 1; margin: calc(clamp(70px, 9vw, 130px) / -2) 0 0 calc(clamp(70px, 9vw, 130px) / -2); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFE3B8, var(--accent)); box-shadow: 0 0 120px 30px color-mix(in srgb, var(--accent) 45%, transparent); will-change: transform; }
.ritual__head { position: relative; margin-top: clamp(120px, 14vw, 220px); margin-bottom: 48px; }
.moments { position: relative; display: grid; gap: 10px; }
@media (min-width: 900px) { .moments { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.moments li { padding: 24px; border-radius: 22px; background: rgba(242, 235, 220, 0.07); box-shadow: inset 0 0 0 1px rgba(242, 235, 220, 0.12); display: grid; gap: 8px; justify-items: start; }
.moments li > span { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--accent); }
.moments h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 600; font-stretch: 80%; line-height: 1; letter-spacing: -0.02em; }
.moments p { opacity: 0.78; margin-bottom: 8px; }

/* STACK */
.stack { display: grid; gap: 34px; }
@media (min-width: 1024px) { .stack { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; } .stack__intro { position: sticky; top: 90px; } }
.stack__intro .muted { margin-top: 16px; max-width: 34ch; }
.stack__box { padding: clamp(14px, 2vw, 24px); border-radius: 28px; background: var(--cream-2); display: grid; gap: 16px; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot { position: relative; aspect-ratio: 1; border-radius: 18px; background: rgba(21, 19, 14, 0.06); box-shadow: inset 0 0 0 1.5px rgba(21, 19, 14, 0.14); overflow: hidden; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: rgba(21, 19, 14, 0.4); transition: background 0.4s; }
.slot img { position: absolute; left: 50%; top: 50%; height: 108%; width: auto; max-width: none; translate: -50% -50%; animation: pop 0.5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(0.92); } }
.meter { height: 6px; border-radius: 6px; background: rgba(21, 19, 14, 0.1); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--dark); transition: width 0.6s var(--ease); }
.stack__sum { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.stack__sum p { display: grid; font-size: 0.9rem; }
.stack__sum b { font-size: 2rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.picks { display: flex; flex-wrap: wrap; gap: 6px; }
.pick { min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 0.88rem; font-weight: 500; background: var(--cream); transition: background 0.3s, color 0.3s; }
.pick[aria-pressed='true'] { background: var(--dark); color: var(--cream); }

/* FAQ */
.faq { display: grid; gap: 28px; }
@media (min-width: 1024px) { .faq { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.faq__list { border-top: 1px solid rgba(21, 19, 14, 0.14); }
details { border-bottom: 1px solid rgba(21, 19, 14, 0.14); }
summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; cursor: pointer; font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 500; font-stretch: 88%; letter-spacing: -0.015em; }
summary::-webkit-details-marker { display: none; }
summary i { position: relative; flex: none; width: 16px; height: 16px; }
summary i::before, summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: currentColor; transition: transform 0.4s var(--ease); }
summary i::after { transform: rotate(90deg); }
details[open] summary i::after { transform: rotate(0); }
details p { padding: 0 32px 20px 0; color: var(--muted); max-width: 60ch; }

/* FOOTER */
.foot { position: relative; z-index: 5; background: var(--bg); overflow: hidden; padding: 60px var(--gut) 26px; }
.foot .hills { z-index: 0; height: 60%; }
.foot__big { position: relative; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(7rem, 33vw, 34rem); line-height: 0.9; letter-spacing: -0.05em; text-align: center; color: var(--ink); will-change: transform; }
.foot__row { position: relative; display: grid; gap: 12px; margin-top: 30px; font-size: 0.84rem; opacity: 0.85; }
@media (min-width: 900px) { .foot__row { grid-template-columns: 1fr 1fr; gap: 40px; } }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer[hidden] { display: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); animation: fade 0.4s; }
@keyframes fade { from { opacity: 0; } }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--cream); color: var(--dark); animation: slide 0.55s var(--ease); }
@keyframes slide { from { transform: translateX(100%); } }
.drawer__panel > header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; }
.drawer__panel h2 { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.9rem; }
.drawer__panel > header button { width: 44px; height: 44px; border-radius: 50%; }
.drawer__free { padding: 0 20px 12px; font-size: 0.86rem; }
.drawer__free i { display: block; height: 4px; margin-top: 6px; border-radius: 4px; background: var(--cream-2); overflow: hidden; }
.drawer__free b { display: block; height: 100%; width: 0; background: var(--dark); transition: width 0.5s var(--ease); }
.drawer__lines { flex: 1; overflow-y: auto; padding: 0 20px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid rgba(21, 19, 14, 0.1); }
.line__img { position: relative; width: 64px; height: 76px; border-radius: 12px; overflow: hidden; }
.line__img img { position: absolute; left: 50%; top: 50%; height: 110%; width: auto; max-width: none; translate: -50% -50%; }
.line b { font-weight: 600; display: block; line-height: 1.15; }
.line small { color: var(--muted); }
.qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 4px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; background: var(--cream-2); }
.qty span { min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; }
.drawer__empty { padding: 40px 0; text-align: center; color: var(--muted); }
.sub { display: flex; gap: 10px; align-items: flex-start; margin: 0 20px; padding: 12px; border-radius: 14px; background: var(--cream-2); font-size: 0.9rem; cursor: pointer; }
.sub input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--dark); }
.sub small { display: block; color: var(--muted); }
.drawer__panel > footer { padding: 14px 20px 18px; display: grid; gap: 10px; }
.drawer__panel > footer p { display: flex; justify-content: space-between; font-size: 1.1rem; }
.drawer__panel > footer b { font-weight: 600; font-variant-numeric: tabular-nums; }
.drawer__panel > footer small { text-align: center; color: var(--muted); }

.toast { position: fixed; z-index: 70; left: 50%; bottom: 20px; translate: -50% 0; padding: 10px 16px; border-radius: 999px; background: var(--dark); color: var(--cream); font-size: 0.9rem; opacity: 0; transform: translateY(14px); transition: opacity 0.3s, transform 0.4s var(--ease); pointer-events: none; }
.toast.is-on { opacity: 1; transform: none; }
.badge { position: fixed; z-index: 30; left: 10px; top: 50%; translate: 0 -50%; writing-mode: vertical-rl; rotate: 180deg; padding: 8px 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.8); color: var(--dark); font-size: 0.62rem; font-weight: 500; }
@media (max-width: 767px) { .badge { left: 2px; font-size: 0.56rem; opacity: 0.8; } }
.no-3d .t--b { z-index: 1; }
.faq__list { width: 100%; }

/* ---------- Motion for type ---------- */
/* Hero: nothing moves until the bottle is ready, so the page opens in one clean gesture */
.t--b > span { display: inline-block; animation: none; background: none; overflow: clip; overflow-clip-margin: 0.02em; padding: 0.03em 0.02em 0; }
.c { display: inline-block; will-change: transform; }
.c__i { display: inline-block; padding-bottom: 0.04em; background: linear-gradient(180deg, var(--ink) 38%, color-mix(in srgb, var(--ink) 52%, var(--glow)) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; transform: translateY(112%) rotate(5deg); }
.is-go .c__i { animation: charUp 1.5s calc(var(--i) * 62ms + 0.1s) cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes charUp { to { transform: none; } }
.hw { display: inline-block; padding: 0.14em 0.12em 0.24em 0.04em; margin: -0.14em -0.12em -0.24em -0.04em; background-image: linear-gradient(100deg, currentColor 0 36%, var(--glow) 50%, transparent 66%); background-size: 340% 100%; background-position: 100% 0; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; transform: translateY(0.3em); }
.is-go .hw { animation: hwIn 1.4s var(--d, 0.7s) cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes hwIn { to { background-position: 0 0; transform: none; } }

/* Everything else in the hero enters after the title */
.nav > *, .hero__note, .hero__more { opacity: 0; }
.is-go .nav > *, .is-go .hero__note, .is-go .hero__more { animation: fadeUp 1s 1s var(--ease) both; }
.is-go .nav__links { animation-delay: 1.1s; } .is-go .cartbtn { animation-delay: 1.2s; }
@keyframes fadeUp { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
.buybar { opacity: 0; }
.is-go .buybar { animation: barIn 1.1s 1.35s var(--ease) both; }
@keyframes barIn { from { opacity: 0; translate: -50% 30px; } to { opacity: 1; translate: -50% 0; } }
.tile { opacity: 0; scale: 0.6; }
.is-go .tile { animation: tileIn 1s var(--ease) both; }
.is-go .tile:nth-child(1) { animation-delay: 1.25s; } .is-go .tile:nth-child(2) { animation-delay: 1.34s; } .is-go .tile:nth-child(3) { animation-delay: 1.43s; } .is-go .tile:nth-child(4) { animation-delay: 1.52s; } .is-go .tile:nth-child(5) { animation-delay: 1.61s; }
@keyframes tileIn { to { opacity: 1; scale: 1; } }
.hills { translate: 0 16vh; }
.is-go .hills { animation: hillIn 1.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
.is-go .hills--2 { animation-delay: 0.08s; } .is-go .hills--1 { animation-delay: 0.16s; }
@keyframes hillIn { to { translate: 0 0; } }
.foot .hills { translate: none; animation: none; }
.stage canvas { transition: opacity 0.7s ease; }
/* A fine grain binds the render to the page, like film */
.stage::after { content: ''; position: absolute; inset: 0; opacity: 0.05; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* The word: ghost first, a coloured edge passes through it, then it is plain text again */
.w { display: inline-block; padding: 0.12em 0.09em 0.2em 0.03em; margin: -0.12em -0.09em -0.2em -0.03em; --sw: var(--glow); background-image: linear-gradient(100deg, currentColor 0 36%, var(--sw) 50%, color-mix(in srgb, currentColor 13%, transparent) 66% 100%); background-size: 340% 100%; background-position: 100% 0; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; transform: translate3d(0, 0.26em, 0); }
.w.is-on { background-image: none; -webkit-text-fill-color: currentColor; transform: none; }
[data-light] .w, .num .w { --sw: color-mix(in srgb, var(--accent) 62%, #8A3A12); }
.w--unit { display: inline; padding: 0; margin: 0; transform: none; }
.card__ben .w, .card__price .w { --sw: var(--dark); }
details[open] > p { animation: fadeUp 0.6s var(--ease) both; }
.sw { display: inline-block; padding: 0.1em 0.08em 0.2em 0.02em; margin: -0.1em -0.08em -0.2em -0.02em; background-image: linear-gradient(100deg, currentColor 0 36%, var(--accent) 50%, transparent 66%); background-size: 340% 100%; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: hwIn 0.9s calc(var(--i) * 34ms + 0.25s) cubic-bezier(0.22, 1, 0.36, 1) both; background-position: 100% 0; transform: translateY(0.3em); }

/* "What you won't find": the line is drawn through the word as you scroll */
.free__list li { position: relative; width: fit-content; opacity: 1; transition: none; text-decoration: none; }
.free__list li::after { content: ''; position: absolute; left: 0; right: 0; top: 54%; height: max(3px, 0.05em); background: var(--accent); transform: scaleX(var(--k, 0)); transform-origin: left; }
.foot__big .w--unit { display: inline-block; padding: 0 0.1em 0.12em; margin: 0 -0.1em -0.12em; transform: none; }

/* Shelf photos are files now: a soft shadow grounds each bottle on its tile */
.card__shot img { opacity: 1; position: absolute; height: 126%; }
.card__shot::before { content: ''; position: absolute; left: 50%; bottom: var(--sh, 3.5%); width: 46%; height: 7%; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 14, 8, 0.38), transparent); }
.card { transition: opacity 0.35s; }
.moments li, .itile__img, .panel, .stack__box { transform-origin: 50% 100%; }

/* BAND */
.band { position: relative; z-index: 5; margin-top: -1px; padding: clamp(10px, 2vw, 30px) 0 clamp(60px, 8vw, 120px); background: var(--cream); color: var(--dark); overflow: hidden; border-radius: 0 0 36px 36px; display: grid; gap: clamp(4px, 1vw, 14px); }
.band__row { display: flex; align-items: center; width: max-content; gap: clamp(12px, 1.8vw, 28px); padding-right: clamp(12px, 1.8vw, 28px); font-size: clamp(3rem, 8.6vw, 8.6rem); line-height: 1; font-weight: 600; font-stretch: 76%; letter-spacing: -0.035em; white-space: nowrap; will-change: transform; }
.band__row--it { font-family: var(--serif); font-style: italic; font-weight: 300; font-stretch: normal; }
.band__t { padding: 0.04em 0.06em 0.14em 0.02em; background: linear-gradient(95deg, var(--dark) 55%, color-mix(in srgb, var(--accent) 70%, #8A3A12)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.band__pill { position: relative; flex: none; width: 1.5em; height: 0.92em; border-radius: 999px; overflow: hidden; }
.band__pill img { position: absolute; left: 50%; top: 50%; height: 170%; width: auto; max-width: none; translate: -50% -46%; }

/* LABEL */
.label { position: relative; z-index: 5; background: var(--cream); color: var(--dark); padding: clamp(70px, 9vw, 140px) var(--gut); border-radius: 36px 36px 0 0; display: grid; gap: 40px; margin-top: 0; }
.label > * { max-width: var(--max); width: 100%; margin-left: auto; margin-right: auto; }
@media (min-width: 1024px) { .label { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } .label__side { position: relative; } }
.label .muted { margin-top: 18px; max-width: 42ch; }
.ltabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; }
.ltab { min-height: 42px; padding: 0 16px; border-radius: 999px; font-size: 0.92rem; font-weight: 500; background: var(--cream-2); transition: background 0.3s, color 0.3s; }
.ltab[aria-selected='true'] { background: var(--dark); color: var(--cream); }
.label__shot { width: min(62%, 340px); margin: 22px auto 0; }
.label__shot img { width: 100%; height: auto; }
.label__shot img.is-in { animation: shotIn 0.8s var(--ease) both; }
@keyframes shotIn { from { opacity: 0; transform: translateY(26px) rotate(-3deg); } }
.panel { padding: clamp(18px, 2.4vw, 30px); border: 2px solid var(--dark); border-radius: 18px; background: #F8F3E8; }
.panel__t { font-size: clamp(2.4rem, 5.4vw, 4.8rem); font-weight: 700; font-stretch: 76%; letter-spacing: -0.03em; line-height: 0.98; padding-bottom: 12px; border-bottom: 10px solid var(--dark); }
.panel__serv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 0.95rem; border-bottom: 4px solid var(--dark); }
.panel__amt { padding: 10px 0 8px; font-size: 0.82rem; font-weight: 600; }
.prow { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 500; font-stretch: 88%; letter-spacing: -0.015em; }
.prow::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--dark); transform: scaleX(var(--k, 0)); transform-origin: left; }
.prow > span:first-child { opacity: calc(var(--k, 0) * 1); transform: translateX(calc((1 - var(--k, 0)) * -14px)); }
.prow__v { display: inline-flex; align-items: baseline; gap: 0.25em; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.panel__other { padding-top: 14px; border-top: 4px solid var(--dark); font-size: 0.9rem; color: var(--muted); }
.panel__buy { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; }
.panel__buy b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.5rem; }

/* Mechanical counter */
.drum { display: inline-flex; height: 1em; line-height: 1; overflow: hidden; vertical-align: baseline; }
.dr { display: block; height: 1em; font-style: normal; }
.dr__s { display: block; font-style: normal; will-change: transform; }
.dr__s b { display: block; height: 1em; line-height: 1; font-weight: inherit; }

/* INGREDIENTS */
.ingr { position: relative; z-index: 5; background: var(--bg); color: var(--ink); padding: clamp(80px, 10vw, 150px) var(--gut) clamp(120px, 14vw, 220px); overflow: hidden; }
.ingr > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.ingr__head { margin-bottom: clamp(50px, 8vw, 110px); }
.ingr__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; align-items: start; }
@media (min-width: 1024px) { .ingr__cols { grid-template-columns: repeat(4, 1fr); gap: 18px; } .icol:nth-child(even) { margin-top: 120px; } }
.icol { display: grid; gap: 28px; will-change: transform; }
.itile__img { position: relative; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; background: var(--mid); }
.itile__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.itile:hover .itile__img img { transform: scale(1.06); }
.itile figcaption { display: grid; gap: 2px; justify-items: start; padding: 12px 4px 0; }
.itile figcaption b { font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 600; font-stretch: 85%; letter-spacing: -0.015em; line-height: 1.1; }
.itile figcaption > span { font-size: 0.88rem; opacity: 0.8; line-height: 1.3; }
.itile .link { margin-top: 6px; min-height: 32px; text-align: left; font-size: 0.86rem; color: var(--accent); }

/* NUMBERS */
.nums { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 16px; padding: clamp(60px, 8vw, 110px) var(--gut); background: var(--accent); color: var(--dark); }
@media (min-width: 900px) { .nums { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.num .drum { font-size: clamp(3.8rem, 9.6vw, 10rem); font-weight: 600; font-stretch: 76%; letter-spacing: 0; font-variant-numeric: tabular-nums; height: 0.98em; }
.num .dr { height: 0.98em; } .num .dr__s b { height: 0.98em; line-height: 0.98; }
.num p { margin-top: 10px; font-weight: 500; max-width: 18ch; line-height: 1.2; }
.num .eyebrow { opacity: 1; }
.is-3d .stage { will-change: auto; }
