:root {
  --ink: #0b1715;
  --paper: #f4f1e8;
  --paper-deep: #e8e2d4;
  --lime: #c8ff59;
  --mint: #9ee6cf;
  --coral: #ff735c;
  --line: rgba(11, 23, 21, 0.17);
  --muted: #53615c;
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}

a { color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--lime);
  padding: 0.75rem 1rem;
  font-weight: 800;
}

.skip-link:focus { top: 1rem; }

.site-header {
  width: min(calc(100% - 48px), var(--max));
  height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 760;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--ink);
  font-size: 0.76rem;
  letter-spacing: -0.04em;
}

.brand-name { letter-spacing: -0.025em; }

nav { display: flex; align-items: center; gap: 28px; }
nav a { text-decoration: none; font-size: 0.86rem; font-weight: 700; }
nav a:not(.nav-cta) { color: var(--muted); }
nav a:hover { color: var(--ink); }

.nav-cta {
  padding: 10px 15px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 999px;
}

.hero,
.systems,
.perspective {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 86px);
  padding: 72px 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  grid-template-rows: 1fr auto;
  gap: 52px 68px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 23px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 30px;
  height: 2px;
  background: var(--coral);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 730px;
  margin-bottom: 28px;
  font-size: clamp(3.5rem, 6.5vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: -0.067em;
  font-weight: 760;
}

h1 em {
  position: relative;
  display: inline;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 12px;
  z-index: -1;
  background: var(--lime);
  transform: rotate(-1deg);
}

.hero-lede {
  max-width: 655px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.62;
}

.hero-actions { display: flex; align-items: center; gap: 12px; }

.button {
  min-height: 48px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 7px 0 rgba(11, 23, 21, 0.12); }
.button-primary { background: var(--ink); color: var(--paper); }
.button-quiet { border-color: var(--line); }

.capabilities {
  margin: 34px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.capabilities li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.04em;
}

.system-visual {
  min-height: 590px;
  padding: 20px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: var(--paper);
  overflow: hidden;
  background:
    linear-gradient(rgba(158, 230, 207, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(158, 230, 207, 0.08) 1px, transparent 1px),
    var(--ink);
  background-size: 48px 48px;
  border-radius: 4px;
  box-shadow: 18px 18px 0 var(--paper-deep);
}

.visual-topline,
.visual-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a5b2ad;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.live { color: var(--lime); }
.live i {
  width: 6px;
  height: 6px;
  margin-right: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(200, 255, 89, 0.1);
  animation: pulse 2s infinite;
}

.orbit { position: relative; min-height: 470px; }

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(158, 230, 207, 0.2);
  transform: translate(-50%, -50%);
}

.orbit::before { width: 86%; height: 1px; }
.orbit::after { width: 1px; height: 86%; }

.orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(158, 230, 207, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one { width: 72%; aspect-ratio: 1; }
.orbit-two { width: 46%; aspect-ratio: 1; border-style: dashed; animation: spin 20s linear infinite; }

.core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 112px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 16px rgba(200, 255, 89, 0.06), 0 0 44px rgba(200, 255, 89, 0.18);
}

.core span { font-size: 2.2rem; line-height: 0.9; font-weight: 850; letter-spacing: -0.08em; }
.core small { margin-top: 4px; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }

