/*
  styles.css
  Main stylesheet for Trailmark.
  Covers design tokens, base resets, layout, and component styles.
  Responsive overrides live in styles-responsive.css.
*/

/* =====================
   DESIGN TOKENS
===================== */
:root {
  /* Colors */
  --color-cream:       #F7F3EC;
  --color-cream-dark:  #EDE7D9;
  --color-green-dark:  #2D5016;
  --color-orange:      #E8652A;
  --color-text:        #1C1C1C;
  --color-text-muted:  #6B6B6B;
  --color-white:       #FFFFFF;
  --color-card:        #FDFAF5;
  --color-border:      #D8D0C0;

  /* Type */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;

  /* Layout */
  --max-width:   1100px;
  --radius-card: 18px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.09);
}

/* =====================
   BASE RESET
===================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-cream);
  color: var(--color-text);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-160%);
  padding: 0.7rem 1rem;
  background-color: var(--color-cream);
  color: var(--color-green-dark);
  border: 2px solid var(--color-orange);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* =====================
   HEADER
===================== */
#site-header {
  background-color: var(--color-green-dark);
  padding: 7px 2rem;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.logo-mark {
  height: 80px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-cream);
  letter-spacing: 0.01em;
}

/* =====================
   SITE NAVIGATION
===================== */
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: block;
  padding: 0.375rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(247, 243, 236, 0.78);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-link:hover {
  color: var(--color-cream);
  background-color: rgba(255, 255, 255, 0.10);
}

.nav-link--active {
  color: var(--color-cream);
  background-color: rgba(255, 255, 255, 0.12);
}

/* =====================
   HERO SECTION
===================== */
#hero {
  background:
    radial-gradient(ellipse 72% 32% at 60% 45%, rgba(182, 108, 22, 0.20) 0%, transparent 72%),
    radial-gradient(ellipse 36% 18% at 62% 47%, rgba(215, 145, 38, 0.10) 0%, transparent 55%),
    linear-gradient(to bottom,
      #131622 0%,
      #1c1708 12%,
      #2e1c08 25%,
      #5a320a 38%,
      #7a4818 48%,
      #3d5a1a 62%,
      #2d5016 77%,
      #1a3508 100%
    );
  padding: var(--space-xl) 2rem;
  text-align: center;
  border-bottom: 4px solid var(--color-orange);
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

#hero.hero--homepage {
  background:
    linear-gradient(180deg,
      #d7dde0 0%,
      #c7d2d4 18%,
      #b7c7c8 34%,
      #90a29a 66%,
      #5f7057 100%
    );
  padding: clamp(5.5rem, 9vw, 7.25rem) 2rem clamp(4.25rem, 7vw, 5.25rem);
  min-height: 700px;
  border-bottom: 4px solid var(--color-orange);
}

.hero-shell {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: 590px;
}

.hero-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero--homepage .hero-inner {
  margin: 0;
  max-width: 530px;
  text-align: left;
  padding: clamp(1.5rem, 2vw, 2rem) 0;
}

.hero-scene,
.hero-atmosphere,
.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-scene {
  overflow: hidden;
}

.hero-scene--base {
  z-index: 0;
}

.hero-scene-art {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-scene-art--base {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 50% 46%;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-scene-art--base.is-active {
  opacity: 1;
}

.hero-atmosphere {
  z-index: 1;
  background:
    radial-gradient(circle at 68% 20%, rgba(255, 244, 215, 0.26) 0%, rgba(255, 244, 215, 0.12) 18%, rgba(255, 244, 215, 0) 40%),
    linear-gradient(180deg, rgba(232, 240, 237, 0.18) 0%, rgba(232, 240, 237, 0.04) 24%, rgba(238, 229, 206, 0.12) 52%, rgba(38, 57, 38, 0.10) 100%),
    linear-gradient(90deg, rgba(18, 28, 21, 0.26) 0%, rgba(18, 28, 21, 0.10) 22%, rgba(18, 28, 21, 0) 52%);
}

.hero-vignette {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(10, 16, 12, 0.82) 0%, rgba(10, 16, 12, 0.62) 26%, rgba(10, 16, 12, 0.28) 48%, rgba(10, 16, 12, 0.08) 68%),
    linear-gradient(180deg, rgba(10, 16, 12, 0.28) 0%, rgba(10, 16, 12, 0.08) 28%, rgba(10, 16, 12, 0.45) 100%);
}

.park-poster,
.yosemite-poster {
  position: relative;
  inset: auto;
  width: 100%;
  pointer-events: none;
  z-index: 0;
}

.park-poster svg,
.yosemite-poster svg {
  width: 100%;
  height: 100%;
  display: block;
}

.park-poster-art,
.yosemite-poster-art {
  width: 100%;
  height: auto;
  display: block;
  object-fit: initial;
  object-position: var(--hero-focus, center center);
  transform: none;
}

/* Parallax layers */
.hero-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  will-change: transform;
}

