/* QuantumEdge Capital — public site design system */

:root {
  --ink-0: #050608;
  --ink-1: #0a0c10;
  --ink-2: #11141a;
  --ink-3: #191d25;
  --bone: #edeae2;
  --bone-2: rgba(237, 234, 226, 0.66);
  --bone-3: rgba(237, 234, 226, 0.42);
  --line: rgba(237, 234, 226, 0.1);
  --line-2: rgba(237, 234, 226, 0.18);
  --signal: #8fe3ff;
  --signal-2: #3fb6e6;
  --ember: #ffb36b;
  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-ui: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1440px;
  --header-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--ink-0);
  color: var(--bone);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--signal); color: var(--ink-0); }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}

.st-skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--bone);
  color: var(--ink-0);
  border-radius: 999px;
  font-weight: 600;
  transition: top 0.3s var(--ease-out);
}
.st-skip:focus { top: 16px; }

.st-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ─── Film grain + ambient light ─── */
.st-grain {
  pointer-events: none;
  position: fixed;
  inset: -50%;
  z-index: 90;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: st-grain 1.2s steps(6) infinite;
}
@keyframes st-grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ─── Type ─── */
.st-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-2);
}
.st-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.st-eyebrow--dot::before {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--signal);
  opacity: 1;
  box-shadow: 0 0 0 4px rgba(143, 227, 255, 0.14), 0 0 16px var(--signal);
  animation: st-pulse 2.4s var(--ease-io) infinite;
}
@keyframes st-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(143, 227, 255, 0.12), 0 0 12px var(--signal); }
  50% { box-shadow: 0 0 0 7px rgba(143, 227, 255, 0.04), 0 0 22px var(--signal); }
}

.st-display {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: clamp(44px, 8.4vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.st-display em, .st-h2 em, .st-h3 em, .st-serif {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.st-display em { color: var(--signal); }

.st-h2 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(34px, 5.2vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.st-h3 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.st-lead {
  margin: 0;
  max-width: 34em;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
  color: var(--bone-2);
}
.st-body { color: var(--bone-2); }
.st-mono { font-family: var(--font-mono); }

/* ─── Layout ─── */
.st-wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.st-section {
  position: relative;
  padding: clamp(96px, 14vw, 200px) 0;
}
.st-rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ─── Header ─── */
.st-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--header-h);
  transition: transform 0.6s var(--ease-out), background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.st-header.is-scrolled {
  background: rgba(5, 6, 8, 0.62);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
}
.st-header.is-hidden { transform: translateY(-100%); }
.st-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.st-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 17px;
  position: relative;
  z-index: 2;
}
.st-brand__mark {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 10px rgba(143, 227, 255, 0.35));
  animation: st-spin 40s linear infinite;
}
@keyframes st-spin { to { transform: rotate(360deg); } }
.st-brand__word b { font-weight: 600; }
.st-brand__word span { color: var(--bone-3); font-weight: 400; }

.st-nav {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 12, 16, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.st-nav a {
  position: relative;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--bone-2);
  transition: color 0.3s ease, background 0.3s ease;
}
.st-nav a:hover { color: var(--bone); background: rgba(237, 234, 226, 0.06); }
.st-nav a[aria-current="page"] { color: var(--ink-0); background: var(--bone); }

.st-header__end { display: flex; align-items: center; gap: 10px; position: relative; z-index: 2; }
.st-btn.st-header__cta { display: none; }
@media (min-width: 560px) { .st-btn.st-header__cta { display: inline-flex; } }

.st-burger {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(10, 12, 16, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.st-burger span {
  position: absolute;
  width: 18px;
  height: 1.5px;
  background: var(--bone);
  transition: transform 0.5s var(--ease-out), opacity 0.3s ease;
}
.st-burger span:nth-child(1) { transform: translateY(-4px); }
.st-burger span:nth-child(2) { transform: translateY(4px); }
.st-burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.st-burger[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .st-nav { display: inline-flex; }
  .st-burger { display: none; }
}

/* Mobile menu */
.st-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--ink-1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.8s var(--ease-io), visibility 0s linear 0.8s;
}
.st-menu.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.8s var(--ease-io), visibility 0s;
}
.st-menu__list { list-style: none; margin: 0; padding: 0; }
.st-menu__list li { overflow: hidden; border-top: 1px solid var(--line); }
.st-menu__list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  font-size: clamp(34px, 9vw, 64px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease-out);
}
.st-menu__list a small {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--bone-3);
}
.st-menu__list a[aria-current="page"] { color: var(--signal); }
.st-menu.is-open .st-menu__list a { transform: none; }
.st-menu.is-open .st-menu__list li:nth-child(2) a { transition-delay: 0.05s; }
.st-menu.is-open .st-menu__list li:nth-child(3) a { transition-delay: 0.1s; }
.st-menu.is-open .st-menu__list li:nth-child(4) a { transition-delay: 0.15s; }
.st-menu.is-open .st-menu__list li:nth-child(5) a { transition-delay: 0.2s; }
.st-menu__foot {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  transition: opacity 0.6s ease 0.3s;
}
.st-menu.is-open .st-menu__foot { opacity: 1; }
body.st-menu-open { overflow: hidden; }

