/* =====================================================================
   PetResQ911 — styles (bright, pet-friendly theme)
   Palette: warm white, sunny yellow, mint, sky and peach tints,
   fresh teal for actions, coral accents. Type: Plus Jakarta Sans + Inter.
   Signature: a paw-print "ResQ Signal" that marks sections and walks
   the 1983 → Today timeline.
   ===================================================================== */

/* Self-hosted variable fonts (SIL Open Font License) — no third-party requests */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/fonts/plus-jakarta-sans.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/inter.woff2") format("woff2"); }

:root {
  /* Palette */
  --white: #FFFFFF;
  --cream: #FFFCF7;
  --sun-50: #FFF6DC;
  --sun: #FFC845;
  --sun-600: #F2B21E;
  --mint-50: #E8F7F1;
  --mint-100: #D3F0E5;
  --mint: #7ED3B2;
  --sky-50: #EAF5FC;
  --sky: #9CD3F2;
  --peach-50: #FFEFE7;
  --peach: #FFC6AE;
  --coral: #FF8A65;
  --coral-ink: #B4441D;
  --teal: #0B7A6F;
  --teal-dark: #08635A;
  --teal-ink: #07574F;
  --teal-deep: #0E4A45;
  --ink: #1D2A33;
  --ink-2: #33424D;
  --muted: #52606B;

  /* Semantic tokens */
  --color-background: var(--cream);
  --color-surface: var(--white);
  --color-text: var(--ink);
  --color-muted: var(--muted);
  --color-primary: var(--teal);
  --color-accent: var(--coral);
  --color-border: rgba(29, 42, 51, .11);
  --color-border-dark: rgba(255, 255, 255, .16);

  /* Type */
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-eyebrow: .8rem;
  --fs-body: clamp(1rem, .96rem + .2vw, 1.0625rem);
  --fs-lead: clamp(1.08rem, 1rem + .45vw, 1.28rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .6vw, 1.55rem);
  --fs-section: clamp(2rem, 1.35rem + 2.8vw, 3.6rem);
  --fs-display: clamp(2.5rem, 1.5rem + 4.4vw, 5.2rem);

  /* Space & shape */
  --gutter: clamp(1rem, .6rem + 2vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 6.5vw, 8.5rem);
  --maxw: 1280px;
  --radius: 14px;
  --radius-lg: 28px;
  --header-h: 72px;
  --shadow-soft: 0 24px 60px -34px rgba(29, 42, 51, .35);
  --shadow-card: 0 12px 34px -20px rgba(29, 42, 51, .35);

  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-soft: cubic-bezier(.4, .1, .2, 1);

  --paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16.3' rx='5.3' ry='4.6'/%3E%3Cellipse cx='5.2' cy='10.4' rx='2.25' ry='2.85'/%3E%3Cellipse cx='9.4' cy='6.1' rx='2.25' ry='2.95'/%3E%3Cellipse cx='14.6' cy='6.1' rx='2.25' ry='2.95'/%3E%3Cellipse cx='18.8' cy='10.4' rx='2.25' ry='2.85'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.site-footer :focus-visible, .lightbox :focus-visible, .promise :focus-visible { outline-color: var(--sun); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -100px; z-index: 1000;
  background: var(--ink); color: var(--white); padding: .8rem 1.1rem; border-radius: 10px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 1rem; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }

/* ---------- Type roles ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-display); font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal-ink); margin-bottom: 1.1rem;
  padding: .4rem .85rem .4rem .65rem; background: var(--mint-50); border-radius: 999px;
}
.eyebrow--light { color: var(--teal-deep); background: var(--sun); }
.section-title {
  font-family: var(--font-display); font-size: var(--fs-section); font-weight: 800; line-height: 1.08;
  letter-spacing: -.03em; margin-bottom: 1.3rem; text-wrap: balance;
}
.section-title--light { color: var(--white); }
.prose p { max-width: 36em; }
h1 em, h2 em, .footer-statement em { font-style: normal; color: var(--teal); }

/* The paw — the smallest unit of the ResQ Signal */
.pulse-dot {
  position: relative; width: 16px; height: 16px; flex: none; background: var(--coral);
  -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat;
  transform: rotate(-12deg); animation: pawTap 3.2s var(--ease-soft) infinite;
}
@keyframes pawTap { 0%, 70%, 100% { transform: rotate(-12deg) scale(1); } 80% { transform: rotate(-4deg) scale(1.18); } }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--white);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: .85rem 1.55rem; border: 2px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-display); font-size: .98rem; font-weight: 700; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.3), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-signal { --btn-bg: var(--teal); --btn-fg: #fff; box-shadow: 0 12px 28px -14px rgba(11, 122, 111, .75); }
.btn-signal:hover { --btn-bg: var(--teal-dark); }
.btn-light { --btn-bg: var(--sun); --btn-fg: var(--ink); box-shadow: 0 12px 28px -16px rgba(242, 178, 30, .9); }
.btn-light:hover { --btn-bg: var(--sun-600); }
.btn-outline { --btn-bg: var(--white); --btn-fg: var(--ink); border-color: rgba(29,42,51,.2); }
.btn-outline:hover { --btn-bg: var(--mint-50); border-color: var(--teal); --btn-fg: var(--teal-ink); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { --btn-bg: var(--white); --btn-fg: var(--ink); border-color: var(--white); }
.btn-sm { min-height: 44px; padding: .55rem 1.15rem; font-size: .9rem; }
.btn-lg { min-height: 58px; padding: 1rem 2.2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: .45em; min-height: 44px;
  font-family: var(--font-display); font-weight: 700; font-size: .98rem; color: var(--teal-ink);
  text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer;
}
.text-link span { transition: transform .35s var(--ease); }
.text-link:hover span { transform: translateX(5px); }
.text-link:hover { text-decoration: underline; }
.text-link--light { color: var(--white); }
.inline-link {
  background: none; border: 0; padding: 0; cursor: pointer; color: inherit;
  text-decoration: underline; text-underline-offset: .2em; font: inherit;
}

.chip {
  display: inline-flex; align-items: center; gap: .45em; padding: .3rem .75rem; border-radius: 999px;
  font-size: .8rem; font-weight: 600; line-height: 1.3;
}
.chip--pending { background: var(--sun-50); color: #7A5200; border: 1px dashed #D9A21A; }
.chip--pending::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.chip--confirmed { background: var(--mint-50); color: var(--teal-ink); border: 1px solid var(--mint); }
.chip--light { background: rgba(255,255,255,.15); color: var(--white); border: 1px dashed rgba(255,255,255,.6); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); color: var(--ink);
  transition: background-color .45s var(--ease), box-shadow .45s;
}
.site-header.is-scrolled {
  background: rgba(255, 252, 247, .88);
  -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px);
  box-shadow: 0 1px 0 var(--color-border), 0 10px 30px -24px rgba(29,42,51,.4);
}
.header-inner {
  height: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; min-height: 44px; }
.brand-mark { width: 44px; height: auto; flex: none; filter: drop-shadow(0 2px 3px rgba(29,42,51,.18)); transition: transform .4s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
.brand-word { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.brand-word span { color: var(--teal); }
.brand-word--light { color: var(--white); }
.brand-word--light span { color: var(--sun); }
.brand-logo { height: 42px; width: auto; }

.main-nav { margin-left: auto; display: none; }
.main-nav ul { display: flex; gap: clamp(.2rem, .6vw, .5rem); }
.main-nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: .35rem .8rem; border-radius: 999px;
  text-decoration: none; font-size: .93rem; font-weight: 500; color: var(--ink-2); transition: background-color .3s, color .3s;
}
.main-nav a:hover { background: var(--mint-50); color: var(--teal-ink); }
.main-nav a[aria-current="true"] { background: var(--mint-50); color: var(--teal-ink); font-weight: 600; }
.header-cta { display: none; }

.menu-toggle {
  margin-left: auto; display: inline-flex; align-items: center; gap: .7rem;
  min-height: 44px; padding: .45rem .95rem; border: 0; border-radius: 999px; background: var(--white); cursor: pointer;
  box-shadow: 0 0 0 1px var(--color-border);
  font-family: var(--font-display); font-size: .88rem; font-weight: 700;
}
.menu-toggle-lines { display: grid; gap: 5px; width: 20px; }
.menu-toggle-lines span { height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
.menu-toggle-lines span:last-child { width: 65%; justify-self: end; }
.menu-toggle:hover .menu-toggle-lines span:last-child { transform: scaleX(1.5); transform-origin: right; }

@media (min-width: 1080px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* ---------- Icon buttons ---------- */
.icon-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--color-border); background: var(--white); color: var(--ink); cursor: pointer;
  transition: transform .3s var(--ease), background-color .3s, border-color .3s;
}
.icon-btn:hover { transform: rotate(90deg); border-color: var(--teal); background: var(--mint-50); }
.icon-btn--light { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.35); }
.icon-btn--light:hover { border-color: var(--white); background: rgba(255,255,255,.2); }
.lb-prev:hover, .lb-next:hover { transform: none; }

/* ---------- Dialog base ---------- */
dialog { padding: 0; border: 0; max-width: none; max-height: none; color: inherit; }
dialog::backdrop { background: rgba(29, 42, 51, .45); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); opacity: 0; transition: opacity .4s; }
dialog.is-visible::backdrop { opacity: 1; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  width: 100%; height: 100%; margin: 0; inset: 0;
  background: var(--mint-50); color: var(--ink);
  opacity: 0; transition: opacity .35s var(--ease); overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu::backdrop { background: transparent; }
.mobile-menu.is-visible { opacity: 1; }
.mobile-menu::before, .mobile-menu::after { content: ""; position: fixed; border-radius: 50%; pointer-events: none; }
.mobile-menu::before { right: -28vmax; top: -24vmax; width: 60vmax; height: 60vmax; background: var(--sun-50); }
.mobile-menu::after { left: -20vmax; bottom: -26vmax; width: 50vmax; height: 50vmax; background: var(--sky-50); }
.mobile-menu-inner { position: relative; z-index: 1; min-height: 100%; display: flex; flex-direction: column; padding: 1rem var(--gutter) 2rem; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.mobile-links { margin-top: clamp(1.2rem, 5vh, 3rem); }
.mobile-links li { border-bottom: 1px solid rgba(29,42,51,.1); overflow: hidden; }
.mobile-links a {
  display: flex; align-items: center; gap: 1rem; padding: .75rem 0; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 7vw, 2.4rem); line-height: 1.15; letter-spacing: -.03em;
  transform: translateY(105%); transition: transform .6s var(--ease), color .3s;
}
.mobile-links .num { font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: 0; color: var(--coral-ink); min-width: 1.6rem; }
.mobile-links a:hover { color: var(--teal); }
.mobile-menu.is-visible .mobile-links a { transform: none; }
.mobile-menu.is-visible .mobile-links li:nth-child(2) a { transition-delay: .04s; }
.mobile-menu.is-visible .mobile-links li:nth-child(3) a { transition-delay: .08s; }
.mobile-menu.is-visible .mobile-links li:nth-child(4) a { transition-delay: .12s; }
.mobile-menu.is-visible .mobile-links li:nth-child(5) a { transition-delay: .16s; }
.mobile-menu.is-visible .mobile-links li:nth-child(6) a { transition-delay: .2s; }
.mobile-menu.is-visible .mobile-links li:nth-child(7) a { transition-delay: .24s; }
.mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 2rem; }
.mobile-actions .btn-signal { grid-column: 1 / -1; min-height: 56px; }
.mobile-contact { margin-top: auto; padding-top: 2rem; display: grid; gap: .2rem; font-size: .98rem; color: var(--muted); }
.mobile-contact a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; font-weight: 500; color: var(--ink); }
.mobile-contact a:hover { color: var(--teal); text-decoration: underline; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sun-50) 0%, var(--cream) 78%);
  padding: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)) 0 clamp(4.5rem, 8vw, 7rem);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 42% 58% 60% 40% / 45% 45% 55% 55%; animation: morph 18s ease-in-out infinite; }
