/* Solarpunk Enterprises: tokens from copy/brand-kit.md */
:root {
  --mist: #F3F6F0;          /* background */
  --clearing: #FFFFFF;      /* surface */
  --leaf-shade: #E4EBE0;    /* alternate surface */
  --ink: #13241B;           /* text */
  --moss: #4A5B50;          /* muted text */
  --canopy-green: #0F5C3A;  /* primary accent */
  --sunrise: #F07800;       /* secondary accent, non-text only */
  --ember: #B35400;         /* orange as text on light */
  --fern: #CBD6C8;          /* decorative border */
  --fern-strong: #6E8369;   /* interactive border */
  --canopy: #0B3D2A;        /* dark band */
  --canopy-muted: #A9C2A3;  /* muted text on dark band */
  --sun-light: #FCA830;     /* orange on dark band */

  --font-head: "Petrona", Georgia, "Times New Roman", serif;
  --font-body: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Atkinson Hyperlegible Mono", ui-monospace, Consolas, monospace;

  --fs-display: clamp(40px, 6.4vw, 96px);
  --fs-h1: clamp(36px, 4.4vw, 56px);
  --fs-h2: clamp(28px, 3vw, 36px);
  --fs-h3: 24px;
  --fs-lead: clamp(19px, 1.8vw, 22px);
  --fs-body: 18px;
  --fs-small: 15px;

  --gutter: 24px;
  --section-pad: 104px;
  --radius-small: 6px;
  --radius-card: 16px;
}

@media (max-width: 720px) {
  :root { --gutter: 16px; --section-pad: 64px; }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); font-weight: 650; line-height: 1.12; }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; }
p { margin: 0 0 1em; max-width: 68ch; }
a { color: var(--canopy-green); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--moss); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-pad); }

.skip-link { position: absolute; left: 16px; top: -100px; background: var(--ink); color: var(--mist); padding: 10px 16px; z-index: 100; border-radius: var(--radius-small); }
.skip-link:focus { top: 12px; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--radius-small); border: 2px solid var(--canopy-green);
  background: var(--canopy-green); color: #fff;
  font: 700 var(--fs-small)/1 var(--font-body); text-decoration: none;
}
.button:hover { background: #0B4A2E; border-color: #0B4A2E; }
.button-small { min-height: 40px; padding: 8px 16px; font-size: var(--fs-small); }
.button-warm { background: var(--sunrise); border-color: var(--sunrise); color: var(--ink); }
.button-warm:hover { background: var(--sun-light); border-color: var(--sun-light); }
.button-ghost-light { background: transparent; border-color: var(--mist); color: var(--mist); }
.button-ghost-light:hover { background: rgba(243, 246, 240, 0.12); border-color: var(--mist); }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.text-link { font-weight: 700; }

/* Header */
.site-header { background: var(--mist); border-bottom: 1px solid var(--fern); position: relative; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.wordmark { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-h3); color: var(--ink); text-decoration: none; letter-spacing: -0.005em; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.button) { color: var(--ink); text-decoration: none; font-weight: 500; white-space: nowrap; }
.site-nav a:not(.button):hover { color: var(--canopy-green); text-decoration: underline; }
.nav-toggle { display: none; }

/* The full menu needs about 1050px; below that the Menu button takes over */
@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
    background: transparent; border: 2px solid var(--fern-strong); border-radius: var(--radius-small);
    font: 700 var(--fs-small)/1 var(--font-body); color: var(--ink); cursor: pointer;
  }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--mist); border-bottom: 1px solid var(--fern); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .site-nav li a:not(.button) { display: block; padding: 14px 0; border-bottom: 1px solid var(--fern); font-size: var(--fs-body); }
  .site-nav li:last-child { padding-top: 16px; }
  .site-nav .button-small { width: 100%; min-height: 48px; }
}

/* Hero */
.hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; overflow: hidden; background: var(--canopy); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11, 61, 42, 0.94) 0%, rgba(11, 61, 42, 0.78) 34%, rgba(11, 61, 42, 0) 68%);
}
.hero-content { position: relative; z-index: 1; padding-block: 56px 64px; }
.hero h1 { color: var(--mist); font-size: var(--fs-display); letter-spacing: -0.02em; line-height: 1; max-width: 13em; }
.hero-lead { color: var(--mist); font-size: var(--fs-lead); line-height: 1.5; max-width: 52ch; margin: 20px 0 28px; }