.hero-layer svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Stars layer */
.hero-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  will-change: transform;
}

.hero-stars::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: transparent;
  box-shadow:
     82px  28px 0 1px rgba(255, 255, 255, 0.18),
    198px  44px 0 0px rgba(252, 215, 78,  0.14),
    318px  18px 0 1px rgba(255, 255, 255, 0.15),
    476px  38px 0 0px rgba(255, 255, 255, 0.16),
    598px  12px 0 1px rgba(252, 215, 78,  0.18),
    714px  32px 0 0px rgba(255, 255, 255, 0.13),
    848px  22px 0 1px rgba(255, 255, 255, 0.20),
    948px  52px 0 0px rgba(255, 255, 255, 0.11),
   1062px  28px 0 1px rgba(252, 215, 78,  0.16),
   1148px  16px 0 0px rgba(255, 255, 255, 0.15),
    142px  72px 0 0px rgba(255, 255, 255, 0.09),
    388px  78px 0 1px rgba(255, 255, 255, 0.12),
    638px  66px 0 0px rgba(252, 215, 78,  0.13),
    878px  70px 0 1px rgba(255, 255, 255, 0.10),
   1098px  68px 0 0px rgba(255, 255, 255, 0.12),
    258px  88px 0 1px rgba(255, 255, 255, 0.08),
    748px  82px 0 0px rgba(252, 215, 78,  0.11),
    998px  90px 0 1px rgba(255, 255, 255, 0.09);
  animation: hero-twinkle 5s ease-in-out infinite;
}

/* Mist/fog layer */
.hero-fog {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  will-change: transform;
  background:
    radial-gradient(ellipse 65% 14% at 52% 60%, rgba(198, 158, 78, 0.10) 0%, transparent 100%),
    linear-gradient(
      to bottom,
      transparent 36%,
      rgba(192, 148, 72, 0.06) 49%,
      rgba(208, 168, 92, 0.12) 58%,
      rgba(192, 148, 72, 0.07) 68%,
      transparent 80%
    );
  animation: hero-fog-drift 12s ease-in-out infinite;
}

/* Film grain overlay */
.hero-grain { display: none; }

/* Atmospheric animations */
@keyframes hero-twinkle {
  0%, 100% { opacity: 0.90; }
  50%       { opacity: 0.45; }
}

@keyframes hero-fog-drift {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible,
  [data-speed],
  [data-parallax="fade"] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-scene-art--base {
    transition: none;
  }

  .hero-stars::before,
  .hero-fog {
    animation: none;
  }
}

.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: var(--space-sm);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.hero--homepage .hero-eyebrow {
  color: #ffe3b8;
  margin-bottom: 1.25rem;
  text-shadow: 0 1px 8px rgba(8, 12, 10, 0.65);
}

.hero--homepage .hero-title {
  font-size: clamp(2.75rem, 6.2vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #f8f4ec;
  margin-bottom: 1.25rem;
  text-wrap: balance;
  text-shadow: 0 8px 28px rgba(14, 20, 16, 0.24);
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: rgba(247, 243, 236, 0.80);
  line-height: 1.72;
}

.hero-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.64);
  margin-bottom: 0.875rem;
}

.hero--homepage .hero-subtitle {
  max-width: 31rem;
  font-size: 1.0625rem;
  color: #f7f3ec;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 10px rgba(8, 12, 10, 0.55);
}

/* Hero action buttons */
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

.hero--homepage .hero-actions {
  justify-content: flex-start;
  margin-top: 1.5rem;
}

.hero-btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.hero-btn--primary {
  background-color: var(--color-orange);
  color: #142016;
}

.hero-btn--primary:hover {
  background-color: #d45a22;
}

.hero-btn--secondary {
  background-color: transparent;
  color: var(--color-cream);
  border: 1.5px solid rgba(247, 243, 236, 0.45);
}

.hero-btn--secondary:hover {
  background-color: rgba(247, 243, 236, 0.10);
  border-color: rgba(247, 243, 236, 0.72);
}

.hero--homepage .hero-btn--primary {
  box-shadow: 0 16px 32px rgba(131, 73, 27, 0.22);
}

.hero--homepage .hero-btn--secondary {
  background-color: rgba(21, 31, 22, 0.18);

}