/* ─── Buttons ─── */
.st-btn {
  --btn-bg: var(--bone);
  --btn-fg: var(--ink-0);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 54px;
  padding: 0 10px 0 26px;
  border-radius: 999px;
  border: 0;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease-out);
  will-change: transform;
}
.st-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--signal);
  border-radius: inherit;
  clip-path: circle(0% at var(--bx, 50%) var(--by, 110%));
  transition: clip-path 0.7s var(--ease-out);
}
.st-btn:hover::before { clip-path: circle(150% at var(--bx, 50%) var(--by, 110%)); }
.st-btn__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink-0);
  color: var(--bone);
  transition: transform 0.6s var(--ease-out);
}
.st-btn:hover .st-btn__icon { transform: rotate(-45deg); }
.st-btn__icon svg { width: 14px; height: 14px; }
.st-btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--bone);
  padding: 0 24px;
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.st-btn--ghost::before { background: rgba(237, 234, 226, 0.08); }
.st-btn--sm { height: 44px; padding: 0 8px 0 20px; font-size: 14px; }
.st-btn--sm .st-btn__icon { width: 30px; height: 30px; }
.st-btn--sm.st-btn--ghost { padding: 0 20px; }

.st-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.st-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.6s var(--ease-out);
}
.st-link:hover::after { transform-origin: left; transform: scaleX(1); }

/* ─── Hero ─── */
.st-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 40px) 0 clamp(28px, 4vw, 48px);
  overflow: hidden;
  isolation: isolate;
}
.st-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.st-hero__media img {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  max-width: none;
  object-fit: cover;
  object-position: 70% 50%;
  transform-origin: 68% 50%;
  animation: st-kenburns 22s var(--ease-io) infinite alternate;
}
@keyframes st-kenburns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}
.st-hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.9;
}
.st-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.92) 0%, rgba(5, 6, 8, 0.55) 40%, rgba(5, 6, 8, 0) 70%),
    linear-gradient(0deg, var(--ink-0) 0%, rgba(5, 6, 8, 0) 38%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.7) 0%, rgba(5, 6, 8, 0) 22%);
}
.st-hero__content { position: relative; will-change: transform, opacity; }
.st-hero__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(28px, 5vw, 56px);
}
.st-hero__title { max-width: 12ch; }
.st-hero__title .st-line { display: block; }
.st-hero__bottom {
  margin-top: clamp(32px, 5vw, 64px);
  display: grid;
  gap: 28px;
  align-items: end;
}
.st-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.st-hero__meta {
  margin-top: clamp(40px, 7vw, 88px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-3);
}
.st-hero__meta span { display: inline-flex; gap: 10px; align-items: center; }
.st-scrollcue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.st-scrollcue i {
  position: relative;
  width: 1px;
  height: 28px;
  background: var(--line-2);
  overflow: hidden;
}
.st-scrollcue i::after {
  content: "";
  position: absolute;
  left: 0; top: -50%;
  width: 1px; height: 50%;
  background: var(--signal);
  animation: st-cue 1.8s var(--ease-io) infinite;
}
@keyframes st-cue { to { top: 110%; } }

@media (min-width: 900px) {
  .st-hero__bottom { grid-template-columns: minmax(0, 1fr) auto; }
}

