/* QuantumEdge Capital — public site design system */

:root {
  --ink-0: #05070d;
  --ink-1: #0a0e18;
  --ink-2: #101522;
  --ink-3: #171d2c;
  --bone: #f5efe2;
  --bone-2: rgba(245, 239, 226, 0.68);
  --bone-3: rgba(245, 239, 226, 0.44);
  --line: rgba(245, 239, 226, 0.1);
  --line-2: rgba(245, 239, 226, 0.2);
  --signal: #e8c47c;
  --signal-2: #c79a4a;
  --signal-soft: rgba(232, 196, 124, 0.14);
  --ember: #ffb36b;
  --gold-1: #f8e6b4;
  --gold-2: #e8c47c;
  --gold-3: #c79a4a;
  --gold-4: #8a6329;
  --sapphire: #4f8fe0;
  --emerald: #43b98a;
  --ruby: #d05f6a;
  --amethyst: #8f6ad6;
  --gold-grad: linear-gradient(105deg, #f8e6b4 0%, #e8c47c 38%, #c79a4a 62%, #f3d99f 100%);
  --glass: linear-gradient(160deg, rgba(248, 230, 180, 0.075), rgba(255, 255, 255, 0.018));
  --glass-strong: linear-gradient(160deg, rgba(248, 230, 180, 0.12), rgba(255, 255, 255, 0.03));
  --glow-gold: 0 0 0 1px rgba(232, 196, 124, 0.26), 0 26px 80px -36px rgba(232, 196, 124, 0.45);
  --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-color: var(--ink-0);
  background-image:
    radial-gradient(1100px 820px at 6% -10%, rgba(232, 196, 124, 0.14), transparent 62%),
    radial-gradient(1000px 760px at 104% 6%, rgba(79, 143, 224, 0.13), transparent 64%),
    radial-gradient(900px 720px at 46% 120%, rgba(143, 106, 214, 0.11), transparent 62%),
    linear-gradient(rgba(245, 239, 226, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 239, 226, 0.014) 1px, transparent 1px),
    linear-gradient(180deg, #060910 0%, var(--ink-0) 42%, #04060b 100%);
  background-size: auto, auto, auto, 72px 72px, 72px 72px, auto;
  background-attachment: fixed;
  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; }
}

/* ═══════════════════════════════════════════════════════════════════════
   GOLD MERIDIAN — brand layer
   Presentation only. No selectors, hooks, attributes or markup required by
   qe-studio.js are renamed or removed; every rule below is additive skin.
   ═══════════════════════════════════════════════════════════════════════ */

::selection { background: var(--gold-2); color: #171006; }

:focus-visible {
  outline-color: var(--gold-2);
  box-shadow: 0 0 0 6px rgba(232, 196, 124, 0.16);
}

/* ─── Header & navigation ─── */
.st-header.is-scrolled {
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.86), rgba(7, 10, 18, 0.58));
  border-bottom-color: rgba(232, 196, 124, 0.16);
  box-shadow: 0 24px 60px -40px rgba(0, 0, 0, 0.95);
}
.st-nav {
  border-color: rgba(232, 196, 124, 0.18);
  background: rgba(10, 14, 24, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.st-nav a { color: rgba(245, 239, 226, 0.62); }
.st-nav a:hover { color: var(--gold-1); background: rgba(232, 196, 124, 0.1); }
.st-nav a[aria-current="page"] {
  background: var(--gold-grad);
  color: #171006;
  box-shadow: 0 8px 26px -12px rgba(232, 196, 124, 0.8);
}
.st-brand__mark { filter: drop-shadow(0 0 12px rgba(232, 196, 124, 0.5)); }
.st-brand__word span { color: rgba(245, 239, 226, 0.5); }
.st-burger {
  border-color: rgba(232, 196, 124, 0.3);
  background: rgba(10, 14, 24, 0.55);
}
.st-menu {
  background:
    radial-gradient(900px 600px at 90% -10%, rgba(232, 196, 124, 0.12), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(79, 143, 224, 0.12), transparent 60%),
    var(--ink-1);
}
.st-menu__list a[aria-current="page"] { color: var(--gold-2); }

/* ─── Buttons ─── */
.st-btn {
  background: var(--gold-grad);
  color: #171006;
  box-shadow: 0 12px 34px -16px rgba(232, 196, 124, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.st-btn::before { background: linear-gradient(120deg, #fff3cd, #f0cd8a); }
.st-btn::after {
  content: "";
  position: absolute;
  inset: -60% -20%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.5) 50%, transparent 58%);
  transform: translateX(-65%) rotate(5deg);
  opacity: 0;
  transition: transform 1.1s var(--ease-out), opacity 0.45s ease;
}
.st-btn:hover::after { transform: translateX(65%) rotate(5deg); opacity: 0.5; }
.st-btn__icon {
  background: #120d06;
  color: var(--gold-1);
  box-shadow: inset 0 0 0 1px rgba(248, 230, 180, 0.22);
}
.st-btn--ghost {
  background: rgba(245, 239, 226, 0.035);
  color: var(--bone);
  box-shadow: inset 0 0 0 1px rgba(232, 196, 124, 0.28);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.st-btn--ghost::before { background: rgba(232, 196, 124, 0.16); }
.st-link { color: var(--gold-1); }

/* ─── Eyebrow dot / pulse ─── */
.st-eyebrow--dot::before {
  background: var(--gold-1);
  animation-name: qe-pulse-gold;
  box-shadow: 0 0 0 4px rgba(232, 196, 124, 0.16), 0 0 18px rgba(232, 196, 124, 0.9);
}
@keyframes qe-pulse-gold {
  0%, 100% { box-shadow: 0 0 0 3px rgba(232, 196, 124, 0.12), 0 0 12px var(--gold-2); }
  50% { box-shadow: 0 0 0 8px rgba(232, 196, 124, 0.04), 0 0 24px var(--gold-2); }
}

/* ─── Display emphasis: champagne gold, with a facet-like sheen ─── */
.st-display em,
.st-h2 em,
.st-h3 em,
.st-serif,
.st-manifesto__text em,
.st-editorial__main .st-lead em { color: var(--gold-2); }

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .st-display em,
  .st-h2 em,
  .st-h3 em,
  .st-serif,
  .st-manifesto__text em,
  .st-editorial__main .st-lead em {
    background: var(--gold-grad);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: qe-gold-drift 12s ease-in-out infinite alternate;
  }
  .st-display em .st-ch,
  .st-phero__title em .st-ch,
  .st-h2 em .st-ch {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
  .st-hero__title .st-ch { color: var(--bone); }
  .st-hero__title em .st-ch,
  .st-phero__title em .st-ch { color: transparent; }
}
@keyframes qe-gold-drift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

/* ─── Hero: jewel light over the sapphire sphere, gold horizon ─── */
.st-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 66% at 78% 36%, rgba(143, 106, 214, 0.26), transparent 62%),
    radial-gradient(46% 54% at 18% 82%, rgba(232, 196, 124, 0.18), transparent 66%),
    radial-gradient(40% 40% at 92% 78%, rgba(67, 185, 138, 0.12), transparent 70%);
  mix-blend-mode: screen;
  opacity: 0.7;
}
.st-hero::after {
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.94) 0%, rgba(5, 7, 13, 0.62) 40%, rgba(5, 7, 13, 0) 72%),
    linear-gradient(0deg, var(--ink-0) 0%, rgba(5, 7, 13, 0) 40%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.72) 0%, rgba(5, 7, 13, 0) 24%),
    radial-gradient(90% 80% at 4% 92%, rgba(232, 196, 124, 0.14), transparent 60%);
}
.st-hero__meta { border-top-color: rgba(232, 196, 124, 0.22); }
.st-scrollcue i::after { background: var(--gold-2); }
.st-charge { border-left-color: var(--gold-2); }
.st-charge span, .st-charge.is-done b { color: var(--gold-2); }