/* =====================
   PARK-SPECIFIC HERO
   Yosemite
===================== */
#hero.hero--park,
#hero.hero--yosemite {
  padding: 0;
  min-height: 0;
  background:
    linear-gradient(to bottom,
      var(--hero-0, #43566d) 0%,
      var(--hero-1, #64798a) 26%,
      var(--hero-2, #d5b08a) 58%,
      var(--hero-3, #8da08d) 76%,
      var(--hero-4, #536750) 100%
    );
}

.hero--park::before,
.hero--yosemite::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 248, 236, 0.10) 0%, rgba(255, 248, 236, 0) 24%),
    linear-gradient(90deg, rgba(18, 25, 22, 0.52) 0%, rgba(18, 25, 22, 0.26) 34%, rgba(255, 244, 226, 0) 68%),
    linear-gradient(180deg, rgba(243, 226, 197, 0.08) 0%, rgba(243, 226, 197, 0.03) 18%, rgba(20, 28, 22, 0.18) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero--park .hero-inner,
.hero--yosemite .hero-inner {
  position: absolute;
  left: clamp(1.5rem, 6vw, 6rem);
  right: auto;
  bottom: clamp(2rem, 7vw, 4.5rem);
  top: auto;
  transform: none;
  z-index: 2;
  width: min(calc(100% - 3rem), 620px);
  max-width: none;
  margin: 0;
  padding: clamp(1.25rem, 2.4vw, 2rem) clamp(1.25rem, 2.8vw, 2.4rem) 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-align: left;
  text-shadow: 0 2px 18px rgba(12, 18, 14, 0.34);
}

.hero--park .hero-eyebrow,
.hero--yosemite .hero-eyebrow {
  color: #f1d7a7;
  margin-bottom: 0.75rem;
}

.hero--park .hero-title,
.hero--yosemite .hero-title {
  color: #f7f3ec;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.hero--park .hero-subtitle,
.hero--yosemite .hero-subtitle {
  max-width: 28rem;
  color: rgba(247, 243, 236, 0.88);
  font-size: 1rem;
  line-height: 1.8;
}

.hero-ledger {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(247, 243, 236, 0.24);
}

.hero-ledger p {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(247, 243, 236, 0.86);
}

.hero-ledger span {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.56);
}

/* =====================
   VALUE PROP SECTION
===================== */
#about-trailmark {
  background-color: var(--color-cream);
  padding: var(--space-xl) 2rem;
  border-bottom: 1px solid var(--color-border);
}

.value-prop {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.value-prop-title {
  font-family: var(--font-heading);
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
  color: var(--color-green-dark);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.value-prop-body {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.78;
  max-width: 640px;
  margin: 0 auto var(--space-lg);
}

.value-prop-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pillar-icon {
  font-size: 1.125rem;
  color: var(--color-orange);
}

.pillar-label {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--color-green-dark);
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* =====================
   BADGE SYSTEM SECTION
===================== */
#badge-system {
  background:
    linear-gradient(180deg, #f4efe6 0%, #efe7d8 100%);
  padding: var(--space-xl) 2rem;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.badge-system-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}

.badge-system-copy {
  max-width: 30rem;
}

.badge-system-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 0.875rem;
}

.badge-system-title {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  line-height: 1.06;
  color: var(--color-green-dark);
  margin-bottom: 1rem;
}

.badge-system-body {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.78;
  margin-bottom: 1.75rem;
}

.badge-steps {
  list-style: none;
  counter-reset: badge-steps;
  display: grid;
  gap: 1rem;
}

.badge-step {
  position: relative;
  padding-left: 3rem;
}

.badge-step::before {
  counter-increment: badge-steps;
  content: counter(badge-steps);
  position: absolute;
  top: 0.1rem;
  left: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background-color: rgba(45, 80, 22, 0.10);
  color: var(--color-green-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-step-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--color-green-dark);
  margin-bottom: 0.25rem;
}

.badge-step-body {
  font-size: 0.93rem;
  color: var(--color-text-muted);
  line-height: 1.68;
  margin: 0;
}

.collector-board {
  background:
    linear-gradient(180deg, rgba(253, 250, 245, 0.98) 0%, rgba(247, 243, 236, 0.98) 100%);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(41, 35, 22, 0.08);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.badge-entry {
  background-color: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(216, 208, 192, 0.92);
  border-radius: 18px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.badge-entry--featured {
  grid-column: 1 / -1;
  padding: 1.25rem;
}

.badge-entry-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.badge-entry-status,
.badge-entry-region {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.85rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-entry-status--available {
  background-color: rgba(45, 80, 22, 0.12);
  color: var(--color-green-dark);
}

.badge-entry-status--pending {
  background-color: rgba(232, 101, 42, 0.10);
  color: #9e4a22;
}

.badge-entry-region {
  background-color: var(--color-cream-dark);
  color: var(--color-text-muted);
}

.badge-entry-top {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.badge-entry-badge {
  border-radius: 16px;
  padding: 1rem;
  display: grid;
  place-items: center;
}

.badge-entry-badge--green { background-color: #E3EDDA; }
.badge-entry-badge--blue  { background-color: #D8EAF5; }
.badge-entry-badge--red   { background-color: #F5E0DA; }

.badge-system-mark {
  width: 132px;
  height: 132px;
}

img.badge-system-mark {
  object-fit: cover;
  border-radius: 50%;
}

.badge-entry-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-green-dark);
  line-height: 1.15;
  margin: 0;
}

.badge-entry-subtitle {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin: 0.15rem 0 0;
}

.badge-entry-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0;
}

/* =====================
   STATS STRIP
===================== */
#stats-strip {
  background-color: var(--color-green-dark);
  padding: 2.25rem 2rem;
}

.stats-list {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #e7eee0;
}

/* =====================
   PARK GRID SECTION
===================== */
#park-grid {
  padding: var(--space-xl) 2rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-green-dark);
  text-align: center;
  margin-bottom: 0.375rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: var(--space-md);
}

/* =====================
   SEARCH BAR
===================== */
.search-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
}

.search-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.search-note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--color-text-muted);
}

.search-input {
  width: 100%;
  max-width: 480px;
  padding: 0.65rem 1rem;
  background-color: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.15s ease;
}

.search-input:focus {
  border-color: var(--color-green-dark);
}

.search-input:focus-visible {
  outline: 2px solid var(--color-green-dark);
  outline-offset: 2px;
}

.search-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  padding: var(--space-lg) 0;
}

