@font-face {
  font-family: "Poppins";
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins-300.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
}

@property --beam {
  syntax: "<angle>";
  inherits: true;
  initial-value: -90deg;
}

:root {
  --bg: #050407;
  --bg-2: #0a0810;
  --ink: #efebf7;
  --muted: #a8a0ba;
  --dim: #2b2635;
  --violet: #7b61ff;
  --violet-soft: #a898ff;
  --violet-glow: rgba(123, 97, 255, 0.55);
  --line: rgba(239, 235, 247, 0.12);
  --paper: #e9e5dc;
  --paper-ink: #16131c;
  --sans: "Poppins", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.7, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 76px;
  --wrap: min(1180px, calc(100% - 48px));
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p,
ol,
ul,
dl,
dd,
fieldset {
  margin: 0;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--violet);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--violet-soft);
  outline-offset: 4px;
}

[id] {
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

.mono {
  font-family: var(--mono);
  font-weight: 400;
}

.label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet-soft);
}

.muted {
  color: var(--muted);
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  background-image: url("../assets/noise.png");
  background-size: 160px;
  opacity: 0.07;
  mix-blend-mode: overlay;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

/* Wordmark */

.wordmark {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 0.92;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
}

.wm-light {
  font-weight: 400;
}

.wm-bold {
  display: inline-flex;
  align-items: center;
  gap: 0.12em;
  font-weight: 700;
  font-size: 1.12em;
}

.wm-lock {
  width: 0.92em;
  height: 0.92em;
  margin-top: -0.12em;
}

/* Buttons */

.btn {
  --pad: 26px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 var(--pad);
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), color 0.4s;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--violet);
  border-radius: inherit;
  transform: scale(0);
  transition: transform 0.5s var(--ease-out);
}

.btn:hover {
  color: #fff;
  box-shadow: 0 0 0 1px rgba(123, 97, 255, 0.5), 0 14px 50px -10px var(--violet-glow);
}

.btn:hover::before {
  transform: scale(1.02);
}

.btn:active {
  transform: scale(0.97);
}

