/*
 * rc-site.css — www.rightcortex.io
 *
 * Tokens are lifted from rightcortex.css (the product's design system) so the
 * brand site and the app read as one thing. The one addition here is the split
 * palette: cyan = left hemisphere (record), violet = right hemisphere (meaning).
 * They only meet at CTAs and the hero seam — that's the brand story as colour.
 */

:root {
  --bg:      #07090c;
  --bg2:     #090d12;
  --card:    #0d1216;
  --card2:   #0a1015;
  --border:  #1a2530;
  --border2: #131c25;

  --cyan:    #00d4ff;
  --violet:  #a78bfa;

  --text:    #e8eef2;
  --silver:  #9eadb5;
  --muted:   #5a6a75;
  --dim:     #3a4a55;

  --font:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display: 'Space Grotesk', var(--font);
  --mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --serif:   'Instrument Serif', Georgia, serif;

  --nav-h:   64px;
  --gut:     clamp(20px, 5vw, 80px);
  --maxw:    1160px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); background: var(--bg); }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  /* transparent so the fixed #field canvas shows through the page gutters */
  background: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* the living backdrop — one fixed canvas behind every section */
#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

a { color: inherit; }
img, canvas, svg { display: block; max-width: 100%; }
em { font-style: italic; color: var(--text); }
strong { font-weight: 600; color: var(--text); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--cyan); color: #07090c; padding: 10px 16px; font-weight: 600;
}
.skip:focus { left: 8px; top: 8px; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ── scroll meridian ─────────────────────────────────────────── */
.meridian {
  position: fixed; left: 0; top: 0; bottom: 0; width: 2px; z-index: 60;
  background: linear-gradient(to bottom, var(--border2), transparent);
  pointer-events: none;
}
.meridian span {
  display: block; width: 100%; height: 0;
  background: linear-gradient(to bottom, var(--cyan), var(--violet));
  box-shadow: 0 0 12px rgba(0, 212, 255, .5);
}

/* ── nav ─────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gut);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.nav.is-stuck {
  background: rgba(7, 9, 12, .82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--border2);
}

.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 700; font-size: 18px;
  letter-spacing: -.02em; text-decoration: none; white-space: nowrap;
}
.brand .brand-txt span { color: var(--cyan); }

/* The real RightCortex mark (compact static build): steel left brain, cyan right. */
.rc-mark { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%; }

.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); text-decoration: none;
  padding: 8px 12px; border-radius: 6px; transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); background: rgba(255, 255, 255, .04); }

.nav-login {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em;
  text-decoration: none; color: var(--cyan);
  border: 1px solid rgba(0, 212, 255, .3); border-radius: 999px;
  padding: 7px 14px; white-space: nowrap; transition: background .2s, border-color .2s;
}
.nav-login:hover { background: rgba(0, 212, 255, .1); border-color: rgba(0, 212, 255, .6); }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; padding: 10px; flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--silver); transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ── hero ────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) var(--gut) 80px;
  overflow: hidden;
}
#brain { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 20%, rgba(7, 9, 12, .82) 78%),
    linear-gradient(to bottom, rgba(7, 9, 12, .5), transparent 22%, transparent 62%, var(--bg));
}

.hero-inner { position: relative; z-index: 3; width: 100%; max-width: var(--maxw); margin: 0 auto; }
.hero-copy { max-width: 640px; }

/* fade the Tron grid into the page bg at the hero's foot */
.hero-grid-fade {
  position: absolute; inset: auto 0 0 0; height: 42%; pointer-events: none; z-index: 1;
  background: linear-gradient(to bottom, transparent, var(--bg) 92%);
}

/* CRT scanlines — barely there, a touch of flicker */
.scanlines {
  position: absolute; inset: 0; pointer-events: none; z-index: 2; opacity: .5;
  background: repeating-linear-gradient(to bottom, rgba(0,212,255,.035) 0 1px, transparent 1px 3px);
  mix-blend-mode: screen; animation: flicker 5s steps(60) infinite;
}
@keyframes flicker { 0%,100%{opacity:.5} 48%{opacity:.42} 50%{opacity:.6} 52%{opacity:.45} }

