:root {
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: 'Shrikhand', 'Arial Black', sans-serif;
  --body: 'Outfit', system-ui, sans-serif;
  --gut: clamp(18px, 4vw, 64px);
}
html[data-theme="day"] {
  --bg: #F3F8FF; --ink: #0A1F44; --muted: #44597F; --accent: #1E7FD6; --accent2: #FF9A1F;
  --card: rgba(255, 255, 255, .78); --line: rgba(10, 31, 68, .14); --glow: rgba(30, 127, 214, .38); --drop: 30, 127, 214;
  color-scheme: light;
}
html[data-theme="night"] {
  --bg: #060A22; --ink: #EAF6FF; --muted: #9DB4D9; --accent: #38E1FF; --accent2: #8B7BFF;
  --card: rgba(255, 255, 255, .06); --line: rgba(180, 220, 255, .2); --glow: rgba(56, 225, 255, .5); --drop: 190, 240, 255;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.5; transition: background-color .7s var(--ease), color .7s var(--ease); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
canvas { display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent2); outline-offset: 3px; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 14px; z-index: 100; border-radius: 10px; }
.skip:focus { top: 8px; }
.only-night { display: none; }
html[data-theme="night"] .only-day { display: none; }
html[data-theme="night"] .only-night { display: inline; }
.wrap { width: min(1240px, calc(100% - 2 * var(--gut))); margin-inline: auto; }