.blob.b1 { width: 44vmax; height: 44vmax; right: -14vmax; top: -12vmax; background: var(--mint-50); }
.blob.b2 { width: 26vmax; height: 26vmax; left: -9vmax; bottom: -10vmax; background: var(--sky-50); animation-delay: -6s; }
.blob.b3 { width: 14vmax; height: 14vmax; left: 38%; top: 8%; background: var(--peach-50); animation-delay: -11s; }
@keyframes morph {
  50% { border-radius: 58% 42% 38% 62% / 55% 60% 40% 45%; transform: translate(2%, 3%) rotate(8deg); }
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.hero-title {
  font-family: var(--font-display); font-size: var(--fs-display); font-weight: 800; line-height: 1.04; letter-spacing: -.045em;
  margin-bottom: 1.4rem; max-width: 13ch;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .1em; }
.hero-title .line > * { display: inline-block; }
.hero-title em { position: relative; z-index: 0; color: var(--teal); }
.hero-title em::after { /* hand-drawn underline */
  content: ""; position: absolute; left: 0; right: 4%; bottom: -.02em; height: .2em; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11 C 50 3, 110 3, 197 9' fill='none' stroke='%23FFC845' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hero-lead { max-width: 33em; font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.1rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2rem; }
.hero-points li {
  display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px;
  background: var(--white); box-shadow: 0 0 0 1px var(--color-border); font-size: .88rem; font-weight: 600; color: var(--ink-2);
}
.hero-points li::before { content: ""; width: 14px; height: 14px; background: var(--teal); -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat; }

.js .hero-eyebrow, .js .hero-title .line > *, .js .hero-lead, .js .hero-actions, .js .hero-points, .js .hero-visual {
  opacity: 0; transform: translateY(30%); animation: rise 1s var(--ease) forwards;
}
.js .hero-title .line > * { transform: translateY(105%); }
.js .hero-visual { transform: translateY(24px) scale(.97); animation-duration: 1.2s; animation-delay: .25s; }
.js .hero-eyebrow { animation-delay: .05s; }
.js .hero-title .line:nth-child(1) > * { animation-delay: .15s; }
.js .hero-title .line:nth-child(2) > * { animation-delay: .28s; }
.js .hero-lead { animation-delay: .45s; }
.js .hero-actions { animation-delay: .58s; }
.js .hero-points { animation-delay: .7s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-visual { position: relative; max-width: 560px; width: 100%; justify-self: center; }
.hero-media {
  position: relative; aspect-ratio: 1 / 1.02; overflow: hidden; background: var(--mint-100);
  border-radius: 46% 54% 44% 56% / 52% 44% 56% 48%; box-shadow: var(--shadow-soft);
  animation: morphShape 20s ease-in-out infinite;
}
@keyframes morphShape { 50% { border-radius: 56% 44% 52% 48% / 44% 56% 44% 56%; } }
.hero-media picture { position: absolute; inset: -6% 0; display: block; transform: translate3d(0, var(--parallax, 0px), 0); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero-badge {
  position: absolute; left: -2%; bottom: 6%; width: 108px; height: 108px; display: grid; place-items: center;
  animation: floaty 7s ease-in-out infinite;
}
.hero-badge .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--sun); animation: ringOut 4.2s var(--ease-soft) infinite; }
.hero-badge .r2 { animation-delay: 2.1s; }
.badge-core {
  position: relative; width: 96px; height: 96px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: var(--sun); color: var(--ink); box-shadow: var(--shadow-card);
  font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; line-height: 1; letter-spacing: -.03em;
}
.badge-core small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .25rem; }
.hero-card {
  position: absolute; right: -2%; top: 10%; display: flex; align-items: center; gap: .75rem; padding: .8rem 1.1rem .8rem .8rem;
  background: var(--white); border-radius: 18px; box-shadow: var(--shadow-card); animation: floaty 8s ease-in-out infinite reverse;
}
.hero-card strong { display: block; font-family: var(--font-display); font-size: .95rem; font-weight: 700; line-height: 1.2; }
.hero-card small { display: block; font-size: .78rem; color: var(--muted); }
.hero-card-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--peach-50); display: grid; place-items: center; position: relative; flex: none; }
.hero-card-icon::after { content: ""; width: 22px; height: 22px; background: var(--coral); -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat; }
.paw-trail { position: absolute; right: 6%; bottom: -7%; display: flex; gap: 10px; transform: rotate(-18deg); }
.paw-trail i { width: 20px; height: 20px; background: var(--mint); -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat; opacity: 0; animation: pawStep 4s var(--ease-soft) infinite; }
.paw-trail i:nth-child(odd) { transform: translateY(10px) rotate(90deg); }
.paw-trail i:nth-child(even) { transform: rotate(90deg); }
.paw-trail i:nth-child(2) { animation-delay: .4s; } .paw-trail i:nth-child(3) { animation-delay: .8s; } .paw-trail i:nth-child(4) { animation-delay: 1.2s; }
@keyframes pawStep { 0% { opacity: 0; } 15%, 60% { opacity: 1; } 90%, 100% { opacity: 0; } }
@keyframes ringOut { 0% { transform: scale(.85); opacity: 0; } 20% { opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes floaty { 50% { transform: translateY(-10px); } }

.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 1rem; width: 44px; height: 52px; transform: translateX(-50%); display: none; justify-items: center; }
.scroll-cue-line { width: 2px; height: 40px; border-radius: 2px; background: linear-gradient(rgba(11,122,111,0), rgba(11,122,111,.5)); position: relative; overflow: hidden; }
.scroll-cue-line::after { content: ""; position: absolute; left: -2px; top: -8px; width: 6px; height: 8px; border-radius: 3px; background: var(--teal); animation: drip 2.4s var(--ease-soft) infinite; }
@keyframes drip { 0% { top: -8px; } 80%, 100% { top: 44px; } }

@media (min-width: 960px) {
  .hero { min-height: min(100svh, 960px); display: flex; align-items: center; }
  .hero-grid { grid-template-columns: 1.08fr 1fr; }
  .scroll-cue { display: grid; }
}
@media (max-width: 959px) { .hero-visual { max-width: 460px; } }
@media (max-width: 480px) {
  .hero-card { right: 0; top: 2%; padding: .6rem .8rem .6rem .6rem; }
  .hero-card-icon { width: 34px; height: 34px; }
  .hero-badge { width: 88px; height: 88px; left: 0; }
  .badge-core { width: 80px; height: 80px; font-size: 1.3rem; }
}

/* ---------- Promise ---------- */
.promise { position: relative; padding-block: clamp(4.5rem, 3.5rem + 6vw, 8.5rem); overflow: hidden; background: var(--teal); color: var(--white); }
.promise .eyebrow { background: rgba(255,255,255,.14); color: var(--white); }
.promise .pulse-dot { background: var(--sun); }
.promise-inner { position: relative; z-index: 1; }
.promise-quote {
  font-family: var(--font-display); font-size: clamp(2rem, 1.2rem + 3.6vw, 4.4rem); font-weight: 800; line-height: 1.08;
  letter-spacing: -.04em; max-width: 18ch; margin-bottom: 2.2rem; text-wrap: balance;
}
.promise-quote em { color: var(--sun); }
.promise-support { display: grid; gap: 1.2rem; max-width: 62rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.22); }
.promise-support p { color: #F1FAF8; max-width: 36em; }
.promise-triad { display: flex; flex-wrap: wrap; gap: .5rem; }
.promise-triad span {
  display: inline-flex; padding: .4rem .9rem; border-radius: 999px; background: rgba(255,255,255,.12);
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--white);
}
@media (min-width: 900px) { .promise-support { grid-template-columns: auto 1fr; gap: 3rem; align-items: center; } .promise-triad { flex-direction: column; align-items: flex-start; } }
.promise-signal { position: absolute; right: -10vmax; top: 50%; width: 52vmax; height: 52vmax; transform: translateY(-50%); pointer-events: none; }
.promise-signal span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,200,69,.28); animation: ringOut 7.5s var(--ease-soft) infinite; }
.promise-signal span:nth-child(2) { animation-delay: 2.5s; }
.promise-signal span:nth-child(3) { animation-delay: 5s; }
.promise::after {
  content: ""; position: absolute; right: 6%; bottom: -8%; width: clamp(160px, 22vw, 320px); aspect-ratio: 1; transform: rotate(-18deg);
  background: rgba(255,255,255,.07); -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat;
}

/* ---------- Mission ---------- */
.mission { background: var(--white); }
.mission-grid { display: grid; gap: clamp(3rem, 6vw, 5.5rem); align-items: center; }
.mission-copy .section-title { max-width: 14ch; }
.triad-list { margin: 2rem 0 1.4rem; display: grid; gap: .7rem; }
.triad-list li {
  display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border-radius: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); line-height: 1.25; letter-spacing: -.015em;
}
.triad-list li:nth-child(1) { background: var(--mint-50); }
.triad-list li:nth-child(2) { background: var(--sun-50); }
.triad-list li:nth-child(3) { background: var(--sky-50); }
.triad-num {
  position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--white); flex: none;
  box-shadow: 0 0 0 1px var(--color-border);
}
.triad-num::after { content: ""; width: 16px; height: 16px; background: var(--teal); -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat; transform: rotate(-12deg); }
.mission-media { position: relative; padding: 0 0 3.2rem 0; }
.mission-img-main { width: 84%; aspect-ratio: 4 / 5; border-radius: 200px 200px 28px 28px; overflow: hidden; background: var(--mint-100); }
.mission-img-main img, .mission-img-inset img { width: 100%; height: 100%; object-fit: cover; }
.mission-img-inset {
  position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border-radius: 24px;
  overflow: hidden; border: 8px solid var(--white); box-shadow: var(--shadow-soft); background: var(--sun-50);
}
.mission-tag {
  position: absolute; left: 0; bottom: 4%; max-width: 44%; margin: 0; font-family: var(--font-display); font-size: .82rem; line-height: 1.8;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.mission-tag span { color: var(--coral-ink); }
@media (min-width: 960px) { .mission-grid { grid-template-columns: 1fr 1.05fr; } }

/* ---------- Image reveal ---------- */
.js .img-reveal img { clip-path: inset(0 0 100% 0); transform: scale(1.12); transition: clip-path 1.2s var(--ease), transform 1.6s var(--ease); }
.js .img-reveal.is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }
.js .mission-img-main.img-reveal img, .js .donate-media.img-reveal img { clip-path: none; opacity: 0; transition: opacity 1.1s var(--ease), transform 1.6s var(--ease); }
.js .mission-img-main.img-reveal.is-in img, .js .donate-media.img-reveal.is-in img { opacity: 1; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Story / Timeline ---------- */
.story { background: linear-gradient(180deg, var(--mint-50), #F3FBF8 60%, var(--cream)); overflow: hidden; }
.story::before {
  content: ""; position: absolute; right: -8vmax; top: 6%; width: 30vmax; height: 30vmax; border-radius: 50%; background: rgba(255,200,69,.14); pointer-events: none;
}
.story-head { position: relative; max-width: 48rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.story-lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 36em; }

.timeline-wrap { --tl-x: 18px; --tl-progress: 0; position: relative; }
.timeline-track { position: absolute; top: 14px; bottom: 0; left: var(--tl-x); width: 4px; transform: translateX(-50%); background: repeating-linear-gradient(180deg, rgba(11,122,111,.22) 0 8px, transparent 8px 16px); border-radius: 4px; }
.timeline-fill { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--tl-progress) * 100%); background: linear-gradient(var(--teal), var(--coral)); border-radius: 4px; }
.timeline-pulse {
  position: absolute; left: 50%; top: calc(var(--tl-progress) * 100%); width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%; background: var(--white); box-shadow: 0 6px 18px -6px rgba(29,42,51,.4), 0 0 0 4px rgba(255,138,101,.25);
}
.timeline-pulse::after { content: ""; position: absolute; inset: 7px; background: var(--coral); -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat; }

.timeline { display: grid; gap: clamp(2.5rem, 6vw, 5.5rem); }
.tl-item { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 1.1rem; }
.tl-node {
  grid-column: 1; grid-row: 1; justify-self: center; margin-top: .6rem; width: 20px; height: 20px; border-radius: 50%;
  background: var(--white); border: 3px solid rgba(11,122,111,.35); transition: border-color .6s, background-color .6s, transform .6s var(--ease); z-index: 1;
}
.tl-item.is-active .tl-node { border-color: var(--teal); background: var(--teal); transform: scale(1.1); box-shadow: 0 0 0 5px rgba(11,122,111,.15); }
.tl-year {
  grid-column: 2; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.8rem); line-height: 1; letter-spacing: -.05em;
  color: rgba(11,122,111,.28); transition: color .8s var(--ease); margin-bottom: .8rem;
}
.tl-item.is-active .tl-year { color: var(--teal); }
.tl-item--now.is-active .tl-year { color: var(--coral-ink); }
.tl-body {
  grid-column: 2; max-width: 36rem; padding: 1.3rem 1.4rem; background: var(--white); border-radius: 20px; box-shadow: var(--shadow-card);
}
.tl-body h3 { font-size: var(--fs-h3); line-height: 1.25; margin-bottom: .45rem; letter-spacing: -.02em; }
.tl-body p { color: var(--muted); }
.tl-body .btn { margin-top: 1.2rem; }
.tl-media { grid-column: 2; margin-top: 1.2rem; width: min(100%, 420px); aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-card); background: var(--sun-50); }
.tl-media img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 900px) {
  .timeline-wrap { --tl-x: calc(34% + 28px); }
  .tl-item { grid-template-columns: 34% 56px minmax(0, 1fr); column-gap: 0; align-items: start; }
  .tl-year { grid-column: 1; grid-row: 1 / span 2; text-align: right; padding-right: 1.5rem; margin: 0; padding-top: .3rem; }
  .tl-node { grid-column: 2; margin-top: 1.5rem; }
  .tl-body { grid-column: 3; }
  .tl-media { grid-column: 3; }
  .tl-item:first-child .tl-media { grid-column: 1 / 2; grid-row: 1 / 4; position: absolute; left: auto; right: 1.5rem; top: 6.5rem; width: min(100% - 3rem, 300px); aspect-ratio: 4 / 5; margin: 0; }
  .tl-item:first-child:has(.tl-media) { min-height: 29rem; }
}