/* ─── Marquee ─── */
.st-marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.st-marquee__track {
  display: flex;
  width: max-content;
  animation: st-marquee 42s linear infinite;
}
.st-marquee:hover .st-marquee__track { animation-play-state: paused; }
.st-marquee.is-js { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.st-marquee.is-js.is-drag { cursor: grabbing; }
.st-marquee.is-js .st-marquee__track { animation: none; will-change: transform; }
.st-marquee__group {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.st-marquee__group em { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--bone-2); }
.st-marquee__group i {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid var(--signal);
  flex: none;
}
@keyframes st-marquee { to { transform: translateX(-50%); } }

/* ─── Manifesto (scroll-scrubbed words) ─── */
.st-manifesto__grid {
  display: grid;
  gap: 40px;
}
.st-manifesto__text {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.st-manifesto__text .st-w {
  opacity: 0.16;
  transition: opacity 0.35s linear;
}
.st-manifesto__text .st-w.is-lit { opacity: 1; }
.st-manifesto__text em { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--signal); }
@media (min-width: 1024px) {
  .st-manifesto__grid { grid-template-columns: 3fr 9fr; }
}

/* ─── Figures ─── */
.st-figures {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.st-figure {
  position: relative;
  padding: 36px 0 40px;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
}
.st-figure__num {
  font-size: clamp(56px, 7vw, 112px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.st-figure__num sup, .st-figure__num small {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.45em;
  letter-spacing: 0;
  color: var(--signal);
  vertical-align: top;
  margin-left: 4px;
}
.st-figure__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-3);
}
.st-figure p { margin: 0; color: var(--bone-2); max-width: 26em; font-size: 15px; }
@media (min-width: 720px) {
  .st-figures { grid-template-columns: repeat(2, 1fr); }
  .st-figure { padding: 40px 32px 44px 0; }
  .st-figure:nth-child(odd) { border-right: 1px solid var(--line); }
  .st-figure:nth-child(even) { padding-left: 32px; }
}
@media (min-width: 1200px) {
  .st-figures { grid-template-columns: repeat(4, 1fr); }
  .st-figure { border-right: 1px solid var(--line); padding: 44px 28px 48px; }
  .st-figure:first-child { padding-left: 0; }
  .st-figure:last-child { border-right: 0; }
  .st-figure:nth-child(even) { padding-left: 28px; }
}

/* ─── Horizontal camera pan ─── */
.st-pan { position: relative; }
.st-pan__sticky {
  position: relative;
  overflow: hidden;
}
.st-pan__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.st-pan__progress {
  width: 160px;
  height: 1px;
  background: var(--line-2);
  position: relative;
  overflow: hidden;
}
.st-pan__progress i {
  position: absolute;
  inset: 0;
  background: var(--signal);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}
.st-pan__track {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.st-pan__track::-webkit-scrollbar { display: none; }
.st-panel {
  position: relative;
  flex: 0 0 86%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ink-1);
  border: 1px solid var(--line);
  isolation: isolate;
}
.st-panel__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.st-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 1.4s var(--ease-out), filter 0.8s ease;
}
.st-panel:hover .st-panel__media img { transform: scale(1.04); }
.st-panel__body {
  padding: 28px clamp(22px, 2.4vw, 36px) 32px;
  display: grid;
  gap: 16px;
  flex: 1;
  align-content: start;
}
.st-panel__index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--signal);
}
.st-panel__body p { margin: 0; color: var(--bone-2); font-size: 16px; }
.st-panel__cta { margin-top: auto; padding-top: 12px; }

@media (min-width: 720px) { .st-panel { flex-basis: 58%; } }

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .st-pan.is-pinned { height: var(--pan-h, 300vh); }
  .st-pan.is-pinned .st-pan__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .st-pan.is-pinned .st-pan__track {
    overflow: visible;
    scroll-snap-type: none;
    will-change: transform;
    padding-left: var(--gutter);
  }
  .st-pan.is-pinned .st-panel { flex: 0 0 min(46vw, 680px); flex-direction: row; min-height: min(62vh, 560px); will-change: transform; }
  .st-pan.is-pinned .st-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: var(--ink-0);
    opacity: var(--dim, 0);
  }
  .st-pan.is-pinned .st-pan__track { cursor: grab; user-select: none; -webkit-user-select: none; }
  .st-pan.is-drag .st-pan__track { cursor: grabbing; }
  .st-pan.is-drag .st-panel a { pointer-events: none; }
  .st-pan.is-pinned .st-panel__media { aspect-ratio: auto; flex: 0 0 52%; }
  .st-pan.is-pinned .st-panel__body { align-content: end; padding: 36px; }
}

/* ─── Cinematic frame ─── */
.st-cine {
  position: relative;
  height: 180vh;
}
.st-cine__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.st-cine__frame {
  position: absolute;
  inset: 0;
  clip-path: inset(var(--ci, 18%) var(--cx, 12%) round 8px);
  will-change: clip-path;
}
.st-cine__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(calc(var(--mx, 0) * -1.6%), calc(var(--my, 0) * -1.6%), 0) scale(var(--cs, 1.3));
  will-change: transform;
}
.st-cine__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(5, 6, 8, 0.1) 0%, rgba(5, 6, 8, 0.72) 100%);
}
.st-cine__copy {
  position: relative;
  z-index: 2;
  text-align: center;
  width: min(100%, 1100px);
  padding: 0 var(--gutter);
  text-shadow: 0 2px 40px rgba(5, 6, 8, 0.9);
  opacity: var(--co, 0);
  transform: translateY(calc((1 - var(--co, 0)) * 40px));
}
.st-cine__copy .st-h2 { max-width: 13ch; margin: 0 auto; }
.st-cine__copy::before {
  content: "";
  position: absolute;
  inset: -30% 10%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(5, 6, 8, 0.72), rgba(5, 6, 8, 0) 70%);
}
.st-cine__copy p {
  margin: 24px auto 0;
  max-width: 34em;
  color: var(--bone-2);
  font-size: clamp(15px, 1.2vw, 18px);
}
@media (prefers-reduced-motion: reduce) {
  .st-cine { height: auto; }
  .st-cine__sticky { position: relative; height: 80vh; }
  .st-cine__frame { clip-path: none; }
  .st-cine__frame img { transform: none; }
  .st-cine__copy { opacity: 1; transform: none; }
}

