/* ============================================================
   Austin United PAC
   Design system and global styles
   Palette: warm white / gray / tan base, forest green and
   muted water-blue accents. Serif display (Marcellus) with a
   clean sans body (Source Sans 3).
   ============================================================ */

:root {
  /* Base neutrals */
  --cream:      #f8f5ef;
  --cream-2:    #f1ece1;
  --sand:       #e8dfce;
  --paper:      #ffffff;

  /* Earth tones */
  --tan:        #c8b48f;
  --tan-deep:   #a98d63;

  /* Greens */
  --forest:      #2f5c49;
  --forest-deep: #234438;
  --moss:        #6f9166;
  --sage:        #9cb39a;

  /* Water accents */
  --water:      #6f9bb0;
  --water-deep: #4c7f97;

  /* Ink */
  --ink:        #2c2b26;
  --ink-soft:   #56534b;
  --ink-faint:  #7d7a70;

  /* Lines */
  --line:       #ddd4c3;
  --line-soft:  #e9e2d4;

  /* Type */
  --serif: "Marcellus", "PT Serif", Georgia, "Times New Roman", serif;
  --sans:  "Source Sans 3", "Source Sans Pro", "Segoe UI", Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw:     1140px;
  --maxw-narrow: 760px;
  --radius:   6px;
  --shadow:   0 1px 2px rgba(44, 43, 38, 0.06), 0 6px 20px rgba(44, 43, 38, 0.06);
  --shadow-sm: 0 1px 2px rgba(44, 43, 38, 0.08);
}

