:root {
  color-scheme: light;
  --ink: #1d2926;
  --muted: #61706b;
  --paper: #f7f8f3;
  --surface: #ffffff;
  --line: #d9e1db;
  --fern: #2f6f56;
  --fern-dark: #1e4e3c;
  --sun: #e6b85c;
  --coral: #d77b63;
  --shadow: 0 24px 60px rgb(31 59 48 / 8%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a { color: inherit; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: .65rem .9rem;
  color: var(--surface);
  background: var(--fern-dark);
  border-radius: .5rem;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1180px;
  margin: auto;
  padding: 1.35rem 1.5rem;
}

.brand, .site-header nav, .hero-actions, .site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: .7rem;
  color: var(--fern-dark);
  font-size: .93rem;
  font-weight: 760;
  letter-spacing: .01em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  color: var(--surface);
  background: var(--fern);
  border-radius: .7rem .7rem .7rem .2rem;
  font-family: Georgia, serif;
  font-size: 1.2rem;
}

.site-header nav { gap: 1.2rem; }

.site-header nav a:not(.button), .text-link {
  color: var(--muted);
  font-size: .88rem;
  text-decoration: none;
}

.site-header nav a:not(.button):hover, .text-link:hover { color: var(--fern-dark); }

.section-shell { max-width: 1180px; margin-inline: auto; padding-inline: 1.5rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: center;
  min-height: 620px;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

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

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

h1, h2, h3 {
  color: var(--fern-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}

h1 { max-width: 760px; margin-bottom: 1.5rem; font-size: clamp(3.4rem, 7vw, 6.4rem); letter-spacing: -.055em; }
h2 { margin-bottom: 1rem; font-size: clamp(2.1rem, 4vw, 3.7rem); letter-spacing: -.04em; }
h3 { margin-bottom: .8rem; font-size: 1.55rem; }

.lede { max-width: 630px; margin-bottom: 2rem; color: var(--muted); font-size: 1.13rem; }

.hero-actions { flex-wrap: wrap; gap: 1.25rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .72rem 1.15rem;
  color: var(--surface);
  background: var(--fern);
  border: 1px solid var(--fern);
  border-radius: .65rem;
  box-shadow: 0 8px 18px rgb(47 111 86 / 15%);
  font-size: .88rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.button:hover { background: var(--fern-dark); box-shadow: 0 12px 24px rgb(47 111 86 / 22%); transform: translateY(-2px); }
.button-small { min-height: 2.4rem; padding: .5rem .85rem; }
.text-link { border-bottom: 1px solid currentColor; padding-bottom: .1rem; }
.microcopy { margin: 1.5rem 0 0; color: var(--muted); font-size: .75rem; }

.hero-note {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.25rem 1.25rem 1.25rem .25rem;
  box-shadow: var(--shadow);
}

.note-label { color: var(--coral); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-note > p { margin: 1rem 0 2.3rem; color: var(--fern-dark); font-family: Georgia, serif; font-size: 1.7rem; line-height: 1.15; }
.hero-note dl { margin: 0; }
.hero-note dl div { display: grid; grid-template-columns: 5.2rem 1fr; gap: .5rem; padding: .75rem 0; border-top: 1px solid var(--line); font-size: .8rem; }
.hero-note dt { color: var(--muted); }
.hero-note dd { margin: 0; font-weight: 700; }

.section { padding-top: 7rem; padding-bottom: 7rem; }
.section-heading { max-width: 720px; margin-bottom: 3rem; }
.section-heading > p:last-child { max-width: 600px; color: var(--muted); font-size: 1rem; }
.compact-heading { margin-bottom: 2rem; }

.choice-grid, .evidence-grid, .accessibility-grid { display: grid; gap: 1rem; }
.choice-grid { grid-template-columns: repeat(3, 1fr); }
.choice-card { min-height: 280px; padding: 1.8rem; background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; }
.accent-card { color: var(--surface); background: var(--fern); border-color: var(--fern); }
.accent-card h3, .accent-card p { color: var(--surface); }
.accent-card .card-number { color: var(--sun); }
.card-number { display: block; margin-bottom: 3.4rem; color: var(--coral); font-family: Georgia, serif; font-size: 1.35rem; }
.choice-card p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.accent-card p { color: rgb(255 255 255 / 78%); }

.story-band { max-width: none; padding-right: max(1.5rem, calc((100vw - 1180px) / 2 + 1.5rem)); padding-left: max(1.5rem, calc((100vw - 1180px) / 2 + 1.5rem)); background: var(--fern-dark); color: var(--surface); }
.story-band h2, .story-band .eyebrow { color: var(--surface); }
.story-band .eyebrow { color: var(--sun); }
.story-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 0; padding: 0; list-style: none; }
.story-list li { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; padding-top: 1.2rem; border-top: 1px solid rgb(255 255 255 / 22%); }
.story-list li > span { grid-row: span 2; color: var(--sun); font-family: Georgia, serif; font-size: 1.4rem; }
.story-list strong { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.story-list p { grid-column: 2; margin: .6rem 0 0; color: rgb(255 255 255 / 70%); font-size: .9rem; }

.evidence-grid { grid-template-columns: 1.35fr 1fr; align-items: start; }
.evidence-large { grid-row: span 2; }
.evidence-card { margin: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 12px 34px rgb(31 59 48 / 5%); }
.evidence-card img { display: block; width: 100%; height: auto; background: #edf2eb; }
.evidence-card figcaption { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.1rem 1.15rem; }
.evidence-card figcaption strong { color: var(--fern-dark); font-size: .88rem; }
.evidence-card figcaption span { color: var(--muted); font-size: .78rem; }

.accessibility-section { padding-top: 2rem; }
.accessibility-grid { grid-template-columns: repeat(3, 1fr); }
.architecture-section { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; padding-top: 5rem; padding-bottom: 6rem; }
.architecture-copy { max-width: 510px; }
.architecture-copy > p:not(.eyebrow) { color: var(--muted); }
.architecture-map { display: grid; justify-items: center; }
.map-node { width: min(100%, 310px); padding: 1.1rem 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: .8rem; box-shadow: 0 10px 28px rgb(31 59 48 / 5%); }
.map-node span, .map-node small { display: block; }
.map-node span { color: var(--fern-dark); font-family: Georgia, serif; font-size: 1.35rem; }
.map-node small { margin-top: .25rem; color: var(--muted); font-size: .72rem; }
.map-api { background: var(--fern); border-color: var(--fern); }
.map-api span, .map-api small { color: var(--surface); }
.map-line { height: 2rem; color: var(--coral); font-size: 1.3rem; line-height: 2rem; }

.limits-section { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; padding-top: 5rem; padding-bottom: 7rem; border-top: 1px solid var(--line); }
.limits-copy { max-width: 540px; color: var(--muted); }
.limits-copy p { margin-bottom: 1.2rem; }
.limits-copy .button { margin-top: .8rem; }

.site-footer { justify-content: space-between; gap: 1rem; padding-top: 1.5rem; padding-bottom: 2rem; color: var(--muted); border-top: 1px solid var(--line); font-size: .75rem; }

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

@media (max-width: 800px) {
  .site-header nav a:not(:last-child) { display: none; }
  .hero, .architecture-section, .limits-section { grid-template-columns: 1fr; gap: 3rem; }
  .hero { min-height: auto; padding-top: 4rem; padding-bottom: 4rem; }
  h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .choice-grid, .story-list, .accessibility-grid { grid-template-columns: 1fr; }
  .choice-card { min-height: auto; }
  .card-number { margin-bottom: 2rem; }
  .evidence-grid { grid-template-columns: 1fr; }
  .evidence-large { grid-row: auto; }
  .section { padding-top: 5rem; padding-bottom: 5rem; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