/* ---------- Our role ---------- */
.role { background: var(--cream); }
.role-head { display: grid; gap: 1rem 4rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.role-head .section-title { max-width: 16ch; margin-bottom: 0; }
.role-lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 30em; align-self: end; }
@media (min-width: 960px) { .role-head { grid-template-columns: 1.2fr 1fr; } }

.pillars { display: grid; gap: 1rem; }
.pillar {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 88px; grid-template-areas: "text img";
  gap: .4rem 1.1rem; padding: 1.4rem; border-radius: 24px; align-items: start; background: var(--white);
  box-shadow: 0 0 0 1px var(--color-border); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.pillar:nth-child(1) { background: var(--mint-50); }
.pillar:nth-child(2) { background: var(--sun-50); }
.pillar:nth-child(3) { background: var(--sky-50); }
.pillar:nth-child(4) { background: var(--peach-50); }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.pillar-num {
  grid-area: num; justify-self: start; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--white);
  font-family: var(--font-display); font-size: .85rem; font-weight: 800; color: var(--teal-ink);
}
.pillar-text { grid-area: text; }
.pillar-text h3 { font-size: clamp(1.35rem, 1.15rem + .9vw, 1.8rem); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .4rem; }
.pillar-text p { color: var(--ink-2); max-width: 30em; }
.pillar-img { grid-area: img; aspect-ratio: 1; border-radius: 50%; overflow: hidden; align-self: center; border: 4px solid var(--white); }
.pillar-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pillar:hover .pillar-img img { transform: scale(1.1); }
@media (min-width: 760px) {
  .pillars { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .pillar { grid-template-columns: minmax(0, 1fr) 120px; padding: 1.8rem; }
}

.status-panel {
  margin-top: clamp(2rem, 4vw, 3rem); padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--white); border: 2px dashed rgba(11,122,111,.3); border-radius: 24px;
}
.status-panel h3 { font-size: var(--fs-h3); margin-bottom: 1.1rem; letter-spacing: -.02em; }
.status-list { display: grid; gap: 1rem; margin-bottom: 1.3rem; }
.status-list > div { display: grid; gap: .35rem; justify-items: start; }
.status-list dt { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.disclaimer { font-size: .92rem; color: var(--muted); max-width: 62em; border-top: 1px solid var(--color-border); padding-top: 1.1rem; }
@media (min-width: 760px) { .status-list { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Transparency ---------- */
.trust { background: var(--sky-50); }
.trust-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
.trust-quote {
  margin: 0 0 1.3rem; padding: 1rem 1.2rem; border-radius: 18px; background: var(--white); border-left: 5px solid var(--sun);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 1.35; letter-spacing: -.015em;
}
.trust-head > p { color: var(--ink-2); max-width: 30em; }
.trust-img { margin-top: 2rem; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; max-width: 480px; box-shadow: var(--shadow-card); background: var(--sun-50); }
.trust-img img { width: 100%; height: 100%; object-fit: cover; }
.facts { background: var(--white); border-radius: 24px; padding: .4rem 1.4rem; box-shadow: var(--shadow-card); }
.fact { display: grid; gap: .3rem; padding: 1.05rem 0; border-bottom: 1px solid var(--color-border); }
.fact:last-child { border-bottom: 0; }
.fact dt { display: flex; align-items: center; gap: .7rem; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fact dd { font-size: 1.05rem; padding-left: 2.1rem; font-weight: 500; }
.fact dd strong { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; color: var(--teal); }
.fact-icon { width: 22px; height: 22px; border-radius: 50%; flex: none; position: relative; }
.fact-icon--yes { background: var(--teal); }
.fact-icon--yes::after { content: ""; position: absolute; left: 8px; top: 4.5px; width: 5px; height: 10px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fact-icon--no { background: var(--peach-50); border: 2px solid var(--coral-ink); }
.fact-icon--no::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--coral-ink); transform: translate(-50%, -50%) rotate(-45deg); }
.fact-icon--pending { background: var(--sun-50); border: 2px dashed #B98200; }
@media (min-width: 960px) {
  .trust-grid { grid-template-columns: 1fr 1.15fr; align-items: start; }
  .trust-head { position: sticky; top: calc(var(--header-h) + 2rem); }
  .fact { grid-template-columns: 14.5rem 1fr; gap: 1.5rem; align-items: baseline; }
  .fact dd { padding-left: 0; }
  .facts { padding: .6rem 2rem; }
}

/* ---------- Get involved ---------- */
.involve { background: var(--white); padding-bottom: calc(var(--section-y) * .8); }
.involve-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.involve-lead { font-size: var(--fs-lead); color: var(--ink-2); }
.involve-scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(84vw, 360px); gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: .5rem var(--gutter) 1.5rem; scrollbar-width: thin; overscroll-behavior-x: contain;
}
.panel {
  position: relative; scroll-snap-align: start; min-height: 440px; border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; isolation: isolate; background: var(--cream);
  box-shadow: 0 0 0 1px var(--color-border);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.panel:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--color-border), var(--shadow-soft); }
.panel-img { position: relative; flex: 1 1 auto; min-height: 200px; overflow: hidden; }
.panel-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.panel:hover .panel-img img { transform: scale(1.06); }
.panel--volunteer { background: var(--mint-50); }
.panel--donate { background: var(--sun-50); }
.panel-body { position: relative; padding: clamp(1.3rem, 2.4vw, 2rem); display: grid; gap: .7rem; justify-items: start; }
.panel-kicker {
  display: inline-flex; padding: .3rem .7rem; border-radius: 999px; background: var(--white);
  font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: var(--teal-ink);
}
.panel h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.12; letter-spacing: -.03em; }
.panel p { margin: 0; max-width: 28em; color: var(--ink-2); }
.panel .btn { margin-top: .5rem; }
.panel--plain { justify-content: space-between; }
.panel--plain::after {
  content: ""; position: absolute; right: -24px; top: -20px; width: 130px; height: 130px; transform: rotate(-20deg); z-index: -1;
  background: rgba(11,122,111,.08); -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat;
  transition: transform 1s var(--ease);
}
.panel--plain:hover::after { transform: rotate(-8deg) scale(1.1); }
.panel--share { background: var(--sky-50); }
.panel--partner { background: var(--peach-50); }
.panel--community { background: var(--mint-50); }
.share-status { min-height: 1.4em; font-size: .9rem; color: var(--teal-ink) !important; font-weight: 600; }
.swipe-hint { padding-inline: var(--gutter); font-family: var(--font-display); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.swipe-hint span { display: inline-block; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

@media (min-width: 960px) {
  .involve-scroller {
    max-width: var(--maxw); margin-inline: auto; overflow: visible; scroll-snap-type: none;
    grid-auto-flow: row; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(3, minmax(210px, auto));
    grid-auto-columns: auto; gap: 1.1rem; padding-block: 0;
  }
  .panel { min-height: 0; }
  .panel--volunteer { grid-column: 1 / span 4; grid-row: 1 / span 3; }
  .panel--donate { grid-column: 5 / span 4; grid-row: 1 / span 3; }
  .panel--share { grid-column: 9 / span 4; grid-row: 1; }
  .panel--partner { grid-column: 9 / span 4; grid-row: 2; }
  .panel--community { grid-column: 9 / span 4; grid-row: 3; }
  .panel--plain .panel-body { gap: .5rem; }
  .panel--plain h3 { font-size: 1.45rem; }
  .swipe-hint { display: none; }
}

/* ---------- Donate ---------- */
.donate { background: linear-gradient(135deg, var(--sun-50) 0%, var(--peach-50) 100%); overflow: hidden; }
.donate-rings { position: absolute; left: 70%; top: 50%; width: 1px; height: 1px; pointer-events: none; }
.donate-rings span { position: absolute; left: -32vmax; top: -32vmax; width: 64vmax; height: 64vmax; border-radius: 50%; border: 2px solid rgba(255,138,101,.22); animation: ringOut 9s var(--ease-soft) infinite; }
.donate-rings span:nth-child(2) { animation-delay: 2.25s; }
.donate-rings span:nth-child(3) { animation-delay: 4.5s; }
.donate-rings span:nth-child(4) { animation-delay: 6.75s; }
.donate-grid { position: relative; display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.donate .eyebrow { background: var(--white); }
.donate-lead { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1.05rem + .7vw, 1.6rem); line-height: 1.4; letter-spacing: -.02em; max-width: 24em; margin-bottom: 2rem; color: var(--ink-2); }
.donate-action { display: grid; gap: 1rem; justify-items: start; margin-bottom: 2rem; }
.donate-state { color: var(--ink-2); font-size: .95rem; max-width: 34em; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.donate-note { font-size: .93rem; color: var(--muted); max-width: 40em; padding: 1.1rem 1.2rem; background: rgba(255,255,255,.7); border-radius: 16px; }
.donate-alt { font-size: .98rem; color: var(--ink-2); margin-top: 1.2rem; }
.donate-alt a, .donate-alt .inline-link { color: var(--teal-ink); font-weight: 600; }
.donate-media { aspect-ratio: 4 / 5; border-radius: 240px 240px 32px 32px; overflow: hidden; max-width: 460px; justify-self: center; width: 100%; box-shadow: var(--shadow-soft); border: 10px solid var(--white); background: var(--sun-50); }
.donate-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 599px) { .donate-action .btn-lg { width: 100%; } }
@media (min-width: 960px) { .donate-grid { grid-template-columns: 1.25fr 1fr; } }

/* ---------- Stories ---------- */
.stories { background: var(--cream); }
.stories-head { display: grid; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); align-items: end; }
.stories-head .section-title { margin-bottom: 0; max-width: 15ch; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter {
  min-height: 44px; padding: .5rem 1.05rem; border-radius: 999px; border: 0; background: var(--white); box-shadow: 0 0 0 1px var(--color-border);
  font-size: .9rem; font-weight: 500; cursor: pointer; transition: background-color .3s, color .3s, box-shadow .3s;
}
.filter:hover { box-shadow: 0 0 0 1.5px var(--teal); color: var(--teal-ink); }
.filter.is-active { background: var(--teal); color: var(--white); box-shadow: none; }
@media (min-width: 1080px) { .stories-head { grid-template-columns: 1fr auto; } .filters { justify-content: flex-end; max-width: 34rem; } }

.story-grid { display: grid; gap: 1.4rem; }
.story-card {
  display: grid; align-content: start; gap: .6rem; padding: .8rem .8rem 1.4rem; background: var(--white); border-radius: 26px;
  box-shadow: 0 0 0 1px var(--color-border); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.story-card:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px var(--color-border), var(--shadow-soft); }
.story-card > :not(.story-img) { margin-inline: .6rem; }
.story-card[hidden] { display: none; }
.story-img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 20px; margin-bottom: .5rem; background: var(--mint-50); }
.story-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.story-card:hover .story-img img, .story-card:focus-within .story-img img { transform: scale(1.05); }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; font-size: .8rem; font-weight: 600; color: var(--muted); }
.story-meta .cat { padding: .25rem .65rem; border-radius: 999px; background: var(--mint-50); color: var(--teal-ink); }
.story-card h3 { font-size: clamp(1.3rem, 1.15rem + .7vw, 1.7rem); line-height: 1.2; letter-spacing: -.025em; }
.story-card h3 a, .story-btn { text-decoration: none; background: none; border: 0; padding: 0; font: inherit; text-align: left; cursor: pointer; color: inherit; }
.story-card h3 a:hover, .story-btn:hover { color: var(--teal); }
.story-card p { color: var(--muted); max-width: 32em; }
.story-card--feature h3 { font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.6rem); }
.story-card--soon .story-meta .cat { background: var(--peach-50); color: var(--coral-ink); }
.stories-empty { margin-top: 1.5rem; color: var(--muted); }
@media (min-width: 760px) {
  .story-grid { grid-template-columns: repeat(12, 1fr); }
  .story-card { grid-column: span 6; }
  .story-card--feature { grid-column: 1 / span 8; }
  .story-card--feature + .story-card { grid-column: 9 / span 4; }
  .story-card--feature .story-img { aspect-ratio: 16 / 10; }
  .story-grid.is-filtered .story-card { grid-column: span 6; }
}

