/* =============================================================
   SECOND CHANCE SANCTUARY — TEMPLATE C
   Warm, photographic, heartfelt nonprofit template
   Palette: forest green + warm rust + butter yellow + cream
   Type: Source Serif Pro (display) + Inter (body) + Caveat (hand)
   ============================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Colors — warm + grounded */
  --cream: #FCF8F0;
  --surface: #FFFFFF;
  --surface-2: #F5EDE0;
  --surface-3: #EFE3CF;
  --forest: #1F4D2C;
  --forest-deep: #133019;
  --forest-soft: #2E6B3F;
  --rust: #E07946;
  --rust-deep: #C25E2C;
  --butter: #F4D27A;
  --butter-soft: #FAE6AE;
  --ink: #2D1F18;
  --ink-soft: #4A372D;
  --muted: #6E5A4F;
  --muted-light: #9A8678;
  --hairline: rgba(45, 31, 24, 0.10);
  --hairline-strong: rgba(45, 31, 24, 0.18);

  /* Typography */
  --font-display: 'Source Serif Pro', 'Source Serif 4', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', 'Kalam', cursive;

  /* Scale */
  --fs-hero: clamp(3rem, 7vw, 6rem);
  --fs-display: clamp(2.25rem, 5vw, 4rem);
  --fs-h2: clamp(1.75rem, 3.4vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.55rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.78rem;
  --fs-hand: clamp(1.6rem, 2.6vw, 2.1rem);

  /* Spacing */
  --gap-1: 0.5rem;
  --gap-2: 1rem;
  --gap-3: 1.5rem;
  --gap-4: 2rem;
  --gap-5: 3rem;
  --gap-6: 4.5rem;
  --gap-7: 6.5rem;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-1: 0 1px 2px rgba(45,31,24,0.04), 0 2px 8px rgba(45,31,24,0.05);
  --shadow-2: 0 6px 20px rgba(45,31,24,0.10), 0 2px 6px rgba(45,31,24,0.06);
  --shadow-3: 0 20px 60px rgba(45,31,24,0.18), 0 8px 22px rgba(45,31,24,0.10);
  --shadow-forest: 0 8px 22px rgba(31, 77, 44, 0.28);
  --shadow-rust: 0 8px 22px rgba(224, 121, 70, 0.32);

  /* Container */
  --maxw: 1240px;
  --maxw-narrow: 920px;
}