/* Problem */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.pull-quote { margin: 0 0 28px; }
.pull-quote p {
  font-family: var(--font-head); font-weight: 650; font-size: var(--fs-h2); line-height: 1.2;
  color: var(--ink); margin: 0; padding-top: 22px; border-top: 4px solid var(--sunrise); max-width: 26ch;
}
.problem-text > p { color: var(--moss); }
.problem-figure { margin: 0; }
.problem-figure img { border-radius: var(--radius-card); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
figcaption { font-size: 15px; color: var(--moss); margin-top: 10px; }

/* Model */
.model { background: var(--leaf-shade); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head .lead { margin-top: 16px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; column-gap: 40px; row-gap: 0; counter-reset: step; }
.step { counter-increment: step; border-top: 1px solid var(--fern-strong); padding-top: 20px; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
.step::before {
  content: counter(step); display: block;
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-h1); line-height: 1; color: var(--canopy-green); margin-bottom: 18px;
}
.step h3 { margin-bottom: 12px; }
.step p { color: var(--moss); margin: 0; }
.section-link { margin: 44px 0 0; font-weight: 700; }

/* Pilot */
.pilot { background: var(--canopy); color: var(--mist); }
.pilot h2 { color: var(--mist); }
.pilot .lead { color: var(--canopy-muted); margin-top: 16px; }
.pilot a:not(.button) { color: var(--sun-light); }
.pilot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 72px; align-items: center; }
.forest-voice { margin: 32px 0 16px; padding-left: 20px; border-left: 3px solid var(--sun-light); }
.forest-voice p { font-family: var(--font-head); font-style: italic; font-weight: 500; font-size: var(--fs-h3); line-height: 1.35; color: var(--mist); margin: 0; }
.pilot-text > p { color: var(--canopy-muted); }
.founders { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: end; margin: 40px 0 0; }
.founders img { border-radius: var(--radius-small); aspect-ratio: 3 / 4; object-fit: cover; }
.founders figcaption { color: var(--canopy-muted); margin: 0; font-size: var(--fs-small); }

/* Identity card: the signature element */
.id-card {
  background: var(--clearing); color: var(--ink);
  border-radius: var(--radius-card); overflow: hidden;
  box-shadow: none;
}
.id-card-head { display: grid; grid-template-columns: 76px 1fr; gap: 18px; align-items: center; padding: 24px 24px 20px; border-bottom: 1px solid var(--fern); }
.id-card-head img { width: 76px; height: 100px; object-fit: cover; border-radius: var(--radius-small); border: 1px solid var(--fern); }
.id-card-kicker { font-size: 15px; color: var(--moss); margin: 0 0 2px; }
.id-card h3 { font-size: var(--fs-h3); font-weight: 700; }
.id-card-sub { margin: 4px 0 0; font-size: 15px; color: var(--moss); }
.id-card-fields { margin: 0; padding: 4px 24px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.id-card-fields > div { padding: 14px 0; border-bottom: 1px solid var(--fern); }
.id-card-fields > div.wide { grid-column: 1 / -1; }
.id-card-fields dt { font-size: var(--fs-small); color: var(--moss); margin-bottom: 2px; }
.id-card-fields dd { margin: 0; font-weight: 500; font-size: var(--fs-body); line-height: 1.4; }
.mono { font-family: var(--font-mono); font-size: 15px !important; word-break: break-all; }
.services { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.services li { font-size: var(--fs-small); font-weight: 500; line-height: 1.3; padding: 5px 10px; border-radius: 999px; background: var(--leaf-shade); color: var(--ink); }
.id-card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 20px 24px; }
.pilot .id-card a.text-link { color: var(--canopy-green); }
.mrz {
  margin: 0; max-width: none; padding: 14px 24px;
  background: var(--leaf-shade); color: var(--moss);
  font-family: var(--font-mono); font-size: 13px; line-height: 1.6; letter-spacing: 0.08em;
  white-space: nowrap; overflow: hidden; text-overflow: clip;
}

/* Get involved */
.involve-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.involve .section-head { margin-bottom: 0; position: sticky; top: 32px; }
.paths { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fern); }
.paths li { border-bottom: 1px solid var(--fern); }
.paths a { display: grid; gap: 4px; padding: 22px 48px 22px 0; text-decoration: none; position: relative; }
.paths a::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px;
  border-top: 2px solid var(--canopy-green); border-right: 2px solid var(--canopy-green);
  transform: translateY(-50%) rotate(45deg);
}
.path-title { font-family: var(--font-head); font-weight: 600; font-size: 24px; color: var(--ink); line-height: 1.25; }
.path-text { color: var(--moss); }
.paths a:hover .path-title { color: var(--canopy-green); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }

/* Journal */
.journal { background: var(--leaf-shade); }
.journal-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 36px; flex-wrap: wrap; }
.posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.posts li { border-top: 1px solid var(--fern-strong); padding-top: 18px; }
.posts time { font-size: 15px; color: var(--moss); }
.posts h3 { margin: 8px 0 10px; font-size: var(--fs-h3); }
.posts h3 a { color: var(--ink); text-decoration: none; }
.posts h3 a:hover { color: var(--canopy-green); text-decoration: underline; }
.posts p { color: var(--moss); margin: 0; font-size: var(--fs-body); }

/* Footer */
.site-footer { background: var(--canopy); color: var(--mist); padding-block: 72px 32px; }
.site-footer a { color: var(--mist); }
.site-footer a:hover { color: var(--sun-light); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-brand img { width: 120px; height: 120px; margin-bottom: 20px; }
.footer-brand p { color: var(--canopy-muted); max-width: 40ch; }
.site-footer h2 { font-family: var(--font-body); font-size: var(--fs-body); font-weight: 700; color: var(--mist); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-footer li a, .footer-contact p a { display: inline-block; padding-block: 8px; }
.footer-base { margin-top: 56px; padding-top: 24px; padding-inline: 0; width: calc(100% - 2 * var(--gutter)); max-width: calc(1200px - 2 * var(--gutter)); border-top: 1px solid rgba(169, 194, 163, 0.3); }
.footer-base p { color: var(--canopy-muted); font-size: 15px; margin: 0; }

/* Responsive */
@media (max-width: 1000px) {
  .pilot-grid { grid-template-columns: 1fr; gap: 48px; }
  .id-card { max-width: 560px; }
  .involve-grid { grid-template-columns: 1fr; gap: 32px; }
  .involve .section-head { position: static; }
}
@media (max-width: 900px) {
  .problem-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps, .posts { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .hero { min-height: min(88vh, 680px); }
  .hero::after { background: linear-gradient(to top, rgba(11, 61, 42, 0.95) 0%, rgba(11, 61, 42, 0.85) 55%, rgba(11, 61, 42, 0.35) 80%, rgba(11, 61, 42, 0.1) 100%); }
  .hero-image { object-position: 62% 40%; }
  .id-card-fields { grid-template-columns: 1fr; }
  .id-card-head, .id-card-fields, .id-card-foot { padding-inline: 18px; }
  .mrz { padding-inline: 18px; font-size: 11px; }
  .founders { grid-template-columns: 110px 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== Shared components for inner pages ===== */

/* Current page in the menu */
.site-nav a[aria-current="page"]:not(.button) { color: var(--canopy-green); text-decoration: underline; text-decoration-thickness: 2px; }
.site-nav a.button[aria-current="page"] { background: #0B4A2E; }

/* Draft banner and items still to confirm */
.draft-banner { background: var(--sun-light); color: var(--ink); text-align: center; padding: 10px var(--gutter); font-weight: 700; font-size: var(--fs-small); }
mark.todo { background: #FDE7C8; color: var(--ink); padding: 0.05em 0.3em; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
mark.todo::before { content: "To confirm: "; font-weight: 700; color: var(--ember); }

/* Page header */
.page-hero { padding-block: 88px 64px; border-bottom: 1px solid var(--fern); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-top: 20px; max-width: 60ch; }
.breadcrumb { font-size: 15px; color: var(--moss); margin-bottom: 18px; }
.breadcrumb a { color: var(--moss); }
.page-hero-photo { position: relative; min-height: min(70vh, 640px); display: flex; align-items: flex-end; background: var(--canopy); overflow: hidden; }
.page-hero-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 61, 42, 0.95) 0%, rgba(11, 61, 42, 0.7) 40%, rgba(11, 61, 42, 0) 75%); }
.page-hero-photo .container { position: relative; z-index: 1; padding-block: 48px 56px; }
.page-hero-photo h1, .page-hero-photo .lead, .page-hero-photo .breadcrumb, .page-hero-photo .breadcrumb a { color: var(--mist); }
.page-hero-photo h1 { max-width: 18ch; }
.page-hero-photo .lead { margin-top: 16px; max-width: 56ch; }

/* Section rhythm and alternate bands */
.band { background: var(--leaf-shade); }
.band-dark { background: var(--canopy); color: var(--mist); }
.band-dark h2, .band-dark h3 { color: var(--mist); }
.band-dark p, .band-dark li { color: var(--canopy-muted); }
.band-dark a:not(.button) { color: var(--sun-light); }
.section-intro { max-width: 720px; margin-bottom: 48px; }
.section-intro .lead { margin-top: 16px; }

/* Long-form text */
.prose { max-width: 70ch; }
.prose > * { margin-block: 0; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-block: 0; }
.prose li + li { margin-top: 0.4em; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--radius-small); }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--sunrise); font-family: var(--font-head); font-size: var(--fs-h3); line-height: 1.35; }

/* Text beside an image */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.split + .split { margin-top: 88px; }
.split.reverse > :first-child { order: 2; }
.split figure { margin: 0; position: sticky; top: 32px; }
.split figure img { border-radius: var(--radius-card); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split figure.portrait img { aspect-ratio: 3 / 4; max-height: 640px; }
.split h2 + p, .split h3 + p { margin-top: 16px; }

/* Services the forest provides */
.service-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.service img { border-radius: var(--radius-small); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; margin-bottom: 18px; }
.service h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
.service p { color: var(--moss); margin: 0; font-size: var(--fs-body); }

/* Photo gallery */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery li:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-small); }