/* ---------- Gallery ---------- */
.gallery { background: var(--white); }
.gallery-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.gallery-head > p { color: var(--ink-2); }
.masonry { columns: 2; column-gap: .8rem; }
.masonry li { break-inside: avoid; margin-bottom: .8rem; }
.g-item {
  position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--mint-50); cursor: zoom-in;
  border-radius: 20px; overflow: hidden;
}
.g-item img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.g-item::after {
  content: attr(data-caption); position: absolute; left: .6rem; right: .6rem; bottom: .6rem; padding: .55rem .8rem;
  font-size: .82rem; font-weight: 500; color: var(--ink); text-align: left; background: rgba(255,255,255,.93); border-radius: 12px;
  opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.05); }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; transform: none; }
@media (min-width: 760px) { .masonry { columns: 3; column-gap: 1.1rem; } .masonry li { margin-bottom: 1.1rem; } }
@media (min-width: 1200px) { .masonry { columns: 4; } }
@media (hover: none) { .g-item::after { opacity: 1; transform: none; font-size: .74rem; padding: .4rem .6rem; } }

/* ---------- Lightbox ---------- */
.lightbox { width: 100%; height: 100%; margin: 0; inset: 0; background: rgba(20, 30, 36, .94); color: var(--white); opacity: 0; transition: opacity .35s var(--ease); }
.lightbox::backdrop { background: transparent; }
.lightbox.is-visible { opacity: 1; }
.lb-inner { position: relative; height: 100%; display: grid; place-items: center; padding: 4.5rem 1rem 5.5rem; }
.lb-figure { display: grid; gap: 1rem; justify-items: center; max-width: 100%; }
.lb-img { max-width: min(100%, 1200px); max-height: calc(100vh - 11rem); max-height: calc(100svh - 11rem); width: auto; height: auto; object-fit: contain; border-radius: 18px; transform: scale(.96); transition: transform .5s var(--ease); }
.lightbox.is-visible .lb-img { transform: none; }
.lb-caption { font-size: .95rem; color: #D6E2E6; text-align: center; }
.lb-count { color: var(--sun); font-weight: 700; margin-right: .5rem; }
.lb-close { position: absolute; top: 1rem; right: 1rem; }
.lb-prev, .lb-next { position: absolute; bottom: 1.2rem; }
.lb-prev { left: calc(50% - 60px); }
.lb-next { right: calc(50% - 60px); }
@media (min-width: 760px) {
  .lb-prev, .lb-next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lb-prev:hover, .lb-next:hover { transform: translateY(-50%); }
  .lb-prev { left: 1.5rem; } .lb-next { right: 1.5rem; }
  .lb-inner { padding-inline: 6rem; }
}

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, var(--cream), var(--mint-50)); }
.contact-grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
.contact-info > p { color: var(--ink-2); max-width: 30em; }
.contact-card { margin-top: 1.8rem; display: grid; gap: .8rem; }
.contact-name { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.03em; line-height: 1.15; margin-bottom: .4rem; }
.contact-name span { display: block; font-family: var(--font-body); font-size: .88rem; font-weight: 600; letter-spacing: 0; color: var(--teal-ink); margin-top: .25rem; }
.contact-action {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; min-height: 74px; border-radius: 20px;
  background: var(--white); box-shadow: 0 0 0 1px var(--color-border); text-decoration: none; word-break: break-word;
  transition: box-shadow .3s, transform .4s var(--ease);
}
.contact-action:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--teal), var(--shadow-card); }
.ca-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--teal); color: var(--white); display: grid; place-items: center; flex: none; }
.contact-action + .contact-action .ca-icon { background: var(--sun); color: var(--ink); }
.ca-text { display: grid; font-size: 1.08rem; font-weight: 600; line-height: 1.3; }
.ca-text small { font-size: .78rem; font-weight: 600; color: var(--muted); }
.contact-additional { font-size: .95rem; color: var(--muted); padding: .4rem .2rem; }
.contact-social { margin-top: 1rem; }
.social-label { font-family: var(--font-display); font-size: .88rem; font-weight: 700; color: var(--ink-2); margin-bottom: .5rem; }
.social-empty { font-size: .95rem; color: var(--muted); }
.social-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.social-list:empty { display: none; }
.social-list a {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--white); box-shadow: 0 0 0 1px var(--color-border);
  transition: background-color .3s, color .3s, transform .35s var(--ease);
}
.social-list a:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }
.social-list svg { width: 18px; height: 18px; }

