:root {
  --ink: #080a09;
  --ink-raised: #101312;
  --paper: #f2f0e9;
  --paper-dim: #d8d6cf;
  --cobalt: #3155ff;
  --acid: #c7ff3d;
  --line-dark: rgba(242, 240, 233, 0.17);
  --line-light: rgba(8, 10, 9, 0.2);
  --muted-dark: rgba(242, 240, 233, 0.58);
  --muted-light: rgba(8, 10, 9, 0.57);
  --sans: "Helvetica Neue", "Inter", Arial, sans-serif;
  --serif: "Iowan Old Style", "Baskerville", Georgia, serif;
  --mono: "SFMono-Regular", "Roboto Mono", Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; overflow-x: hidden; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--acid); outline-offset: 5px; }
p, h1, h2, h3 { margin: 0; }
.site-shell { min-width: 320px; }

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  display: grid;
  height: 82px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  padding: 0 clamp(1.25rem, 4vw, 4.5rem);
  background: rgba(8, 10, 9, 0.68);
  backdrop-filter: blur(18px) saturate(120%);
  transition: height 220ms ease, background 220ms ease;
}
.topbar.is-scrolled { height: 68px; background: rgba(8, 10, 9, 0.9); }
.brand { display: inline-flex; width: max-content; align-items: center; gap: 0.8rem; font-family: var(--serif); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.045em; }
.brand-mark { display: grid; width: 30px; height: 30px; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 2px; border: 1px solid rgba(242, 240, 233, 0.5); padding: 6px; }
.brand-mark i { display: block; background: var(--paper); }
.brand-mark i:nth-child(1) { height: 38%; }
.brand-mark i:nth-child(2) { height: 100%; background: var(--acid); }
.brand-mark i:nth-child(3) { height: 68%; }
.topbar nav { display: flex; gap: clamp(1.7rem, 3vw, 3.5rem); }
.topbar nav a { position: relative; padding: 0.5rem 0; font-size: 0.82rem; color: var(--muted-dark); }
.topbar nav a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: var(--acid); content: ""; transform: scaleX(0); transform-origin: right; transition: transform 200ms ease; }
.topbar nav a:hover { color: var(--paper); }
.topbar nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.topbar-cta { display: flex; align-items: center; justify-self: end; gap: 0.9rem; font-size: 0.82rem; font-weight: 650; }
.topbar-cta i { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 5px rgba(199, 255, 61, 0.1); transition: box-shadow 200ms ease; }
.topbar-cta:hover i { box-shadow: 0 0 0 9px rgba(199, 255, 61, 0.1); }

.hero { position: relative; display: grid; min-height: 100svh; grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr); overflow: hidden; padding-top: 82px; }
.hero-grid { position: absolute; inset: 82px 0 0; opacity: 0.22; background-image: linear-gradient(rgba(242,240,233,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(242,240,233,.12) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, black, transparent 86%); }
.hero-copy { position: relative; z-index: 2; display: flex; min-height: calc(100svh - 82px); flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line-dark); padding: clamp(2rem, 5vw, 5rem) clamp(1.25rem, 5vw, 5rem) clamp(4rem, 7vw, 7rem); }
.overline, .console-head, .panel-meta, .contact-meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dark); }
.hero h1 { max-width: 1020px; margin: auto 0; padding: 8vh 0; font-family: var(--serif); font-size: clamp(5.2rem, 9.8vw, 10.7rem); font-weight: 400; line-height: 0.77; letter-spacing: -0.082em; }
.hero h1 em { font-weight: 400; color: var(--acid); }
.hero-intro { display: grid; max-width: 850px; grid-template-columns: 1fr auto; align-items: end; gap: 3rem; border-top: 1px solid var(--line-dark); padding-top: 1.5rem; }
.hero-intro p { max-width: 570px; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.52; color: var(--muted-dark); }
.hero-intro a { border-bottom: 1px solid var(--paper); padding-bottom: 0.55rem; font-size: 0.82rem; font-weight: 650; }

