:root {
  --ink: #0b1020;
  --ink-soft: #151c31;
  --paper: #f4f1e8;
  --paper-2: #ebe6d8;
  --line: rgba(11, 16, 32, 0.15);
  --muted: #667085;
  --accent: #c7782d;
  --accent-2: #e6a15d;
  --white: #ffffff;
  --max: 1180px;
  --shadow: 0 22px 60px rgba(11, 16, 32, 0.12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

a {
  color: inherit;
  text-decoration: none;
}

img, svg { max-width: 100%; }

button, input, textarea, select { font: inherit; }

button { color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: .8rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  transition: top .2s ease;
}

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

.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 .9rem;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.display,
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
  line-height: 1.05;
}

h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(3rem, 7vw, 6.7rem);
  font-weight: 500;
}

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 4.3rem);
  font-weight: 500;
}

h3 {
  margin: 0 0 .75rem;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 600;
}

p { margin: 0 0 1rem; }

.lede {
  max-width: 760px;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  color: #30394e;
}

.small {
  font-size: .9rem;
  color: var(--muted);
}

.rule {
  height: 1px;
  background: var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-weight: 800;
  letter-spacing: .035em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(11, 16, 32, .45);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .86rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.55rem;
  font-size: .9rem;
  font-weight: 650;
}

.nav-links a {
  position: relative;
  padding: .3rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transition: right .2s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { right: 0; }

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 46px;
  padding: .8rem 1.05rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: .88rem;
  font-weight: 750;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.button:hover,
.nav-cta:hover { transform: translateY(-2px); }

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  content: "";
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: 8rem 0 6rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 5rem;
  align-items: center;
}

.hero-copy p {
  max-width: 720px;
  margin-top: 1.6rem;
  font-size: clamp(1.1rem, 1.7vw, 1.32rem);
  color: #313a4f;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.hero-note {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  color: var(--muted);
  font-size: .86rem;
}

.hero-note::before {
  content: "";
  width: 50px;
  height: 1px;
  background: var(--accent);
}

.system-orbit {
  width: min(100%, 430px);
  aspect-ratio: 1;
  margin-inline: auto;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.system-orbit::before,
.system-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  inset: 13%;
}

.system-orbit::after { inset: 30%; }

.orbit-core {
  position: absolute;
  inset: 39%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(.72rem, 1.4vw, .9rem);
  text-align: center;
  z-index: 3;
}

.orbit-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 104px;
  min-height: 40px;
  padding: .45rem .6rem;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: .72rem;
  font-weight: 750;
  text-align: center;
  box-shadow: 0 8px 22px rgba(11,16,32,.06);
  z-index: 4;
}

.orbit-node:nth-of-type(2) { top: 3%; left: 50%; transform: translateX(-50%); }
.orbit-node:nth-of-type(3) { top: 22%; right: -5%; }
.orbit-node:nth-of-type(4) { bottom: 24%; right: -6%; }
.orbit-node:nth-of-type(5) { bottom: 1%; right: 17%; }
.orbit-node:nth-of-type(6) { bottom: 1%; left: 17%; }
.orbit-node:nth-of-type(7) { bottom: 24%; left: -6%; }
.orbit-node:nth-of-type(8) { top: 22%; left: -5%; }

.section {
  padding: 7rem 0;
  border-bottom: 1px solid var(--line);
}

.section.dark {
  background: var(--ink);
  color: var(--paper);
}

.section.dark .lede,
.section.dark .small { color: #c1c7d4; }

.section-head {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}

.section-head.compact { margin-bottom: 2.4rem; }

.kicker {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.question-card {
  min-height: 280px;
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.question-no {
  display: block;
  margin-bottom: 4rem;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 800;
}

.question-card p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: .92rem;
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.domain-card {
  min-height: 320px;
  padding: 2rem;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}

.domain-card .icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 3.5rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
}

.domain-card p { color: var(--muted); }

.domain-card a {
  margin-top: auto;
  font-size: .86rem;
  font-weight: 800;
}

.domain-card a:hover { color: var(--accent); }

.pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 3rem;
  border: 1px solid rgba(244,241,232,.18);
}

.pipeline-step {
  position: relative;
  min-height: 230px;
  padding: 1.7rem;
  border-right: 1px solid rgba(244,241,232,.18);
}

.pipeline-step:last-child { border-right: 0; }

.pipeline-step .num {
  display: block;
  margin-bottom: 3rem;
  color: var(--accent-2);
  font-size: .8rem;
  font-weight: 800;
}

.pipeline-step p {
  color: #b8bfce;
  font-size: .88rem;
}

.pipeline-step::after {
  content: "→";
  position: absolute;
  right: -.65rem;
  top: 50%;
  z-index: 2;
  width: 1.3rem;
  text-align: center;
  color: var(--accent-2);
  background: var(--ink);
}

.pipeline-step:last-child::after { display: none; }

.lens-shell {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.lens-list {
  display: grid;
  gap: .65rem;
}

.lens-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-weight: 750;
}

.lens-button::after {
  content: "+";
  color: var(--accent);
  font-size: 1.2rem;
}

.lens-button.active::after { content: "—"; }

.lens-panel {
  position: sticky;
  top: 110px;
  min-height: 420px;
  padding: 3rem;
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.lens-panel .label {
  color: var(--accent-2);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.lens-panel h3 {
  margin-top: 4rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.lens-panel p {
  max-width: 620px;
  color: #c0c6d3;
  font-size: 1.05rem;
}

.feature {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  border: 1px solid var(--line);
}

.feature-copy { padding: 3rem; }

.feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.6rem;
  margin-bottom: 5rem;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
}

.feature-visual {
  min-height: 470px;
  background:
    linear-gradient(135deg, rgba(199,120,45,.12), transparent 50%),
    linear-gradient(var(--ink-soft), var(--ink));
  color: var(--paper);
  display: grid;
  place-items: center;
  padding: 3rem;
}

.chokepoint {
  width: 100%;
  max-width: 360px;
}

.chokepoint-line {
  height: 1px;
  background: rgba(244,241,232,.28);
  position: relative;
  margin: 1.4rem 0;
}

.chokepoint-line::before,
.chokepoint-line::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--accent-2);
  border-radius: 50%;
  background: var(--ink);
}

.chokepoint-line::before { left: 0; }
.chokepoint-line::after { right: 0; }

.quote {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.quote p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.8vw, 4.5rem);
  line-height: 1.12;
  letter-spacing: -.025em;
}