/* ---------- Reset and base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0.02em; }

p { margin: 0 0 1.1em; }

a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--forest-deep); text-decoration: underline; }

img, svg { max-width: 100%; }

strong { font-weight: 600; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tan-deep);
  margin: 0 0 0.75rem;
}

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 24px; }

.section { padding: 76px 0; position: relative; }
.section--tight { padding: 52px 0; }
.section--cream2 { background: var(--cream-2); }
.section--sand { background: var(--sand); }
.section--forest { background: var(--forest-deep); color: #eef2ea; }
.section--forest h1, .section--forest h2, .section--forest h3 { color: #ffffff; }
.section--forest .eyebrow { color: var(--sage); }

.center { text-align: center; }
.measure { max-width: 640px; }
.center .measure { margin-left: auto; margin-right: auto; }

.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }

.btn--primary { background: var(--forest); color: #fff; }
.btn--primary:hover { background: var(--forest-deep); color: #fff; }

.btn--tan { background: var(--tan-deep); color: #fff; }
.btn--tan:hover { background: #8f7550; color: #fff; }

.btn--outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--outline:hover { background: var(--forest); color: #fff; }

.btn--light { background: #fff; color: var(--forest-deep); }
.btn--light:hover { background: var(--cream-2); color: var(--forest-deep); }

.btn--sm { padding: 10px 18px; font-size: 0.92rem; }
.btn--lg { padding: 16px 34px; font-size: 1.08rem; }

/* ============================================================
   Header / navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(248, 245, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.1) blur(6px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand:hover { text-decoration: none; }
.brand svg, .brand img { width: 48px; height: auto; display: block; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--ink);
  text-transform: uppercase;
}
/* Header wordmark sized to sit alongside the logo mark */
.brand-name--lg { font-size: 1.7rem; letter-spacing: 0.05em; }
@media (max-width: 520px) { .brand-name--lg { font-size: 1.35rem; } .brand svg, .brand img { width: 40px; } }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 12px;
  border-radius: 4px;
}
.nav-links a:hover { color: var(--forest); background: var(--cream-2); text-decoration: none; }
.nav-links a.is-active { color: var(--forest); }
.nav-cta { margin-left: 8px; }
/* Keep the CTA button legible despite the nav link color rule above */
.nav-links a.nav-cta { color: #fff; }
.nav-links a.nav-cta:hover { color: #fff; background: var(--forest-deep); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 8px; border-bottom: 1px solid var(--line-soft); }
  .nav-cta { margin: 12px 0 0; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--forest-deep);
}
.hero-illustration { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-illustration svg,
.hero-illustration img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(18,32,26,0.72) 0%, rgba(18,32,26,0.55) 34%, rgba(18,32,26,0.28) 62%, rgba(18,32,26,0.10) 100%),
    linear-gradient(180deg, rgba(18,32,26,0.30) 0%, rgba(18,32,26,0.12) 45%, rgba(18,32,26,0.42) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 104px 24px 112px;
  color: #fff;
}
.hero-content {
  max-width: 600px;
  background: rgba(22, 40, 33, 0.62);
  padding: 40px 44px 44px;
  border-radius: 8px;
}
.hero-logo { width: 104px; height: auto; display: block; margin: 0 auto 26px; }
.hero h1 {
  color: #fff;
  font-size: 3.3rem;
  margin-bottom: 0.45em;
  text-shadow: 0 2px 22px rgba(0,0,0,0.45);
}
.hero p {
  font-size: 1.32rem;
  line-height: 1.5;
  color: #f4f1ea;
  margin-bottom: 1.8em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 700px) {
  .hero h1 { font-size: 2.3rem; }
  .hero p { font-size: 1.14rem; }
  .hero-inner { padding: 56px 20px 64px; }
  .hero-content { padding: 30px 26px 32px; }
}

/* Hero illustration motion (subtle, respects reduced-motion below) */
.hero-water { animation: waterDrift 9s ease-in-out infinite alternate; }
.hero-water-2 { animation: waterDrift 13s ease-in-out infinite alternate; }
@keyframes waterDrift {
  from { transform: translateX(-14px); }
  to   { transform: translateX(14px); }
}
.hero-canopy { transform-origin: center bottom; animation: canopySway 7s ease-in-out infinite alternate; }
@keyframes canopySway {
  from { transform: rotate(-0.8deg); }
  to   { transform: rotate(0.8deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-water, .hero-water-2, .hero-canopy { animation: none; }
}

/* ============================================================
   Full-width photo band
   ============================================================ */
.photo-band {
  position: relative;
  overflow: hidden;
  background: var(--forest-deep);
}
.photo-band img.photo-band-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.photo-band-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,38,31,0.82) 0%, rgba(20,38,31,0.55) 45%, rgba(20,38,31,0.25) 100%);
}
.photo-band-inner {
  position: relative; z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 84px 24px;
  color: #fff;
}
.photo-band-inner .measure { max-width: 46ch; }
.photo-band h2 { color: #fff; }
.photo-band p { color: #eef2ea; }
.photo-band .eyebrow { color: var(--sage); }

/* Inline photo figure */
.media-figure { margin: 0; }
.media-figure img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  object-fit: cover;
}
.media-figure figcaption { font-size: 0.85rem; color: var(--ink-faint); margin-top: 8px; }

/* Drop-in photo slot with graceful fallback until a file is added */
.photo-slot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--sage) 0%, var(--moss) 60%, var(--forest) 100%);
  min-height: 260px;
  border: 1px solid var(--line);
}
.photo-slot img { display: block; width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.photo-slot .photo-slot-note {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  font-size: 0.8rem;
  color: #fff;
  background: rgba(20,38,31,0.55);
}
.photo-credit { font-size: 0.78rem; color: var(--ink-faint); }

/* ============================================================
   Trail divider (hand-drawn section transition)
   ============================================================ */
.trail-divider {
  position: relative;
  height: 90px;
  margin: 0;
  overflow: visible;
  pointer-events: none;
}
.trail-divider svg { display: block; width: 100%; height: 100%; }
.trail-path {
  fill: none;
  stroke: var(--tan-deep);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 3 12;
  opacity: 0.7;
}
.trail-path-draw {
  fill: none;
  stroke: var(--moss);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 1.8s ease;
}
.trail-divider.in-view .trail-path-draw { stroke-dashoffset: 0; }
.trail-marker { fill: var(--moss); opacity: 0; transition: opacity 0.5s ease 1.2s; }
.trail-divider.in-view .trail-marker { opacity: 0.85; }

/* ============================================================
   Generic content blocks
   ============================================================ */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Issue cards ---------- */
.issue {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.issue-ico { width: 40px; height: 40px; margin-bottom: 14px; color: var(--forest); }
.issue h3 { font-size: 1.18rem; margin-bottom: 0.4em; }
.issue p { font-size: 0.98rem; color: var(--ink-soft); margin-bottom: 0; }

/* Icon grows into place when the card scrolls in, like the endorsement tree */
.issue .issue-ico {
  transform: scale(0.2); opacity: 0;
  transform-origin: 20px 20px;
  transition: transform 0.7s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.5s ease;
}
.issue.in-view .issue-ico { transform: scale(1); opacity: 1; }
.grid-3 .issue:nth-child(2) .issue-ico { transition-delay: 0.08s; }
.grid-3 .issue:nth-child(3) .issue-ico { transition-delay: 0.16s; }
.grid-3 .issue:nth-child(4) .issue-ico { transition-delay: 0.06s; }
.grid-3 .issue:nth-child(5) .issue-ico { transition-delay: 0.14s; }

.issue--commit {
  display: flex; flex-direction: column; justify-content: center;
  background: var(--forest); border-color: var(--forest);
}
.issue--commit h3 { color: #fff; }
.issue--commit p { color: #e7efe7; }
.issue--commit a { color: #fff; font-weight: 600; }

/* Same grow treatment for icons inside prose cards (e.g. donate page) */
.prose .issue-ico {
  margin-bottom: 12px;
  transform: scale(0.2); opacity: 0;
  transform-origin: 20px 20px;
  transition: transform 0.7s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.5s ease;
}
.prose.in-view .issue-ico { transform: scale(1); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .issue .issue-ico, .prose .issue-ico { transform: none; opacity: 1; transition: none; }
}

/* ---------- Issues illustrated journey (issues page) ---------- */
.issue-journey { max-width: 900px; margin: 8px auto 0; }
.issue-scene {
  display: grid; grid-template-columns: 200px 1fr; gap: 48px;
  align-items: center; margin: 0 0 44px;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.issue-scene:last-child { margin-bottom: 0; }
.issue-scene.in-view { opacity: 1; transform: none; }
.issue-scene.right { grid-template-columns: 1fr 200px; }
.issue-scene.right .scene-art { order: 2; }
.issue-scene.right .scene-text { order: 1; }
.scene-art { display: flex; justify-content: center; }
.scene-art svg { width: 100%; max-width: 190px; height: auto; }
.scene-text h2, .scene-text h3 { font-size: 1.35rem; margin-bottom: 0.4em; }
.scene-text p { color: var(--ink-soft); margin-bottom: 0; font-size: 0.98rem; }

/* Illustration motion */
@keyframes rainFall { from { transform: translateY(-6px); opacity: 0; } 20% { opacity: 1; } to { transform: translateY(16px); opacity: 0; } }
@keyframes rippleX { from { transform: translateX(-8px); } to { transform: translateX(8px); } }
@keyframes flashBolt { 0%,88%,100% { opacity: 0; } 90%,96% { opacity: 1; } }
@keyframes sway { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }
@keyframes blink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0.25; } }
@keyframes blinkAlt { 0%,49% { opacity: 0.25; } 50%,100% { opacity: 1; } }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-4px); } }

.art-rain line { animation: rainFall 1.3s linear infinite; }
.art-rain line:nth-child(2) { animation-delay: 0.35s; }
.art-rain line:nth-child(3) { animation-delay: 0.65s; }
.art-rain line:nth-child(4) { animation-delay: 0.9s; }
.art-rain line:nth-child(5) { animation-delay: 0.15s; }
.art-bolt { animation: flashBolt 3.2s ease-in-out infinite; transform-origin: center; }
.art-ripple { animation: rippleX 4s ease-in-out infinite alternate; }
.art-canopy { transform-origin: bottom center; animation: sway 4.5s ease-in-out infinite alternate; }
.art-light-a { animation: blink 0.9s steps(1) infinite; }
.art-light-b { animation: blinkAlt 0.9s steps(1) infinite; }
.art-bob { animation: bob 3s ease-in-out infinite alternate; }

@media (max-width: 760px) {
  .issue-scene,
  .issue-scene.right { grid-template-columns: 1fr; gap: 14px; margin-bottom: 40px; text-align: center; }
  .issue-scene.right .scene-art { order: 0; }
  .issue-scene.right .scene-text { order: 0; }
  .scene-art svg { max-width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .issue-scene { opacity: 1; transform: none; transition: none; }
  .art-rain line, .art-bolt, .art-ripple, .art-canopy, .art-light-a, .art-light-b, .art-bob { animation: none; }
}

/* ---------- Stats ---------- */
.stat { text-align: center; padding: 8px; }
.stat-num { font-family: var(--serif); font-size: 2.8rem; color: var(--forest); line-height: 1; }
.stat-label { font-size: 0.98rem; color: var(--ink-soft); margin-top: 8px; }

/* ============================================================
   Endorsements
   ============================================================ */
.endorse-list { display: flex; flex-direction: column; gap: 18px; max-width: 780px; margin: 0 auto; }
.endorse {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}
.endorse-grow { flex: 0 0 56px; width: 56px; height: 56px; }
.endorse-body h3 { margin: 0 0 2px; font-size: 1.2rem; }
.endorse-role { font-size: 0.9rem; color: var(--tan-deep); font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; margin: 0 0 6px; }
.endorse-body p { margin: 0; font-size: 0.98rem; color: var(--ink-soft); }

/* Growing bush/tree animation for endorsements */
.grow-svg { width: 100%; height: 100%; overflow: visible; }
.grow-svg .trunk,
.grow-svg .leaf {
  transform: scale(0);
  transform-origin: 28px 50px;
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}
.grow-svg .leaf-1 { transition-delay: 0.05s; }
.grow-svg .leaf-2 { transition-delay: 0.18s; }
.grow-svg .leaf-3 { transition-delay: 0.30s; }
.grow-svg .leaf-4 { transition-delay: 0.42s; }
.grow-svg .leaf-5 { transition-delay: 0.54s; }
.endorse.in-view .grow-svg .trunk,
.endorse.in-view .grow-svg .leaf {
  transform: scale(1);
  opacity: 1;
}

/* ============================================================
   FAQ (accordion)
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 44px 22px 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
  cursor: pointer;
  position: relative;
}
.faq-q:hover { color: var(--forest); }
.faq-q::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 12px; height: 12px;
  border-right: 2px solid var(--tan-deep);
  border-bottom: 2px solid var(--tan-deep);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}
.faq-item.is-open .faq-q::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner { padding: 0 0 22px; color: var(--ink-soft); }
.faq-a-inner p:last-child { margin-bottom: 0; }
.faq-a ol, .faq-a ul { margin: 0 0 1em; padding-left: 1.3em; }
.faq-a li { margin-bottom: 0.4em; }

/* ============================================================
   Forms and embeds
   ============================================================ */
.embed-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
}
.donate-embed { max-width: 620px; margin: 0 auto; }
.donate-embed iframe {
  display: block;
  width: 100%;
  height: 1150px;
  border: 0;
  border-radius: 6px;
  background: #fff;
}
@media (max-width: 620px) { .donate-embed iframe { height: 1420px; } }

.signup {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.signup h3 { margin-bottom: 0.3em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ============================================================
   Callout / CTA band
   ============================================================ */
.cta-band {
  background: var(--forest-deep);
  color: #eef2ea;
  border-radius: var(--radius);
  padding: 44px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe5d9; max-width: 52ch; margin-left: auto; margin-right: auto; }
.cta-band .btn { margin-top: 10px; }

/* Water accent for CTA band */
.cta-waves { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; opacity: 0.35; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #201f1b;
  color: #cfccc2;
  padding: 56px 0 28px;
  font-size: 0.94rem;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h4 { color: #fff; margin-bottom: 14px; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.82rem; }
.site-footer a { color: #cfccc2; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand svg { width: 44px; }
.footer-brand .brand-name { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-disclaimer {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid #3a3833;
  font-size: 0.86rem;
  color: #9b988e;
  line-height: 1.6;
}
.footer-disclaimer strong { color: #cfccc2; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .grow-svg .trunk, .grow-svg .leaf,
  .trail-path-draw, .trail-marker {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
  }
}

/* ============================================================
   Utility
   ============================================================ */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest-deep);
  background: var(--sage);
  border-radius: 100px;
  padding: 5px 12px;
}
.note { font-size: 0.9rem; color: var(--ink-faint); }
.divider-line { border: none; border-top: 1px solid var(--line); margin: 40px 0; }

.page-header {
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 48px;
}
.page-header .eyebrow { margin-bottom: 0.5rem; }
.page-header h1 { margin-bottom: 0.3em; }
.page-header p { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; margin-bottom: 0; }

.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; }