/* HUD corner brackets — an L in each corner of the hero */
.hud-corner { position: absolute; width: 24px; height: 24px; z-index: 4; pointer-events: none; opacity: .5; border: 0 solid var(--cyan); box-shadow: 0 0 10px rgba(0,212,255,.35) inset; }
.hud-corner.tl { top: calc(var(--nav-h) + 14px); left: var(--gut); border-top-width: 1.5px; border-left-width: 1.5px; }
.hud-corner.tr { top: calc(var(--nav-h) + 14px); right: var(--gut); border-top-width: 1.5px; border-right-width: 1.5px; }
.hud-corner.bl { bottom: 22px; left: var(--gut); border-bottom-width: 1.5px; border-left-width: 1.5px; }
.hud-corner.br { bottom: 22px; right: var(--gut); border-bottom-width: 1.5px; border-right-width: 1.5px; }

.hud-readout { position: absolute; z-index: 4; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: rgba(0,212,255,.5); pointer-events: none; }
.hud-readout.trr { top: calc(var(--nav-h) + 12px); right: calc(var(--gut) + 40px); }
.hud-readout.brr { bottom: 20px; right: calc(var(--gut) + 40px); }
@media (max-width: 640px) { .hud-readout, .hud-corner.tr, .hud-corner.br { display: none; } }

/* unused-logo keyframes kept out; the animated SVG logo now lives only in nav/footer as a static mark */

.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  color: var(--muted); display: flex; align-items: center; gap: 9px; margin-bottom: 26px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #00ff87;
  box-shadow: 0 0 8px #00ff87; animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }

h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(32px, 5.4vw, 64px); line-height: 1.07;
  letter-spacing: -.035em; margin-bottom: 22px;
}
h1 .hl-logic { color: var(--cyan); }
h1 .hl-intu {
  background: linear-gradient(100deg, var(--cyan), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-sub {
  max-width: 620px; color: var(--silver); font-size: clamp(15px, 1.6vw, 18.5px);
  margin-bottom: 36px;
}
.hero-sub em { color: var(--violet); font-style: italic; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font); font-size: 14.5px; font-weight: 600;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .18s, background .2s, border-color .2s, box-shadow .2s;
}
.btn-primary {
  background: linear-gradient(100deg, var(--cyan), #8fb8ff); color: #05161c;
  box-shadow: 0 6px 30px -12px rgba(0, 212, 255, .8);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 34px -10px rgba(0, 212, 255, .9); }
.btn-ghost { border-color: var(--border); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: var(--violet); background: rgba(167, 139, 250, .08); transform: translateY(-2px); }

.hero-hint {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em;
  display: flex; flex-wrap: wrap; gap: 12px; color: var(--dim);
}
.hero-hint .lb { color: rgba(0, 212, 255, .55); }
.hero-hint .rb { color: rgba(167, 139, 250, .55); }

/* ── section scaffolding ─────────────────────────────────────── */
.sec {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(72px, 11vw, 140px) var(--gut);
  border-top: 1px solid var(--border2);
}
/* #s03 hosts the .radar flourish, which extends past the right edge by design —
   clip it here so it never adds horizontal scroll. */
#s03 { overflow: hidden; }
.sec-head { max-width: 760px; margin-bottom: 52px; }

.sec-num {
  font-family: var(--mono); font-size: 11px; letter-spacing: .22em;
  color: var(--cyan); margin-bottom: 20px;
}
h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(26px, 3.6vw, 42px); line-height: 1.14; letter-spacing: -.028em;
  margin-bottom: 20px;
}
h3 { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -.015em; }
.sec-lede { color: var(--silver); font-size: clamp(15px, 1.5vw, 17.5px); }

/* Scoped to .js so a JS failure leaves a readable page rather than a blank one.
   Elements FLY in: from the sides / from below, rotating in 3D, then settle flat.
   Direction classes are assigned in rc-site.js (flyins). Containers get
   perspective so the rotation reads as real depth. */
.js .reveal {
  opacity: 0; transform: translateY(56px) scale(.95); transform-origin: 50% 100%;
  transition: opacity .7s ease, transform .95s cubic-bezier(.16, 1, .3, 1);
  will-change: transform, opacity;
}
.js .reveal.from-left  { transform: translateX(-120px) rotateY(38deg) scale(.85); transform-origin: left center; }
.js .reveal.from-right { transform: translateX(120px) rotateY(-38deg) scale(.85); transform-origin: right center; }
.js .reveal.from-up    { transform: translateY(110px) rotateX(-34deg) scale(.9); transform-origin: 50% 100%; }
/* §04 TORNADO — staff cards spin in around a vertical axis, rising and (for the
   outer two) converging from the sides like a vortex, then lock facing front.
   Done with a transition over a >360° rotateY, so it settles at a real flat state
   (transform:none) and the hover-tilt still works afterwards. */
.js .staff .person.reveal.warp {
  --sx: 0px;
  transform: translate(var(--sx), 90px) rotateY(-520deg) scale(.34);
  transform-origin: 50% 100%;
  transition: opacity .7s ease, transform 1.3s cubic-bezier(.18, .72, .18, 1);
}
.js .staff .person.reveal.warp:nth-child(1) { --sx: 150px; }
.js .staff .person.reveal.warp:nth-child(3) { --sx: -150px; }

.js .reveal.is-in { opacity: 1; transform: none; }   /* placed last → wins over direction + warp */

.grid, .principles, .who, .hemis, .layers, .steps, .stats, .staff { perspective: 1200px; }

/* ── 01 hemispheres ──────────────────────────────────────────── */
.hemis { display: grid; grid-template-columns: 1fr 40px 1fr; align-items: stretch; margin-bottom: 56px; }

.hemi { padding: 30px; border: 1px solid var(--border2); border-radius: 14px; background: var(--card2); }
.hemi-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; margin-bottom: 14px; }
.hemi h3 { margin-bottom: 18px; }
.hemi ul { list-style: none; display: grid; gap: 14px; }
.hemi li { color: var(--silver); font-size: 15.5px; display: flex; align-items: center; gap: 12px; }
.hemi li .ic { width: 30px; height: 30px; flex: 0 0 auto; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; padding: 5px; border: 1px solid var(--border2); border-radius: 8px; }
.hemi li.cap { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--border2); color: var(--text); font-family: var(--display); font-size: 17px; }

