:root {
  --ink: #09111f;
  --ink-soft: #101b2c;
  --paper: #f3f0e8;
  --muted: #9da9b8;
  --line: rgba(211, 221, 233, 0.17);
  --blue: #69a8ff;
  --blue-bright: #96c1ff;
  --acid: #b7f397;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Geist", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
main { overflow: hidden; }

.site-header {
  width: min(1180px, calc(100% - 48px));
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark { display: flex; align-items: center; gap: 12px; font-weight: 650; letter-spacing: -.02em; }
.wordmark-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  border: 1px solid rgba(105,168,255,.6); border-radius: 50%; color: var(--blue-bright);
  font: 600 11px/1 "Geist Mono", monospace; letter-spacing: .08em;
}
nav { display: flex; gap: 30px; color: #c4ccd6; font-size: 14px; }
nav a, footer a { transition: color .2s ease; }
nav a:hover, footer a:hover { color: var(--blue-bright); }

.hero {
  width: min(1180px, calc(100% - 48px));
  min-height: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
  padding: 80px 0 96px;
}
.eyebrow, .section-kicker {
  margin: 0 0 22px;
  color: var(--blue-bright);
  font: 600 12px/1.2 "Geist Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 5px rgba(183,243,151,.08); }
.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(54px, 6.2vw, 92px);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 560;
}
.hero h1 em { color: var(--blue-bright); font-family: Georgia, serif; font-weight: 400; }
.hero-deck { max-width: 650px; margin: 34px 0 0; color: #b8c1cd; font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; min-width: 170px; padding: 14px 18px; border-radius: 4px; font-size: 14px; font-weight: 650; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--paper); color: var(--ink); }
.button-secondary { border: 1px solid var(--line); color: #d5dbe3; }

.system-card {
  position: relative;
  padding: 0 26px 28px;
  border: 1px solid rgba(105,168,255,.24);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(25,42,65,.74), rgba(10,18,31,.92));
  box-shadow: 0 34px 90px rgba(0,0,0,.28);
}
.system-card::before { content: ""; position: absolute; inset: -40px; z-index: -1; background: radial-gradient(circle at center, rgba(51,112,198,.13), transparent 66%); }
.terminal-bar { height: 48px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--line); }
.terminal-bar span { width: 7px; height: 7px; border-radius: 50%; background: #4b5b70; }
.terminal-bar span:first-child { background: #6d91c2; }
.terminal-bar code { margin-left: auto; color: #68778a; font: 500 10px/1 "Geist Mono", monospace; }
.system-stage { padding: 23px 22px; border: 1px solid var(--line); background: rgba(7,14,26,.28); }
.system-stage.active { border-color: rgba(105,168,255,.44); background: rgba(64,125,211,.08); }
.system-label { margin: 0 0 10px; color: #718197; font: 600 10px/1 "Geist Mono", monospace; letter-spacing: .09em; text-transform: uppercase; }
.system-stage strong { display: block; margin-bottom: 7px; font-size: 15px; font-weight: 620; }
.system-stage span { color: #8f9cad; font-size: 12px; line-height: 1.55; }
.flow-line { position: relative; height: 36px; display: grid; place-items: center; }
.flow-line i { position: absolute; width: 1px; height: 100%; background: var(--line); }
.flow-line b { z-index: 1; width: 22px; height: 22px; display: grid; place-items: center; background: #111e30; color: var(--blue); font-size: 12px; border-radius: 50%; }
.system-result { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: var(--blue); color: #061020; }
.system-result span { font: 700 9px/1 "Geist Mono", monospace; letter-spacing: .13em; }
.system-result strong { font-size: 13px; }

.manifesto, .capabilities, .work, .principles, .contact {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0;
  border-top: 1px solid var(--line);
}
.manifesto-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(60px, 10vw, 150px); }
.manifesto h2, .section-heading h2, .work h2, .contact h2 {
  margin: 0; font-size: clamp(38px, 4vw, 60px); line-height: 1.08; letter-spacing: -.045em; font-weight: 540;
}
.manifesto-copy { color: #aeb9c7; font-size: 17px; line-height: 1.8; }
.manifesto-copy p { margin: 0 0 24px; }
.section-heading { margin-bottom: 54px; }
.section-heading h2 { max-width: 650px; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capability-grid article { min-height: 380px; padding: 34px 36px 32px 0; }
.capability-grid article + article { padding-left: 36px; border-left: 1px solid var(--line); }
.cap-number { color: var(--blue); font: 600 11px/1 "Geist Mono", monospace; }
.capability-grid h3 { margin: 68px 0 16px; font-size: 28px; letter-spacing: -.035em; }
.capability-grid p { color: #9eabb9; line-height: 1.7; }
.capability-grid ul { margin: 34px 0 0; padding: 0; list-style: none; color: #ccd3dc; font-size: 13px; }
.capability-grid li { padding: 9px 0; border-top: 1px solid var(--line); }

.work-heading { display: flex; justify-content: space-between; align-items: end; }
.work-heading > p { width: 300px; margin: 0; color: #8492a4; line-height: 1.6; }
.project-list { border-top: 1px solid var(--line); }
.project { padding: 34px 0 36px; border-bottom: 1px solid var(--line); transition: background .25s ease; }
.project:hover { background: rgba(105,168,255,.025); }
.project-meta { display: flex; justify-content: space-between; color: #647389; font: 600 10px/1 "Geist Mono", monospace; text-transform: uppercase; letter-spacing: .1em; }
.project-body { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: start; margin-top: 28px; }
.project h3 { margin: 0; font-size: clamp(27px, 3vw, 42px); letter-spacing: -.04em; font-weight: 530; }
.project-subtitle { margin: 8px 0 0 !important; color: var(--blue-bright) !important; font-family: Georgia, serif; font-style: italic; }
.project-body > p { margin: 5px 0 0; color: #a4b0bf; line-height: 1.75; }
.project-tags { display: flex; gap: 8px; margin-top: 28px; }
.project-tags span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 3px; color: #8e9bad; font: 500 10px/1 "Geist Mono", monospace; text-transform: uppercase; }
.featured-project { position: relative; }
.featured-project::before { content: "Current build"; position: absolute; right: 0; top: 78px; color: var(--acid); font: 600 9px/1 "Geist Mono", monospace; text-transform: uppercase; letter-spacing: .1em; }

.principle-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; margin-top: 52px; }
.principle-row p { margin: 0; color: #9daaba; line-height: 1.7; }
.principle-row span { display: block; margin-bottom: 30px; color: #536378; font: 600 10px/1 "Geist Mono", monospace; }
.principle-row strong { color: var(--paper); font-weight: 620; }

.contact { text-align: center; padding-top: 140px; padding-bottom: 140px; }
.contact .section-kicker { margin-bottom: 30px; }
.contact h2 { max-width: 850px; margin: 0 auto; }
.contact > p:not(.section-kicker) { max-width: 640px; margin: 28px auto 0; color: #9dabbc; font-size: 17px; line-height: 1.75; }
.contact-links { display: flex; justify-content: center; gap: 30px; margin-top: 40px; }
.contact-links a { padding-bottom: 5px; border-bottom: 1px solid rgba(105,168,255,.4); color: var(--blue-bright); }
footer { width: min(1180px, calc(100% - 48px)); margin: 0 auto; min-height: 100px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: #6e7c8e; font-size: 12px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 72px; }
  .system-card { width: min(520px, 100%); }
  .manifesto-grid { grid-template-columns: 1fr; gap: 46px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article { min-height: auto; padding: 30px 0 34px !important; }
  .capability-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .capability-grid h3 { margin-top: 34px; }
  .project-body { grid-template-columns: 1fr; gap: 18px; }
  .principle-row { grid-template-columns: 1fr; }
  .featured-project::before { display: none; }
}

@media (max-width: 640px) {
  .site-header, .hero, .manifesto, .capabilities, .work, .principles, .contact, footer { width: min(100% - 32px, 1180px); }
  .site-header { height: 72px; }
  nav { gap: 16px; font-size: 12px; }
  nav a:nth-child(2) { display: none; }
  .hero { min-height: auto; padding: 64px 0 80px; }
  .hero h1 { font-size: 52px; }
  .hero-deck { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .system-card { padding: 0 16px 18px; }
  .manifesto, .capabilities, .work, .principles, .contact { padding: 84px 0; }
  .work-heading { display: block; }
  .work-heading > p { width: auto; margin-top: 24px; }
  .project-tags { flex-wrap: wrap; }
  .contact { text-align: left; }
  .contact-links { justify-content: flex-start; }
  footer { min-height: 130px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
