/* MOTION -- he cannot stop moving --------------------------------------- */

@font-face { font-family: "Rubik Mono One"; src: url("/assets/fonts/rubik-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Sora"; src: url("/assets/fonts/sora-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Sora"; src: url("/assets/fonts/sora-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Sora"; src: url("/assets/fonts/sora-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Sora"; src: url("/assets/fonts/sora-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --purple: #3f0995;
  --purple-mid: #8661aa;
  --purple-deep: #240c39;
  --lavender: #ffcafe;
  --ink: #0a0a0a;
  --white: #ffffff;
  --display: "Rubik Mono One", "Arial Black", sans-serif;
  --sans: "Sora", -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--purple-deep);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; user-select: none; -webkit-user-drag: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; cursor: pointer; background: none; color: inherit; }

.display { font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; }

/* ---------- canary / blur veil / noscript ---------- */
.canary {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 40;
  margin: 0;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}
.blur-veil {
  position: fixed;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: backdrop-filter 0.12s linear;
}
.noscript-note {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--purple);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
}

/* ---------- nav ---------- */
.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
}
.topnav-mark img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.5); }
.topnav-links { display: flex; align-items: center; gap: 1.4rem; font-weight: 700; font-size: 12px; letter-spacing: 0.04em; }
.topnav-buy { background: var(--white); color: var(--purple-deep); padding: 0.5rem 1rem; border-radius: 999px; font-weight: 800; }

/* ---------- layout ---------- */
.section {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.25rem;
  overflow: clip;
}
.eyebrow { font-family: var(--sans); font-weight: 800; font-size: 12px; letter-spacing: 0.14em; opacity: 0.6; margin: 0 0 0.75rem; }
.h-section { font-size: clamp(1.5rem, 5vw, 2.4rem); margin: 0 0 1.75rem; line-height: 1.1; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: 2px solid var(--white);
  transition: transform 0.15s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn--fill { background: var(--white); color: var(--purple-deep); }
.btn--outline { background: transparent; color: var(--white); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

/* ---------- hero ---------- */
.hero { padding-top: 6rem; }
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("/assets/img/avatar.jpg") center 30% / cover no-repeat;
  filter: saturate(1.1);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 12, 57, 0.35), rgba(15, 4, 26, 0.88) 78%);
}
.hero > *:not(.hero-bg) { position: relative; z-index: 1; }
.hero-word {
  font-size: clamp(3rem, 13vw, 7rem);
  line-height: 1;
  margin: 0;
  color: var(--white);
  text-shadow: 0 4px 0 var(--purple), 0 8px 24px rgba(0, 0, 0, 0.5);
}
.hero-tag { font-weight: 700; font-size: clamp(1rem, 3vw, 1.35rem); margin: 0.9rem 0 0; }
.hero-tiny { font-size: 12px; font-weight: 500; opacity: 0.7; margin: 0.5rem 0 0; }
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin-top: 1.75rem; }
.scroll-hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); opacity: 0.5; animation: hint-bob 1.6s ease-in-out infinite; }
@keyframes hint-bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ---------- velocity ---------- */
.velocity { background: var(--purple-deep); }
.v-hint { font-size: 12px; font-weight: 600; opacity: 0.65; margin: 0 0 2.25rem; }
.v-gauge { width: min(420px, 88vw); display: flex; flex-direction: column; align-items: center; }
.v-bar-track { width: 100%; height: 14px; border-radius: 999px; background: rgba(255,255,255,0.12); border: 1.5px solid rgba(255,255,255,0.3); overflow: hidden; }
.v-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--lavender), var(--white)); transition: width 0.08s linear; }
.v-readout { display: flex; flex-direction: column; align-items: center; margin-top: 1.5rem; }
.v-number { font-family: var(--display); font-size: clamp(2.6rem, 9vw, 4rem); color: var(--white); line-height: 1; }
.v-unit { font-size: 11px; font-weight: 600; opacity: 0.6; margin-top: 0.35rem; }
.v-label { font-weight: 800; font-size: 1rem; letter-spacing: 0.04em; color: var(--lavender); margin: 1rem 0 0; }