/* ─── Marquee ─── */
.st-marquee { border-color: rgba(232, 196, 124, 0.18); background: rgba(10, 14, 24, 0.35); }
.st-marquee__group em { color: rgba(232, 196, 124, 0.8); }
.st-marquee__group i { border-color: rgba(232, 196, 124, 0.7); transform: rotate(45deg); }
.st-marquee__group i:nth-of-type(2n) { border-color: rgba(79, 143, 224, 0.8); }
.st-marquee__group i:nth-of-type(3n) { border-color: rgba(143, 106, 214, 0.8); }
.st-marquee__group i:nth-of-type(4n) { border-color: rgba(67, 185, 138, 0.8); }

/* ─── Figures: frosted gold tiles ─── */
.st-figures { gap: 14px; border-top: 0; }
.st-figure {
  background: var(--glass);
  border: 1px solid rgba(245, 239, 226, 0.1);
  border-radius: 18px;
  padding: 28px 24px 30px;
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  transition: transform 0.7s var(--ease-out), border-color 0.4s ease, box-shadow 0.7s var(--ease-out);
}
.st-figure:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 196, 124, 0.4);
  box-shadow: var(--glow-gold);
}
.st-figure__num { color: var(--bone); }
.st-figure__num sup, .st-figure__num small { color: var(--gold-2); }
.st-figure__label { color: rgba(232, 196, 124, 0.72); }
@media (min-width: 720px) {
  .st-figure, .st-figure:nth-child(odd), .st-figure:nth-child(even) {
    border-right: 1px solid rgba(245, 239, 226, 0.1);
    padding: 30px 24px 32px;
  }
}
@media (min-width: 1200px) {
  .st-figure, .st-figure:first-child, .st-figure:last-child, .st-figure:nth-child(even) {
    border-right: 1px solid rgba(245, 239, 226, 0.1);
    padding: 32px 24px 34px;
  }
}