.hemi-left { border-color: rgba(0, 212, 255, .16); }
.hemi-left .hemi-tag { color: var(--cyan); }
.hemi-left .ic { stroke: var(--cyan); }
.hemi-left li.cap strong { color: var(--cyan); }

.hemi-right { border-color: rgba(167, 139, 250, .16); }
.hemi-right .hemi-tag { color: var(--violet); text-align: right; }
.hemi-right .ic { stroke: var(--violet); }
.hemi-right li.cap strong { color: var(--violet); }

.hemi-seam { display: flex; justify-content: center; }
.hemi-seam span {
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--cyan), var(--violet), transparent);
  opacity: .5;
}

.pull { margin: 0 0 44px; padding: 0 clamp(0px, 4vw, 48px); }
.pull blockquote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(22px, 3.2vw, 34px); line-height: 1.34; letter-spacing: -.01em;
  color: var(--text); border-left: 2px solid var(--violet); padding-left: clamp(18px, 3vw, 32px);
}
.pull em { color: var(--violet); font-style: italic; }

.note {
  border: 1px solid var(--border2); border-left: 2px solid var(--dim);
  background: var(--card2); border-radius: 0 12px 12px 0; padding: 24px 26px; max-width: 780px;
}
.note p { color: var(--silver); font-size: 15.5px; }
.note-k { font-family: var(--display); font-weight: 600; color: var(--text) !important; margin-bottom: 8px; font-size: 16.5px; }
.note-cyan { border-left-color: var(--cyan); }
.note-violet { border-left-color: var(--violet); }

