:root {
  color-scheme: light;
  --ink: #142e28;
  --forest: #173f35;
  --forest-deep: #0b2b24;
  --moss: #6e8461;
  --cream: #f4f0e6;
  --paper: #fbfaf6;
  --clay: #c56447;
  --gold: #d29a3a;
  --blue: #546c82;
  --muted: #66726d;
  --line: #d8d8cd;
  --shadow: 0 20px 60px rgba(9, 40, 32, .13);
}

* { box-sizing: border-box; }
html { background: var(--cream); scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 100; left: 12px; top: -80px; background: white; color: var(--ink); padding: 10px 14px; }
.skip-link:focus { top: 12px; }
.site-frame { width: min(1480px, 100%); margin: 0 auto; overflow: hidden; background: var(--paper); box-shadow: 0 0 70px rgba(18, 47, 40, .09); }
.site-header { min-height: 84px; display: flex; align-items: center; gap: 28px; padding: 14px clamp(18px, 4vw, 64px); background: rgba(251, 250, 246, .96); border-bottom: 1px solid rgba(20, 46, 40, .12); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: white; font-family: Georgia, serif; font-size: 15px; letter-spacing: .05em; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.1; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.3vw, 34px); }
.site-nav a { position: relative; padding: 10px 0; color: #294a42; font-size: 13px; font-weight: 760; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.site-nav a::after { position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; background: var(--clay); content: ""; transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.nav-social { display: flex; gap: 9px; padding-left: 8px; border-left: 1px solid var(--line); }
.nav-social a { color: var(--clay); font-size: 10px; }
.menu-button { display: none; border: 1px solid var(--forest); border-radius: 999px; background: transparent; color: var(--forest); padding: 8px 13px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.home-hero, .route-hero { position: relative; isolation: isolate; overflow: hidden; color: white; }
.home-hero { min-height: min(720px, calc(100vh - 84px)); }
.home-hero > img, .route-hero > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero > img { object-position: 50% 42%; }
.home-hero__shade, .route-hero__shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(5, 28, 23, .84) 0%, rgba(5, 28, 23, .48) 52%, rgba(5, 28, 23, .08) 100%); }
.home-hero__content { max-width: 760px; padding: clamp(84px, 12vw, 170px) clamp(22px, 8vw, 116px) 90px; }
.eyebrow, .section-label { margin: 0 0 16px; font-size: 11px; font-weight: 850; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow { color: #f0c268; }
.section-label { color: var(--clay); }
.home-hero h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(68px, 12vw, 154px); font-weight: 500; letter-spacing: -.065em; line-height: .75; }
.home-hero__content > p:not(.eyebrow) { max-width: 600px; margin: 34px 0 0; font-family: Georgia, serif; font-size: clamp(20px, 2.4vw, 29px); line-height: 1.45; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1px solid transparent; border-radius: 999px; padding: 12px 22px; font-size: 12px; font-weight: 850; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.button--light { background: var(--paper); color: var(--forest); }
.button--dark { background: var(--forest); color: white; }
.button--outline-light { border-color: rgba(255,255,255,.7); color: white; }
.text-link { color: var(--forest); font-size: 13px; font-weight: 800; text-decoration: none; }
.text-link--light { color: white; }
.intro-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 8vw, 110px); padding: clamp(70px, 10vw, 130px) clamp(22px, 8vw, 116px); }
.intro-section h2, .section-heading h2, .feature-card h2, .route-callout h2, .community-cta h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.035em; line-height: 1.04; }
.intro-section h2 { font-size: clamp(40px, 6vw, 76px); }
.prose { color: #40524d; font-family: Georgia, serif; font-size: 18px; line-height: 1.75; }
.prose p { margin: 0 0 1.2em; }
.feature-grid { background: var(--forest-deep); color: white; }
.feature-card { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.feature-card--reverse img { order: 2; }
.feature-card > img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.feature-card > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(50px, 8vw, 110px); }
.feature-card h2 { margin-bottom: 24px; font-size: clamp(38px, 5vw, 64px); }
.feature-card p:not(.section-label) { margin: 0 0 16px; color: #d4dfda; font-family: Georgia, serif; font-size: 17px; line-height: 1.7; }
.feature-card .text-link { margin-top: 14px; color: #f0c268; }
.donation-links { display: grid; gap: 8px; margin: 12px 0 22px; }
.donation-links a { color: #f0c268; font-size: 13px; font-weight: 800; text-decoration: none; }
.feature-card .direct-donation-note { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); font-family: inherit; font-size: 13px; }
.feature-card .direct-donation-note a { color: #f0c268; font-family: inherit; font-weight: 800; }
.donations-page { padding: clamp(60px, 9vw, 110px) clamp(22px, 8vw, 116px); }
.donations-page__intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 7vw, 96px); margin-bottom: clamp(42px, 7vw, 82px); }
.donations-page__intro h2, .direct-donation h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 5vw, 66px); font-weight: 500; letter-spacing: -.035em; line-height: 1.04; }
.donation-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.donation-card { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.donation-card:nth-child(odd) { padding-right: 30px; }
.donation-card:nth-child(even) { padding-left: 30px; border-left: 1px solid var(--line); }
.donation-card strong, .donation-card small { display: block; }
.donation-card strong { margin-bottom: 8px; font-family: Georgia, serif; font-size: 23px; font-weight: 500; }
.donation-card small { color: var(--muted); font-size: 13px; line-height: 1.5; }
.donation-card > span:last-child { color: var(--clay); font-size: 22px; }
.direct-donation { margin-top: clamp(52px, 8vw, 92px); padding: clamp(36px, 6vw, 68px); background: var(--forest); color: white; }
.direct-donation p:not(.section-label) { max-width: 680px; color: #d4dfda; line-height: 1.7; }
.route-callout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; padding: clamp(70px, 9vw, 120px) clamp(22px, 8vw, 116px); background: #e9e2d2; }
.route-callout h2 { max-width: 780px; font-size: clamp(38px, 5.5vw, 68px); }
.route-callout__links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.route-callout__links a { padding: 26px 20px; border: 1px solid #bfc4b7; background: rgba(255,255,255,.42); text-decoration: none; }
.route-callout__links strong, .route-callout__links span { display: block; }
.route-callout__links strong { font-family: Georgia, serif; font-size: 46px; font-weight: 500; }
.route-callout__links span { margin-top: 8px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.utility-links { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.utility-links a { padding: 30px clamp(22px, 4vw, 55px); border-right: 1px solid var(--line); text-decoration: none; }
.utility-links a:last-child { border-right: 0; }
.utility-links span, .utility-links strong { display: block; }
.utility-links span { margin-bottom: 8px; color: var(--clay); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.utility-links strong { font-family: Georgia, serif; font-size: 22px; font-weight: 500; }
.gallery-preview { padding: clamp(70px, 9vw, 120px) clamp(22px, 6vw, 88px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.section-heading h2 { font-size: clamp(38px, 5vw, 64px); }
.section-heading > p { color: var(--muted); font-size: 13px; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 150px; gap: 10px; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid img:nth-child(1) { grid-column: span 5; grid-row: span 3; }
.gallery-grid img:nth-child(2) { grid-column: span 4; grid-row: span 2; }
.gallery-grid img:nth-child(3) { grid-column: span 3; grid-row: span 2; }
.gallery-grid img:nth-child(4) { grid-column: span 4; grid-row: span 2; }
.gallery-grid img:nth-child(5) { grid-column: span 3; grid-row: span 2; }
.gallery-grid img:nth-child(6) { grid-column: span 5; grid-row: span 1; }
.community-cta { padding: clamp(80px, 11vw, 150px) clamp(22px, 8vw, 116px); background: var(--forest); color: white; text-align: center; }
.community-cta .section-label { color: #f0c268; }
.community-cta h2 { font-size: clamp(48px, 7vw, 86px); }
.community-cta > p:not(.section-label) { max-width: 620px; margin: 22px auto 0; color: #d5e0dc; font-family: Georgia, serif; font-size: 19px; line-height: 1.6; }
.community-cta .button-row { justify-content: center; }
.page-hero { padding: clamp(78px, 11vw, 145px) clamp(22px, 8vw, 116px); background: var(--forest); color: white; }
.page-hero--compact { min-height: 410px; display: flex; flex-direction: column; justify-content: center; }
.page-hero h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(62px, 10vw, 126px); font-weight: 500; letter-spacing: -.06em; line-height: .9; }
.page-hero > p:not(.eyebrow) { max-width: 650px; margin: 24px 0 0; color: #d6e0dc; font-family: Georgia, serif; font-size: 20px; line-height: 1.55; }
.page-hero .button { align-self: flex-start; margin-top: 28px; }
.route-directory { padding: clamp(64px, 8vw, 110px) clamp(22px, 6vw, 86px); }
.route-directory--alt { background: #e9e2d2; }
.route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.route-card { min-height: 330px; position: relative; isolation: isolate; overflow: hidden; background: var(--forest); color: white; text-decoration: none; }
.route-card > img, .route-card__placeholder { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.route-card::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, transparent 22%, rgba(5,27,22,.84)); content: ""; }
.route-card:hover > img { transform: scale(1.035); }
.route-card > span:last-child { position: absolute; left: 24px; right: 24px; bottom: 22px; }
.route-card strong, .route-card small { display: block; }
.route-card strong { font-family: Georgia, serif; font-size: 26px; font-weight: 500; line-height: 1.1; }
.route-card small { margin-top: 10px; color: #f0c268; font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.route-hero { min-height: 590px; }
.route-hero__shade { background: linear-gradient(0deg, rgba(5,28,23,.83), rgba(5,28,23,.08) 72%); }
.route-hero__content { position: absolute; left: clamp(22px, 8vw, 116px); right: 22px; bottom: 62px; }
.route-hero h1 { max-width: 1000px; margin: 0; font-family: Georgia, serif; font-size: clamp(58px, 9vw, 116px); font-weight: 500; letter-spacing: -.055em; line-height: .9; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; padding: 20px clamp(22px, 8vw, 116px); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.breadcrumbs a { text-decoration: none; }
.route-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .65fr); gap: clamp(42px, 8vw, 110px); padding: clamp(66px, 9vw, 125px) clamp(22px, 8vw, 116px); }
.route-facts { align-self: start; padding: 30px; background: #e9e2d2; border-top: 4px solid var(--clay); }
.route-facts p:not(.section-label) { margin: 0 0 15px; font-family: Georgia, serif; font-size: 20px; line-height: 1.45; }
.route-facts .button { margin-top: 14px; }
.route-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.archive-credit { padding-top: 18px; border-top: 1px solid rgba(20,46,40,.18); color: var(--muted); font-size: 13px !important; }
.rules-sections { padding: clamp(58px, 8vw, 100px) clamp(22px, 8vw, 116px); }
.rules-section { display: grid; grid-template-columns: 70px 1fr; gap: 28px; max-width: 950px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.rules-section__number { color: var(--clay); font-family: Georgia, serif; font-size: 32px; }
.rules-section h2, .rules-community h2, .submission-process h2, .waiver-dialog h2 { margin: 0 0 20px; font-family: Georgia, serif; font-size: clamp(34px, 5vw, 56px); font-weight: 500; letter-spacing: -.035em; }
.rules-community { margin-top: 52px; padding: clamp(34px, 6vw, 60px); background: var(--forest); color: white; }
.rules-community > p { max-width: 620px; color: #d5e0dc; font-family: Georgia, serif; font-size: 18px; line-height: 1.6; }
.submission-process { display: grid; grid-template-columns: 1fr minmax(250px, .42fr); gap: clamp(40px, 8vw, 100px); padding: clamp(58px, 8vw, 110px) clamp(22px, 8vw, 116px); }
.submission-process ol { margin: 0; padding: 0; list-style: none; }
.submission-process li { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.submission-process li > span { color: var(--clay); font-family: Georgia, serif; font-size: 26px; }
.submission-process h2 { margin-bottom: 10px; font-size: 30px; }
.submission-process p { margin: 0; color: var(--muted); line-height: 1.65; }
.submission-actions { align-self: start; display: grid; gap: 14px; padding: 30px; background: #e9e2d2; }
.submission-actions .text-link { padding: 12px 4px 0; }
.waiver-dialog { width: min(880px, calc(100% - 28px)); max-height: min(86vh, 900px); padding: 0; border: 0; box-shadow: 0 30px 100px rgba(0,0,0,.36); color: var(--ink); }
.waiver-dialog::backdrop { background: rgba(4,25,20,.78); backdrop-filter: blur(5px); }
.waiver-dialog__head { padding: 28px 32px 12px; background: var(--paper); }
.waiver-dialog h2 { margin-bottom: 0; font-size: 38px; }
.waiver-dialog__body { max-height: 52vh; overflow-y: auto; padding: 10px 32px 24px; background: var(--paper); }
.waiver-dialog__body p { color: #40524d; font-family: Georgia, serif; font-size: 16px; line-height: 1.65; }
.waiver-dialog__actions { position: sticky; bottom: 0; display: flex; justify-content: flex-end; padding: 20px 32px; border-top: 1px solid var(--line); background: var(--cream); }
.patch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: clamp(30px, 6vw, 86px); }
.patch-grid figure { aspect-ratio: 1; margin: 0; overflow: hidden; background: #e5e2d9; }
.patch-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.patch-grid figure:hover img { transform: scale(1.035); }
.archive-heading { padding: 56px clamp(22px, 5vw, 72px) 20px; }
.archive-heading h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(48px, 7vw, 90px); font-weight: 500; letter-spacing: -.05em; }
.cwes-results-browser, .cwes-record-book { margin: 20px auto 70px !important; }
.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 30px; padding: 52px clamp(22px, 6vw, 88px); background: #09271f; color: #d9e3df; }
.site-footer strong { font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
.site-footer p { margin: 8px 0 0; color: #9fb0aa; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; align-items: start; }
.footer-links a { color: #d9e3df; font-size: 11px; font-weight: 750; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.site-footer > small { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.13); color: #83978f; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 920px) {
  .site-header { flex-wrap: wrap; }
  .menu-button { display: inline-flex; }
  .site-nav { display: none; flex-basis: 100%; align-items: stretch; flex-direction: column; gap: 0; padding: 10px 0; border-top: 1px solid var(--line); }
  .site-nav--open { display: flex; }
  .site-nav a { padding: 13px 4px; }
  .nav-social { flex-direction: column; gap: 0; padding-left: 0; border-left: 0; }
  .intro-section, .route-callout, .route-layout, .donations-page__intro { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .submission-process { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { min-height: 72px; }
  .brand strong { font-size: 15px; }
  .home-hero { min-height: 620px; }
  .home-hero h1 { font-size: clamp(64px, 22vw, 100px); }
  .home-hero__shade { background: linear-gradient(90deg, rgba(5,28,23,.82), rgba(5,28,23,.3)); }
  .feature-card { grid-template-columns: 1fr; }
  .feature-card--reverse img { order: 0; }
  .feature-card > img { min-height: 340px; max-height: 440px; }
  .route-callout__links { grid-template-columns: 1fr 1fr; }
  .utility-links { grid-template-columns: 1fr; }
  .utility-links a { border-right: 0; border-bottom: 1px solid var(--line); }
  .donation-directory { grid-template-columns: 1fr; }
  .donation-card:nth-child(odd), .donation-card:nth-child(even) { padding-left: 0; padding-right: 0; border-left: 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; }
  .gallery-grid img:nth-child(n) { grid-column: auto; grid-row: auto; }
  .route-grid { grid-template-columns: 1fr; }
  .route-card { min-height: 300px; }
  .route-hero { min-height: 480px; }
  .patch-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > small { grid-column: auto; }
  .rules-section { grid-template-columns: 1fr; gap: 12px; }
  .waiver-dialog__head, .waiver-dialog__body, .waiver-dialog__actions { padding-left: 20px; padding-right: 20px; }
}

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