:root {
  --pine: #17372c;
  --pine-2: #234c3b;
  --pine-3: #315f4c;
  --ink: #18211d;
  --ink-muted: #506057;
  --paper: #eee6d4;
  --paper-light: #fbf8ee;
  --paper-deep: #d9ccb2;
  --line: rgba(23, 55, 44, .24);
  --line-strong: rgba(23, 55, 44, .5);
  --lime: #d6e04f;
  --clay: #9d4c32;
  --blue: var(--pine-3);
  --teal: var(--pine-2);
  --orange: var(--clay);
  --red: #9d3e35;
  --purple: var(--clay);
  --shadow: 0 14px 36px rgba(24, 33, 29, .12);
  --content: 1480px;
  --page: clamp(20px, 4vw, 64px);
  --sans: "Avenir Next", Avenir, Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: #d9ccb2; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(238,230,212,.72), rgba(238,230,212,.72)),
    url("/assets/images/topo-background.webp") center top / max(1500px, 115vw) auto repeat-y fixed;
  font: 500 17px/1.56 var(--sans);
  text-rendering: optimizeLegibility;
}

body::before {
  content: none;
}

body, button, input, select, textarea { font-family: var(--sans); }

a { color: inherit; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font-size: 1rem; }
button, summary, select, input[type="checkbox"] { cursor: pointer; }
img { max-width: 100%; }

:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }

.site-shell { min-height: 100vh; overflow: clip; }
.sr-only { width: 1px; height: 1px; padding: 0; margin: -1px; position: absolute; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 9999; padding: 12px 16px; color: white; background: var(--pine); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { color: inherit; font-family: var(--sans); letter-spacing: -.025em; }
h1 { font-size: clamp(2.15rem, 4.5vw, 4.35rem); line-height: .98; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 3.15rem); line-height: 1.04; font-weight: 780; }
h3 { font-size: 1.25rem; line-height: 1.18; font-weight: 760; }

.utility-label, .kicker {
  margin: 0 0 8px;
  color: var(--pine-3);
  font-size: .78rem;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.button {
  min-height: 46px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--pine);
  border-radius: 4px;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 800;
}
.button-primary { color: white; background: var(--pine); }
.button-primary:hover { background: var(--pine-2); }
.button-secondary { color: var(--pine); background: transparent; }
.button-light { color: var(--pine); background: var(--paper-light); border-color: var(--paper-light); }
.button-ghost { color: white; border-color: rgba(255,255,255,.55); }