/* Video embeds */
.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-small); overflow: hidden; background: var(--canopy); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Steps in detail (How it works) */
.step-detail { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 32px; padding-block: 56px; border-top: 1px solid var(--fern-strong); }
.step-detail:last-child { border-bottom: 1px solid var(--fern-strong); }
.step-number { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-h1); line-height: 0.9; color: var(--canopy-green); }
.step-detail h2 { font-size: var(--fs-h2); }
.step-detail .lead { margin-top: 12px; max-width: 62ch; }
.step-detail .prose { margin-top: 24px; }

/* Roadmap */
.roadmap { list-style: none; margin: 0; padding: 0; position: relative; }
.roadmap::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--fern-strong); }
.roadmap > li { position: relative; padding-left: 52px; padding-bottom: 40px; }
.roadmap > li:last-child { padding-bottom: 0; }
.roadmap > li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--mist); border: 3px solid var(--canopy-green); }
.roadmap .phase-label { font-size: 15px; color: var(--moss); margin: 0 0 4px; }
.roadmap h3 { margin-bottom: 8px; }
.roadmap p { color: var(--moss); }

/* Audience paths, reused from home on Get involved */
.path-section { padding-block: 64px; border-top: 1px solid var(--fern); scroll-margin-top: 24px; }
.path-section:first-of-type { border-top: 0; }
.path-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
.path-grid ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.path-grid li + li { margin-top: 0.5em; }

/* FAQ */
.faq { border-top: 1px solid var(--fern-strong); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--fern-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; position: relative; font-family: var(--font-head); font-weight: 600; font-size: var(--fs-h3); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 30px; width: 11px; height: 11px; border-right: 2px solid var(--canopy-green); border-bottom: 2px solid var(--canopy-green); transform: rotate(45deg); transition: transform 0.15s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 34px; }
.faq .answer { padding: 0 0 24px; max-width: 68ch; }
.faq .answer p { color: var(--moss); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--radius-card); margin-bottom: 18px; }
.person h3 { margin-bottom: 4px; }
.person .role { color: var(--moss); margin-bottom: 10px; }

/* Simple definition lists (contact, legal) */
.facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 12px 32px; }
.facts dt { color: var(--moss); }
.facts dd { margin: 0; font-weight: 500; }

/* Journal */
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fern-strong); }
.post-list li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding-block: 24px; border-bottom: 1px solid var(--fern); }
.post-list time { color: var(--moss); font-size: var(--fs-small); padding-top: 4px; }
.post-list h3 { font-size: var(--fs-h3); }
.post-list h3 a { color: var(--ink); text-decoration: none; }
.post-list h3 a:hover { color: var(--canopy-green); text-decoration: underline; }
.post-list p { color: var(--moss); margin: 6px 0 0; }
.post-list .category { font-size: 15px; color: var(--moss); margin-top: 6px; }
.post-list p:not(.category) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.featured-read { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-radius: var(--radius-card); overflow: hidden; background: var(--canopy); color: var(--mist); }
.featured-read img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.featured-read .featured-text { padding: 48px; align-self: center; }
.featured-read h2 { color: var(--mist); }
.featured-read p { color: var(--canopy-muted); margin-top: 16px; }
.featured-read .button { margin-top: 12px; }
.article-head { padding-block: 72px 40px; }
.article-head h1 { font-size: var(--fs-h1); max-width: 22ch; }
.article-head .lead { margin-top: 16px; }
.article-meta { color: var(--moss); font-size: var(--fs-small); margin-top: 20px; }
.article-body { padding-bottom: 96px; }
.article-body .prose { font-size: var(--fs-body); line-height: 1.7; }
.article-foot { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--fern); }