/* ─── Capabilities index list ─── */
.st-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.st-index__item {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.4s ease;
}
.st-index__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(143, 227, 255, 0.07), transparent 70%);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.8s var(--ease-out);
}
.st-index__item:hover::before { transform: scaleX(1); }
.st-index__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--bone-3);
  padding-top: 10px;
}
.st-index__title {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  transition: transform 0.7s var(--ease-out);
}
.st-index__item:hover .st-index__title { transform: translateX(12px); }
.st-index__desc {
  grid-column: 2;
  margin: 0;
  color: var(--bone-2);
  max-width: 36em;
  font-size: 16px;
}
@media (min-width: 1024px) {
  .st-index__item { grid-template-columns: 80px minmax(0, 1.2fr) minmax(0, 1fr); align-items: baseline; padding: 38px 0; }
  .st-index__desc { grid-column: 3; }
}

.st-preview {
  position: fixed;
  left: 0; top: 0;
  z-index: 60;
  width: 300px;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.8);
  transition: opacity 0.35s ease, transform 0.5s var(--ease-out);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.st-preview.is-on { opacity: 1; }
.st-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ─── CTA ─── */
.st-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(120px, 18vw, 260px) 0;
  text-align: center;
}
.st-cta__bg {
  position: absolute;
  inset: -10% 0;
  z-index: -1;
}
.st-cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.st-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--ink-0) 0%, rgba(5, 6, 8, 0.25) 35%, rgba(5, 6, 8, 0.25) 65%, var(--ink-0) 100%);
}
.st-cta .st-h2 { font-size: clamp(44px, 8vw, 132px); max-width: 12ch; margin: 22px auto 0; }
.st-cta__actions {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── Footer ─── */
.st-footer {
  position: relative;
  padding: 72px 0 calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.st-footer__grid {
  display: grid;
  gap: 40px;
  margin-bottom: 64px;
}
.st-footer__col h4 {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-3);
}
.st-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.st-footer__col a { color: var(--bone-2); transition: color 0.3s ease; }
.st-footer__col a:hover { color: var(--bone); }
.st-footer__word {
  display: block;
  font-size: clamp(64px, 17.5vw, 290px);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.06em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-2);
  margin: 0 0 28px;
  user-select: none;
  transition: -webkit-text-stroke-color 0.6s ease;
}
.st-footer__word:hover { -webkit-text-stroke-color: rgba(143, 227, 255, 0.5); }
.st-footer__base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--bone-3);
}
@media (min-width: 900px) {
  .st-footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* ─── Inner page hero ─── */
.st-phero {
  position: relative;
  padding: calc(var(--header-h) + clamp(56px, 10vw, 140px)) 0 clamp(48px, 7vw, 96px);
  overflow: hidden;
}
.st-phero > .st-wrap { position: relative; z-index: 1; }
.st-phero__orb {
  position: absolute;
  z-index: 0;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  right: -12vw;
  top: 4vh;
  width: min(70vw, 820px);
  aspect-ratio: 1;
  pointer-events: none;
}
.st-phero__orb::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(63, 182, 230, 0.22), rgba(63, 182, 230, 0) 68%);
  filter: blur(30px);
}
.st-phero__orb img {
  width: 100%;
  height: 100%;
  opacity: 0.7;
  mix-blend-mode: screen;
  animation: st-float 14s var(--ease-io) infinite alternate;
  rotate: calc(var(--mx, 0) * 14deg);
  translate: calc(var(--mx, 0) * -3%) calc(var(--my, 0) * -3%);
}
@keyframes st-float {
  from { transform: translate3d(0, -2%, 0) rotate(-5deg) scale(1); }
  to { transform: translate3d(-2%, 3%, 0) rotate(7deg) scale(1.05); }
}
@media (max-width: 719px) {
  .st-phero__orb { width: 120vw; right: -50vw; top: 2vh; }
  .st-phero__orb img { opacity: 0.4; }
}
.st-phero__crumbs {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.st-phero__title { max-width: 14ch; }
.st-phero__foot {
  margin-top: clamp(36px, 5vw, 64px);
  display: grid;
  gap: 24px;
  align-items: end;
}
@media (min-width: 900px) {
  .st-phero__foot { grid-template-columns: 1fr auto; }
}

.st-banner {
  position: relative;
  height: clamp(320px, 72vh, 780px);
  overflow: hidden;
  clip-path: inset(0 var(--gutter) round 6px);
}
.st-banner img {
  position: absolute;
  inset: -12% 0;
  width: 100%;
  height: 124%;
  max-width: none;
  object-fit: cover;
  will-change: transform;
}
.st-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 8, 0) 50%, rgba(5, 6, 8, 0.55) 100%);
}
.st-banner__tag {
  position: absolute;
  z-index: 2;
  left: calc(var(--gutter) + 24px);
  bottom: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-2);
}
.st-unit { text-transform: none; }