.cards-filter-note {
  grid-column: 1 / -1;
  margin: 0;
  text-align: right;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.cards-results-bar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.cards-results-bar .cards-filter-note {
  text-align: right;
}

.cards-show-all {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-green-dark);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cards-show-all:hover {
  color: var(--color-orange);
}

/* =====================
   CARDS GRID
===================== */
.cards-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  gap: 1.75rem;
  align-items: start;
}

.cards-secondary {
  display: grid;
  gap: 1.25rem;
}

/* =====================
   PARK CARD
===================== */
.park-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 246, 239, 0.94) 100%);
  border-radius: 28px;
  box-shadow: 0 22px 56px rgba(41, 35, 22, 0.10);
  border: 1px solid var(--color-border);
  overflow: clip;
  display: flex;
  flex-direction: row;
  min-height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.park-card:hover,
.park-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 26px 64px rgba(41, 35, 22, 0.14);
}

.park-card:hover .card-hero-img,
.park-card:focus-within .card-hero-img {
  transform: scale(1.08);
}

.park-card:hover .park-badge-img,
.park-card:focus-within .park-badge-img,
.badge-entry:hover .park-badge-img,
.badge-entry:focus-within .park-badge-img,
.badge-showcase-frame:hover .park-badge-img,
.badge-showcase-frame:focus-within .park-badge-img {
  transform: rotate(-3deg) scale(1.05);
}

.highlight-card,
.season-card,
.discovery-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.highlight-card:hover,
.highlight-card:focus-within,
.season-card:hover,
.season-card:focus-within,
.discovery-card:hover,
.discovery-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(35, 28, 18, 0.12);
}

.reveal {
  opacity: 1;
  transform: none;
}

html.js-reveal .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js-reveal .reveal,
  html.js-reveal .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.park-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.park-card--featured {
  align-items: flex-start;
  min-height: 0;
}

.park-card--featured .card-body {
  justify-content: flex-start;
}

.park-card--secondary {
  flex-direction: column;
  min-height: 15.25rem;
}

/* Badge area (colored top of card) */
.card-badge-area {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: min(42%, 23rem);
  padding: 2rem 1.75rem;
}

.card-hero-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.card-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.8s ease;
}

.card-badge-area--green { background-color: #E3EDDA; }
.card-badge-area--blue  { background-color: #D8EAF5; }
.card-badge-area--red   { background-color: #F5E0DA; }

.card-badge-area::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 100%);
}

.card-badge-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 15.5rem);
  aspect-ratio: 1;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 40px rgba(31, 38, 30, 0.12);

}

.park-badge,
.park-badge-img {
  width: clamp(150px, 16vw, 196px);
  height: clamp(150px, 16vw, 196px);
}

.park-badge-img {
  object-fit: cover;
  border-radius: 50%;
  aspect-ratio: 1;
  transition: transform 0.35s ease;
}

/* Card text body */
.card-body {
  position: relative;
  z-index: 1;
  padding: 2rem 2rem 2.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  justify-content: center;
  gap: 0.85rem;
}

.park-card--secondary .card-badge-area {
  width: 100%;
  padding: 1.5rem 1.25rem;
}

.park-card--secondary .card-badge-frame {
  width: min(100%, 11.5rem);
}

.park-card--secondary .park-badge,
.park-card--secondary .park-badge-img {
  width: 132px;
  height: 132px;
}

.park-card--secondary .card-body {
  padding: 1.5rem 1.5rem 1.6rem;
}

.card-kicker {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-orange);
}

.card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.card-region,
.card-state {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.card-region {
  background-color: rgba(45, 80, 22, 0.08);
  color: var(--color-green-dark);
}

.card-state {
  background-color: rgba(232, 101, 42, 0.08);
  color: var(--color-orange);
}

.card-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.85rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background-color: rgba(232, 101, 42, 0.10);
  color: #9e4a22;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  color: var(--color-green-dark);
  line-height: 1.06;
  margin: 0;
}

