
@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/geist-20260728h.woff2) format("woff2");
}

/* Graphite: the console's zero-chroma palette (console/src/index.css),
   flattened to the handful of tokens this page needs. The accent is not a
   hue: it is the far end of the ramp, near-black on light and near-white on
   dark, so "accented" elements read as inversions. */
:root {
  color-scheme: light dark;
  --canvas: #fafafa;
  --ink: #171717;
  --muted: #555555;
  --line: #dadada;
  --panel: #efefef;
  --accent: #1f1f1f;
  --accent-ink: #fafafa;
  --accent-muted: #a3a3a3;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #111111;
    --ink: #f4f4f4;
    --muted: #a3a3a3;
    --line: #373737;
    --panel: #1a1a1a;
    --accent: #f0f0f0;
    --accent-ink: #1a1a1a;
    --accent-muted: #555555;
  }
}

* { box-sizing: border-box; }
html {
  background: var(--canvas);
  font-family: Geist, "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
}
html, body { overflow-x: clip; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

.page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  width: min(100% - 48px, 1500px);
  margin-inline: auto;
}

.nav, .footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav {
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  color: transparent;
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1;
  transition: color 350ms ease;
  -webkit-text-stroke: 1.1px var(--ink);
}

.logo span {
  color: var(--accent);
  -webkit-text-stroke: 0;
}

.brand:hover .logo,
.brand:focus-visible .logo {
  color: var(--ink);
}

.descriptor {
  margin-left: 10px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 450;
  letter-spacing: 0;
}

.main {
  display: grid;
  min-height: calc(100dvh - 148px);
  grid-template-columns: minmax(0, 1.08fr) minmax(470px, .92fr);
  align-items: stretch;
  gap: clamp(36px, 5vw, 84px);
  padding-block: clamp(38px, 5vh, 64px);
}

.intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: clamp(0px, 3vw, 48px);
}

.kicker {
  margin: 0 0 32px;
  color: var(--muted);
  font: 600 11px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  max-width: 830px;
  margin: 0;
  font-size: clamp(50px, 4.5vw, 74px);
  font-weight: 650;
  letter-spacing: -.072em;
  line-height: .9;
}

h1 > span { display: block; }
h1 .accented {
  width: max-content;
  max-width: 100%;
}

h1 .node {
  display: inline-block;
  padding: .02em .14em .09em;
  border-radius: .16em;
  background: var(--accent);
  color: var(--accent-ink);
}

.lede {
  max-width: 520px;
  margin: 36px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -.025em;
  line-height: 1.42;
}

.system {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  margin-right: calc(-1 * max(24px, (100vw - 1500px) / 2));
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 24px 0 0 24px;
  background:
    radial-gradient(color-mix(in srgb, var(--line) 55%, var(--panel)) 1px, transparent 1.5px) 0 0 / 26px 26px,
    var(--panel);
  transition: border-color 400ms ease;
}

.system:hover {
  border-color: color-mix(in srgb, var(--line) 60%, var(--ink));
}

.system::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 22%);
  content: "";
  pointer-events: none;
}

#system-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-caption {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  color: var(--muted);
  font: 500 11px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.map-caption span:last-child { color: var(--ink); }

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

.section {
  border-top: 1px solid var(--line);
  padding-block: clamp(72px, 9vh, 112px);
}

.marquee {
  overflow: hidden;
  margin-bottom: clamp(48px, 6vh, 72px);
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-group {
  display: flex;
  gap: clamp(40px, 5vw, 88px);
  padding-right: clamp(40px, 5vw, 88px);
}

.marquee span {
  color: transparent;
  font-size: clamp(64px, 8vw, 128px);
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1;
  white-space: nowrap;
  -webkit-text-stroke: 1.5px var(--muted);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.pieces {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.piece {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: clamp(220px, 26vh, 280px);
  padding: clamp(26px, 2.6vw, 40px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  transition:
    transform 450ms cubic-bezier(.16, 1, .3, 1),
    border-color 450ms ease;
}

.piece:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--line) 45%, var(--ink));
}

.piece h3 {
  margin: 0;
  color: var(--muted);
  font: 600 13px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .08em;
}

.piece p {
  max-width: 30ch;
  margin: 0;
  font-size: clamp(17px, 1.3vw, 20px);
  letter-spacing: -.02em;
  line-height: 1.45;
}

.piece:nth-child(1) {
  grid-column: span 7;
  border-color: transparent;
  background: var(--accent);
}

.piece:nth-child(1) h3 { color: var(--accent-muted); }

.piece:nth-child(1) p {
  max-width: 22ch;
  color: var(--accent-ink);
  font-size: clamp(24px, 2vw, 31px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.25;
}

.piece:nth-child(2) { grid-column: span 5; }

.piece:nth-child(3) { grid-column: span 5; }

.piece:nth-child(4) {
  grid-column: span 7;
  background:
    radial-gradient(color-mix(in srgb, var(--line) 55%, var(--panel)) 1px, transparent 1.5px) 0 0 / 26px 26px,
    var(--panel);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms cubic-bezier(.16, 1, .3, 1),
    transform 700ms cubic-bezier(.16, 1, .3, 1);
}

.js .piece:nth-child(2) { transition-delay: 70ms; }
.js .piece:nth-child(3) { transition-delay: 140ms; }
.js .piece:nth-child(4) { transition-delay: 210ms; }

.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(40px, 6vh, 64px) 28px;
}

.wordmark {
  margin: 0 0 clamp(56px, 9vh, 96px);
  color: transparent;
  font-size: clamp(90px, 14.5vw, 220px);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: .85;
  -webkit-text-stroke: 1px var(--line);
}

.wordmark span {
  color: var(--accent);
  -webkit-text-stroke: 0;
}

.footer-row {
  color: var(--muted);
  font-size: 12px;
}

.footer p { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  .kicker, h1 > span, .lede {
    animation: rise 760ms cubic-bezier(.16, 1, .3, 1) both;
  }
  h1 > span:first-child { animation-delay: 70ms; }
  h1 .accented { animation-delay: 150ms; }
  .lede { animation-delay: 260ms; }
  .system {
    animation: enter 720ms 180ms cubic-bezier(.16, 1, .3, 1) both;
  }
  .marquee-track {
    animation: marquee 32s linear infinite;
  }
  @keyframes rise {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes enter {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 1100px) {
  .main {
    grid-template-columns: 1fr;
    padding-block: 56px 40px;
  }
  .intro { padding-left: 0; }
  h1 { max-width: 760px; font-size: clamp(56px, 9.5vw, 78px); }
  .system { min-height: min(62dvh, 620px); }
}

@media (max-width: 760px) {
  .pieces { grid-template-columns: 1fr; }
  .pieces .piece { grid-column: auto; min-height: 220px; gap: 36px; }
  .piece p { max-width: none; }
}

@media (max-width: 600px) {
  .page { width: min(100% - 32px, 560px); }
  .nav { min-height: 64px; }
  .section { padding-block: 56px; }
  .descriptor { display: none; }
  .main { min-height: auto; gap: 42px; padding-block: 48px 32px; }
  .kicker { margin-bottom: 24px; }
  h1 { font-size: clamp(46px, 13vw, 64px); line-height: .92; }
  h1 .accented { width: auto; }
  .lede { margin-top: 26px; font-size: 18px; }
  .system {
    min-height: 430px;
    margin-right: calc(-1 * max(16px, (100vw - 560px) / 2));
    border-radius: 18px 0 0 18px;
  }
  .footer-row p:first-child { max-width: 200px; }
}