/* Call-to-action band */
.cta-band { padding-block: 80px; }
.cta-band h2 { max-width: 22ch; }
.cta-band p { margin-top: 16px; max-width: 56ch; }
.cta-band .button-row { margin-top: 28px; }

/* Footer legal links */
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; }
.site-footer .legal-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.legal-links a { color: var(--canopy-muted) !important; font-size: 15px; }

@media (max-width: 900px) {
  .split, .path-grid, .featured-read { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > :first-child { order: 0; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .videos, .team { grid-template-columns: 1fr; }
  .step-detail { grid-template-columns: 1fr; gap: 12px; padding-block: 40px; }
  .step-number { font-size: var(--fs-h1); }
  .post-list li { grid-template-columns: 1fr; gap: 4px; }
  .featured-read .featured-text { padding: 32px 24px; }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 12px; }
  .page-hero { padding-block: 56px 40px; }
}
/* Click-to-load video */
.videos-title { margin: 72px 0 20px; }
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: var(--canopy); }
.video-play img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.video-play::before { content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--sunrise); }
.video-play::after { content: ""; position: absolute; z-index: 2; left: 50%; top: 50%; margin: -12px 0 0 -6px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--ink); }
.video-play:hover img { opacity: 1; }
.video-label { position: absolute; z-index: 1; left: 16px; bottom: 14px; color: var(--mist); font-weight: 700; font-size: 18px; background: var(--canopy); padding: 4px 10px; border-radius: var(--radius-small); }
.video-note { font-size: 15px; color: var(--moss); margin-top: 12px; }

/* Forest voice on a light background */
.forest-voice-light { border-left-color: var(--sunrise); margin: 28px 0; }
.forest-voice-light p { color: var(--ink); }
.after-facts { margin-top: 28px; }

/* About page */
.focus-upper { object-position: center 35%; }
.gap-top { margin-top: 24px; }
.band-dark .prose { max-width: 75ch; }
.band-dark .mission-quote { border-left-color: var(--sun-light); margin: 28px 0; }
.band-dark .mission-quote p { color: var(--mist); font-size: var(--fs-h2); line-height: 1.3; }
.drivers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.drivers .service { border-top: 3px solid var(--canopy-green); padding-top: 18px; }
.journey { margin-top: 0; }
.journey figure img { aspect-ratio: 3 / 4; max-height: 560px; }
.subhead { margin-top: 64px; margin-bottom: 12px; }
/* Methodology */
.method-steps p { max-width: 68ch; }
.method-steps p + p { margin-top: 10px; }
.formula { font-family: var(--font-mono); font-size: 17px; color: var(--ink) !important; background: var(--clearing); border: 1px solid var(--fern); border-radius: var(--radius-small); padding: 12px 16px; display: inline-block; max-width: 100%; overflow-x: auto; }
.prose ul.references { list-style: none; padding: 0; }
.references li { font-size: var(--fs-small); color: var(--moss); padding-left: 1.2em; text-indent: -1.2em; }

/* Journal articles */
.gap-bottom { margin-bottom: 28px; }
.article-body .prose figure img { width: auto; max-width: 100%; max-height: 80vh; margin-inline: auto; }
.article-body .prose h2 { font-size: var(--fs-h2); }
.article-body .prose h3 { font-size: var(--fs-h3); }
.testament-hero { min-height: min(60vh, 520px); }
.testament { padding-top: 64px; }
.testament .prose p { font-family: var(--font-head); font-size: var(--fs-lead); line-height: 1.65; }