/* Header */
.masthead {
  min-height: 92px;
  padding: 10px var(--page);
  display: grid;
  grid-template-columns: minmax(170px, 230px) 1fr auto;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  background: rgba(251, 248, 238, .95);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 30;
}
.brand { min-height: 70px; display: flex; align-items: center; text-decoration: none; }
.brand-logo { width: min(190px, 100%); height: 78px; display: block; object-fit: contain; object-position: left center; }
.primary-nav { display: flex; justify-content: center; gap: clamp(28px, 4vw, 58px); }
.primary-nav a { min-height: 48px; position: relative; display: inline-flex; align-items: center; text-decoration: none; font-size: 1.05rem; font-weight: 700; }
.primary-nav a::after { content: ""; position: absolute; right: 50%; bottom: 4px; left: 50%; height: 3px; background: var(--clay); transition: right .18s ease, left .18s ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { right: 0; left: 0; }
.primary-nav a:hover { color: var(--orange); }
.header-action { min-height: 46px; padding: 0 15px; display: inline-flex; align-items: center; gap: 10px; color: white; background: var(--pine); text-decoration: none; font-weight: 800; }
.social-links { display: flex; gap: 8px; }
.social-links a { width: 54px; min-width: 54px; min-height: 54px; padding: 0; display: grid; place-items: center; border: 0; text-decoration: none; }
.social-links a span { width: 44px; height: 44px; display: grid; place-items: center; color: white; background: var(--pine); border-radius: 50%; font-size: 1.4rem; font-weight: 700; transition: transform .18s ease, background .18s ease; }
.social-links a:hover span { background: var(--clay); transform: translateY(-2px); }
.social-links a .email-icon { position: relative; font-size: 0; line-height: 1; }
.email-icon::before { content: ""; width: 24px; height: 17px; position: absolute; top: 50%; left: 50%; border: 2px solid currentColor; border-radius: 2px; transform: translate(-50%, -50%); }
.email-icon::after { content: ""; width: 15px; height: 15px; position: absolute; top: 8px; left: 50%; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateX(-50%) rotate(45deg); transform-origin: center; }
.mobile-nav { display: none; }

/* Homepage */
.home-media-hero { max-width: var(--content); min-height: clamp(500px, 63vw, 720px); margin: clamp(22px, 4vw, 48px) auto 0; position: relative; display: flex; align-items: end; overflow: hidden; color: white; background: #0d1713; box-shadow: var(--shadow); }
.home-media-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,25,19,.88) 0%, rgba(8,25,19,.58) 42%, rgba(8,25,19,.12) 75%), linear-gradient(0deg, rgba(8,25,19,.7), transparent 55%); pointer-events: none; }
.home-media-video { position: absolute; inset: 0; overflow: hidden; }
.home-media-video iframe { width: 177.78vh; min-width: 100%; height: 56.25vw; min-height: 100%; position: absolute; top: 50%; left: 50%; border: 0; transform: translate(-50%, -50%); pointer-events: none; }
.home-media-video .approved-media-image, .home-media-video .approved-media-image img { width: 100%; height: 100%; margin: 0; display: block; object-fit: cover; }
.home-media-copy { max-width: 780px; padding: clamp(32px, 6vw, 84px); position: relative; z-index: 2; }
.home-media-copy h1 { margin: 0; font-size: clamp(2.6rem, 6.5vw, 6.2rem); }
.home-media-copy > p { max-width: 660px; margin: 18px 0 24px; font-size: clamp(1.05rem, 1.8vw, 1.35rem); }
.home-media-copy > div { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; }
.home-media-copy > div > a:not(.button) { min-height: 44px; display: inline-flex; align-items: center; font-size: .88rem; font-weight: 800; }
.home-preview-grid { max-width: var(--content); margin: 0 auto; padding: clamp(52px, 7vw, 90px) var(--page); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.home-preview-card { min-width: 0; display: grid; grid-template-rows: 300px 1fr; background: rgba(251,248,238,.84); border: 1px solid var(--line-strong); box-shadow: 0 8px 22px rgba(24,33,29,.08); }
.home-preview-visual { min-width: 0; overflow: hidden; background: var(--pine); border-bottom: 1px solid var(--line); }
.home-preview-visual > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.home-trailforks-preview { position: relative; background: #e6e1d3; }
.home-trailforks-preview .TrailforksWidgetMap,
.home-trailforks-preview iframe { width: 100% !important; min-height: 300px !important; height: 300px !important; display: block; border: 0; pointer-events: none; }
.home-trailforks-preview .trailforks-loading { height: 100%; margin: 0; padding: 28px; display: grid; place-items: center; color: var(--ink-muted); text-align: center; }
.home-map-preview-link { position: absolute; inset: 0; z-index: 4; }
.home-map-preview-link:focus-visible { outline: 4px solid var(--orange); outline-offset: -5px; }
.home-map-fallback { height: 100%; padding: 28px; display: flex; flex-direction: column; justify-content: end; color: white; background: linear-gradient(135deg, rgba(23,55,44,.82), rgba(49,95,76,.68)), url("/assets/images/topo-background.webp") center / cover; }
.home-map-fallback span { color: var(--lime); font-size: .78rem; font-weight: 850; text-transform: uppercase; }
.home-map-fallback strong { font-size: clamp(1.5rem, 3vw, 2.4rem); }
.home-preview-copy { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; align-items: flex-start; }
.home-preview-copy h2 { margin: 0 0 14px; font-size: clamp(1.8rem, 2.8vw, 2.8rem); }
.home-preview-copy p { margin: 0; color: var(--ink-muted); }
.home-preview-copy p strong { color: var(--ink); }
.home-preview-copy > a { min-height: 44px; margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; color: var(--pine); font-size: .88rem; font-weight: 850; }
.home-video-preview iframe { width: 100%; height: 100%; display: block; border: 0; }
.home-events-preview, .home-support-preview { min-width: 0; padding: 24px; display: grid; align-content: center; gap: 10px; color: white; background: var(--pine); border-bottom: 1px solid var(--line); }
.home-events-preview > div { min-height: 92px; padding: 16px 18px; display: grid; align-content: center; gap: 5px; background: rgba(255,255,255,.08); border-left: 5px solid var(--lime); }
.home-events-preview time { color: rgba(255,255,255,.72); font-size: .78rem; }
.home-events-preview strong { font-size: 1.18rem; }
.home-support-preview { background: var(--pine-3); }
.home-support-preview span { min-height: 62px; padding: 0 18px; display: flex; align-items: center; border: 1px solid rgba(255,255,255,.34); font-weight: 800; }

/* Shared sections */
.updates-section, .inner-page > section, .inner-page > aside:not(.emergency-banner) {
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(52px, 7vw, 92px) var(--page);
}
.section-intro { max-width: var(--content); margin: 0 auto; padding: 38px var(--page) 18px; display: grid; grid-template-columns: minmax(260px, .6fr) minmax(320px, 1fr); align-items: end; gap: 22px 60px; border-bottom: 1px solid var(--line); }
.section-intro h1 { margin: 0; font-size: clamp(2.15rem, 4vw, 3.8rem); }
.section-intro p { max-width: 760px; margin: 0; color: var(--ink-muted); }
.section-heading {
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr);
  align-items: end;
  gap: 24px 60px;
}
.section-heading h2 { max-width: 820px; margin: 0; }
.section-heading > p { margin: 0; color: var(--ink-muted); }
.section-heading > a { justify-self: end; min-height: 44px; display: inline-flex; align-items: center; font-weight: 800; }
.heading-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; }
.section-note { margin: 18px 0 0; color: var(--ink-muted); font-size: .93rem; }