/* ---------- 2. RESET + BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--ink);
  line-height: 1.08;
}
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-display); }
h3 { font-size: var(--fs-h2); }
h4 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }

::selection { background: var(--butter); color: var(--ink); }

/* ---------- 3. UTILITIES ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { width: 100%; max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--gap-7) 0; position: relative; }
.section--tight { padding: var(--gap-6) 0; }
.bg-cream { background: var(--cream); }
.bg-surface { background: var(--surface); }
.bg-surface-2 { background: var(--surface-2); }
.bg-forest { background: var(--forest); color: var(--cream); }
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--rust);
  display: inline-block;
}
.eyebrow--forest { color: var(--forest); }
.eyebrow--forest::before { background: var(--forest); }
.eyebrow--cream { color: var(--butter); }
.eyebrow--cream::before { background: var(--butter); }
.lead {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
}
.hand {
  font-family: var(--font-hand);
  font-size: var(--fs-hand);
  line-height: 1.25;
  color: var(--forest);
  font-weight: 500;
}
.divider-paw {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--rust);
  margin: var(--gap-3) 0;
}
.divider-paw::before, .divider-paw::after {
  content: "";
  height: 1px;
  flex: 0 0 60px;
  background: var(--hairline-strong);
}

/* ---------- 4. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: -0.005em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--forest);
  color: var(--cream);
  box-shadow: var(--shadow-forest);
}
.btn--primary:hover { background: var(--forest-soft); }
.btn--donate {
  background: var(--rust);
  color: #fff;
  box-shadow: var(--shadow-rust);
}
.btn--donate:hover { background: var(--rust-deep); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--hairline-strong);
}
.btn--ghost:hover { border-color: var(--forest); color: var(--forest); }
.btn--ghost-light {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(252, 248, 240, 0.35);
}
.btn--ghost-light:hover { border-color: var(--butter); color: var(--butter); }
.btn--lg { padding: 18px 34px; font-size: 1.04rem; }
.btn-heart {
  width: 16px; height: 16px;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 21s-7.5-4.6-10-9.2C.4 8.5 2.1 5 5.5 5c2 0 3.5 1.2 4.5 2.7C11 6.2 12.5 5 14.5 5 17.9 5 19.6 8.5 22 11.8 19.5 16.4 12 21 12 21z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 21s-7.5-4.6-10-9.2C.4 8.5 2.1 5 5.5 5c2 0 3.5 1.2 4.5 2.7C11 6.2 12.5 5 14.5 5 17.9 5 19.6 8.5 22 11.8 19.5 16.4 12 21 12 21z'/></svg>") center/contain no-repeat;
}

/* ---------- 5. NAV ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}
.nav.is-scrolled {
  background: rgba(252, 248, 240, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 1px 0 var(--hairline);
  padding: 12px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-4);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-family: var(--font-display);
}
.nav.is-scrolled .brand { color: var(--ink); }
.brand__mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--rust);
  display: grid; place-items: center;
  box-shadow: var(--shadow-1);
  flex: none;
}
.brand__mark svg { width: 24px; height: 24px; color: #fff; }
.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name b {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand__name span {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 4px;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--gap-4);
}
.nav__menu a {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--cream);
  opacity: 0.92;
  transition: opacity 0.15s ease, color 0.15s ease;
  position: relative;
}
.nav.is-scrolled .nav__menu a { color: var(--ink); }
.nav__menu a:not(.btn):hover { opacity: 1; color: var(--butter); }
.nav.is-scrolled .nav__menu a:not(.btn):hover { color: var(--forest); }
.nav__menu a.is-active { color: var(--butter); }
.nav.is-scrolled .nav__menu a.is-active { color: var(--forest); }
.nav__menu .btn--donate {
  padding: 11px 20px;
  font-size: 0.92rem;
  color: #fff !important;
  opacity: 1 !important;
}
.nav-toggle { display: none; }

/* ---------- 6. HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  isolation: isolate;
  color: var(--cream);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(19, 48, 25, 0.45) 0%, rgba(19, 48, 25, 0.15) 35%, rgba(19, 48, 25, 0.85) 100%),
    linear-gradient(95deg, rgba(19, 48, 25, 0.65) 0%, rgba(19, 48, 25, 0.05) 60%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--gap-6);
  align-items: end;
  width: 100%;
}
.hero__copy { max-width: 620px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(252, 248, 240, 0.14);
  border: 1px solid rgba(252, 248, 240, 0.22);
  backdrop-filter: blur(6px);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--butter);
  margin-bottom: var(--gap-3);
}
.hero__eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--butter);
  box-shadow: 0 0 0 4px rgba(244, 210, 122, 0.25);
}
.hero h1 {
  color: var(--cream);
  margin-bottom: var(--gap-3);
  font-weight: 500;
}
.hero h1 em {
  font-style: italic;
  color: var(--butter);
  font-weight: 500;
}
.hero__sub {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.45vw, 1.32rem);
  line-height: 1.55;
  color: rgba(252, 248, 240, 0.86);
  margin-bottom: var(--gap-4);
  max-width: 560px;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: var(--gap-4);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-3) var(--gap-4);
  font-size: 0.86rem;
  color: rgba(252, 248, 240, 0.82);
  align-items: center;
}
.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__meta svg { width: 16px; height: 16px; color: var(--butter); flex: none; }
.hero__sidecard {
  background: rgba(252, 248, 240, 0.96);
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: 28px;
  max-width: 380px;
  margin-left: auto;
  box-shadow: var(--shadow-3);
  position: relative;
}
.hero__sidecard::before {
  content: "";
  position: absolute;
  top: -14px; left: 28px;
  width: 56px; height: 4px;
  background: var(--rust);
  border-radius: 2px;
}
.hero__sidecard h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.hero__sidecard p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.hero__sidecard .hand {
  font-size: 1.6rem;
  margin-bottom: 4px;
  display: block;
}
.hero__attribution {
  position: absolute;
  bottom: 16px; right: 20px;
  font-size: 0.7rem;
  color: rgba(252, 248, 240, 0.6);
  letter-spacing: 0.02em;
  z-index: 1;
}
.hero__attribution a { color: inherit; text-decoration: underline; text-decoration-color: rgba(252,248,240,0.3); }

/* ---------- 7. IMPACT STATS BAR ---------- */
.impact {
  background: var(--forest);
  color: var(--cream);
  padding: 36px 0;
  position: relative;
  overflow: hidden;
}
.impact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(244, 210, 122, 0.08) 0, transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(224, 121, 70, 0.08) 0, transparent 40%);
}
.impact__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-4);
  position: relative;
  z-index: 1;
}
.impact__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-left: 2px solid rgba(244, 210, 122, 0.45);
  padding-left: 20px;
}
.impact__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 600;
  color: var(--butter);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.impact__label {
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: rgba(252, 248, 240, 0.85);
}