.form-wrap { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.3rem, 3.5vw, 2.6rem); box-shadow: 0 0 0 1px var(--color-border), var(--shadow-soft); }
.form { display: grid; gap: 1.05rem; }
.field-row { display: grid; gap: 1.05rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label { font-size: .9rem; font-weight: 600; }
.req { color: var(--coral-ink); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea, .mini-row input {
  width: 100%; min-height: 50px; padding: .75rem 1rem; border-radius: 14px; border: 1.5px solid rgba(29,42,51,.2);
  background: #FBFCFC; color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(29,42,51,.38); }
.field input:focus, .field select:focus, .field textarea:focus, .mini-row input:focus { outline: none; background: var(--white); border-color: var(--teal); box-shadow: 0 0 0 4px rgba(11,122,111,.16); }
.field [aria-invalid="true"], .mini-row [aria-invalid="true"] { border-color: var(--coral-ink); box-shadow: 0 0 0 3px rgba(180,68,29,.12); }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 1.05rem; top: 50%; width: 8px; height: 8px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; }
.field-error { margin: 0; font-size: .86rem; font-weight: 600; color: var(--coral-ink); }
.field-error:empty { display: none; }
.field-error:not(:empty)::before { content: "! "; }
.form-note { font-size: .86rem; color: var(--muted); margin: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.micro { font-size: .84rem; color: var(--muted); margin: 0; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; align-items: start; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--teal-deep); color: var(--white); padding: clamp(4rem, 7vw, 6.5rem) 0 2rem; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; right: -40px; top: -30px; width: clamp(220px, 28vw, 420px); aspect-ratio: 1; transform: rotate(18deg);
  background: rgba(255,255,255,.05); -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat; pointer-events: none;
}
.footer-signal { position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--sun), var(--coral), var(--mint), var(--sky)); }
.footer-signal span { display: none; }
.footer-statement { position: relative; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 1.3rem + 4vw, 5rem); line-height: 1.04; letter-spacing: -.045em; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); max-width: 17ch; }
.footer-statement em { color: var(--sun); }
.footer-grid { position: relative; display: grid; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--color-border-dark); }
.footer-brand p { color: #CFE3E0; max-width: 26em; margin-top: 1rem; }
.brand--footer .brand-mark { filter: none; }
.footer-contact { display: grid; gap: .1rem; }
.footer-contact a { text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; color: var(--white); font-weight: 500; }
.footer-contact a:hover { text-decoration: underline; color: var(--sun); }
.social-list--footer { margin-top: 1rem; }
.social-list--footer a { background: rgba(255,255,255,.08); box-shadow: 0 0 0 1px rgba(255,255,255,.2); color: var(--white); }
.social-list--footer a:hover { background: var(--sun); color: var(--ink); }
.footer-label { font-family: var(--font-display); font-size: .88rem; font-weight: 700; color: var(--sun); margin-bottom: .8rem; }
.footer-nav ul { display: grid; gap: .1rem; }
.footer-nav a, .footer-nav .inline-link { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; color: #E8F3F1; }
.footer-nav a:hover, .footer-nav .inline-link:hover { color: var(--sun); text-decoration: underline; }
.footer-news .micro { color: #CFE3E0; margin-top: .6rem; }
.mini-form { display: grid; gap: .4rem; }
.mini-row { display: grid; gap: .6rem; }
.mini-row input { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.3); }
.mini-row input::placeholder { color: #B8D2CE; }
.mini-row input:focus { background: rgba(255,255,255,.14); border-color: var(--sun); box-shadow: 0 0 0 4px rgba(255,200,69,.2); }
.site-footer .btn-signal { --btn-bg: var(--sun); --btn-fg: var(--ink); box-shadow: none; }
.site-footer .btn-signal:hover { --btn-bg: var(--sun-600); }
.site-footer .field-error { color: var(--peach); }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.8rem; font-size: .9rem; color: #CFE3E0; }
.footer-bottom p { margin: 0; }
.legal { display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; }
.legal a { text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; }
.legal a:hover { color: var(--sun); text-decoration: underline; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr .7fr .7fr; } .footer-news { grid-column: 1 / -1; max-width: 34rem; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.3fr .6fr .6fr 1.4fr; } .footer-news { grid-column: auto; } }
@media (min-width: 480px) { .mini-row { grid-template-columns: 1fr auto; } }

/* ---------- Modals ---------- */
.modal {
  width: min(100% - 2rem, 500px); margin: auto; background: transparent; overflow: visible;
  opacity: 0; transform: translateY(18px) scale(.96); transition: opacity .45s var(--ease), transform .55s var(--ease);
}
.modal.is-visible { opacity: 1; transform: none; }
.modal-card {
  position: relative; background: var(--white); color: var(--ink); border-radius: 30px; overflow: hidden;
  padding: clamp(1.6rem, 5vw, 2.5rem); box-shadow: 0 50px 100px -40px rgba(29,42,51,.55);
  max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); overflow-y: auto;
}
.modal--news .modal-card { background: linear-gradient(180deg, var(--sun-50) 0, var(--white) 55%); }
.modal-card > p { color: var(--ink-2); }
.modal-card .eyebrow { margin-bottom: 1rem; }
.modal-title { font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; margin-bottom: .7rem; padding-right: 3rem; }
.modal-card .form { margin-top: 1.4rem; }
.modal-close { position: absolute; top: 1rem; right: 1rem; z-index: 2; }
.modal-signal { position: absolute; right: -34px; bottom: -34px; width: 140px; height: 140px; pointer-events: none; transform: rotate(-20deg); }
.modal-signal span { display: none; }
.modal-signal::after { content: ""; position: absolute; inset: 0; background: rgba(255,200,69,.3); -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat; }
.modal--volunteer { width: min(100% - 2rem, 600px); }
@media (max-width: 599px) {
  .modal--news { width: 100%; max-width: 100%; margin: auto 0 0 0; transform: translateY(40px); }
  .modal--news .modal-card { border-radius: 28px 28px 0 0; padding-bottom: calc(1.6rem + env(safe-area-inset-bottom)); }
  .modal--news.is-visible { transform: none; }
}

/* ---------- Simple pages (legal / success / 404) ---------- */
.page-simple { min-height: 100vh; display: flex; flex-direction: column; }
.page-simple .site-header { position: sticky; background: rgba(255,252,247,.95); }
.page-body { flex: 1; padding: clamp(3rem, 8vw, 6rem) 0; background: linear-gradient(180deg, var(--sun-50), var(--cream) 60%); }
.page-body .section-title { max-width: 18ch; }
.page-body .prose p, .page-body .prose li { color: var(--ink-2); max-width: 40em; }
.page-body .prose ul { list-style: disc; padding-left: 1.2rem; margin-bottom: 1.4rem; }
.page-body .prose h2 { font-size: var(--fs-h3); margin: 2rem 0 .6rem; letter-spacing: -.02em; }
.placeholder-note { padding: 1.1rem 1.3rem; border: 2px dashed #D9A21A; background: var(--sun-50); border-radius: 16px; color: #7A5200; font-weight: 500; margin-bottom: 2rem; max-width: 44em; }
.page-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.page-simple .site-footer { padding-top: 2rem; }
.page-simple .site-footer::before { display: none; }
.header-back { margin-left: auto; }
.page-simple .footer-bottom { border: 0; padding-top: 0; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .img-reveal img, .js .hero-eyebrow, .js .hero-title .line > *, .js .hero-lead, .js .hero-actions, .js .hero-points, .js .hero-visual { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero-badge .ring, .promise-signal span, .donate-rings span, .paw-trail, .scroll-cue { display: none !important; }
  .mobile-links a { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .hero-visual, .scroll-cue, dialog, .filters, .swipe-hint { display: none !important; }
  .promise, .site-footer { background: #fff !important; color: #000 !important; }
  .js .reveal, .js .img-reveal img { opacity: 1; transform: none; clip-path: none; }
}

/* =====================================================================
   Open letter — hero reminder, homepage teaser, letter page, sign form
   ===================================================================== */
.hero-reminder {
  display: inline-flex; align-items: center; gap: .6rem; max-width: 100%; margin-bottom: 1rem; padding: .35rem .9rem .35rem .35rem;
  border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--color-border), 0 8px 24px -18px rgba(29,42,51,.5);
  text-decoration: none; font-size: .88rem; font-weight: 500; color: var(--ink-2); transition: box-shadow .3s, transform .35s var(--ease);
}
.hero-reminder:hover { transform: translateY(-2px); box-shadow: 0 0 0 1.5px var(--teal), 0 12px 28px -18px rgba(29,42,51,.5); }
.hero-reminder-tag { flex: none; padding: .25rem .65rem; border-radius: 999px; background: var(--coral-ink); color: var(--white); font-family: var(--font-display); font-size: .75rem; font-weight: 700; }
.hero-reminder-text { min-width: 0; }
.hero-reminder > span:last-child { color: var(--teal); font-weight: 700; transition: transform .3s var(--ease); }
.hero-reminder:hover > span:last-child { transform: translateX(3px); }
.js .hero-reminder { opacity: 0; animation: rise 1s var(--ease) forwards; }
.promise-support .text-link { margin-top: .8rem; color: var(--sun); }

.letter-teaser { background: linear-gradient(160deg, var(--peach-50) 0%, var(--sun-50) 100%); overflow: hidden; }
.letter-teaser .eyebrow { background: var(--white); }
.letter-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.letter-intro .section-title { max-width: 16ch; }
.letter-lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 34em; }
.letter-points { display: grid; gap: .7rem; margin: 1.8rem 0 2rem; }
.letter-points li {
  position: relative; padding: .9rem 1.1rem .9rem 3.2rem; border-radius: 18px; background: rgba(255,255,255,.8); color: var(--ink-2);
}
.letter-points li::before {
  content: ""; position: absolute; left: 1rem; top: 1.05rem; width: 22px; height: 22px; background: var(--teal);
  -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat; transform: rotate(-12deg);
}
.letter-points strong { color: var(--ink); font-family: var(--font-display); font-weight: 700; }
.letter-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.letter-card {
  position: relative; margin: 0; padding: clamp(1.6rem, 4vw, 2.6rem); background: var(--white); border-radius: 26px;
  box-shadow: var(--shadow-soft); transform: rotate(1.2deg);
  background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(11,122,111,.07) 31px 32px);
  background-position: 0 1.4rem;
}
.letter-card blockquote { margin: 0 0 1.4rem; }
.letter-card blockquote p { font-size: 1.05rem; line-height: 1.75; color: var(--ink-2); }
.letter-card blockquote p:first-child { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); line-height: 1.45; color: var(--ink); letter-spacing: -.015em; }
.letter-card-close { font-weight: 600; color: var(--teal-ink) !important; }
.letter-card figcaption { display: grid; gap: .1rem; margin-bottom: 1rem; }
.letter-card figcaption span:last-child { font-size: .85rem; color: var(--muted); font-weight: 600; }
.letter-sign { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; color: var(--ink); }
.letter-stamp {
  position: absolute; right: -14px; top: -18px; width: 76px; height: 76px; border-radius: 50%; background: var(--sun);
  box-shadow: 0 10px 24px -12px rgba(242,178,30,.9); transform: rotate(12deg);
}
.letter-stamp::after {
  content: ""; position: absolute; inset: 18px; background: var(--ink);
  -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat;
}
@media (min-width: 960px) { .letter-grid { grid-template-columns: 1.05fr 1fr; } }

/* Letter page */
.page-letter { background: var(--cream); }
.letter-hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); background: linear-gradient(180deg, var(--sun-50), var(--cream)); }
.letter-back { margin-bottom: 1.2rem; }
.letter-title { font-size: clamp(2.3rem, 1.4rem + 4vw, 4.6rem); font-weight: 800; line-height: 1.04; letter-spacing: -.045em; max-width: 16ch; margin-bottom: 1.2rem; }
.letter-hero-lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 36em; margin-bottom: 1.8rem; }
.letter-hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.letter-body-section { padding: clamp(1rem, 3vw, 2rem) 0 clamp(4rem, 8vw, 6rem); }
.letter-layout { display: grid; gap: 2rem; align-items: start; }
.letter-paper {
  position: relative; padding: clamp(1.6rem, 5vw, 3.6rem); background: var(--white); border-radius: 28px; box-shadow: 0 0 0 1px var(--color-border), var(--shadow-soft);
  font-size: clamp(1.02rem, .98rem + .2vw, 1.12rem); line-height: 1.8; color: var(--ink-2);
}
.letter-paper > p { max-width: 62ch; margin-bottom: 1.2em; }
.letter-dropcap { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 1.05rem + .7vw, 1.5rem); line-height: 1.5; color: var(--ink); letter-spacing: -.015em; }
.letter-reg {
  margin: 1.6rem 0; padding: 1.3rem 1.4rem; border-radius: 18px; background: var(--sky-50); border-left: 5px solid var(--teal);
  font-size: .98rem; line-height: 1.7; color: var(--ink);
}
.letter-reg p { margin-bottom: .6em; }
.letter-pull {
  margin: 1.8rem 0 !important; padding: 1.1rem 1.3rem; border-radius: 18px; background: var(--sun-50);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 1.05rem + .8vw, 1.6rem); line-height: 1.4; letter-spacing: -.02em; color: var(--ink);
}
.letter-ask { font-weight: 600; color: var(--teal-ink); }
.letter-signoff { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 2px dashed var(--color-border); }
.letter-signoff .letter-sign { font-size: 1.9rem; margin: 0; }
.letter-org { margin: .1rem 0 1.4rem; font-weight: 600; color: var(--teal-ink); }
.letter-motto { margin: 0; padding: 1rem 1.2rem; border-radius: 16px; background: var(--mint-50); }
.letter-motto p { margin: 0 0 .3rem; font-style: italic; color: var(--ink); }
.letter-motto cite { font-style: normal; font-size: .9rem; color: var(--muted); }
.letter-aside { display: grid; gap: 1rem; }
.letter-aside-card { display: grid; gap: .7rem; padding: 1.5rem; border-radius: 24px; background: var(--mint-50); box-shadow: 0 0 0 1px var(--color-border); }
.letter-aside-kicker { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; color: var(--ink); }
.letter-aside-card p { margin: 0 0 .3rem; color: var(--ink-2); }
.letter-note { font-size: .88rem; color: var(--muted); padding: 0 .4rem; }
.letter-note a { color: var(--teal-ink); font-weight: 600; }
@media (min-width: 1000px) {
  .letter-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 2.5rem; }
  .letter-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

.sign-section { padding: clamp(4rem, 8vw, 7rem) 0; background: linear-gradient(180deg, var(--mint-50), var(--cream)); }
.sign-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.sign-intro > p { color: var(--ink-2); max-width: 30em; }
.sign-then a { color: var(--teal-ink); font-weight: 600; }
.check { display: flex; align-items: flex-start; gap: .75rem; }
.check input { flex: none; width: 22px; height: 22px; margin: .15rem 0 0; accent-color: var(--teal); cursor: pointer; }
.check label { font-size: .95rem; line-height: 1.5; cursor: pointer; }
.check input[aria-invalid="true"] { outline: 2px solid var(--coral-ink); outline-offset: 2px; }
@media (min-width: 960px) { .sign-grid { grid-template-columns: .9fr 1.1fr; } }
.page-letter .site-footer { padding-top: 2rem; }
.page-letter .site-footer::before { display: none; }
@media (prefers-reduced-motion: reduce) { .js .hero-reminder { opacity: 1 !important; } }
@media (max-width: 420px) { .hero-reminder { font-size: .82rem; } }
.letter-body-section { overflow-x: clip; }
.letter-paper .letter-stamp { right: 14px; top: -22px; width: 64px; height: 64px; }
.letter-paper .letter-stamp::after { inset: 15px; }


/* =====================================================================
   Client brand assets — logo, business card, article
   ===================================================================== */