/* ── 02 layers ───────────────────────────────────────────────── */
.layers { list-style: none; display: grid; gap: 14px; margin-bottom: 40px; }
.layer {
  position: relative; padding: 22px 26px; border-radius: 14px;
  border: 1px solid var(--border2); background: var(--card2);
  display: flex; align-items: center; gap: 20px;
  transition: transform .25s, border-color .25s;
}
.layer:hover { transform: translateX(6px); }
.layer-ic { width: 34px; height: 34px; flex: 0 0 auto; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.layer p { color: var(--silver); font-size: 15px; max-width: 640px; }
.layer-n { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; color: var(--muted); margin-bottom: 6px; }
.layer-3 .layer-ic { stroke: var(--violet); }
.layer-2 .layer-ic { stroke: var(--cyan); }
.layer-1 .layer-ic { stroke: var(--silver); }

.layer-3 { border-color: rgba(167, 139, 250, .3); background: linear-gradient(100deg, rgba(167, 139, 250, .07), transparent 60%); }
.layer-3 .layer-n { color: var(--violet); }
.layer-2 { border-color: rgba(0, 212, 255, .3); background: linear-gradient(100deg, rgba(0, 212, 255, .07), transparent 60%); }
.layer-2 .layer-n { color: var(--cyan); }
.layer-1 { margin-left: 0; }

/* ── 03 instruments ──────────────────────────────────────────── */
.radar {
  position: absolute; top: 6%; right: -14%; width: min(620px, 70vw); aspect-ratio: 1;
  pointer-events: none; opacity: .5;
  background:
    repeating-radial-gradient(circle, transparent 0 58px, rgba(0, 212, 255, .06) 58px 59px);
  mask-image: radial-gradient(circle, #000 35%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 72%);
}
.radar span {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(0, 212, 255, .14), transparent 22%);
  animation: sweep 9s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg) } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); background: transparent; border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 15px; cursor: pointer; transition: all .2s;
}
.chip:hover { color: var(--text); border-color: var(--dim); }
.chip.is-on { color: var(--cyan); border-color: rgba(0, 212, 255, .5); background: rgba(0, 212, 255, .07); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 14px; }

.card {
  position: relative; padding: 26px 24px 24px; border-radius: 14px;
  border: 1px solid var(--border2); background: var(--card);
  transition: transform .25s, border-color .25s, box-shadow .25s, opacity .3s;
}
.card::before {
  content: ''; position: absolute; inset: 0; border-radius: 14px; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--c) 12%, transparent), transparent 62%);
  opacity: 0; transition: opacity .25s;
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 16px 40px -24px var(--c); }
.card:hover::before { opacity: 1; }

.glyph {
  width: 26px; height: 26px; margin-bottom: 16px;
  fill: none; stroke: var(--c); stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.card h3 { margin-bottom: 9px; }
.card p { color: var(--silver); font-size: 14.5px; line-height: 1.6; }

.planned {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .16em;
  color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 3px 8px;
}
.card.is-planned { opacity: .68; }
.card.is-planned:hover { opacity: 1; }
.card.is-out { display: none; }

/* ── glass-panel tilt (Minority Report) + neon ─────────────────── */
/* No transform-transition here — the entrance transition lives on .reveal, and the
   hover tilt is driven directly, so they never fight over `transform`. */
.tiltable { position: relative; transition: box-shadow .2s, border-color .2s; transform-style: preserve-3d; }
.tiltable::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  background: radial-gradient(180px circle at var(--gx,50%) var(--gy,50%), rgba(120,200,255,.12), transparent 60%);
  opacity: 0; transition: opacity .2s;
}
.tiltable:hover::after { opacity: 1; }
/* corner ticks — HUD detail on every panel */
.tiltable::before { z-index: 2; }
.card:hover, .person:hover, .who article:hover, .pr:hover, .stat:hover {
  box-shadow: 0 20px 50px -26px rgba(0,212,255,.5), 0 0 0 1px rgba(0,212,255,.12) inset;
}

/* neon on the headline + primary CTA */
h1 .hl-logic { text-shadow: 0 0 26px rgba(0,212,255,.55); }
h1 .hl-intu  { filter: drop-shadow(0 0 22px rgba(167,139,250,.45)); }
.sec-num { text-shadow: 0 0 14px rgba(0,212,255,.4); }
.btn-primary { box-shadow: 0 6px 30px -10px rgba(0,212,255,.9), 0 0 20px -4px rgba(0,212,255,.5); }