.btn-lock {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-lock path:first-child {
  transition: transform 0.4s var(--ease-out);
}

.btn:hover .btn-lock path:first-child {
  transform: translateY(-2.5px);
}

.btn-sm {
  --pad: 18px;
  min-height: 42px;
  font-size: 0.86rem;
  gap: 8px;
}

.btn-sm .btn-lock {
  width: 15px;
  height: 15px;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: wait;
}

.text-link {
  position: relative;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}

.text-link:hover::after {
  transform: scaleX(0);
}

/* Nav */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-inline: max(24px, calc((100% - 1180px) / 2));
  transition: background 0.4s, border-color 0.4s, transform 0.5s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.nav.is-solid {
  background: rgba(5, 4, 7, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.status-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6cf0a8;
  flex: none;
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid #6cf0a8;
  animation: ping 2.4s var(--ease-out) infinite;
}

@keyframes ping {
  from {
    transform: scale(0.4);
    opacity: 1;
  }
  to {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Hero */

.hero {
  --mx: 0;
  --my: 0;
  --hs: 0;
  --sx: 50%;
  --sy: 40%;
  position: relative;
  min-height: 100svh;
  min-height: max(100svh, 680px);
  overflow: hidden;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: 44%;
  width: min(1100px, 150vw);
  aspect-ratio: 1;
  translate: -50% -50%;
  z-index: -2;
  background: radial-gradient(
    circle,
    rgba(132, 106, 255, 0.95) 0%,
    rgba(104, 78, 230, 0.6) 18%,
    rgba(70, 48, 170, 0.28) 38%,
    rgba(40, 24, 100, 0.08) 58%,
    transparent 70%
  );
  opacity: calc(1 - var(--hs) * 0.8);
  animation: light-on 2.4s 0.2s both;
}

@keyframes light-on {
  0% {
    opacity: 0;
    transform: scale(0.55);
  }
  8% {
    opacity: 0.55;
  }
  12% {
    opacity: 0.05;
  }
  20% {
    opacity: 0.75;
  }
  24% {
    opacity: 0.2;
  }
  40% {
    opacity: 1;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-spot {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--sx) var(--sy), rgba(168, 152, 255, 0.28), transparent 70%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.6s;
}

.hero.has-pointer .hero-spot {
  opacity: 1;
}

.hero-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-ring {
  position: absolute;
  left: 50%;
  top: calc(var(--nav-h) + 1vh);
  width: min(74svh, 88vw);
  translate: -50% 0;
  scale: calc(1 + var(--hs) * 0.18);
  opacity: calc(1 - var(--hs) * 1.2);
  overflow: visible;
}

.ring-line {
  fill: none;
  stroke: rgba(239, 235, 247, 0.22);
  stroke-width: 1;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.4s 0.7s var(--ease) forwards;
}

.ring-line-inner {
  stroke: rgba(239, 235, 247, 0.1);
  stroke-dasharray: 0.004 0.012;
  stroke-dashoffset: 0;
  animation: fade-in 1.6s 1.4s both;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

.ring-rotor {
  transform-origin: 300px 300px;
  animation: spin 70s linear infinite, fade-in 1.6s 1.5s both;
}

.ring-text {
  font-family: var(--mono);
  font-size: 13.5px;
  letter-spacing: 0.3em;
  fill: rgba(239, 235, 247, 0.62);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.agents {
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: min(80svh, 96vw);
  aspect-ratio: 902 / 838;
  translate: -50% 0;
}

.agent {
  position: absolute;
  inset: 0;
}

.agent img {
  width: 100%;
  height: 100%;
  user-select: none;
  -webkit-user-drag: none;
}

.agent-c {
  z-index: 2;
  animation: rise 1.8s 0.3s var(--ease-out) both;
}

.agent-l {
  animation: step-out-l 1.6s 1s var(--ease-out) both;
}

.agent-r {
  animation: step-out-r 1.6s 1s var(--ease-out) both;
}

.agent-c img {
  transform: translate3d(calc(var(--mx) * -14px), calc(var(--my) * -8px + var(--hs) * 30px), 0);
}

.agent-l img {
  transform: translate3d(calc(var(--mx) * -6px + var(--hs) * 16%), calc(var(--my) * -4px + var(--hs) * 40px), 0);
}

.agent-r img {
  transform: translate3d(calc(var(--mx) * -6px - var(--hs) * 16%), calc(var(--my) * -4px + var(--hs) * 40px), 0);
}

@keyframes rise {
  from {
    transform: translateY(7%);
    filter: blur(6px);
  }
  to {
    transform: none;
    filter: none;
  }
}

@keyframes step-out-l {
  from {
    transform: translateX(22%);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  to {
    transform: none;
  }
}

@keyframes step-out-r {
  from {
    transform: translateX(-22%);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  to {
    transform: none;
  }
}

.hero-fog {
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  pointer-events: none;
  background: linear-gradient(to top, var(--bg) 18%, rgba(5, 4, 7, 0.86) 45%, rgba(5, 4, 7, 0) 100%);
}

.hero-copy {
  position: absolute;
  left: 50%;
  bottom: clamp(36px, 7svh, 72px);
  z-index: 3;
  width: min(900px, calc(100% - 48px));
  translate: -50% 0;
  text-align: center;
}

.hero-kicker {
  margin-bottom: 18px;
  animation: fade-up 1s 1.9s var(--ease-out) both;
}

.hero-title {
  font-size: clamp(2.8rem, 7.2vw, 6.2rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.08em;
}

.hero-title .line > span {
  display: block;
  animation: line-up 1.3s var(--ease-out) both;
}

.hero-title .line:nth-child(1) > span {
  animation-delay: 1.45s;
}

.hero-title .line:nth-child(2) > span {
  animation-delay: 1.6s;
}

@keyframes line-up {
  from {
    transform: translateY(105%);
  }
}

.hero-sub {
  max-width: 34em;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  animation: fade-up 1s 1.95s var(--ease-out) both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 28px;
  animation: fade-up 1s 2.1s var(--ease-out) both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.nav {
  animation: fade-in 1s 2.2s both;
}

.hud {
  position: absolute;
  bottom: 30px;
  z-index: 3;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(239, 235, 247, 0.5);
  animation: fade-in 1s 2.4s both;
}

.hud-l {
  left: max(24px, calc((100% - 1180px) / 2));
}

.hud-r {
  right: max(24px, calc((100% - 1180px) / 2));
}

/* Sections */

.section {
  position: relative;
  padding: clamp(96px, 14vw, 160px) 0;
}

.sec-head {
  max-width: 760px;
  margin-bottom: clamp(48px, 7vw, 80px);
}

.sec-head .label,
.dossier-intro .label,
.circle-copy .label,
.words-sec .label {
  margin-bottom: 18px;
}

.words-sec {
  padding-bottom: clamp(48px, 6vw, 72px);
}

.path-sec {
  padding-top: clamp(48px, 6vw, 72px);
}

.sec-head .muted {
  max-width: 36em;
  margin-top: 22px;
  font-size: 1.05rem;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Dossier */

.dossier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.dossier-intro .muted {
  max-width: 30em;
  margin-top: 24px;
  font-size: 1.05rem;
}

.doc {
  position: relative;
  padding: 34px 36px 92px;
  background:
    linear-gradient(transparent 0 calc(100% - 1px), rgba(22, 19, 28, 0.06) 0) 0 0 / 100% 34px,
    var(--paper);
  color: var(--paper-ink);
  transform: rotate(1.4deg);
  box-shadow:
    0 50px 90px -30px rgba(0, 0, 0, 0.9),
    0 0 120px -30px rgba(123, 97, 255, 0.35);
}

.doc::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 48px;
  width: 26px;
  height: 58px;
  border: 3px solid #9a97a4;
  border-radius: 13px;
  border-bottom-color: transparent;
}

.doc-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 1.5px solid var(--paper-ink);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.doc-head span:last-child {
  color: #b3261e;
}

.doc-subject {
  margin-bottom: 20px;
  font-size: 0.8rem;
  color: #55505e;
}

.doc-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
  padding: 0;
  list-style: none;
}

.doc-list li {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.doc-note {
  margin-top: 28px;
  color: #55505e;
}

.doc-final {
  margin-top: 6px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.redact {
  position: relative;
  display: inline;
}

.js .redact::after {
  content: "";
  position: absolute;
  inset: 0.08em -0.18em;
  background: var(--paper-ink);
  transform-origin: right center;
  transition: transform 0.7s var(--ease) calc(var(--i) * 0.14s + 0.3s);
}

.js .doc.is-open .redact::after {
  transform: scaleX(0);
}

.stamp {
  position: absolute;
  right: 26px;
  bottom: 30px;
  padding: 6px 14px;
  border: 2.5px solid #b3261e;
  color: #b3261e;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transform: rotate(-9deg);
  mix-blend-mode: multiply;
}

.js .stamp {
  opacity: 0;
  transform: rotate(-9deg) scale(1.8);
  transition: opacity 0.25s 1.9s, transform 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) 1.9s;
}

.js .doc.is-open .stamp {
  opacity: 0.9;
  transform: rotate(-9deg) scale(1);
}

/* Words */

.words {
  max-width: 1100px;
  font-size: clamp(2rem, 5.4vw, 4.6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.js .words span {
  color: var(--dim);
  transition: color 0.5s;
}

.js .words span.on {
  color: var(--ink);
}

.words-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 64px;
  align-items: end;
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.words-after h2 {
  color: var(--violet-soft);
}

.words-after .muted {
  max-width: 32em;
  font-size: 1.05rem;
}

/* Path */

.path {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) 1.2fr;
  gap: clamp(40px, 7vw, 110px);
}

.path-aside {
  position: sticky;
  top: calc(50vh - 190px);
  align-self: start;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.path-lock {
  position: relative;
  width: min(300px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.path-progress {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.path-progress circle {
  fill: none;
  stroke-width: 1.5;
}

.path-progress .track {
  stroke: var(--line);
}

.path-progress .bar {
  stroke: var(--violet);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--pp, 0));
  filter: drop-shadow(0 0 6px var(--violet-glow));
  transition: stroke-dashoffset 0.2s linear;
}

.path-lock .big-lock {
  width: 38%;
}

.path-count {
  margin-top: 18px;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}

.path-count span {
  color: var(--ink);
}

.path-state {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.4s;
}

.path.is-unlocked .path-state {
  color: #6cf0a8;
}

.steps {
  padding: 0;
  list-style: none;
}

.step {
  min-height: 46vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0 40px 32px;
  border-left: 1px solid var(--line);
  position: relative;
  transition: opacity 0.6s;
}

.js .step {
  opacity: 0.28;
}

.js .step.is-active {
  opacity: 1;
}

.step::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--violet);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.8s var(--ease-out);
}

.step.is-active::before {
  transform: scaleY(1);
}

.step-no {
  margin-bottom: 14px;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet-soft);
}

.step h3 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.step-lead {
  margin-top: 18px;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.step .muted {
  max-width: 30em;
  margin-top: 8px;
}

/* Big lock */

.big-lock {
  overflow: visible;
}

.bl-body {
  fill: var(--ink);
}

.bl-keyglow {
  fill: var(--bg);
  transition: fill 0.4s, filter 0.4s;
}

.bl-shackle {
  transform-box: view-box;
  transform-origin: 88px 68px;
  transition: transform 0.7s cubic-bezier(0.3, 1.5, 0.5, 1);
}

.bl-shackle path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 12;
}

.is-unlocked .bl-shackle,
.path.is-unlocked .bl-shackle {
  transform: translateY(-16px) rotate(-28deg);
}

.is-unlocked .bl-keyglow,
.path.is-unlocked .bl-keyglow {
  fill: var(--violet-soft);
  filter: drop-shadow(0 0 8px var(--violet)) drop-shadow(0 0 20px var(--violet));
}

/* Circle */

.circle-sec {
  overflow: hidden;
}

.circle-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}

.circle-copy > .muted {
  margin-top: 22px;
  font-size: 1.05rem;
}

.circle-detail {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  min-height: 190px;
}

.circle-no {
  margin-bottom: 12px;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  color: var(--violet-soft);
}

.circle-detail h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.035em;
}

.circle-detail .muted {
  max-width: 28em;
  margin-top: 10px;
  font-size: 1.05rem;
}

.circle-detail.is-swapping > * {
  animation: swap 0.6s var(--ease-out);
}

@keyframes swap {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.orbit {
  --size: min(500px, calc(100vw - 150px));
  position: relative;
  width: var(--size);
  aspect-ratio: 1;
  margin-inline: auto;
}

.orbit-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.orbit-lines circle {
  fill: none;
  stroke: var(--line);
}

.o-outer {
  stroke-dasharray: 2 6;
  transform-origin: 200px 200px;
  animation: spin 90s linear infinite;
}

.o-inner {
  stroke: rgba(123, 97, 255, 0.35) !important;
}

.orbit-beam {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from calc(var(--beam) + 90deg - 24deg),
    rgba(123, 97, 255, 0) 0deg,
    rgba(123, 97, 255, 0.32) 24deg,
    rgba(123, 97, 255, 0) 48deg,
    transparent 360deg
  );
  mask: radial-gradient(circle, transparent 18%, #000 19%);
  -webkit-mask: radial-gradient(circle, transparent 18%, #000 19%);
  transition: --beam 1s var(--ease);
}

.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34%;
  aspect-ratio: 1;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 97, 255, 0.4), rgba(123, 97, 255, 0.06) 62%, transparent 72%);
}

.orbit-core svg {
  width: 32%;
  height: 32%;
  filter: drop-shadow(0 0 16px var(--violet));
}

.node {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transform: translate(-50%, -50%) rotate(var(--a)) translate(calc(var(--size) / 2)) rotate(calc(var(--a) * -1));
  transition: background 0.4s, color 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.node:hover {
  color: var(--ink);
  border-color: rgba(239, 235, 247, 0.3);
}

.node.is-active {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
  box-shadow: 0 0 40px -4px var(--violet-glow);
}

/* Kodex */

.kodex {
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.rule {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.rule::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 100%;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease-out);
}

.rule:hover::after {
  transform: scaleX(1);
}

.rule-no {
  padding-top: 0.5em;
  font-size: 0.86rem;
  letter-spacing: 0.2em;
  color: var(--violet-soft);
}

.rule h3 {
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.rule .muted {
  max-width: 36em;
  margin-top: 12px;
  font-size: 1.05rem;
}

/* Profiles */

.profiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.profile {
  position: relative;
  padding: 0 0 28px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  transition: border-color 0.5s;
}

.profile:hover {
  border-color: rgba(123, 97, 255, 0.5);
}

.profile:nth-child(2) {
  transition-delay: 0.1s;
}

.profile:nth-child(3) {
  transition-delay: 0.2s;
}

.profile-portrait {
  position: relative;
  height: 280px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(60% 70% at 50% 40%, rgba(123, 97, 255, 0.5), rgba(123, 97, 255, 0.08) 60%, transparent 80%);
  transition: background 0.6s;
}

.profile-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 70% at 50% 40%, rgba(150, 128, 255, 0.85), rgba(123, 97, 255, 0.2) 60%, transparent 80%);
  opacity: 0;
  transition: opacity 0.6s;
}

.profile:hover .profile-portrait::before {
  opacity: 1;
}

.profile-portrait img {
  position: relative;
  height: 250px;
  width: auto;
  transform: translateY(18px);
  transition: transform 0.8s var(--ease-out);
}

.profile:hover .profile-portrait img {
  transform: translateY(6px);
}

.profile > :not(.profile-portrait) {
  padding-inline: 28px;
}

.profile-tag {
  margin-bottom: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-soft);
}

.profile h3 {
  font-size: 1.45rem;
}

.profile .muted {
  margin-top: 10px;
}

.profile-mission {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 24px 28px 0;
  padding: 16px 0 0 !important;
  border-top: 1px dashed var(--line);
  font-weight: 600;
}

.profile-mission .mono {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

/* Final */

.final {
  position: relative;
  padding: clamp(110px, 16vw, 190px) 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.final-glow {
  position: absolute;
  left: 50%;
  top: 38%;
  width: min(1000px, 160vw);
  aspect-ratio: 1;
  translate: -50% -50%;
  z-index: -1;
  background: radial-gradient(circle, rgba(123, 97, 255, 0.42), rgba(123, 97, 255, 0.08) 42%, transparent 66%);
}

.final-inner {
  display: grid;
  justify-items: center;
}

.final-lock {
  width: 124px;
  margin: 34px 0 40px;
  padding: 0;
  border: 0;
  background: none;
  transition: transform 0.5s var(--ease-out);
}

.final-lock:hover {
  transform: scale(1.05);
}

.final-lock:hover .bl-shackle {
  animation: jiggle 0.7s;
}

@keyframes jiggle {
  0%,
  100% {
    transform: none;
  }
  25% {
    transform: translateY(-6px);
  }
  45% {
    transform: translateY(0);
  }
  65% {
    transform: translateY(-3px);
  }
}

.final h2 {
  font-size: clamp(2.8rem, 8vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.final-sub {
  max-width: 30em;
  margin: 24px 0 36px;
  font-size: 1.1rem;
  color: var(--muted);
}

.final-fine {
  margin-top: 30px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(239, 235, 247, 0.5);
}

/* Footer */

.footer {
  padding: 30px 0 36px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.footer-big {
  font-size: min(8.4vw, 8.4rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(239, 235, 247, 0.14);
  margin: 10px 0 40px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 32px;
}

.wordmark-sm {
  font-size: 0.74rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-copy {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(239, 235, 247, 0.5);
}

/* Gate dialog */

.gate {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: hidden;
}

.gate::backdrop {
  background: rgba(3, 2, 5, 0.94);
  backdrop-filter: blur(6px);
}

.gate[open] {
  display: block;
}

.gate-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(10, 8, 16, 0.6);
  opacity: 0;
  transition: opacity 0.4s 0.2s, border-color 0.3s;
}

.gate-close:hover {
  border-color: rgba(239, 235, 247, 0.4);
}

.gate-close svg {
  width: 18px;
  height: 18px;
}

.gate-close path {
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.gate.s1 .gate-close {
  opacity: 1;
}

.gate-lock {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150px;
  translate: -50% -50%;
  display: grid;
  justify-items: center;
  gap: 26px;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s, transform 0.6s var(--ease-out);
}

.gate-lock .big-lock {
  width: 120px;
}

.gate-lock-text {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.gate.s1 .gate-lock {
  opacity: 1;
  transform: none;
}

.gate.s3 .gate-lock {
  opacity: 0;
  transform: scale(1.6);
  transition: opacity 0.6s 0.1s, transform 1s var(--ease);
}

.gate-pulse {
  position: absolute;
  left: 50%;
  top: 60px;
  width: 120px;
  height: 120px;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px solid var(--violet-soft);
  opacity: 0;
}

.gate.is-unlocked .gate-pulse {
  animation: pulse-out 1.1s var(--ease-out);
}

@keyframes pulse-out {
  from {
    opacity: 1;
    transform: scale(0.6);
  }
  to {
    opacity: 0;
    transform: scale(5);
  }
}

.gate-panel {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(123, 97, 255, 0.28), transparent 70%),
    var(--bg);
  clip-path: circle(0% at 50% 50%);
  visibility: hidden;
  transition: clip-path 1.1s var(--ease), visibility 0s 1.1s;
}

.gate.s3 .gate-panel {
  clip-path: circle(150% at 50% 50%);
  visibility: visible;
  transition: clip-path 1.1s var(--ease), visibility 0s;
}

.gate-inner {
  width: var(--wrap);
  min-height: 100%;
  margin-inline: auto;
  padding: 96px 0 56px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.gate-copy {
  position: sticky;
  top: 96px;
  padding-top: clamp(0px, 6vh, 64px);
}

.gate-copy > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.gate.s3 .gate-copy > * {
  opacity: 1;
  transform: none;
}

.gate.s3 .gate-copy > :nth-child(1) {
  transition-delay: 0.45s;
}
.gate.s3 .gate-copy > :nth-child(2) {
  transition-delay: 0.55s;
}
.gate.s3 .gate-copy > :nth-child(3) {
  transition-delay: 0.65s;
}
.gate.s3 .gate-copy > :nth-child(4) {
  transition-delay: 0.75s;
}

.gate-copy .label {
  margin-bottom: 18px;
}

.gate-copy h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  letter-spacing: -0.045em;
}

.gate-copy .muted {
  max-width: 30em;
  margin-top: 22px;
  font-size: 1.05rem;
}

.gate-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gate-meta dt {
  color: var(--muted);
  margin-bottom: 6px;
}

.gate-meta dd {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gate-form-wrap {
  position: relative;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line);
  background: rgba(12, 10, 18, 0.8);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s 0.6s var(--ease-out), transform 0.9s 0.6s var(--ease-out);
}

.gate.s3 .gate-form-wrap {
  opacity: 1;
  transform: none;
}

.stripe-box {
  position: relative;
}

.join-form {
  display: grid;
  gap: 1.15rem;
}

.join-stand {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.join-stand legend {
  grid-column: 1 / -1;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.stand-option {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 100%;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.stand-option:hover {
  border-color: color-mix(in srgb, var(--violet-soft) 55%, var(--line));
}

.stand-option:has(input:checked) {
  border-color: var(--violet-soft);
  background: color-mix(in srgb, var(--violet-soft) 12%, transparent);
}

.stand-option input {
  margin: 0;
  accent-color: var(--violet-soft);
  align-self: flex-start;
}

.stand-option span {
  display: grid;
  gap: 0.25rem;
}

.stand-option strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stand-option small {
  display: block;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted);
}

.join-note {
  display: grid;
  gap: 0.45rem;
}

.join-note span,
.join-field span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.join-note em,
.join-field em {
  font-style: normal;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.join-extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.join-field {
  display: grid;
  gap: 0.45rem;
}

.join-field input,
.join-note textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.45;
}

.join-note textarea {
  resize: vertical;
  min-height: 4.5rem;
}

.join-field input:focus,
.join-note textarea:focus {
  outline: 2px solid var(--violet-soft);
  outline-offset: 2px;
}

.stripe-price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.stripe-price strong {
  font-family: var(--sans, inherit);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--ink);
  font-weight: 600;
}

.stripe-price-note {
  margin: 0;
  font-size: 0.9rem;
}

.stripe-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

.stripe-note a {
  color: var(--ink);
}

.stripe-error,
.stripe-unavailable,
.stripe-need-form {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 143, 163, 0.4);
  border-radius: 10px;
  font-size: 0.9rem;
  color: #ffb3c1;
}

.stripe-unavailable,
.stripe-need-form {
  border-color: rgba(123, 97, 255, 0.45);
  color: var(--ink);
}

.gate-success {
  padding: 20px 0;
}

.gate-success .label {
  margin-bottom: 16px;
}

.gate-success h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.gate-success .muted {
  margin-top: 16px;
}

.gate-success .text-link {
  margin-top: 22px;
}

.waitlist-view {
  display: grid;
  gap: 1rem;
}

.waitlist-view h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.035em;
}

.waitlist-view .gate-meta {
  margin-top: 0;
}

html.is-locked {
  overflow: hidden;
}

/* Legal */

.legal-page .nav {
  animation: none;
}

.legal {
  padding: calc(var(--nav-h) + 64px) 0 100px;
}

.legal-inner {
  width: min(760px, calc(100% - 48px));
  margin-inline: auto;
}

.legal h1 {
  margin: 16px 0 36px;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
}

.legal h2 {
  margin: 40px 0 10px;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet-soft);
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal p + p {
  margin-top: 12px;
}

.legal ul {
  margin: 10px 0;
  padding-left: 1.2em;
}

.legal address {
  font-style: normal;
  color: var(--ink);
  line-height: 1.7;
}

.legal a {
  color: var(--ink);
}

/* Responsive */

@media (max-width: 1020px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 900px) {
  .dossier-grid,
  .circle-grid,
  .words-after,
  .gate-inner {
    grid-template-columns: 1fr;
  }

  .path {
    grid-template-columns: 1fr;
  }

  .path-aside {
    display: none;
  }

  .js .step {
    opacity: 1;
  }

  .step {
    min-height: 0;
    padding: 32px 0 32px 24px;
  }

  .step::before {
    transform: scaleY(1);
  }

  .profiles {
    grid-template-columns: 1fr;
  }

  .profile:nth-child(n) {
    transition-delay: 0s;
  }

  .circle-copy {
    order: 2;
  }

  .circle-detail {
    min-height: 0;
  }

  .orbit {
    order: 1;
  }

  .gate-inner {
    align-items: start;
    padding-top: 84px;
  }

  .gate-copy {
    position: static;
    padding-top: 0;
  }

  .join-stand {
    grid-template-columns: 1fr;
  }

  .stand-option {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .join-extra {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --wrap: calc(100% - 40px);
    --nav-h: 68px;
  }

  .nav {
    padding-inline: 20px;
  }

  .status {
    display: none;
  }

  .hero {
    min-height: max(100svh, 640px);
  }

  .hero-ring {
    top: calc(var(--nav-h) + 3svh);
    width: 118vw;
  }

  .agents {
    width: 102vw;
    bottom: 38%;
  }

  .hero-glow {
    top: 36%;
    width: 230vw;
  }

  .hero-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .hero-fog {
    height: 72%;
  }

  .hero-copy {
    bottom: 28px;
    width: calc(100% - 40px);
  }

  .hero-title {
    font-size: clamp(2.6rem, 13vw, 3.4rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hud {
    display: none;
  }

  .doc {
    padding: 28px 22px 80px;
    transform: rotate(0.8deg);
  }

  .doc-list li {
    font-size: 1.02rem;
  }

  .doc-final {
    font-size: 1.12rem;
  }

  .stamp {
    right: 16px;
    bottom: 22px;
    font-size: 0.66rem;
  }

  .rule {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 28px 0;
  }

  .rule-no {
    padding-top: 0;
  }

  .orbit {
    --size: calc(100vw - 150px);
  }

  .node {
    padding: 7px 12px;
    font-size: 0.78rem;
  }

  .gate-close {
    top: 12px;
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .ring-line {
    stroke-dashoffset: 0;
  }
}
