:root {
  --ink: #173d32;
  --ink-2: #275849;
  --cream: #f8f1e4;
  --paper: #fffaf1;
  --sage: #a8b9a0;
  --sage-light: #e2eadc;
  --amber: #e6a956;
  --terracotta: #ba6041;
  --mist: #eef0e7;
  --line: rgba(23, 61, 50, .14);
  --shadow: 0 24px 60px rgba(36, 60, 45, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 50; padding: 10px 16px; background: white; border-radius: 999px; }
.skip-link:focus { top: 16px; }

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 12px clamp(20px, 4vw, 68px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 241, .94);
  backdrop-filter: blur(14px);
  position: relative;
  z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; line-height: 1.12; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--cream); font-family: serif; font-size: 18px; }
.brand strong { display: block; font-family: "Fraunces", Georgia, serif; font-size: 18px; letter-spacing: -.02em; }
.brand small { display: block; margin-top: 3px; color: #68776e; font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }
nav { display: flex; gap: 28px; margin-left: auto; }
nav a { text-decoration: none; font-size: 13px; font-weight: 600; }
nav a:hover, nav a:focus-visible { color: var(--terracotta); }
.preview-chip { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 8px 12px; border: 1px solid #d5a069; color: #8a4f28; border-radius: 999px; background: #fff1d9; }

.hero { min-height: 650px; position: relative; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(12, 40, 33, .83) 0%, rgba(15, 43, 35, .64) 32%, rgba(20, 49, 37, .08) 66%, rgba(20, 49, 37, .03)); }
.hero-content { width: min(620px, 84vw); margin-left: clamp(26px, 8vw, 128px); color: white; padding: 100px 0; }
.eyebrow { margin: 0 0 16px; font-size: 11px; line-height: 1.2; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow.green { color: #537664; }
.eyebrow.amber { color: #9b6420; }
.eyebrow.cream { color: #e9d6ab; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.06; letter-spacing: -.035em; }
h1 { font-size: clamp(48px, 6.8vw, 92px); margin: 0 0 26px; font-weight: 600; }
h1 em { color: #f1cf8a; font-style: italic; font-weight: 500; }
.hero-copy { max-width: 525px; font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,.87); margin: 0 0 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; text-decoration: none; font: 700 13px/1 "DM Sans", sans-serif; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-light { background: var(--cream); color: var(--ink); box-shadow: 0 14px 30px rgba(0,0,0,.16); }
.button-dark { background: var(--ink); color: white; }
.button-ghost { border: 1px solid var(--line); color: #778077; cursor: default; }
.button-ghost:hover { transform: none; }
.preview-note { position: absolute; left: clamp(24px, 4vw, 68px); bottom: 24px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 12px; color: white; background: rgba(10, 34, 28, .74); backdrop-filter: blur(10px); font-size: 11px; }
.preview-note span { width: 7px; height: 7px; border-radius: 50%; background: #efb45e; box-shadow: 0 0 0 4px rgba(239,180,94,.18); }

.section-pad { padding: clamp(66px, 7vw, 98px) clamp(22px, 6vw, 94px); }
.intro { background: var(--paper); }
.section-heading, .story-heading { max-width: 740px; margin-bottom: 52px; }
h2 { font-size: clamp(38px, 4.5vw, 62px); margin: 0 0 20px; }
.section-heading > p:last-child, .story-heading > p:last-child, .closing-copy > p { font-size: 17px; color: #5f7168; max-width: 660px; }
.update-line { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: -18px 0 22px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; color: #6a776f; background: rgba(255,255,255,.45); font-size: 11px; }
.update-line span:first-child { display: inline-flex; align-items: center; gap: 8px; color: #8a4f28; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.update-line i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(230,169,86,.16); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metric-card { min-height: 300px; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.55); position: relative; overflow: hidden; box-shadow: 0 8px 24px rgba(27,55,42,.04); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.metric-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(23,61,50,.28); }
.metric-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--sage-light); margin-bottom: 34px; }
.metric-icon svg { width: 25px; height: 25px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.metric-value { display: block; font: 600 clamp(34px, 3.8vw, 52px)/1 "Fraunces", Georgia, serif; letter-spacing: -.04em; }
.metric-label { margin-top: 9px; font-size: 14px; font-weight: 700; }
.metric-subtitle { margin-top: 7px; color: #5f7168; font-size: 11px; line-height: 1.45; }
.metric-source { margin-top: auto; padding-top: 22px; color: #728078; font-size: 11px; border-top: 1px solid var(--line); }
.metric-source b { color: var(--ink-2); }
.metric-card::after { content: ""; width: 110px; height: 110px; border-radius: 50%; background: var(--accent, var(--sage)); opacity: .12; position: absolute; right: -45px; top: -45px; }
.metric-card--primary { background: #ead2c9; border-color: rgba(146, 64, 43, .2); }
.metric-card--primary .metric-icon { background: rgba(255,255,255,.42); }
.metric-card--primary .metric-subtitle { color: #744739; }
.metric-card--primary::after { opacity: .34; }

.trail-card { margin-top: 22px; padding: clamp(28px, 4vw, 54px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; background: #edf0e4; border-radius: 22px; }
.trail-card h3 { font-size: 36px; margin: 0 0 14px; }
.trail-card p { margin: 0; }
.fundraiser-card { margin-top: 16px; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border: 1px solid rgba(146,64,43,.18); border-radius: 18px; background: #f3e4de; }
.fundraiser-card .eyebrow { margin-bottom: 7px; }
.fundraiser-card h3 { margin: 0 0 5px; font-size: 24px; }
.fundraiser-card p:last-child { margin: 0; color: #6c5a53; font-size: 13px; }
.fundraiser-placeholder { flex: 0 0 auto; display: inline-flex; align-items: center; padding: 11px 16px; border-radius: 999px; background: rgba(146,64,43,.1); color: #8c4b39; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.fundraiser-placeholder:hover { background: rgba(146,64,43,.17); }
.progress-meta, .progress-scale { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; }
.progress-meta strong { font: 600 28px/1 "Fraunces", serif; }
.progress-track { height: 15px; border-radius: 999px; background: rgba(23,61,50,.13); position: relative; margin: 16px 0 10px; }
.progress-fill { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--terracotta), var(--amber)); transition: width 1.5s cubic-bezier(.2,.8,.2,1); }
.trail-paw { position: absolute; top: 50%; left: 0; translate: -50% -50%; width: 28px; height: 28px; display: grid; place-items: center; color: white; background: var(--terracotta); border: 4px solid #edf0e4; border-radius: 50%; transition: left 1.5s cubic-bezier(.2,.8,.2,1); }
.progress-scale { color: #68776e; }

.quest-band { background: #f0e2ca; }
.quest-card { display: grid; grid-template-columns: 110px 1fr 230px; gap: 34px; align-items: center; max-width: 1220px; margin: auto; }
.quest-icon { width: 96px; height: 96px; display: grid; place-items: center; border-radius: 50%; background: #f7cf87; }
.quest-icon svg { width: 62px; height: 62px; fill: none; stroke: #5b4a29; stroke-width: 3; }
.quest-card h2 { font-size: clamp(34px, 4vw, 54px); }
.quest-card p { max-width: 650px; }
.quest-meta { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 25px; color: #735d42; font-size: 12px; }
.quest-meta b { font: 600 22px/1 "Fraunces", serif; color: var(--ink); margin-right: 4px; }
.quest-action { display: grid; gap: 12px; justify-items: start; }
.soft-label { font-size: 11px; color: #7e684e; }
#pledge-message { margin: 0; color: #58715f; font-size: 12px; min-height: 20px; }

.story { background: var(--paper); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.timeline::before { content: ""; position: absolute; height: 1px; left: 0; right: 0; top: 9px; background: var(--line); }
.timeline-item { padding-top: 44px; position: relative; }
.timeline-item::before { content: ""; position: absolute; top: 3px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--terracotta); border: 3px solid var(--paper); outline: 1px solid var(--terracotta); }
.timeline-item.muted::before { background: var(--paper); outline-color: #9ca79d; }
.timeline time { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta); }
.timeline h3 { font-size: 27px; margin: 16px 0 10px; }
.timeline p { color: #66766d; font-size: 14px; }

.receipts { background: #dfe8dc; }
.receipt-card { padding: clamp(34px, 5vw, 70px); border-radius: 28px; background: var(--ink); color: white; display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(40px, 7vw, 100px); box-shadow: var(--shadow); }
.receipt-heading h2 { font-size: clamp(36px, 4.2vw, 58px); }
.receipt-heading > p:last-child { color: rgba(255,255,255,.68); }
.receipt-row { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.receipt-row:first-child { padding-top: 0; }
.receipt-row:last-child { border-bottom: 0; }
.receipt-number { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); color: #f2d8a5; font: 600 14px/1 "Fraunces", serif; }
.receipt-row h3 { margin: 0 0 5px; font-family: "DM Sans", sans-serif; letter-spacing: 0; font-size: 14px; }
.receipt-row p { margin: 0; color: rgba(255,255,255,.65); font-size: 12px; }
.return-row { max-width: 1220px; margin: 22px auto 0; padding: 24px 28px; border: 1px solid var(--line); border-radius: 18px; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: rgba(255,255,255,.45); }
.return-row .eyebrow { display: block; margin-bottom: 6px; }
.return-row p { margin: 0; color: #65746c; font-size: 13px; }

.closing { display: flex; justify-content: space-between; align-items: center; gap: 60px; background: var(--paper); }
.closing-copy { max-width: 820px; }
.closing-copy .button { margin-top: 18px; }
.closing-stamp { width: 210px; aspect-ratio: 1; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--line); display: grid; place-content: center; text-align: center; transform: rotate(4deg); box-shadow: inset 0 0 0 9px var(--paper), inset 0 0 0 10px var(--line); color: var(--terracotta); }
.closing-stamp b { display: block; font: 600 58px/1 "Fraunces", serif; }
.closing-stamp span { font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
footer { padding: 26px clamp(22px, 6vw, 94px); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #718078; }
footer p { font-size: 11px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .progress-fill, .trail-paw { transition: none; } }

@media (max-width: 980px) {
  nav { display: none; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .quest-card { grid-template-columns: 90px 1fr; }
  .quest-action { grid-column: 2; }
  .receipt-card { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .site-header { min-height: 68px; padding-inline: 16px; gap: 14px; }
  .preview-chip { margin-left: auto; font-size: 9px; padding: 7px 9px; }
  .brand-mark { width: 34px; height: 34px; }
  .hero { min-height: 690px; align-items: end; }
  .hero > img { object-position: 62% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(11,37,31,.93) 0%, rgba(11,37,31,.7) 45%, rgba(11,37,31,.08) 85%); }
  .hero-content { width: auto; margin: 0; padding: 220px 24px 90px; }
  h1 { font-size: 49px; }
  .preview-note { left: 24px; bottom: 18px; }
  .metric-grid { grid-template-columns: 1fr; }
  .update-line { align-items: flex-start; flex-direction: column; gap: 6px; }
  .metric-card { min-height: 260px; }
  .trail-card { grid-template-columns: 1fr; gap: 34px; }
  .fundraiser-card { align-items: flex-start; flex-direction: column; gap: 18px; }
  .quest-card { grid-template-columns: 1fr; }
  .quest-action { grid-column: 1; }
  .quest-icon { width: 76px; height: 76px; }
  .timeline { grid-template-columns: 1fr; gap: 12px; }
  .timeline::before { top: 0; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; }
  .timeline-item { padding: 0 0 28px 38px; }
  .timeline-item::before { top: 3px; }
  .closing { align-items: flex-start; flex-direction: column; }
  .return-row { align-items: flex-start; flex-direction: column; }
  .closing-stamp { width: 165px; }
  footer { align-items: flex-start; flex-direction: column; }
}