.signal-console { position: relative; z-index: 2; align-self: center; width: min(630px, calc(100% - clamp(2.5rem, 7vw, 7rem))); margin: 4rem auto; border: 1px solid var(--line-dark); background: rgba(16, 19, 18, 0.74); box-shadow: 0 50px 100px rgba(0, 0, 0, 0.28); backdrop-filter: blur(12px); }
.console-head { align-items: center; min-height: 58px; border-bottom: 1px solid var(--line-dark); padding: 0 1.3rem; }
.system-state { display: flex; align-items: center; gap: 0.6rem; color: var(--paper); }
.system-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 12px var(--acid); }
.console-field { position: relative; min-height: 430px; overflow: hidden; }
.console-field::before, .console-field::after { position: absolute; content: ""; background: var(--line-dark); }
.console-field::before { top: 50%; right: 0; left: 0; height: 1px; }
.console-field::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(49,85,255,.58); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-one { width: 190px; height: 190px; }
.orbit-two { width: 340px; height: 340px; border-color: rgba(242,240,233,.15); }
.core { position: absolute; top: 50%; left: 50%; display: grid; width: 104px; height: 104px; place-items: center; border: 1px solid var(--cobalt); background: var(--cobalt); transform: translate(-50%, -50%); }
.core span { font-family: var(--serif); font-size: 2.8rem; line-height: 1; }
.core small { position: absolute; top: calc(100% + 0.7rem); font: 0.62rem/1.35 var(--mono); letter-spacing: 0.12em; text-align: center; color: var(--muted-dark); }
.node { position: absolute; z-index: 2; border: 1px solid var(--line-dark); background: var(--ink-raised); padding: 0.55rem 0.7rem; font: 0.66rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-dark); }
.node-a { top: 11%; left: 9%; }.node-b { top: 15%; right: 8%; }.node-c { bottom: 13%; left: 8%; }.node-d { right: 9%; bottom: 10%; }
.pulse { position: absolute; z-index: 1; width: 9px; height: 9px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 16px var(--acid); }
.pulse-a { top: calc(50% - 4px); left: calc(50% - 4px); animation: pulse-a 4s linear infinite; }
.pulse-b { top: calc(50% - 4px); left: calc(50% - 4px); animation: pulse-b 5s 1s linear infinite; }
.pulse-c { top: calc(50% - 4px); left: calc(50% - 4px); animation: pulse-c 4.5s 2s linear infinite; }
@keyframes pulse-a { 50% { transform: translate(155px, -120px); opacity: 1; } 51%,100% { opacity: 0; } }
@keyframes pulse-b { 50% { transform: translate(-165px, 120px); opacity: 1; } 51%,100% { opacity: 0; } }
@keyframes pulse-c { 50% { transform: translate(-155px, -130px); opacity: 1; } 51%,100% { opacity: 0; } }
.console-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.console-foot div { display: grid; min-height: 108px; align-content: center; border-right: 1px solid var(--line-dark); padding: 1rem 1.2rem; }
.console-foot div:last-child { border: 0; }
.console-foot span { font: 0.65rem var(--mono); color: var(--acid); }
.console-foot strong { margin-top: 0.55rem; font-size: 0.86rem; font-weight: 600; }
.console-foot small { margin-top: 0.25rem; font-size: 0.75rem; color: var(--muted-dark); }
.hero-index { position: absolute; right: 1.15rem; bottom: 1.8rem; z-index: 4; display: flex; align-items: center; gap: 0.8rem; font: 0.65rem var(--mono); letter-spacing: 0.1em; color: var(--muted-dark); writing-mode: vertical-rl; }
.hero-index i { width: 1px; height: 54px; background: var(--line-dark); }

.signal-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line-dark); background: var(--cobalt); }
.signal-strip p { display: flex; min-height: 72px; align-items: center; gap: 1rem; border-right: 1px solid rgba(255,255,255,.26); padding: 0 clamp(1rem, 2.5vw, 2.5rem); font-size: 0.88rem; font-weight: 600; }
.signal-strip p:last-child { border: 0; }
.signal-strip span { font: 0.66rem var(--mono); color: rgba(255,255,255,.55); }