.quote strong { color: var(--accent-2); font-weight: 500; }

.page-hero {
  padding: 8rem 0 5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { max-width: 980px; }

.page-hero .lede { margin-top: 1.5rem; }

.two-col {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 5rem;
  align-items: start;
}

.prose {
  max-width: 800px;
}

.prose h2 {
  margin: 3.5rem 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  margin-top: 2.25rem;
  font-family: inherit;
  font-size: 1rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.prose p,
.prose li {
  color: #30394e;
  font-size: 1.02rem;
}

.prose ul {
  padding-left: 1.2rem;
  columns: 2;
  column-gap: 3rem;
}

.prose blockquote {
  margin: 2.5rem 0;
  padding: 2rem;
  border-left: 3px solid var(--accent);
  background: var(--paper-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.sidebar-card {
  position: sticky;
  top: 110px;
  padding: 2rem;
  border: 1px solid var(--line);
}

.sidebar-card a {
  display: block;
  padding: .72rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
  font-weight: 700;
}

.sidebar-card a:last-child { border-bottom: 0; }

.listing {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.listing-row {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem 1.7rem;
  background: var(--paper);
}

.listing-row .type {
  color: var(--accent);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.listing-row h3 {
  margin: 0;
  font-family: inherit;
  font-size: 1rem;
  letter-spacing: 0;
}

.listing-row .status {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 280px;
  padding: 2.2rem;
  background: var(--paper);
}

.service-card p { color: var(--muted); }

.service-card ul {
  margin: 1.4rem 0 0;
  padding-left: 1.1rem;
  color: #30394e;
  columns: 2;
  font-size: .9rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.contact-card {
  padding: 2.5rem;
  background: var(--ink);
  color: var(--paper);
}

.contact-card p { color: #c0c6d3; }

.contact-card a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent-2);
  font-weight: 800;
}

.form {
  display: grid;
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: .4rem;
}

.field label {
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: .9rem 1rem;
  background: rgba(255,255,255,.38);
  color: var(--ink);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: .82rem;
}

.site-footer {
  padding: 4rem 0 2rem;
  background: #080c18;
  color: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, .75fr);
  gap: 3rem;
}

.footer-brand p {
  max-width: 420px;
  color: #aab2c1;
}

.footer-col h3 {
  margin-bottom: 1rem;
  font-family: inherit;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin: .6rem 0;
  color: #b5bdca;
  font-size: .9rem;
}

.footer-col a:hover { color: var(--paper); }

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244,241,232,.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #858fa1;
  font-size: .8rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .section-head,
  .lens-shell,
  .feature,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero { min-height: auto; }
  .hero-grid { gap: 4rem; }
  .system-orbit { max-width: 390px; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .domain-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: 1fr; }
  .pipeline-step { min-height: 160px; border-right: 0; border-bottom: 1px solid rgba(244,241,232,.18); }
  .pipeline-step::after { display: none; }
  .pipeline-step:last-child { border-bottom: 0; }
  .pipeline-step .num { margin-bottom: 1.5rem; }
  .lens-panel,
  .sidebar-card { position: static; }
  .prose ul { columns: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav { min-height: 68px; }
  .nav-toggle { display: grid; }

  .nav-links {
    position: fixed;
    inset: 68px 0 auto 0;
    height: calc(100vh - 68px);
    padding: 2rem 1rem 4rem;
    background: var(--paper);
    border-top: 1px solid var(--line);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { margin-top: 1rem; border: 1px solid var(--ink); }

  .hero { padding: 5rem 0 4rem; }
  .section { padding: 5rem 0; }
  .page-hero { padding: 5rem 0 3.5rem; }

  .grid-4,
  .domain-grid,
  .service-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .question-card { min-height: 220px; }
  .question-no { margin-bottom: 2rem; }

  .orbit-node {
    width: 88px;
    font-size: .63rem;
  }

  .listing-row {
    grid-template-columns: 1fr;
    gap: .55rem;
  }

  .service-card ul { columns: 1; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
