/* ============================================================
   MDR Trails — Design System
   Palette: pine green anchor · river blue contrast · sand texture
   ============================================================ */

/* Self-hosted variable fonts */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-standard-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color tokens */
  --pine: #163D2E;
  --pine-deep: #0D2A1F;
  --pine-soft: #1E4E3B;
  --moss: #3E6B52;
  --leaf: #5C9474;
  --river: #1F7A8C;
  --river-deep: #16606F;
  --river-tint: #E3EFF1;
  --sand: #F6F2E9;
  --sand-2: #EDE6D6;
  --sand-3: #E2D7BF;
  --clay: #C9B892;
  --ember: #C96F1F;
  --ember-deep: #A85812;
  --ink: #1B241F;
  --ink-soft: #47544C;
  --paper: #FDFBF7;
  --white: #FFFFFF;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --maxw: 1180px;
  --maxw-wide: 1380px;
  --maxw-prose: 740px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-1: 0 2px 8px rgba(13, 42, 31, 0.07);
  --shadow-2: 0 14px 44px rgba(13, 42, 31, 0.16);
  --pad-section: clamp(4.5rem, 9vw, 8rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: var(--river-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--river); }
::selection { background: var(--river); color: #fff; }
:focus-visible { outline: 3px solid var(--river); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--pine); color: #fff; padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--radius) 0; text-decoration: none;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--pine);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
.lede {
  font-size: clamp(1.15rem, 1.9vw, 1.38rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: var(--maxw-prose);
}
.kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--river-deep); margin-bottom: 1.1rem;
}
.kicker::before {
  content: ""; width: 26px; height: 2px;
  background: var(--river); border-radius: 2px;
}
.on-dark .kicker, .kicker.light { color: var(--sand-3); }
.on-dark .kicker::before, .kicker.light::before { background: var(--clay); }

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 2.6rem, var(--maxw)); margin-inline: auto; }
.container-wide { width: min(100% - 2.6rem, var(--maxw-wide)); margin-inline: auto; }
.section { padding-block: var(--pad-section); }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }
.bg-sand { background: var(--sand); }
.bg-sand2 { background: var(--sand-2); }
.bg-pine { background: var(--pine); }
.bg-pine-deep { background: var(--pine-deep); }
.on-dark, .on-dark p { color: rgba(255,255,255,0.88); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .lede { color: rgba(255,255,255,0.78); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 0.85rem 1.7rem; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  text-decoration: none; transition: all 0.22s ease;
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn-primary { background: var(--ember); color: #fff; }
.btn-primary:hover { background: var(--ember-deep); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn-pine { background: var(--pine); color: #fff; }
.btn-pine:hover { background: var(--pine-soft); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn-river { background: var(--river); color: #fff; }
.btn-river:hover { background: var(--river-deep); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--pine); border-color: var(--pine); }
.btn-outline:hover { background: var(--pine); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.75); }
.btn-outline-light:hover { background: #fff; color: var(--pine); border-color: #fff; }
.btn-ghost-light { background: rgba(255,255,255,0.14); color: #fff; backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.26); color: #fff; }
.btn-lg { padding: 1rem 2.1rem; font-size: 1.08rem; }
.arrow-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 600; text-decoration: none; color: var(--river-deep);
}
.arrow-link::after { content: "→"; transition: transform 0.2s ease; }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding-block: 1.1rem;
}
.site-header .container-wide {
  display: flex; align-items: center; gap: 1.4rem;
}
.site-header.scrolled {
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(13,42,31,0.08), var(--shadow-1);
  padding-block: 0.65rem;
}
.brand {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none; margin-right: auto;
}
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.35rem; color: var(--pine); letter-spacing: -0.01em;
}
.brand-tag {
  font-size: 0.63rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft); margin-top: 3px;
}
.header-dark:not(.scrolled) .brand-name { color: #fff; }
.header-dark:not(.scrolled) .brand-tag { color: rgba(255,255,255,0.72); }

.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav a.nav-link {
  font-size: 0.95rem; font-weight: 500; text-decoration: none;
  color: var(--ink); padding: 0.3rem 0; position: relative;
}
.main-nav a.nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--river); transition: right 0.22s ease;
}
.main-nav a.nav-link:hover::after, .main-nav a.nav-link[aria-current="page"]::after { right: 0; }
.main-nav a.nav-link[aria-current="page"] { font-weight: 650; }
.header-dark:not(.scrolled) .main-nav a.nav-link { color: rgba(255,255,255,0.92); }
.header-actions { display: flex; align-items: center; gap: 0.7rem; }
.btn-nav { padding: 0.6rem 1.25rem; font-size: 0.92rem; border-radius: 9px; }
.lang-switch {
  font-size: 0.95rem; font-weight: 500; text-decoration: none;
  color: var(--ink); padding: 0.3rem 0.2rem; position: relative;
  transition: color 0.2s ease;
}
.lang-switch::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--river); transition: right 0.22s ease;
}
.lang-switch:hover::after { right: 0; }
.lang-switch:hover { color: var(--river-deep); }
.header-dark:not(.scrolled) .lang-switch { color: rgba(255,255,255,0.92); }
.header-dark:not(.scrolled) .lang-switch:hover { color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem;
}
.nav-toggle span {
  display: block; width: 26px; height: 2.5px; background: var(--ink);
  margin: 5.5px 0; border-radius: 2px; transition: all 0.25s ease;
}
.header-dark:not(.scrolled) .nav-toggle span { background: #fff; }

@media (max-width: 1080px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 90;
    display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    border-top: 1px solid rgba(13,42,31,0.08);
    box-shadow: 0 18px 34px rgba(13,42,31,0.18);
    padding: 0.4rem 0 0.6rem;
  }
  .main-nav.open { display: flex; }
  .main-nav a.nav-link {
    color: var(--ink) !important; font-size: 1.05rem; font-weight: 600;
    padding: 0.9rem 1.4rem; border-bottom: 1px solid rgba(13,42,31,0.06);
  }
  .main-nav a.nav-link::after { display: none; }
  .main-nav a.nav-link[aria-current="page"] { color: var(--river-deep) !important; }
  .site-header { background: rgba(253, 251, 247, 0.97); }
  .site-header .brand-name { color: var(--pine); }
  .site-header .brand-tag { color: var(--ink-soft); }
  .header-dark:not(.scrolled) .lang-switch { color: var(--ink); }
  .header-dark:not(.scrolled) .nav-toggle span { background: var(--ink); }
  .nav-toggle { display: block; position: relative; z-index: 95; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .brand-tag { display: none; }
  .brand-mark { width: 38px; height: 38px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden; background: var(--pine-deep);
}
.hero-media, .hero-media video, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,42,31,0.42) 0%, rgba(13,42,31,0.12) 34%, rgba(13,42,31,0.62) 78%, rgba(13,42,31,0.84) 100%);
}
.hero-content {
  position: relative; z-index: 2; width: min(100% - 2.6rem, var(--maxw-wide));
  margin-inline: auto; padding-block: clamp(5rem, 11vh, 8rem) clamp(3.6rem, 8vh, 6rem);
  color: #fff; max-width: none;
}
.hero-content .inner { max-width: 880px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--sand-3);
  margin-bottom: 1.4rem;
}
.hero-kicker::before { content: ""; width: 34px; height: 2px; background: var(--clay); }
.hero h1 { color: #fff; margin-bottom: 1.1rem; text-wrap: balance; }
.hero .hero-sub {
  font-size: clamp(1.12rem, 1.8vw, 1.32rem); line-height: 1.55;
  color: rgba(255,255,255,0.88); max-width: 640px; margin-bottom: 2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.scroll-cue {
  position: absolute; z-index: 2; left: 50%; bottom: 1.4rem;
  transform: translateX(-50%); color: rgba(255,255,255,0.85);
}
.scroll-cue svg { animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue svg { animation: none; } }

/* Interior page hero */
.page-hero {
  position: relative; background: var(--pine); color: #fff;
  padding-block: clamp(9rem, 16vw, 12.5rem) clamp(3.4rem, 6vw, 5rem);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background:
    radial-gradient(52rem 30rem at 86% -12%, rgba(31,122,140,0.4), transparent 62%),
    radial-gradient(40rem 26rem at -8% 112%, rgba(201,184,146,0.22), transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; max-width: 850px; }
.page-hero .lede { color: rgba(255,255,255,0.82); }
.page-hero.has-image::before { display: none; }
.page-hero .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.page-hero.has-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,42,31,0.55), rgba(13,42,31,0.75));
}
.page-hero.has-image .container { z-index: 2; }