/* Background layers */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; transition: opacity .8s var(--ease); }
.bg-day { background: var(--bg) url('../img/bg-day.jpg') center / cover no-repeat; opacity: 0; }
.bg-day::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(243, 248, 255, .86), rgba(243, 248, 255, .93)); }
.bg-night { background: radial-gradient(ellipse at 50% 0%, #131a5e 0%, #060a22 62%); opacity: 0; }
html[data-theme="day"] .bg-day { opacity: 1; }
html[data-theme="night"] .bg-night { opacity: 1; }
.stars { position: absolute; inset: 0; background-image: radial-gradient(2px 2px at 20px 30px, #fff, transparent), radial-gradient(1.5px 1.5px at 120px 80px, #bfe9ff, transparent), radial-gradient(2px 2px at 220px 150px, #fff, transparent), radial-gradient(1px 1px at 310px 40px, #fff, transparent), radial-gradient(1.5px 1.5px at 60px 200px, #a9c9ff, transparent); background-size: 340px 240px; opacity: .8;  }

/* Header */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px var(--gut); background: color-mix(in srgb, var(--bg) 90%, transparent); border-bottom: 1px solid var(--line); transition: background-color .7s var(--ease); }
.brand img { width: 74px; height: auto; }
.links { display: flex; gap: clamp(14px, 2.6vw, 34px); margin-left: auto; margin-right: 8px; }
.links a { text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: .02em; padding: 8px 2px; border-bottom: 2px solid transparent; }
.links a:hover { border-color: var(--accent2); }
.mode { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 46px; padding: 4px; border-radius: 999px; border: 2px solid var(--ink); background: var(--card); color: var(--ink); cursor: pointer; font: inherit; font-weight: 700; font-size: 13px; isolation: isolate; }
.mode-opt { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; white-space: nowrap; position: relative; z-index: 2; transition: color .4s; }
.mode-knob { position: absolute; z-index: 1; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: linear-gradient(90deg, #FFD23F, #FF9A1F); transition: transform .5s var(--ease), background .5s; }
.mode[aria-checked="true"] .mode-knob { transform: translateX(100%); background: linear-gradient(90deg, #5B4BFF, #38A8FF); }
.mode[aria-checked="false"] .mode-day, .mode[aria-checked="true"] .mode-night { color: #fff; }
.mode[aria-checked="false"] .mode-day { color: #0A1F44; }
.ico-sun, .ico-moon { display: inline-block; width: 16px; height: 16px; flex: none; }
.ico-sun { background: radial-gradient(circle, #fff 0 36%, transparent 38%), conic-gradient(from 0deg, currentColor 0 8%, transparent 8% 17%, currentColor 17% 25%, transparent 25% 33%, currentColor 33% 42%, transparent 42% 50%, currentColor 50% 58%, transparent 58% 67%, currentColor 67% 75%, transparent 75% 83%, currentColor 83% 92%, transparent 92%); border-radius: 50%; }
.ico-both { display: inline-block; width: 16px; height: 16px; flex: none; border-radius: 50%; background: linear-gradient(90deg, #FFB020 50%, #5B4BFF 50%); }
.ico-moon { border-radius: 50%; box-shadow: inset -5px -2px 0 0 currentColor; transform: rotate(-20deg); }
@media (max-width: 860px) { .links { display: none; } .mode { margin-left: auto; } }
@media (max-width: 420px) { .mode-opt { padding: 8px 10px; font-size: 12px; } .brand img { width: 58px; } }

/* Type */
.kicker { font-weight: 700; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.display { font-family: var(--display); font-weight: 400; font-size: clamp(52px, 9.5vw, 150px); line-height: .9; letter-spacing: -.01em; }
html[data-theme="night"] .display { text-shadow: 0 0 40px var(--glow); }
.huge { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 6.6vw, 104px); line-height: .98; }
.lede { font-size: clamp(18px, 2vw, 26px); color: var(--muted); max-width: 30ch; margin-top: 18px; }
sup { font-size: .5em; vertical-align: super; line-height: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; color: #fff; background: linear-gradient(90deg, var(--accent), var(--accent2)); border: 0; box-shadow: 0 12px 30px -10px var(--glow); transition: transform .3s var(--ease), box-shadow .3s; cursor: pointer; }
html[data-theme="night"] .btn { color: #06102e; }
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn.big { min-height: 62px; padding: 18px 44px; font-size: 20px; }
.btn.ghost, html[data-theme="night"] .btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); box-shadow: none; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }

/* Decor: bolts and drops */
.decor { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.bolt { position: absolute; width: 60px; height: 120px; fill: var(--accent); opacity: .9; }
.b1 { left: 8%; top: 18%; transform: rotate(14deg); } .b2 { right: 9%; top: 12%; width: 84px; height: 168px; transform: rotate(-18deg); }
.b3 { left: 16%; bottom: 14%; width: 44px; height: 88px; transform: rotate(-10deg); opacity: .7; } .b4 { right: 14%; bottom: 18%; transform: rotate(22deg); opacity: .8; }
.drop { position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, rgba(var(--drop), .35) 60%, rgba(var(--drop), .1)); box-shadow: inset -2px -3px 6px rgba(var(--drop), .4); }
.d1 { left: 24%; top: 30%; width: 22px; height: 22px; } .d2 { right: 22%; top: 40%; width: 34px; height: 34px; } .d3 { left: 12%; top: 62%; width: 16px; height: 16px; } .d4 { right: 12%; top: 66%; width: 26px; height: 26px; } .d5 { left: 40%; top: 8%; width: 14px; height: 14px; }

/* HERO */
.hero { position: relative; height: 620vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; contain: layout paint; }
.duo { position: absolute; left: 50%; top: 5svh; transform: translateX(-50%); z-index: 2; display: flex; align-items: flex-end; justify-content: center; }
.can-wrap { position: relative; margin: 0; height: min(62svh, 52vw); aspect-ratio: 4 / 5; will-change: transform; }
.duo .can-wrap + .can-wrap { margin-left: calc(min(62svh, 52vw) * -0.2); }
.can-wrap canvas { position: relative; z-index: 1; width: 100%; height: 100%; display: block; }
.can-glow { position: absolute; inset: 12% 6%; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 66%); opacity: .85; z-index: 0; }
.can-tag { position: absolute; z-index: 2; left: 50%; bottom: 4%; transform: translateX(-50%); padding: 6px 16px; border-radius: 999px; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.tag-day { background: linear-gradient(90deg, #FFD23F, #FF9A1F); color: #0A1F44; }
.tag-night { background: linear-gradient(90deg, #5B4BFF, #38A8FF); color: #fff; }
.beats { position: absolute; left: 0; right: 0; bottom: 0; height: 30svh; z-index: 3; pointer-events: none; }
.beat { position: absolute; left: 0; right: 0; bottom: 5svh; padding-inline: var(--gut); text-align: center; opacity: 0; will-change: opacity, transform; }
.beat .display { font-size: clamp(38px, 6.2vw, 96px); line-height: 1; }
.beat .kicker { margin-bottom: 8px; }
.beat .lede { margin: 10px auto 0; max-width: 40ch; font-size: clamp(16px, 1.6vw, 22px); pointer-events: auto; }
.beat a { pointer-events: auto; }
.cue { position: absolute; z-index: 4; bottom: 14px; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.cue i { width: 2px; height: 30px; background: linear-gradient(var(--accent), transparent); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.loading { position: absolute; z-index: 5; top: 0; left: 0; right: 0; height: 3px; transition: opacity .5s; }
.loading i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.loading.done { opacity: 0; }
@media (max-width: 860px) {
  .can-wrap { height: min(46svh, 62vw); }
  .duo .can-wrap + .can-wrap { margin-left: calc(min(46svh, 62vw) * -0.22); }
  .duo { top: 9svh; }
  .beat .display { font-size: clamp(30px, 9.6vw, 60px); }
  .cue { display: none; }
}

/* Marquee */
.marquee { overflow: hidden; border-block: 2px solid var(--ink); background: var(--ink); color: var(--bg); padding: 14px 0; position: relative; z-index: 3; }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; font-family: var(--display); font-size: clamp(26px, 4vw, 54px); white-space: nowrap; animation: marquee 34s linear infinite; }
.marquee-track i { width: 20px; height: 34px; background: var(--accent2); clip-path: polygon(62% 0, 8% 54%, 46% 54%, 28% 100%, 92% 40%, 54% 40%, 78% 0); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* OPEN + SPRAY */
.openup { position: relative; height: 420vh; }
.open-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; contain: layout paint; }
.open-can { position: relative; z-index: 2; height: min(94svh, 128vw); aspect-ratio: 4 / 5; will-change: transform; }
.open-can canvas { width: 100%; height: 100%; position: relative; z-index: 1;  }
.open-copy { position: absolute; z-index: 5; left: 0; right: 0; bottom: 6vh; text-align: center; pointer-events: none; padding-inline: var(--gut); }
.open-copy .huge { font-size: clamp(54px, 13vw, 210px); line-height: .9; }
.open-copy .pre, .open-copy .post { position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; will-change: opacity, transform; }
.open-copy .lede { margin-inline: auto; }
@media (max-width: 860px) { .open-copy .huge { font-size: clamp(44px, 16vw, 120px); } }

/* WHY */
.why { padding: clamp(90px, 16vh, 200px) 0; position: relative; z-index: 3; }
.why .huge { max-width: 14ch; margin-bottom: clamp(36px, 6vw, 80px); }
.hl { background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 3vw, 40px); transition: transform .5s var(--ease), border-color .4s; }
.fact:hover { transform: translateY(-8px); border-color: var(--accent); }
.num { display: block; font-family: var(--display); font-size: clamp(70px, 9vw, 130px); line-height: 1; background: linear-gradient(180deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bolt-num svg { width: 64px; height: 120px; fill: url(#none); fill: var(--accent2); }
.fact h3 { font-size: 24px; margin: 8px 0 6px; font-weight: 700; }
.fact p { color: var(--muted); font-size: 17px; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }

/* MOODS wipe */
.moods { position: relative; height: 320vh; --wipe: 100%; z-index: 3; }
.moods-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.panel { isolation: isolate; position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 8vh var(--gut); gap: 2vw; }
.panel-day { background: radial-gradient(circle at 70% 30%, #fff6c8 0, #ffe08a 30%, #ffa94d 75%, #ff7f50 100%); color: #0A1F44; }
.panel-night { background: radial-gradient(circle at 30% 24%, #3a2fb5 0, #17107a 36%, #060a22 82%); color: #EAF6FF; clip-path: inset(0 0 0 var(--wipe)); }
.panel-night::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(2px 2px at 40px 50px, #fff, transparent), radial-gradient(1.5px 1.5px at 190px 140px, #bfe9ff, transparent), radial-gradient(2px 2px at 330px 90px, #fff, transparent), radial-gradient(1px 1px at 90px 240px, #fff, transparent); background-size: 380px 300px; opacity: .8; }
.panel .badge { position: absolute; top: 11vh; width: min(440px, 38vw); z-index: 1; }
.panel-day .badge { left: 25%; transform: translateX(-50%); } .panel-night .badge { left: 75%; transform: translateX(-50%); }
.panel .can-img { position: relative; z-index: 2; justify-self: center; height: min(74svh, 70vw); width: auto; max-width: 100%; aspect-ratio: 4 / 5; object-fit: contain; }
.panel-day .can-img { grid-column: 2; } .panel-day .copy { grid-column: 1; grid-row: 1; }
.panel-night .can-img { grid-column: 1; } .panel-night .copy { grid-column: 2; }
.panel .copy { position: relative; z-index: 3; }
.panel .copy .kicker { color: currentColor; opacity: .8; }
.panel .copy .lede { color: currentColor; opacity: .85; }
.panel-night .copy .display { text-shadow: 0 0 40px rgba(56, 225, 255, .6); }
.divider { position: absolute; top: 0; bottom: 0; left: var(--wipe); width: 6px; transform: translateX(-3px); background: linear-gradient(#fff, var(--accent2), #fff); box-shadow: 0 0 30px 6px rgba(255, 255, 255, .8); z-index: 6; }
.divider svg { position: absolute; top: 50%; left: 50%; width: 64px; height: 128px; transform: translate(-50%, -50%); fill: #FFD23F; }
@media (max-width: 860px) {
  .panel { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: end; padding-top: 24vh; }
  .panel-day .can-img, .panel-night .can-img { grid-column: 1; grid-row: 2; height: 42svh; }
  .panel-day .copy, .panel-night .copy { grid-column: 1; grid-row: 1; text-align: center; }
  .panel .copy .lede { margin-inline: auto; }
  .panel .badge, .panel-day .badge, .panel-night .badge { top: 11vh; left: 50%; width: 78vw; }
}

/* BUY */
.buy { padding: clamp(90px, 16vh, 200px) 0; position: relative; z-index: 3; }
.buy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 90px); align-items: center; }
.buy-can { position: relative; display: grid; place-items: center; perspective: 900px; }
.buy-can img { position: relative; z-index: 1; width: min(440px, 80%); height: auto; aspect-ratio: auto; object-fit: contain; transition: transform .25s ease-out; transform-style: preserve-3d; }
.pick { border: 0; padding: 0; margin: 26px 0 8px; display: flex; flex-wrap: wrap; gap: 12px; }
.pick legend { font-weight: 700; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; padding: 0; }
.pick label { cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--line); background: var(--card); font-weight: 700; transition: all .3s var(--ease); }
.pick input:checked + span { border-color: var(--accent2); background: linear-gradient(90deg, rgba(255, 154, 31, .25), rgba(30, 127, 214, .2)); transform: translateY(-3px); }
.pick input:focus-visible + span { outline: 3px solid var(--accent2); outline-offset: 3px; }
.price { font-family: var(--display); font-size: 56px; margin-top: 14px; line-height: 1; }
.price small { font-family: var(--body); font-size: 22px; font-weight: 600; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
@media (max-width: 860px) { .buy-grid { grid-template-columns: 1fr; text-align: center; } .pick, .cta { justify-content: center; } .buy .lede { margin-inline: auto; } }

/* MORE */
.more { padding: clamp(60px, 12vh, 150px) 0 clamp(90px, 16vh, 200px); position: relative; z-index: 3; }
.more-wrap { text-align: center; }
.more-wrap .lede { margin-inline: auto; max-width: 36ch; }

/* FOOTER */
.foot { position: relative; z-index: 3; padding: 60px 0 90px; border-top: 1px solid var(--line); text-align: center; }
.foot-logo { width: 150px; margin: 0 auto 26px; }
.fine { font-size: 13px; color: var(--muted); max-width: 70ch; margin: 0 auto 12px; }

/* Reveal baseline (JS animates; fallback shows everything) */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero, .openup, .moods { height: auto; }
  .stage, .open-stage, .moods-stage { position: relative; height: auto; min-height: 100svh; }
  .beat { position: relative; opacity: 1; transform: none; left: auto; right: auto; top: auto; margin: 20px var(--gut); }
  .beat-2, .beat-3 { display: none; }
  .marquee-track, .stars, .cue i { animation: none; }
  .js .reveal { opacity: 1; }
  .panel-night { clip-path: none; position: relative; } .divider { display: none; }
  .moods-stage { display: grid; } .panel { position: relative; min-height: 100svh; }
}

/* Lower sections: skip rendering until they are near the screen */
.why, .buy, .more, .foot { content-visibility: auto; contain-intrinsic-size: auto 800px; }
.moods-stage { contain: layout paint; }

.testbar { position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: 34px; line-height: 18px; background: #FFD23F; color: #0A1F44; text-align: center; font-weight: 700; font-size: 13px; padding: 8px var(--gut); }

.has-testbar { padding-top: 34px; }
.has-testbar .nav { top: 34px; }
.has-testbar .stage, .has-testbar .open-stage { top: 34px; height: calc(100svh - 34px); }

#spray { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
