:root {
  --ink: #121317;
  --muted: #696b70;
  --paper: #dfe1e5;
  --paper-deep: #cfd2d8;
  --white: #f8f9fb;
  --blue: #315dff;
  --line: rgba(18, 19, 23, .18);
  --display: "Newsreader", Georgia, serif;
  --body: "Manrope", "Helvetica Neue", sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: #8a8d94 #dfe1e5; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  overflow-x: hidden;
}
body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: var(--paper); }
body::-webkit-scrollbar-thumb { background: #8a8d94; border: 3px solid var(--paper); border-radius: 20px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

 .noise {
  position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.site-header {
  position: absolute; inset: 0 0 auto; z-index: 60; height: 88px; padding: 0 3.2vw;
  display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center;
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
}
.wordmark { display: flex; align-items: center; gap: 12px; width: max-content; }
.wordmark-mark { width: 31px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 9px; }
.header-center { text-align: center; color: var(--muted); }
.menu-toggle { justify-self: end; display: flex; align-items: center; gap: 12px; border: 0; background: none; text-transform: uppercase; font: inherit; padding: 12px 0; cursor: pointer; }
.menu-toggle i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(49,93,255,.2); transition: box-shadow .3s; }
.menu-toggle:hover i { box-shadow: 0 0 0 6px rgba(49,93,255,.14); }
.menu-panel { position: absolute; right: 3vw; top: 70px; background: var(--ink); color: var(--white); padding: 22px; min-width: 220px; display: grid; gap: 4px; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: .25s ease; }
.menu-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.menu-panel a { padding: 10px; border-bottom: 1px solid #33343a; }
.menu-panel a:hover { color: #8facff; }

.hero { min-height: 100svh; padding: 104px 3.2vw 4vh; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 50vw; height: 50vw; border-radius: 50%; top: 6vh; left: 25vw; background: radial-gradient(circle at 45% 40%, rgba(255,255,255,.9), rgba(255,255,255,.08) 37%, rgba(49,93,255,.09) 61%, transparent 72%); filter: blur(8px); opacity: .7; }
.hero-meta { display: flex; justify-content: space-between; width: 100%; font: 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; border-top: 1px solid var(--line); padding-top: 11px; }
.hero-title { position: relative; z-index: 2; margin: auto 0; font: 300 clamp(74px, 11.3vw, 190px)/.77 var(--display); letter-spacing: -.065em; }
.title-line { display: block; }
.title-line-one { transform: translateX(4.3vw); }
.title-line-two { text-align: right; }
.hero-title em, .hero-title i { font-weight: 300; }
.hero-title em { color: var(--blue); }
.hero-title i { font-style: italic; }
.hero-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: end; }
.hero-bottom p { width: 330px; margin: 0 0 6px; font-size: 15px; line-height: 1.55; }
.circle-link { width: 68px; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; transition: background .25s, color .25s; }
.circle-link:hover { background: var(--ink); color: var(--white); }
.circle-link svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.reveal { opacity: 0; transform: translateY(16px); animation: enter .8s .2s ease forwards; }
.hero-bottom.reveal { animation-delay: .55s; }
@keyframes enter { to { opacity: 1; transform: none; } }

.manifesto { min-height: 92vh; background: var(--ink); color: var(--white); padding: 11vw 7vw 8vw; display: grid; grid-template-columns: 1fr 3fr; align-content: center; gap: 6vw; }
.section-label { margin: 10px 0; font: 10px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.section-label::before { content: "●"; color: var(--blue); margin-right: 9px; font-size: 8px; }
.manifesto h2 { margin: 0; font: 300 clamp(52px, 7vw, 112px)/.98 var(--display); letter-spacing: -.045em; }
.manifesto h2 span { color: #8facff; font-style: italic; }
.manifesto-copy { grid-column: 2; width: min(520px, 100%); font-size: 16px; line-height: 1.65; color: #aaaeb8; margin: 5vw 0 0 auto; }

.capability-scroll { position: relative; background: #cfd2d8; }
.visual-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.stage-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(20,22,28,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(20,22,28,.06) 1px, transparent 1px); background-size: 8vw 8vw; mask-image: linear-gradient(to right, #000 50%, transparent 84%); }
#core-canvas { position: absolute; width: 56vw; height: 100%; right: 0; top: 0; }
.core-shadow { position: absolute; width: 35vw; height: 5vw; border-radius: 50%; right: 10vw; bottom: 11vh; background: rgba(0,0,0,.2); filter: blur(24px); transform: scale(var(--shadow-scale, .65)); opacity: var(--shadow-opacity, .35); }
.stage-caption { position: absolute; right: 3.2vw; top: 32px; width: 49vw; display: flex; justify-content: space-between; font: 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.capability-steps { position: relative; z-index: 2; width: 44vw; margin-top: -100svh; }
.capability-step { min-height: 100svh; padding: 12vh 4vw 10vh 7vw; display: flex; align-items: center; opacity: .22; transition: opacity .45s; }
.capability-step.is-active { opacity: 1; }
.step-content { max-width: 510px; }
.step-kicker { font: 10px var(--mono); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 38px; }
.step-content h3 { font: 300 clamp(52px, 6.5vw, 104px)/.91 var(--display); letter-spacing: -.05em; margin: 0 0 30px; }
.step-content h3 em { font-weight: 300; color: var(--blue); }
.step-content > p:not(.step-kicker) { max-width: 420px; font-size: 15px; line-height: 1.65; }
.step-content ul { list-style: none; margin: 36px 0 0; padding: 0; max-width: 420px; border-top: 1px solid var(--line); }
.step-content li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font: 10px var(--mono); text-transform: uppercase; }
.step-content li::after { content: "↗"; }

.principles { padding: 12vw 7vw; background: var(--white); display: grid; grid-template-columns: 1fr 1.7fr; gap: 9vw; }
.principles-head { position: sticky; top: 9vw; height: max-content; }
.principles h2 { margin: 38px 0 0; font: 300 clamp(50px, 6vw, 95px)/.92 var(--display); letter-spacing: -.05em; }
.principle-list { border-top: 1px solid var(--line); }
.principle-list article { display: grid; grid-template-columns: 55px 1fr; gap: 12px 26px; padding: 42px 0 60px; border-bottom: 1px solid var(--line); }
.principle-list span { font: 10px var(--mono); color: var(--blue); }
.principle-list h3 { margin: 0; font: 300 clamp(32px, 3.3vw, 58px)/1 var(--display); }
.principle-list p { grid-column: 2; max-width: 430px; color: var(--muted); line-height: 1.65; }

.closing { min-height: 100svh; position: relative; overflow: hidden; background: #315dff; color: var(--white); padding: 8vw 3.2vw 30px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.closing > .section-label { position: absolute; top: 6vw; left: 3.2vw; }
.closing .section-label::before { color: var(--white); }
.closing h2 { position: relative; z-index: 2; margin: 0 0 55px; font: italic 300 clamp(70px, 10.5vw, 170px)/.79 var(--display); letter-spacing: -.065em; }
.contact-links { position: relative; z-index: 2; display: flex; gap: 10px; }
.contact-links a { min-width: 250px; padding: 16px 20px; border: 1px solid rgba(255,255,255,.7); border-radius: 100px; display: flex; justify-content: space-between; align-items: center; font: 10px var(--mono); text-transform: uppercase; letter-spacing: .06em; transition: translate .25s ease-out, background .3s, color .3s, border-color .3s; }
.contact-links a:first-child { background: var(--white); color: var(--blue); }
.contact-links a span { margin: 0 18px; }
.contact-links a:hover { background: var(--ink); border-color: var(--ink); color: white; }
.closing-orbit { position: absolute; width: min(68vw, 980px); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.27); border-radius: 50%; animation: orbit 18s linear infinite; }
.closing-orbit::before, .closing-orbit::after { content: ""; position: absolute; inset: 14%; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.closing-orbit::after { inset: 29%; }
.closing-orbit i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: white; left: 50%; top: -5px; }
.closing-orbit i:nth-child(2) { top: 50%; left: auto; right: -5px; }
.closing-orbit i:nth-child(3) { top: auto; bottom: 12%; left: 16%; }
@keyframes orbit { to { transform: rotate(360deg); } }
.closing footer { position: absolute; bottom: 26px; left: 3.2vw; right: 3.2vw; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.4); display: flex; justify-content: space-between; font: 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.closing :focus-visible, .manifesto :focus-visible { outline-color: white; }

@media (max-width: 760px) {
  .site-header { height: 70px; padding: 0 20px; grid-template-columns: 1fr auto; }
  .header-center { display: none; }
  .hero { min-height: 100svh; padding: 88px 20px 26px; }
  .hero::before { width: 105vw; height: 105vw; left: -2vw; top: 22vh; }
  .hero-meta span:last-child { display: none; }
  .hero-title { font-size: clamp(71px, 22vw, 108px); line-height: .81; }
  .title-line-one { transform: none; }
  .title-line-two { text-align: left; margin-left: 7vw; }
  .hero-bottom { align-items: end; }
  .hero-bottom p { width: 65vw; font-size: 13px; }
  .circle-link { width: 52px; }
  .manifesto { min-height: 90svh; padding: 100px 20px 70px; display: block; }
  .manifesto h2 { font-size: 14vw; margin-top: 68px; }
  .manifesto-copy { margin: 60px 0 0; font-size: 14px; }
  .visual-stage { height: 100svh; }
  .stage-grid { mask-image: linear-gradient(to bottom, #000 50%, transparent 80%); background-size: 20vw 20vw; }
  #core-canvas { width: 100vw; height: 58svh; top: 0; }
  .core-shadow { width: 65vw; height: 10vw; right: 17vw; top: 47svh; bottom: auto; }
  .stage-caption { top: 22px; right: 20px; left: 20px; width: auto; }
  .capability-steps { width: 100%; margin-top: -100svh; }
  .capability-step { min-height: 100svh; padding: 54svh 20px 42px; align-items: flex-start; background: linear-gradient(to bottom, transparent 45%, rgba(207,210,216,.93) 56%, #cfd2d8 70%); }
  .step-kicker { margin-bottom: 16px; }
  .step-content h3 { font-size: 13.5vw; margin-bottom: 13px; }
  .step-content > p:not(.step-kicker) { font-size: 12px; line-height: 1.5; max-width: 92%; }
  .step-content ul { margin-top: 18px; }
  .step-content li { padding: 7px 0; font-size: 9px; }
  .principles { padding: 90px 20px; display: block; }
  .principles-head { position: static; }
  .principles h2 { font-size: 15vw; margin: 34px 0 70px; }
  .principle-list article { padding: 30px 0 42px; }
  .principle-list h3 { font-size: 10vw; }
  .principle-list p { font-size: 13px; }
  .closing { padding: 90px 20px 24px; }
  .closing > .section-label { top: 40px; left: 20px; }
  .closing h2 { font-size: 19vw; margin-bottom: 44px; }
  .contact-links { width: 100%; flex-direction: column; gap: 8px; }
  .contact-links a { width: 100%; min-width: 0; min-height: 50px; }
  .closing-orbit { width: 125vw; }
  .closing footer { left: 20px; right: 20px; bottom: 20px; }
  .closing footer span:nth-child(2) { display: none; }
}

.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(380px circle at var(--light-x, 50%) var(--light-y, 50%), rgba(255,255,255,.48), transparent 80%); }
.hero-title { transition: color .4s; }
.title-line em, .title-line i { transition: color .35s, text-shadow .35s; }
.title-line em:hover, .title-line i:hover { color: #2145c9; text-shadow: 2px 8px 26px rgba(49,93,255,.16); }
.circle-link, .wordmark-mark { transition: translate .25s ease-out, background .3s, color .3s; }
.core-controls { position: absolute; z-index: 4; bottom: 5vh; left: 51%; right: 4vw; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.instrument-label { flex: 0 0 100%; text-align: center; font: 9px var(--mono); text-transform: uppercase; letter-spacing: .14em; color: #515662; }
.mode-switch { display: flex; padding: 4px; border: 1px solid #999fab; border-radius: 30px; background: rgba(244,246,250,.45); backdrop-filter: blur(12px); }
.mode-switch button { min-height: 42px; padding: 0 16px; border: 0; border-radius: 24px; background: transparent; font: 10px var(--mono); cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.mode-switch button[aria-pressed="true"] { background: var(--ink); color: white; box-shadow: 0 3px 8px #0002; }
.mode-switch button:hover { background: #315dff; color: white; }
.step-content li { transition: padding .3s, color .3s, background .3s; }
.step-content li:hover { padding-left: 12px; padding-right: 12px; color: #2145c9; background: #ffffff40; }
.step-content li::after { content: '+'; }
.principle-list article { position: relative; transition: padding .35s, background .35s; }
.principle-list article::before { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--blue); transition: width .6s; }
.principle-list article:hover::before { width: 100%; }
.principle-list article:hover { background: #315dff08; padding-left: 18px; padding-right: 18px; }
.principle-list article:hover h3 { color: #2145c9; }
.closing footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 760px) {
  .core-controls { left: 16px; right: 16px; top: 43svh; bottom: auto; gap: 8px; }
  .instrument-label { display: none; }
  .mode-switch { padding: 2px; }
  .mode-switch button { min-height: 42px; padding: 0 12px; font-size: 9px; }
  .visual-stage { z-index: 3; pointer-events: none; }
  .visual-stage::before { content: ''; position: absolute; inset: 0 0 auto; height: 52svh; background: linear-gradient(#cfd2d8 94%, transparent); }
  .stage-grid { height: 51svh; }
  .core-controls { pointer-events: auto; }
  .stage-grid { opacity: .45; }
  #core-canvas { height: 43svh; }
  .core-shadow { top: 36svh; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