/* ---------- Splits ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.2rem, 5vw, 4.5rem); align-items: center;
}
.split.rev .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-2);
}
.split-media.landscape img { aspect-ratio: 4 / 3; }
.split-media video {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-2);
}
.split-media .caption {
  margin-top: 0.7rem; font-size: 0.85rem; color: var(--ink-soft);
}
.media-frame { position: relative; }
.media-frame::before {
  content: ""; position: absolute; inset: 1.3rem -1.3rem -1.3rem 1.3rem;
  border: 2px solid var(--sand-3); border-radius: var(--radius-lg); z-index: -1;
}
.split.rev .media-frame::before { inset: 1.3rem 1.3rem -1.3rem -1.3rem; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .media-frame::before { display: none; }
}

/* ---------- Cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 1020px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem 1.8rem; box-shadow: var(--shadow-1);
  border: 1px solid rgba(13,42,31,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 0; }
.card .arrow-link { margin-top: auto; padding-top: 1rem; }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 1.2rem;
  background: var(--sand); color: var(--pine);
}
.card-icon.river { background: var(--river-tint); color: var(--river-deep); }
.card.sand { background: var(--sand); border-color: rgba(13,42,31,0.05); }
.card.on-pine { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); box-shadow: none; }
.card.on-pine h3 { color: #fff; }
.card.on-pine p { color: rgba(255,255,255,0.75); }
.card.on-pine .card-icon { background: rgba(255,255,255,0.1); color: var(--sand-3); }

.badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.32rem 0.75rem; border-radius: 999px; margin-bottom: 0.9rem;
}
.badge.now { background: var(--river-tint); color: var(--river-deep); }
.badge.plan { background: var(--sand-2); color: var(--ink-soft); }
.badge.concept { background: #F2E4D2; color: var(--ember-deep); }

/* ---------- Problem / solution diptych ---------- */
.diptych { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
@media (max-width: 860px) { .diptych { grid-template-columns: 1fr; } }
.panel { border-radius: var(--radius-lg); padding: 2.4rem 2.2rem; }
.panel-problem { background: var(--sand-2); border: 1px solid var(--sand-3); }
.panel-solution { background: var(--pine); color: #fff; }
.panel-solution h3, .panel-solution strong { color: #fff; }
.panel-solution p { color: rgba(255,255,255,0.82); }
.panel ul { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.95rem; }
.panel li { display: flex; gap: 0.8rem; align-items: flex-start; line-height: 1.5; }
.panel li svg { flex: none; margin-top: 0.22rem; }
.panel-problem li { color: var(--ink-soft); }
.panel-solution li { color: rgba(255,255,255,0.88); }
.panel-label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 0.8rem;
}
.panel-problem .panel-label { color: var(--ember-deep); }
.panel-solution .panel-label { color: var(--clay); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: center; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }
.stat-num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; color: var(--sand);
}
.stat-label { margin-top: 0.55rem; color: rgba(255,255,255,0.72); font-size: 0.95rem; }

/* ---------- Seasons strip ---------- */
.seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 900px) { .seasons { grid-template-columns: repeat(2, 1fr); } }
.season { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.season img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.6s ease; }
.season:hover img { transform: scale(1.045); }
.season figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2.2rem 1.1rem 0.95rem;
  background: linear-gradient(180deg, transparent, rgba(13,42,31,0.72));
  color: #fff; font-weight: 600; font-size: 0.98rem;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; margin-top: 2.2rem; }