.st-duotone { filter: grayscale(1) contrast(1.12) brightness(0.82); }
.st-duo-wrap { position: relative; }
.st-duo-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(63, 182, 230, 0.55), rgba(5, 6, 8, 0.2) 60%, rgba(255, 179, 107, 0.25));
  mix-blend-mode: color;
  pointer-events: none;
}

/* Editorial body */
.st-editorial {
  display: grid;
  gap: 32px;
}
.st-editorial__aside {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-3);
}
.st-editorial__aside b { display: block; color: var(--signal); font-weight: 400; margin-bottom: 8px; }
.st-editorial__main > * + * { margin-top: 28px; }
.st-editorial__main .st-lead { font-size: clamp(22px, 2.3vw, 34px); line-height: 1.3; letter-spacing: -0.02em; color: var(--bone); max-width: 24em; }
.st-editorial__main .st-lead em { font-family: var(--font-display); font-style: italic; color: var(--signal); }
@media (min-width: 1024px) {
  .st-editorial { grid-template-columns: 3fr 9fr; gap: 48px; }
  .st-editorial__aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}

/* Next-page band */
.st-next {
  display: block;
  position: relative;
  padding: clamp(72px, 10vw, 150px) 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.st-next::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bone);
  transform: translateY(101%);
  transition: transform 0.9s var(--ease-io);
}
.st-next:hover::before { transform: none; }
.st-next:hover, .st-next:hover .st-eyebrow { color: var(--ink-0); }
.st-next__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.st-next__title {
  margin: 18px 0 0;
  font-size: clamp(44px, 9vw, 150px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.9;
}
.st-next__arrow {
  flex: none;
  width: clamp(64px, 9vw, 132px);
  height: clamp(64px, 9vw, 132px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  transition: transform 0.9s var(--ease-out);
}
.st-next:hover .st-next__arrow { transform: rotate(-45deg); }
.st-next__arrow svg { width: 32%; height: 32%; }

/* ─── Motion primitives ─── */
.st-reveal {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.st-reveal.is-in { opacity: 1; transform: none; }

.st-split .st-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}
.st-split .st-line > span {
  display: inline-block;
  transform: translate3d(0, 105%, 0) rotate(2deg);
  transform-origin: 0 100%;
  transition: transform 1.25s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms + var(--d, 0ms));
}
.st-split.is-in .st-line > span { transform: none; }

.st-clip > * {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.4s var(--ease-io);
}
.st-clip.is-in > * { clip-path: inset(0 0 0 0); }

.js .st-reveal, .js .st-split .st-line > span { will-change: transform; }
html:not(.js) .st-reveal { opacity: 1; transform: none; }
html:not(.js) .st-split .st-line > span { transform: none; }
html:not(.js) .st-clip > * { clip-path: none; }

/* Cursor follower (fine pointers only) */
.st-cursor {
  position: fixed;
  left: 0; top: 0;
  z-index: 95;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 1px solid rgba(237, 234, 226, 0.55);
  pointer-events: none;
  opacity: 0;
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), margin 0.4s var(--ease-out), background 0.4s ease, border-color 0.4s ease, opacity 0.3s ease;
  mix-blend-mode: difference;
}
.st-cursor.is-on { opacity: 1; }
.st-cursor.is-hover {
  width: 72px; height: 72px;
  margin: -36px 0 0 -36px;
  background: var(--bone);
  border-color: var(--bone);
}

