@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Manrope:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,300;6..72,400;6..72,500&display=swap");

:root {
  color-scheme: dark;
  --ink: #0b0c0a;
  --ink-2: #10120f;
  --ink-3: #171a15;
  --paper: #eeeade;
  --paper-dim: #aaa99f;
  --line: rgba(238, 234, 222, 0.16);
  --line-strong: rgba(238, 234, 222, 0.32);
  --acid: #c8ff3d;
  --orange: #ff6b3d;
  --blue: #6888ff;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --sans: "Manrope", Inter, system-ui, sans-serif;
  --serif: "Newsreader", Iowan Old Style, Baskerville, Georgia, serif;
  --shell: min(1320px, calc(100vw - 64px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 100% 0%, rgba(104, 136, 255, 0.08), transparent 24rem),
    var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
::selection { color: var(--ink); background: var(--acid); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 15px;
  color: var(--ink);
  background: var(--acid);
  font-family: var(--mono);
  font-size: 12px;
}
.skip-link:focus { transform: translateY(0); }

.reading-progress {
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
}
.reading-progress span { display: block; width: 0; height: 100%; background: var(--acid); }

.section-shell { width: var(--shell); margin-inline: auto; }
.section-pad { padding-block: 150px; }

.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 50%;
  display: flex;
  width: var(--shell);
  height: 94px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  border-bottom: 1px solid var(--line);
}
.wordmark { display: inline-flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.wordmark-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: var(--ink);
  background: var(--acid);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}
.wordmark small {
  margin-left: 5px;
  color: var(--paper-dim);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { color: var(--paper-dim); font-size: 12px; font-weight: 600; transition: color 160ms ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--paper); }
.site-nav .nav-cta {
  padding: 11px 14px;
  color: var(--paper);
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.menu-toggle { display: none; }

.hero {
  display: grid;
  min-height: 900px;
  padding-top: 174px;
  padding-bottom: 48px;
  grid-template-columns: 1.03fr 0.97fr;
  grid-template-rows: 1fr auto;
  column-gap: 64px;
  border-inline: 1px solid var(--line);
}
.hero-copy { align-self: center; padding-left: 48px; }
.eyebrow,
.section-kicker {
  color: var(--paper-dim);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 34px; }
.signal-dot { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--acid); }
.signal-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--acid);
  border-radius: 50%;
  animation: pulse 2.1s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }
.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(64px, 6.2vw, 105px);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.88;
}
.hero h1 em { color: var(--acid); font-weight: 300; }
.hero-dek { max-width: 620px; margin: 36px 0 0; color: #c2c0b8; font-family: var(--serif); font-size: 23px; line-height: 1.42; }
.hero-actions { display: flex; margin-top: 44px; align-items: center; gap: 28px; }
.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(200, 255, 61, 0.12); }
.button-primary { color: var(--ink); background: var(--acid); }
.text-link { color: var(--paper-dim); font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; }
.text-link span { display: inline-block; margin-left: 8px; color: var(--acid); }