.hero-card-logo { width: 44px; height: auto; flex: none; }
.tl-media--card { aspect-ratio: auto; background: transparent; box-shadow: none; overflow: visible; }
.tl-media--card img { height: auto; border-radius: 18px; box-shadow: var(--shadow-card); transform-origin: center; }
.tl-media--card figcaption { margin-top: .7rem; font-size: .88rem; color: var(--muted); }
.tl-media--card figcaption a { color: var(--teal-ink); font-weight: 600; }
.tl-item:first-child .tl-media--card { aspect-ratio: auto; }
.trust-logo { margin: 2rem 0 0; max-width: 340px; padding: 1.4rem 1.4rem 1rem; background: var(--white); border-radius: 24px; box-shadow: var(--shadow-card); transform: rotate(-1.5deg); }
.trust-logo img { width: 100%; height: auto; }
.trust-logo figcaption { margin-top: .6rem; font-size: .85rem; color: var(--muted); text-align: center; }

.story-card--article { background: linear-gradient(135deg, var(--sun-50), var(--white) 60%); }
.story-card--article .story-img { aspect-ratio: 1200 / 1553; background: var(--ink); }
.story-card--article .story-img img { object-position: 50% 30%; }
.story-card-body { display: grid; gap: .7rem; align-content: center; justify-items: start; }
.story-card--article h3 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.3rem); }
.story-card--article .btn { margin-top: .4rem; }
.story-meta .cat + span { color: var(--muted); }
@media (min-width: 760px) {
  .story-card--article { grid-column: 1 / -1 !important; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 2rem; padding: .9rem 2rem .9rem .9rem; align-items: center; }
  .story-card--article > .story-card-body { margin: 0; }
  .story-card--article .story-img { margin: 0; }
  .story-card--article + .story-card--feature { grid-column: 1 / span 8; }
  .story-card--feature + .story-card { grid-column: 9 / span 4; }
}

/* Article page */
.article-hero-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.article-title { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.9rem); max-width: 20ch; }
.article-dek { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 1.05rem + .8vw, 1.65rem); line-height: 1.3; letter-spacing: -.02em; color: var(--ink-2); max-width: 26em; margin-bottom: 1.8rem; }
.article-dek em { font-style: normal; color: var(--teal); }
.article-cover { margin: 0; justify-self: center; width: 100%; max-width: 420px; }
.article-cover img { width: 100%; height: auto; border-radius: 22px; box-shadow: var(--shadow-soft); transform: rotate(1.2deg); }
.article-cover figcaption { margin-top: 1rem; font-size: .84rem; line-height: 1.5; color: var(--muted); }
.article-cover cite { font-style: italic; }
@media (min-width: 960px) { .article-hero-grid { grid-template-columns: 1.3fr .9fr; } }

.creed {
  position: relative; margin: 0 0 2rem; padding: clamp(1.4rem, 4vw, 2.2rem); border-radius: 24px;
  background: linear-gradient(160deg, var(--sun-50), var(--peach-50)); box-shadow: inset 0 0 0 1px rgba(242,178,30,.35);
}
.creed-mark { position: absolute; right: clamp(.8rem, 3vw, 1.6rem); top: clamp(.8rem, 3vw, 1.4rem); width: clamp(54px, 9vw, 80px); height: auto; transform: rotate(8deg); }
.creed-title { font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); font-weight: 800; letter-spacing: -.03em; color: var(--ink); padding-right: 5rem; }
.creed-by { margin: .2rem 0 1.3rem; font-weight: 600; color: var(--coral-ink); }
.creed-lines { display: grid; gap: .55rem; }
.creed-lines li {
  position: relative; padding-left: 2rem; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); line-height: 1.45; letter-spacing: -.012em; color: var(--ink);
}
.creed-lines li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; background: var(--teal);
  -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat; transform: rotate(-12deg);
}
.creed-lines .creed-last { color: var(--teal-ink); font-weight: 800; }
.article-h2 { margin: 2.2rem 0 1rem; }
.article-flag { display: inline-block; padding: .45rem 1rem; border-radius: 999px; background: var(--coral-ink); color: var(--white); font-size: .95rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.fbi-def cite { display: block; margin-top: .4rem; font-style: normal; font-size: .88rem; color: var(--muted); }

.article-next { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: linear-gradient(180deg, var(--mint-50), var(--cream)); }
.article-next-inner { display: grid; gap: 1.5rem; align-items: end; }
.article-next .section-title { max-width: 18ch; margin-bottom: .6rem; }
.article-next p { color: var(--ink-2); }
@media (min-width: 860px) { .article-next-inner { grid-template-columns: 1fr auto; } }

/* =====================================================================
   Awareness: brands that still test on animals
   ===================================================================== */
.awareness { background: linear-gradient(180deg, var(--peach-50), var(--cream)); }
.awareness .eyebrow { background: var(--white); color: var(--coral-ink); }
.awareness-grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.awareness-copy .section-title { max-width: 15ch; }
.awareness-lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 32em; }
.awareness-tips { display: grid; gap: .7rem; margin: 1.6rem 0 2rem; }
.awareness-tips li { position: relative; padding: .9rem 1.1rem .9rem 3.1rem; border-radius: 18px; background: var(--white); color: var(--ink-2); box-shadow: 0 0 0 1px var(--color-border); }
.awareness-tips li::before {
  content: ""; position: absolute; left: 1rem; top: 1.05rem; width: 20px; height: 20px; background: var(--coral);
  -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat; transform: rotate(-12deg);
}
.awareness-tips strong { color: var(--ink); }
.awareness-tips a { color: var(--teal-ink); font-weight: 600; }
.awareness-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.awareness-status { margin-top: .8rem; }
.awareness-figure { margin: 0; justify-self: center; width: 100%; max-width: 560px; }
.awareness-figure img { width: 100%; height: auto; border-radius: 22px; box-shadow: var(--shadow-soft); border: 8px solid var(--white); }
.awareness-figure figcaption { margin-top: .9rem; font-size: .86rem; line-height: 1.55; color: var(--muted); }
.awareness-list { margin-top: .9rem; padding: .8rem 1rem; border-radius: 14px; background: var(--white); box-shadow: 0 0 0 1px var(--color-border); }
.awareness-list summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--teal-ink); min-height: 32px; display: flex; align-items: center; }
.awareness-list p { margin: .6rem 0 .2rem; font-size: .9rem; line-height: 1.6; color: var(--ink-2); }
@media (min-width: 960px) { .awareness-grid { grid-template-columns: 1fr 1fr; } .awareness-figure { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.letter-clarify { margin: 0 0 2rem; padding: 1.1rem 1.3rem; border-radius: 18px; background: var(--mint-50); border-left: 5px solid var(--teal); }
.letter-clarify p { margin: 0; color: var(--ink); line-height: 1.6; }
.letter-clarify .letter-clarify-kicker { margin-bottom: .35rem; font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-ink); }
.mission-media .mission-tag { bottom: 0; max-width: none; }
.mission-media .mission-img-main { margin-inline: auto 0; }
@media (max-width: 959px) { .mission-media .mission-img-main { width: 100%; max-width: 460px; margin-inline: auto; } }

/* =====================================================================
   Real-images-only layout (stock photos removed at Nina's request)
   ===================================================================== */
/* About: logo card */
.mission-logo {
  margin: 0 auto; width: min(100%, 420px); padding: clamp(1.4rem, 4vw, 2.4rem); background: var(--white);
  border-radius: 32px; box-shadow: var(--shadow-soft); transform: rotate(-2deg);
  background-image: radial-gradient(circle at 80% 15%, var(--sun-50), transparent 55%), radial-gradient(circle at 15% 90%, var(--mint-50), transparent 50%);
}
.mission-logo img { width: 100%; height: auto; }
.mission-media .mission-tag { position: static; margin-top: 1.6rem; text-align: center; }

/* Our Role: text-only cards */
.pillar, .pillar:nth-child(n) { grid-template-columns: 1fr; grid-template-areas: "text"; }
@media (min-width: 760px) { .pillar, .pillar:nth-child(n) { grid-template-columns: 1fr; padding: 2rem; } }
.pillar { position: relative; overflow: hidden; }
.pillar::after {
  content: ""; position: absolute; right: -18px; bottom: -22px; width: 110px; height: 110px; transform: rotate(-18deg);
  background: rgba(11,122,111,.08); -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat; pointer-events: none;
}
.pillar-text { position: relative; z-index: 1; max-width: 34em; }

/* Get Involved: the two feature panels without photos */
.panel--volunteer, .panel--donate { color: var(--ink); }
.panel--volunteer .panel-body, .panel--donate .panel-body { margin-top: auto; }
.panel--volunteer h3, .panel--donate h3 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); }
.panel--volunteer::after, .panel--donate::after { width: 220px; height: 220px; right: -40px; top: -30px; }
.panel--donate::after { background: rgba(242,178,30,.22); }
@media (max-width: 959px) { .panel--volunteer, .panel--donate { min-height: 360px; } }

/* Donate: single column */
.donate-grid { grid-template-columns: 1fr !important; max-width: 52rem; }

/* Stories: text cards */
.story-card:not(:has(.story-img)) { padding: clamp(1.4rem, 3vw, 2rem); align-content: start; position: relative; overflow: hidden; }
.story-card:not(:has(.story-img)) > * { margin-inline: 0; }
.story-card:not(:has(.story-img))::before {
  content: ""; display: block; width: 42px; height: 42px; margin-bottom: .4rem; border-radius: 14px;
  background: var(--mint-50) var(--paw) center / 22px no-repeat;
}
.story-card--feature:not(:has(.story-img)) { background: linear-gradient(140deg, var(--mint-50), var(--white) 70%); }
.story-card--soon:not(:has(.story-img)) { background: linear-gradient(140deg, var(--peach-50), var(--white) 70%); }

/* Gallery: three real photos */
@media (min-width: 760px) { .masonry { columns: 3; } }
@media (min-width: 1200px) { .masonry { columns: 3; } }

/* =====================================================================
   Round: attention grabber, chapters, glossy buttons, donate + membership
   ===================================================================== */
:root {
  --alert: #C81E36;
  --gloss-top: #86a0ff; --gloss-mid: #4462ec; --gloss-low: #2236c0; --gloss-base: #13208a; --gloss-edge: #0b1660;
  --gold-1: #fff47e; --gold-2: #ffd23a; --gold-3: #ff9a1f; --gold-4: #ff6414;
}

/* ---------- Glossy button (client reference: blue gel, gold lettering) ---------- */
.gloss-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; isolation: isolate; overflow: hidden;
  min-height: 54px; padding: .8rem 2rem; border: 2px solid var(--gloss-edge); border-radius: 16px;
  background: linear-gradient(180deg, var(--gloss-top) 0%, var(--gloss-mid) 36%, var(--gloss-low) 64%, var(--gloss-base) 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.55), inset 0 -5px 10px rgba(5,10,70,.55), 0 5px 0 var(--gloss-edge), 0 16px 26px -12px rgba(11,22,96,.75);
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; line-height: 1; letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .18s var(--ease), box-shadow .18s, filter .25s;
}
.gloss-btn::before { /* glassy highlight across the top */
  content: ""; position: absolute; z-index: -1; left: 5%; right: 5%; top: 3px; height: 48%; pointer-events: none;
  border-radius: 12px 12px 50% 50% / 12px 12px 14px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.06));
}
.gloss-btn::after { /* soft sheen that sweeps across on hover */
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; width: 40%; left: -60%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-18deg);
  transition: left .7s var(--ease);
}
.gloss-btn > span {
  color: var(--gold-2);
  background: linear-gradient(180deg, var(--gold-1) 8%, var(--gold-2) 42%, var(--gold-3) 72%, var(--gold-4) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 #3d1400) drop-shadow(0 -1px 0 #3d1400) drop-shadow(1px 0 0 #3d1400) drop-shadow(-1px 0 0 #3d1400) drop-shadow(0 3px 2px rgba(0,0,0,.45));
  padding-block: .08em;
}
.gloss-btn:hover { filter: brightness(1.08) saturate(1.05); transform: translateY(-1px); }
.gloss-btn:hover::after { left: 120%; }
.gloss-btn:active { transform: translateY(4px); box-shadow: inset 0 2px 0 rgba(255,255,255,.45), inset 0 -3px 8px rgba(5,10,70,.55), 0 1px 0 var(--gloss-edge), 0 6px 12px -8px rgba(11,22,96,.7); }
.gloss-btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; }
.gloss-btn--sm { min-height: 44px; padding: .55rem 1.25rem; font-size: 1rem; border-radius: 12px; box-shadow: inset 0 2px 0 rgba(255,255,255,.55), inset 0 -4px 8px rgba(5,10,70,.5), 0 3px 0 var(--gloss-edge), 0 10px 18px -10px rgba(11,22,96,.7); }
.gloss-btn--lg { min-height: 62px; padding: .95rem 2.5rem; font-size: 1.45rem; border-radius: 18px; }
.gloss-btn--xl { min-height: 86px; width: 100%; max-width: 420px; padding: 1.1rem 2.5rem; font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); border-radius: 22px; letter-spacing: .05em;
  box-shadow: inset 0 3px 0 rgba(255,255,255,.55), inset 0 -7px 14px rgba(5,10,70,.55), 0 7px 0 var(--gloss-edge), 0 22px 34px -14px rgba(11,22,96,.8); }
