:root {
  --white: #ffffff;
  --paper: #fbfcfe;
  --ink: #08172f;
  --ink-2: #21324b;
  --muted: #65738a;
  --line: #dfe6ef;
  --blue: #1969bb;
  --blue-deep: #05295e;
  --red: #bb2029;
  --red-deep: #75080d;
  --max: 1380px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Aptos, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.prelude-open { overflow: hidden; }
.site-shell {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body.site-entered .site-shell {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 3000;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

/* Brand prelude: explicit click-to-enter opening sequence. */
.prelude {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: #fff;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 700ms var(--ease-out), visibility 0s linear 700ms;
}
.prelude::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(25,105,187,.06), transparent 33%),
    radial-gradient(circle at 70% 55%, rgba(187,32,41,.035), transparent 24%);
  pointer-events: none;
}
.prelude.is-exiting { opacity: 0; visibility: hidden; }
.prelude-logo {
  width: clamp(300px, 42vw, 570px);
  position: relative;
  z-index: 3;
  opacity: 0;
  filter: blur(9px);
  transform: scale(.965) translateY(8px);
  animation: preludeLogo 1050ms var(--ease-out) 130ms forwards;
}
.prelude-enter {
  position: absolute;
  left: 50%;
  bottom: clamp(42px, 7vh, 84px);
  transform: translate(-50%, 8px);
  z-index: 4;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  animation: preludeEnter 500ms var(--ease-out) 950ms forwards;
}
.prelude-enter span { color: var(--blue); margin-left: 8px; }
.prelude-field, .ambient-field { position: absolute; inset: 0; pointer-events: none; }
.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform-origin: 50% 50%;
  opacity: 0;
  will-change: transform, opacity;
}
.orbit::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 0deg, transparent 0 45%, currentColor 52% 70%, transparent 77% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.orbit::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  left: 51%;
  top: 0;
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
}
.orbit-blue { color: rgba(25,105,187,.70); }
.orbit-red { color: rgba(187,32,41,.58); }
.orbit-a { width: min(80vw, 1060px); height: min(48vw, 620px); transform: translate(-50%,-50%) rotate(-12deg); animation: orbitIntroA 2100ms var(--ease-out) 300ms 1 forwards; }
.orbit-b { width: min(68vw, 900px); height: min(60vw, 760px); transform: translate(-50%,-50%) rotate(31deg); animation: orbitIntroB 2400ms var(--ease-out) 260ms 1 forwards; }
.orbit-c { width: min(56vw, 720px); height: min(36vw, 460px); transform: translate(-50%,-50%) rotate(10deg); animation: orbitIntroC 1900ms var(--ease-out) 450ms 1 forwards; }

@keyframes preludeLogo {
  to { opacity: 1; filter: blur(0); transform: scale(1) translateY(0); }
}
@keyframes preludeEnter { to { opacity: 1; transform: translate(-50%,0); } }
@keyframes orbitIntroA { 0%{opacity:0; transform:translate(-50%,-50%) rotate(-24deg)} 35%{opacity:.65} 100%{opacity:.30; transform:translate(-50%,-50%) rotate(-4deg)} }
@keyframes orbitIntroB { 0%{opacity:0; transform:translate(-50%,-50%) rotate(45deg)} 30%{opacity:.5} 100%{opacity:.22; transform:translate(-50%,-50%) rotate(24deg)} }
@keyframes orbitIntroC { 0%{opacity:0; transform:translate(-50%,-50%) rotate(0)} 45%{opacity:.35} 100%{opacity:.14; transform:translate(-50%,-50%) rotate(17deg)} }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  min-height: 92px;
  padding: 8px clamp(24px, 4vw, 68px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  background: rgba(255,255,255,.74);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  transition: border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}
.site-header.is-scrolled {
  border-color: rgba(5,41,94,.09);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 40px rgba(7,33,67,.045);
}
.brand-home { display: block; width: 92px; flex: 0 0 auto; }
.brand-home img { width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); font-size: 14px; }
.nav a { text-decoration: none; color: var(--ink-2); transition: color 180ms ease, transform 180ms ease; }
.nav a:hover { color: var(--blue); }
.nav a:focus-visible, .button:focus-visible, .text-link:focus-visible, .prelude-enter:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
.nav-deck { font-weight: 700; }
.nav-deck span { display: inline-block; transition: transform 180ms var(--ease-out); }
.nav-deck:hover span { transform: translate(2px,-2px); }

