:root {
  --ink: #15171A;
  --muted: #777B82;
  --line: #C9C7C1;
  --paper: #F1EFE9;
  --paper-deep: #E8E5DE;
  --white: #FAF9F6;
  --max: 74rem;
  --pad: clamp(1rem, 4vw, 2.25rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 0.2rem;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus { top: 1rem; }

.shell { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--pad); }
.stage { padding-block: var(--section); }
.stage-rule { border-top: 1px solid var(--line); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  min-height: 5rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: "Inter Display", Inter, Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.primary-nav { display: flex; gap: clamp(0.8rem, 2vw, 1.5rem); flex-wrap: wrap; justify-content: flex-end; }
.primary-nav a { color: var(--muted); font-size: 0.95rem; text-decoration: none; }
.primary-nav a:hover { color: var(--ink); text-decoration: underline; }

.hero { min-height: min(50rem, 82vh); display: grid; align-items: center; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(22rem, 0.8fr); gap: clamp(3rem, 8vw, 7rem); align-items: end; }
.identity-name { margin: 0 0 0.35rem; font-weight: 700; letter-spacing: -0.02em; }
.eyebrow, .section-index, .route-type, .success-kicker {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
h1,h2,h3 { font-family: "Inter Display", Inter, Arial, sans-serif; line-height: 1.04; letter-spacing: -0.04em; }
h1 { margin: 0; max-width: 12ch; font-size: clamp(3rem, 8vw, 6.6rem); font-weight: 650; }
h2 { margin: 0; max-width: 14ch; font-size: clamp(2.4rem, 5vw, 4.6rem); font-weight: 650; }
h3 { margin: 0; font-size: 1.25rem; letter-spacing: -0.02em; }
.lede { max-width: 46rem; margin: 1.75rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.action-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.button {
  min-height: 2.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 0.72rem 1.05rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.button-primary { background: var(--ink); color: var(--paper); }
.button-primary:hover { background: #2A2D31; }
.button-secondary { background: transparent; color: var(--ink); }
.button-secondary:hover { background: var(--paper-deep); }
.button[disabled] { cursor: not-allowed; opacity: 0.55; }

.system-model { border-top: 1px solid var(--ink); padding-top: 1.4rem; }
.system-node { padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.node-label { display: block; font-weight: 800; letter-spacing: 0.06em; }
.node-detail { color: var(--muted); font-size: 0.93rem; }
.system-arrow { display: block; margin: 0.35rem 0 0.35rem auto; width: max-content; color: var(--muted); }
.capability-line { margin: 1.4rem 0 0; font-weight: 700; }

.section-heading-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.72fr); gap: clamp(2.5rem, 8vw, 7rem); align-items: start; }
.section-intro { max-width: 38rem; color: var(--muted); font-size: 1.06rem; }
.section-intro p:first-child { margin-top: 0; }

.method-list { list-style: none; margin: clamp(3rem, 7vw, 5.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.method-step { min-width: 0; padding: 1.5rem 1.2rem 1.5rem 0; border-bottom: 1px solid var(--line); }
.method-step + .method-step { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.step-number { color: var(--muted); font-size: 0.82rem; }
.method-step h3 { margin-top: 2.5rem; font-size: 1.02rem; letter-spacing: 0.03em; }
.step-meta { min-height: 4.8em; color: var(--muted); font-size: 0.9rem; }
.step-question { font-weight: 700; font-size: 0.95rem; }
.principle-block { margin-top: clamp(3rem, 7vw, 6rem); padding-top: 1.6rem; border-top: 2px solid var(--ink); }
.principle { max-width: 38ch; margin: 0; font-family: "Inter Display", Inter, Arial, sans-serif; font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 650; }
.system-elements { color: var(--muted); }
.question-contrast { display: grid; grid-template-columns: auto auto 1fr; gap: 1rem; align-items: center; margin-top: 2.5rem; font-size: clamp(1rem, 2vw, 1.25rem); }

.fit-grid { margin-top: clamp(3rem, 7vw, 5.5rem); display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.fit-column { padding: 1.8rem 2rem 2rem 0; }
.fit-column + .fit-column { padding-left: 2rem; border-left: 1px solid var(--line); }
.fit-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.fit-heading p, .fit-heading strong { margin: 0; font-size: 0.82rem; letter-spacing: 0.08em; }
.architecture-stack { list-style: none; margin: 2.4rem 0; padding: 0; display: grid; gap: 1rem; }
.architecture-stack li { position: relative; border: 1px solid var(--line); padding: 0.7rem 0.9rem; font-weight: 700; text-align: center; }
.architecture-stack li + li::before { content: "↓"; position: absolute; left: 50%; top: -0.95rem; transform: translateX(-50%); padding-inline: 0.22rem; background: var(--paper); color: var(--muted); font-size: 0.78rem; line-height: 1; }
.fit-note { color: var(--muted); }
.governing-line { margin: 2.5rem 0 0; max-width: 34ch; font-family: "Inter Display", Inter, Arial, sans-serif; font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.15; letter-spacing: -0.03em; font-weight: 650; }

.route-map-line { color: var(--ink); font-weight: 800; letter-spacing: 0.08em; }
.route-grid { margin-top: clamp(3rem, 7vw, 5.5rem); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.route-panel { min-width: 0; padding: 2rem 2rem 2.2rem 0; }
.route-panel + .route-panel { padding-left: 2rem; border-left: 1px solid var(--line); }
.brand-logo { width: 100%; max-width: 16rem; height: 4.3rem; object-fit: contain; object-position: left center; margin: 1rem 0 1.5rem; }
.brand-logo-gca { max-width: 17rem; }
.route-panel-writing h3 { margin: 1.35rem 0 2rem; font-size: 1.8rem; }
.route-support { color: var(--muted); font-weight: 700; }
.text-link { display: inline-block; margin-top: 1rem; font-weight: 800; }

.about-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(3rem, 8vw, 7rem); }
.about-grid > div > p { max-width: 43rem; }
.about-side { padding-top: 2rem; }
blockquote { margin: 0; max-width: 24ch; font-family: "Inter Display", Inter, Arial, sans-serif; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.13; letter-spacing: -0.03em; font-weight: 650; }
.intersection { margin-top: 2.5rem; color: var(--muted); font-weight: 700; }
.background-path { display: flex; flex-wrap: wrap; gap: 0.6rem 0.8rem; align-items: center; margin-top: 2.6rem; padding-block: 1rem; border-block: 1px solid var(--line); font-size: 0.83rem; font-weight: 800; letter-spacing: 0.06em; }
.supporting-line { font-weight: 700; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(22rem, 1.22fr); gap: clamp(3rem, 8vw, 7rem); align-items: start; }
.contact-copy > p:not(.section-index) { max-width: 36rem; }
.contact-closing { margin-top: 2.5rem; font-family: "Inter Display", Inter, Arial, sans-serif; font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.2; letter-spacing: -0.025em; font-weight: 650; }
.contact-surface { border-top: 2px solid var(--ink); padding-top: 1.5rem; }
.contact-kicker { margin: 0 0 0.7rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; color: var(--muted); }
.contact-surface h3 { margin: 0 0 0.85rem; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.03; }
.contact-surface > p:not(.contact-kicker):not(.email-address) { max-width: 34rem; }
.email-action { margin-top: 1rem; }
.email-address { margin-top: 1rem; overflow-wrap: anywhere; }
.email-address a { color: var(--ink); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

.site-footer { border-top: 1px solid var(--ink); padding-block: 2.8rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.footer-name { margin: 0; font-weight: 800; }
.footer-grid p { color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; align-content: start; justify-content: flex-end; }
.footer-nav a { font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-grid, .section-heading-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { align-items: start; }
  .method-list { grid-template-columns: 1fr; }
  .method-step, .method-step + .method-step { padding: 1.25rem 0; border-left: 0; }
  .method-step h3 { margin-top: 0.8rem; }
  .step-meta { min-height: 0; }
  .fit-grid, .route-grid { grid-template-columns: 1fr; }
  .fit-column, .fit-column + .fit-column, .route-panel, .route-panel + .route-panel { padding: 1.7rem 0; border-left: 0; }
  .fit-column + .fit-column, .route-panel + .route-panel { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding-block: 1rem; gap: 0.7rem; }
  .primary-nav { width: 100%; justify-content: space-between; gap: 0.6rem; }
  .primary-nav a { font-size: 0.88rem; }
  .hero { padding-top: clamp(3.5rem, 14vw, 5.5rem); }
  h1 { font-size: clamp(2.75rem, 14vw, 4.5rem); }
  .question-contrast { grid-template-columns: 1fr; }
  .question-contrast span[aria-hidden="true"] { transform: rotate(90deg); width: max-content; }
  .fit-heading { align-items: flex-start; flex-direction: column; }
  .background-path { align-items: flex-start; flex-direction: column; }
  .background-path span[aria-hidden="true"] { transform: rotate(90deg); }
  .action-row { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