/* Preloader */
.st-loader {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--ink-0);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--gutter);
  transition: clip-path 1.1s var(--ease-io);
  clip-path: inset(0 0 0 0);
}
.st-loader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.st-loader__top, .st-loader__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-3);
}
.st-loader__count {
  font-family: var(--font-ui);
  font-size: clamp(88px, 18vw, 260px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.8;
  color: var(--bone);
  font-variant-numeric: tabular-nums;
}
.st-loader__bar { height: 1px; background: var(--line); position: relative; margin-top: 18px; overflow: hidden; }
.st-loader__bar i { position: absolute; inset: 0; background: var(--signal); transform-origin: left; transform: scaleX(var(--lp, 0)); }
html.st-seen .st-loader { display: none; }
.st-loader__line {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 200px;
  transform: translateY(-50%);
  overflow: visible;
  pointer-events: none;
}
.st-loader__line path {
  fill: none;
  stroke: var(--signal);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px rgba(143, 227, 255, 0.8));
  transition: stroke 0.3s ease, stroke-width 0.3s ease;
}
.st-loader.is-flat .st-loader__line path { stroke: #fff; stroke-width: 2; }
.st-loader.is-top, .st-loader.is-bottom { transition: transform 1.15s var(--ease-io); }
.st-loader.is-top { clip-path: inset(0 0 50% 0); }
.st-loader.is-bottom { clip-path: inset(50% 0 0 0); }
.st-loader.is-top.is-split { transform: translate3d(0, -52%, 0); }
.st-loader.is-bottom.is-split { transform: translate3d(0, 52%, 0); }

/* ─── Signature interactions ─── */

/* One line through the homepage */
.st-spine {
  position: fixed;
  inset: 0;
  z-index: 40;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Letters that lean toward the cursor */
.st-wd { display: inline-block; white-space: nowrap; }
.st-ch {
  display: inline-block;
  transform: translate3d(0, calc(var(--f, 0) * -0.08em), 0) skewX(calc(var(--f, 0) * -9deg));
  transition: transform 0.6s var(--ease-out), color 0.6s ease, -webkit-text-stroke-color 0.6s ease;
}
.st-hero__title .st-ch, .st-phero__title .st-ch {
  color: color-mix(in srgb, var(--signal) calc(var(--f, 0) * 100%), currentColor);
}
/* Scroll away and the headline comes apart letter by letter. */
.st-hero__title .st-ch {
  transform:
    translate3d(calc(var(--dx, 0) * var(--hp, 0) * 1em), calc(var(--f, 0) * -0.08em + var(--dy, 0) * var(--hp, 0) * 1em), 0)
    rotate(calc(var(--dr, 0) * var(--hp, 0) * 1deg))
    skewX(calc(var(--f, 0) * -9deg));
  opacity: calc(1 - var(--hp, 0) * var(--do, 1));
  transition: transform 0.45s var(--ease-out), color 0.6s ease;
}
.st-hero__title.is-scatter .st-line { overflow: visible; }
/* Decode: a market glyph sits over each letter until it locks in. */
.st-ch.is-scr { position: relative; color: transparent !important; }
.st-ch.is-scr::after {
  content: attr(data-g);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 400;
  font-size: 0.62em;
  letter-spacing: 0;
  color: var(--signal);
  text-shadow: 0 0 18px rgba(143, 227, 255, 0.7);
}
.st-ch.is-lock { animation: st-lock 0.7s var(--ease-out); }
@keyframes st-lock { from { color: var(--signal); text-shadow: 0 0 24px rgba(143, 227, 255, 0.8); } }

.st-footer__word .st-ch {
  color: rgba(143, 227, 255, calc(var(--f, 0) * 0.28 + var(--pg, 0)));
  -webkit-text-stroke-color: color-mix(in srgb, var(--signal) calc(min(1, var(--f, 0) + var(--pg, 0) * 2) * 100%), rgba(237, 234, 226, 0.18));
  transform: translate3d(var(--px, 0px), calc(var(--py, 0px) + var(--f, 0) * -0.08em), 0) rotate(var(--pr, 0deg)) skewX(calc(var(--f, 0) * -9deg));
}
.js .st-footer__word[data-cursor] { cursor: grab; touch-action: none; }
.st-footer__word.is-pluck { cursor: grabbing; }
.st-footer__word.is-pluck .st-ch { transition: color 0.3s ease, -webkit-text-stroke-color 0.3s ease; }

/* Colour lens over duotone images */
.st-duo-lens {
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease, transform 1.4s var(--ease-out);
  -webkit-mask-image: radial-gradient(circle 170px at var(--lx, 50%) var(--ly, 50%), #000 45%, transparent 100%);
  mask-image: radial-gradient(circle 170px at var(--lx, 50%) var(--ly, 50%), #000 45%, transparent 100%);
}
.st-panel__media .st-duo-lens { position: absolute; inset: 0; }
.st-duo-wrap.is-lens .st-duo-lens { opacity: 1; }

/* Cursor labels */
.st-cursor__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-0);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.st-cursor.is-label {
  width: 84px; height: 84px;
  margin: -42px 0 0 -42px;
  background: var(--signal);
  border-color: var(--signal);
  mix-blend-mode: normal;
}
.st-cursor.is-label .st-cursor__label { opacity: 1; transition-delay: 0.1s; }

/* Footer ticker (the game's front door) */
.st-footer__end { display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.st-ticker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--bone-3);
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.st-ticker:hover { border-color: rgba(143, 227, 255, 0.45); color: var(--bone); background: rgba(143, 227, 255, 0.05); }
.st-ticker i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 10px var(--signal);
  animation: st-blink 1.2s steps(2, jump-none) infinite;
}
@keyframes st-blink { 50% { opacity: 0.2; } }
.st-ticker__sym { color: var(--bone-2); }
.st-ticker__chg { color: var(--signal); }
.st-ticker.is-down .st-ticker__chg { color: var(--ember); }
.st-ticker.is-tick .st-ticker__px { animation: st-tick 0.6s ease; }
@keyframes st-tick { from { color: var(--bone); } }

/* Hint that appears after playing with the hero field */
.st-hint {
  position: fixed;
  z-index: 85;
  transform: translate(-50%, -100%) translateY(10px);
  opacity: 0;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(143, 227, 255, 0.4);
  background: rgba(10, 12, 16, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--bone-2);
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.5s ease, transform 0.7s var(--ease-out);
}
.st-hint b { color: var(--signal); font-weight: 600; }
.st-hint.is-on { opacity: 1; transform: translate(-50%, -100%); }

.st-cta__bg { translate: calc(var(--mx, 0) * -1.2%) calc(var(--my, 0) * -1.2%); }

/* ─── Hero charge readout ─── */
.st-hero { -webkit-touch-callout: none; }
.st-hero.is-charging { user-select: none; -webkit-user-select: none; }
.st-charge {
  position: absolute;
  left: 0; top: 0;
  z-index: 3;
  display: grid;
  gap: 4px;
  max-width: 240px;
  padding: 12px 14px;
  border-left: 1px solid var(--signal);
  background: linear-gradient(90deg, rgba(5, 6, 8, 0.72), rgba(5, 6, 8, 0));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.st-charge.is-on { opacity: 1; }
.st-charge b {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--bone);
  font-variant-numeric: tabular-nums;
}
.st-charge span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--signal);
}
.st-charge.is-done b { color: var(--signal); }