/* ---------- 8. SECTION HEADERS ---------- */
.sec-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--gap-5);
  align-items: end;
  margin-bottom: var(--gap-5);
}
.sec-head h2 { max-width: 18ch; }
.sec-head__intro {
  font-family: var(--font-display);
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.6;
}
.sec-head--center {
  text-align: center;
  display: block;
  margin-bottom: var(--gap-5);
}
.sec-head--center .eyebrow { margin-bottom: 14px; }
.sec-head--center h2 { margin: 0 auto var(--gap-2); max-width: 22ch; }
.sec-head--center .sec-head__intro { max-width: 60ch; margin: 0 auto; }

/* ---------- 9. ADOPTABLE PETS GRID ---------- */
.pets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-3);
}
.pet-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hairline);
}
.pet-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}
.pet-card__img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--surface-2);
}
.pet-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.pet-card:hover .pet-card__img img { transform: scale(1.04); }
.pet-card__tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--cream);
  color: var(--forest);
  padding: 5px 11px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pet-card__tag--urgent {
  background: var(--rust);
  color: #fff;
}
.pet-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pet-card__name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.012em;
}
.pet-card__meta {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.pet-card__story {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: var(--gap-3);
  line-height: 1.55;
  flex: 1;
}
.pet-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--forest);
  font-weight: 600;
  font-size: 0.92rem;
  align-self: flex-start;
  padding: 8px 0;
  border-bottom: 1.5px solid var(--forest);
  transition: gap 0.18s ease;
}
.pet-card__cta:hover { gap: 12px; }
.pet-card__cta svg { width: 14px; height: 14px; }
.pets-more {
  text-align: center;
  margin-top: var(--gap-5);
}

/* ---------- 10. THREE PATHS ---------- */
.paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-3);
}
.path {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hairline);
}
.path__img {
  aspect-ratio: 5/3;
  overflow: hidden;
}
.path__img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.path__body {
  padding: 30px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.path__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--forest);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.path__icon svg { width: 22px; height: 22px; }
.path__title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.path__body p {
  color: var(--ink-soft);
  font-size: 1rem;
  flex: 1;
  margin-bottom: 18px;
}
.path__steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--gap-3);
}
.path__steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--muted);
}
.path__steps li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rust);
  margin-top: 9px;
  flex: none;
}
.path__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--forest);
  font-weight: 600;
  border-bottom: 1.5px solid var(--forest);
  padding: 4px 0;
  align-self: flex-start;
  transition: gap 0.18s ease;
}
.path__cta:hover { gap: 12px; }