/* Updates */
.updates-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--pine); }
.update-card { min-height: 112px; padding: 18px 22px; display: grid; grid-template-columns: 112px minmax(110px, .28fr) minmax(200px, .6fr) minmax(260px, 1.2fr) auto; align-items: center; gap: 18px 24px; background: rgba(251,248,238,.72); border-bottom: 1px solid var(--line); }
.update-visual { width: 112px; height: 72px; display: grid; place-items: center; overflow: hidden; color: white; background: var(--pine-3); }
.update-visual img { width: 100%; height: 100%; object-fit: cover; }
.update-visual span { font-size: 1.65rem; font-weight: 850; }
.update-card h3 { margin: 0; font-size: 1.2rem; }
.update-card time { margin: 0; color: var(--ink-muted); font-size: .8rem; }
.update-card > p { margin: 0; color: var(--ink-muted); font-size: .9rem; }
.update-card > a { min-height: 44px; display: flex; align-items: center; font-size: .84rem; font-weight: 750; white-space: nowrap; }
.facebook-bar { margin-top: 14px; padding: 14px 16px; display: flex; align-items: center; gap: 20px; color: white; background: var(--pine-3); }
.facebook-bar > div { margin-right: auto; display: grid; }
.facebook-bar span { color: rgba(255,255,255,.8); font-size: .82rem; }
.facebook-bar a { min-height: 44px; padding: 0 12px; display: flex; align-items: center; border: 1px solid rgba(255,255,255,.5); text-decoration: none; font-weight: 800; }
.updates-compact { grid-template-columns: 1fr; border-top: 0; }
.updates-compact .update-visual { display: none; }
.updates-compact .update-card { min-height: 0; padding: 15px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; background: transparent; border-bottom-color: rgba(251,248,238,.24); }
.updates-compact .update-card h3 { color: var(--paper-light); font-size: 1.08rem; }
.updates-compact .update-card time { color: rgba(251,248,238,.68); }
.updates-compact .update-card > p:not(.update-eyebrow) { margin: 6px 0; color: rgba(251,248,238,.75); font-size: .82rem; }
.updates-compact .update-card > a { min-height: 32px; color: var(--lime); font-size: .8rem; }
.lead-updates .facebook-bar { margin-top: auto; padding: 12px 0 0; background: transparent; border-top: 1px solid rgba(251,248,238,.25); }

