@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/latin-800-normal.woff2") format("woff2");
}

:root {
  --ink: #0b1220;
  --body: #243044;
  --muted: #526277;
  --line: #e3eee8;
  --paper: #f4f7f2;
  --white: #ffffff;
  --green: #0f766e;
  --purple: #241047;
  --grad: linear-gradient(135deg, #c8f804 0%, #3ef0c2 38%, #00d3fe 68%, #2f6bff 100%);
  --grad-soft: linear-gradient(135deg, #d7f85a 0%, #5ef0c8 48%, #7adfff 100%);
  --shadow: 0 24px 60px rgba(16, 42, 68, 0.1);
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, .verb-word {
  color: var(--ink);
  letter-spacing: -0.045em;
  line-height: 0.92;
  font-weight: 800;
}
h1 { font-size: clamp(3.2rem, 12vw, 7.4rem); margin-bottom: 1rem; }
h2 { font-size: clamp(2.2rem, 6vw, 4.4rem); margin-bottom: 0.8rem; }
a { color: var(--green); }
button, input { font: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 30;
  transform: translateY(-150%);
  background: #fff;
  color: var(--ink);
  padding: 0.7rem 1rem;
  border-radius: 999px;
}
.skip:focus { transform: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid #0f766e;
  outline-offset: 3px;
}

.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 247, 242, 0.88);
  backdrop-filter: blur(16px);
}
.header-bar {
  width: min(1120px, calc(100% - 28px));
  margin-inline: auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img:first-child { width: 40px; height: 40px; border-radius: 12px; }
.word { width: 132px; height: auto; }
.nav-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.nav-bars, .nav-bars::before, .nav-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  margin-inline: auto;
}
.nav-bars::before, .nav-bars::after { content: ""; position: absolute; left: 0; }
.nav-bars::before { top: -6px; }
.nav-bars::after { top: 6px; }
.site-nav {
  display: none;
  position: absolute;
  left: 14px;
  right: 14px;
  top: 68px;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.site-nav.is-open { display: flex; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
}
.site-nav a:hover, .site-nav a[aria-current="true"] { background: #eef8f4; }
.nav-cta { background: var(--grad-soft); text-align: center; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 24px 0 64px;
  overflow: clip;
}
.particles, #hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.particles { z-index: 0; pointer-events: none; }
.sculpture {
  position: absolute;
  right: -8vw;
  top: 8vh;
  width: min(78vw, 640px);
  aspect-ratio: 1;
  z-index: 0;
  pointer-events: none;
}
#hero-gl { position: absolute; inset: 0; opacity: 0; }
#hero-gl.is-live { opacity: 1; }
.orb {
  position: absolute;
  border-radius: 42% 58% 62% 38% / 46% 38% 62% 54%;
  filter: blur(2px);
  animation: morph 16s ease-in-out infinite;
}
.orb-a {
  inset: 8% 10% 18% 6%;
  background: radial-gradient(circle at 30% 30%, #f4ff9a, #3ef0c2 42%, #00d3fe 70%, transparent 72%);
}
.orb-b {
  inset: 28% 0 8% 28%;
  background: radial-gradient(circle at 60% 40%, #8af0ff, #2f6bff 62%, transparent 70%);
  animation-delay: -6s;
}
.orb-c {
  width: 34%;
  aspect-ratio: 1;
  left: 18%;
  bottom: 12%;
  background: radial-gradient(circle, #c8f804, transparent 68%);
  opacity: 0.85;
}
#hero-gl.is-live ~ .orb, .sculpture:has(#hero-gl.is-live) .orb { opacity: 0.28; }
.hero-copy { position: relative; z-index: 1; max-width: 16em; }
.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kicker img { width: 28px; height: 28px; border-radius: 8px; }
.hero h1 span { display: block; animation: rise 0.9s ease both; }
.hero h1 span:nth-child(2) { animation-delay: 0.08s; }
.hero h1 span:nth-child(3) { animation-delay: 0.16s; }
.lede { font-size: 1.15rem; max-width: 36rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.2rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  cursor: pointer;
}
.btn-fill { background: var(--grad-soft); color: #072033; }
.btn-fill:hover { color: #072033; }
.btn-line { background: #fff; color: var(--ink); border-color: #d5e4ea; }
.btn-line:hover { color: var(--ink); }

.act, .section, .band, .world, .join { padding: 72px 0; }
.band { background: #fff; }
.index {
  margin-bottom: 0.4rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.verb { padding: 28px 0 10px; }
.verb-grid, .split, .world-grid, .footer-grid { display: grid; gap: 28px; }
.verb-word { font-size: clamp(4rem, 16vw, 8rem); margin-bottom: 0.4rem; }
.trail, .constellation, .world-svg { width: 100%; height: auto; }
.trail-path, .constellation-lines path, .flow {
  fill: none;
  stroke: #14b8c9;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 8 14;
  animation: dash 8s linear infinite;
}
.flow-b { stroke: #7c5cff; }
.dots circle, .world-dots circle { fill: #0b1220; }
.constellation-lines path { stroke: #2f6bff; }
.rise { display: flex; align-items: flex-end; gap: 10px; height: 180px; }
.rise span {
  flex: 1;
  border-radius: 18px 18px 8px 8px;
  background: var(--grad);
  transform-origin: bottom;
  animation: grow 2.8s ease-in-out infinite alternate;
}
.rise span:nth-child(1) { height: 28%; animation-delay: 0s; }
.rise span:nth-child(2) { height: 48%; animation-delay: 0.15s; }
.rise span:nth-child(3) { height: 70%; animation-delay: 0.3s; }
.rise span:nth-child(4) { height: 52%; animation-delay: 0.1s; }
.rise span:nth-child(5) { height: 88%; animation-delay: 0.22s; }

.points { padding-left: 1.1rem; }
.note { color: var(--muted); font-size: 0.95rem; }
.field {
  position: relative;
  min-height: 420px;
  border-radius: 36px;
  background:
    radial-gradient(280px 180px at 20% 20%, rgba(200, 248, 4, 0.45), transparent 70%),
    radial-gradient(260px 180px at 80% 70%, rgba(0, 211, 254, 0.35), transparent 70%),
    #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.field-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.field-lines line { stroke: #1493b8; stroke-width: 0.6; }
.node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  min-width: 76px;
  min-height: 76px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(16, 42, 68, 0.12);
  cursor: pointer;
}
.node.is-on { background: var(--grad-soft); }
.field-status {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.slider-label { display: block; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
input[type="range"] { width: min(100%, 420px); height: 44px; accent-color: #0e9eae; }
.sample-total { font-size: 1.4rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.sculpture-goal {
  position: relative;
  height: 360px;
  display: grid;
  place-items: center;
}
.goal-core {
  width: min(70vw, 260px);
  aspect-ratio: 1;
  border-radius: 46% 54% 42% 58%;
  background: var(--grad);
  transform: scale(var(--scale, 0.55));
  box-shadow: 0 20px 50px rgba(20, 140, 200, 0.25);
  transition: transform 0.45s ease;
}
.goal-ring {
  position: absolute;
  width: min(86vw, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(20, 160, 190, 0.35);
}

.starboard {
  background:
    radial-gradient(500px 240px at 10% 0%, rgba(124, 92, 255, 0.45), transparent 70%),
    radial-gradient(420px 220px at 100% 80%, rgba(0, 180, 255, 0.28), transparent 70%),
    var(--purple);
  color: #efeaff;
  padding: 80px 0;
}
.starboard h2, .starboard .index { color: #fff; }
.starboard .index { color: #c8b6ff; }
.note-light { color: #d9cff8; }
.board { display: grid; gap: 8px; margin-top: 1rem; }
.row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  text-align: left;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 0.75rem 0.9rem;
  cursor: pointer;
}
.row.is-hot { background: linear-gradient(90deg, rgba(124, 92, 255, 0.85), rgba(0, 180, 255, 0.55)); }
.board-readout { font-weight: 700; }
.shot { margin: 0; }
.shot img, .stage img {
  width: min(100%, 420px);
  margin-inline: auto;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}
.shot figcaption, .stage figcaption {
  text-align: center;
  margin-top: 10px;
  font-weight: 700;
}
.starboard figcaption { color: #efeaff; }

.showcase { display: grid; gap: 18px; margin-top: 1.4rem; }
.tablist { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.tab, .icon-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  border-radius: 999px;
  min-height: 46px;
  cursor: pointer;
}
.tab { padding: 0.55rem 0.95rem; flex: 0 0 auto; }
.tab[aria-selected="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #14b8d4; }
.stage {
  margin: 0 auto;
  width: min(100%, 440px);
  perspective: 900px;
}
.stage img { transition: transform 0.18s linear; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.stage.is-swap img { animation: swap 0.45s ease; }
.stage-tools { display: flex; gap: 8px; }
.icon-btn { width: 46px; }

.world { overflow: clip; }
.world-svg { overflow: visible; }

.join-panel {
  background: #fff;
  border-radius: 36px;
  padding: 42px 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.site-footer { padding: 42px 0 28px; border-top: 1px solid var(--line); }
.footer-label {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.footer-grid a { display: block; color: var(--body); text-decoration: none; font-weight: 700; padding: 0.25rem 0; }
.footer-grid a:hover { color: var(--green); }
.footer-base {
  width: min(1120px, calc(100% - 40px));
  margin: 22px auto 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
}
.footer-base p { margin: 0; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes morph {
  50% { border-radius: 60% 40% 32% 68% / 48% 62% 38% 52%; transform: translate3d(0, 12px, 0) rotate(8deg); }
}
@keyframes dash { to { stroke-dashoffset: -220; } }
@keyframes grow { to { transform: scaleY(1.08); } }
@keyframes swap {
  from { opacity: 0.35; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .hero { align-items: center; }
  .hero-copy { max-width: 12em; }
  .verb-grid, .split, .world-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 48px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; }
  .showcase { grid-template-columns: 220px 1fr; align-items: center; }
  .tablist { flex-direction: column; overflow: visible; }
  .stage-tools { grid-column: 2; }
}

@media (max-width: 899px) {
  body.nav-open { overflow: hidden; }
  .sculpture { width: 88vw; right: -20vw; top: 6vh; opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .particles, #hero-gl { display: none; }
}