/* ---------- 11. DONOR STORY ---------- */
.story {
  background: var(--surface-2);
  position: relative;
  overflow: hidden;
}
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-6);
  align-items: center;
}
.story__img {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-2);
}
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__img::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(transparent, rgba(19, 48, 25, 0.55));
}
.story__img-cap {
  position: absolute;
  bottom: 22px; left: 22px; right: 22px;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 0.95rem;
  z-index: 1;
}
.story__copy h2 { max-width: 14ch; margin-bottom: var(--gap-3); }
.story__quote {
  position: relative;
  padding: 28px 28px 28px 32px;
  background: var(--surface);
  border-radius: var(--r-lg);
  margin: var(--gap-3) 0;
  box-shadow: var(--shadow-1);
  border-left: 4px solid var(--rust);
}
.story__quote .hand {
  font-size: clamp(1.7rem, 2.4vw, 2rem);
  color: var(--ink);
  margin-bottom: 12px;
}
.story__quote-by {
  font-size: 0.86rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.story__quote-by b {
  color: var(--ink);
  font-weight: 600;
  font-family: var(--font-body);
}

/* ---------- 12. GIVING TIERS ---------- */
.giving {
  background: var(--cream);
}
.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-3);
  margin-top: var(--gap-5);
}
.tier {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 32px 24px 28px;
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tier:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--forest-soft);
}
.tier--featured {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
  position: relative;
  box-shadow: var(--shadow-forest);
}
.tier--featured::before {
  content: "Most loved";
  position: absolute;
  top: -12px; left: 24px;
  background: var(--rust);
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tier__price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
  margin-bottom: 6px;
}
.tier__price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  font-family: var(--font-body);
}
.tier--featured .tier__price span { color: rgba(252, 248, 240, 0.7); }
.tier__name {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: var(--gap-3);
}
.tier--featured .tier__name { color: var(--butter); }
.tier__desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: var(--gap-3);
  flex: 1;
}
.tier--featured .tier__desc { color: rgba(252, 248, 240, 0.88); }
.tier__btn {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--hairline-strong);
  font-weight: 600;
  font-size: 0.88rem;
  align-self: stretch;
  justify-content: center;
  transition: all 0.18s ease;
}
.tier__btn:hover {
  border-color: var(--forest);
  color: var(--forest);
}
.tier--featured .tier__btn {
  background: var(--rust);
  color: #fff;
  border-color: var(--rust);
}
.tier--featured .tier__btn:hover {
  background: var(--rust-deep);
  border-color: var(--rust-deep);
  color: #fff;
}
.giving__note {
  text-align: center;
  margin-top: var(--gap-4);
  font-size: 0.9rem;
  color: var(--muted);
}
.giving__note b { color: var(--forest); font-weight: 600; }

/* ---------- 13. GALLERY ---------- */
.gallery {
  background: var(--surface-2);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 230px 230px;
  gap: 14px;
  margin-top: var(--gap-5);
}
.gallery__item {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  position: relative;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ---------- 14. TESTIMONIAL WALL ---------- */
.wall__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-3);
}
.testimonial {
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hairline);
  position: relative;
}
.testimonial:nth-child(2) {
  background: var(--butter-soft);
  border-color: rgba(224, 121, 70, 0.18);
}
.testimonial:nth-child(3n) {
  background: var(--surface);
}
.testimonial .hand {
  font-size: 1.55rem;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: var(--gap-3);
  flex: 1;
}
.testimonial__by {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: var(--gap-3);
  border-top: 1px solid var(--hairline);
}
.testimonial__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 0.92rem;
  flex: none;
  font-family: var(--font-display);
}
.testimonial__who {
  display: flex;
  flex-direction: column;
}
.testimonial__who b {
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 600;
}
.testimonial__who span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- 15. BIG DONATE CTA ---------- */
.donate-cta {
  background: var(--forest);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  padding: var(--gap-7) 0;
}
.donate-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 80%, rgba(224, 121, 70, 0.18) 0, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(244, 210, 122, 0.12) 0, transparent 45%);
}
.donate-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--gap-6);
  align-items: center;
}
.donate-cta h2 {
  color: var(--cream);
  font-weight: 500;
  margin-bottom: var(--gap-3);
}
.donate-cta h2 em {
  color: var(--butter);
  font-style: italic;
}
.donate-cta p {
  font-family: var(--font-display);
  color: rgba(252, 248, 240, 0.85);
  font-size: 1.18rem;
  line-height: 1.55;
  max-width: 52ch;
  margin-bottom: var(--gap-4);
}
.donate-cta__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.donate-cta__panel {
  background: rgba(252, 248, 240, 0.06);
  border: 1px solid rgba(252, 248, 240, 0.14);
  border-radius: var(--r-lg);
  padding: 28px;
  backdrop-filter: blur(8px);
}
.donate-cta__panel h4 {
  color: var(--butter);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: var(--font-body);
}
.donate-cta__panel ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.donate-cta__panel li {
  font-size: 0.95rem;
  color: rgba(252, 248, 240, 0.92);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.donate-cta__panel li svg {
  width: 16px; height: 16px;
  color: var(--butter);
  flex: none;
  margin-top: 3px;
}

/* ---------- 16. FOOTER ---------- */
.footer {
  background: var(--forest-deep);
  color: var(--cream);
  padding: var(--gap-6) 0 var(--gap-3);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--gap-4);
  margin-bottom: var(--gap-5);
}
.footer .brand { color: var(--cream); margin-bottom: var(--gap-2); }
.footer__about {
  font-size: 0.95rem;
  color: rgba(252, 248, 240, 0.75);
  line-height: 1.6;
  margin-bottom: var(--gap-3);
  max-width: 36ch;
}
.footer__socials { display: flex; gap: 10px; }
.footer__socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(252, 248, 240, 0.2);
  display: grid; place-items: center;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.footer__socials a:hover {
  background: var(--rust);
  border-color: var(--rust);
}
.footer__socials svg { width: 16px; height: 16px; }
.footer__col h5 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--butter);
  margin: 0 0 18px;
  font-family: var(--font-body);
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 0.94rem;
  color: rgba(252, 248, 240, 0.78);
  transition: color 0.15s ease;
}
.footer__col a:hover { color: var(--butter); }
.footer__col p {
  font-size: 0.92rem;
  color: rgba(252, 248, 240, 0.78);
  line-height: 1.6;
}
.footer__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-3);
  padding: var(--gap-3) 0;
  border-top: 1px solid rgba(252, 248, 240, 0.12);
  border-bottom: 1px solid rgba(252, 248, 240, 0.12);
  margin-bottom: var(--gap-3);
}
.footer__trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__trust-item svg {
  width: 32px; height: 32px;
  color: var(--butter);
  flex: none;
}
.footer__trust-item b {
  display: block;
  font-size: 0.92rem;
  color: var(--cream);
  font-weight: 600;
  margin-bottom: 2px;
}
.footer__trust-item span {
  font-size: 0.82rem;
  color: rgba(252, 248, 240, 0.65);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--gap-2);
  font-size: 0.84rem;
  color: rgba(252, 248, 240, 0.55);
  flex-wrap: wrap;
}
.footer__bottom a { color: rgba(252, 248, 240, 0.7); }
.footer__bottom a:hover { color: var(--butter); }