/* ---------- stillness ---------- */
.stillness { background: var(--purple); }
.stillness-card { width: min(560px, 90vw); }
.stillness-body {
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 1.5rem;
  filter: blur(7px);
  transition: filter 0.4s var(--ease);
}
.stillness-card.is-still .stillness-body { filter: blur(0); }
.stillness-status { font-family: var(--sans); font-weight: 800; font-size: 12px; letter-spacing: 0.04em; opacity: 0.75; margin: 0; }

/* ---------- manifesto (pinned crossfade) ---------- */
.manifesto { position: relative; height: 500vh; background: var(--ink); }
.manifesto-pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; justify-content: center; }
.mline {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 90vw;
  margin: 0;
  color: var(--white);
  text-align: center;
  padding: 0 1.5rem;
  opacity: 0;
  transform: translate(-50%, -50%) translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mline.is-active { opacity: 1; transform: translate(-50%, -50%) translateY(0); }
.mline { font-size: clamp(1.6rem, 6vw, 3rem); }
.mline--lg { font-size: clamp(2.2rem, 8.5vw, 4.5rem); color: var(--lavender); }
.mline--tick { color: var(--purple-mid); -webkit-text-stroke: 1px var(--white); font-size: clamp(2.6rem, 10vw, 5rem); }

/* ---------- race ---------- */
.race { background: var(--purple-deep); }
.race-hint { font-size: 12px; font-weight: 600; opacity: 0.65; margin: 0 0 2rem; }
.race-track {
  position: relative;
  width: min(720px, 90vw);
  height: 120px;
  border-top: 2px dashed rgba(255, 255, 255, 0.3);
  border-bottom: 2px dashed rgba(255, 255, 255, 0.3);
  margin-bottom: 1.75rem;
  overflow: clip;
}
.race-cat {
  position: absolute;
  top: 50%;
  left: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  transform: translate(0, -50%);
  will-change: transform, filter;
}
.race-trail {
  position: absolute;
  top: 50%;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--lavender));
  transform: translateY(-50%);
  opacity: 0;
}
.race-finish { position: absolute; top: 0; bottom: 0; right: 6%; width: 3px; background: repeating-linear-gradient(180deg, var(--white) 0 8px, transparent 8px 16px); }
.race-controls { display: flex; gap: 0.75rem; }
.race-result { min-height: 1.6rem; font-weight: 800; font-size: 0.95rem; margin: 1.25rem 0 0; color: var(--lavender); }

/* ---------- final / pitstop ---------- */
.pitstop { background: var(--ink); }
.pitstop-banner { width: min(680px, 92vw); border-radius: 14px; margin-bottom: 2rem; }
.h-final { font-size: clamp(1.7rem, 6vw, 2.8rem); margin: 0; color: var(--white); }
.h-final-sub { font-family: var(--sans); font-weight: 800; font-size: clamp(1rem, 3.4vw, 1.3rem); color: var(--lavender); margin: 0.5rem 0 0; }
.p-ticker { font-weight: 700; font-size: 13px; opacity: 0.75; margin: 0.9rem 0 0; }
.final-ctas { display: flex; gap: 0.75rem; margin-top: 1.75rem; }
.ca-row {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  max-width: 100%;
}
.ca-label { font-family: var(--sans); font-weight: 700; font-size: 11px; opacity: 0.7; }
.ca-value { font-size: 12px; max-width: 34vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-copy {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 11px;
  background: var(--white);
  color: var(--purple-deep);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  transition: transform 0.15s var(--ease);
}
.ca-copy:hover { transform: scale(1.05); }
.ca-copy.is-copied { background: var(--lavender); }

@media (min-width: 640px) { .ca-value { max-width: 16rem; } }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  z-index: 9997;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint { animation: none; }
  .blur-veil { display: none; }
  .stillness-body { filter: blur(0) !important; }
}

@media (max-width: 480px) {
  .race-track { height: 90px; }
  .race-cat { width: 48px; height: 48px; }
}