/* ─── Panels & duo images ─── */
.st-panel {
  border-radius: 20px;
  border-color: rgba(232, 196, 124, 0.18);
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: 0 50px 120px -70px rgba(0, 0, 0, 0.95);
  transition: border-color 0.45s ease, box-shadow 0.7s var(--ease-out);
}
.st-panel:hover { border-color: rgba(232, 196, 124, 0.42); box-shadow: var(--glow-gold); }
.st-panel__media { border-bottom: 1px solid rgba(232, 196, 124, 0.14); }
.st-panel__index { color: var(--gold-2); }
.st-duo-wrap::before {
  background: linear-gradient(135deg, rgba(232, 196, 124, 0.5), rgba(5, 7, 13, 0.18) 55%, rgba(143, 106, 214, 0.35));
}

/* ─── Cinematic frame ─── */
.st-cine__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(232, 196, 124, 0.32);
  border-radius: 8px;
  box-shadow: inset 0 0 80px rgba(232, 196, 124, 0.12);
}
.st-cine__frame::after {
  background: radial-gradient(ellipse at center, rgba(5, 7, 13, 0.08) 0%, rgba(5, 7, 13, 0.78) 100%);
}
.st-cine__copy .st-h2 em { color: var(--gold-2); }

/* ─── Capability index ─── */
.st-index__item::before {
  background: linear-gradient(90deg, rgba(232, 196, 124, 0.12), rgba(143, 106, 214, 0.05) 45%, transparent 75%);
}
.st-index__num { color: rgba(232, 196, 124, 0.6); }
.st-index__item:hover .st-index__num { color: var(--gold-2); }
.st-index__title { transition: transform 0.7s var(--ease-out), color 0.5s ease; }
.st-index__item:hover .st-index__title { color: var(--gold-1); }
.st-preview { border-radius: 14px; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(232, 196, 124, 0.25); }

/* ─── CTA ─── */
.st-cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 55% at 50% 62%, rgba(232, 196, 124, 0.24), transparent 70%),
    radial-gradient(40% 45% at 82% 30%, rgba(79, 143, 224, 0.16), transparent 70%);
  mix-blend-mode: screen;
}
.st-cta::after {
  background: linear-gradient(180deg, var(--ink-0) 0%, rgba(5, 7, 13, 0.3) 34%, rgba(5, 7, 13, 0.3) 66%, var(--ink-0) 100%);
}

/* ─── Footer ─── */
.st-footer { border-top-color: rgba(232, 196, 124, 0.16); }
.st-footer__col a:hover { color: var(--gold-1); }
.st-footer__word {
  -webkit-text-stroke-color: rgba(232, 196, 124, 0.26);
  transition: -webkit-text-stroke-color 0.6s ease, color 0.6s ease;
}
.st-footer__word:hover { -webkit-text-stroke-color: rgba(232, 196, 124, 0.65); }
.st-ticker {
  border-color: rgba(232, 196, 124, 0.2);
  color: rgba(245, 239, 226, 0.55);
}
.st-ticker:hover { border-color: rgba(232, 196, 124, 0.55); color: var(--bone); background: rgba(232, 196, 124, 0.06); }
.st-ticker i { background: var(--gold-1); box-shadow: 0 0 12px var(--gold-2); }
.st-ticker__chg { color: var(--gold-1); }
.st-ticker.is-down .st-ticker__chg { color: var(--ruby); }

