:root {
  --night: #03184f;
  --deep: #0531a8;
  --cobalt: #0a4fe0;
  --ice: #bfe2ff;
  --frost: #f1f8ff;
  --ink: #06143a;
  --red: #e2242f;
  --display: "Bowlby One", "Arial Black", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --pad: clamp(16px, 3vw, 40px);
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--night); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { font: 500 18px/1.5 var(--body); color: var(--frost); background: var(--night); overflow-x: clip; -webkit-font-smoothing: antialiased; }
body.is-loading { overflow: hidden; height: 100vh; }
img, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; }

/* ---------- preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 22px; background: radial-gradient(circle at 50% 40%, var(--cobalt), var(--night) 70%); transition: opacity 0.7s, visibility 0.7s; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__drip img { animation: drip 1.1s cubic-bezier(0.5, 0, 0.9, 0.6) infinite; }
@keyframes drip { 0% { transform: translateY(-46px) scale(0.35); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(26px) scale(1); opacity: 1; } }
.preloader__text { font: 500 13px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ice); }

/* ---------- header ---------- */
.site-header { position: fixed; z-index: 60; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 22px; padding: 16px var(--pad); mix-blend-mode: difference; color: #fff; pointer-events: none; }
.site-header > * { pointer-events: auto; }
.logo { display: flex; align-items: center; gap: 10px; font: 400 15px/0.95 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.logo img { animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.site-nav { margin-left: auto; display: flex; gap: clamp(12px, 2.4vw, 30px); font: 500 13px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.site-nav a { position: relative; padding: 6px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.35s cubic-bezier(0.7, 0, 0.2, 1); }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.sound { width: 40px; height: 40px; border: 2px solid currentColor; border-radius: 50%; display: grid; place-items: center; }
.sound__bars { display: flex; align-items: flex-end; gap: 3px; height: 14px; }
.sound__bars i { width: 3px; height: 3px; background: currentColor; border-radius: 2px; }
.sound[aria-pressed="true"] .sound__bars i { animation: bar 0.7s ease-in-out infinite alternate; }
.sound__bars i:nth-child(2) { animation-delay: 0.15s !important; }
.sound__bars i:nth-child(3) { animation-delay: 0.3s !important; }
.sound__bars i:nth-child(4) { animation-delay: 0.45s !important; }
@keyframes bar { to { height: 14px; } }

/* ---------- scene scaffolding: tall section, sticky stage ---------- */
.scene { position: relative; }
.scene__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero { height: 380vh; }
.clip { height: 430vh; }
.fall { height: 360vh; }
.gallery { height: 520vh; }
.finale { height: 260vh; }

/* ---------- 1. hero ---------- */
.hero .scene__pin { background: radial-gradient(circle at 62% 46%, #0b5cf0 0%, #0537b5 34%, var(--night) 78%); }
.hero__art { position: absolute; inset: 0; display: grid; place-items: center; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.hero__title { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(74px, 11vh, 120px) var(--pad) clamp(70px, 10vh, 110px); pointer-events: none; font: 400 clamp(54px, 15.5vw, 250px)/0.82 var(--display); text-transform: uppercase; letter-spacing: -0.02em; }
.hero__word { display: block; white-space: nowrap; will-change: transform; text-shadow: 0 10px 40px rgba(3, 24, 79, 0.45); }
.hero__word--b { align-self: flex-end; color: transparent; -webkit-text-stroke: clamp(2px, 0.35vw, 5px) var(--frost); text-shadow: none; }
.hero__kicker { position: absolute; left: var(--pad); bottom: clamp(22px, 4vh, 40px); font: 500 13px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ice); max-width: 26ch; }
.hero__storm { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__art, .hero__title { will-change: transform; }
.hero__white { position: absolute; inset: 0; background: var(--frost); opacity: 0; pointer-events: none; }
.scroll-cue { position: absolute; right: var(--pad); bottom: clamp(22px, 4vh, 40px); display: flex; align-items: center; gap: 12px; font: 500 12px var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--frost); }
.scroll-cue i { width: 2px; height: 46px; background: linear-gradient(var(--frost) 50%, transparent 0) 0 0 / 100% 200%; animation: cue 1.5s linear infinite; }
@keyframes cue { to { background-position: 0 -200%; } }

/* ---------- 2/3/5. scrubbed clips ---------- */
.clip .scene__pin { display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, #0b56e6 0%, #0533ad 38%, var(--night) 82%); }
.clip--tap .scene__pin { background: linear-gradient(var(--frost), #0b56e6 22%, #0533ad 55%, var(--night)); }
.clip--pass .scene__pin { background: var(--frost); }
.clip__frame { position: relative; z-index: 2; width: min(62vh, 78vw); aspect-ratio: 1; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0, 8, 40, 0.8), 0 0 0 6px rgba(255, 255, 255, 0.08); will-change: transform; }
.clip__frame--round { border-radius: 50%; }
.clip--pass .clip__frame { box-shadow: 0 40px 80px -30px rgba(6, 20, 58, 0.55), 0 0 0 6px var(--ink); }
.clip__canvas { width: 100%; height: 100%; background: #0533ad; }
.headline { position: absolute; z-index: 3; left: 0; right: 0; text-align: center; font: 400 clamp(40px, 11.5vw, 190px)/0.86 var(--display); text-transform: uppercase; letter-spacing: -0.02em; white-space: nowrap; pointer-events: none; }
.headline--top { top: clamp(64px, 10vh, 110px); z-index: 1; }
.headline--bottom { bottom: clamp(60px, 9vh, 100px); }
.headline--red { color: var(--red); -webkit-text-stroke: clamp(1px, 0.18vw, 3px) var(--frost); }
.headline--ink { color: var(--ink); }
.clip--pass .headline--red { -webkit-text-stroke: 0; }
.headline .char { display: inline-block; will-change: transform; }
.aside { position: absolute; z-index: 4; top: 50%; font: 500 13px/1.6 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ice); max-width: 20ch; }
.aside b { display: block; font: 400 34px/1 var(--display); color: var(--frost); margin-bottom: 8px; }
.aside--left { left: var(--pad); }
.aside--right { right: var(--pad); text-align: right; }
.aside--ink, .aside--ink b { color: var(--ink); }

/* ---------- 4. fall ---------- */
.fall .scene__pin { background: linear-gradient(var(--night), #010a2a); display: grid; place-items: center; }
.fall__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.fall__word { position: relative; z-index: 2; font: 400 clamp(46px, 14vw, 240px)/0.85 var(--display); text-transform: uppercase; letter-spacing: -0.02em; text-align: center; white-space: nowrap; mix-blend-mode: difference; }
.fall__word .char { display: inline-block; }
.fall__ball { position: absolute; z-index: 3; left: 50%; top: 50%; width: 30vmin; height: 30vmin; margin: -15vmin 0 0 -15vmin; will-change: transform; filter: drop-shadow(0 0 60px rgba(120, 190, 255, 0.55)); }
.fall__flash { position: absolute; inset: 0; z-index: 4; background: var(--frost); opacity: 0; pointer-events: none; }

/* ---------- 6. gallery ---------- */
.gallery .scene__pin { background: linear-gradient(var(--frost), #cfe6ff); color: var(--ink); display: flex; flex-direction: column; justify-content: center; gap: clamp(10px, 2.2vh, 26px); padding-top: 56px; }
.gallery__title { padding: 0 var(--pad); font: 400 clamp(24px, 3.6vw, 60px)/0.95 var(--display); text-transform: uppercase; letter-spacing: -0.01em; }
.gallery__track { display: flex; gap: clamp(16px, 2.4vw, 36px); padding: 0 var(--pad); width: max-content; will-change: transform; }
.card { width: min(29vh, 62vw); flex-shrink: 0; transform-origin: 50% 100%; }
.card img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(6, 20, 58, 0.7); }
.card figcaption { margin-top: 12px; font: 500 14px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.card figcaption b { color: var(--red); margin-right: 10px; }
.card figcaption { display: flex; align-items: center; gap: 10px; }
.card__dl { margin-left: auto; padding: 8px 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--frost); font: 500 0.92em var(--mono); letter-spacing: 0.08em; white-space: nowrap; transition: background 0.2s, border-color 0.2s, transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1); }
.card__dl:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }


/* ---------- 7. finale ---------- */
.finale .scene__pin { background: #cfe6ff; color: var(--ink); display: flex; flex-direction: column; }
.finale__wipe { position: absolute; z-index: 1; left: 50%; top: 50%; width: 150vmax; height: 150vmax; margin: -75vmax 0 0 -75vmax; border-radius: 50%; background: radial-gradient(circle at 36% 30%, #fff 0%, var(--frost) 45%, #dcecff 100%); box-shadow: inset -40px -60px 120px rgba(120, 170, 235, 0.45); transform: scale(0); will-change: transform; }
.finale__inner { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(20px, 5vw, 80px); padding: 90px var(--pad) 20px; max-width: 1400px; margin: 0 auto; width: 100%; }
.finale__video { width: 100%; max-width: 56vh; justify-self: center; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 8px var(--ink), 0 40px 80px -30px rgba(6, 20, 58, 0.6); }
.finale__copy h2 { font: 400 clamp(46px, 8.4vw, 136px)/0.85 var(--display); text-transform: uppercase; letter-spacing: -0.02em; color: var(--red); }
.finale__copy .lead { margin-top: 18px; font: 700 clamp(20px, 2.2vw, 30px)/1.2 var(--body); }
.finale__copy p { margin-top: 12px; max-width: 46ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; height: 56px; padding: 0 28px; border: 3px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--frost); font: 400 16px var(--display); text-transform: uppercase; letter-spacing: 0.04em; transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1), background 0.2s, color 0.2s; }
.button:hover { transform: translateY(-3px) rotate(-1.5deg); background: var(--red); border-color: var(--red); }
.button--ghost { background: transparent; color: var(--ink); }
.button--ghost:hover { color: var(--frost); }
.site-footer { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 16px; padding: 18px var(--pad) 22px; font: 500 12px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- film grain ---------- */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.09; background-image: 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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 0.9s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); } 60% { transform: translate(-2%, 6%); } 80% { transform: translate(5%, -2%); } 100% { transform: translate(0, 0); } }

@media (max-width: 800px) {
  .site-nav { display: none; }
  .sound { margin-left: auto; }
  .aside { top: auto; bottom: 22vh; font-size: 11px; }
  .aside b { font-size: 24px; }
  .finale__inner { grid-template-columns: 1fr; padding-top: 76px; gap: 16px; }
  .finale__video { max-width: 30vh; }
  .button { height: 48px; padding: 0 20px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .logo img, .scroll-cue i, .preloader__drip img { animation: none; }
}

/* ---------- scale the small type up on big screens ---------- */
@media (min-width: 1400px) {
  body { font-size: clamp(18px, 1.15vw, 26px); }
  .site-nav, .hero__kicker, .scroll-cue, .aside, .card figcaption, .site-footer, .preloader__text { font-size: clamp(13px, 0.8vw, 19px); }
  .logo { font-size: clamp(15px, 0.95vw, 22px); }
  .logo img { width: clamp(34px, 2.2vw, 50px); height: auto; }
  .aside b { font-size: clamp(34px, 2.6vw, 60px); }
  .button { height: clamp(56px, 3.6vw, 76px); padding: 0 clamp(28px, 2vw, 44px); font-size: clamp(16px, 1vw, 22px); }
}

/* ---------- gallery: two rows travelling in opposite directions ---------- */
.gallery__title small { display: block; margin-top: 8px; font: 500 clamp(11px, 0.8vw, 16px) var(--mono); letter-spacing: 0.1em; }
.gallery__track--reverse { align-self: flex-start; }
.card img { border-radius: 16px; }
.card figcaption { margin-top: 8px; font-size: clamp(10px, 0.72vw, 15px); }
.card__dl { padding: 5px 11px; }

/* ---------- reactions (GIF wall) ---------- */
.reactions { position: relative; background: #cfe6ff; color: var(--ink); padding: clamp(60px, 12vh, 140px) var(--pad); }
.reactions__title { font: 400 clamp(36px, 7vw, 120px)/0.88 var(--display); text-transform: uppercase; letter-spacing: -0.02em; color: var(--red); }
.reactions__note { margin-top: 10px; font: 500 clamp(12px, 0.85vw, 17px) var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.reactions__grid { margin-top: clamp(24px, 5vh, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 32px); }
.reaction video { width: 100%; aspect-ratio: 1; border-radius: 20px; background: #0533ad; box-shadow: 0 26px 50px -28px rgba(6, 20, 58, 0.7); transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1); }
.reaction:hover video { transform: scale(1.03) rotate(-1.2deg); }
.reaction figcaption { display: flex; align-items: center; gap: 10px; margin-top: 10px; font: 500 clamp(11px, 0.8vw, 16px) var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 900px) { .reactions__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- how the drip works ---------- */
.how { height: 360vh; }
.how .scene__pin { background: radial-gradient(120% 90% at 50% 0%, var(--cobalt), var(--night) 70%); color: var(--frost); display: flex; flex-direction: column; justify-content: center; gap: clamp(14px, 3vh, 34px); padding: 84px var(--pad) 32px; }
.how__title { font: 400 clamp(30px, 5.4vw, 96px)/0.9 var(--display); text-transform: uppercase; letter-spacing: -0.02em; text-align: center; }
.how__pipe { position: relative; height: 10px; margin: clamp(10px, 2vh, 22px) auto; width: min(100%, 1280px); border-radius: 99px; background: rgba(255, 255, 255, 0.16); }
.how__fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--ice), #fff); transform-origin: 0 50%; transform: scaleX(0); }
.how__ball { position: absolute; top: 50%; left: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4)); }
.how__steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 3vw, 56px); width: min(100%, 1280px); margin: 0 auto; padding: 0; }
.how__step { text-align: center; }
.how__step img { width: min(100%, 34vh); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; margin: 0 auto; box-shadow: 0 0 0 6px var(--frost), 0 30px 60px -24px rgba(0, 0, 0, 0.7); }
.how__step b { display: block; margin-top: clamp(10px, 2vh, 22px); font: 500 13px var(--mono); letter-spacing: 0.2em; color: var(--ice); }
.how__step h3 { font: 400 clamp(28px, 4.4vw, 76px)/0.95 var(--display); text-transform: uppercase; letter-spacing: -0.01em; }
.how__step p { margin: 8px auto 0; max-width: 28ch; font-size: clamp(14px, 1.1vw, 20px); line-height: 1.4; color: var(--ice); }

/* ---------- contract addresses on the last screen ---------- */
.finale__inner { padding-top: 76px; }
.ca { display: grid; gap: 8px; margin-top: 18px; }
.ca__row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.ca__label { width: 13em; font: 500 12px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.ca__pill { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; height: 40px; padding: 0 6px 0 16px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); font: 500 13px var(--mono); cursor: pointer; transition: transform 0.2s; }
.ca__pill:not(:disabled):hover { transform: translateY(-2px); }
.ca__pill:disabled { cursor: default; border-style: dashed; background: transparent; padding-right: 16px; }
.ca__pill:disabled em { display: none; }
.ca__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca__pill em { font-style: normal; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: var(--frost); letter-spacing: 0.1em; text-transform: uppercase; font-size: 11px; }
.ca__pill.is-copied em { background: var(--red); }
.ca__link { font: 500 12px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: underline; }
.cta { margin-top: 18px; }
.button.is-disabled { opacity: 0.45; cursor: default; pointer-events: none; }
.button--ghost.is-disabled { display: none; }
.finale__copy .fineprint { margin-top: 14px; max-width: 60ch; font: 500 11px/1.5 var(--mono); letter-spacing: 0.04em; opacity: 0.7; }
@media (max-width: 760px) {
  .how .scene__pin { padding-top: 70px; gap: 8px; }
  .how__steps { grid-template-columns: 1fr; gap: 12px; }
  .how__step { display: grid; grid-template-columns: 22vw 1fr; column-gap: 14px; text-align: left; align-items: center; }
  .how__step img { grid-row: span 3; width: 22vw; height: auto; box-shadow: 0 0 0 3px var(--frost); }
  .how__step b { margin-top: 0; }
  .how__step p { margin: 2px 0 0; font-size: 13px; }
  .ca__label { width: 100%; }
}