.park-card--featured .card-title {
  font-size: clamp(2.4rem, 4vw, 3.25rem);
  line-height: 0.96;
  max-width: 10ch;
}

.park-card--secondary .card-title {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
}

.card-description {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.74;
  margin: 0;
  max-width: 36rem;
}

.park-card--secondary .card-description {
  font-size: 0.95rem;
  line-height: 1.66;
}

.card-note {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: rgba(92, 83, 66, 0.88);
  max-width: 28rem;
}

/* Explore button */
.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: auto;
  padding: 0.78rem 1.35rem;
  background-color: var(--color-green-dark);
  color: var(--color-cream);
  border: none;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  width: auto;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.card-btn:hover:not(:disabled) {
  background-color: var(--color-orange);
}

.card-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.card-coming-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: auto;
  padding: 0.72rem 1rem;
  background-color: rgba(45, 80, 22, 0.08);
  color: var(--color-green-dark);
  border: 1.5px solid rgba(45, 80, 22, 0.08);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: center;
}

/* =====================
   CLOSING CTA
===================== */
#closing-cta {
  position: relative;
  padding: 1.25rem 2rem 1.25rem;
  background:
    linear-gradient(180deg, rgba(232, 222, 202, 0) 0%, rgba(232, 222, 202, 0.82) 18%, #e8deca 100%);
}

.closing-cta-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 1.75rem 2rem 1.6rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(247, 243, 236, 0.98) 0%, rgba(239, 231, 215, 0.98) 100%);
  border: 1px solid rgba(92, 83, 66, 0.14);
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(44, 34, 19, 0.08);
}

.closing-cta-kicker {
  margin: 0 0 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(92, 83, 66, 0.72);
}

.closing-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  color: var(--color-text);
  margin: 0 auto 0.7rem;
  max-width: 16ch;
  line-height: 0.98;
}

.closing-cta-body {
  font-size: 0.98rem;
  color: var(--color-text-muted);
  line-height: 1.64;
  margin: 0 auto 1.25rem;
  max-width: 30rem;
}

.closing-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.7rem;
  background-color: var(--color-orange);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.closing-cta-btn:hover {
  background-color: #d45a22;
  transform: translateY(-1px);
}

.closing-cta-note {
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: rgba(92, 83, 66, 0.78);
}

/* =====================
   FOOTER
===================== */
.site-footer {
  background: #142016;
  color: #f6efe4;
  padding: 1.6rem 1.5rem 1rem;
}

.site-footer-main {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(14rem, 1.3fr) auto minmax(12rem, 1fr);
  gap: 1rem 2rem;
  align-items: center;
}

.site-footer-name {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
  color: #f6efe4;
}

.site-footer-line {
  margin: 0.4rem 0 0;
  max-width: 24rem;
  color: #f6efe4;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 1.15rem;
}

.site-footer a {
  color: #f6efe4;
  text-decoration: none;
}

.site-footer-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-footer a.site-footer-explore {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.15rem;
  border-radius: 999px;
  background: #f6efe4;
  color: #142016;
  font-weight: 600;
}

.site-footer-fine {
  max-width: 1100px;
  margin: 0.9rem auto 0;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(246, 239, 228, 0.28);
  display: flex;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.82rem;
  color: #e7eee0;
}

.site-footer-fine p { margin: 0; }
.site-footer-fine a { text-decoration: underline; text-underline-offset: 2px; }

.site-footer a:focus-visible {
  outline: 2px solid #f6efe4;
  outline-offset: 3px;
}

.site-footer a.site-footer-explore:focus-visible {
  outline-color: #c4a574;
}

@media (max-width: 700px) {
  .site-footer-main {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .site-footer-nav { justify-content: flex-start; }
  .site-footer a.site-footer-explore { justify-self: stretch; width: 100%; }
  .site-footer-fine { flex-direction: column; align-items: flex-start; }
}

/* =====================
   STATIC PAGE HERO
===================== */
.page-hero {
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(180, 110, 20, 0.18) 0%, transparent 65%),
    linear-gradient(to bottom, #0c1a05 0%, #162a08 40%, #2d5016 100%);
  padding: var(--space-xl) 2rem;
  text-align: center;
  border-bottom: 4px solid var(--color-orange);
}

.page-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

/* =====================
   STATIC PAGE CONTENT
===================== */
#page-content {
  padding: var(--space-xl) 2rem;
}

.page-body {
  max-width: 720px;
  margin: 0 auto;
}

.page-body p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.page-body p:last-child {
  margin-bottom: 0;
}