/* ─── Reflex: your reaction vs 1.5 μs ─── */
.st-reflex__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.st-reflex__head .st-h2 { margin-top: 18px; }
.st-reflex__best { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-3); }
.st-reflex__best b { color: var(--signal); font-weight: 500; }
.st-reflex__pad {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(280px, 46vh, 460px);
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: radial-gradient(120% 90% at 85% 50%, rgba(63, 182, 230, 0.1), rgba(5, 6, 8, 0) 60%), var(--ink-1);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.st-reflex__pad:hover { border-color: rgba(143, 227, 255, 0.4); }
.st-reflex__pad canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.st-reflex__label {
  position: absolute;
  left: clamp(20px, 3vw, 36px);
  bottom: clamp(20px, 3vw, 32px);
  right: 20px;
  display: grid;
  gap: 8px;
  pointer-events: none;
}
.st-reflex__state {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}
.st-reflex__hint { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-2); min-height: 1.4em; }
.st-reflex__tag {
  position: absolute;
  top: clamp(18px, 2.4vw, 28px);
  left: clamp(20px, 3vw, 36px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-3);
  pointer-events: none;
}
.st-reflex__tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px var(--signal); animation: st-blink 1.2s steps(2, jump-none) infinite; }
.st-reflex__pad[data-mode="wait"] { border-color: rgba(237, 234, 226, 0.3); }
.st-reflex__pad[data-mode="wait"] .st-reflex__state { color: var(--bone-2); }
.st-reflex__pad[data-mode="go"] {
  border-color: var(--signal);
  box-shadow: 0 0 0 1px var(--signal), 0 0 80px rgba(143, 227, 255, 0.35), inset 0 0 120px rgba(143, 227, 255, 0.18);
  transition: none;
}
.st-reflex__pad[data-mode="go"] .st-reflex__state { color: var(--signal); }
.st-reflex__pad[data-mode="early"] { border-color: var(--ember); }
.st-reflex__pad[data-mode="early"] .st-reflex__state { color: var(--ember); }
.st-reflex__pad[data-mode="done"] .st-reflex__state { color: var(--bone); }
.st-reflex__out {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 28px;
}
.st-reflex__out > div { padding: 20px 0; display: grid; gap: 8px; border-bottom: 1px solid var(--line); }
.st-reflex__out span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-3); }
.st-reflex__out b { font-size: clamp(24px, 2.6vw, 38px); font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.st-reflex__out > div:nth-child(2) b { color: var(--signal); }
.st-reflex__msg { margin: 22px 0 0; color: var(--bone-2); max-width: 44em; min-height: 1.6em; }
@media (min-width: 900px) {
  .st-reflex__out { grid-template-columns: repeat(4, 1fr); }
  .st-reflex__out > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 899px) {
  .st-reflex__out > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
}

/* ─── Chapter rail ─── */
.st-rail { display: none; }
@media (min-width: 1200px) and (hover: hover) {
  .st-rail {
    position: fixed;
    right: 18px;
    top: 50%;
    z-index: 75;
    display: grid;
    gap: 2px;
    transform: translate3d(12px, -50%, 0);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.7s var(--ease-out);
  }
  .st-rail.is-shown { opacity: 1; transform: translate3d(0, -50%, 0); pointer-events: auto; }
  .st-rail a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    height: 22px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bone-3);
  }
  .st-rail i { width: 14px; height: 1px; background: currentColor; opacity: 0.55; transition: width 0.5s var(--ease-out), background 0.3s ease, opacity 0.3s ease; }
  .st-rail span {
    display: inline-flex;
    gap: 8px;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(5, 6, 8, 0.7);
    opacity: 0;
    transform: translate3d(8px, 0, 0);
    transition: opacity 0.35s ease, transform 0.5s var(--ease-out), color 0.3s ease;
  }
  .st-rail small { font-size: inherit; color: var(--signal); }
  .st-rail a.is-on { color: var(--bone); }
  .st-rail a.is-on i { width: 30px; background: var(--signal); opacity: 1; }
  .st-rail.is-moving a.is-on span, .st-rail:hover span, .st-rail:focus-within span { opacity: 1; transform: none; }
  .st-rail:hover a:not(.is-on) span { color: var(--bone-2); }
  .st-rail a:hover i { width: 24px; opacity: 1; }
}

