:root {
  --paper: #f7f3eb;
  --paper-deep: #ede6d8;
  --surface: #fffdf8;
  --ink: #17272d;
  --muted: #5c6a6e;
  --line: #d8d2c7;
  --teal: #125c5d;
  --teal-deep: #0b4546;
  --teal-pale: #dceceb;
  --amber: #d39a3a;
  --amber-pale: #f6e7c8;
  --red: #9b443d;
  --shadow: 0 22px 70px rgba(23, 39, 45, 0.10);
  --radius: 1.25rem;
  --measure: 72rem;
  --reading: 46rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 82% 8%, rgba(18, 92, 93, 0.10), transparent 28rem),
    radial-gradient(circle at 8% 52%, rgba(211, 154, 58, 0.09), transparent 25rem);
  pointer-events: none;
}

a {
  color: var(--teal-deep);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  border-radius: 0.5rem;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  color: white;
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(216, 210, 199, 0.88);
  background: rgba(247, 243, 235, 0.93);
  backdrop-filter: blur(18px);
}

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

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.wordmark-mark {
  width: 2rem;
  height: 2rem;
  position: relative;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-size: 0.72rem;
  letter-spacing: 0;
}

.wordmark-mark::before,
.wordmark-mark::after {
  position: absolute;
  width: 0.48rem;
  height: 0.48rem;
  border: 2px solid white;
  border-radius: 50%;
  content: "";
}

.wordmark-mark::before {
  left: 0.36rem;
  top: 0.38rem;
}

