:root {
  --c: #C6F432; --bg: #0F1A07; --ink: #F4F5EE; --mute: rgb(244 245 238 / .66);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --fd: 'Rubik Variable', system-ui, sans-serif; --fb: 'Heebo Variable', system-ui, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--fb); transition: background-color .9s var(--ease); -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; }
a { color: inherit; }
h1, h2 { margin: 0; font-family: var(--fd); font-weight: 900; letter-spacing: -.01em; line-height: .98; }
:focus-visible { outline: 3px solid var(--c); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: var(--c); color: #0A0A0A; font-weight: 700; }
.skip:focus { top: 12px; }

.nav { position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(16px, 4vw, 48px); mix-blend-mode: difference; color: #fff; }
.logo { font: 900 22px/1 var(--fd); letter-spacing: .14em; text-decoration: none; }
.nav ul { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; font-weight: 500; }
.nav ul a { text-decoration: none; }
.nav ul a:hover { text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 640px) { .nav ul { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--c); color: #0A0A0A; font: 700 17px/1 var(--fb); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .9s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 44px -10px var(--c); }
.btn:active { transform: scale(.97); }
.kicker { margin: 0 0 16px; color: var(--c); font: 600 14px/1 var(--fb); letter-spacing: .14em; transition: color .9s var(--ease); }

/* Split words */
[data-split] .w { display: inline-block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; vertical-align: top; }
[data-split] .wi { display: inline-block; }
.m [data-split] .wi { transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--k) * 70ms); }
.m [data-split].in .wi { transform: none; }
.m [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.m [data-reveal].in { opacity: 1; transform: none; }

/* The can: a flat body whose label scrolls under fixed light, so it reads as a turning cylinder */
.can { position: relative; width: calc(var(--h) * .42); height: var(--h); }
.can[data-f="lime"] { --label: url(images/label-lime.svg); }
.can[data-f="berry"] { --label: url(images/label-berry.svg); }
.can[data-f="mango"] { --label: url(images/label-mango.svg); }
.can[data-f="ice"] { --label: url(images/label-ice.svg); }
.can__body { position: absolute; inset: 5% 0 0; overflow: hidden; border-radius: 9% 9% 12% 12% / 2.5% 2.5% 4% 4%; background-image: var(--label); background-size: auto 100%; background-repeat: repeat-x; background-position: calc(var(--spin, 0) * 1px) 0; }
.can__body::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(0 0 0 / .66), rgb(0 0 0 / .14) 15%, rgb(255 255 255 / .42) 26%, rgb(255 255 255 / .06) 36%, rgb(0 0 0 / 0) 56%, rgb(0 0 0 / .3) 80%, rgb(0 0 0 / .74)); }
.can__body::before { content: ""; position: absolute; inset: auto 0 0; z-index: 1; height: 4.5%; background: linear-gradient(90deg, #55595e, #eef1f3 26%, #a2a8ae 58%, #3d4145); }
.can__neck { position: absolute; inset: 1.4% 0 auto; height: 4.6%; background: linear-gradient(90deg, #4f5358, #f5f7f9 25%, #b6bbc0 55%, #3a3e42); clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); }
.can__lid { position: absolute; inset: 0 7% auto; height: 3.4%; border-radius: 50%; background: radial-gradient(ellipse at 42% 35%, #ffffff, #b0b6bc 55%, #6a6f74); box-shadow: inset 0 -2px 3px rgb(0 0 0 / .35); }
.can-shadow { position: absolute; left: 50%; bottom: -5%; width: 34%; height: 5%; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / .7), transparent); filter: blur(5px); }

/* 1. Story: a sticky stage that the scroll drives */
.story { position: relative; height: 100vh; height: 100svh; }
.m .story { height: 340vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
#fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.glow { position: absolute; left: 50%; top: 50%; width: 80vmax; height: 80vmax; margin: -40vmax 0 0 -40vmax; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 30%, transparent), transparent 60%); transform: translate(calc(var(--gx, 0) * 1px), calc(var(--gy, 0) * 1px)); transition: transform 1.2s var(--ease); pointer-events: none; }
.giant { position: absolute; inset: 50% 0 auto; margin: 0; translate: 0 calc(-50% - var(--p, 0) * 28vh); text-align: center; font: 900 clamp(120px, 31vw, 460px)/.8 var(--fd); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.5px rgb(255 255 255 / .13); user-select: none; }
.hero-copy { position: absolute; inset-inline-start: clamp(16px, 7vw, 120px); top: 50%; z-index: 3; width: min(500px, 42vw); translate: 0 calc(-50% - var(--p0, 0) * 70px); opacity: calc(1 - var(--p0, 0)); }
.hero-copy h1 { font-size: clamp(52px, 7.4vw, 112px); }
.lead { margin: 22px 0 30px; max-width: 30ch; color: var(--mute); font-size: 19px; }
.hero-can { position: absolute; left: 50%; top: 50%; z-index: 2; --h: min(60vh, 470px); transform: translate(-50%, -50%) translate(calc(var(--cx, -20) * 1vw), calc(var(--cy, 0) * 1vh)) rotate(calc(var(--rz, -9) * 1deg)) scale(var(--s, 1)); transform-origin: 50% 59.5%; will-change: transform; }
.calls { position: absolute; inset: 0; z-index: 3; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.call { position: absolute; display: grid; gap: 4px; width: min(250px, 38vw); opacity: var(--o, 0); translate: 0 calc((1 - var(--o, 0)) * 24px); }
.call b { font: 900 clamp(30px, 3.4vw, 46px)/1 var(--fd); color: var(--c); transition: color .9s var(--ease); }
.call span { color: var(--mute); font-size: 16px; }
.call::before { content: ""; height: 2px; width: 64px; margin-bottom: 8px; background: var(--c); transform: scaleX(var(--o, 0)); transform-origin: right; }
.c0 { right: 12vw; top: 24vh; }
.c1 { left: 10vw; top: 44vh; }
.c2 { right: 14vw; bottom: 16vh; }
.hint { position: absolute; bottom: 26px; left: 50%; z-index: 3; display: grid; justify-items: center; gap: 8px; margin: 0; translate: -50% 0; color: var(--mute); font-size: 13px; letter-spacing: .2em; opacity: calc(1 - var(--p0, 0)); }
.hint span { width: 2px; height: 34px; border-radius: 2px; background: linear-gradient(var(--c), transparent); }
.m .hint span { animation: drip 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
html:not(.m) .calls { position: static; display: none; }

@media (max-width: 760px) {
  .hero-copy { top: 13vh; width: auto; inset-inline: 16px; translate: 0 calc(var(--p0, 0) * -50px); }
  .hero-copy h1 { font-size: clamp(46px, 13vw, 64px); }
  .lead { margin: 14px 0 20px; font-size: 17px; }
  .hero-can { --h: min(40vh, 340px); }
  .call { width: 46vw; }
  .call b { font-size: 26px; }
  .call span { font-size: 14px; }
  .c0 { right: 16px; top: 14vh; }
  .c1 { left: 16px; top: 14vh; }
  .c2 { right: 16px; bottom: 12vh; }
}

/* 2. Flavours: four cans on a 3D ring */
.flavors { position: relative; display: grid; justify-items: center; gap: 8px; padding: 110px 16px 80px; overflow: hidden; }
.fl-head { text-align: center; }
.fl-name { font-size: clamp(48px, 8vw, 104px); }
.fl-note { min-height: 3.2em; margin: 14px auto 0; max-width: 34ch; color: var(--mute); }
.m .fl-name.swap, .m .fl-note.swap { animation: swap .7s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
.carousel { position: relative; width: 100%; height: min(62vh, 520px); perspective: 1100px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.carousel.drag { cursor: grabbing; }
.ring { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; transform: rotateY(calc(var(--ry, 0) * 1deg)); }
.slot { direction: ltr; position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; transform: rotateY(calc(var(--i) * 90deg)) translateZ(var(--R, 230px)); }
.s0 { --i: 0; } .s1 { --i: 1; } .s2 { --i: 2; } .s3 { --i: 3; }
.slot .can { --h: min(44vh, 360px); translate: -50% -50%; transform: rotateY(calc(-1deg * (var(--ry, 0) + var(--i) * 90))); }
.fl-ctrl { display: flex; align-items: center; gap: 18px; margin-top: 4px; }
.arrow { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / .08); color: var(--ink); cursor: pointer; transition: background-color .25s, transform .25s var(--ease); }
.arrow:hover { background: rgb(255 255 255 / .16); }
.arrow:active { transform: scale(.92); }
.arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dots { display: flex; gap: 4px; }
.dots button { position: relative; width: 28px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.dots button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 4px; background: rgb(255 255 255 / .3); transition: width .4s var(--ease), margin .4s var(--ease), background-color .4s; }
.dots button[aria-current="true"]::after { width: 22px; margin-left: -11px; background: var(--c); }
@media (max-width: 760px) { .carousel { height: 52vh; } .slot { --R: 150px; } .slot .can { --h: min(36vh, 280px); } }

/* 3. Numbers */
.inside { padding: clamp(80px, 14vh, 150px) clamp(16px, 6vw, 96px); }
.inside h2 { font-size: clamp(44px, 7vw, 96px); }
.in-lead { margin: 16px 0 54px; color: var(--mute); font-size: 19px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { display: grid; gap: 10px; padding: 30px 26px; border-radius: 26px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.stat:nth-child(2) { --d: 120; } .stat:nth-child(3) { --d: 240; }
.stat b { display: flex; align-items: baseline; gap: 8px; font: 900 clamp(64px, 9vw, 128px)/.9 var(--fd); color: var(--c); font-variant-numeric: tabular-nums; transition: color .9s var(--ease); }
.stat small { font-size: .3em; font-weight: 700; color: var(--ink); }
.stat > span { color: var(--mute); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

/* Marquee */
.marquee { overflow: hidden; padding: 22px 0; background: var(--c); color: #0A0A0A; transition: background-color .9s var(--ease); }
.track { display: flex; align-items: center; gap: 36px; width: max-content; font: 900 clamp(30px, 4vw, 54px)/1 var(--fd); white-space: nowrap; }
.track i { width: 14px; height: 14px; border-radius: 50%; background: currentColor; }
.m .track { animation: run 22s linear infinite; }
@keyframes run { to { transform: translateX(50%); } }

/* 4. Open one */
.open { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(24px, 6vw, 96px); min-height: 100vh; padding: 100px clamp(16px, 7vw, 120px); }
.open-can { position: relative; justify-self: center; --h: min(64vh, 500px); transform: perspective(900px) rotateY(calc(var(--ty, 0) * 1deg)) rotateX(calc(var(--tx, 0) * 1deg)) rotate(calc(var(--tz, 6) * 1deg)); transition: transform .8s var(--ease); }
.m .open-can .can { animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-14px); } }
.open h2 { font-size: clamp(54px, 8vw, 120px); }
.open-copy p { margin: 22px 0 32px; max-width: 34ch; color: var(--mute); font-size: 19px; --d: 150; }
.open-copy .btn { --d: 280; }
@media (max-width: 760px) { .open { grid-template-columns: 1fr; text-align: center; } .open-can { --h: min(46vh, 360px); } .open-copy p { margin-inline: auto; } }

.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 30px clamp(16px, 4vw, 48px) 40px; border-top: 1px solid rgb(255 255 255 / .1); color: var(--mute); font-size: 14px; }
.foot p { margin: 0; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; } }