.gloss-btn--mixed { text-transform: none; letter-spacing: 0; }
.gloss-btn--lg.gloss-btn--mixed { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); }
@media (max-width: 380px) { .gloss-btn--lg { padding-inline: 1.6rem; } }
@media (prefers-reduced-motion: reduce) { .gloss-btn::after { display: none; } }
@media (forced-colors: active) {
  .gloss-btn { border-color: ButtonText; background: ButtonFace; }
  .gloss-btn > span { -webkit-text-fill-color: ButtonText; color: ButtonText; background: none; filter: none; }
  .gloss-btn::before, .gloss-btn::after { display: none; }
}

/* ---------- "Happening now" signal ---------- */
.hot-dot { position: relative; flex: none; width: 9px; height: 9px; border-radius: 50%; background: currentColor; animation: hotPulse 1.8s ease-out infinite; }
@keyframes hotPulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.75); } 70% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.main-nav .nav-hot { gap: .5rem; color: var(--alert); font-weight: 700; }
.main-nav .nav-hot .hot-dot, .mobile-links .hot-dot { background: var(--alert); animation-name: hotPulseRed; }
@keyframes hotPulseRed { 0% { box-shadow: 0 0 0 0 rgba(200,30,54,.55); } 70% { box-shadow: 0 0 0 9px rgba(200,30,54,0); } 100% { box-shadow: 0 0 0 0 rgba(200,30,54,0); } }
@media (prefers-reduced-motion: reduce) { .hot-dot { animation: none; } }

.header-cta.gloss-btn { margin-left: .4rem; }
@media (min-width: 1080px) { .header-cta.gloss-btn { display: inline-flex; } }
@media (max-width: 1079px) { .header-cta.gloss-btn { display: none; } }