.node {
  position: absolute;
  min-width: 112px;
  padding: 11px 13px;
  display: flex;
  gap: 9px;
  align-items: center;
  border: 1px solid rgba(158, 230, 207, 0.38);
  background: rgba(11, 23, 21, 0.9);
  backdrop-filter: blur(6px);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.node b { color: var(--coral); font-size: 0.58rem; }
.node-context { left: 3%; top: 18%; }
.node-govern { right: 1%; top: 24%; }
.node-orchestrate { left: 2%; bottom: 18%; }
.node-deliver { right: 4%; bottom: 14%; }

.signal { display: flex; gap: 3px; align-items: end; }
.signal i { width: 3px; background: var(--mint); }
.signal i:nth-child(1) { height: 5px; }
.signal i:nth-child(2) { height: 9px; }
.signal i:nth-child(3) { height: 14px; }
.signal i:nth-child(4) { height: 9px; }
.signal i:nth-child(5) { height: 5px; }

.proof-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip > div { padding: 24px 26px; display: flex; align-items: center; gap: 12px; }
.proof-strip > div + div { border-left: 1px solid var(--line); }
.proof-strip strong { font-size: 1.2rem; letter-spacing: -0.04em; }
.proof-strip span { max-width: 105px; color: var(--muted); font-size: 0.66rem; line-height: 1.25; text-transform: uppercase; letter-spacing: 0.07em; }

.systems { padding: 140px 0; }

.section-heading {
  margin-bottom: 70px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  column-gap: 80px;
}

.section-heading .eyebrow { grid-column: 1 / -1; }

.section-heading h2,
.principle > h2,
.contact-band h2 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 4.7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.section-heading > p:last-child {
  max-width: 490px;
  align-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.62;
}

.project-list { border-top: 1px solid var(--ink); }

.project {
  min-height: 460px;
  padding: 34px 0 48px;
  display: grid;
  grid-template-columns: 72px 1fr 0.82fr;
  gap: 32px;
  border-bottom: 1px solid var(--ink);
}

.project-index { font-family: Georgia, serif; font-style: italic; color: var(--coral); font-size: 1.05rem; }
.project-copy { max-width: 620px; }

.project-meta {
  margin-bottom: 88px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.project h3 { margin-bottom: 18px; font-size: clamp(2.2rem, 4vw, 4.2rem); line-height: 1; letter-spacing: -0.06em; }
.project-copy > p { color: var(--muted); font-size: 1rem; line-height: 1.65; }
.project-copy ul { padding: 0; margin: 24px 0 0; display: flex; gap: 7px; flex-wrap: wrap; list-style: none; }
.project-copy li { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.67rem; font-weight: 750; }

.project-diagram {
  min-height: 310px;
  align-self: end;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.22);
}

.pipeline-diagram { padding: 38px; display: flex; flex-direction: column; justify-content: space-between; }
.pipeline-diagram .rail { position: absolute; left: 54px; top: 54px; bottom: 54px; width: 1px; background: var(--ink); }
.stage { position: relative; z-index: 1; padding-left: 38px; font-size: 0.62rem; font-weight: 850; letter-spacing: 0.12em; }
.stage::before { content: ""; position: absolute; left: 11px; top: 2px; width: 9px; height: 9px; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); }
.stage.active::before { background: var(--coral); box-shadow: 0 0 0 5px rgba(255, 115, 92, 0.13); }

.agent-diagram { display: grid; place-content: center; grid-template-columns: 1fr; padding: 34px; text-align: center; }
.agent { width: 156px; margin: 0 auto; padding: 13px; border: 1px solid var(--ink); font-size: 0.63rem; font-weight: 850; letter-spacing: 0.12em; }
.agent.foreman { color: var(--paper); background: var(--ink); }
.agent.foreman i { width: 6px; height: 6px; display: inline-block; margin-left: 7px; border-radius: 50%; background: var(--lime); }
.connector.vertical { width: 1px; height: 29px; margin: 0 auto; background: var(--ink); }
.connector.split { width: 70%; height: 28px; margin: 0 auto; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); border-right: 1px solid var(--ink); }
.workers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.workers span { padding: 12px 4px; border: 1px solid var(--line); font-size: 0.53rem; font-weight: 800; letter-spacing: 0.09em; }

.project.compact { min-height: 330px; align-items: center; }
.compact .project-meta { margin-bottom: 54px; }
.compact blockquote { margin: 0; padding: 40px; align-self: stretch; display: flex; align-items: center; color: var(--ink); background: var(--lime); font-family: Georgia, serif; font-size: clamp(1.45rem, 2.5vw, 2.35rem); font-style: italic; line-height: 1.22; letter-spacing: -0.035em; }

.perspective {
  padding: 130px 0 34px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 34px;
  border-top: 1px solid var(--line);
}

.principle { padding-right: 55px; }
.principle > h2 { max-width: 800px; }

