:root {
  --paper: #f7f7f2;
  --paper-strong: #ffffff;
  --ink: #191b19;
  --muted: #696d68;
  --line: rgba(25, 27, 25, 0.11);
  --node: #9cc89a;
  --node-deep: #71a878;
  --night: #121512;
  --night-soft: #1a1e1a;
  --max: 1240px;
  --radius: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
::selection { background: rgba(156, 200, 154, .36); }

.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 12px 16px;
  border-radius: 999px;
}
.skip-link:focus { top: 20px; }

.site-header {
  position: fixed;
  z-index: 50;
  inset: 18px 24px auto;
  height: 64px;
  max-width: var(--max);
  margin: auto;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 20px;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.site-header.scrolled {
  background: rgba(247,247,242,.78);
  border-color: rgba(25,27,25,.07);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 50px rgba(29, 35, 29, .06);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-weight: 650;
  letter-spacing: -.02em;
}
.brand-node {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--node);
  box-shadow: 0 0 0 5px rgba(156,200,154,.13);
}
.site-header nav { display: flex; gap: 30px; }
.site-header nav a, .header-cta {
  font-size: 14px;
  color: #444844;
}
.site-header nav a:hover { color: var(--ink); }
.header-cta {
  justify-self: end;
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 999px;
  transition: transform .2s ease, background .2s ease;
}
.header-cta:hover { transform: translateY(-1px); background: white; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 150px 24px 110px;
}
#graph-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .5;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(247,247,242,.15) 0 16%, rgba(247,247,242,.79) 56%, var(--paper) 80%),
    linear-gradient(to bottom, rgba(247,247,242,.15), var(--paper) 95%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1100px, 100%);
  text-align: center;
}
.eyebrow, .kicker {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.signature {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  font-size: clamp(54px, 8.5vw, 132px);
  line-height: .93;
  letter-spacing: -.075em;
  font-weight: 650;
}
.signature-words {
  display: inline-block;
  transform: translateX(65vw);
  opacity: 0;
  filter: blur(5px);
  animation: words-arrive 1.55s var(--ease) .55s forwards;
}
.signature-node {
  position: relative;
  display: inline-block;
  width: .16em;
  height: .16em;
  margin-left: .08em;
  border-radius: 50%;
  background: var(--node);
  opacity: 0;
  transform: translate(-38vw, -16vh) scale(.35);
  box-shadow: 0 0 0 0 rgba(156,200,154,.4);
  animation:
    node-arrive 1.18s var(--ease) 1.75s forwards,
    node-pulse 1.8s ease-out 3.05s 1;
}
@keyframes words-arrive {
  0% { transform: translateX(65vw); opacity: 0; filter: blur(5px); }
  72% { opacity: 1; filter: blur(0); }
  86% { transform: translateX(-.012em); }
  100% { transform: translateX(0); opacity: 1; filter: blur(0); }
}
@keyframes node-arrive {
  0% { opacity: 0; transform: translate(-38vw, -16vh) scale(.35); }
  18% { opacity: 1; }
  82% { transform: translate(.012em, 0) scale(1.08); }
  100% { opacity: 1; transform: translate(0, 0) scale(1); }
}
@keyframes node-pulse {
  0% { box-shadow: 0 0 0 0 rgba(156,200,154,.48); }
  100% { box-shadow: 0 0 0 26px rgba(156,200,154,0); }
}
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal-up .8s var(--ease) 2.8s forwards;
}
.hero-copy {
  max-width: 700px;
  margin: 42px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  letter-spacing: -.015em;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 12px;
  animation-delay: 3s;
}
@keyframes reveal-up { to { opacity: 1; transform: translateY(0); } }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 13px 30px rgba(20,25,20,.14);
}
.button-primary:hover { box-shadow: 0 18px 38px rgba(20,25,20,.2); }
.button-quiet { border: 1px solid var(--line); background: rgba(255,255,255,.46); }
.button-large { min-height: 58px; padding: 0 30px; }

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  color: #81857f;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .15em;
}
.scroll-cue span {
  width: 1px;
  height: 28px;
  background: linear-gradient(var(--ink), transparent);
  animation: scroll-breathe 1.8s ease-in-out infinite;
}
@keyframes scroll-breathe { 50% { transform: translateY(5px); opacity: .35; } }