/* Homepage projects, media, support */
.project-feature { max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .7fr); background: var(--pine); }
.project-visual { min-height: 460px; margin: 0; position: relative; background: #ddd5c4; }
.project-visual img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.project-visual figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 9px 12px; color: white; background: rgba(0,0,0,.7); font-size: .72rem; }
.project-copy { padding: clamp(36px, 6vw, 74px); align-content: center; color: white; }
.project-copy h2 { margin: 0 0 18px; }
.project-copy > p:not(.utility-label) { color: rgba(255,255,255,.78); }
.project-copy .button { color: var(--pine); background: var(--lime); border-color: var(--lime); }
.project-facts { margin: 24px 0; }
.project-facts div { padding: 10px 0; display: grid; grid-template-columns: 150px 1fr; gap: 16px; border-top: 1px solid rgba(255,255,255,.2); }
.project-facts dt { color: var(--lime); font-size: .72rem; font-weight: 850; text-transform: uppercase; }
.project-facts dd { margin: 0; font-size: .88rem; }
.media-feature { max-width: var(--content); margin: 0 auto; padding: clamp(52px, 7vw, 92px) var(--page); display: grid; grid-template-columns: minmax(300px, .55fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.media-copy h2 { margin: 0 0 18px; }
.media-copy > p:not(.utility-label) { color: var(--ink-muted); }
.media-copy > a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 850; }
.media-credit { font-size: .78rem; }
.video-frame { margin: 0; background: #111; box-shadow: var(--shadow); }
.video-frame iframe { width: 100%; aspect-ratio: 16/9; display: block; border: 0; }
.video-frame figcaption { padding: 9px 12px; color: white; background: var(--ink); font-size: .76rem; }
.approved-media-image { margin: 0; }
.approved-media-image img { width: 100%; height: auto; display: block; }
.support-strip { max-width: var(--content); margin: 0 auto clamp(50px, 7vw, 90px); padding: 32px var(--page); color: white; background: var(--pine); }
.support-strip h2 { max-width: 800px; margin: 0; }
.support-actions { margin-top: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.28); border-left: 1px solid rgba(255,255,255,.28); }
.support-actions a { min-height: 120px; padding: 15px; display: flex; flex-direction: column; justify-content: center; text-decoration: none; border-right: 1px solid rgba(255,255,255,.28); border-bottom: 1px solid rgba(255,255,255,.28); }
.support-actions span { color: rgba(255,255,255,.72); font-size: .8rem; }

/* Inner pages */
.inner-page { min-height: 70vh; background: rgba(238,230,212,.34); }
.page-hero { max-width: var(--content); margin: 0 auto; padding: clamp(48px, 7vw, 90px) var(--page); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .55fr); align-items: end; gap: 36px 80px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; margin: 0; }
.page-hero > div:last-child > p { margin: 0 0 16px; color: var(--ink-muted); }
.page-hero > div:last-child > a:not(.button) { min-height: 44px; display: inline-flex; align-items: center; color: var(--pine); font-weight: 850; }
.compact-page-hero h1 { font-size: clamp(2.15rem, 4.5vw, 4rem); }

/* Forms and contact */
.emergency-banner { max-width: var(--content); margin: 28px auto 0; padding: 16px var(--page); display: grid; grid-template-columns: 150px 1fr; gap: 20px; color: white; background: var(--red); }
.emergency-banner b { font-size: 1.3rem; }
.emergency-banner p { margin: 0; }
.contact-layout { max-width: var(--content); margin: 0 auto; padding: clamp(50px, 7vw, 90px) var(--page); display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .45fr); gap: 40px 80px; }
.contact-card { padding: 28px; background: var(--paper-light); border: 1px solid var(--line); }
.contact-card h2 { margin: 0 0 16px; font-size: 2rem; }
.contact-card > p { color: var(--ink-muted); }
.contact-topics { margin: 22px 0; display: flex; flex-wrap: wrap; gap: 7px; }
.contact-topics a { min-height: 44px; padding: 7px 11px; display: inline-flex; align-items: center; border: 1px solid var(--line); text-decoration: none; font-size: .8rem; font-weight: 800; }
.contact-topics a.active { background: var(--lime); border-color: var(--pine); }
.contact-details { display: grid; align-content: start; }
.contact-details > div { padding: 18px 0; border-top: 1px solid var(--line); }
.contact-details p { margin: 0 0 6px; color: var(--orange); font-size: .74rem; font-weight: 850; text-transform: uppercase; }
.contact-details address { color: var(--ink-muted); font-style: normal; }