.page-link {
  color: var(--color-green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.page-link:hover {
  color: var(--color-orange);
}

/* FAQ list */
.faq-list {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--color-green-dark);
  margin-bottom: 0.5rem;
}

.faq-answer {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.72;
}

/* =====================
   PARK DETAIL PAGE
===================== */

/* Logo as link on park pages */
a.logo-text {
  text-decoration: none;
  color: inherit;
}

/* Back navigation bar */
.park-back {
  background-color: var(--color-cream-dark);
  border-bottom: 1px solid var(--color-border);
  padding: 0.625rem 2rem;
}

.park-back-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.park-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-green-dark);
  text-decoration: none;
  transition: color 0.15s ease;
}

.park-back-link:hover {
  color: var(--color-orange);
}

/* Park intro section */
.park-section--overview,
.park-section--thesis {
  padding: var(--space-xl) 2rem;
}

.park-section--editorial,
.park-neighbors {
  padding: 0 1.25rem;
}

.park-section {
  position: relative;
}

.park-section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.park-section-heading--centered {
  align-items: center;
  text-align: center;
}

.section-kicker {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a3412;
}

.section-title--left {
  text-align: left;
}

.park-intro-inner {
  display: grid;
  gap: 2rem;
}

.valley-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.6fr);
  gap: 2rem;
  align-items: start;
}

.valley-copy {
  max-width: 42rem;
}

.valley-copy .valley-lead {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.22;
  color: var(--color-green-dark);
  margin-bottom: 1.15rem;
}

.valley-copy p {
  font-size: 1.02rem;
  line-height: 1.84;
  color: rgba(28, 28, 28, 0.82);
}

.valley-ledger {
  background: linear-gradient(180deg, rgba(253, 250, 245, 0.96) 0%, rgba(242, 236, 226, 0.96) 100%);
  border: 1px solid rgba(216, 208, 192, 0.88);
  box-shadow: 0 18px 40px rgba(41, 35, 22, 0.08);
  padding: 1.4rem 1.25rem;
  display: grid;
  gap: 0.9rem;
}

.valley-ledger p,
.badge-showcase-ledger p {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0;
  color: var(--color-green-dark);
  font-size: 0.96rem;
}