/* Get involved */
.jump-links { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.jump-links a { display: inline-block; padding: 10px 16px; border: 2px solid var(--fern-strong); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; }
.jump-links a:hover { border-color: var(--canopy-green); color: var(--canopy-green); }
.prose ul.inline-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.prose ul.inline-links li + li { margin-top: 0; }
.inline-links a { font-weight: 700; display: inline-block; padding-block: 6px; }
.path-section .prose .button { margin-top: 8px; }

@media (max-width: 1000px) { .drivers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .drivers { grid-template-columns: 1fr; } }

/* Layout alignment fixes (2026-10-15) */
.nowrap { white-space: nowrap; }
.team-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.team-layout .journey h3:first-child { margin-top: 0; }
@media (max-width: 900px) { .team-layout { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr 1fr; gap: 16px; } .person h3 { font-size: var(--fs-body); } .person .role { font-size: 15px; } }
.posts { grid-auto-rows: auto; row-gap: 0; }
.posts li { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
@media (max-width: 900px) { .posts { row-gap: 32px; } }
/* Keep card text aligned when headings wrap to different lengths */
.service-grid { grid-auto-rows: auto; row-gap: 0; }
.service-grid > .service { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; margin-bottom: 48px; }
.service-grid.drivers > .service { grid-row: span 2; margin-bottom: 0; }
.service h3 { align-self: start; }
@media (max-width: 1000px) { .service-grid.drivers > .service { margin-bottom: 32px; } }
.team { grid-auto-rows: auto; row-gap: 0; }
.team > .person { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
@media (max-width: 900px) and (min-width: 561px) { .team > .person { grid-row: auto; display: block; margin-bottom: 40px; } }

/* Web interface guidelines pass (2026-10-15) */
:root { color-scheme: light; }
/* Focus ring with at least 3:1 contrast: dark ink on light areas, light orange on dark areas */
.hero :focus-visible, .page-hero-photo :focus-visible, .pilot :focus-visible:not(.id-card *),
.band-dark :focus-visible, .site-footer :focus-visible, .featured-read :focus-visible { outline-color: var(--sun-light); }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgba(15, 92, 58, 0.15); }
[id] { scroll-margin-top: 24px; }
p, li, dd, dt, h1, h2, h3, figcaption, blockquote { overflow-wrap: break-word; }
.posts time, .post-list time, .phase-label, .id-card-fields dd { font-variant-numeric: tabular-nums; }

/* Design-skill pass (2026-10-15): one button plus a text link */
.link-light { display: inline-flex; align-items: center; min-height: 48px; color: var(--mist); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
.link-light:hover { text-decoration-thickness: 2px; color: #fff; }
.band-dark a.link-light, .hero a.link-light { color: var(--mist); }

/* Running text in the full ink; muted tones only for captions, dates, roles and labels */
.lead, .problem-text > p, .step p, .path-text, .posts p, .service p, .roadmap p,
.faq .answer p, .post-list p:not(.category), .pilot-text > p { color: var(--ink); }
.pilot .lead, .pilot-text > p, .band-dark p, .band-dark li, .featured-read p, .footer-brand p { color: var(--mist); }
.page-hero-photo .lead, .hero-lead { color: var(--mist); }

/* More of the forest on the home page */
.involve-figure { margin: 40px 0 0; }
.involve-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-card); }
.posts li { grid-row: span 4; }
.posts li img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center 30%; border-radius: var(--radius-small); margin-bottom: 18px; }

/* Motion layer: transform and opacity only, never for reduced-motion visitors */
.button, .link-light, .paths a, .text-link, .jump-links a, .video-play img { transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.12s ease, opacity 0.2s ease; }
.button:active, .jump-links a:active { transform: translateY(1px) scale(0.98); }
.paths a:hover::after { transform: translateY(-50%) translateX(4px) rotate(45deg); }
.paths a::after { transition: transform 0.2s ease; }
@media (prefers-reduced-motion: no-preference) {
  .motion .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--reveal-delay, 0ms); }
  .motion .reveal.is-visible { opacity: 1; transform: none; }
  .hero-image, .page-hero-photo > img { animation: settle 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-content > *, .page-hero-photo .container > * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-content > :nth-child(2), .page-hero-photo .container > :nth-child(2) { animation-delay: 0.12s; }
  .hero-content > :nth-child(3), .page-hero-photo .container > :nth-child(3) { animation-delay: 0.24s; }
}
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .button:active, .jump-links a:active { transform: none; } }
/* Statements stay statement-sized on phones */
@media (max-width: 560px) {
  .pull-quote p { font-size: var(--fs-h3); line-height: 1.25; }
  .forest-voice p { font-size: var(--fs-lead); }
}

/* Maturity status on roadmap phases */
.roadmap p.status { color: var(--canopy-green); margin-top: 8px; }
.roadmap p.status strong { color: var(--ink); }

/* Embedded video inside a journal post */
.video-figure { margin: 2em 0; }
.video-figure .video-frame { width: 100%; }