/* ─── Signals ─── */
.st-signals { position: relative; display: inline-flex; }
.st-signals__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--bone-3);
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.st-signals__chip:hover, .st-signals__chip[aria-expanded="true"] { border-color: rgba(143, 227, 255, 0.45); color: var(--bone); }
.st-signals__chip.is-all { color: var(--signal); border-color: rgba(143, 227, 255, 0.45); }
.st-signals__dots { display: inline-flex; gap: 3px; }
.st-signals__dots i { width: 5px; height: 5px; border-radius: 50%; border: 1px solid var(--bone-3); }
.st-signals__dots i.is-on { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 6px var(--signal); }
.st-signals__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  z-index: 5;
  width: min(320px, calc(100vw - 32px));
  padding: 18px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: rgba(10, 12, 16, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  font-size: 13px;
  color: var(--bone-2);
}
.st-signals__panel[hidden] { display: none; }
.st-signals__panel p { margin: 0 0 12px; }
.st-signals__panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.st-signals__panel li { display: grid; grid-template-columns: 10px 64px 1fr; gap: 10px; align-items: baseline; }
.st-signals__panel li i { width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--bone-3); transform: translateY(-1px); }
.st-signals__panel li.is-on i { background: var(--signal); border-color: var(--signal); }
.st-signals__panel li b { font-family: var(--font-mono); font-weight: 400; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-3); }
.st-signals__panel li.is-on b { color: var(--signal); }
.st-signals__panel li span { color: var(--bone-2); }
.st-signals__play {
  margin-top: 14px;
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--signal);
  color: var(--ink-0);
  font-weight: 600;
  cursor: pointer;
}
.st-signal {
  position: fixed;
  left: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 86;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 32px);
  padding: 10px 12px 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(143, 227, 255, 0.35);
  background: rgba(10, 12, 16, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 13px;
  color: var(--bone-2);
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.6s var(--ease-out);
}
.st-signal.is-on { opacity: 1; transform: none; pointer-events: auto; }
.st-signal b { color: var(--bone); font-weight: 600; }
.st-signal em { font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--signal); }
.st-signal button {
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--signal);
  color: var(--ink-0);
  font-weight: 600;
  font-size: 12.5px;
  cursor: pointer;
}

/* ─── Page curtain ─── */
html.st-arrive body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 160;
  background: var(--ink-1);
  animation: st-arrive-safety 0.01s linear 2.5s forwards;
}
@keyframes st-arrive-safety { to { visibility: hidden; } }
.st-curtain {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  background: var(--ink-1);
  transform: translate3d(0, 101%, 0);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.62s var(--ease-io), visibility 0s linear 0.62s;
}
.st-curtain::before, .st-curtain::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--signal);
  box-shadow: 0 0 18px var(--signal), 0 0 60px rgba(143, 227, 255, 0.5);
}
.st-curtain::before { top: 0; }
.st-curtain::after { bottom: 0; }
.st-curtain.is-cover { transform: none; visibility: visible; pointer-events: auto; transition: transform 0.62s var(--ease-io), visibility 0s; }
.st-curtain.is-lift { transform: translate3d(0, -101%, 0); visibility: visible; transition: transform 1s var(--ease-io), visibility 0s linear 1s; }
.st-curtain.is-instant { transition: none; }
.st-curtain__label { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 0 var(--gutter); }
.st-curtain__label small { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.18em; color: var(--signal); }
.st-curtain__label span { font-size: clamp(40px, 7vw, 120px); font-weight: 500; letter-spacing: -0.045em; line-height: 0.95; }
.st-curtain.is-cover .st-curtain__label, .st-curtain.is-lift .st-curtain__label { animation: st-curtain-in 0.7s var(--ease-out) both; }
.st-curtain.is-lift .st-curtain__label { animation: st-curtain-out 0.6s var(--ease-io) both; }
@keyframes st-curtain-in { from { opacity: 0; transform: translate3d(0, 30px, 0); } }
@keyframes st-curtain-out { to { opacity: 0; transform: translate3d(0, -40px, 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .st-loader { display: none; }
  .st-grain { display: none; }
  .st-reveal, .st-split .st-line > span, .st-clip > * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .st-manifesto__text .st-w { opacity: 1; }
  .st-spine, .st-duo-lens, .st-hint, .st-charge { display: none; }
  html.st-arrive body::before { display: none; }
  .st-ch.is-scr { color: inherit !important; }
  .st-ch.is-scr::after { display: none; }
}

@media (hover: none) {
  .st-cursor, .st-preview { display: none; }
}
@media (max-width: 719px) {
  .st-signal { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); border-radius: 14px; }
  .st-signals__panel { right: auto; left: 0; }
  .st-charge { max-width: 200px; }
  .st-charge b { font-size: 18px; }
}