.valley-ledger span,
.badge-showcase-ledger span,
.archive-link-status {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Park facts section */
.park-section--highlights {
  padding: var(--space-xl) 2rem;
  background:
    linear-gradient(180deg, #eee5d7 0%, #e8decd 100%);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.highlight-card {
  min-height: 300px;
  padding: 1.5rem;
  border: 1px solid rgba(136, 116, 89, 0.24);
  background:
    linear-gradient(180deg, rgba(34, 43, 31, 0.84) 0%, rgba(22, 28, 20, 0.94) 100%),
    linear-gradient(135deg, rgba(255, 244, 225, 0.08) 0%, rgba(255, 244, 225, 0) 58%);
  box-shadow: 0 18px 44px rgba(35, 28, 18, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
}

.highlight-card--el-capitan {
  background:
    linear-gradient(180deg, rgba(39, 45, 33, 0.24) 0%, rgba(18, 22, 17, 0.94) 72%),
    radial-gradient(circle at 72% 18%, rgba(230, 201, 159, 0.16) 0%, rgba(230, 201, 159, 0) 38%),
    linear-gradient(120deg, #5a6d68 0%, #37473f 28%, #222c21 62%, #141a13 100%);
}

.highlight-card--half-dome {
  background:
    linear-gradient(180deg, rgba(240, 224, 191, 0.10) 0%, rgba(18, 21, 18, 0.88) 70%),
    radial-gradient(circle at 76% 20%, rgba(245, 220, 162, 0.20) 0%, rgba(245, 220, 162, 0) 30%),
    linear-gradient(120deg, #8b8a80 0%, #66675f 34%, #393d34 70%, #181c16 100%);
}

.highlight-card--yosemite-falls {
  background:
    linear-gradient(180deg, rgba(219, 230, 235, 0.18) 0%, rgba(17, 22, 18, 0.92) 72%),
    linear-gradient(120deg, #7f97a1 0%, #536c6f 30%, #32433a 66%, #161c17 100%);
}

.highlight-card--old-faithful {
  background:
    linear-gradient(180deg, rgba(232, 243, 245, 0.24) 0%, rgba(15, 25, 25, 0.92) 72%),
    radial-gradient(circle at 52% 22%, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(120deg, #9ab9bf 0%, #55777c 35%, #274046 70%, #11191c 100%);
}

.highlight-card--grand-prismatic {
  background:
    linear-gradient(180deg, rgba(244, 225, 174, 0.18) 0%, rgba(18, 24, 20, 0.92) 72%),
    radial-gradient(circle at 68% 24%, rgba(67, 196, 204, 0.38) 0%, rgba(67, 196, 204, 0) 28%),
    radial-gradient(circle at 36% 34%, rgba(232, 101, 42, 0.32) 0%, rgba(232, 101, 42, 0) 36%),
    linear-gradient(120deg, #d9a44d 0%, #9c6b35 28%, #385c52 62%, #13211f 100%);
}

.highlight-card--yellowstone-canyon {
  background:
    linear-gradient(180deg, rgba(247, 226, 184, 0.16) 0%, rgba(20, 24, 18, 0.92) 72%),
    radial-gradient(circle at 72% 20%, rgba(239, 202, 122, 0.24) 0%, rgba(239, 202, 122, 0) 34%),
    linear-gradient(120deg, #c49a55 0%, #8e6e3d 30%, #57452b 62%, #161914 100%);
}

.highlight-card--sawgrass-prairie {
  background:
    linear-gradient(180deg, rgba(224, 234, 196, 0.18) 0%, rgba(18, 29, 17, 0.92) 72%),
    radial-gradient(circle at 72% 18%, rgba(245, 220, 142, 0.22) 0%, rgba(245, 220, 142, 0) 34%),
    linear-gradient(120deg, #a5ad66 0%, #6f823e 34%, #344927 66%, #152014 100%);
}

.highlight-card--mangrove-coast {
  background:
    linear-gradient(180deg, rgba(196, 220, 206, 0.20) 0%, rgba(16, 26, 22, 0.92) 72%),
    radial-gradient(circle at 34% 28%, rgba(75, 133, 117, 0.30) 0%, rgba(75, 133, 117, 0) 34%),
    linear-gradient(120deg, #6e8a70 0%, #3f6658 34%, #274036 68%, #111d18 100%);
}

.highlight-card--anhinga-trail {
  background:
    linear-gradient(180deg, rgba(225, 236, 206, 0.18) 0%, rgba(15, 25, 18, 0.92) 72%),
    radial-gradient(circle at 70% 22%, rgba(225, 240, 232, 0.18) 0%, rgba(225, 240, 232, 0) 32%),
    linear-gradient(120deg, #88a665 0%, #577842 34%, #2c4c2f 68%, #111d14 100%);
}

.highlight-index {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.66);
}

.highlight-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.04;
  color: var(--color-cream);
}

.highlight-desc {
  font-size: 0.96rem;
  line-height: 1.8;
  color: rgba(247, 243, 236, 0.82);
}

.park-section--seasons {
  padding: var(--space-xl) 2rem;
}

.editorial-narrow {
  max-width: 820px;
}

.editorial-copy {
  display: grid;
  gap: 1rem;
}

.editorial-copy p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.84;
  color: rgba(28, 28, 28, 0.80);
}

.editorial-copy--large p:first-child {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.22;
  color: var(--color-green-dark);
}

.park-section--discovery {
  padding: var(--space-xl) 2rem;
  background:
    linear-gradient(180deg, rgba(247, 243, 236, 0.92) 0%, rgba(239, 231, 216, 0.88) 100%);
  border-top: 1px solid rgba(216, 208, 192, 0.75);
  border-bottom: 1px solid rgba(216, 208, 192, 0.75);
}

.discovery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.discovery-card {
  min-height: 0;
  padding: 1.4rem;
  background:
    linear-gradient(180deg, rgba(253, 250, 245, 0.94) 0%, rgba(246, 239, 226, 0.94) 100%);
  border: 1px solid rgba(216, 208, 192, 0.88);
  box-shadow: 0 18px 38px rgba(41, 35, 22, 0.07);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.75rem;
}

.discovery-card h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  line-height: 1.12;
  color: var(--color-green-dark);
}

.discovery-card p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.74;
  color: rgba(28, 28, 28, 0.78);
}

.park-section--knowledge,
.park-section--photography,
.park-section--stewardship {
  padding: var(--space-xl) 2rem;
}

.park-section--knowledge:nth-of-type(even) {
  background-color: rgba(237, 231, 217, 0.48);
}

.knowledge-layout,
.photography-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: 3rem;
  align-items: start;
}

.knowledge-layout--with-extra {
  grid-template-columns: minmax(0, 0.9fr) minmax(160px, 220px) minmax(240px, 1fr);
}

.park-extra {
  margin: 0;
}

.park-extra img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(216, 208, 192, 0.9);
}

.park-extra figcaption {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5c5342;
}

.knowledge-lead {
  margin: 0;
  max-width: 38rem;
  font-size: 1.04rem;
  line-height: 1.84;
  color: rgba(28, 28, 28, 0.80);
}

.knowledge-list,
.stewardship-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.knowledge-list li,
.stewardship-list li {
  position: relative;
  padding: 1rem 1rem 1rem 2.45rem;
  background-color: rgba(253, 250, 245, 0.82);
  border: 1px solid rgba(216, 208, 192, 0.82);
  color: rgba(28, 28, 28, 0.80);
  font-size: 0.96rem;
  line-height: 1.7;
}

.knowledge-list li::before,
.stewardship-list li::before {
  content: '';
  position: absolute;
  top: 1.42rem;
  left: 1rem;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background-color: var(--color-orange);
}

.park-section--photography {
  background:
    linear-gradient(180deg, #efe6d8 0%, #e8decd 100%);
}

.photo-tips {
  display: grid;
  gap: 1rem;
}

.photo-tip {
  padding: 1.15rem 1.2rem;
  background:
    linear-gradient(180deg, rgba(253, 250, 245, 0.92) 0%, rgba(244, 237, 224, 0.92) 100%);
  border: 1px solid rgba(136, 116, 89, 0.20);
}

.photo-tip p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.72;
  color: rgba(28, 28, 28, 0.78);
}

.photo-tip-label {
  margin-bottom: 0.35rem !important;
  font-size: 0.7rem !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-orange) !important;
}

.stewardship-panel {
  padding: 2rem;
  background:
    linear-gradient(180deg, rgba(253, 250, 245, 0.96) 0%, rgba(240, 233, 219, 0.96) 100%);
  border: 1px solid rgba(216, 208, 192, 0.88);
  box-shadow: 0 18px 40px rgba(41, 35, 22, 0.08);
}

.stewardship-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.season-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.season-card {
  min-height: 240px;
  padding: 1.35rem;
  border: 1px solid rgba(216, 208, 192, 0.88);
  background-color: rgba(253, 250, 245, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.season-card--spring {
  background: linear-gradient(180deg, rgba(228, 237, 225, 0.92) 0%, rgba(248, 245, 239, 0.94) 100%);
}

.season-card--summer {
  background: linear-gradient(180deg, rgba(241, 224, 193, 0.92) 0%, rgba(248, 243, 234, 0.96) 100%);
}

.season-card--autumn {
  background: linear-gradient(180deg, rgba(236, 218, 188, 0.92) 0%, rgba(247, 239, 225, 0.96) 100%);
}

.season-card--winter {
  background: linear-gradient(180deg, rgba(224, 231, 236, 0.92) 0%, rgba(244, 246, 247, 0.96) 100%);
}

.season-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--color-green-dark);
}

.season-desc {
  font-size: 0.95rem;
  line-height: 1.78;
  color: rgba(28, 28, 28, 0.78);
}

.park-section--field-notes {
  padding: 0 2rem var(--space-xl);
}

.field-notes-block {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 0 0;
  border-top: 1px solid rgba(45, 80, 22, 0.16);
  text-align: center;
}

.field-note-quote {
  margin: 0;
}

.field-note-quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.18;
  color: var(--color-green-dark);
  text-wrap: balance;
}

.field-note-attribution {
  margin-top: 1rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.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;
}

.park-section--badge {
  padding: 0 2rem var(--space-xl);
}

.badge-showcase-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.badge-showcase-copy {
  max-width: 32rem;
}

.badge-showcase-desc,
.archive-desc {
  font-size: 1rem;
  line-height: 1.84;
  color: rgba(28, 28, 28, 0.8);
}

.badge-showcase-notes {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(45, 80, 22, 0.14);
}

.badge-showcase-notes p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.78;
  color: rgba(28, 28, 28, 0.78);
}

.badge-showcase-frame {
  display: flex;
  justify-content: center;
}

.badge-showcase-plaque {
  width: min(100%, 420px);
  padding: 1.5rem 1.5rem 1.35rem;
  background:
    linear-gradient(180deg, rgba(246, 238, 224, 0.98) 0%, rgba(235, 224, 204, 0.98) 100%);
  border: 1px solid rgba(161, 141, 112, 0.34);
  box-shadow: 0 24px 48px rgba(41, 35, 22, 0.10);
  text-align: left;
  position: relative;
}

.badge-showcase-plaque::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(161, 141, 112, 0.16);
  pointer-events: none;
}

.park-badge--hero {
  width: 240px;
  height: 240px;
  margin: 0;
}

.badge-plaque-label,
.badge-plaque-footer span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.badge-plaque-label {
  margin-bottom: 1.25rem;
}

.badge-plaque-badge-wrap {
  padding: 1.5rem;
  margin: 0 0 1.25rem;
  border: 1px solid rgba(161, 141, 112, 0.18);
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(180deg, rgba(255, 249, 239, 0.86) 0%, rgba(241, 232, 216, 0.92) 100%);
  display: flex;
  justify-content: center;
}

.badge-plaque-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(161, 141, 112, 0.18);
}

.badge-plaque-footer p {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  margin: 0;
  color: var(--color-green-dark);
  font-size: 0.92rem;
  line-height: 1.45;
}

.park-section--archive {
  padding: 0 2rem var(--space-xl);
}

.archive-layout {
  border-top: 1px solid rgba(45, 80, 22, 0.16);
  padding-top: 2.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.archive-copy {
  max-width: 34rem;
}

.archive-links {
  display: grid;
  gap: 0.75rem;
}

.archive-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(45, 80, 22, 0.12);
  text-decoration: none;
}

.archive-link-label {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-green-dark);
}

.archive-link:hover .archive-link-label {
  color: var(--color-orange);
}

/* Explore button — live link variant */
.card-btn--link {
  text-align: center;
  text-decoration: none;
}