/* ─── Reflex pad ─── */
.st-reflex__pad {
  background:
    radial-gradient(120% 90% at 85% 50%, rgba(232, 196, 124, 0.12), rgba(5, 7, 13, 0) 60%),
    radial-gradient(80% 80% at 10% 20%, rgba(79, 143, 224, 0.12), transparent 65%),
    var(--ink-1);
  border-color: rgba(232, 196, 124, 0.22);
  border-radius: 18px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.st-reflex__pad:hover { border-color: rgba(232, 196, 124, 0.5); }
.st-reflex__pad[data-mode="go"] {
  border-color: var(--gold-2);
  box-shadow: 0 0 0 1px var(--gold-2), 0 0 90px rgba(232, 196, 124, 0.35), inset 0 0 140px rgba(232, 196, 124, 0.16);
}
.st-reflex__pad[data-mode="go"] .st-reflex__state { color: var(--gold-1); }
.st-reflex__tag i { background: var(--gold-1); box-shadow: 0 0 10px var(--gold-2); }
.st-reflex__out > div:nth-child(2) b { color: var(--gold-1); }

/* ─── Inner pages ─── */
.st-phero__orb::before {
  background: radial-gradient(circle at 40% 40%, rgba(232, 196, 124, 0.22), rgba(143, 106, 214, 0.08) 45%, transparent 68%);
}
.st-phero__crumbs { color: rgba(245, 239, 226, 0.55); }
.st-banner { border-radius: 16px; overflow: hidden; }
.st-banner::after { background: linear-gradient(180deg, rgba(5, 7, 13, 0) 45%, rgba(5, 7, 13, 0.72) 100%); }
.st-editorial__aside b { color: var(--gold-2); }
.st-editorial__main .st-lead em { color: var(--gold-2); }
.st-next::before { background: var(--gold-grad); }
.st-next:hover, .st-next:hover .st-eyebrow { color: #171006; }
.st-next__arrow { border-color: rgba(232, 196, 124, 0.4); }

/* ─── Rail, chips, signals ─── */
.st-rail i { background: currentColor; }
.st-rail a.is-on { color: var(--bone); }
.st-rail a.is-on i { background: var(--gold-2); }
.st-rail small { color: var(--gold-2); }
.st-signals__chip:hover, .st-signals__chip[aria-expanded="true"] { border-color: rgba(232, 196, 124, 0.5); }
.st-signals__chip.is-all { color: var(--gold-2); border-color: rgba(232, 196, 124, 0.5); }
.st-signals__dots i.is-on { background: var(--gold-2); border-color: var(--gold-2); box-shadow: 0 0 6px var(--gold-2); }
.st-signals__panel { background: rgba(10, 14, 24, 0.95); border-color: rgba(232, 196, 124, 0.22); }
.st-signals__play { background: var(--gold-grad); color: #171006; }
.st-signal { border-color: rgba(232, 196, 124, 0.4); background: rgba(10, 14, 24, 0.92); }
.st-signal em { color: var(--gold-2); }
.st-signal button { background: var(--gold-grad); color: #171006; }

/* ─── Cursor & hints ─── */
.st-cursor { border-color: rgba(232, 196, 124, 0.65); }
.st-cursor.is-hover { background: var(--gold-2); border-color: var(--gold-2); }
.st-cursor.is-label { background: var(--gold-2); border-color: var(--gold-2); color: #171006; }
.st-hint { border-color: rgba(232, 196, 124, 0.45); background: rgba(10, 14, 24, 0.85); }
.st-hint b { color: var(--gold-2); }

/* ─── Loader & page curtain ─── */
.st-loader {
  background:
    radial-gradient(900px 620px at 70% -10%, rgba(232, 196, 124, 0.12), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(79, 143, 224, 0.1), transparent 60%),
    var(--ink-0);
}
.st-loader__bar i { background: var(--gold-grad); box-shadow: 0 0 18px rgba(232, 196, 124, 0.6); }
.st-loader__line path { stroke: var(--gold-2); filter: drop-shadow(0 0 6px rgba(232, 196, 124, 0.85)); }
.st-loader__count { color: var(--gold-3); }
.st-curtain { background: var(--ink-0); }
.st-curtain::before, .st-curtain::after {
  background: var(--gold-2);
  box-shadow: 0 0 18px var(--gold-2), 0 0 60px rgba(232, 196, 124, 0.5);
}
.st-curtain__label small { color: var(--gold-2); }

/* ─── Motion polish (non-essential) ─── */
.st-reveal { filter: blur(6px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out), filter 1.1s var(--ease-out); }
.st-reveal.is-in { filter: none; }

@media (prefers-reduced-motion: reduce) {
  .st-reveal { filter: none !important; }
  .st-btn::after { display: none; }
  .st-display em, .st-h2 em, .st-h3 em, .st-serif { animation: none; }
}

/* ─── Second pass: warmth, facets and ambient depth ─── */

/* Slow jewel aurora behind the hero, above the page wash and below the image */
.st-hero::before {
  content: "";
  position: absolute;
  inset: -25%;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: screen;
  background: conic-gradient(
    from 210deg at 68% 44%,
    rgba(232, 196, 124, 0.16),
    rgba(79, 143, 224, 0.12) 28%,
    rgba(143, 106, 214, 0.12) 52%,
    rgba(67, 185, 138, 0.08) 72%,
    rgba(232, 196, 124, 0.16) 100%
  );
  filter: blur(90px);
  opacity: 0.4;
  animation: qe-aurora 26s linear infinite;
}
@keyframes qe-aurora {
  to { transform: rotate(14deg) scale(1.06); }
}

/* Warm bronze imagery so imagery belongs to the gold system */
.st-duotone {
  filter: grayscale(0.45) sepia(0.3) saturate(1.06) contrast(1.04) brightness(0.88);
}
.st-panel__media img { filter: saturate(0.9) sepia(0.08); }

/* Gold hairline on every glass tile, with a tiny jewel node */
.st-figure { position: relative; overflow: hidden; }
.st-figure::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 196, 124, 0.6), transparent);
  opacity: 0.65;
  transition: opacity 0.5s ease;
}
.st-figure:hover::before { opacity: 1; }
.st-figure::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 10px rgba(232, 196, 124, 0.8);
  opacity: 0.55;
}
.st-figure:nth-child(2)::after { background: var(--sapphire); box-shadow: 0 0 10px rgba(79, 143, 224, 0.8); }
.st-figure:nth-child(3)::after { background: var(--emerald); box-shadow: 0 0 10px rgba(67, 185, 138, 0.8); }
.st-figure:nth-child(4)::after { background: var(--amethyst); box-shadow: 0 0 10px rgba(143, 106, 214, 0.8); }

/* Panels: gold corner brackets on hover (pure decoration, pointer-events none) */
.st-panel__media::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
  background:
    linear-gradient(var(--gold-2), var(--gold-2)) left top / 18px 1px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) left top / 1px 18px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) right bottom / 18px 1px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) right bottom / 1px 18px no-repeat;
}
.st-panel:hover .st-panel__media::after { opacity: 0.8; }