/* ── 04 staff ────────────────────────────────────────────────── */
.staff { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin-bottom: 40px; }
.person {
  padding: 28px 26px; border-radius: 14px; background: var(--card);
  border: 1px solid var(--border2); border-top: 2px solid var(--violet);
  transition: transform .25s, border-color .25s;
}
.person:hover { transform: translateY(-4px); border-color: rgba(167, 139, 250, .4); border-top-color: var(--violet); }
.avatar {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--violet);
  background: radial-gradient(circle at 30% 25%, rgba(167,139,250,.22), rgba(167,139,250,.06));
  border: 1px solid rgba(167,139,250,.35);
}
.avatar svg { position: absolute; right: -7px; bottom: -7px; width: 22px; height: 22px; padding: 3px; fill: none; stroke: var(--violet); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; background: var(--card); border: 1px solid rgba(167,139,250,.35); border-radius: 7px; }
.role { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--muted); margin-bottom: 8px; }
.person h3 { font-size: 24px; margin-bottom: 10px; }
.person p { color: var(--silver); font-size: 14.5px; }

/* ── staff carousel ─────────────────────────────────────────────
   Default (no JS / narrow / reduced-motion): a plain 3-up grid. */
.staff-ring { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.ring-card { margin: 0; }
.staff-dots { display: none; }

/* Carousel mode (JS adds .is-carousel to the stage on wide, motion-ok screens):
   a tall stage whose sticky pin holds a 3D ring; scroll rotates the ring so each
   agent faces front in turn. */
.staff-stage.is-carousel { position: relative; height: 300vh; }
.is-carousel .staff-pin {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  perspective: 1500px;
}
.is-carousel .staff-ring {
  display: block; position: relative;
  width: min(360px, 84vw); height: 290px;
  transform-style: preserve-3d;
}
/* Cards orbit a circle but keep FACING the viewer (billboard), so the two that
   aren't at the front stay readable — just smaller + dimmer, sitting behind.
   Positions (translate3d) + opacity are set per-frame in rc-site.js. */
.is-carousel .ring-card {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  box-shadow: 0 30px 70px -34px rgba(0,0,0,.85);
  transition: transform .12s ease-out, opacity .25s ease;
  will-change: transform, opacity;
}

.is-carousel .staff-dots {
  display: flex; gap: 10px; position: absolute; bottom: 12vh; left: 50%; transform: translateX(-50%);
}
.staff-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: background .3s, transform .3s; }
.staff-dots i.on { background: var(--violet); transform: scale(1.4); box-shadow: 0 0 10px rgba(167,139,250,.7); }