.step {
  counter-increment: step;
  display: grid; grid-template-columns: 64px 1fr; gap: 1.5rem;
  padding: 1.8rem 0; border-top: 1px solid var(--sand-3);
}
.step:last-child { border-bottom: 1px solid var(--sand-3); }
.step::before {
  content: "0" counter(step);
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.9rem; color: var(--river); line-height: 1.1;
}
.step h3 { margin-bottom: 0.35rem; font-size: 1.3rem; }
.step p { color: var(--ink-soft); margin-bottom: 0; }
@media (max-width: 560px) { .step { grid-template-columns: 1fr; gap: 0.4rem; } }

/* ---------- Network map placeholder ---------- */
.network-map {
  background: var(--pine-deep); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.6rem); box-shadow: var(--shadow-2);
}
.network-map > svg { width: 100%; height: auto; display: block; }
.map-note {
  display: flex; align-items: center; gap: 0.6rem; justify-content: center;
  margin-top: 1.1rem; color: rgba(255,255,255,0.62); font-size: 0.88rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  padding-block: clamp(5rem, 10vw, 8.5rem);
  background: var(--pine-deep); color: #fff; text-align: center;
}
.cta-band .band-media, .cta-band .band-media video, .cta-band .band-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.cta-band .band-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,42,31,0.72), rgba(13,42,31,0.8));
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; text-wrap: balance; }
.cta-band .lede { color: rgba(255,255,255,0.85); margin-inline: auto; }
.cta-band .hero-ctas { justify-content: center; margin-top: 2.2rem; }