/* Eyebrow rule in gold, dot keeps its own pulse */
.st-eyebrow:not(.st-eyebrow--dot)::before {
  background: linear-gradient(90deg, rgba(232, 196, 124, 0.85), rgba(232, 196, 124, 0.12));
  opacity: 0.85;
}

/* Index rows get a gold edge on hover */
.st-index__item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold-grad);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s var(--ease-out);
}
.st-index__item:hover::after { transform: scaleY(1); }

/* Warmer edge on the cinematic frame and stronger footer stroke */
.st-cine__frame::before { border-color: rgba(232, 196, 124, 0.45); }
.st-footer__word { -webkit-text-stroke-color: rgba(232, 196, 124, 0.32); }
.st-footer__word:hover { -webkit-text-stroke-color: rgba(248, 230, 180, 0.7); }

/* Gentle lift on primary and ghost buttons */
.st-btn:hover { transform: translateY(-1px); }
.st-btn:active { transform: translateY(0) scale(0.995); }

@media (prefers-reduced-motion: reduce) {
  .st-hero::before { animation: none; }
  .st-panel__media::after, .st-figure::after { display: none; }
}

/* Keep the duotone wash with the image while a clip reveal is still closed */
.st-duo-wrap::before { transition: opacity 0.9s ease 0.25s; }
.st-clip:not(.is-in).st-duo-wrap::before,
.st-clip:not(.is-in) .st-duo-wrap::before { opacity: 0; }

/* Orbital meridian around the hero sphere + footer halo */
.st-hero__media::before {
  content: "";
  position: absolute;
  z-index: 2;
  right: -16%;
  top: 50%;
  width: min(82vw, 1180px);
  aspect-ratio: 1;
  transform: translateY(-50%) rotate(-14deg);
  border: 1px solid rgba(232, 196, 124, 0.16);
  border-radius: 50%;
  box-shadow: inset 0 0 120px rgba(232, 196, 124, 0.05);
  pointer-events: none;
}
.st-hero__media::before {
  border-top-color: rgba(248, 230, 180, 0.4);
  border-left-color: rgba(79, 143, 224, 0.22);
}
.st-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -30%;
  width: 90vw;
  height: 60vh;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(232, 196, 124, 0.12), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
@media (prefers-reduced-motion: reduce) {
  .st-hero__media::before { opacity: 0.6; }
}
.st-footer { isolation: isolate; }

/* qeair.ae wordmark logo (new brand lockup) */
.st-brand__logo {
  display: block;
  width: auto;
  height: 46px;
  max-width: 100%;
  mix-blend-mode: screen; /* supplied on a dark background */
}
@media (max-width: 559px) {
  .st-brand__logo { height: 34px; }
}