/* Support, About, media library */
.support-grid { display: grid; gap: 0; }
.support-grid article { min-height: 142px; padding: 22px 0; display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(190px, auto); align-items: center; gap: 20px; border-bottom: 1px solid var(--line-strong); scroll-margin-top: 30px; }
.support-grid article:first-child { border-top: 1px solid var(--line-strong); }
.support-icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--paper-light); background: var(--pine); border-radius: 50%; font-size: 1.35rem; font-weight: 650; }
.support-grid h2 { margin: 0; font-size: 1.45rem; }
.support-grid p { margin: 6px 0 0; color: var(--ink-muted); }
.support-grid a { min-height: 44px; display: inline-flex; align-items: center; justify-self: end; color: var(--pine); font-size: .9rem; font-weight: 750; }
.support-contact-band, .about-contact { display: flex; align-items: center; justify-content: space-between; gap: 30px; color: white; background: var(--pine); }
.support-contact-band h2, .about-contact h2 { margin: 0; }
.support-contact-band p, .about-contact p { color: rgba(255,255,255,.75); }
.support-contact-band .button, .about-contact .button { color: var(--pine); background: var(--lime); border-color: var(--lime); }
.about-purpose { display: grid; grid-template-columns: .75fr 1fr; gap: 40px 80px; align-items: center; }
.about-purpose h2 { margin: 0; }
.about-purpose > div p { color: var(--ink-muted); font-size: 1.05rem; }
.about-purpose figure { margin: 0; }
.about-purpose img { width: 100%; max-height: 620px; display: block; object-fit: cover; }
.about-purpose figcaption { padding: 8px 0; color: var(--ink-muted); font-size: .74rem; }
.people-profiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.people-profiles article { text-align: center; }
.profile-photo { aspect-ratio: 1; display: grid; place-items: center; color: var(--ink-muted); background: rgba(251,248,238,.76); border: 1px solid var(--line); border-radius: 50%; font-size: .8rem; }
.profile-photo img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: inherit; }
.people-profiles p { margin: 14px 0 2px; color: var(--pine-3); font-size: .78rem; font-weight: 750; text-transform: uppercase; }
.people-profiles h3 { margin: 0; }
.partner-list { border-top: 1px solid var(--pine); }
.partner-list a { min-height: 90px; padding: 15px 0; display: grid; grid-template-columns: minmax(200px, .5fr) 1fr auto; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); text-decoration: none; }
.partner-list span { color: var(--ink-muted); font-size: .9rem; }
.partner-list em { color: var(--orange); font-size: .8rem; font-style: normal; font-weight: 850; }
.history-grid { display: grid; grid-template-columns: .5fr 1fr; gap: 40px 80px; }
.history-grid h2 { margin: 0; }
.history-grid ol { margin: 0; padding: 0 0 0 25px; list-style: none; border-left: 2px solid var(--pine-3); }
.history-grid li { min-height: 92px; padding: 12px 0 12px 30px; position: relative; display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); }
.history-grid li::before { content: ""; width: 13px; height: 13px; position: absolute; left: -32px; border-radius: 50%; background: var(--pine-3); border: 3px solid var(--paper); }
.history-grid li b { color: var(--pine-3); font-size: 1.2rem; }
.about-contact address { color: rgba(255,255,255,.72); font-style: normal; text-align: right; }
.media-grid { display: grid; gap: 22px; }
.media-card { display: grid; grid-template-columns: minmax(320px, .8fr) 1fr; gap: 28px; align-items: center; background: rgba(255,253,247,.8); border: 1px solid var(--line); }
.media-card > div:last-child { padding: 22px 28px 22px 0; }
.media-card h3 { margin: 0; font-size: 1.5rem; }
.media-card p:not(.utility-label) { color: var(--ink-muted); }
.media-author { font-size: .78rem; font-weight: 700; }
.media-card a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 850; }
.media-card small { display: block; color: var(--ink-muted); font-size: .72rem; }