/* ---------- 17. PAGE HEADER (about, services) ---------- */
.pageheader {
  position: relative;
  padding: 200px 0 var(--gap-6);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.pageheader__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.pageheader__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.pageheader__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 48, 25, 0.55) 0%, rgba(19, 48, 25, 0.7) 60%, rgba(19, 48, 25, 0.9) 100%);
}
.pageheader__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--gap-5);
  align-items: end;
}
.pageheader h1 {
  color: var(--cream);
  font-weight: 500;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  margin-bottom: var(--gap-2);
}
.pageheader h1 em { font-style: italic; color: var(--butter); }
.pageheader p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.55;
  color: rgba(252, 248, 240, 0.85);
  max-width: 60ch;
  margin: 0;
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(252, 248, 240, 0.7);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.crumbs span { color: var(--butter); }

/* ---------- 18. ABOUT — STORY BLOCKS ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-6);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-2);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__copy h2 { margin-bottom: var(--gap-3); }
.split__copy p { color: var(--ink-soft); font-size: 1.04rem; line-height: 1.7; }
.split__pull {
  background: var(--surface-2);
  border-left: 3px solid var(--rust);
  padding: 18px 22px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: var(--gap-3) 0;
}
.split__pull .hand {
  font-size: 1.7rem;
  color: var(--forest);
}

/* ---------- 19. TIMELINE ---------- */
.timeline {
  position: relative;
  padding-left: 38px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 8px; bottom: 8px; left: 11px;
  width: 2px;
  background: linear-gradient(var(--rust) 0, var(--butter) 50%, var(--forest) 100%);
}
.timeline__item {
  position: relative;
  padding-bottom: var(--gap-4);
}
.timeline__item::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -32px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--rust);
  box-shadow: 0 0 0 4px rgba(224, 121, 70, 0.18);
}
.timeline__year {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--rust);
  margin-bottom: 4px;
}
.timeline__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.timeline__text {
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 56ch;
}

/* ---------- 20. TEAM ---------- */
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-3);
}
.member {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.member__img {
  aspect-ratio: 4/5;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--forest);
  font-weight: 600;
  position: relative;
}
.member__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31, 77, 44, 0.06), rgba(224, 121, 70, 0.08));
}
.member__body {
  padding: 20px 22px 22px;
}
.member__name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.member__role {
  font-size: 0.85rem;
  color: var(--rust);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.member__bio {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- 21. VALUES ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-3);
}
.value {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.value__icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--forest);
  display: grid; place-items: center;
}
.value__icon svg { width: 24px; height: 24px; }
.value h4 { font-size: 1.3rem; }
.value p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }

/* ---------- 22. SERVICES — PROGRAMS GRID ---------- */
.programs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-3);
}
.program {
  background: var(--surface);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
}
.program__head {
  display: flex;
  gap: var(--gap-3);
  padding: 30px 30px 0;
  align-items: flex-start;
}
.program__icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  background: var(--forest);
  color: var(--butter);
  display: grid; place-items: center;
  flex: none;
}
.program__icon svg { width: 26px; height: 26px; }
.program__title { font-size: 1.55rem; margin-bottom: 4px; }
.program__sub { font-size: 0.85rem; color: var(--rust); font-weight: 600; letter-spacing: 0.05em; }
.program__body {
  padding: var(--gap-3) 30px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.program__body p {
  color: var(--ink-soft);
  font-size: 1rem;
  margin-bottom: var(--gap-3);
}
.program__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--gap-3) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: var(--gap-3);
}
.program__list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  align-items: flex-start;
}
.program__list svg { width: 18px; height: 18px; color: var(--forest); margin-top: 3px; }
.program__cta {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  color: var(--forest);
  font-weight: 600;
  border-bottom: 1.5px solid var(--forest);
  padding: 4px 0;
  transition: gap 0.18s ease;
}
.program__cta:hover { gap: 12px; }

/* ---------- 23. PROCESS ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-3);
  counter-reset: step;
}
.step {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 32px 26px 28px;
  border: 1px solid var(--hairline);
  position: relative;
  counter-increment: step;
}
.step__num {
  position: absolute;
  top: -18px;
  left: 26px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--rust);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  box-shadow: var(--shadow-1);
}
.step h4 {
  font-size: 1.18rem;
  margin: 12px 0 8px;
}
.step p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* ---------- 24. FAQ ---------- */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 800px;
  margin: 0 auto;
}
.faq__item {
  background: var(--surface);
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  overflow: hidden;
}
.faq__q {
  padding: 22px 26px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  cursor: pointer;
}
.faq__q::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--rust);
  font-weight: 400;
  line-height: 1;
}
.faq__a {
  padding: 0 26px 22px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 68ch;
}

/* ---------- 25. RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; align-items: start; gap: var(--gap-5); }
  .hero__sidecard { margin: 0; max-width: 480px; }
  .impact__grid { grid-template-columns: repeat(2, 1fr); gap: var(--gap-4) var(--gap-3); }
  .pets { grid-template-columns: repeat(2, 1fr); }
  .paths { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 220px); }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: auto; }
  .wall__grid { grid-template-columns: 1fr 1fr; }
  .story__grid { grid-template-columns: 1fr; gap: var(--gap-5); }
  .split { grid-template-columns: 1fr; gap: var(--gap-4); }
  .split--reverse .split__media { order: 0; }
  .split__media { max-width: 540px; aspect-ratio: 5/4; }
  .donate-cta__inner { grid-template-columns: 1fr; gap: var(--gap-4); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__trust { grid-template-columns: 1fr; gap: 14px; }
  .pageheader__inner { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
  .programs { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .sec-head { grid-template-columns: 1fr; gap: var(--gap-3); }
}
@media (max-width: 720px) {
  :root { --gap-6: 3.5rem; --gap-7: 4.5rem; }
  .nav__menu { display: none; }
  .nav__menu.is-open {
    display: flex;
    position: absolute;
    top: 72px; left: 16px; right: 16px;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    padding: 18px;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-3);
    gap: 14px;
  }
  .nav__menu.is-open a { color: var(--ink) !important; padding: 10px 0; border-bottom: 1px solid var(--hairline); }
  .nav__menu.is-open a:last-child { border: 0; }
  .nav__menu.is-open .btn--donate { color: #fff !important; justify-content: center; }
  .nav-toggle {
    display: grid; place-items: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(252, 248, 240, 0.16);
    color: var(--cream);
    border: 1px solid rgba(252, 248, 240, 0.22);
  }
  .nav.is-scrolled .nav-toggle {
    background: var(--surface-2);
    color: var(--ink);
    border-color: var(--hairline-strong);
  }
  .hero { padding: 120px 0 60px; min-height: auto; }
  .impact__grid { grid-template-columns: 1fr 1fr; }
  .pets { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; grid-template-rows: repeat(5, 220px); }
  .gallery__item--wide { grid-column: auto; }
  .wall__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .brand__name span { display: none; }
}