/* ---------- Quote ---------- */
.pull-quote {
  max-width: 880px; margin-inline: auto; text-align: center;
}
.pull-quote blockquote {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3;
  color: var(--pine); margin: 0;
}
.pull-quote blockquote::before { content: "« "; color: var(--river); }
.pull-quote blockquote::after { content: " »"; color: var(--river); }
.pull-quote figcaption { margin-top: 1.2rem; color: var(--ink-soft); font-size: 0.95rem; }
.on-dark .pull-quote blockquote { color: #fff; }
.on-dark .pull-quote blockquote::before, .on-dark .pull-quote blockquote::after { color: var(--clay); }
.on-dark .pull-quote figcaption { color: rgba(255,255,255,0.65); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
label { font-weight: 600; font-size: 0.92rem; display: block; margin-bottom: 0.4rem; color: var(--pine); }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid var(--sand-3);
  border-radius: 10px; padding: 0.8rem 1rem; transition: border 0.2s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--river); outline: none; box-shadow: 0 0 0 3px rgba(31,122,140,0.15); }
textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 0.86rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-deep); color: rgba(255,255,255,0.8); }
.footer-main {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 2.6rem; padding-block: clamp(3.4rem, 6vw, 5rem) 2.6rem;
}
@media (max-width: 1000px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-main { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: var(--sand-3); font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: rgba(255,255,255,0.8); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: rgba(255,255,255,0.6); }
.footer-brand p { font-size: 0.94rem; color: rgba(255,255,255,0.68); margin-top: 1rem; max-width: 300px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-block: 1.4rem;
  display: flex; flex-wrap: wrap; gap: 0.8rem 2rem;
  justify-content: space-between; font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
}
.footer-legal { max-width: 640px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; } .reveal-d2 { transition-delay: 0.2s; } .reveal-d3 { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Misc ---------- */
.divider-leaf {
  display: flex; align-items: center; gap: 1rem; justify-content: center;
  color: var(--clay); padding-block: 0.4rem;
}
.divider-leaf::before, .divider-leaf::after {
  content: ""; height: 1px; width: min(120px, 20vw); background: var(--sand-3);
}
.checklist { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: 0.8rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; }
.checklist li svg { flex: none; margin-top: 0.25rem; color: var(--river); }
.notice {
  background: var(--river-tint); border: 1px solid rgba(31,122,140,0.25);
  border-radius: var(--radius); padding: 1.1rem 1.4rem; font-size: 0.95rem;
  color: var(--river-deep);
}
.prose { max-width: var(--maxw-prose); }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; }

/* ============================================================
   v2 additions — 6-page structure
   ============================================================ */

/* Portrait video in splits */
.split-media video.portrait { aspect-ratio: 4 / 5; object-position: center; }

/* Video page hero */
.page-hero.has-video::before { display: none; }
.page-hero .hero-bg-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.page-hero.has-video::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,42,31,0.5), rgba(13,42,31,0.72));
}
.page-hero.has-video .container { position: relative; z-index: 2; }