.hero {
  position: relative;
  width: min(calc(100% - 48px), var(--max));
  min-height: calc(100svh - 92px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
  align-items: center;
  gap: clamp(34px, 5vw, 90px);
  padding: clamp(70px, 9vh, 118px) 0 clamp(72px, 10vh, 128px);
  isolation: isolate;
  overflow: clip;
}
.ambient-field { overflow: hidden; z-index: -1; }
.hero-orbit { left: 74%; top: 50%; }
.hero-orbit-a { width: min(78vw, 1080px); height: min(44vw, 600px); opacity: .12; transform: translate(-50%,-50%) rotate(-10deg); animation: heroOrbitA 18s var(--ease-soft) 450ms 1 both; }
.hero-orbit-b { width: min(62vw, 850px); height: min(54vw, 720px); opacity: .11; transform: translate(-50%,-50%) rotate(28deg); animation: heroOrbitB 20s var(--ease-soft) 600ms 1 both; }
.hero-orbit-c { width: min(50vw, 680px); height: min(32vw, 430px); opacity: .08; transform: translate(-50%,-50%) rotate(9deg); animation: heroOrbitC 16s var(--ease-soft) 800ms 1 both; }
@keyframes heroOrbitA { from { transform: translate(-50%,-50%) rotate(-10deg); opacity: .05; } 35%{opacity:.17} to { transform: translate(-50%,-50%) rotate(4deg); opacity:.11; } }
@keyframes heroOrbitB { from { transform: translate(-50%,-50%) rotate(28deg); opacity: .04; } 40%{opacity:.13} to { transform: translate(-50%,-50%) rotate(15deg); opacity:.09; } }
@keyframes heroOrbitC { from { transform: translate(-50%,-50%) rotate(9deg); opacity: 0; } 45%{opacity:.09} to { transform: translate(-50%,-50%) rotate(19deg); opacity:.06; } }
.soft-glow { position:absolute; border-radius:50%; filter: blur(80px); opacity:.10; }
.glow-blue { width: 430px; height: 430px; right: 8%; top: 18%; background: rgba(25,105,187,.55); }
.glow-red { width: 300px; height: 300px; right: -3%; bottom: 8%; background: rgba(187,32,41,.33); }
.hero-copy { max-width: 690px; }
.eyebrow {
  margin: 0 0 20px;
  color: var(--blue);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1,h2,p { text-wrap: pretty; }
h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(34px, 4.7vw, 72px);
  line-height: .98;
  letter-spacing: -.048em;
  font-weight: 700;
  color: var(--ink);
}
h1 > span {
  display: block;
  white-space: nowrap;
}
.hero-lede {
  margin: 28px 0 0;
  max-width: 650px;
  color: var(--ink-2);
  font-size: clamp(18px, 1.65vw, 24px);
  line-height: 1.48;
}
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: transform 180ms var(--ease-out), box-shadow 180ms ease, background-color 180ms ease;
}
.button-primary {
  color: white;
  background: linear-gradient(180deg, #216fc0 0%, #0a4a95 100%);
  border: 1px solid rgba(5,41,94,.18);
  box-shadow: 0 8px 24px rgba(5,41,94,.14), inset 0 1px 0 rgba(255,255,255,.22);
}
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(5,41,94,.19), inset 0 1px 0 rgba(255,255,255,.26); }
.button span { transition: transform 180ms var(--ease-out); }
.button:hover span { transform: translate(2px,-2px); }
.text-link { text-decoration: none; color: var(--ink-2); font-weight: 700; position: relative; padding: 12px 0; }
.text-link::after { content:""; position:absolute; left:0; right:0; bottom:5px; height:1px; background:currentColor; transform-origin:left; transform:scaleX(.28); transition:transform 220ms var(--ease-out); }
.text-link:hover::after { transform:scaleX(1); }
.raise-chip { margin: 28px 0 0; display:flex; align-items:center; gap:10px; color:var(--muted); font-size:13px; letter-spacing:.02em; }
.raise-chip span { width: 26px; height: 2px; display:inline-block; background: linear-gradient(90deg,var(--blue),var(--red)); }
.hero-brand { position: relative; display: flex; justify-content: center; align-items: center; min-width:0; }
.hero-brand img { width: min(100%, 620px); filter: drop-shadow(0 18px 40px rgba(7,33,67,.06)); }