/* Hero: alert pill + jump links */
.hero-alert {
  display: inline-flex; align-items: center; gap: .65rem; max-width: 100%; margin-bottom: 1.1rem; padding: .35rem 1rem .35rem .35rem;
  border-radius: 999px; background: var(--ink); color: var(--white); text-decoration: none; font-size: .9rem; font-weight: 600;
  box-shadow: 0 14px 30px -16px rgba(29,42,51,.8); transition: transform .35s var(--ease), box-shadow .35s;
}
.hero-alert:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--sun), 0 18px 34px -16px rgba(29,42,51,.8); }
.hero-alert-tag {
  display: inline-flex; align-items: center; gap: .45rem; flex: none; padding: .32rem .75rem .32rem .65rem; border-radius: 999px;
  background: var(--alert); color: var(--white); font-family: var(--font-display); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.hero-alert-text { min-width: 0; }
.hero-alert > span:last-child { color: var(--sun); font-weight: 800; transition: transform .3s var(--ease); }
.hero-alert:hover > span:last-child { transform: translateX(3px); }
.hero-actions .gloss-btn { margin-right: .3rem; }
.hero-jump { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; margin-top: 2rem; }
.hero-jump-label { font-family: var(--font-display); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-jump ul { display: flex; flex-wrap: wrap; gap: .45rem; }
.hero-jump a {
  display: inline-flex; align-items: center; min-height: 40px; padding: .4rem .9rem; border-radius: 999px; background: var(--white);
  box-shadow: 0 0 0 1px var(--color-border); font-size: .88rem; font-weight: 600; color: var(--ink-2); text-decoration: none;
  transition: box-shadow .3s, color .3s, transform .3s var(--ease);
}
.hero-jump a:hover { color: var(--teal-ink); box-shadow: 0 0 0 1.5px var(--teal); transform: translateY(-1px); }
.js .hero-alert, .js .hero-jump { opacity: 0; transform: translateY(30%); animation: rise 1s var(--ease) forwards; }
.js .hero-jump { animation-delay: .55s; }
@media (prefers-reduced-motion: reduce) { .js .hero-alert, .js .hero-jump { opacity: 1 !important; transform: none !important; animation: none; } }
@media (max-width: 480px) {
  .hero-alert { font-size: .82rem; align-items: flex-start; border-radius: 22px; padding: .45rem .9rem .45rem .45rem; }
  .hero-alert-tag { margin-top: .05rem; }
  .hero-actions .gloss-btn { width: 100%; margin-right: 0; }
}

/* ---------- Happening now band ---------- */
.alerts {
  position: relative; overflow: hidden; color: var(--white);
  padding-block: clamp(3.5rem, 2.4rem + 4.5vw, 6.5rem);
  background:
    radial-gradient(52rem 28rem at 90% -12%, rgba(255,200,69,.22), transparent 62%),
    radial-gradient(46rem 30rem at -8% 112%, rgba(200,30,54,.30), transparent 60%),
    #15222B;
}
.alerts::after { /* faint paw watermark */
  content: ""; position: absolute; right: -4rem; bottom: -5rem; width: 26rem; height: 26rem; background: rgba(255,255,255,.04);
  -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat; transform: rotate(-14deg); pointer-events: none;
}
.alerts :focus-visible { outline-color: var(--sun); }
.alerts-head { max-width: 50rem; margin-bottom: clamp(1.8rem, 3vw, 2.6rem); position: relative; z-index: 1; }
.alerts-kicker {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.1rem; padding: .45rem .95rem .45rem .8rem; border-radius: 999px;
  background: var(--alert); font-family: var(--font-display); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.alerts-title { font-family: var(--font-display); font-size: var(--fs-section); font-weight: 800; line-height: 1.06; letter-spacing: -.035em; margin-bottom: 1rem; text-wrap: balance; }
.alerts-title em { color: var(--sun); }
.alerts-lead { color: #D3DEE4; font-size: var(--fs-lead); max-width: 38em; }
.alert-grid { position: relative; z-index: 1; display: grid; gap: 1.1rem; }
@media (min-width: 880px) { .alert-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; } }
.alert-card {
  --accent: var(--teal);
  position: relative; display: flex; flex-direction: column; gap: .75rem; padding: 1.5rem 1.4rem 1.4rem; border-radius: 22px;
  background: var(--white); color: var(--ink); border-top: 8px solid var(--accent);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.65); transition: transform .45s var(--ease);
}
.alert-card:hover { transform: translateY(-5px); }
.alert-card--horses { --accent: #A84A12; }
.alert-card--beagles { --accent: var(--alert); }
.alert-card--recalls { --accent: var(--teal); }
.alert-tag { align-self: flex-start; padding: .3rem .75rem; border-radius: 999px; background: var(--accent); color: var(--white); font-family: var(--font-display); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.alert-card h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.alert-card p { color: var(--ink-2); font-size: .97rem; }
.alert-card .alert-meta { margin-top: auto; padding-top: .4rem; font-size: .84rem; font-weight: 600; color: var(--muted); }
.alert-link {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 46px; padding: .6rem 1.2rem; border-radius: 999px;
  background: var(--ink); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: .95rem; text-decoration: none;
  transition: background-color .3s, transform .3s var(--ease);
}
.alert-link:hover { background: var(--accent); transform: translateY(-1px); }
.alert-sub { font-size: .88rem; font-weight: 600; color: var(--teal-ink); text-underline-offset: 3px; min-height: 24px; }
.alert-sub:hover { color: var(--ink); }
.alerts-note { position: relative; z-index: 1; margin-top: 1.6rem; color: #B7C6CE; font-size: .9rem; }
.alerts-note a { color: var(--sun); font-weight: 700; }

/* ---------- Chapter intros (clear breaks between topics) ---------- */
.chapter-intro { position: relative; overflow: hidden; color: var(--white); padding-block: clamp(3.2rem, 2.2rem + 4vw, 5.5rem); }
.chapter-intro--teal { background: linear-gradient(135deg, var(--teal-deep) 0%, #0A5F57 100%); }
.chapter-intro--coral { background: linear-gradient(135deg, #9B3A17 0%, var(--coral-ink) 100%); }
.chapter-intro--ink { background: linear-gradient(135deg, #15222B 0%, #24343F 100%); }
.chapter-intro::after {
  content: ""; position: absolute; right: -3rem; top: 50%; width: clamp(14rem, 30vw, 24rem); height: clamp(14rem, 30vw, 24rem); transform: translateY(-50%) rotate(-14deg);
  background: rgba(255,255,255,.07); -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat; pointer-events: none;
}
.chapter-intro :focus-visible { outline-color: var(--sun); }
.chapter-intro-inner { position: relative; z-index: 1; }
.chapter-kicker { display: inline-flex; align-items: center; gap: .7rem; margin-bottom: .9rem; font-family: var(--font-display); font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); }
.chapter-kicker::before { content: ""; width: 2.4rem; height: 3px; border-radius: 2px; background: currentColor; }
.chapter-title { font-family: var(--font-display); font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.045em; margin-bottom: .9rem; text-wrap: balance; max-width: 16ch; }
.chapter-lead { max-width: 36em; font-size: var(--fs-lead); color: rgba(255,255,255,.88); margin-bottom: 1.6rem; }
.chapter-links ul { display: flex; flex-wrap: wrap; gap: .55rem; }
.chapter-links a {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem 1.05rem; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); color: var(--white);
  font-weight: 600; font-size: .95rem; text-decoration: none; transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.chapter-links a::after { content: "↓" / ""; font-weight: 800; color: var(--sun); transition: color .3s; }
.chapter-links a:hover { background: var(--sun); border-color: var(--sun); color: var(--ink); transform: translateY(-1px); }
.chapter-links a:hover::after { color: var(--ink); }

/* Role: short "good to know" note instead of pending chips */
.status-panel--note { padding: 1.3rem 1.4rem; }
.status-panel--note .disclaimer { margin: 0; }
.status-area { margin-bottom: .7rem; }

/* ---------- Donate (rebuilt) ---------- */
.donate-head { max-width: 50rem; margin-bottom: clamp(2rem, 4vw, 3rem); position: relative; }
.donate-head .section-title { max-width: 18ch; }
.donate-title-link {
  color: inherit; text-decoration: none;
  background: linear-gradient(var(--sun), var(--sun)) 0 92% / 100% .2em no-repeat; transition: background-size .35s var(--ease);
}
.donate-title-link:hover { background-size: 100% .48em; }
.donate-title-link::after { content: " →" / ""; color: var(--teal); }
.donate-lead { margin-bottom: 0; }
.donate-layout { position: relative; display: grid; gap: 1.3rem; }
@media (min-width: 920px) { .donate-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; } }
.hook-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 1rem;
  padding: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); border-radius: 28px; background: #15222B; color: var(--white);
  box-shadow: 0 30px 60px -32px rgba(21,34,43,.8);
}
.hook-card::before { content: "“"; position: absolute; right: 1.2rem; top: -1.6rem; font-family: var(--font-display); font-size: 11rem; line-height: 1; color: rgba(255,200,69,.14); pointer-events: none; }
.hook-card :focus-visible { outline-color: var(--sun); }
.hook-kicker { font-family: var(--font-display); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sun); }
.hook-title { position: relative; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.05rem); line-height: 1.2; letter-spacing: -.02em; }
.hook-card p { color: #D3DEE4; }
.hook-card .hook-turn { color: var(--white); font-weight: 700; padding-left: 1rem; border-left: 4px solid var(--sun); }
.hook-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.3rem; margin-top: auto; padding-top: .4rem; }
.give-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; text-align: center;
  padding: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); border-radius: 28px; background: var(--white); box-shadow: 0 0 0 1px var(--color-border), var(--shadow-soft);
}
.give-kicker { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.give-state { font-size: .92rem; color: var(--ink-2); max-width: 30em; }
.give-note { font-size: .84rem; color: var(--muted); max-width: 30em; }
.qr-box { display: grid; justify-items: center; gap: .45rem; margin: 0; }
.qr-box[hidden] { display: none; }
.qr-code { width: 156px; padding: 8px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--color-border); }
.qr-code svg { display: block; width: 100%; height: auto; }
.qr-box figcaption { font-size: .84rem; font-weight: 600; color: var(--muted); }
.member-card {
  position: relative; margin-top: 1.3rem; display: grid; gap: 1.4rem; align-items: center; overflow: hidden;
  padding: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); border-radius: 28px;
  background: linear-gradient(135deg, #E9EEFF 0%, var(--white) 72%); box-shadow: 0 0 0 2px #C9D3FF, var(--shadow-soft);
}
@media (min-width: 820px) { .member-card { grid-template-columns: minmax(0, 1.3fr) auto; gap: 2.5rem; } }
.member-kicker { font-family: var(--font-display); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gloss-base); margin-bottom: .5rem; }
.member-title { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 3rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: .6rem; }
.member-title span { color: var(--gloss-base); }
.member-copy p:last-child { color: var(--ink-2); max-width: 34em; }
.member-action { display: grid; justify-items: center; gap: .9rem; text-align: center; }
.donate-alt { margin-top: 1.6rem; }
.donate-status { margin-top: .4rem; }

/* Newsletter pop-up + footer: membership offer */
.modal-member { display: grid; justify-items: start; gap: .8rem; margin-top: 1.3rem; padding-top: 1.2rem; border-top: 1px dashed rgba(29,42,51,.2); }
.modal-member p { font-size: .95rem; color: var(--ink-2); }
.footer-member { margin-top: 1rem; font-size: .92rem; color: #CFE3E0; }
.footer-member a { color: var(--sun); font-weight: 700; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr .7fr .7fr .7fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.2fr .6fr .6fr .6fr 1.3fr; } }

/* Mobile menu: main chapters + quick jumps */
.mobile-links a { gap: .7rem; }
.mobile-sub { margin-top: 1.6rem; }
.mobile-sub-label { font-family: var(--font-display); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.mobile-sub ul { display: flex; flex-wrap: wrap; gap: .45rem; }
.mobile-sub a { display: inline-flex; align-items: center; min-height: 40px; padding: .35rem .85rem; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--color-border); font-size: .9rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.mobile-sub a:hover { color: var(--teal-ink); box-shadow: 0 0 0 1.5px var(--teal); }
.mobile-actions .gloss-btn { grid-column: 1 / -1; width: 100%; }

/* Stories: one article + three text cards */
.story-card--tint-sun:not(:has(.story-img)) { background: linear-gradient(140deg, var(--sun-50), var(--white) 70%); }
.story-card--tint-mint:not(:has(.story-img)) { background: linear-gradient(140deg, var(--mint-50), var(--white) 70%); }
.story-card--tint-peach:not(:has(.story-img)) { background: linear-gradient(140deg, var(--peach-50), var(--white) 70%); }
@media (min-width: 960px) { .story-grid--simple .story-card:not(.story-card--article) { grid-column: span 4; } }

/* Simple pages: small nav in the header */
.simple-nav { margin-left: auto; display: flex; align-items: center; gap: .2rem; }
.simple-nav a:not(.gloss-btn):not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: .35rem .75rem; border-radius: 999px; text-decoration: none; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.simple-nav a:not(.gloss-btn):not(.btn):hover { background: var(--mint-50); color: var(--teal-ink); }
.simple-nav .gloss-btn, .simple-nav .btn { margin-left: .4rem; }
@media (max-width: 640px) { .simple-nav .hide-sm { display: none !important; } }
@media (max-width: 400px) { .simple-nav .gloss-btn--sm { padding-inline: .9rem; font-size: .9rem; } .brand-word { font-size: 1.2rem; } }
/* Plus Jakarta Sans has a narrow space; with tight tracking, give words a little more room */
:where(h1, h2, h3, .btn, .gloss-btn, .chapter-title, .alerts-title, .hook-title, .member-title) { word-spacing: .07em; }
.alert-card .alert-tag { color: var(--white); }
[hidden] { display: none !important; }
.qr-box { margin-top: .4rem; }
.donate-lead, .hero-alert, .chapter-lead { word-spacing: .05em; }

/* =====================================================================
   Round: client fixes — nav topics, hero news strip, more stories, $35 subscribe
   ===================================================================== */
/* Header: six topic links + Subscribe + Donate need more room, so the full nav starts at 1280px */
.main-nav a { padding-inline: .7rem; }
.header-sub { display: none; }
@media (min-width: 1080px) and (max-width: 1279px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 1280px) {
  .header-sub { display: inline-flex; margin-left: .2rem; }
  .header-inner { gap: 1.1rem; }
}
.header-cta.gloss-btn { display: none; }
@media (min-width: 520px) {
  .header-cta.gloss-btn { display: inline-flex; margin-left: auto; }
  .header-cta.gloss-btn + .menu-toggle { margin-left: .6rem; }
}
@media (min-width: 1280px) {
  .header-cta.gloss-btn { margin-left: .2rem; }
}

/* Hero: "Happening now" strip — the attention grabber */
.hero-news-wrap { position: relative; z-index: 2; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.hero-news {
  display: grid; gap: .8rem; padding: .9rem; border-radius: 22px; color: var(--white);
  background: linear-gradient(120deg, #15222B 0%, #1F2F3A 60%, #2A1820 100%);
  box-shadow: 0 24px 50px -26px rgba(21,34,43,.85), inset 0 0 0 1px rgba(255,255,255,.06);
}
.hero-news :focus-visible { outline-color: var(--sun); }
.hero-news-label {
  display: inline-flex; align-items: center; gap: .5rem; justify-self: start; padding: .45rem .9rem .45rem .75rem; border-radius: 999px;
  background: var(--alert); font-family: var(--font-display); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.hero-news-list { display: grid; gap: .5rem; }
.hn {
  display: flex; align-items: center; gap: .7rem; min-height: 52px; height: 100%; padding: .6rem .8rem; border-radius: 14px;
  background: rgba(255,255,255,.07); color: var(--white); text-decoration: none; transition: background-color .3s, transform .3s var(--ease);
}
.hn:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.hn-tag { flex: none; padding: .25rem .6rem; border-radius: 999px; font-family: var(--font-display); font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink); background: var(--sun); }
.hn--beagles .hn-tag { background: #FFB4BE; }
.hn--recalls .hn-tag { background: var(--mint); }
.hn-text { flex: 1; min-width: 0; font-weight: 600; font-size: .93rem; line-height: 1.3; }
.hn-go { flex: none; color: var(--sun); font-weight: 800; }
.hero-news-more { justify-self: start; display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding: 0 .4rem; color: var(--sun); font-weight: 700; font-size: .9rem; }
@media (min-width: 1080px) {
  .hero-news { grid-template-columns: auto 1fr auto; align-items: center; padding: .7rem .8rem .7rem .7rem; }
  .hero-news-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-news-more { justify-self: end; }
}
@media (min-width: 640px) and (max-width: 1079px) {
  .hero-news-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hn { flex-direction: column; align-items: flex-start; }
  .hn-go { display: none; }
}
.js .hero-news { opacity: 0; transform: translateY(-14px); animation: rise .9s var(--ease) .1s forwards; }
@media (prefers-reduced-motion: reduce) { .js .hero-news { opacity: 1 !important; transform: none !important; animation: none; } }
.hero { padding-top: calc(var(--header-h) + clamp(1rem, 2.5vw, 1.8rem)); }

/* Donate: the line right above the DONATE button */
.give-line {
  font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-weight: 800; line-height: 1.25; letter-spacing: -.02em;
  color: var(--ink); text-decoration: none; max-width: 18em; text-wrap: balance;
  background: linear-gradient(var(--sun), var(--sun)) 0 92% / 100% .18em no-repeat;
}
.give-line:hover { color: var(--teal-ink); }

/* More stories */
.more-stories { margin-top: clamp(2.2rem, 4vw, 3.2rem); }
.more-stories-title { font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); letter-spacing: -.025em; margin-bottom: 1.2rem; }
.ms-grid { display: grid; gap: 1.1rem; }
@media (min-width: 900px) { .ms-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ms-card {
  --accent: var(--teal);
  display: flex; flex-direction: column; gap: .7rem; padding: 1.5rem 1.4rem 1.4rem; border-radius: 22px; background: var(--white);
  border-top: 6px solid var(--accent); box-shadow: 0 0 0 1px var(--color-border), var(--shadow-soft);
  transition: transform .45s var(--ease);
}
.ms-card:hover { transform: translateY(-4px); }
.ms-card--alert { --accent: var(--alert); }
.ms-card--beagle { --accent: #A84A12; }
.ms-card .ms-tag { align-self: flex-start; padding: .28rem .7rem; border-radius: 999px; background: var(--accent); color: var(--white); font-family: var(--font-display); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ms-card h4 { font-family: var(--font-display); font-size: clamp(1.15rem, 1.05rem + .45vw, 1.35rem); font-weight: 800; line-height: 1.25; letter-spacing: -.02em; word-spacing: .07em; }
.ms-card p { color: var(--ink-2); font-size: .96rem; }
.ms-card .ms-meta { margin-top: auto; padding-top: .3rem; font-size: .84rem; font-weight: 600; color: var(--muted); }
.ms-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 700; color: var(--teal-ink); }
.ms-link:hover { color: var(--ink); }
.ms-cta { margin-top: 1.4rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); }
.ms-cta a { color: var(--teal-ink); text-underline-offset: 4px; }

/* $35 subscribe offer */
.member-only { color: var(--alert); letter-spacing: .02em; }
.member-title { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem); max-width: 18ch; }
.member-title [data-membership-price] { color: var(--gloss-base); }
.modal--news .modal-title { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem); }
.modal--news .modal-title [data-membership-price] { color: var(--gloss-base); }
.modal-member-btn { margin: .4rem 0 .2rem; }
.modal-free { margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px dashed rgba(29,42,51,.2); }
.modal-free-label { font-family: var(--font-display); font-weight: 700; font-size: .95rem; margin-bottom: .6rem; color: var(--ink-2); }
.footer-sub { color: #F1FAF8; margin-bottom: .8rem; }
.footer-sub .member-only { color: var(--sun); }
.footer-sub-btn { margin-bottom: 1.4rem; }
.footer-label--free { margin-top: .2rem; }
.legal-intro { font-size: var(--fs-lead); color: var(--ink-2); margin-bottom: 1rem; }
.legal-updated { margin-top: 2.2rem; font-size: .9rem; color: var(--muted) !important; }
@media (min-width: 960px) { .hero { flex-direction: column; align-items: stretch; justify-content: center; } }
@media (min-width: 640px) {
  .hn { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .35rem .6rem; padding: .7rem .9rem; }
  .hn-tag { justify-self: start; }
  .hn-text { grid-column: 1; }
  .hn-go { display: block !important; grid-column: 2; grid-row: 1 / span 2; }
}