.hero-visual {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  margin-right: 24px;
  overflow: hidden;
  background:
    linear-gradient(rgba(238, 234, 222, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 234, 222, 0.035) 1px, transparent 1px),
    #0e100d;
  background-size: 32px 32px;
  border: 1px solid var(--line);
}
.visual-meta, .visual-caption {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  display: flex;
  justify-content: space-between;
  color: #777b70;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.visual-meta { top: 20px; }
.visual-caption { bottom: 20px; }
.live-label { display: flex; align-items: center; gap: 6px; color: var(--acid); }
.live-label i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 9px currentColor; }
.topology { width: min(100%, 650px); overflow: visible; }
.orbit-lines { stroke: rgba(238, 234, 222, 0.09); stroke-width: 1; stroke-dasharray: 3 6; }
.branches { stroke: url(#trunk); stroke-width: 1.5; opacity: 0.55; }
.core-ring { fill: none; stroke: rgba(200, 255, 61, 0.5); stroke-width: 1; stroke-dasharray: 3 5; }
.core-fill { fill: #151812; stroke: rgba(238, 234, 222, 0.22); }
.core text { fill: #b8baaf; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; }
.core text:last-child { fill: var(--acid); font-size: 15px; }
.core-ring { transform-origin: center; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.processes circle { fill: var(--acid); }
.processes circle:nth-child(2n) { fill: var(--blue); animation: nodePulse 2.7s ease-in-out infinite alternate; }
@keyframes nodePulse { to { opacity: 0.35; transform: scale(1.8); transform-origin: center; } }
.root-ring { fill: none; stroke: var(--acid); stroke-width: 1.5; }
.root-fill { fill: #11150d; stroke: rgba(200, 255, 61, 0.3); }
.root path { fill: none; stroke: var(--acid); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.root text { fill: var(--paper-dim); font-family: var(--mono); font-size: 8px; letter-spacing: 0.12em; }

.hero-stats {
  display: grid;
  margin-top: 48px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.hero-stats div { display: flex; min-height: 112px; padding: 24px 32px; align-items: flex-end; gap: 16px; border-right: 1px solid var(--line); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats strong { font-family: var(--serif); font-size: 44px; font-weight: 300; line-height: 0.8; }
.hero-stats span { max-width: 90px; color: var(--paper-dim); font-family: var(--mono); font-size: 8px; line-height: 1.5; letter-spacing: 0.06em; text-transform: uppercase; }

.ticker { overflow: hidden; color: var(--ink); background: var(--acid); border-block: 1px solid var(--acid); }
.ticker-track { display: flex; width: max-content; height: 46px; align-items: center; animation: ticker 30s linear infinite; }
.ticker span { margin: 0 22px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; }
.ticker i { font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.thesis { border-inline: 1px solid var(--line); }
.thesis > .section-kicker { margin: 0 48px 56px; }
.thesis-grid { display: grid; padding: 0 48px; grid-template-columns: 1.15fr 0.85fr; gap: 100px; }
.display-quote { margin: 0; font-family: var(--serif); font-size: clamp(55px, 6.2vw, 96px); font-weight: 300; letter-spacing: -0.05em; line-height: 0.95; }
.display-quote::first-letter { color: var(--acid); }
.thesis-copy { padding-top: 12px; }
.thesis-copy p { margin: 0 0 24px; color: var(--paper-dim); font-size: 15px; line-height: 1.8; }
.thesis-copy .lead { color: var(--paper); font-family: var(--serif); font-size: 25px; line-height: 1.45; }

.architecture { background: var(--paper); color: var(--ink); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; }
.section-heading h2 { margin: 20px 0 0; font-family: var(--serif); font-size: clamp(52px, 5.5vw, 84px); font-weight: 300; letter-spacing: -0.045em; line-height: 0.95; }
.section-heading p { max-width: 390px; margin: 0 0 8px; color: #56574f; font-size: 14px; line-height: 1.7; }
.architecture .section-kicker, .milestones .section-kicker { color: #686a61; }

.runtime-flow { display: grid; margin-top: 78px; grid-template-columns: 1fr 76px 1fr 76px 1fr 76px 1fr; }
.flow-node { display: grid; min-height: 158px; padding: 20px; align-content: space-between; background: #e4e0d3; border: 1px solid rgba(11, 12, 10, 0.18); }
.flow-node span, .flow-node small { font-family: var(--mono); font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase; }
.flow-node span { color: #6c6c64; }
.flow-node strong { align-self: end; font-family: var(--serif); font-size: 29px; font-weight: 400; }
.flow-node small { margin-top: 5px; color: #686a61; }
.flow-process { background: var(--acid); }
.flow-port { color: var(--paper); background: var(--ink); }
.flow-link { position: relative; display: grid; place-items: center; }
.flow-link::before { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; border-top: 1px solid #96988f; }
.flow-link::after { content: "→"; position: absolute; right: 7px; top: calc(50% - 11px); font-size: 17px; }
.flow-link span { z-index: 1; padding: 4px; background: var(--paper); font-family: var(--mono); font-size: 7px; letter-spacing: 0.08em; text-transform: uppercase; transform: translateY(-18px); }

.feature-grid { display: grid; margin-top: 30px; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(11, 12, 10, 0.22); border-left: 1px solid rgba(11, 12, 10, 0.22); }
.feature-card { position: relative; min-height: 420px; padding: 27px; border-right: 1px solid rgba(11, 12, 10, 0.22); border-bottom: 1px solid rgba(11, 12, 10, 0.22); }
.card-index { color: #74766d; font-family: var(--mono); font-size: 9px; }
.feature-card svg { width: 80px; height: 80px; margin: 50px 0 34px; fill: none; stroke: var(--ink); stroke-width: 1.2; }
.feature-card h3 { margin: 0 0 15px; font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: -0.03em; }
.feature-card p { min-height: 66px; margin: 0; color: #5a5b54; font-size: 12px; line-height: 1.65; }
.feature-card ul { display: flex; margin: 28px 0 0; padding: 0; gap: 15px; list-style: none; }
.feature-card li { padding-top: 8px; border-top: 1px solid rgba(11,12,10,.2); font-family: var(--mono); font-size: 7px; letter-spacing: .05em; text-transform: uppercase; }

.field-note { border-inline: 1px solid var(--line); }
.article-header { display: grid; padding: 0 48px 110px; grid-template-columns: 1fr 2fr; column-gap: 60px; }
.article-meta { display: flex; flex-direction: column; gap: 8px; color: var(--paper-dim); font-family: var(--mono); font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase; }
.article-header h2 { margin: -14px 0 0; font-family: var(--serif); font-size: clamp(72px, 9.5vw, 148px); font-weight: 300; letter-spacing: -0.06em; line-height: 0.79; }
.article-header p { max-width: 580px; margin: 36px 0 0; grid-column: 2; color: var(--paper-dim); font-family: var(--serif); font-size: 24px; line-height: 1.45; }
.article-layout { display: grid; padding: 0 48px; grid-template-columns: 1fr 2fr; column-gap: 60px; }
.article-aside { border-top: 1px solid var(--line); }
.aside-sticky { position: sticky; top: 34px; display: flex; padding-top: 24px; flex-direction: column; align-items: flex-start; gap: 14px; }
.aside-sticky span { margin-bottom: 10px; color: var(--paper-dim); font-family: var(--mono); font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase; }
.aside-sticky a { padding-bottom: 4px; color: #75776f; border-bottom: 1px solid transparent; font-family: var(--mono); font-size: 9px; }
.aside-sticky a:hover { color: var(--acid); border-color: var(--acid); }
.article-body { max-width: 800px; }
.article-intro { margin: 0 0 110px; font-family: var(--serif); font-size: 34px; letter-spacing: -0.02em; line-height: 1.35; }
.article-intro::first-letter { float: left; margin: 8px 12px 0 0; color: var(--acid); font-family: var(--serif); font-size: 86px; line-height: 0.72; }
.note-section { position: relative; padding: 0 0 100px 76px; border-left: 1px solid var(--line); }
.note-num { position: absolute; top: 4px; left: 0; width: 76px; color: var(--acid); font-family: var(--mono); font-size: 9px; text-align: center; }
.note-section h3 { margin: 0 0 28px; font-family: var(--serif); font-size: 45px; font-weight: 300; letter-spacing: -0.035em; line-height: 1; }
.note-section p { margin: 0 0 28px; color: #aaa99f; font-size: 15px; line-height: 1.8; }
.note-section code { padding: 2px 5px; color: var(--acid); background: rgba(200,255,61,.07); font-family: var(--mono); font-size: .86em; }
.note-section blockquote { margin: 45px 0 0; padding: 28px 0 0; color: var(--paper); border-top: 1px solid var(--line); font-family: var(--serif); font-size: 27px; line-height: 1.4; }
.callout { display: flex; margin-top: 44px; padding: 24px; align-items: center; gap: 28px; color: var(--ink); background: var(--acid); }
.callout span { font-family: var(--mono); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.callout strong { font-family: var(--serif); font-size: 21px; font-weight: 400; }
.bug-ledger { margin-top: 44px; border: 1px solid var(--line); }
.ledger-title { display: flex; padding: 15px 18px; justify-content: space-between; color: var(--paper-dim); background: var(--ink-3); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 8px; letter-spacing: .07em; text-transform: uppercase; }
.ledger-title span:last-child { color: var(--orange); }
.bug-ledger ul { margin: 0; padding: 0; list-style: none; }
.bug-ledger li { display: grid; min-height: 64px; padding: 12px 18px; align-items: center; grid-template-columns: 52px 1fr; border-bottom: 1px solid var(--line); }
.bug-ledger li:last-child { border-bottom: 0; }
.bug-ledger li > span { color: #65685e; font-family: var(--mono); font-size: 9px; }
.bug-ledger li p { margin: 0; color: var(--paper-dim); font-size: 12px; }
.bug-ledger li strong { color: var(--paper); }
.terminal { position: relative; margin-top: 45px; overflow: hidden; background: #070806; border: 1px solid #34382e; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.terminal-bar { display: flex; height: 42px; padding: 0 14px; align-items: center; gap: 7px; color: #60645a; background: #11130f; border-bottom: 1px solid #262a22; }
.terminal-bar i { width: 7px; height: 7px; border-radius: 50%; background: #34382e; }
.terminal-bar i:first-child { background: var(--orange); }
.terminal-bar span { margin-left: 8px; font-family: var(--mono); font-size: 8px; }
.terminal pre { overflow-x: auto; margin: 0; padding: 27px 27px 74px; color: #b9baaf; font-family: var(--mono); font-size: 11px; line-height: 1.85; }
.term-green, .term-bright { color: var(--acid); }
.term-bright { text-shadow: 0 0 10px rgba(200,255,61,.4); }
.term-dim { color: #55594f; }
.copy-command { position: absolute; right: 14px; bottom: 14px; padding: 8px 11px; color: #888b81; background: transparent; border: 1px solid #353a2f; font-family: var(--mono); font-size: 8px; cursor: pointer; }
.copy-command:hover { color: var(--acid); border-color: var(--acid); }
.article-footer { margin-left: 76px; padding: 50px 0 0; border-top: 1px solid var(--line); }
.article-footer span { display: block; margin-bottom: 18px; color: var(--orange); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.article-footer strong { display: block; font-family: var(--serif); font-size: 37px; font-weight: 300; }
.article-footer p { color: var(--paper-dim); font-size: 13px; }

.milestones { color: var(--ink); background: var(--acid); }
.milestone-list { margin: 80px 0 0; padding: 0; border-top: 1px solid rgba(11,12,10,.35); list-style: none; }
.milestone-list li { display: grid; min-height: 72px; padding: 0 16px; align-items: center; grid-template-columns: 90px 1fr 1fr; border-bottom: 1px solid rgba(11,12,10,.22); transition: background 160ms ease, padding 160ms ease; }
.milestone-list li:hover { padding-inline: 24px; background: rgba(238,234,222,.28); }
.milestone-list span, .milestone-list small { font-family: var(--mono); font-size: 8px; letter-spacing: .07em; text-transform: uppercase; }
.milestone-list strong { font-family: var(--serif); font-size: 26px; font-weight: 400; }
.milestone-list small { color: #4d5147; }
.milestone-list .is-current { background: var(--ink); color: var(--paper); }
.milestone-list .is-current span { color: var(--acid); }
.milestone-list .is-current small { color: var(--paper-dim); }

.more-notes .section-heading { align-items: flex-start; }
.notes-grid { display: grid; margin-top: 80px; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.note-card { position: relative; display: flex; min-height: 520px; padding: 28px; flex-direction: column; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); }
.note-card[href] { transition: border-color 180ms ease, transform 180ms ease, background 180ms ease; }
.note-card[href]:hover, .note-card[href]:focus-visible { transform: translateY(-4px); background: #13160f; border-color: rgba(200,255,61,.5); outline: none; }
.note-card-wide { grid-column: 1 / -1; min-height: 540px; }
.note-card-top { display: flex; justify-content: space-between; color: #6e7167; font-family: var(--mono); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.note-card h3 { max-width: 810px; margin: auto 0 18px; font-family: var(--serif); font-size: clamp(40px, 5vw, 70px); font-weight: 300; letter-spacing: -.045em; line-height: .96; }
.note-card:not(.note-card-wide) h3 { font-size: 48px; }
.note-card p { max-width: 650px; margin: 0 0 36px; color: var(--paper-dim); font-size: 13px; line-height: 1.7; }
.card-link { padding-top: 16px; color: var(--acid); border-top: 1px solid var(--line); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.card-link b { float: right; font-size: 12px; font-weight: 400; }
.output-card { min-height: 680px; background: linear-gradient(135deg,#0e100d 0%,#10120f 45%,#0f1022 100%); }
.output-card h3 { max-width: 680px; }
.output-card > p { max-width: 610px; }
.output-preview { position: absolute; top: 72px; right: 50px; width: min(45%, 560px); padding: 14px; background: #080907; border: 1px solid #34372f; box-shadow: 0 28px 70px rgba(0,0,0,.42); }
.output-preview::before { content: ""; position: absolute; inset: 42px 14px 33px; z-index: 2; pointer-events: none; background: repeating-linear-gradient(0deg,rgba(255,255,255,.025) 0,rgba(255,255,255,.025) 1px,transparent 1px,transparent 4px); }
.output-preview img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; image-rendering: pixelated; border: 1px solid #23261f; }
.output-chrome, .output-readout { display: flex; height: 28px; align-items: center; justify-content: space-between; color: #696d63; font-family: var(--mono); font-size: 6px; letter-spacing: .08em; text-transform: uppercase; }
.output-readout { height: 19px; padding-top: 7px; }
.output-readout span { padding-right: 10px; }
.output-readout span:last-child { margin-left: auto; padding-right: 0; color: var(--acid); }
.plan-card { min-height: 590px; background: linear-gradient(135deg, #11140e 0%, #0e100d 60%, #14172a 100%); }
.plan-card::after { content: "M11"; position: absolute; right: 20px; bottom: -45px; color: rgba(238,234,222,.025); font-family: var(--serif); font-size: 260px; letter-spacing: -.08em; line-height: 1; pointer-events: none; }
.plan-illustration { position: absolute; top: 95px; right: 54px; display: flex; align-items: center; gap: 18px; }
.plan-illustration > span { display: flex; width: 112px; height: 112px; align-items: center; justify-content: center; flex-direction: column; border: 1px solid rgba(200,255,61,.4); border-radius: 50%; background: rgba(11,12,10,.65); }
.plan-illustration > span:nth-of-type(2) { border-color: rgba(255,107,61,.5); }
.plan-illustration > span:nth-of-type(3) { border-color: rgba(104,136,255,.65); }
.plan-illustration b { color: var(--paper); font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .06em; }
.plan-illustration small { margin-top: 7px; color: #707469; font-family: var(--mono); font-size: 6px; letter-spacing: .06em; text-transform: uppercase; }
.plan-illustration i { color: #595d54; font-style: normal; }
.note-illustration { position: absolute; top: 110px; right: 55px; display: flex; align-items: center; }
.packets span { display: grid; width: 72px; height: 72px; place-items: center; color: var(--acid); border: 1px solid #55623a; border-radius: 50%; font-family: var(--mono); font-size: 9px; }
.packets i { display: block; width: 35px; border-top: 1px solid #55623a; }
.note-glyph { display: flex; margin: 74px auto 20px; align-items: flex-end; color: var(--acid); font-family: var(--serif); font-size: 110px; font-weight: 300; line-height: 1; }
.note-glyph small { margin: 0 0 20px 6px; font-family: var(--mono); font-size: 9px; }
.note-glyph-split { align-items: center; gap: 28px; font-family: var(--mono); font-size: 17px; }
.note-glyph-split b { display: grid; width: 88px; height: 88px; place-items: center; border: 1px solid #55623a; border-radius: 50%; font-weight: 400; }
.note-glyph-split span { color: #6e7167; }

.closing { display: grid; min-height: 400px; padding: 70px 48px; align-items: center; grid-template-columns: 1.1fr .8fr auto; gap: 65px; background: var(--blue); border: 1px solid #839cff; }
.closing h2 { margin: 18px 0 0; font-family: var(--serif); font-size: 72px; font-weight: 300; letter-spacing: -.05em; line-height: .9; }
.closing p { color: #deddd6; font-size: 14px; line-height: 1.7; }
.closing .button-primary { white-space: nowrap; }

.site-footer { padding: 100px 0 45px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; border-top: 1px solid var(--line); padding-top: 38px; }
.footer-wordmark { margin-bottom: 22px; }
.footer-grid p { color: #74776d; font-family: var(--mono); font-size: 9px; line-height: 1.7; }
.footer-links { display: grid; align-content: start; justify-content: center; gap: 12px; }
.footer-links a, .footer-meta span { color: #74776d; font-family: var(--mono); font-size: 8px; letter-spacing: .06em; text-transform: uppercase; }
.footer-links a:hover { color: var(--acid); }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms cubic-bezier(.22,1,.36,1), transform 700ms cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  :root { --shell: min(100% - 36px, 960px); }
  .site-nav { gap: 18px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .hero { min-height: 0; padding-top: 145px; grid-template-columns: 1fr; }
  .hero-copy { padding: 60px 48px 90px; }
  .hero h1 { max-width: 800px; }
  .hero-visual { height: min(720px, 90vw); margin: 0 24px; }
  .hero-stats { grid-column: 1; }
  .thesis-grid { grid-template-columns: 1fr; gap: 60px; }
  .runtime-flow { grid-template-columns: 1fr 45px 1fr; row-gap: 30px; }
  .runtime-flow > :nth-child(4) { display: none; }
  .runtime-flow > :nth-child(n+5) { grid-row: 2; }
  .runtime-flow > :nth-child(5) { grid-column: 1; }
  .runtime-flow > :nth-child(6) { grid-column: 2; }
  .runtime-flow > :nth-child(7) { grid-column: 3; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .article-header, .article-layout { grid-template-columns: 220px 1fr; }
  .closing { grid-template-columns: 1fr 1fr; }
  .closing .button { justify-self: start; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100% - 24px); }
  .section-pad { padding-block: 92px; }
  .site-header { height: 72px; }
  .wordmark small { display: none; }
  .menu-toggle { display: flex; width: 38px; height: 38px; padding: 10px; flex-direction: column; justify-content: center; gap: 4px; background: transparent; border: 1px solid var(--line); }
  .menu-toggle span:not(.sr-only) { display: block; width: 100%; border-top: 1px solid var(--paper); transition: transform 160ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 72px 0 auto; display: none; padding: 30px; flex-direction: column; align-items: flex-start; background: var(--ink); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.nav-cta) { display: block; font-family: var(--serif); font-size: 30px; }
  .hero { padding-top: 72px; border-inline: 0; }
  .hero-copy { padding: 72px 14px 64px; }
  .hero h1 { font-size: clamp(57px, 17vw, 76px); }
  .hero-dek { font-size: 19px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { height: calc(100vw - 24px); margin: 0; }
  .visual-caption { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats div { min-height: 100px; padding: 20px 14px; border-bottom: 1px solid var(--line); }
  .hero-stats div:nth-child(2) { border-right: 0; }
  .ticker-track { height: 40px; }
  .thesis { border-inline: 0; }
  .thesis > .section-kicker { margin-inline: 14px; }
  .thesis-grid { padding-inline: 14px; gap: 45px; }
  .display-quote { font-size: 51px; }
  .thesis-copy .lead { font-size: 22px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 28px; }
  .section-heading h2 { font-size: 54px; }
  .runtime-flow { grid-template-columns: 1fr; }
  .runtime-flow > * { grid-column: 1 !important; grid-row: auto !important; }
  .runtime-flow .flow-link { height: 42px; transform: rotate(90deg); }
  .runtime-flow > :nth-child(4) { display: grid; }
  .flow-node { min-height: 125px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 380px; }
  .article-header { display: block; padding: 0 14px 75px; }
  .article-meta { margin-bottom: 38px; }
  .article-header h2 { font-size: 74px; }
  .article-header p { font-size: 21px; }
  .article-layout { display: block; padding: 0 14px; }
  .article-aside { display: none; }
  .article-intro { margin-bottom: 80px; font-size: 27px; }
  .note-section { padding: 0 0 80px 36px; }
  .note-num { width: 36px; transform: translateX(-4px); }
  .note-section h3 { font-size: 38px; }
  .callout { align-items: flex-start; flex-direction: column; gap: 10px; }
  .bug-ledger li { grid-template-columns: 34px 1fr; }
  .terminal { margin-left: -36px; }
  .terminal pre { padding-inline: 18px; font-size: 9px; }
  .article-footer { margin-left: 36px; }
  .milestone-list li { grid-template-columns: 50px 1fr; padding-block: 15px; }
  .milestone-list small { margin-top: 6px; grid-column: 2; }
  .notes-grid { grid-template-columns: 1fr; }
  .note-card-wide { grid-column: auto; }
  .note-card { min-height: 490px; }
  .output-card { min-height: 670px; padding-top: 28px; }
  .output-preview { top: 82px; left: 22px; right: 22px; width: auto; }
  .output-card h3 { margin-top: auto; }
  .note-illustration { top: 100px; left: 22px; right: auto; transform: scale(.68); transform-origin: left center; }
  .plan-card { min-height: 560px; }
  .plan-illustration { top: 88px; left: 22px; right: auto; gap: 8px; transform: scale(.67); transform-origin: left center; }
  .plan-card::after { font-size: 160px; }
  .note-card h3, .note-card:not(.note-card-wide) h3 { font-size: 42px; }
  .closing { min-height: 560px; padding: 48px 26px; grid-template-columns: 1fr; gap: 30px; }
  .closing h2 { font-size: 61px; }
  .footer-grid { grid-template-columns: 1fr; gap: 45px; }
  .footer-links { justify-content: start; }
  .footer-meta { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Editorial homepage */
.journal-home { background: var(--ink); }
.home-site-header { position: absolute; }
.home-masthead {
  display: grid;
  min-height: 835px;
  padding: 178px 48px 48px;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, .62fr);
  grid-template-rows: 1fr auto;
  gap: 70px;
  border-inline: 1px solid var(--line);
}
.masthead-copy { align-self: center; }
.masthead-copy h1 {
  max-width: 850px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(90px, 10.6vw, 166px);
  font-weight: 300;
  letter-spacing: -.068em;
  line-height: .76;
}
.masthead-copy h1 em { display: block; color: var(--acid); font-weight: 300; }
.masthead-copy > p {
  max-width: 690px;
  margin: 48px 0 0;
  color: #bdbbb3;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.45;
}
.masthead-actions { display: flex; margin-top: 42px; align-items: center; gap: 28px; }
.masthead-ledger {
  display: flex;
  min-height: 430px;
  align-self: center;
  flex-direction: column;
  background: #10120f;
  border: 1px solid var(--line);
}
.ledger-heading {
  display: flex;
  min-height: 48px;
  padding: 0 18px;
  align-items: center;
  justify-content: space-between;
  color: #6e7167;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.masthead-ledger > a { display: flex; min-height: 262px; padding: 24px; flex-direction: column; transition: background 180ms ease; }
.masthead-ledger > a:hover { background: #141710; }
.masthead-ledger > a > span,
.masthead-ledger > a > small,
.ledger-totals span {
  color: #777a70;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .07em;
  line-height: 1.5;
  text-transform: uppercase;
}
.masthead-ledger > a > span { color: var(--acid); }
.masthead-ledger > a > strong {
  max-width: 330px;
  margin: auto 0 23px;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 300;
  letter-spacing: -.04em;
  line-height: .96;
}
.masthead-ledger > a > small { display: flex; align-items: center; justify-content: space-between; }
.masthead-ledger > a b { color: var(--acid); font-size: 12px; font-weight: 400; }
.ledger-totals { display: grid; margin-top: auto; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.ledger-totals div { display: flex; min-height: 91px; padding: 14px; flex-direction: column; border-right: 1px solid var(--line); }
.ledger-totals div:last-child { border-right: 0; }
.ledger-totals strong { margin-bottom: auto; font-family: var(--serif); font-size: 28px; font-weight: 300; }
.ledger-totals span { font-size: 6px; }
.masthead-index {
  display: flex;
  min-height: 54px;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  color: #70736a;
  border-block: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.masthead-index i { color: var(--acid); font-style: normal; }

.journal-index { padding-top: 125px; }
.journal-index .section-heading { padding-bottom: 70px; border-bottom: 1px solid var(--line); }
.journal-index .section-heading p { max-width: 410px; }
.journal-index .notes-grid { margin-top: 22px; }
.paper-card { min-height: 660px; color: var(--ink); background: var(--paper); border-color: rgba(11,12,10,.22); }
.paper-card[href]:hover,
.paper-card[href]:focus-visible { background: #f5f1e6; border-color: var(--acid); }
.paper-card .note-card-top { color: #6d6e66; }
.paper-card > h3 { max-width: 680px; }
.paper-card > p { color: #53554e; }
.paper-card .card-link { color: #405800; border-color: rgba(11,12,10,.22); }
.paper-folio {
  position: absolute;
  top: 78px;
  right: 46px;
  display: flex;
  width: min(42%, 480px);
  min-height: 330px;
  padding: 25px;
  flex-direction: column;
  border: 1px solid rgba(11,12,10,.3);
  box-shadow: 14px 14px 0 var(--acid);
}
.paper-folio::before { content: ""; position: absolute; top: 64px; left: 25px; right: 25px; border-top: 1px solid rgba(11,12,10,.22); }
.paper-folio span,
.paper-folio small { color: #606159; font-family: var(--mono); font-size: 7px; letter-spacing: .08em; line-height: 1.6; text-transform: uppercase; }
.paper-folio b { margin: auto 0 28px; font-family: var(--serif); font-size: 45px; font-weight: 300; letter-spacing: -.045em; line-height: .91; }
.smp-card { min-height: 590px; background: linear-gradient(135deg,#10120f,#0d100b 55%,#111529); }
.smp-constellation { position: absolute; top: 88px; right: 54px; display: grid; width: 360px; height: 215px; grid-template-columns: 1fr 1fr; place-items: center; }
.smp-constellation::before,
.smp-constellation::after { content: ""; position: absolute; background: rgba(200,255,61,.23); }
.smp-constellation::before { left: 50%; width: 1px; height: 100%; }
.smp-constellation::after { top: 50%; width: 100%; height: 1px; }
.smp-constellation span { z-index: 1; display: grid; width: 68px; height: 68px; place-items: center; color: var(--acid); background: #0f120d; border: 1px solid rgba(200,255,61,.5); border-radius: 50%; font-family: var(--mono); font-size: 10px; box-shadow: 0 0 0 9px rgba(200,255,61,.025); }
.smp-constellation i { position: absolute; z-index: 2; padding: 6px 9px; color: var(--ink); background: var(--acid); font-family: var(--mono); font-size: 6px; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.service-card { min-height: 620px; background: linear-gradient(135deg,#0e100d 0%,#10120f 52%,#171228 100%); }
.service-card::after { content: "05"; position: absolute; right: 20px; bottom: -50px; color: rgba(238,234,222,.025); font-family: var(--serif); font-size: 250px; line-height: 1; pointer-events: none; }
.service-card-flow { position: absolute; top: 100px; right: 50px; display: flex; align-items: center; gap: 13px; }
.service-card-flow > span { display: flex; width: 135px; height: 94px; padding: 14px; align-items: center; justify-content: center; flex-direction: column; background: rgba(11,12,10,.74); border: 1px solid var(--line); }
.service-card-flow small { margin-bottom: 11px; color: #72756c; font-family: var(--mono); font-size: 6px; letter-spacing: .07em; text-transform: uppercase; }
.service-card-flow b { font-family: var(--mono); font-size: 11px; font-weight: 400; }
.service-card-flow > i { color: #5b5e56; font-style: normal; }
.service-card-flow .service-card-active { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.service-card-flow .service-card-active small { color: #46532a; }
.home-footer { margin-top: 0; background: #070806; }

@media (max-width: 1080px) {
  .home-masthead { padding-inline: 36px; grid-template-columns: 1fr; gap: 35px; }
  .masthead-ledger { width: min(100%, 660px); min-height: 0; }
  .masthead-ledger > a { min-height: 230px; }
  .masthead-index { grid-column: 1; }
}

@media (max-width: 720px) {
  .home-masthead { min-height: auto; padding: 126px 14px 30px; border-inline: 0; }
  .masthead-copy h1 { font-size: clamp(79px, 25vw, 114px); }
  .masthead-copy > p { margin-top: 38px; font-size: 21px; }
  .masthead-actions { align-items: flex-start; flex-direction: column; }
  .masthead-ledger > a { min-height: 240px; padding: 20px; }
  .masthead-ledger > a > strong { font-size: 35px; }
  .masthead-index { gap: 8px; }
  .masthead-index span:nth-of-type(2), .masthead-index span:nth-of-type(3),
  .masthead-index i:nth-of-type(2), .masthead-index i:nth-of-type(3) { display: none; }
  .journal-index { padding-top: 90px; }
  .journal-index .section-heading { padding-bottom: 45px; }
  .journal-index .notes-grid { margin-top: 12px; }
  .paper-card { min-height: 700px; }
  .paper-folio { top: 75px; left: 22px; right: 22px; width: auto; min-height: 275px; box-shadow: 8px 8px 0 var(--acid); }
  .paper-folio b { font-size: 38px; }
  .paper-card h3 { margin-top: auto; }
  .smp-card { min-height: 600px; }
  .smp-constellation { top: 82px; left: 50%; right: auto; width: 290px; height: 195px; transform: translateX(-50%) scale(.85); }
  .smp-card h3 { margin-top: auto; }
  .service-card { min-height: 610px; }
  .service-card-flow { top: 88px; left: 22px; right: auto; gap: 7px; transform: scale(.67); transform-origin: left center; }
  .service-card h3 { margin-top: auto; }
  .service-card::after { font-size: 160px; }
}