.section { display: grid; grid-template-columns: 180px 1fr; background: var(--paper); color: var(--ink); }
.section-rail { display: flex; min-height: 100%; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line-light); padding: clamp(2rem, 4vw, 4rem) 1.6rem; }
.section-rail span { font: 0.76rem var(--mono); color: var(--cobalt); }
.section-rail p { font: 0.74rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.approach-body, .principles-body { max-width: 1500px; padding: clamp(6rem, 11vw, 11rem) clamp(1.5rem, 7vw, 8rem); }
.kicker { font: 0.76rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--cobalt); }
.approach h2, .principles h2 { margin-top: 1.3rem; font-family: var(--serif); font-size: clamp(4rem, 8vw, 8.5rem); font-weight: 400; line-height: 0.86; letter-spacing: -0.07em; }
.approach h2 span, .principles h2 span { color: #797b75; }
.approach-notes { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 8vw, 9rem); margin-top: clamp(4rem, 9vw, 8rem); border-top: 1px solid var(--line-light); padding-top: 1.6rem; }
.approach-notes p { max-width: 600px; font-size: 1rem; line-height: 1.7; color: var(--muted-light); }
.approach-notes p:first-child { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 2.15rem); line-height: 1.3; letter-spacing: -0.03em; color: var(--ink); }

.process { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line-light); background: var(--paper); color: var(--ink); }
.process article { display: flex; min-height: 480px; flex-direction: column; border-right: 1px solid var(--line-light); padding: clamp(1.8rem, 3.5vw, 3.7rem); }
.process article:last-child { border: 0; }
.process-top { display: flex; align-items: center; gap: 1rem; font: 0.72rem var(--mono); color: var(--cobalt); }
.process-top i { width: 6px; height: 6px; border-radius: 50%; background: var(--cobalt); }
.process h3 { margin-top: auto; font-family: var(--serif); font-size: clamp(2.8rem, 4vw, 4.5rem); font-weight: 400; letter-spacing: -0.055em; }
.process p { max-width: 380px; margin-top: 1.3rem; font-size: 1rem; line-height: 1.62; color: var(--muted-light); }
.process small { margin-top: 3rem; border-top: 1px solid var(--line-light); padding-top: 1rem; font: 0.7rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-light); }