section:not(.hero) { padding: 140px 24px; }
.section-number {
  font-size: 12px;
  color: #969a94;
  letter-spacing: .18em;
  margin-bottom: 42px;
}
.editorial-section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 4fr;
}
.editorial-copy { max-width: 940px; }
.editorial-copy h2, .section-heading h2, .difference-section h2, .pilot-section h2 {
  margin: 0;
  font-size: clamp(44px, 7vw, 96px);
  line-height: .98;
  letter-spacing: -.06em;
  font-weight: 620;
}
.large-statement {
  margin: 16px 0 90px;
  color: var(--node-deep);
  font-size: clamp(44px, 7vw, 96px);
  line-height: .98;
  letter-spacing: -.06em;
}
.story-lines {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.story-lines p {
  margin: 0;
  padding: 10px 0;
  font-size: clamp(20px, 3vw, 34px);
  color: #72766f;
  letter-spacing: -.03em;
}
.story-lines p:last-child { color: var(--ink); }

.system-section {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 70px;
}
.section-heading h2 { font-size: clamp(38px, 5.2vw, 72px); }
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.flow-card {
  min-height: 420px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.5);
  display: flex;
  flex-direction: column;
  transition: transform .45s var(--ease), background .45s ease, box-shadow .45s ease;
}
.flow-card:hover {
  transform: translateY(-8px);
  background: white;
  box-shadow: 0 28px 70px rgba(28, 35, 28, .08);
}
.flow-index { color: #999d97; font-size: 12px; letter-spacing: .16em; }
.flow-card h3 {
  margin: auto 0 12px;
  font-size: 26px;
  letter-spacing: -.035em;
}
.flow-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.mini-graph, .pressure-mark, .focus-mark, .orbit-mark {
  height: 170px;
  position: relative;
  margin-top: 34px;
}
.mini-graph i {
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%; background: var(--node);
}
.mini-graph i:nth-child(1){ left: 14%; top: 40%; }
.mini-graph i:nth-child(2){ left: 50%; top: 15%; }
.mini-graph i:nth-child(3){ left: 76%; top: 56%; }
.mini-graph i:nth-child(4){ left: 42%; top: 78%; }
.mini-graph:before, .mini-graph:after {
  content:""; position:absolute; left:18%; top:43%; width:58%; height:1px;
  background: var(--line); transform: rotate(-17deg); transform-origin:left;
}
.mini-graph:after { left:45%; top:21%; width:40%; transform: rotate(52deg); }
.pressure-mark { display:flex; align-items:center; justify-content:center; gap:13px; }
.pressure-mark span { width:1px; height:60px; background:var(--line); }
.pressure-mark span:nth-child(2){ height:110px; background:var(--node); }
.pressure-mark span:nth-child(3){ height:82px; }
.focus-mark { display:grid; place-items:center; }
.focus-mark:before, .focus-mark:after {
  content:""; position:absolute; width:95px; height:95px; border:1px solid var(--line); border-radius:50%;
}
.focus-mark:after { width:48px; height:48px; }
.focus-mark span { width:10px; height:10px; border-radius:50%; background:var(--node); }
.orbit-mark { display:grid; place-items:center; }
.orbit-mark:before { content:""; width:100px; height:100px; border:1px solid var(--line); border-radius:50%; }
.orbit-mark span {
  position:absolute; width:10px; height:10px; border-radius:50%; background:var(--node);
  animation: orbit 5s linear infinite;
}
@keyframes orbit { from{ transform:rotate(0deg) translateX(50px) rotate(0deg); } to{ transform:rotate(360deg) translateX(50px) rotate(-360deg); } }

.companion-section {
  background: var(--night);
  color: #f2f4ef;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  gap: 80px;
  overflow: hidden;
}
.companion-copy { justify-self: end; width: min(480px,100%); }
.kicker.light, .section-number.light { color: #818880; }
.companion-copy h2 {
  margin: 0 0 28px;
  font-size: clamp(48px, 6vw, 82px);
  line-height: .98;
  letter-spacing: -.06em;
  font-weight: 600;
}
.companion-copy > p:last-child { color: #a7ada5; line-height: 1.65; font-size: 18px; }

.companion-window {
  width: min(760px, 100%);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 28px;
  background: #f4f5f0;
  color: var(--ink);
  box-shadow: 0 40px 120px rgba(0,0,0,.38);
  transform: perspective(1300px) rotateY(-4deg) rotateX(1deg);
}
.window-bar {
  height: 58px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(20,25,20,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #777c75;
}
.window-brand { display:flex; align-items:center; gap:8px; color:var(--ink); font-weight:650; }
.window-brand i { width:8px;height:8px;background:var(--node);border-radius:50%; }
.window-body { padding: 52px; }
.window-greeting { color: #7b8079; margin:0 0 8px; }
.window-body > h3 { font-size: clamp(36px,4vw,58px); letter-spacing:-.055em; margin:0 0 44px; }
.inline-node { color:var(--node-deep); }
.work-card {
  padding: 24px;
  border: 1px solid rgba(20,25,20,.09);
  border-radius: 20px;
  background: white;
}
.work-card-primary { display:flex; justify-content:space-between; align-items:center; gap:24px; }
.work-card strong { display:block; margin:6px 0; font-size:19px; letter-spacing:-.025em; }
.work-card p { margin:0; color:#777d76; font-size:14px; }
.work-label { text-transform:uppercase; font-size:10px; letter-spacing:.15em; color:#8a9088; }
.work-card button { border:0; border-radius:999px; padding:12px 20px; background:var(--ink); color:white; }
.work-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:14px; }

.difference-section {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}
.difference-section h2 { max-width: 1050px; font-size: clamp(42px,6vw,82px); }
.difference-grid {
  margin-top: 90px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap: 50px;
}
.difference-grid article { border-top:1px solid var(--line); padding-top:26px; }
.difference-node { display:block; width:9px;height:9px;border-radius:50%;background:var(--node); margin-bottom:60px; }
.difference-grid h3 { font-size:23px; letter-spacing:-.03em; }
.difference-grid p { color:var(--muted); line-height:1.6; }

.pilot-section {
  min-height: 78vh;
  text-align: center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  position:relative;
}
.pilot-node {
  width:18px;height:18px;border-radius:50%;background:var(--node);
  margin-bottom:60px;
  box-shadow:0 0 0 14px rgba(156,200,154,.12);
}
.pilot-section h2 { font-size:clamp(50px,8vw,110px); }
.pilot-copy { max-width:570px; color:var(--muted); font-size:19px; line-height:1.6; margin:30px 0; }
.pilot-note { color:#8a8f88; font-size:13px; }

footer {
  width:min(var(--max), calc(100% - 48px));
  margin:auto;
  padding:36px 0 60px;
  border-top:1px solid var(--line);
  display:grid;
  grid-template-columns:1fr auto auto;
  align-items:center;
  gap:40px;
  color:#747972;
  font-size:13px;
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display:none; }
  .editorial-section, .section-heading, .companion-section { grid-template-columns:1fr; }
  .editorial-section { width: calc(100% - 48px); }
  .flow { grid-template-columns:1fr 1fr; }
  .companion-copy { justify-self:start; }
  .companion-window { transform:none; }
  .difference-grid { grid-template-columns:1fr; gap:30px; }
  footer { grid-template-columns:1fr; gap:10px; }
}
@media (max-width: 620px) {
  .site-header { inset: 10px 10px auto; }
  .header-cta { display:none; }
  .hero { padding-inline:18px; }
  .signature { font-size: clamp(46px, 15vw, 72px); white-space: normal; justify-content:center; }
  .hero-actions { flex-direction:column; align-items:stretch; }
  section:not(.hero) { padding:100px 20px; }
  .editorial-section, .system-section, .difference-section, footer { width: calc(100% - 32px); }
  .flow { grid-template-columns:1fr; }
  .flow-card { min-height:330px; }
  .companion-section { gap:50px; }
  .window-body { padding:28px 20px; }
  .work-card-primary, .work-grid { display:grid; grid-template-columns:1fr; }
  .work-card button { width:max-content; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .signature-words, .signature-node, .reveal { opacity:1; transform:none; filter:none; }
}