/* ── 05 steps ────────────────────────────────────────────────── */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; }
.steps li { position: relative; padding: 30px 26px 30px 0; }
.steps li::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, var(--cyan), transparent 70%); opacity: .4;
}
.steps li { padding-left: 26px; }
.step-ic { display: inline-flex; width: 40px; height: 40px; margin-bottom: 16px; padding: 9px; border-radius: 10px; border: 1px solid var(--border2); background: var(--card2); }
.step-ic svg { width: 100%; height: 100%; fill: none; stroke: var(--cyan); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.steps li:nth-child(4) .step-ic svg { stroke: var(--violet); }
.step-n { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--cyan); margin-bottom: 8px; }
.steps h3 { margin-bottom: 9px; }
.steps p { color: var(--silver); font-size: 14.5px; }
.steps li:nth-child(2)::after { background: linear-gradient(to bottom, #43c3f0, transparent 70%); }
.steps li:nth-child(3)::after { background: linear-gradient(to bottom, #7aa8f5, transparent 70%); }
.steps li:nth-child(4)::after { background: linear-gradient(to bottom, var(--violet), transparent 70%); }

/* ── 06 principles ───────────────────────────────────────────── */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.pr { padding: 26px 24px; border-radius: 14px; border: 1px solid var(--border2); background: var(--card2); }
.pr:hover { border-color: rgba(0,212,255,.3); }
.pr-ic { width: 30px; height: 30px; margin-bottom: 16px; fill: none; stroke: var(--cyan); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pr h3 { margin-bottom: 8px; font-size: 17px; }
.pr p { color: var(--silver); font-size: 14px; }
.pr em { color: var(--cyan); font-style: italic; }

/* ── 07 production ───────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 44px; }
.stat {
  padding: 24px; border-radius: 14px; background: var(--card2); border: 1px solid var(--border2);
  display: flex; flex-direction: column; gap: 6px;
}
.stat .v { font-family: var(--display); font-size: 40px; font-weight: 600; letter-spacing: -.04em; line-height: 1;
           background: linear-gradient(120deg, var(--cyan), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.before { margin-bottom: 40px; }
.before-h { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: #ff6b6b; margin-bottom: 16px; }
.before ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.before li {
  color: var(--silver); font-size: 14px; padding: 10px 16px 10px 34px; position: relative;
  border: 1px solid var(--border2); border-radius: 999px; background: var(--card2);
}
.before li::before { content: '×'; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #ff4d4d; font-size: 14px; }
.before li span { color: var(--text); font-weight: 600; }

/* ── 08 who ──────────────────────────────────────────────────── */
.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.who article { padding: 26px 24px; border-radius: 14px; background: var(--card); border: 1px solid var(--border2); transition: transform .25s, border-color .25s; }
.who article:hover { transform: translateY(-4px); border-color: rgba(0, 212, 255, .3); }
.who-ic { width: 30px; height: 30px; margin-bottom: 16px; fill: none; stroke: var(--cyan); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.who h3 { margin-bottom: 9px; font-size: 17px; }
.who p { color: var(--silver); font-size: 14px; }

/* ── contact ─────────────────────────────────────────────────── */
.sec-contact { padding-bottom: clamp(80px, 10vw, 120px); overflow: hidden; }
/* Faint logo watermark — bookends the animated hero mark at the page's close. */
.sec-watermark {
  position: absolute; top: 50%; right: -70px; transform: translateY(-50%);
  width: min(460px, 46vw); height: auto; opacity: .08; pointer-events: none; z-index: 0;
}
.sec-contact > * { position: relative; z-index: 1; }
.form { max-width: 760px; display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label {
  display: grid; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.form input, .form textarea {
  font-family: var(--font); font-size: 15px; letter-spacing: normal; text-transform: none;
  color: var(--text); background: var(--card2);
  border: 1px solid var(--border); border-radius: 10px; padding: 13px 15px;
  transition: border-color .2s, background .2s; width: 100%; resize: vertical;
}
.form input::placeholder, .form textarea::placeholder { color: var(--dim); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--cyan); background: rgba(0, 212, 255, .04); }
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: #ff4d4d; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form-msg { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.form-msg.is-ok { color: #00ff87; }
.form-msg.is-bad { color: #ff6b6b; }
.btn[disabled] { opacity: .5; cursor: wait; transform: none !important; }

/* ── footer ──────────────────────────────────────────────────── */
.foot {
  border-top: 1px solid var(--border2); padding: 48px var(--gut) 56px;
  max-width: var(--maxw); margin: 0 auto; text-align: center;
}
.foot-brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -.02em; margin-bottom: 8px; }
.foot-brand > span span { color: var(--cyan); }
.foot-line { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.foot-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--dim); display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.foot-meta a { color: var(--muted); text-decoration: none; }
.foot-meta a:hover { color: var(--cyan); }

/* ── responsive ──────────────────────────────────────────────── */
@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(7, 9, 12, .97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border2); padding: 8px var(--gut) 18px;
    margin-left: 0; display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 13px 0; font-size: 13px; }
  .nav-login { display: none; }
  .nav-toggle { display: flex; }

  .hemis { grid-template-columns: 1fr; gap: 14px; }
  .hemi-seam { display: none; }
  .form .row { grid-template-columns: 1fr; }
  .steps li { padding: 22px 0 22px 22px; }
}

@media (max-width: 480px) {
  .hero-hint { display: none; }
  .stat .v { font-size: 32px; }
}

/* ── reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .radar span { animation: none; }
  /* SMIL <animateMotion> ignores this media query, so hide the moving signal
     particles outright; the static logo stays fully legible. */
  .rc-sig { display: none; }
}