.exchange { display: grid; grid-template-columns: 1fr 1fr; }
.exchange-panel { display: flex; min-height: 820px; flex-direction: column; padding: clamp(2rem, 5vw, 5rem); }
.owner-panel { background: #dcded9; color: var(--ink); }
.brand-panel { background: var(--cobalt); color: #fff; }
.panel-meta { border-bottom: 1px solid currentColor; padding-bottom: 1rem; color: inherit; opacity: 0.58; }
.panel-visual { position: relative; display: grid; width: min(330px, 70%); aspect-ratio: 1.35; place-items: center; align-self: flex-end; margin-top: clamp(3rem, 8vh, 6rem); border: 1px solid rgba(8,10,9,.22); }
.panel-visual>span { position: absolute; right: 0; bottom: -2rem; font: 0.67rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.record-stack { position: relative; width: 60%; height: 58%; }
.record-stack i { position: absolute; right: 0; left: 0; height: 28%; border: 1px solid var(--ink); background: #dcded9; }
.record-stack i:nth-child(1) { top: 0; transform: translate(-18px,-18px); opacity: .25; }.record-stack i:nth-child(2) { top: 0; transform: translate(-12px,-12px); opacity: .4; }.record-stack i:nth-child(3) { top: 0; transform: translate(-6px,-6px); opacity: .65; }.record-stack i:nth-child(4) { top: 0; }.record-stack i:nth-child(5) { top: 45%; height: 55%; background: var(--acid); }
.audience-visual { border-color: rgba(255,255,255,.32); }
.audience-rings { position: relative; width: 74%; aspect-ratio: 1; }
.audience-rings i { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; }
.audience-rings i:nth-child(2) { inset: 18%; }.audience-rings i:nth-child(3) { inset: 36%; background: var(--acid); border: 0; }
.audience-rings b { position: absolute; top: 49%; right: -20%; width: 42%; height: 2px; background: white; }
.exchange h2 { margin-top: auto; font-family: var(--serif); font-size: clamp(3.5rem, 5.7vw, 6.3rem); font-weight: 400; line-height: 0.88; letter-spacing: -0.065em; }
.exchange-panel>p:last-child { max-width: 590px; margin-top: 2rem; font-size: 1rem; line-height: 1.7; opacity: 0.65; }

.principles-body { width: 100%; }
.rule-list { margin-top: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line-light); }
.rule-list article { display: grid; grid-template-columns: 60px minmax(230px,.8fr) 1fr auto; align-items: center; gap: 1.5rem; min-height: 104px; border-bottom: 1px solid var(--line-light); }
.rule-list span { font: 0.72rem var(--mono); color: var(--cobalt); }
.rule-list h3 { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 400; letter-spacing: -0.025em; }
.rule-list p { color: var(--muted-light); }
.rule-list i { border: 1px solid var(--line-light); border-radius: 100px; padding: 0.45rem 0.7rem; font: 0.65rem var(--mono); font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-light); }

.contact { position: relative; min-height: 920px; overflow: hidden; padding: clamp(2rem, 5vw, 5rem) clamp(1.25rem, 5vw, 5rem) clamp(4rem, 7vw, 7rem); background: var(--ink); }
.contact-field { position: absolute; inset: 0; opacity: 0.6; background-image: linear-gradient(rgba(242,240,233,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(242,240,233,.07) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(circle at 72% 48%, black, transparent 54%); }
.contact-field i { position: absolute; border: 1px solid rgba(49,85,255,.55); border-radius: 50%; }
.contact-field i:nth-child(1) { top: 14%; right: 6%; width: 43vw; height: 43vw; }.contact-field i:nth-child(2) { top: 23%; right: 14%; width: 28vw; height: 28vw; }.contact-field i:nth-child(3) { top: 33%; right: 23%; width: 12vw; height: 12vw; background: rgba(49,85,255,.12); }.contact-field i:nth-child(4) { top: 39%; right: 28.5%; width: 9px; height: 9px; border: 0; background: var(--acid); box-shadow: 0 0 24px var(--acid); }
.contact-meta { position: relative; z-index: 2; border-bottom: 1px solid var(--line-dark); padding-bottom: 1rem; }
.contact-main { position: relative; z-index: 2; max-width: 1050px; margin-top: clamp(7rem, 14vh, 11rem); }
.contact h2 { margin-top: 1.4rem; font-family: var(--serif); font-size: clamp(4.5rem, 9vw, 9.7rem); font-weight: 400; line-height: 0.8; letter-spacing: -0.075em; }
.contact-main>p:last-child { max-width: 540px; margin-top: 2.5rem; font-size: 1rem; line-height: 1.7; color: var(--muted-dark); }
.contact-link { position: relative; z-index: 2; display: flex; max-width: 860px; align-items: center; justify-content: space-between; margin-top: clamp(5rem, 10vh, 8rem); border-bottom: 1px solid var(--paper); padding-bottom: 1rem; font-family: var(--serif); font-size: clamp(1.7rem, 3.6vw, 3.8rem); letter-spacing: -0.04em; }
.contact-link i { position: relative; width: 46px; height: 46px; border: 1px solid var(--paper); border-radius: 50%; transition: background 180ms ease, border-color 180ms ease; }
.contact-link i::before, .contact-link i::after { position: absolute; top: 50%; left: 50%; background: currentColor; content: ""; transform: translate(-50%,-50%); }
.contact-link i::before { width: 13px; height: 1px; }.contact-link i::after { width: 1px; height: 13px; }
.contact-link:hover { color: var(--acid); border-color: var(--acid); }
.contact-link:hover i { border-color: var(--acid); background: rgba(199,255,61,.08); }
.contact-note { position: relative; z-index: 2; margin-top: 1.1rem; font-size: 0.78rem; color: var(--muted-dark); }

footer { display: grid; min-height: 230px; grid-template-columns: 1fr 1fr 1.3fr auto; align-items: end; gap: 3rem; border-top: 1px solid var(--line-dark); padding: 3rem clamp(1.25rem, 4vw, 4.5rem); background: #050606; }
footer>p { font-size: 0.78rem; line-height: 1.6; color: var(--muted-dark); }
footer>p:nth-of-type(1) { font-family: var(--serif); font-size: 1rem; }
footer>a:last-child { border-bottom: 1px solid var(--muted-dark); padding-bottom: 0.35rem; font-size: 0.75rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms cubic-bezier(.16,1,.3,1), transform 700ms cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.process article:nth-child(2), .rule-list article:nth-child(2) { transition-delay: 80ms; }
.process article:nth-child(3), .rule-list article:nth-child(3) { transition-delay: 160ms; }
.rule-list article:nth-child(4) { transition-delay: 240ms; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 780px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .signal-console { min-height: auto; margin-block: 6rem; }
  .hero-index { display: none; }
  .exchange-panel { min-height: 720px; }
  .section { grid-template-columns: 120px 1fr; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .topbar { height: 68px; grid-template-columns: 1fr auto; }
  .topbar nav { display: none; }
  .topbar-cta span { display: none; }
  .hero { padding-top: 68px; }
  .hero-grid { top: 68px; }
  .hero-copy { min-height: 700px; padding-top: 2rem; }
  .overline span:last-child { display: none; }
  .hero h1 { padding-block: 5rem; font-size: clamp(4.3rem, 19vw, 6.5rem); line-height: .8; }
  .hero-intro { grid-template-columns: 1fr; gap: 2rem; }
  .hero-intro a { width: max-content; }
  .signal-console { width: calc(100% - 2rem); margin-block: 3rem; }
  .console-field { min-height: 360px; }
  .orbit-two { width: 290px; height: 290px; }
  .node { font-size: .58rem; }
  .node-a,.node-c { left: 3%; }.node-b,.node-d { right: 3%; }
  .signal-strip { grid-template-columns: 1fr 1fr; }
  .signal-strip p:nth-child(2) { border-right: 0; }
  .signal-strip p:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.26); }
  .section { grid-template-columns: 1fr; }
  .section-rail { min-height: auto; flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line-light); padding: 1.2rem; }
  .section-rail p { writing-mode: initial; transform: none; }
  .approach-body,.principles-body { padding: 5rem 1.25rem; }
  .approach h2,.principles h2 { font-size: clamp(3.5rem, 16vw, 5.2rem); }
  .approach-notes,.process,.exchange { grid-template-columns: 1fr; }
  .process article { min-height: 380px; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .process article:last-child { border-bottom: 0; }
  .exchange-panel { min-height: 680px; }
  .panel-visual { width: 60%; }
  .rule-list article { grid-template-columns: 42px 1fr; gap: .8rem; padding: 1.2rem 0; }
  .rule-list article p,.rule-list article i { grid-column: 2; }
  .rule-list article i { width: max-content; }
  .contact { min-height: 800px; }
  .contact-meta span:last-child { display: none; }
  .contact h2 { font-size: clamp(4rem, 18vw, 6rem); }
  .contact-field i:nth-child(1) { width: 85vw; height: 85vw; }
  .contact-field i:nth-child(2) { width: 58vw; height: 58vw; }
  .contact-field i:nth-child(3) { width: 26vw; height: 26vw; }
  .contact-link { font-size: clamp(1.5rem, 7vw, 2.4rem); }
  .contact-link i { width: 38px; height: 38px; }
  footer { grid-template-columns: 1fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