.reveal, .reveal-group, .reveal-brand {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 640ms var(--ease-out), transform 640ms var(--ease-out);
}
.reveal-brand { transform: translateY(10px) scale(.985); transition-duration: 800ms; }
.is-visible { opacity: 1 !important; transform: translateY(0) scale(1) !important; }

.system-section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: clamp(98px, 12vw, 170px) 0;
  border-top: 1px solid var(--line);
}
.section-heading { max-width: 840px; }
.section-heading h2 {
  margin: 0;
  font-size: clamp(40px, 4.3vw, 68px);
  line-height: 1.04;
  letter-spacing: -.038em;
  font-weight: 700;
}
.system-rail { margin-top: clamp(56px, 7vw, 92px); position: relative; }
.rail-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 0;
  position: relative;
  z-index: 2;
}
.rail-steps li { position:relative; display:flex; flex-direction:column; gap:12px; padding-top:34px; }
.rail-steps li::before { content:""; position:absolute; top:0; left:0; width:10px; height:10px; border-radius:50%; background:#fff; border:2px solid var(--blue); box-shadow: 0 0 0 7px rgba(25,105,187,.05); transform:scale(.75); opacity:.45; transition:transform 380ms var(--ease-out), opacity 380ms ease, box-shadow 380ms ease, border-color 380ms ease; }
.rail-steps li:nth-child(4)::before, .rail-steps li:nth-child(5)::before { border-color: var(--red); box-shadow:0 0 0 7px rgba(187,32,41,.04); }
.rail-steps li.is-active::before { transform:scale(1); opacity:1; box-shadow:0 0 0 8px rgba(25,105,187,.075); }
.rail-steps li:nth-child(4).is-active::before, .rail-steps li:nth-child(5).is-active::before { box-shadow:0 0 0 8px rgba(187,32,41,.065); }
.step-index { font-size:11px; color:var(--muted); letter-spacing:.12em; }
.rail-steps strong { font-size: clamp(17px,1.6vw,22px); }
.rail-line { position:absolute; top:5px; left:0; right:0; height:1px; background:#d8e2ef; overflow:hidden; }
.rail-progress { position:absolute; inset:0 auto 0 0; width:0; background:linear-gradient(90deg,var(--blue) 0%,#6e8eb3 48%,var(--red) 100%); transition:width 1800ms var(--ease-out); }
.system-rail.is-active .rail-progress { width:100%; }
.principle { margin: clamp(66px, 8vw, 110px) 0 0; font-size: clamp(25px,2.55vw,40px); line-height:1.2; font-weight:700; letter-spacing:-.025em; color:var(--ink); }
.principle span { color: var(--blue); }



.footer { min-height:84px; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:0 clamp(24px,4vw,68px); color:var(--muted); font-size:13px; border-top:1px solid var(--line); }
.footer p { margin:0; }

@media (max-width: 980px) {
  .site-header { min-height: 84px; }
  .brand-home { width: 78px; }
  .nav a:not(.nav-deck) { display:none; }
  .hero { min-height:auto; grid-template-columns:1fr; gap:34px; padding-top:64px; }
  .hero-copy { max-width:760px; }
  .hero-brand { order:-1; max-width:520px; margin:0 auto; }
  .hero-brand img { width:min(86vw,520px); }
  .hero-orbit { left:50%; top:33%; }
  .system-section { padding:96px 0; }
  .rail-steps { min-width:720px; }
  .system-rail { overflow-x:auto; padding-bottom:12px; scrollbar-width:none; }
  .system-rail::-webkit-scrollbar { display:none; }
  .rail-line { min-width:720px; }
}

@media (max-width: 640px) {
  .site-header { padding:6px 18px; min-height:78px; }
  .brand-home { width:68px; }
  .nav { gap:0; }
  .nav-deck { font-size:12px; }
  .hero,.system-section { width:min(calc(100% - 32px),var(--max)); }
  .hero { padding:48px 0 74px; gap:26px; }
  .hero-brand img { width:min(88vw,430px); }
  h1 { font-size:clamp(46px,13vw,67px); }
  .hero-lede { font-size:18px; }
  .hero-actions { align-items:flex-start; flex-direction:column; gap:8px; }
  .button { width:100%; }
  .text-link { align-self:flex-start; }
  .system-section { padding:78px 0; }
  .section-heading h2 { font-size:clamp(36px,10.5vw,52px); }
  .footer { min-height:110px; flex-direction:column; justify-content:center; text-align:center; }
  .prelude-logo { width:min(86vw,430px); }
  .prelude-enter { bottom:34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .reveal,.reveal-group,.reveal-brand { opacity:1; transform:none; }
  .rail-progress { width:100%; }
}


/* v18 VC-ready refinement: editorial, proof-led, no cards/infographics. */
.hero {
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  gap: clamp(42px, 6vw, 104px);
}
.hero-copy { max-width: 760px; }
.hero-lede {
  max-width: 720px;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.52;
}
.hero-brand img { width: min(100%, 440px); }

.editorial-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.editorial-inner {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  padding: clamp(96px, 11vw, 156px) 0;
}
.editorial-kicker {
  margin: 0 0 22px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.editorial-title {
  margin: 0;
  max-width: 960px;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 700;
  text-wrap: balance;
}
.editorial-copy {
  margin: clamp(28px, 3vw, 42px) 0 0;
  max-width: 820px;
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.55;
}
.editorial-copy + .editorial-copy { margin-top: 18px; }
.market-section {
  background: #07152b;
  color: #fff;
}
.market-section::after {
  content: "";
  position: absolute;
  width: min(56vw, 760px);
  height: min(56vw, 760px);
  right: -18%;
  top: -24%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25,105,187,.18), rgba(187,32,41,.06) 42%, transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}
.market-section .editorial-inner { position: relative; z-index: 1; }
.market-section .editorial-kicker { color: #8fbce9; }
.market-section .editorial-copy { color: rgba(255,255,255,.78); }
.market-source {
  display: block;
  margin-top: 28px;
  color: rgba(255,255,255,.46);
  font-size: 12px;
  letter-spacing: .02em;
}
.market-source a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.22); }
.market-source a:hover { color: #fff; border-color: rgba(255,255,255,.6); }

.wedge-section { background: #fff; }
.wedge-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(56px, 8vw, 128px);
  align-items: start;
}
.wedge-section .editorial-title { max-width: 500px; }
.wedge-copy { padding-top: 6px; }
.wedge-copy p {
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.58;
}
.wedge-copy p + p { margin-top: 22px; }

.founder-section {
  background: #f6f8fb;
}
.founder-section .editorial-inner {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(56px, 8vw, 128px);
  align-items: start;
}
.founder-section .editorial-title { max-width: 480px; }
.founder-copy p {
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.58;
}
.founder-copy .button { margin-top: 32px; }
.footer { border-top: 0; background: #f6f8fb; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-brand { max-width: 410px; }
  .hero-brand img { width: min(78vw, 410px); }
  .wedge-grid,
  .founder-section .editorial-inner { grid-template-columns: 1fr; gap: 36px; }
  .wedge-section .editorial-title,
  .founder-section .editorial-title { max-width: 760px; }
}

@media (max-width: 640px) {
  .hero { padding-top: 42px; }
  h1 { font-size: clamp(36px, 10.8vw, 48px); }
  h1 > span { white-space: nowrap; }
  .hero-brand img { width: min(76vw, 330px); }
  .editorial-inner { width: min(calc(100% - 36px), 1180px); padding: 78px 0; }
  .editorial-title { font-size: clamp(38px, 11vw, 52px); }
  .editorial-copy,
  .wedge-copy p,
  .founder-copy p { font-size: 18px; }
}
