/* ============================================================================
   HOMEWARD BOUND — Addison County's Humane Society
   "Warm Storybook" design system · homewardboundanimals.org rebuild · 2026
   ----------------------------------------------------------------------------
   One shared stylesheet, no build step. Plain HTML/CSS/JS for Cloudflare Pages.
   Header + footer are duplicated across pages — keep them in sync.
   Contents:
     01 Fonts                 08 Header / nav          15 Accordion
     02 Design tokens         09 Hero / page hero      16 Animals gallery
     03 Reset & base          10 Arched photo cards    17 Forms
     04 Paper grain           11 Stats & counters      18 Bands (cta/news)
     05 Typography            12 Bento / quick links   19 Footer
     06 Layout & utilities    13 Cards & features      20 Back-to-top
     07 Buttons & links       14 Gallery & lightbox    21 Motion / print
   ============================================================================ */


/* ====================== 01 FONTS ========================================== */
/* Loaded via <link> to Google Fonts in each page <head> (Fraunces, Nunito
   Sans, Caveat). Fallback stacks are defined in the tokens below. */


/* ====================== 02 DESIGN TOKENS ================================== */
:root {
  /* --- palette: "Vermont hearth" (AA-checked text roles) --- */
  --paper:           #FBF7EF;  /* page background — warm cream */
  --paper-deep:      #F2EAD9;  /* alternate section background */
  --paper-card:      #FFFFFF;  /* card surfaces */
  --ink:             #2A2018;  /* headings — warm near-black */
  --ink-body:        #463E34;  /* body text */
  --ink-soft:        #6E6457;  /* muted text */

  --green:           #2E6B4E;  /* primary brand — forest green */
  --green-deep:      #1E4D37;  /* hover / emphasis */
  --green-night:     #14301F;  /* footer / dark sections */
  --green-tint:      #E3F0E7;  /* green chip wash */

  --clay:            #C0613A;  /* warm terracotta accent (decorative) */
  --clay-deep:       #9B4A28;  /* text-safe terracotta */
  --clay-tint:       #F7E6DC;  /* warm chip wash */

  --gold:            #9A7015;  /* text-safe gold (brand) */
  --gold-bright:     #E0A82B;  /* gradients / accents ONLY (not body text) */
  --gold-soft:       #F6E7BC;  /* gold wash */
  --gold-grad:       linear-gradient(135deg, #E0A82B 0%, #C68512 100%);

  --sky:             #2F6E8A;  /* cool accent (lost & found / info) */
  --sky-tint:        #E2EEF2;

  /* --- typography --- */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Nunito Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-hand:    'Caveat', 'Segoe Print', cursive;
  --fs-900: clamp(2.7rem, 6vw, 4.6rem);
  --fs-800: clamp(2.05rem, 4.2vw, 3.1rem);
  --fs-700: clamp(1.55rem, 2.7vw, 2.1rem);
  --fs-600: 1.3rem;
  --fs-body: 1.05rem;
  --fs-small: .9rem;
  --fs-kicker: .76rem;
  --measure: 66ch;

  /* --- shape & depth --- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --arch: 999px 999px 22px 22px;        /* tombstone / arched window */
  --shadow-sm: 0 1px 3px rgba(42,32,24,.08);
  --shadow-md: 0 8px 22px rgba(42,32,24,.10);
  --shadow-lg: 0 22px 50px rgba(42,32,24,.16);

  /* --- misc --- */
  --header-h: 80px;
  --ease: cubic-bezier(.33, 1, .68, 1);
  --maxw: 1160px;
}


/* ====================== 03 RESET & BASE =================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink-body);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { vertical-align: middle; }
img { max-width: 100%; height: auto; }
a { color: var(--green-deep); }
p, ul, ol, figure, blockquote { margin: 0 0 1.1rem; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: .35rem; }
button { font-family: inherit; cursor: pointer; }
hr { border: 0; border-top: 2px dotted #d9cdb6; margin: 2.4rem 0; }
::selection { background: var(--gold-soft); color: var(--ink); }

/* Skip link + focus */
.skip-link {
  position: absolute; left: 1rem; top: -120%;
  background: var(--green); color: #fff; z-index: 2000;
  padding: .7rem 1.2rem; border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 800; transition: top .2s;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 2px; border-radius: 4px; }


/* ====================== 04 PAPER GRAIN ==================================== */
/* One fixed SVG-noise layer at low opacity so the whole site reads as paper. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}


/* ====================== 05 TYPOGRAPHY ===================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  font-weight: 600;
  margin: 0 0 .5em;
  font-optical-sizing: auto;
  letter-spacing: -.01em;
}
h1 { font-size: var(--fs-900); font-weight: 600; }
h2 { font-size: var(--fs-800); }
h3 { font-size: var(--fs-700); }
h4 { font-size: var(--fs-600); }

.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body);
  font-size: var(--fs-kicker); font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--clay-deep);
  margin-bottom: .9rem;
}
.kicker::before {
  content: ""; width: 26px; height: 2px; background: var(--clay); border-radius: 2px;
}
.kicker.on-dark { color: var(--gold-bright); }
.kicker.on-dark::before { background: var(--gold-bright); }
.kicker.center { justify-content: center; }

.lead { font-size: 1.18rem; color: var(--ink-soft); line-height: 1.65; max-width: var(--measure); }
.hand { font-family: var(--font-hand); color: var(--clay-deep); font-weight: 600; }
.muted { color: var(--ink-soft); }
.measure { max-width: var(--measure); }


/* ====================== 06 LAYOUT & UTILITIES ============================= */
.wrap { width: min(100% - 3rem, var(--maxw)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 3rem, 800px); margin-inline: auto; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section.tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section.deep   { background: var(--paper-deep); }
.section.green  { background: var(--green); color: #fff; }
.section.night  { background: var(--green-night); color: #fff; }
.section.green h2, .section.night h2,
.section.green h3, .section.night h3 { color: #fff; }

.center { text-align: center; }
.section-head { max-width: 760px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.section-head.center { text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 0; }
.section.green .section-head p, .section.night .section-head p { color: rgba(255,255,255,.82); }

.grid { display: grid; gap: 1.5rem; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.split.media-right { grid-template-columns: .95fr 1.05fr; }
@media (max-width: 900px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .split, .split.media-right { grid-template-columns: 1fr; gap: 2rem; }
  .cols-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cols-3, .cols-4 { grid-template-columns: 1fr; }
}

.stack > * + * { margin-top: 1rem; }
.flex { display: flex; gap: 1rem; flex-wrap: wrap; }
.flex.center { justify-content: center; }
.flex.between { justify-content: space-between; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; font-weight: 700; padding: .25rem .75rem; border-radius: 999px;
  background: var(--green-tint); color: var(--green-deep);
}
.pill.clay { background: var(--clay-tint); color: var(--clay-deep); }
.pill.gold { background: var(--gold-soft); color: var(--gold); }
.pill.sky  { background: var(--sky-tint); color: var(--sky); }


/* ====================== 07 BUTTONS & LINKS =============================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border: 2px solid transparent; border-radius: 999px;
  font-family: var(--font-body); font-weight: 800; font-size: .98rem;
  text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), box-shadow .2s, background .2s, color .2s;
  line-height: 1.1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-deep); box-shadow: var(--shadow-md); }
.btn-donate { background: var(--gold-grad); color: #3a2a06; box-shadow: 0 6px 18px rgba(224,168,43,.42); }
.btn-donate:hover { box-shadow: 0 10px 26px rgba(224,168,43,.55); }
.btn-clay { background: var(--clay); color: #fff; }
.btn-clay:hover { background: var(--clay-deep); }
.btn-outline { background: transparent; border-color: var(--green); color: var(--green-deep); }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.btn-sm { padding: .55rem 1.1rem; font-size: .86rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.08rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .35rem;
  font-weight: 800; color: var(--green-deep); text-decoration: none;
}
.link-arrow::after { content: "→"; transition: transform .15s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow.gold { color: var(--gold); }


/* ====================== 08 HEADER / NAV =================================== */
.announce {
  background: var(--green-night); color: #fdf6e6;
  text-align: center; font-size: .86rem; font-weight: 600;
  padding: .55rem 1rem;
}
.announce a { color: var(--gold-bright); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(251,247,239,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #ece2cf;
  transition: box-shadow .2s, background .2s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); background: rgba(251,247,239,.97); }
.header-inner {
  width: min(100% - 2rem, 1280px); margin-inline: auto;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 0; }
.brand svg { height: 46px; width: auto; display: block; }
.brand-text strong {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: 1.18rem; color: var(--green-deep); line-height: 1.05; letter-spacing: -.01em;
}
.brand-text span {
  display: block; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 700; margin-top: 2px;
}
@media (max-width: 420px) { .brand-text strong { font-size: 1rem; } }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a.navlink {
  padding: .5rem .8rem; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: .92rem; color: var(--ink-body); white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav a.navlink:hover, .nav a.navlink.active { background: var(--green-tint); color: var(--green-deep); }
.nav .btn { margin-left: .5rem; }

.nav-cta-donate { animation: ctaPulse 2.8s ease-in-out infinite; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(224,168,43,.42); }
  50% { box-shadow: 0 6px 22px rgba(224,168,43,.7); }
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 10px; border-radius: 10px;
}
.nav-toggle span { width: 26px; height: 2.5px; background: var(--green-deep); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-backdrop { display: none; }

@media (max-width: 1000px) {
  .nav-toggle { display: flex; }
  /* Remove backdrop-filter on mobile: it would make the header the containing
     block for the fixed drawer (trapping it to the header box). Solid bg instead. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); z-index: 1001;
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: var(--paper); padding: calc(var(--header-h) + 1rem) 1.5rem 2rem;
    transform: translateX(100%); transition: transform .3s var(--ease);
    box-shadow: var(--shadow-lg); overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  .nav a.navlink { padding: .85rem 1rem; font-size: 1.05rem; }
  .nav .btn { margin: .5rem 0 0; }
  .nav-backdrop.show {
    display: block; position: fixed; inset: 0; z-index: 999;
    background: rgba(20,48,31,.45); backdrop-filter: blur(2px);
  }
  .site-header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .site-header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}


/* ====================== 09 HERO / PAGE HERO ============================== */
.hero { position: relative; overflow: hidden; background: var(--green-night); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(20,48,31,.92) 0%, rgba(20,48,31,.72) 42%, rgba(20,48,31,.3) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  width: min(100% - 3rem, var(--maxw)); margin-inline: auto;
  padding: clamp(4rem, 9vw, 7rem) 0; color: #fff;
  max-width: 1160px;
}
.hero-card { max-width: 660px; }
.hero h1 { color: #fff; font-size: var(--fs-900); margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: var(--gold-bright); }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,.9); max-width: 540px; margin-bottom: 1.8rem; }
.hero .flex { gap: .8rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(224,168,43,.18); border: 1px solid rgba(224,168,43,.45);
  color: var(--gold-bright); padding: .35rem .9rem; border-radius: 999px;
  font-size: .8rem; font-weight: 800; letter-spacing: .04em; margin-bottom: 1.3rem;
}
.hero-credit {
  position: absolute; bottom: .5rem; right: .8rem; z-index: 2;
  font-size: .62rem; color: rgba(255,255,255,.4);
}

/* compact page hero for inner pages */
.page-hero { position: relative; overflow: hidden; background: var(--green-night); color: #fff; }
.page-hero .hero-media::after { background: linear-gradient(110deg, rgba(20,48,31,.9) 0%, rgba(20,48,31,.66) 100%); }
.page-hero-inner {
  position: relative; z-index: 1;
  width: min(100% - 3rem, var(--maxw)); margin-inline: auto;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.page-hero h1 { color: #fff; margin-bottom: .5rem; }
.page-hero p { color: rgba(255,255,255,.86); font-size: 1.12rem; max-width: 640px; margin-bottom: 0; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.7); margin-bottom: .8rem; }
.breadcrumb a { color: var(--gold-bright); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* anchor sub-nav (sticky chips inside a page) */
.subnav {
  position: sticky; top: var(--header-h); z-index: 800;
  background: rgba(242,234,217,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid #e6dcc6;
}
.subnav-inner {
  width: min(100% - 2rem, var(--maxw)); margin-inline: auto;
  display: flex; gap: .4rem; overflow-x: auto; padding: .65rem 0; scrollbar-width: thin;
}
.subnav a {
  flex-shrink: 0; padding: .4rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 700;
  color: var(--ink-body); text-decoration: none; white-space: nowrap; transition: background .15s, color .15s;
}
.subnav a:hover, .subnav a.active { background: var(--green); color: #fff; }


/* ====================== 10 ARCHED PHOTO CARDS / FRAMES =================== */
.arch-photo { position: relative; border-radius: var(--arch); overflow: hidden; box-shadow: var(--shadow-lg); }
.arch-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.arch-photo .caption {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(20,48,31,.82); color: #fff; backdrop-filter: blur(4px);
  font-size: .82rem; font-weight: 600; padding: .4rem .85rem; border-radius: 999px;
}
.framed { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.framed img { width: 100%; display: block; }

/* polaroid (hand-captioned snapshot) */
.polaroid {
  background: #fff; padding: .7rem .7rem 1.1rem; border-radius: 6px;
  box-shadow: var(--shadow-md); transform: rotate(-1.5deg); transition: transform .2s var(--ease);
}
.polaroid:nth-child(even) { transform: rotate(1.5deg); }
.polaroid:hover { transform: rotate(0) scale(1.02); }
.polaroid img { width: 100%; border-radius: 3px; aspect-ratio: 1/1; object-fit: cover; }
.polaroid .cap { font-family: var(--font-hand); font-size: 1.25rem; text-align: center; color: var(--ink); margin-top: .3rem; }


/* ====================== 11 STATS & COUNTERS ============================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 1rem .5rem; }
.stat .num {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--gold-bright); line-height: 1; display: block;
}
.section:not(.green):not(.night) .stat .num { color: var(--clay-deep); }
.stat .label { font-size: .86rem; font-weight: 700; letter-spacing: .03em; margin-top: .4rem; color: inherit; opacity: .85; }


/* ====================== 12 BENTO / QUICK LINKS =========================== */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .bento { grid-template-columns: 1fr; } }
.bento-card {
  display: flex; flex-direction: column; gap: .5rem;
  background: var(--paper-card); border: 1px solid #ece2cf; border-radius: var(--r-md);
  padding: 1.5rem; text-decoration: none; color: var(--ink-body);
  transition: transform .18s var(--ease), box-shadow .2s, border-color .2s;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green); }
.bento-card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-tint); color: var(--green-deep); font-size: 1.5rem;
}
.bento-card.feature { background: linear-gradient(150deg, #fff 0%, var(--gold-soft) 130%); border: 2px solid var(--gold-bright); position: relative; }
.bento-card.feature .ico { background: var(--gold-grad); color: #3a2a06; }
.bento-card.clay .ico { background: var(--clay-tint); color: var(--clay-deep); }
.bento-card.sky .ico { background: var(--sky-tint); color: var(--sky); }
.bento-card h3 { font-size: 1.12rem; margin: 0; color: var(--green-deep); }
.bento-card p { font-size: .9rem; color: var(--ink-soft); margin: 0; }
.bento-card .tag {
  position: absolute; top: -10px; right: 14px; background: var(--gold-grad); color: #3a2a06;
  font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  padding: .2rem .6rem; border-radius: 999px;
}


/* ====================== 13 CARDS & FEATURES ============================== */
.card {
  background: var(--paper-card); border: 1px solid #ece2cf; border-radius: var(--r-md);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
}
.card.pad-lg { padding: 2rem; }
.card h3 { color: var(--green-deep); }
.card-icon-row { display: flex; align-items: center; gap: .8rem; margin-bottom: .8rem; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-tint); color: var(--green-deep); font-size: 1.35rem; flex-shrink: 0;
}
.card-icon.clay { background: var(--clay-tint); color: var(--clay-deep); }
.card-icon.gold { background: var(--gold-soft); color: var(--gold); }
.card-icon.sky  { background: var(--sky-tint); color: var(--sky); }

/* program / feature card with top accent */
.feature-card {
  background: var(--paper-card); border-radius: var(--r-md); overflow: hidden;
  border: 1px solid #ece2cf; box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), box-shadow .2s; display: flex; flex-direction: column;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card .fc-top { height: 6px; background: var(--green); }
.feature-card.clay .fc-top { background: var(--clay); }
.feature-card.gold .fc-top { background: var(--gold-bright); }
.feature-card.sky .fc-top  { background: var(--sky); }
.feature-card .fc-body { padding: 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.feature-card h3 { margin: 0; font-size: 1.3rem; color: var(--green-deep); }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.feature-card .fc-foot { margin-top: auto; padding-top: .4rem; }

/* highlight / mission box */
.callout {
  background: var(--green-tint); border-left: 5px solid var(--green);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 1.2rem 1.5rem; margin: 1.5rem 0;
}
.callout.clay { background: var(--clay-tint); border-color: var(--clay); }
.callout.gold { background: var(--gold-soft); border-color: var(--gold-bright); }
.callout.sky  { background: var(--sky-tint); border-color: var(--sky); }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--ink); }

/* mission pull-quote */
.pullquote {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 500;
  line-height: 1.35; color: var(--ink); font-style: italic;
}
.pullquote.on-dark { color: #fff; }

/* table (fees etc.) */
.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid #ece2cf; }
table.data { width: 100%; border-collapse: collapse; background: #fff; min-width: 420px; }
table.data caption { text-align: left; font-weight: 800; padding: .8rem 1rem; color: var(--green-deep); background: var(--green-tint); }
table.data th, table.data td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid #f0e8d8; }
table.data th { font-weight: 800; color: var(--ink); background: var(--paper-deep); }
table.data tr:last-child td { border-bottom: 0; }
table.data td.price { font-weight: 800; color: var(--clay-deep); white-space: nowrap; }

/* numbered steps */
.steps { display: grid; gap: 1.1rem; counter-reset: step; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step .n {
  counter-increment: step; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%; background: var(--gold-grad); color: #3a2a06;
  font-family: var(--font-display); font-weight: 600; font-size: 1.3rem;
  display: grid; place-items: center;
}
.step .n::before { content: counter(step); }
.step h3 { font-size: 1.2rem; margin: .15rem 0 .3rem; }
.step p { margin: 0; color: var(--ink-soft); }

/* people / roster */
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.person {
  background: #fff; border: 1px solid #ece2cf; border-radius: var(--r-md); padding: 1.1rem; text-align: center;
}
.person .avatar {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto .6rem;
  background: var(--green-tint); color: var(--green-deep);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.4rem;
}
.person strong { display: block; color: var(--ink); }
.person span { font-size: .82rem; color: var(--ink-soft); }


/* ====================== 14 GALLERY & LIGHTBOX ============================ */
.masonry { columns: 3 240px; column-gap: 1rem; }
.masonry figure { break-inside: avoid; margin: 0 0 1rem; cursor: zoom-in; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.masonry img { width: 100%; display: block; transition: transform .3s var(--ease); }
.masonry figure:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed; inset: 0; z-index: 3000; display: none;
  background: rgba(20,16,10,.92); place-items: center; padding: 2rem;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: var(--r-sm); box-shadow: var(--shadow-lg); }
.lightbox .lb-cap { color: #fff; text-align: center; margin-top: 1rem; font-size: .95rem; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.14); border: none; color: #fff;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; display: grid; place-items: center;
}
.lightbox button:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 1.5rem; right: 1.5rem; }
.lb-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }


/* ====================== 16 ANIMALS GALLERY (ShelterLuv feed) ============= */
.animals-toolbar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1.6rem; }
.filter-chip {
  padding: .5rem 1.1rem; border-radius: 999px; border: 2px solid #e2d7c0; background: #fff;
  font-weight: 700; font-size: .9rem; color: var(--ink-body); cursor: pointer; transition: all .15s;
}
.filter-chip:hover { border-color: var(--green); }
.filter-chip.active { background: var(--green); border-color: var(--green); color: #fff; }
.animals-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.3rem; }
.pet-card {
  background: #fff; border: 1px solid #ece2cf; border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .2s; text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.pet-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pet-photo { aspect-ratio: 4/3; background: var(--green-tint); position: relative; overflow: hidden; }
.pet-photo img { width: 100%; height: 100%; object-fit: cover; }
.pet-photo .species-tag {
  position: absolute; top: .6rem; left: .6rem; background: rgba(20,48,31,.82); color: #fff;
  font-size: .72rem; font-weight: 800; padding: .2rem .6rem; border-radius: 999px; backdrop-filter: blur(3px);
}
.pet-body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .15rem; }
.pet-body .name { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--green-deep); }
.pet-body .meta { font-size: .85rem; color: var(--ink-soft); }
.pet-skeleton { background: #fff; border: 1px solid #ece2cf; border-radius: var(--r-md); overflow: hidden; }
.pet-skeleton .ph { aspect-ratio: 4/3; background: linear-gradient(100deg, #f0e8d8 30%, #f7f1e4 50%, #f0e8d8 70%); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
.pet-skeleton .ph-line { height: 12px; margin: .8rem 1rem; border-radius: 6px; background: #f0e8d8; }
@keyframes shimmer { to { background-position: -200% 0; } }
.feed-status { text-align: center; padding: 2.5rem 1rem; }
.feed-status .card { max-width: 560px; margin: 0 auto; }


/* ====================== 17 FORMS ========================================= */
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; color: var(--ink); font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .9rem; border: 2px solid #e2d7c0; border-radius: var(--r-sm);
  font: inherit; background: #fff; color: var(--ink-body); transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); }
.field textarea { min-height: 130px; resize: vertical; }
.form-status { font-size: .9rem; color: var(--green-deep); font-weight: 700; min-height: 1.2em; }
.inline-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.inline-form input { flex: 1; min-width: 220px; }


/* ====================== 18 BANDS (cta / newsletter) ====================== */
.band-cta {
  background: var(--green-night); color: #fff; border-radius: var(--r-lg);
  padding: clamp(2rem, 5vw, 3.5rem); text-align: center; position: relative; overflow: hidden;
}
.band-cta::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 24 24' fill='none' stroke='%23E0A82B' stroke-width='.6'%3E%3Cpath d='M12 21s-7-4.5-9.5-9C1 9 2.5 5.5 6 5.5c2 0 3 1.2 4 2.5 1-1.3 2-2.5 4-2.5 3.5 0 5 3.5 3.5 6.5C19 16.5 12 21 12 21z'/%3E%3C/svg%3E");
  background-size: 90px;
}
.band-cta > * { position: relative; }
.band-cta h2 { color: #fff; }
.band-cta p { color: rgba(255,255,255,.85); max-width: 600px; margin: 0 auto 1.6rem; }

.newsletter { background: var(--gold-soft); border-radius: var(--r-lg); padding: clamp(1.8rem, 4vw, 2.8rem); }
.newsletter h3 { color: var(--gold); margin-bottom: .3rem; }


/* ====================== 19 FOOTER ======================================== */
.site-footer { background: var(--green-night); color: rgba(255,255,255,.75); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text span { color: rgba(255,255,255,.55); }
.footer-brand p { font-size: .9rem; margin: 1rem 0; max-width: 30ch; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; font-size: .92rem; transition: color .15s; }
.site-footer a:hover { color: var(--gold-bright); }
.footer-contact address { font-style: normal; font-size: .92rem; line-height: 1.7; }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; }
.socials a:hover { background: var(--gold-grad); color: #3a2a06; }
.socials svg { width: 20px; height: 20px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.6); }


/* ====================== 20 BACK TO TOP =================================== */
.to-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%; border: none; background: var(--green);
  color: #fff; font-size: 1.3rem; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s, background .2s;
}
.to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: var(--green-deep); }


/* ====================== 21 MOTION / PRINT =============================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .subnav, .to-top, .nav-toggle, .announce, .hero-media, .band-cta::before, .lightbox { display: none !important; }
  body { background: #fff; color: #000; }
  body::before { display: none; }
  .hero, .page-hero { background: #fff; color: #000; }
  .hero h1, .page-hero h1 { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .75em; color: #555; word-break: break-all; }
}