/* Partner logos */
/* Evidence cards (research-backed practices) */
.evidence-card { position: relative; }
.evidence-card .ext-links {
  margin-top: auto; padding-top: 1.2rem;
  display: flex; flex-direction: column; gap: 0.45rem;
}
.ext-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.92rem; font-weight: 600; color: var(--river-deep);
  text-decoration: none;
}
.ext-link:hover { text-decoration: underline; }
.ext-link svg { flex: none; opacity: 0.75; }

/* 3-30-300 mini diagram */
.rule-diagram {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
  margin: 1.6rem 0 0.4rem; text-align: center;
}
@media (max-width: 560px) { .rule-diagram { gap: 0.7rem; } }
.rule-item {
  background: var(--sand); border-radius: var(--radius);
  padding: 1.2rem 0.8rem 1rem; border: 1px solid var(--sand-3);
}
.rule-item .rule-num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1; color: var(--pine);
}
.rule-item .rule-label { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.45rem; line-height: 1.35; }
.rule-item svg { display: block; margin: 0 auto 0.55rem; color: var(--moss); }

/* Event feature */
.event-feature {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.2rem, 5vw, 4.5rem); align-items: center;
}
@media (max-width: 860px) { .event-feature { grid-template-columns: 1fr; } }
.date-chip {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--pine); color: var(--sand);
  font-weight: 600; font-size: 0.95rem;
  padding: 0.55rem 1.15rem; border-radius: 999px; margin-bottom: 1.2rem;
}
.date-chip svg { flex: none; color: var(--clay); }
.event-meta {
  list-style: none; margin: 1.4rem 0 0; padding: 0;
  display: grid; gap: 0.7rem; color: var(--ink-soft);
}
.event-meta li { display: flex; gap: 0.7rem; align-items: center; }
.event-meta svg { flex: none; color: var(--river); }