.news-spotlight { display: grid; grid-template-columns: minmax(360px, .7fr) minmax(0, 1fr); gap: 24px; }
.news-spotlight-single { grid-template-columns: minmax(0, 1fr); }
.news-page > section { padding-top: 38px; padding-bottom: 38px; }
.updates-hub-nav { max-width: var(--content); margin: 28px auto 0; padding: 0 var(--page); display: grid; grid-template-columns: repeat(3, 1fr); }
.updates-hub-nav a { min-height: 72px; padding: 0 22px; display: flex; align-items: center; gap: 14px; color: white; background: var(--pine); border-right: 1px solid rgba(255,255,255,.25); text-decoration: none; font-size: 1.05rem; font-weight: 800; }
.updates-hub-nav a:hover { background: var(--pine-2); }
.updates-hub-nav span { color: var(--lime); font-size: .72rem; }
.subsection-heading { margin: 34px 0 16px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.subsection-heading h3 { margin: 0; font-size: 1.45rem; }
.subsection-heading a { min-height: 40px; display: inline-flex; align-items: center; font-size: .82rem; font-weight: 800; }
.empty-feed { margin: 0; padding: 24px; color: var(--ink-muted); background: rgba(251,248,238,.72); border-bottom: 1px solid var(--line); }
.facebook-feed-card, .news-project-card { min-width: 0; background: rgba(251,248,238,.8); border: 1px solid var(--line); }
.news-card-heading { min-height: 84px; padding: 14px 18px; display: flex; align-items: end; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.news-card-heading h2 { margin: 0; font-size: 1.65rem; }
.news-card-heading a { min-height: 44px; display: inline-flex; align-items: center; font-size: .82rem; font-weight: 750; }
.facebook-feed-card iframe { width: 100%; height: 620px; display: block; border: 0; background: white; }
.embed-fallback { margin: 0; padding: 10px 16px; color: var(--ink-muted); font-size: .74rem; }
.news-project-card { display: grid; grid-template-rows: minmax(320px, 1fr) auto; overflow: hidden; }
.news-project-card img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.news-project-card > div { padding: 24px; }
.news-project-card h2 { margin: 0; }
.news-project-card p:not(.utility-label) { color: var(--ink-muted); }
.news-project-feature .project-facts div { border-top-color: var(--line); }
.news-project-feature .project-facts dt { color: var(--pine-3); }
.compact-video { box-shadow: none; }

/* Carlson project */
.carlson-hero { max-width: var(--content); min-height: 520px; margin: 0 auto; padding: clamp(50px, 7vw, 90px) var(--page); display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .45fr); align-items: center; gap: 40px 80px; color: white; background: var(--pine); }
.carlson-hero .utility-label { color: var(--lime); }
.carlson-hero-copy h1 { max-width: 820px; margin: 0 0 20px; }
.carlson-hero-copy > p:not(.utility-label) { max-width: 720px; color: rgba(255,255,255,.8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.carlson-status-card { padding: 22px; color: var(--ink); background: var(--paper-light); }
.carlson-status-card dl { margin: 18px 0 0; }
.carlson-status-card dl div { padding: 11px 0; border-top: 1px solid var(--line); }
.carlson-status-card dt { color: var(--orange); font-size: .7rem; font-weight: 850; text-transform: uppercase; }
.carlson-status-card dd { margin: 3px 0 0; font-size: .83rem; }
.project-notice { max-width: var(--content) !important; padding-top: 20px !important; padding-bottom: 20px !important; display: grid; grid-template-columns: 220px 1fr; color: var(--ink); background: var(--lime); }
.project-notice b { font-size: 1.2rem; }
.project-notice p { margin: 0; }
.project-progress-graphic { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .65fr); align-items: center; gap: 40px 70px; }
.project-progress-graphic figure { margin: 0; background: var(--paper-light); border: 1px solid var(--line); }
.project-progress-graphic img { width: 100%; height: auto; display: block; }
.project-progress-graphic figcaption { padding: 10px 12px; color: var(--ink-muted); font-size: .74rem; }
.project-progress-graphic figcaption span { display: block; color: var(--orange); }
.project-progress-graphic h2 { margin: 0 0 16px; }
.project-progress-graphic > div > p:not(.utility-label) { color: var(--ink-muted); }
.project-story, .project-sources { display: grid; grid-template-columns: .65fr 1fr; gap: 40px 90px; }
.project-story h2, .project-sources h2, .project-help h2 { margin: 0; }
.project-story > div:last-child p { margin-top: 0; color: var(--ink-muted); }
.project-timeline { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--pine); }
.project-timeline li { min-height: 112px; padding: 18px 0; display: grid; grid-template-columns: 90px 1fr; gap: 24px; border-bottom: 1px solid var(--line); }
.project-timeline time { color: var(--orange); font-size: 1.35rem; font-weight: 800; }
.project-timeline h3 { margin: 0; }
.project-timeline p { margin: 6px 0 0; color: var(--ink-muted); }
.source-list { border-top: 1px solid var(--pine); }
.source-list a { min-height: 82px; padding: 12px 0; display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); text-decoration: none; }
.source-list span { color: var(--ink-muted); font-size: .8rem; }
.project-help { max-width: var(--content) !important; color: white; background: var(--pine); }
.project-help > div:last-child p { color: rgba(255,255,255,.75); }
.project-help .button { color: var(--pine); background: var(--lime); border-color: var(--lime); }