.wordmark-mark::after {
  right: 0.36rem;
  bottom: 0.38rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.7rem;
  border-radius: 0.55rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
body[data-page="home"] .nav-home,
body[data-page="research"] .nav-research,
body[data-page="approach"] .nav-approach,
body[data-page="mission"] .nav-mission,
body[data-page="about"] .nav-about {
  background: var(--surface);
  color: var(--ink);
}

.status-strip {
  border-bottom: 1px solid rgba(18, 92, 93, 0.18);
  background: var(--teal-pale);
  color: var(--teal-deep);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

.status-strip .shell {
  padding-block: 0.55rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
  padding-block: clamp(4.5rem, 10vw, 8.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: var(--amber);
  content: "";
  box-shadow: 0 0 0 0.35rem var(--amber-pale);
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 16ch;
  margin-bottom: 1.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6.7vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.page-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
}

.lead {
  max-width: 41rem;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.38rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.72rem 1.05rem;
  border: 1px solid var(--teal);
  border-radius: 999px;
  background: var(--teal);
  color: white;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  background: var(--teal-deep);
  color: white;
}

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

.button.secondary:hover {
  background: var(--surface);
}

.hero-visual {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: var(--shadow);
}

.hero-visual::before {
  position: absolute;
  top: -1.1rem;
  right: 2rem;
  width: 4rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--amber);
  content: "";
}

.path-label {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.path-card {
  position: relative;
  padding: 1.05rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--surface);
}

.path-card + .path-card {
  margin-top: 2.1rem;
}

.path-card + .path-card::before {
  position: absolute;
  top: -2.18rem;
  left: 50%;
  width: 1px;
  height: 2.1rem;
  background: var(--teal);
  content: "";
}

.path-card + .path-card::after {
  position: absolute;
  top: -0.55rem;
  left: calc(50% - 0.22rem);
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  content: "";
  transform: rotate(45deg);
}

.path-card strong,
.path-card span {
  display: block;
}

.path-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.path-card span {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.path-card.bridge {
  border-color: var(--teal);
  background: var(--teal);
  color: white;
}

.path-card.bridge span {
  color: rgba(255, 255, 255, 0.78);
}

.section {
  padding-block: clamp(4rem, 8vw, 7.5rem);
  border-top: 1px solid var(--line);
}

.section.tinted {
  background: rgba(237, 230, 216, 0.5);
}

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

.section.dark .section-kicker,
.section.dark .muted,
.section.dark .section-intro {
  color: rgba(255, 255, 255, 0.68);
}

.section.dark a:not(.button) {
  color: #b9e3df;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(12rem, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-kicker {
  color: var(--teal-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  max-width: 19ch;
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

h3 {
  margin-bottom: 0.65rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-intro {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.13rem;
}

.two-column,
.three-column,
.four-column {
  display: grid;
  gap: 1rem;
}

.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-column {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four-column {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.8);
}

.card p:last-child,
.callout p:last-child,
.step p:last-child {
  margin-bottom: 0;
}

.card-number {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: var(--amber-pale);
  color: #724b0c;
  font-size: 0.78rem;
  font-weight: 900;
}

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

.steps {
  counter-reset: steps;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.step {
  position: relative;
  min-height: 17rem;
  padding: 1.5rem;
  border-top: 2px solid var(--teal);
  background: rgba(255, 253, 248, 0.62);
  counter-increment: steps;
}

.step:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
}

.step:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
}

.step + .step {
  border-left: 1px solid var(--line);
}

.step::before {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  content: counter(steps, decimal-leading-zero);
  font-size: 0.76rem;
  font-weight: 900;
}

.stage-panel {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 1.6rem;
  background: var(--teal);
  color: white;
}

.stage-panel h2 {
  margin: 0;
}

.stage-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.stage-panel strong {
  color: white;
}

.research-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.research-list li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}

.research-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.research-list .index {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.research-list strong,
.research-list span {
  display: block;
}

.research-list span {
  margin-top: 0.25rem;
  color: var(--muted);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(7rem, 0.25fr) 1fr;
  gap: 1.5rem;
  padding: 1.55rem 0 1.55rem 2rem;
  border-left: 1px solid var(--teal);
}

.timeline li::before {
  position: absolute;
  top: 2rem;
  left: -0.4rem;
  width: 0.72rem;
  height: 0.72rem;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.timeline .when {
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted);
}

.callout {
  padding: clamp(1.5rem, 4vw, 2.8rem);
  border-left: 0.45rem solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--amber-pale);
}

.callout strong {
  display: block;
  margin-bottom: 0.45rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.reading {
  max-width: var(--reading);
}

.reading > p,
.reading > ul {
  color: var(--muted);
}

.reading h2 {
  margin-top: 3.5rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

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

.reading li + li {
  margin-top: 0.5rem;
}

.proof-row {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 1.5rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
}

.proof-row:last-child {
  border-bottom: 1px solid var(--line);
}

.proof-row strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.proof-row p {
  margin: 0;
  color: var(--muted);
}

.document-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 15rem;
}

.document-card .button {
  margin-top: auto;
}

.footer {
  padding-block: 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.footer p {
  max-width: 35rem;
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-hero {
  padding-block: clamp(4rem, 9vw, 7.5rem);
}

.page-hero .lead {
  max-width: 48rem;
}

.plain-list {
  margin: 0;
  padding-left: 1.2rem;
}

.plain-list li + li {
  margin-top: 0.65rem;
}

.quote {
  max-width: 44rem;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  line-height: 1.25;
}

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

@media (max-width: 900px) {
  .hero,
  .section-heading,
  .stage-panel {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 36rem;
  }

  .steps,
  .four-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step:first-child,
  .step:last-child {
    border-radius: 0;
  }

  .step:nth-child(odd) {
    border-left: 0;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 1rem;
  }

  .shell {
    width: min(calc(100% - 1.25rem), var(--measure));
  }

  .nav {
    align-items: flex-start;
    min-height: auto;
    padding-block: 0.85rem;
  }

  .wordmark {
    padding-top: 0.15rem;
  }

  .nav-links {
    max-width: 12.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .nav-links a {
    padding: 0.25rem 0.42rem;
    font-size: 0.75rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-block: 4.2rem;
  }

  h1 {
    font-size: clamp(2.85rem, 15vw, 4.4rem);
  }

  .two-column,
  .three-column,
  .four-column,
  .steps,
  .proof-row,
  .timeline li {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: 0;
    border-left: 0 !important;
    border-top: 1px solid var(--line);
  }

  .step:first-child {
    border-top: 2px solid var(--teal);
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .step:last-child {
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .timeline li {
    gap: 0.35rem;
  }

  .footer-grid {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