/* Donate band */
.donate-band {
  background: linear-gradient(120deg, var(--pine) 0%, var(--pine-deep) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(2.6rem, 6vw, 4.5rem);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.4rem; align-items: center;
  box-shadow: var(--shadow-2);
}
@media (max-width: 860px) { .donate-band { grid-template-columns: 1fr; } }
.donate-band h2, .donate-band h3 { color: #fff; }
.donate-band p { color: rgba(255,255,255,0.82); margin-bottom: 0; }
.donate-band .donate-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: flex-end; }
@media (max-width: 860px) { .donate-band .donate-actions { justify-content: flex-start; } }
.zeffy-note { font-size: 0.84rem; color: rgba(255,255,255,0.6); margin-top: 0.8rem; }

/* Contact form states */
.form-status { border-radius: var(--radius); padding: 1rem 1.3rem; font-size: 0.98rem; margin-top: 1.2rem; }
.form-status.ok { background: #E5F2E9; border: 1px solid #9CC7A8; color: #1E5631; }
.form-status.err { background: #F7E8E0; border: 1px solid #E0B49A; color: #8C4A1D; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

/* Note chip (e.g., map refinement note) */
.note-chip {
  display: inline-flex; align-items: flex-start; gap: 0.6rem;
  background: var(--sand-2); border: 1px solid var(--sand-3);
  border-radius: var(--radius); padding: 0.75rem 1.05rem;
  font-size: 0.88rem; color: var(--ink-soft); line-height: 1.45;
}
.note-chip svg { flex: none; margin-top: 0.15rem; color: var(--clay); }

/* Big-5 list */
.big5 { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0.85rem; counter-reset: park; }
.big5 li {
  counter-increment: park;
  display: flex; gap: 0.9rem; align-items: baseline;
  padding-bottom: 0.85rem; border-bottom: 1px solid var(--sand-3);
}
.big5 li::before {
  content: counter(park);
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem;
  color: var(--river); min-width: 1.4rem;
}
.big5 .park-name { font-weight: 600; color: var(--pine); }
.big5 .park-town { font-size: 0.88rem; color: var(--ink-soft); margin-left: 0.5rem; }

/* v3 additions */
.on-dark .checklist li svg { color: var(--clay); }
.media-caption-chip {
  position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.8rem;
  background: rgba(13,42,31,0.78); color: #fff;
  font-size: 0.78rem; line-height: 1.4; padding: 0.5rem 0.75rem;
  border-radius: 8px; backdrop-filter: blur(4px);
}

/* ============================================================
   v4 — Mobilize. Connect. Support. (strategic repositioning)
   ============================================================ */

/* Role diagram (editorial, simple) */
.role-simple { max-width: 640px; margin-inline: auto; text-align: center; }
.role-step h3 { margin-bottom: 0.35rem; }
.role-step p { color: var(--ink-soft); margin: 0 auto; max-width: 44ch; }
.role-step .role-meta {
  font-size: 0.92rem; color: var(--moss); margin-top: 0.55rem;
}
.role-step-mdr::before {
  content: ""; display: block; width: 30px; height: 3px;
  border-radius: 2px; background: var(--ember);
  margin: 0 auto 0.9rem;
}
.role-step-mdr h3 { font-size: clamp(1.65rem, 2.9vw, 2.1rem); }
.role-connector {
  width: 1.5px; height: 44px; background: var(--clay);
  margin: 1.5rem auto 1.7rem; position: relative;
}
.role-connector::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--clay); border-bottom: 1.5px solid var(--clay);
  transform: translateX(-50%) rotate(45deg);
}
@media (max-width: 760px) { .role-br { display: none; } }
.role-note {
  font-size: 0.95rem; color: var(--ink-soft); opacity: 0.85;
  margin: 2.6rem auto 0; max-width: 44ch;
}

/* Partners page (editorial layout) */
.partner-group {
  display: grid; grid-template-columns: minmax(200px, 270px) 1fr;
  gap: clamp(1.4rem, 4vw, 4rem);
  padding-block: clamp(2.2rem, 4.5vw, 3.4rem);
  border-top: 1px solid var(--sand-3);
}
.partner-group-head h3 { margin-bottom: 0; }
.partner-group-body > p { color: var(--ink-soft); max-width: 62ch; margin-bottom: 0; }
.org-list { list-style: none; margin: 1.2rem 0 0; padding: 0; max-width: 32rem; }
.org-list li {
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
  color: var(--pine); padding-block: 0.5rem;
}
.org-list li + li { border-top: 1px solid var(--sand-2); }
.featured-partner {
  display: grid; grid-template-columns: 150px 1fr;
  gap: clamp(1.2rem, 3vw, 2.4rem); align-items: center;
  margin-top: 2.4rem;
}
.featured-partner img {
  max-width: 100%; max-height: 105px; width: auto; height: auto;
  object-fit: contain; justify-self: center;
}
.featured-partner h4 { margin-bottom: 0.3rem; font-size: 1.2rem; }
.featured-partner p { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 0.4rem; max-width: 56ch; }
@media (max-width: 700px) {
  .partner-group { grid-template-columns: 1fr; gap: 0.9rem; }
  .featured-partner { grid-template-columns: 1fr; gap: 0.9rem; text-align: center; }
  .featured-partner p { margin-inline: auto; }
  .featured-partner img { max-height: 85px; }
}

/* Reason list (why partner, dark section) */
.reason-list { list-style: none; margin: 0; padding: 0; max-width: 780px; }
.reason-list li {
  padding-block: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.78); line-height: 1.6;
}
.reason-list li:last-child { border-bottom: 1px solid rgba(255,255,255,0.16); }
.reason-list strong { color: #fff; }