.principle-grid { margin-top: 76px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.principle-grid > div { padding: 24px 22px 10px 0; }
.principle-grid > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.principle-grid b { color: var(--coral); font-family: Georgia, serif; font-style: italic; font-size: 0.85rem; }
.principle-grid h3 { margin: 26px 0 9px; font-size: 1.3rem; letter-spacing: -0.035em; }
.principle-grid p { color: var(--muted); font-size: 0.84rem; line-height: 1.6; }

.profile-card {
  padding: 34px;
  color: var(--paper);
  background: var(--ink);
}

.profile-monogram {
  width: 68px;
  height: 68px;
  margin-bottom: 60px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 241, 232, 0.55);
  border-radius: 50%;
  font-weight: 850;
  letter-spacing: -0.08em;
}

.profile-label { color: var(--mint); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.14em; }
.profile-card h3 { margin-bottom: 17px; font-size: 2.2rem; line-height: 1; letter-spacing: -0.055em; }
.profile-card p:not(.profile-label) { color: #aebbb6; font-size: 0.9rem; line-height: 1.65; }
.profile-card ul { margin: 34px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(244, 241, 232, 0.18); }
.profile-card li { padding: 15px 0; display: grid; grid-template-columns: 80px 1fr; gap: 12px; border-bottom: 1px solid rgba(244, 241, 232, 0.18); font-size: 0.66rem; line-height: 1.35; }
.profile-card li span { color: #81908a; text-transform: uppercase; letter-spacing: 0.08em; }

.contact-band {
  grid-column: 1 / -1;
  margin-top: 86px;
  padding: 54px 58px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  background: var(--coral);
}

.contact-band .eyebrow > span { background: var(--ink); }
.contact-band h2 { max-width: 700px; }
.contact-actions { display: flex; flex-direction: column; align-items: start; gap: 19px; flex: 0 0 auto; }
.button-light { background: var(--paper); }
.text-link { font-size: 0.76rem; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 5px; }

footer {
  grid-column: 1 / -1;
  padding: 30px 0 0;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1);
}

.reveal.is-visible { opacity: 1; transform: none; }

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(200, 255, 89, 0); } }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-copy { padding-right: 7vw; }
  .system-visual { min-height: 530px; }
  .section-heading { grid-template-columns: 1fr; gap: 28px; }
  .project { grid-template-columns: 46px 1fr; }
  .project-diagram, .compact blockquote { grid-column: 2; }
  .project-meta { margin-bottom: 54px; }
  .perspective { grid-template-columns: 1fr; }
  .principle { padding-right: 0; }
  .profile-card { max-width: none; }
}

@media (max-width: 680px) {
  .site-header, .hero, .systems, .perspective { width: min(calc(100% - 30px), var(--max)); }
  .site-header { height: 72px; }
  .brand-name, nav a:not(.nav-cta) { display: none; }
  .nav-cta { display: inline-flex; }
  .hero { min-height: auto; padding-top: 48px; gap: 46px; }
  h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .hero-lede { font-size: 1rem; }
  .system-visual { min-height: 470px; padding: 15px; box-shadow: 9px 9px 0 var(--paper-deep); }
  .orbit { min-height: 390px; }
  .orbit-one { width: 88%; }
  .orbit-two { width: 60%; }
  .node { min-width: 92px; padding: 9px; font-size: 0.58rem; }
  .node-context { left: 0; }
  .node-govern { right: 0; }
  .visual-footer span { max-width: 100px; line-height: 1.35; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip > div { padding: 19px 13px; }
  .proof-strip > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .proof-strip > div:nth-child(4) { border-top: 1px solid var(--line); }
  .systems { padding: 100px 0; }
  .section-heading { margin-bottom: 48px; }
  .project { grid-template-columns: 1fr; gap: 20px; padding: 28px 0 38px; }
  .project-copy, .project-diagram, .compact blockquote { grid-column: 1; }
  .project-index { display: none; }
  .project-meta { margin-bottom: 48px; }
  .project h3 { font-size: 3rem; }
  .project-diagram { min-height: 280px; }
  .compact blockquote { min-height: 220px; padding: 28px; }
  .perspective { padding-top: 90px; }
  .principle-grid { grid-template-columns: 1fr; margin-top: 54px; }
  .principle-grid > div { padding: 22px 0; }
  .principle-grid > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .principle-grid h3 { margin-top: 12px; }
  .profile-card { padding: 28px; }
  .contact-band { margin-top: 56px; padding: 36px 25px; flex-direction: column; align-items: start; }
  footer { gap: 20px; flex-direction: column; }
}

@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; }
}