/* Footer */
.footer { max-width: none; padding: 34px var(--page); display: grid; grid-template-columns: minmax(260px, 1fr) auto auto; align-items: center; gap: 26px 50px; color: white; background: #10271f; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 112px; height: 74px; display: block; object-fit: contain; object-position: left center; }
.footer-brand strong { display: block; }
.footer p { margin: 3px 0 0; color: rgba(255,255,255,.7); font-size: .78rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-size: .8rem; font-weight: 800; }
.social-links-footer a { border-color: rgba(255,255,255,.3); }
.social-links-footer a span { color: var(--pine); background: white; }
.footer-note { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); }

@media (max-width: 1320px) {
  .masthead { grid-template-columns: minmax(170px, 1fr) auto auto; }
  .primary-nav { gap: 26px; }
  .updates-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1020px) {
  .masthead { grid-template-columns: 1fr auto auto; }
  .primary-nav { display: none; }
  .mobile-nav { position: relative; display: block; }
  .mobile-nav summary { min-width: 70px; min-height: 46px; display: grid; place-items: center; border: 1px solid var(--line); font-size: .82rem; font-weight: 850; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; right: 0; top: 52px; min-width: 260px; padding: 7px; display: grid; color: var(--ink); background: var(--paper-light); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .mobile-nav nav a { min-height: 46px; padding: 0 11px; display: flex; align-items: center; text-decoration: none; font-size: .88rem; font-weight: 800; }
  .section-heading, .section-intro, .page-hero, .project-story, .project-sources, .project-progress-graphic, .project-help, .about-purpose, .history-grid { grid-template-columns: 1fr; }
  .section-heading > a { justify-self: start; }
  .heading-actions { justify-content: flex-start; }
  .home-preview-card { grid-template-rows: 260px 1fr; }
  .home-lead, .project-feature, .media-feature, .news-spotlight { grid-template-columns: 1fr; }
  .lead-video iframe { min-height: 430px; }
  .support-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .carlson-hero { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .people-profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-card { grid-template-columns: 1fr; }
  .media-card > div:last-child { padding: 0 22px 22px; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer .social-links { justify-self: end; }
}

@media (max-width: 720px) {
  :root { --page: 18px; }
  body { font-size: 17px; }
  .masthead { min-height: 76px; padding-top: 5px; padding-bottom: 5px; grid-template-columns: 1fr auto; gap: 8px; }
  .brand { min-height: 60px; }
  .masthead > .social-links { display: none; }
  .home-media-hero { min-height: 520px; margin-top: 12px; }
  .home-media-copy { padding: 28px 22px; }
  .home-preview-grid, .updates-hub-nav { grid-template-columns: 1fr; }
  .home-preview-card { grid-template-rows: 220px 1fr; }
  .home-trailforks-preview .TrailforksWidgetMap,
  .home-trailforks-preview iframe { min-height: 220px !important; height: 220px !important; }
  .updates-grid { grid-template-columns: 1fr; }
  .update-card { min-height: 0; padding: 16px 18px; grid-template-columns: 1fr; gap: 6px; }
  .update-visual { width: 100%; height: 110px; }
  .facebook-bar { align-items: flex-start; flex-direction: column; }
  .project-visual { min-height: 350px; }
  .project-copy { padding: 38px 22px; }
  .support-actions { grid-template-columns: 1fr; }
  .support-actions a { min-height: 100px; }
  .support-grid article { grid-template-columns: 52px 1fr; gap: 14px; }
  .support-grid a { grid-column: 2; justify-self: start; }
  .subsection-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .emergency-banner { grid-template-columns: 1fr; }
  .support-contact-band, .about-contact { align-items: flex-start; flex-direction: column; }
  .about-contact address { text-align: left; }
  .partner-list a { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .history-grid li { grid-template-columns: 65px 1fr; }
  .project-notice { grid-template-columns: 1fr; gap: 8px; }
  .project-timeline li { grid-template-columns: 65px 1fr; }
  .footer { grid-template-columns: 1fr; gap: 18px; }
  .footer-links { justify-content: flex-start; }
  .footer .social-links { justify-self: start; }
}

@media (max-width: 430px) {
  .project-facts div { grid-template-columns: 1fr; gap: 3px; }
}

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

/* Kirby migration: controlled Trailforks and Trail Updates surfaces */
.trailforks-product { max-width: 1700px; margin: 0 auto; padding: clamp(40px, 6vw, 82px) var(--page); background: rgba(238,230,212,.58); }
.trailforks-heading { margin-bottom: 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 50px; }
.trailforks-heading h1 { margin: 0; font-size: clamp(2rem, 3.2vw, 3.15rem); }
.trailforks-frame { min-height: 760px; overflow: hidden; background: #e6e1d3; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.TrailforksWidgetMap { width: 100%; min-height: 760px; position: relative; }
.trailforks-frame iframe { width: 100% !important; height: 760px; display: block; border: 0; }
.trailforks-loading { margin: 0; padding: 28px; color: var(--ink-muted); }
.TrailforksWidgetMap:has(iframe) .trailforks-loading { display: none; }
.trailforks-footer { min-height: 68px; padding: 12px 16px; display: flex; align-items: center; gap: 20px; color: white; background: var(--pine); }
.trailforks-footer p { margin: 0 auto 0 0; color: rgba(255,255,255,.76); font-size: .85rem; }
.trailforks-footer a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 800; }
.embed-unavailable { margin: 0; padding: 28px; color: var(--ink); background: var(--paper-light); border: 1px solid var(--line); }
.embed-unavailable p { margin-bottom: 0; color: var(--ink-muted); }

.trail-updates-section { max-width: var(--content); margin: 0 auto; padding: clamp(52px, 7vw, 92px) var(--page); }
.trail-updates-priority { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(30px, 4vw, 54px); }
.trail-updates-priority .section-heading { margin-bottom: 18px; }
.trail-updates-priority .section-heading h1 { margin: 0; font-size: clamp(2rem, 3.2vw, 3.15rem); }
.trail-updates-priority .section-heading p { max-width: 620px; margin: 0; }
.trail-notice-list { border-top: 1px solid var(--pine); }
.trail-notice { min-height: 96px; padding: 16px 18px; display: grid; grid-template-columns: 94px minmax(0, 1fr) 120px auto; align-items: center; gap: 16px 24px; background: rgba(251,248,238,.76); border-bottom: 1px solid var(--line); }
.notice-status { min-height: 30px; padding: 5px 8px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid currentColor; font-size: .7rem; font-weight: 900; letter-spacing: .035em; text-transform: uppercase; }
.trail-notice-info .notice-status { color: var(--pine); background: #dce7dd; }
.trail-notice-caution .notice-status { color: #7b4b00; background: #f4dfae; }
.trail-notice-closed .notice-status { color: #8d2b26; background: #f2d2cc; }
.trail-notice h3 { margin: 0; font-size: 1.05rem; }
.trail-notice p { margin: 5px 0 0; color: var(--ink-muted); font-size: .88rem; }
.trail-notice time { color: var(--ink-muted); font-size: .78rem; }
.trail-notice > a { min-height: 44px; display: inline-flex; align-items: center; font-size: .82rem; font-weight: 800; white-space: nowrap; }

.people-profiles small { display: block; margin-top: 9px; color: var(--ink-muted); }

@media (max-width: 1020px) {
  .trailforks-heading { grid-template-columns: 1fr; align-items: start; }
  .trailforks-heading .button { justify-self: start; }
  .trailforks-frame, .TrailforksWidgetMap, .trailforks-frame iframe { min-height: 650px; height: 650px; }
}

@media (max-width: 720px) {
  .brand-logo { width: 150px; height: 62px; }
  .trailforks-product { padding-top: 24px; }
  .trailforks-frame, .TrailforksWidgetMap, .trailforks-frame iframe { min-height: 540px; height: 540px; }
  .trailforks-footer { align-items: flex-start; flex-direction: column; gap: 6px; }
  .trail-notice { grid-template-columns: auto 1fr; gap: 10px 14px; }
  .trail-notice > div { grid-column: 1 / -1; }
  .trail-notice time { grid-column: 1; }
  .trail-notice > a { grid-column: 2; justify-self: end; }
}
