/* SUNJI — sparkling fruit soda
   Baloo 2 (display) · Outfit (body) · Space Mono (labels) */
:root {
  --bg: #fff6ea;
  --accent: #ff5a36;
  --ink: #1b1b1b;
  --cream: #fff6ea;
  --disp: "Baloo 2", system-ui, sans-serif;
  --sans: "Outfit", system-ui, sans-serif;
  --mono: "Space Mono", monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gut: clamp(20px, 5vw, 84px);
  --fx-bg: #ff5a36; --fx-ink: #fff6ea; --fx-accent: #1b1b1b;
  --fx-display: "Baloo 2", system-ui, sans-serif; --fx-mono: "Space Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 400; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
::selection { background: var(--accent); color: #fff; }

#fizz { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }


/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 20px var(--gut); transform: translateY(-120%); transition: transform 0.9s var(--ease); }
.nav.is-in { transform: none; }
.nav__brand { font-family: var(--disp); font-weight: 800; font-size: 24px; letter-spacing: 0.02em; }
.nav__dot { color: var(--accent); }
.nav__links { display: flex; gap: 28px; }
.nav__links a { opacity: 0.6; transition: opacity 0.3s; }
.nav__links a:hover { opacity: 1; }
.nav__cta { display: inline-block; background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: 999px; transition: background 0.35s; }
.nav__cta:hover { background: var(--accent); }
body.is-dark .nav, body.is-dark .dots { color: var(--cream); }
body.is-dark .dots button { border-color: var(--cream); }
@media (max-width: 760px) { .nav__links { display: none; } }

/* dot nav */
.dots { position: fixed; right: 22px; top: 50%; translate: 0 -50%; z-index: 50; display: flex; flex-direction: column; gap: 12px; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; opacity: 0.4; transition: opacity 0.3s, background 0.3s, transform 0.3s; padding: 0; }
.dots button.is-on { background: var(--accent); border-color: var(--accent); opacity: 1; transform: scale(1.4); }
@media (max-width: 760px) { .dots { display: none; } }

/* buttons */
.btn { display: inline-block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; padding: 13px 18px; border: none; background: var(--ink); color: var(--cream); border-radius: 999px; cursor: pointer; transition: background 0.35s; }
.btn:hover { background: var(--accent); }
.btn--big { padding: 18px 26px; font-size: 11px; }

/* scenes */
.scene { position: relative; min-height: 100svh; padding: 110px var(--gut) 80px; overflow: hidden; }

/* hero */
.hero { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hero__title { position: relative; z-index: 2; font-family: var(--disp); font-weight: 800; font-size: clamp(3.6rem, 13.5vw, 15rem); line-height: 0.82; letter-spacing: -0.035em; text-transform: uppercase; }
.hero__title .line { display: block; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__eyebrow { position: absolute; top: 100px; left: 50%; translate: -50% 0; z-index: 6; color: var(--accent); white-space: nowrap; }
.hero__foot { position: absolute; left: var(--gut); right: var(--gut); bottom: 40px; z-index: 6; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; text-align: left; }
.hero__sub { max-width: 320px; color: rgba(27,27,27,0.7); }
.hero__stickers { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.sticker { position: absolute; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; text-align: center; font-family: var(--disp); font-weight: 800; font-size: 20px; line-height: 0.95; color: #fff; }
.sticker--a { top: 22%; left: 16%; background: var(--ink); rotate: -12deg; }
.sticker--b { top: 30%; right: 15%; background: var(--accent); rotate: 10deg; }
@media (max-width: 760px) {
  .hero { justify-content: flex-start; padding-top: 150px; }
  .hero__foot { flex-direction: column; align-items: flex-start; }
  .hero__sub { display: none; }
  .hero__eyebrow { white-space: normal; width: 86%; text-align: center; top: 92px; line-height: 1.8; }
  .sticker { width: 70px; height: 70px; font-size: 15px; }
  .sticker--a { top: auto; bottom: 26%; left: 6%; }
  .sticker--b { top: auto; bottom: 34%; right: 6%; }
}
[data-hero], [data-reveal] { opacity: 0; transform: translateY(24px); }

/* marquee */
.marquee { position: relative; z-index: 5; background: var(--ink); color: var(--cream); padding: 16px 0; overflow: hidden; transform: rotate(-1.6deg) scale(1.03); }
.marquee__track { display: flex; gap: 30px; width: max-content; align-items: center; }
.marquee__track span { font-family: var(--disp); font-weight: 800; font-size: clamp(1.3rem, 2.6vw, 2rem); white-space: nowrap; text-transform: uppercase; }
.marquee__track i { color: var(--accent); font-style: normal; }

/* flavour scenes */
.flav { display: flex; align-items: center; }
.flav__copy { position: relative; z-index: 6; max-width: 540px; }
.flav__index { opacity: 0.55; }
.flav__name { font-family: var(--disp); font-weight: 800; font-size: clamp(3.2rem, 8.5vw, 7.4rem); line-height: 0.88; letter-spacing: -0.03em; color: var(--accent); margin-top: 14px; }
.flav__name .line { display: block; }
.flav__chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.flav__chips span { border: 1.5px solid var(--ink); border-radius: 999px; padding: 9px 16px; background: rgba(255,255,255,0.6); backdrop-filter: blur(6px); }
.flav__text { max-width: 420px; margin-top: 22px; color: rgba(27,27,27,0.66); }
.flav__meta { display: flex; gap: 22px; margin-top: 26px; opacity: 0.7; }
.flav__meta b { font-family: var(--disp); font-size: 1.6rem; letter-spacing: 0; margin-right: 3px; }
.flav__ghost { position: absolute; right: -2vw; bottom: -4vw; z-index: 1; font-family: var(--disp); font-weight: 800; font-size: 26vw; line-height: 0.8; color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--accent) 35%, transparent); pointer-events: none; white-space: nowrap; }
@media (max-width: 760px) {
  .flav { align-items: flex-start; padding-top: 100px; }
  .flav__text, .flav__meta { display: none; }
}

/* stats */
.stats { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--cream); }
.stats__eyebrow { color: var(--accent); margin-bottom: 40px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 5vw, 70px); }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat__num { font-family: var(--disp); font-weight: 800; font-size: clamp(3rem, 8vw, 6.4rem); line-height: 1; }
.stat .mono { opacity: 0.55; }
.stats__note { margin-top: 46px; max-width: 470px; color: rgba(255,246,234,0.6); }
@media (max-width: 720px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }

/* buy */
.buy { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.buy__title { font-family: var(--disp); font-weight: 800; font-size: clamp(3rem, 9vw, 7rem); line-height: 0.9; letter-spacing: -0.03em; text-transform: uppercase; }
.buy__title .line { display: block; }
.buy__title em { font-style: normal; color: var(--accent); }
.buy__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; width: min(900px, 100%); perspective: 1000px; }
.pack { position: relative; background: #fff; border: 1.5px solid rgba(27,27,27,0.12); border-radius: 22px; padding: 34px 24px 24px; transition: box-shadow 0.5s var(--ease); transform-style: preserve-3d; }
.pack:hover { box-shadow: 0 30px 60px rgba(27,27,27,0.16); }
.pack--hero { outline: 2.5px solid var(--accent); }
.pack__tag { position: absolute; top: 14px; left: 50%; translate: -50% 0; background: var(--accent); color: #fff; padding: 5px 10px; border-radius: 999px; font-size: 9px; }
.pack__can { width: 56px; height: 100px; margin: 12px auto 18px; border-radius: 12px 12px 14px 14px; background: linear-gradient(100deg, color-mix(in srgb, var(--pk) 75%, #000), var(--pk) 40%, color-mix(in srgb, var(--pk) 55%, #fff) 55%, var(--pk) 70%, color-mix(in srgb, var(--pk) 80%, #000)); position: relative; transform: translateZ(40px); }
.pack__can::before { content: ""; position: absolute; top: -7px; left: 8%; width: 84%; height: 9px; background: #cfd2d6; border-radius: 999px; }
.pack h3 { font-family: var(--disp); font-weight: 700; font-size: 1.5rem; }
.pack .mono { opacity: 0.5; margin-top: 2px; }
.pack__row { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.pack__price { font-family: var(--disp); font-weight: 800; font-size: 1.7rem; }
.buy__note { margin-top: 40px; opacity: 0.55; }
@media (max-width: 820px) { .buy__grid { grid-template-columns: 1fr; max-width: 400px; } }

/* footer — loud, coral, bouncy */
.footer { position: relative; z-index: 5; background: #ff5a36; color: var(--ink); padding: 0 0 26px; overflow: hidden; }
.footer__marquee { background: var(--ink); color: var(--cream); padding: 14px 0; transform: rotate(-2deg) scale(1.04); margin: 26px 0 10px; overflow: hidden; }
.footer__track { display: flex; gap: 28px; width: max-content; align-items: center; }
.footer__track span { font-family: var(--disp); font-weight: 800; font-size: clamp(1.3rem, 2.8vw, 2.2rem); text-transform: uppercase; white-space: nowrap; }
.footer__track i { color: #ffd23f; font-style: normal; font-size: 1.4rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding: clamp(50px, 8vh, 90px) var(--gut) 20px; }
.footer__join h3 { font-family: var(--disp); font-weight: 800; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 0.95; letter-spacing: -0.03em; }
.footer__join p { margin: 14px 0 24px; max-width: 340px; color: rgba(27,27,27,0.72); }
.footer__join .btn:hover { background: var(--cream); color: var(--ink); }
.footer__list { display: flex; flex-direction: column; gap: 10px; }
.footer__list .mono { opacity: 0.6; margin-bottom: 6px; }
.footer__list a { display: inline-flex; align-items: center; gap: 10px; font-family: var(--disp); font-weight: 700; font-size: 1.25rem; transition: transform 0.4s var(--ease); }
.footer__list a:hover { transform: translateX(8px) rotate(-2deg); }
.footer__list a i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--ink); }
.footer__word { display: flex; justify-content: center; font-family: var(--disp); font-weight: 800; font-size: clamp(5rem, 27vw, 24rem); line-height: 0.8; letter-spacing: -0.04em; color: var(--cream); padding: 10px 0 20px; user-select: none; }
.footer__word span { display: inline-block; transition: transform 0.6s cubic-bezier(0.34, 1.8, 0.5, 1); }
.footer__word span:hover { transform: translateY(-14%) rotate(-6deg) scale(1.05); }
.footer__dot { color: var(--ink); }
.footer__base { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 18px var(--gut) 0; border-top: 2px solid var(--ink); margin: 0 var(--gut); padding-left: 0; padding-right: 0; }
.footer__base a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__join { grid-column: 1 / -1; } }

/* loader — three flavours bounce, then the screen pops like a bubble */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--cream); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; clip-path: circle(150% at 50% 50%); }
.ls-balls { display: flex; gap: 14px; height: 90px; align-items: flex-end; }
.ls-balls i { width: 34px; height: 34px; border-radius: 50%; background: #f5c518; animation: lsBounce 0.9s cubic-bezier(0.5, 0, 0.5, 1) infinite; transform-origin: 50% 100%; }
.ls-balls i:nth-child(2) { background: #ff5a36; animation-delay: 0.15s; }
.ls-balls i:nth-child(3) { background: #ff7bb0; animation-delay: 0.3s; }
@keyframes lsBounce { 0%, 100% { transform: translateY(0) scale(1.25, 0.75); } 12% { transform: translateY(0) scale(0.9, 1.1); } 50% { transform: translateY(-54px) scale(1, 1); } }
.ls-word { font-family: var(--disp); font-weight: 800; font-size: clamp(3.6rem, 10vw, 7rem); line-height: 0.9; letter-spacing: -0.03em; }
.ls-word span { color: #ff5a36; }
.ls-pill { background: var(--ink); color: var(--cream); padding: 9px 16px; border-radius: 999px; }
.ls-pill b { font-weight: 700; font-variant-numeric: tabular-nums; }

/* cursor — squishy blob */
.cur--blob { width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--cream); transition: width 0.45s cubic-bezier(0.34, 1.6, 0.5, 1), height 0.45s cubic-bezier(0.34, 1.6, 0.5, 1), margin 0.45s cubic-bezier(0.34, 1.6, 0.5, 1), background 0.3s; }
.cur--blob span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }
.cur--blob.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: var(--accent); box-shadow: none; }
.cur--blob.has-label { width: 86px; height: 86px; margin: -43px 0 0 -43px; }
.cur--blob.is-down { width: 14px; height: 14px; margin: -7px 0 0 -7px; }
body.is-dark .cur--blob:not(.is-hover) { background: var(--cream); box-shadow: 0 0 0 2px var(--ink); }

/* progress — a round fizz meter */
.prog--ring { right: 16px; bottom: 20px; width: 50px; height: 50px; display: grid; place-items: center;  transition: transform 0.5s cubic-bezier(0.34, 1.6, 0.5, 1), opacity 0.3s; }
.prog--ring.is-gone { transform: scale(0); opacity: 0; }
.prog--ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.prog--ring circle { fill: var(--cream); stroke: rgba(27,27,27,0.12); stroke-width: 3; }
.prog--ring .prog__arc { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; }
.prog--ring b { position: relative; font-family: var(--disp); font-weight: 800; font-size: 14px; color: var(--ink); font-variant-numeric: tabular-nums; }

.toast { position: fixed; left: 50%; bottom: 30px; translate: -50% 20px; background: var(--ink); color: var(--cream); padding: 13px 22px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity 0.4s, translate 0.5s var(--ease); z-index: 70; }
.toast.is-on { opacity: 1; translate: -50% 0; }

@media (prefers-reduced-motion: reduce) {
  [data-hero], [data-reveal] { opacity: 1; transform: none; }
  #fizz { display: none; }
}
