:root {
  --bg: #eef0e8;
  --bg-soft: #eef0e8;
  --surface: rgba(250, 244, 233, 0.82);
  --surface-strong: #faf1e5;
  --text: #1f2b18;
  --muted: #586453;
  --line: rgba(62, 89, 16, 0.14);
  --brand: #3e5910;
  --brand-deep: #253807;
  --accent: #d8772f;
  --accent-soft: #f2d2a7;
  --shadow: 0 28px 80px rgba(40, 56, 12, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
}

@media (hover: hover) and (pointer: fine) {
  body,
  a,
  button,
  .button,
  .brand,
  label,
  summary {
    cursor: none;
  }

  .button-primary,
  .button-primary *,
  .site-footer,
  .site-footer *,
  .involved-card-accent,
  .involved-card-accent *,
  .form-tab.is-active,
  .form-tab.is-active *,
  .help-card-highlight,
  .help-card-highlight * {
    cursor: none;
  }

  .footer-donate-button,
  .footer-donate-button * {
    cursor: none;
  }

  input,
  textarea {
    cursor: text;
  }

  select {
    cursor: none;
  }
}

.site-cursor {
  --cursor-x: -999px;
  --cursor-y: -999px;
  --cursor-origin-x: 10px;
  --cursor-origin-y: 7px;
  --cursor-scale: 0.7;
  --cursor-scale-pressed: 0.56;
  position: fixed;
  top: 0;
  left: 0;
  width: 2.7rem;
  height: 2.5rem;
  pointer-events: none;
  z-index: 80;
  opacity: 0;
  transform: translate3d(var(--cursor-x), var(--cursor-y), 0) scale(var(--cursor-scale));
  transform-origin: var(--cursor-origin-x) var(--cursor-origin-y);
  transition:
    opacity 0.12s ease,
    filter 0.18s ease;
  will-change: transform, opacity, filter;
}

.site-cursor.is-visible {
  opacity: 1;
}

.site-cursor.is-clicking {
  transform: translate3d(var(--cursor-x), var(--cursor-y), 0) scale(var(--cursor-scale-pressed));
}

.site-cursor svg,
.site-cursor img {
  width: 100%;
  height: 100%;
  display: block;
  filter:
    drop-shadow(0 10px 22px rgba(62, 89, 16, 0.38))
    drop-shadow(0 0 28px rgba(62, 89, 16, 0.22));
  transform: rotate(-20deg);
  transform-origin: 50% 50%;
  transition: filter 220ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, filter;
}

.site-cursor.is-on-dark svg,
.site-cursor.is-on-dark img {
  filter:
    drop-shadow(0 10px 22px rgba(255, 255, 255, 0.26))
    drop-shadow(0 0 30px rgba(255, 255, 255, 0.18));
}

.site-cursor.is-upright svg,
.site-cursor.is-upright img {
  transform: rotate(0deg);
}

@keyframes cursorStampFade {
  0% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}

.cursor-stamp {
  position: fixed;
  top: 0;
  left: 0;
  width: 2.7rem;
  height: 2.5rem;
  pointer-events: none;
  z-index: 79;
  opacity: 0;
  transform-origin: 10px 7px;
  animation: cursorStampFade 2s ease-out forwards;
}

.cursor-stamp img {
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(-20deg);
  transform-origin: 50% 50%;
  filter: none;
}

.cursor-stamp.is-upright img {
  transform: rotate(0deg);
}

@keyframes footprintTrailFade {
  0% {
    opacity: 0;
  }

  18% {
    opacity: 0.88;
  }

  100% {
    opacity: 0;
  }
}

.footprints-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 30;
}

.has-footprints {
  position: relative;
}

.footprint-stamp {
  position: absolute;
  width: 16.62px;
  height: 31.38px;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) rotate(var(--footprint-angle)) scale(var(--footprint-scale));
  transform-origin: center center;
  animation: footprintTrailFade 2s ease-out forwards;
  will-change: transform, opacity;
}

.footprint-stamp img {
  width: 100%;
  height: 100%;
  display: block;
  filter:
    drop-shadow(0 8px 18px rgba(62, 89, 16, 0.12))
    drop-shadow(0 0 18px rgba(62, 89, 16, 0.08));
}

.footprint-stamp--paw {
  width: 15.74px;
  height: 14.62px;
}

@media (prefers-reduced-motion: reduce) {
  .site-cursor svg,
  .site-cursor img {
    transition: none;
  }

  .footprint-stamp {
    animation: none;
    opacity: 0;
  }
}

img {
  max-width: 100%;
  display: block;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  z-index: -1;
  border-radius: 50%;
  filter: blur(20px);
}

.page-shell::before {
  width: 18rem;
  height: 18rem;
  right: -4rem;
  top: 9rem;
  background: rgba(216, 119, 47, 0.06);
}

.page-shell::after {
  width: 16rem;
  height: 16rem;
  left: -5rem;
  top: 38rem;
  background: rgba(62, 89, 16, 0.06);
}

.site-header,
.hero-section,
.section,
.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.9rem 0;
  border: 1px solid transparent;
  border-radius: 999px;
  backdrop-filter: blur(0);
  background: transparent;
  box-shadow: none;
  transition:
    padding 0.24s ease,
    background 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    backdrop-filter 0.24s ease;
}

.site-header.is-scrolled {
  padding: 0.9rem 1rem;
  border-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(22px);
  /* Glassy blur without an obvious "fill" tint. */
  background: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 22px 70px rgba(46, 58, 20, 0.16),
    0 10px 26px rgba(46, 58, 20, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 3.45rem;
  width: auto;
  max-width: min(18.5rem, 46vw);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
  padding: 0.2rem 0;
  border-radius: 0;
  border: 0;
  min-height: 0;
  line-height: 1;
  background: transparent;
  box-shadow: none;
  transition: color 0.18s ease;
  white-space: nowrap;
}

.instagram-link:hover {
  color: rgba(62, 89, 16, 0.72);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.instagram-link-icon {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
  object-fit: contain;
}

.instagram-link-header {
  padding-inline: 0;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.cta-row .button,
.cta-row .instagram-link {
  margin-top: 0;
}

.cta-row .instagram-link {
  /* Match the primary button's vertical rhythm for perfect center alignment. */
  padding: 0.95rem 0;
  transform: translateY(2px);
}

.cta-row .instagram-link-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.cta-row .instagram-link:hover {
  /* Keep alignment stable on hover. */
  transform: translateY(2px);
}

.site-footer a {
  color: var(--text);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brand);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand), #6d8a22);
  color: white;
  box-shadow: 0 12px 28px rgba(62, 89, 16, 0.28);
}

.button:disabled,
.button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  filter: saturate(0.7) grayscale(0.15);
}

.button-primary:disabled,
.button-primary[disabled] {
  background: linear-gradient(135deg, rgba(62, 89, 16, 0.78), rgba(109, 138, 34, 0.78));
  color: rgba(255, 255, 255, 0.72);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.78);
  color: var(--brand-deep);
  border: 1px solid rgba(62, 89, 16, 0.18);
}

.reveal-section {
  opacity: 1;
  transform: translateY(0);
}

body.js-ready .reveal-section {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  will-change: opacity, transform;
}

body.js-ready .reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  body.js-ready .reveal-section,
  body.js-ready .reveal-section.is-visible,
  .site-header {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

.hero-section {
  position: relative;
  display: block;
  padding: 6rem 0 4.25rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--brand);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.hero-copy h1,
.section-heading h2,
.site-footer h2,
.pet-dialog h3 {
  margin: 0;
  font-family: "Averia Libre", cursive;
  line-height: 1.02;
}

.hero-copy h1 {
  font-size: clamp(4rem, 8vw, 7rem);
  max-width: none;
  margin-inline: auto;
  color: #3e5910;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero-copy h1 .hero-line {
  display: block;
  white-space: nowrap;
}

.hero-lead,
.story-card p,
.help-card p,
.section-note,
.form-panel-header p,
.instagram-empty p,
.site-footer p,
.site-footer a,
.pet-copy p,
.pet-meta li,
.form-status {
  color: var(--muted);
  line-height: 1.7;
}

.hero-lead {
  max-width: 38rem;
  margin: 1.6rem auto 0;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.hero-donation-button {
  display: none;
}

.hero-adopt-button {
  padding-inline: 1.7rem;
}

.hero-support {
  margin: 2rem 0 0;
  font-size: 0.98rem;
}

.hero-support a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.hero-section::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  width: 9rem;
  height: 9rem;
  transform: translateX(-50%);
  background: radial-gradient(circle at center, rgba(62, 89, 16, 0.08), transparent 68%);
  pointer-events: none;
}

.hero-stats li,
.story-card,
.help-card,
.forms-shell,
.touchpoint-card,
.trust-card,
.instagram-feed,
.site-footer,
.pet-card,
.policy-layout,
.policy-card {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.section {
  padding: 1.75rem 0 0;
}

.section-heading {
  margin-bottom: 1.35rem;
}

.section-intro {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.section-heading h2,
.site-footer h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: none;
}

.section-heading-inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.section-about {
  position: relative;
  overflow: hidden;
  margin-top: 2.25rem;
  padding: 3.1rem 2.5rem;
  border-radius: 2.2rem;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 255, 255, 0.9), transparent 34%),
    radial-gradient(circle at 86% 32%, rgba(62, 89, 16, 0.18), transparent 38%),
    radial-gradient(circle at 74% 92%, rgba(62, 89, 16, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(238, 240, 232, 0.92) 52%, rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(62, 89, 16, 0.08);
  box-shadow: 0 26px 60px rgba(62, 89, 16, 0.1);
}

.section-about::before,
.section-about::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.section-about::before {
  width: 18rem;
  height: 18rem;
  top: -6rem;
  left: -4rem;
  background: radial-gradient(circle, rgba(62, 89, 16, 0.22), rgba(62, 89, 16, 0));
  filter: blur(10px);
}

.section-about::after {
  width: 14rem;
  height: 14rem;
  right: -3rem;
  bottom: -4rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
  filter: blur(12px);
}

@media (prefers-reduced-motion: no-preference) {
  .section-about::before {
    animation: aboutFloatA 12s ease-in-out infinite alternate;
  }

  .section-about::after {
    animation: aboutFloatB 14s ease-in-out infinite alternate;
  }
}

@keyframes aboutFloatA {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(2.25rem, 1.25rem, 0) scale(1.05);
  }
}

@keyframes aboutFloatB {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-2rem, -1.5rem, 0) scale(1.08);
  }
}

.about-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 3rem;
  align-items: start;
}

.about-mark {
  display: grid;
  gap: 1.3rem;
  align-content: start;
}

.about-mark h2 {
  margin: 0;
  font-family: "Averia Libre", cursive;
  font-size: clamp(3.2rem, 6vw, 5rem);
  line-height: 0.96;
  color: #3e5910;
}

.about-paw {
  position: relative;
  width: 10.5rem;
  height: 9.75rem;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.about-icon {
  width: min(10.5rem, 100%);
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 18px 22px rgba(62, 89, 16, 0.16))
    drop-shadow(0 0 36px rgba(62, 89, 16, 0.12));
}

.about-copy {
  display: grid;
  gap: 1.6rem;
}

.about-copy p {
  margin: 0;
  color: var(--text);
  line-height: 1.42;
  font-size: 1.12rem;
  max-width: 38rem;
}

.about-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}

.feature-shell,
.surrender-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.2rem;
  align-items: center;
}

.feature-copy p,
.surrender-copy p {
  color: var(--muted);
  line-height: 1.78;
}

.feature-copy h2,
.surrender-copy h2 {
  margin: 0;
  font-family: "Averia Libre", cursive;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1.02;
  max-width: none;
}

.feature-copy .button,
.surrender-copy .button {
  margin-top: 1rem;
}

.feature-copy .cta-row {
  margin-top: 1rem;
}

.feature-adopt .feature-shell {
  padding: 2.4rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at top right, rgba(62, 89, 16, 0.08), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(62, 89, 16, 0.08);
  box-shadow: 0 26px 60px rgba(62, 89, 16, 0.12);
}

.feature-illustration {
  position: relative;
  min-height: 24rem;
}

.adopt-illustration-frame {
  position: absolute;
  inset: 1rem 1.2rem 1rem 2.4rem;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(232, 236, 224, 0.9));
  box-shadow: 0 24px 50px rgba(62, 89, 16, 0.16);
  overflow: hidden;
}

.adopt-illustration-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
}

.paw-print {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 12rem;
  height: 12rem;
  transform: translate(-50%, -50%);
}

.paw-pad {
  position: absolute;
  display: block;
  background: #3e5910;
  border-radius: 50%;
}

.paw-pad-main {
  width: 6.3rem;
  height: 5.4rem;
  left: 2.85rem;
  top: 5.45rem;
  border-radius: 48% 48% 42% 42%;
}

.paw-pad-top {
  width: 2.6rem;
  height: 3.3rem;
}

.paw-pad-top-one {
  left: 0.9rem;
  top: 4rem;
}

.paw-pad-top-two {
  left: 3.15rem;
  top: 1rem;
}

.paw-pad-top-three {
  left: 6.2rem;
  top: 0.95rem;
}

.paw-pad-top-four {
  left: 8.55rem;
  top: 4rem;
}

.illustration-note {
  position: absolute;
  padding: 0.95rem 1.1rem;
  border-radius: 1.2rem;
  background: #ffffff;
  border: 1px solid rgba(62, 89, 16, 0.08);
  box-shadow: 0 18px 40px rgba(62, 89, 16, 0.12);
  color: var(--text);
  font-weight: 700;
  max-width: 16rem;
}

.illustration-note-top {
  top: 0;
  right: 0;
}

.illustration-note-bottom {
  left: 0;
  bottom: 2.2rem;
}

.section-involved {
  position: relative;
  margin-top: 1rem;
  padding: 2.6rem 2.2rem 0.5rem;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(62, 89, 16, 0.06), rgba(62, 89, 16, 0)),
  radial-gradient(circle at top left, rgba(62, 89, 16, 0.08), transparent 28%);
}

.volunteer-callout {
  margin-top: 1rem;
  padding: 0;
}

.volunteer-callout-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  margin: 0;
  padding: 1.45rem 1.8rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at top right, rgba(62, 89, 16, 0.08), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(62, 89, 16, 0.08);
  box-shadow: 0 26px 60px rgba(62, 89, 16, 0.12);
}

.passive-adoption-callout .volunteer-callout-card {
  position: relative;
  overflow: hidden;
  padding: 1.45rem 1.8rem;
  background:
    radial-gradient(circle at 12% 18%, rgba(62, 89, 16, 0.1), transparent 26%),
    radial-gradient(circle at 86% 22%, rgba(216, 119, 47, 0.12), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 242, 232, 0.9));
  border: 1px solid rgba(62, 89, 16, 0.12);
  box-shadow:
    0 22px 46px rgba(62, 89, 16, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.passive-adoption-callout .volunteer-callout-card::before {
  content: "";
  position: absolute;
  inset: auto -1rem -1.2rem auto;
  width: 7.5rem;
  height: 7.5rem;
  background:
    radial-gradient(circle at 32% 24%, rgba(62, 89, 16, 0.14) 0 10%, transparent 11%),
    radial-gradient(circle at 56% 26%, rgba(62, 89, 16, 0.14) 0 10%, transparent 11%),
    radial-gradient(circle at 24% 50%, rgba(62, 89, 16, 0.14) 0 10%, transparent 11%),
    radial-gradient(circle at 48% 50%, rgba(62, 89, 16, 0.14) 0 10%, transparent 11%),
    radial-gradient(circle at 40% 70%, rgba(62, 89, 16, 0.14) 0 12%, transparent 13%);
  opacity: 0.55;
  transform: rotate(-12deg);
  pointer-events: none;
}

.volunteer-callout-copy {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.volunteer-callout-copy h3 {
  margin: 0;
  font-family: "Averia Libre", cursive;
  font-size: clamp(1.25rem, 1.5vw, 1.65rem);
  line-height: 1.1;
}

.volunteer-callout-copy p:last-of-type {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.58;
  max-width: 55rem;
}

.volunteer-callout-actions {
  display: flex;
  justify-content: flex-end;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}

.passive-adoption-callout .volunteer-callout-actions .button {
  min-width: 12.5rem;
  padding-inline: 1.35rem;
  font-size: 0.98rem;
}

.passive-adoption-page .page-shell,
.passive-adoption-story-page .page-shell,
.passive-adoption-form-page .page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  overflow: visible;
}

.passive-adoption-page .passive-adoption-hero {
  display: grid;
  gap: 0.85rem;
  padding: 2.5rem 0 1.35rem;
}

.passive-adoption-page .passive-adoption-hero h1,
.passive-story-copy h1 {
  margin: 0;
  font-family: "Averia Libre", cursive;
  color: var(--brand-deep);
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  line-height: 1.02;
}

.passive-adoption-page .passive-adoption-hero p {
  margin: 0;
  max-width: 45rem;
  color: var(--muted);
  line-height: 1.78;
}

.passive-adoption-loading {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.95rem;
  min-height: 3.6rem;
  margin: 0.35rem 0 1.2rem;
  padding: 0.95rem 1.15rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(62, 89, 16, 0.1);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 36px rgba(62, 89, 16, 0.08);
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
}

.passive-story-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 3.6rem;
  margin: 0.35rem 0 1.2rem;
  padding: 0.95rem 1.15rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(62, 89, 16, 0.1);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 36px rgba(62, 89, 16, 0.08);
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
}

.passive-adoption-loading p,
.passive-story-loading p {
  margin: 0;
}

.passive-story-loading-dot {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 2px solid rgba(62, 89, 16, 0.2);
  border-top-color: var(--brand);
  animation: calendarSpin 0.8s linear infinite;
}

.passive-adoption-loading[hidden],
.passive-story-loading[hidden] {
  display: none !important;
}

.passive-adoption-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.passive-adoption-skeleton-card {
  display: flex;
  flex-direction: column;
  min-height: 27rem;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(62, 89, 16, 0.06);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.9) 42%, rgba(255, 255, 255, 0.55));
  box-shadow: 0 20px 44px rgba(62, 89, 16, 0.08);
}

.passive-adoption-skeleton-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(62, 89, 16, 0.05), rgba(62, 89, 16, 0.1), rgba(62, 89, 16, 0.05));
  background-size: 200% 100%;
  animation: passiveSkeletonShimmer 1.45s ease-in-out infinite;
}

.passive-adoption-skeleton-body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.25rem 1.35rem 1.35rem;
  flex: 1;
}

.passive-adoption-skeleton-line {
  height: 0.92rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(62, 89, 16, 0.05), rgba(62, 89, 16, 0.12), rgba(62, 89, 16, 0.05));
  background-size: 200% 100%;
  animation: passiveSkeletonShimmer 1.45s ease-in-out infinite;
}

.passive-adoption-skeleton-line.is-chip {
  width: 42%;
  height: 1.45rem;
}

.passive-adoption-skeleton-line.is-title {
  width: 72%;
  height: 1.9rem;
}

.passive-adoption-skeleton-line.is-short {
  width: 56%;
}

.passive-adoption-skeleton-line.is-button {
  width: 48%;
  height: 2.8rem;
  margin-top: auto;
  border-radius: 999px;
}

@keyframes passiveSkeletonShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.passive-story-copy-empty {
  gap: 1rem;
}

.passive-story-copy-empty h1 {
  margin-top: 0.25rem;
}

@keyframes calendarSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.passive-adoption-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding-bottom: 1.5rem;
}

.passive-adoption-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 27rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at top right, rgba(62, 89, 16, 0.08), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(62, 89, 16, 0.08);
  box-shadow: 0 26px 60px rgba(62, 89, 16, 0.12);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.passive-adoption-card:hover,
.passive-adoption-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 32px 72px rgba(62, 89, 16, 0.16);
}

.passive-adoption-card-media {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  width: 100%;
  cursor: pointer;
}

.passive-adoption-badge {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(123, 75, 183, 0.92);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(123, 75, 183, 0.22);
  backdrop-filter: blur(6px);
}

.passive-adoption-medical-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f0c233;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(145, 102, 0, 0.18);
  backdrop-filter: blur(6px);
}

.passive-adoption-medical-badge-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.passive-adoption-medical-badge-icon img {
  width: 20px;
  height: 20px;
  display: block;
  filter: brightness(0) saturate(100%) invert(16%) sepia(80%) saturate(1150%) hue-rotate(4deg) brightness(84%) contrast(100%);
}

.passive-adoption-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.04));
  pointer-events: none;
}

.passive-adoption-card-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.passive-adoption-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
  padding: 1.25rem 1.35rem 1.35rem;
}

.passive-adoption-card-body h2 {
  margin: 0;
  font-family: "Averia Libre", cursive;
  color: var(--brand-deep);
  font-size: clamp(1.35rem, 2vw, 1.95rem);
  line-height: 1.05;
}

.passive-adoption-card-excerpt {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.passive-adoption-card-actions {
  display: flex;
  justify-content: stretch;
  margin-top: auto;
  opacity: 0;
  transform: translateY(0.45rem);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.passive-adoption-card:hover .passive-adoption-card-actions,
.passive-adoption-card:focus-within .passive-adoption-card-actions {
  opacity: 1;
  transform: translateY(0);
}

.passive-adoption-card-actions .button {
  width: 100%;
  justify-content: center;
  padding-inline: 1.2rem;
}

.passive-story-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  padding: 2rem 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.passive-story-breadcrumbs a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 800;
}

.passive-story-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas: "figure copy";
  gap: 2rem;
  align-items: start;
  padding: 2.2rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at top right, rgba(62, 89, 16, 0.08), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(247, 242, 232, 0.92));
  border: 1px solid rgba(62, 89, 16, 0.08);
  box-shadow: 0 26px 60px rgba(62, 89, 16, 0.12);
}

.passive-story-copy {
  grid-area: copy;
  display: grid;
  gap: 0.85rem;
}

.passive-story-copy .eyebrow {
  margin-bottom: 0.1rem;
}

.passive-story-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.passive-story-body {
  display: grid;
  gap: 0.75rem;
  max-width: 42rem;
}

.passive-story-figure {
  grid-area: figure;
  margin: 0;
  position: relative;
  display: grid;
  gap: 0.85rem;
  align-self: start;
}

.passive-story-figure .passive-adoption-badge {
  top: 1rem;
  right: 1rem;
}

.passive-story-share {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  width: 2.8rem;
  height: 2.8rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(62, 89, 16, 0.18);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.passive-story-toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  z-index: 1200;
  max-width: min(90vw, 28rem);
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: rgba(34, 49, 10, 0.96);
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 34px rgba(34, 49, 10, 0.22);
  transform: translate(-50%, 1rem);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.passive-story-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.passive-story-share:hover,
.passive-story-share:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(62, 89, 16, 0.22);
}

.passive-story-share img {
  width: 16px;
  height: 16px;
  display: block;
  transform: scale(0.5);
  transform-origin: center;
  filter: brightness(0) saturate(100%) invert(19%) sepia(29%) saturate(1384%) hue-rotate(42deg) brightness(88%) contrast(93%);
}

.passive-story-carousel {
  position: relative;
  display: grid;
  gap: 0.85rem;
  width: 100%;
}

.passive-story-carousel-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: 0 24px 50px rgba(62, 89, 16, 0.16);
}

.passive-story-slide {
  margin: 0;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: inherit;
}

.passive-story-slide.is-active {
  z-index: 1;
}

.passive-story-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.passive-story-carousel-thumbs {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  overflow-y: visible;
  padding: 0.35rem 0.15rem 1.55rem;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.passive-story-carousel-thumb {
  appearance: none;
  flex: 0 0 auto;
  width: 4.8rem;
  height: 4.8rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(62, 89, 16, 0.12);
  scroll-snap-align: start;
  box-sizing: border-box;
}

.passive-story-medical-note {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, rgba(255, 224, 135, 0.96), rgba(255, 203, 71, 0.92));
  color: #5d4300;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.45;
  box-shadow: 0 12px 28px rgba(145, 102, 0, 0.12);
  border: 1px solid rgba(145, 102, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.passive-story-medical-note.is-hidden {
  display: none;
}

.passive-story-medical-note-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 999px;
  background: #f0c233;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.passive-story-medical-note-icon img {
  width: 20px;
  height: 20px;
  display: block;
  filter: brightness(0) saturate(100%) invert(16%) sepia(80%) saturate(1150%) hue-rotate(4deg) brightness(84%) contrast(100%);
}

.passive-story-carousel-thumb.is-active {
  border-color: var(--brand);
  box-shadow: 0 14px 26px rgba(62, 89, 16, 0.18);
}

.passive-story-carousel-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.passive-story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.35rem;
}

.passive-story-actions .button {
  flex: 1 1 18rem;
}

.passive-story-actions .button-secondary {
  background: rgba(255, 255, 255, 0.86);
}

.passive-story-actions .button[hidden] {
  display: none !important;
}

@media (hover: none), (pointer: coarse) {
  .passive-adoption-card-actions {
    opacity: 1;
    transform: none;
  }
}

.monthly-donation-form {
  margin-top: 1.2rem;
}

.monthly-donation-field {
  gap: 0.85rem;
}

.monthly-donation-label {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
}

.monthly-donation-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.monthly-donation-pill {
  appearance: none;
  border: 1px solid rgba(62, 89, 16, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--brand-deep);
  padding: 1rem 1.1rem;
  font: inherit;
  font-weight: 800;
  text-align: center;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.monthly-donation-pill:hover {
  transform: translateY(-1px);
}

.monthly-donation-pill.is-selected {
  background: linear-gradient(135deg, var(--brand), #6d8a22);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(62, 89, 16, 0.22);
}

.monthly-donation-actions {
  margin-top: 1.4rem;
}

.monthly-donation-actions .button {
  width: 100%;
}

@media (max-width: 860px) {
  .volunteer-callout-card {
    flex-direction: column;
    align-items: stretch;
  }

  .volunteer-callout-actions {
    justify-content: flex-start;
  }

  .monthly-donation-options {
    grid-template-columns: 1fr;
  }

  .passive-story-carousel-stage {
    aspect-ratio: 1 / 1;
  }

  .passive-story-carousel-thumbs {
    gap: 0.5rem;
  }

  .passive-story-carousel-thumb {
    width: 4.1rem;
    height: 4.1rem;
  }

  .passive-story-shell {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    padding: 1.15rem;
  }

  .passive-story-figure {
    order: 1;
    width: 100%;
  }

  .passive-story-copy {
    order: 2;
    gap: 0.68rem;
    width: 100%;
  }

  .passive-story-copy .eyebrow {
    margin-bottom: 0;
  }

  .passive-story-copy p,
  .passive-story-body {
    max-width: none;
  }

  .passive-story-body {
    gap: 0.68rem;
  }

  .passive-story-actions {
    flex-direction: column;
    gap: 0.68rem;
  }

  .passive-story-actions .button {
    width: 100%;
    flex-basis: auto;
  }

  .passive-story-medical-note {
    font-size: 0.94rem;
    padding: 0.8rem 0.9rem;
  }

  .passive-story-medical-note-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
}

.involved-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.involved-card {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(62, 89, 16, 0.1);
  box-shadow: 0 16px 34px rgba(62, 89, 16, 0.08);
}

.involved-card h3 {
  margin: 0.45rem 0 0.7rem;
  font-size: 1.28rem;
}

.involved-card p:last-of-type {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.involved-card .button {
  margin-top: 1.2rem;
}

.involved-card-accent {
  background: linear-gradient(145deg, rgba(62, 89, 16, 0.94), rgba(78, 108, 19, 0.96));
  color: #ffffff;
}

.involved-card-accent .help-tag,
.involved-card-accent h3,
.involved-card-accent p {
  color: #ffffff;
}

.involved-card-accent .help-tag {
  background: rgba(255, 255, 255, 0.12);
}

.involved-card-accent p:last-of-type {
  color: rgba(255, 255, 255, 0.9);
}

.section-surrender {
  margin-top: 1.3rem;
  padding-top: 2rem;
  padding-inline: 2.2rem;
  padding-bottom: 2.25rem;
  margin-bottom: 1.75rem;
  border-top: 1px solid rgba(62, 89, 16, 0.12);
}

.surrender-shell {
  align-items: start;
}

.surrender-copy h2 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.surrender-illustration {
  display: grid;
  place-items: center;
  min-height: 16rem;
}

.surrender-illustration-frame {
  width: min(20rem, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 1.25rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(62, 89, 16, 0.14);
  box-shadow: 0 18px 44px rgba(62, 89, 16, 0.12);
}

.surrender-illustration-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
}

.document-illustration {
  width: 12rem;
  min-height: 14rem;
  padding: 1.8rem 1.4rem;
  border: 1px solid rgba(62, 89, 16, 0.18);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.45);
}

.document-illustration span {
  display: block;
  height: 0.7rem;
  margin-bottom: 1rem;
  background: rgba(62, 89, 16, 0.16);
  border-radius: 999px;
}

.document-illustration span:nth-child(1) {
  width: 68%;
}

.document-illustration span:nth-child(2) {
  width: 100%;
}

.document-illustration span:nth-child(3) {
  width: 82%;
}

.story-grid,
.help-grid,
.core-values,
.trust-grid,
.footer-grid {
  display: grid;
  gap: 1rem;
}

.story-grid {
  grid-template-columns: 1.45fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.story-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.core-values {
  align-content: start;
  gap: 1.25rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(62, 89, 16, 0.14);
}

.story-card h3,
.help-card h3,
.form-panel-header h3,
.policy-card h2,
.policy-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.18rem;
}

.story-card-wide {
  padding-right: 1.5rem;
}

.accent-card {
  background: transparent;
}

.core-values .story-card {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(62, 89, 16, 0.1);
}

.core-values .story-card:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.help-grid,
.footer-grid,
.trust-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.help-card {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.help-card-highlight {
  background: linear-gradient(145deg, rgba(62, 89, 16, 0.95), rgba(84, 113, 25, 0.95));
  color: white;
}

.help-card-highlight p,
.help-card-highlight .help-tag,
.help-card-highlight h3 {
  color: white;
}

.help-tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(62, 89, 16, 0.08);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-card {
  max-width: 64rem;
  padding: 0 0 0 1.5rem;
  border: 0;
  border-left: 4px solid rgba(62, 89, 16, 0.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.trust-card h3 {
  margin: 0;
  font-size: 1.3rem;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.trust-card .button-secondary {
  justify-self: start;
}

.pet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pet-card {
  position: relative;
  overflow: hidden;
  padding: 1.4rem;
  border-radius: var(--radius-xl);
}

.pet-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(216, 119, 47, 0.2), transparent 38%);
  pointer-events: none;
}

.pet-card-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.pet-avatar {
  display: inline-grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1.3rem;
  background: linear-gradient(135deg, rgba(62, 89, 16, 0.9), rgba(216, 119, 47, 0.85));
  color: white;
  font-family: "Averia Libre", cursive;
  font-size: 1.5rem;
}

.pet-status {
  display: inline-flex;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(62, 89, 16, 0.08);
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pet-card h3 {
  margin: 0.85rem 0 0.45rem;
  font-size: 1.45rem;
}

.pet-subtitle {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.pet-meta {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  gap: 0.55rem;
}

.pet-meta li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed rgba(62, 89, 16, 0.14);
}

.pet-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.pet-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.forms-shell {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: 1rem;
  border-radius: var(--radius-xl);
  padding: 1rem;
}

.touchpoint-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.touchpoint-card {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid rgba(62, 89, 16, 0.12);
}

.touchpoint-card h3,
.form-page-hero h1 {
  margin: 0;
}

.touchpoint-card p:last-of-type {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.form-page-body {
  min-height: 100vh;
}

.form-page-layout {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto 2rem;
}

.form-page-header {
  width: min(calc(100% - 2rem), var(--max-width));
}

.form-page-body .form-page-layout,
.form-page-body .form-page-header {
  width: min(calc(100% - 2rem), var(--max-width));
}

/* Narrow centered column for the actual question cards. */
.form-page-body .form-panel-header,
.form-page-body .sheet-form {
  width: min(80vw, 750px);
  margin-inline: auto;
}

.monthly-donation-page .form-panel-header,
.monthly-donation-page .lead-form {
  width: min(80vw, 750px);
  margin-inline: auto;
}

.form-page-main {
  display: grid;
  gap: 1.5rem;
  padding-top: 1.5rem;
}

.form-page-title {
  margin: 0;
  font-family: "Averia Libre", cursive;
  color: var(--brand);
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.05;
  white-space: nowrap;
}

.form-page-subtitle {
  margin: 0.85rem 0 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 56rem;
}

.form-page-hero,
.form-page-panel {
  border-radius: calc(var(--radius-xl) + 4px);
  padding: 2rem;
}

.form-page-hero {
  display: grid;
  gap: 0.9rem;
}

.form-page-hero p,
.form-page-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.form-page-panel .form-panel-header h3 {
  margin: 0;
}

.form-page-panel .form-panel-header p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.form-switcher {
  display: grid;
  gap: 0.75rem;
}

.form-tab {
  text-align: left;
  padding: 1rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(62, 89, 16, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-deep);
  font-weight: 800;
}

.form-tab.is-active {
  background: linear-gradient(135deg, var(--brand), #6d8a22);
  color: white;
  box-shadow: 0 18px 36px rgba(62, 89, 16, 0.22);
}

.form-panel {
  background: rgba(255, 253, 248, 0.92);
  border-radius: var(--radius-lg);
  padding: 1.3rem;
  border: 1px solid rgba(62, 89, 16, 0.09);
}

.form-page-panel-bare {
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.form-panel-bare {
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
}

.sheet-form {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.9rem;
}

.form-section {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(62, 89, 16, 0.1);
}

.form-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.form-section h2 {
  margin: 0 0 0.65rem;
  font-family: "Averia Libre", cursive;
  color: var(--brand-deep);
  font-size: 1.6rem;
  line-height: 1.15;
}

.calendar-embed-block {
  margin: 1rem 0 0;
}

.google-calendar-iframe {
  width: 100%;
  min-height: 28rem;
  border: 0;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 38px rgba(62, 89, 16, 0.1);
}

.calendar-placeholder {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px dashed rgba(62, 89, 16, 0.2);
  background: rgba(255, 255, 255, 0.78);
  color: var(--brand-deep);
}

.calendar-placeholder-title {
  margin: 0 0 0.35rem;
  font-weight: 800;
}

.calendar-placeholder-copy {
  margin: 0;
  color: rgba(62, 89, 16, 0.82);
}

.food-sponsorship-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.9rem 0 0.5rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.food-sponsorship-toggle input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--brand);
}

.food-sponsorship-mode-section {
  display: grid;
  gap: 1rem;
}

.food-sponsorship-mode-panel {
  display: grid;
  gap: 0.85rem;
  padding: 1rem 0 0;
}

.food-sponsorship-mode-panel.is-hidden {
  display: none !important;
}

.food-sponsorship-mode-panel.is-loading > :not(.food-calendar-loading) {
  filter: blur(2px);
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}

.food-sponsorship-mode-panel.is-loading .food-calendar-loading {
  position: relative;
  z-index: 1;
}

.food-calendar-loading[hidden],
[hidden] {
  display: none !important;
}

.food-calendar-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.food-calendar-nav-button {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(62, 89, 16, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--brand-deep);
  font-size: 1rem;
  font-weight: 800;
}

.food-calendar-title {
  text-align: center;
  font-family: "Averia Libre", cursive;
  font-size: 1.45rem;
  color: var(--brand-deep);
}

.food-calendar-root {
  display: grid;
  gap: 0.8rem;
}

.food-calendar-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(62, 89, 16, 0.8);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.35rem 0.15rem 0.1rem;
}

.food-calendar-loading-dot {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  border: 2px solid rgba(62, 89, 16, 0.28);
  border-top-color: var(--brand-deep);
  animation: foodCalendarSpin 0.8s linear infinite;
}

@keyframes foodCalendarSpin {
  to {
    transform: rotate(360deg);
  }
}

.food-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
  color: rgba(62, 89, 16, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.food-calendar-weekdays span,
.food-calendar-day {
  text-align: center;
}

.food-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.food-calendar-day {
  display: grid;
  place-items: center;
  min-height: 3rem;
  border: 1px solid rgba(62, 89, 16, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.86);
  color: var(--brand-deep);
  font-weight: 700;
}

.food-calendar-day.is-empty {
  visibility: hidden;
}

.food-calendar-day.is-past {
  opacity: 0.2;
  background: rgba(255, 255, 255, 0.84);
  color: rgba(62, 89, 16, 0.65);
  box-shadow: none;
}

.food-calendar-day.is-blocked {
  background: rgba(255, 255, 255, 0.96);
  color: transparent;
  opacity: 1;
  box-shadow: none;
}

.food-calendar-day.is-blocked:hover {
  transform: none;
}

.food-calendar-day.is-blocked .food-calendar-day-number {
  display: none;
}

.food-calendar-day-icon {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.food-calendar-day-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25em;
}

.food-calendar-day.is-selected {
  background: linear-gradient(135deg, var(--brand), #6d8a22);
  color: white;
  box-shadow: 0 10px 24px rgba(62, 89, 16, 0.22);
}

.food-calendar-summary,
.food-calendar-error {
  margin: 0;
  color: var(--muted);
}

.food-calendar-error {
  color: #9f381d;
  font-weight: 700;
}

.food-calendar-summary {
  font-size: 0.95rem;
}

.choice-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  gap: 0.7rem;
  margin-top: 0.6rem;
}

.choice {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start !important;
  gap: 8px;
  padding: 0.2rem 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
}

.choice input {
  margin: 0;
  width: 1.15rem !important;
  height: 1.15rem !important;
  accent-color: var(--brand);
  flex: 0 0 auto;
  margin-top: 2px;
}

.choice-grid,
.choice,
.choice * {
  text-align: left;
}

.choice-other {
  grid-column: 1 / -1;
  display: none;
  grid-template-columns: max-content 1fr;
  align-items: center;
  gap: 0.6rem;
  padding-left: 0.2rem;
}

.choice-other.is-visible {
  display: grid;
}

.choice-other label {
  font-size: 0.95rem;
  font-weight: 600;
}

.choice-other input {
  width: 100%;
}

.form-field textarea,
.form-field input:not([type="radio"]):not([type="checkbox"]),
.form-field select {
  margin-top: 0.25rem;
}

.form-field input[type="file"] {
  padding: 0.72rem 1rem;
  min-height: 3rem;
}

.form-field input[type="file"]::file-selector-button {
  margin-right: 0.9rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(62, 89, 16, 0.16);
  border-radius: 999px;
  background: rgba(62, 89, 16, 0.08);
  color: var(--brand-deep);
  font: inherit;
  font-weight: 700;
}

fieldset.form-field {
  margin: 0;
  padding: 1.1rem 1.1rem;
  border: 1px solid rgba(62, 89, 16, 0.14);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  min-inline-size: 0;
}

/* Use a normal in-card title instead of relying on <legend>, which sits on the border. */
.question-title {
  margin: 0 0 0.85rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-field.is-invalid {
  border-color: rgba(192, 43, 43, 0.65);
  box-shadow: 0 0 0 3px rgba(192, 43, 43, 0.08);
}

.field-error {
  margin-top: 0.45rem;
  color: #c02b2b;
  font-size: 0.9rem;
  line-height: 1.35;
}

.form-field-hint {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
  margin-top: -0.1rem;
}

.file-upload-state {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.6rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand);
  font-size: 0.84rem;
  line-height: 1.25;
}

.file-upload-state.is-loading {
  background: transparent;
}

.file-upload-state.is-ready {
  background: transparent;
}

.file-upload-state.is-error {
  background: transparent;
  color: #a92c2c;
}

.file-upload-state-icon {
  flex: 0 0 auto;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  opacity: 0;
}

.file-upload-state-summary {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 1.1rem;
  padding: 0.35rem 0.15rem 0.15rem;
}

.file-upload-state.is-loading .file-upload-state-icon {
  opacity: 1;
  animation: uploadSpin 1s linear infinite;
}

.file-upload-state-icon img,
.file-upload-item-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.file-upload-state.is-ready .file-upload-state-icon {
  opacity: 1;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.file-upload-state.is-error .file-upload-state-icon {
  opacity: 1;
  border-top-color: currentColor;
}

.file-upload-state-icon.has-check,
.file-upload-item-icon.has-check {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.file-upload-state-text {
  min-width: 0;
}

.file-upload-list {
  display: grid;
  gap: 0.15rem;
  margin-top: 0.05rem;
}

.file-upload-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.15rem 0.15rem 0.15rem 0.15rem;
  border-radius: 0;
  background: transparent;
  color: var(--brand);
  font-size: 0.83rem;
  line-height: 1.3;
}

.file-upload-item-icon {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  border: 0;
  opacity: 1;
}

.file-upload-item.is-loading {
  color: var(--brand);
}

.file-upload-item.is-loading .file-upload-item-icon {
  border: 2px solid currentColor;
  border-top-color: transparent;
  animation: uploadSpin 1s linear infinite;
}

.file-upload-item.is-ready {
  color: var(--brand);
}

.file-upload-item.is-ready .file-upload-item-icon {
  width: 1.05rem;
  height: 1.05rem;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.file-upload-item.is-error {
  color: #a92c2c;
}

.file-upload-item.is-error .file-upload-item-icon {
  opacity: 0.95;
}

.file-upload-item-text {
  min-width: 0;
  word-break: break-word;
  color: inherit;
}

.file-upload-item-size {
  opacity: 0.76;
}

@keyframes uploadSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.form-section-copy {
  display: grid;
  gap: 0.65rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.form-section-copy p,
.form-section-numbered,
.form-section-bullets {
  margin: 0;
}

.form-section-numbered,
.form-section-bullets {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.4rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.form-section-numbered li,
.form-section-bullets li {
  line-height: 1.45;
}

.rpp-box {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(62, 89, 16, 0.1);
  padding: 1.15rem 1.15rem;
  color: var(--muted);
  line-height: 1.75;
}

.rpp-box h3 {
  margin: 1rem 0 0.35rem;
  color: var(--brand-deep);
  font-size: 1rem;
}

.rpp-box ol,
.rpp-box ul {
  margin: 0.4rem 0 0.8rem 1.25rem;
  padding: 0;
}

.rpp-box li {
  margin: 0.35rem 0;
}

.form-actions-row-stacked {
  align-items: start;
  flex-direction: column;
}

.form-actions-row-stacked .button {
  width: 100%;
  justify-content: center;
}

.form-page-panel-embed {
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  overflow: visible;
}

.form-panel.google-form-embed {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
}

.google-form-iframe {
  display: block;
  width: 100%;
  border: 0;
  transform-origin: 0 0;
}

.lead-form {
  margin-top: 1.4rem;
}

.form-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.form-field {
  display: grid;
  gap: 0.45rem;
  padding: 1.1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(62, 89, 16, 0.14);
  background: rgba(255, 255, 255, 0.88);
  text-align: left;
}

.form-field.is-full {
  grid-column: 1 / -1;
}

.form-field legend,
.form-field label {
  color: var(--text);
  letter-spacing: 0;
  font-size: 1rem;
  font-weight: 700;
}

.form-field legend {
  padding: 0;
}

.form-field label span[aria-hidden="true"],
.form-field legend span[aria-hidden="true"] {
  color: #c02b2b;
  font-weight: 800;
}

.form-field input:not([type="radio"]):not([type="checkbox"]),
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid rgba(62, 89, 16, 0.16);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  color: var(--text);
  font: inherit;
}

.form-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-field input:not([type="radio"]):not([type="checkbox"]):focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 2px solid rgba(216, 119, 47, 0.24);
  border-color: rgba(216, 119, 47, 0.5);
}

.form-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.3rem;
}

.form-status {
  margin: 0;
  min-height: 1.5rem;
  font-size: 0.92rem;
}

.form-status.is-error {
  color: #9f2f21;
}

.form-status.is-success {
  color: var(--brand);
}

.submission-frame {
  display: none;
}

.instagram-feed {
  border-radius: var(--radius-xl);
  padding: 1.15rem;
  min-height: 20rem;
}

.instagram-stack {
  display: grid;
  gap: 1rem;
}

.instagram-subsection {
  display: grid;
  gap: 0.8rem;
}

.instagram-subsection-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.instagram-subsection-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.instagram-subsection-header p {
  margin: 0;
  color: var(--muted);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.instagram-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(62, 89, 16, 0.12);
}

.instagram-card img {
  width: 100%;
  aspect-ratio: 4 / 4;
  object-fit: cover;
}

.instagram-card-body {
  padding: 1rem;
}

.instagram-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.instagram-card a {
  display: inline-flex;
  margin-top: 0.9rem;
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.instagram-widget {
  width: 100%;
  min-height: 44rem;
  border: 0;
  border-radius: var(--radius-lg);
}

.instagram-empty {
  display: grid;
  place-items: center;
  min-height: 18rem;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(62, 89, 16, 0.22);
  background: rgba(255, 255, 255, 0.55);
  padding: 1.5rem;
}

.site-footer {
  width: 100%;
  margin-top: 3.5rem;
  margin-bottom: 0;
  padding: 3.25rem 0 0.2rem;
  border: 0;
  border-radius: 0;
  background: #3e5910;
  box-shadow: none;
  backdrop-filter: none;
}

.site-footer a {
  color: #ffffff;
}

.site-footer a:hover {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.74);
}

.footer-main {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.footer-brand-block {
  display: flex;
  align-items: center;
}

.footer-logo-link {
  display: inline-flex;
}

.footer-logo {
  width: min(15rem, 100%);
  height: auto;
  filter: none;
}

.footer-nav {
  display: grid;
  justify-items: start;
  gap: 2.15rem;
}

.footer-nav a {
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.footer-contact-block {
  display: grid;
  justify-items: end;
  gap: 1.4rem;
  text-align: right;
}

.footer-contact-block h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  max-width: none;
}

.footer-contact-block a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.98rem;
}

a.footer-donate-button {
  margin-top: 0.1rem;
  background: #ffffff;
  color: #3e5910;
  box-shadow: none;
  min-width: 10.25rem;
}

a.footer-donate-button:hover {
  color: #3e5910;
  background: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  width: 100%;
  margin-top: 2rem;
  padding: 1.05rem 0 0.95rem;
  background: transparent;
  border-top: 1px solid rgba(238, 240, 232, 0.18);
}

.site-footer p.footer-legal {
  margin: 0;
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
  color: rgba(238, 240, 232, 0.88);
  font-size: 0.9rem;
  line-height: 1.7;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.85rem;
  text-align: center;
}

.site-footer p.footer-legal a {
  color: rgba(238, 240, 232, 0.92);
  text-decoration: none;
}

.site-footer p.footer-legal a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.footer-separator {
  display: inline-block;
  margin: 0 0.65rem;
  color: rgba(238, 240, 232, 0.4);
}

.site-credit {
  width: 100%;
  margin: 0;
  padding: 0.95rem 0 1rem;
  text-align: center;
  background: var(--bg);
  color: rgba(62, 89, 16, 0.52);
  font-size: 0.95rem;
}

.pet-dialog {
  border: 0;
  width: min(44rem, calc(100% - 2rem));
  border-radius: var(--radius-xl);
  padding: 0;
  box-shadow: 0 40px 100px rgba(22, 34, 7, 0.34);
  background: transparent;
}

.pet-dialog::backdrop {
  background: rgba(17, 24, 10, 0.5);
  backdrop-filter: blur(6px);
}

#pet-dialog-content {
  position: relative;
  background: var(--surface-strong);
  border-radius: var(--radius-xl);
  padding: 1.6rem;
}

.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 0;
  background: rgba(31, 43, 24, 0.08);
  font-size: 1.5rem;
}

.pet-dialog-grid {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.2rem;
}

.pet-copy h3 {
  font-size: 2rem;
}

.pet-copy p {
  margin: 0.9rem 0 0;
}

.policy-body {
  min-height: 100vh;
}

.policy-layout {
  width: min(calc(100% - 2rem), 920px);
  margin: 2rem auto;
  border-radius: calc(var(--radius-xl) + 4px);
  padding: 2rem;
}

.policy-back {
  display: inline-flex;
  margin-bottom: 1.2rem;
  text-decoration: none;
  color: var(--brand);
  font-weight: 800;
}

.policy-hero h1 {
  margin: 0;
  font-family: "Averia Libre", cursive;
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.policy-hero p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.policy-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.policy-card {
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}

.policy-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.75;
}

.policy-card p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.terms-dialog {
  border: 0;
  width: min(54rem, calc(100% - 2rem));
  border-radius: 2rem;
  padding: 0;
  background: transparent;
  box-shadow: 0 42px 110px rgba(22, 34, 7, 0.34);
}

.terms-dialog::backdrop {
  background: rgba(17, 24, 10, 0.52);
  backdrop-filter: blur(8px);
}

.terms-dialog-card {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(238, 240, 232, 0.92));
  border: 1px solid rgba(62, 89, 16, 0.1);
}

.terms-dialog-head {
  display: grid;
  gap: 0.35rem;
}

.terms-kicker {
  margin: 0;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.terms-title {
  margin: 0;
  font-family: "Averia Libre", cursive;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--brand-deep);
}

.terms-scroll {
  max-height: min(58vh, 40rem);
  overflow: auto;
  padding: 1.2rem 1.25rem 1.3rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(62, 89, 16, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.terms-content {
  display: grid;
  gap: 1rem;
  color: var(--text);
  line-height: 1.78;
}

.terms-content p {
  margin: 0;
}

.terms-numbered,
.terms-bullets {
  margin: 0;
  padding-left: 1.35rem;
  display: grid;
  gap: 0.7rem;
}

.terms-numbered li,
.terms-bullets li {
  padding-left: 0.25rem;
}

.terms-signoff {
  padding-top: 0.25rem;
  font-weight: 600;
}

.terms-agree {
  display: flex;
  align-items: center;
  width: auto;
  gap: 0.6rem;
  padding: 0;
  color: var(--brand-deep);
  font-weight: 700;
  line-height: 1.1;
}

.terms-agree input {
  margin-top: 0;
  accent-color: var(--brand);
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  transform: scale(1.15);
  transform-origin: left top;
}

.terms-state {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand-deep);
  font-weight: 600;
  font-size: 0.95rem;
  align-items: flex-start;
  justify-content: flex-start;
}

.terms-state.is-loading,
.terms-state.is-success,
.terms-state.is-error {
  background: transparent;
}

.terms-state.is-success {
  background: transparent;
}

.terms-state.is-error {
  background: transparent;
}

.terms-state-feedback {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 0;
  margin-top: 0.1rem;
}

.terms-state-icon {
  position: relative;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  border-radius: 50%;
}

.terms-state.is-loading .terms-state-icon {
  border-radius: 50%;
  border: 2px solid rgba(62, 89, 16, 0.26);
  border-top-color: var(--brand);
  animation: termsSpinner 0.85s linear infinite;
}

.terms-state.is-success .terms-state-icon {
  background: url("assets/circle-check.svg") center / contain no-repeat;
}

.terms-state.is-error .terms-state-text {
  color: #b3261e;
}

@keyframes termsSpinner {
  to {
    transform: rotate(360deg);
  }
}

.terms-actions {
  display: flex;
  justify-content: flex-end;
}

.terms-actions .button {
  min-width: 10rem;
}

.terms-actions .button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.terms-dialog .button-primary {
  box-shadow: 0 14px 28px rgba(62, 89, 16, 0.2);
}

.terms-dialog .button-primary:hover {
  transform: translateY(-1px);
}

.terms-submit-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.92;
}

.terms-submit-loading::after {
  content: "";
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-top-color: #ffffff;
  animation: termsSpinner 0.85s linear infinite;
}

.terms-submit-loading .terms-submit-text {
  position: relative;
}

@media (max-width: 1080px) {
  .feature-shell,
  .surrender-shell,
  .about-layout,
  .story-grid,
  .help-grid,
  .touchpoint-grid,
  .forms-shell,
  .section-heading-inline,
  .pet-dialog-grid,
  .involved-grid {
    grid-template-columns: 1fr;
  }

  .illustration-note {
    max-width: min(16rem, 78%);
    padding: 0.75rem 0.9rem;
    border-radius: 1rem;
    font-size: 0.95rem;
  }

  .illustration-note-top {
    top: 0.6rem;
    right: 0.6rem;
  }

  .illustration-note-bottom {
    left: 0.6rem;
    bottom: 0.9rem;
  }

  .passive-adoption-grid,
  .passive-story-shell {
    grid-template-columns: 1fr;
  }

  .passive-adoption-skeleton-grid {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }

  .passive-adoption-skeleton-card {
    min-height: 21rem;
    border-radius: 1.6rem;
  }

  .passive-adoption-skeleton-body {
    padding: 1rem 1rem 1.05rem;
    gap: 0.75rem;
  }

  .passive-adoption-skeleton-line.is-title {
    width: 66%;
    height: 1.6rem;
  }

  .passive-adoption-skeleton-line.is-button {
    width: 58%;
    height: 2.35rem;
  }

  .hero-section {
    padding-top: 5rem;
  }

  .feature-illustration {
    min-height: 20rem;
  }

  .about-mark {
    justify-items: start;
  }

  .pet-grid,
  .instagram-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 2.5rem;
  }

  .footer-contact-block {
    justify-items: center;
    text-align: center;
  }

  .footer-brand-block {
    justify-content: center;
    width: 100%;
  }

  .footer-logo-link {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .footer-logo {
    margin-inline: auto;
  }

  .footer-nav {
    justify-items: center;
    text-align: center;
  }

  .section-heading-inline {
    align-items: start;
  }

  .passive-adoption-card-actions {
    opacity: 1;
    transform: none;
  }

  .terms-dialog {
    width: min(100% - 1rem, 54rem);
  }
}

@media (max-width: 860px) {
  .site-header {
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .site-header.is-scrolled {
    padding: 0.9rem;
  }

  .brand {
    min-width: 0;
    flex: 0 1 auto;
  }

  .brand-logo {
    height: 3.35rem;
    max-width: min(15rem, 72vw);
  }

  .header-actions {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
  }

  .hero-donation-button {
    display: inline-flex;
  }

  .hero-adopt-button {
    background: rgba(255, 255, 255, 0.78);
    color: var(--brand-deep);
    border: 1px solid rgba(62, 89, 16, 0.18);
    box-shadow: none;
  }

  /* Responsive rule: outside hero/footer, keep CTAs full-width and stacked. */
  main .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  main .cta-row > a,
  main .cta-row > button {
    width: 100%;
    justify-content: center;
  }

  main .about-actions {
    flex-direction: column;
    align-items: stretch;
  }

  main .about-actions > a,
  main .about-actions > button {
    width: 100%;
    justify-content: center;
  }

  main .involved-card .button,
  main .surrender-copy .button {
    width: 100%;
    justify-content: center;
  }

  .pet-grid,
  .instagram-grid,
  .form-fields {
    grid-template-columns: 1fr;
  }

  .forms-shell {
    padding: 0.8rem;
  }

  .form-actions-row {
    align-items: start;
    flex-direction: column;
  }

.form-page-body .form-page-layout,
.form-page-body .form-page-header {
  width: min(calc(100% - 2rem), var(--max-width));
}

.form-page-body .form-panel-header,
.form-page-body .sheet-form {
  width: min(calc(100% - 1rem), 750px);
}

.monthly-donation-page .form-page-layout,
.monthly-donation-page .form-page-header {
  width: min(calc(100% - 2rem), var(--max-width));
}

.monthly-donation-page .form-panel-header,
.monthly-donation-page .lead-form {
  width: min(80vw, 750px);
  margin-inline: auto;
}

}

@media (max-width: 640px) {
  .site-header,
  .hero-section,
  .section,
  .site-credit,
  .policy-layout,
  .form-page-layout,
  .form-page-header {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .site-header {
    top: 0.5rem;
    padding: 0.75rem 0;
  }

  .site-header.is-scrolled {
    padding: 0.75rem;
  }

  .brand-logo {
    height: 3rem;
    max-width: min(13.5rem, 74vw);
  }

  .hero-section {
    padding-top: 4.2rem;
    padding-bottom: 3rem;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 10vw, 5rem);
    line-height: 0.98;
  }

  .hero-lead {
    font-size: 0.92rem;
    line-height: 1.55;
    max-width: 33rem;
  }

  .form-page-main {
    padding-top: 2rem;
  }

  .form-page-body .form-panel-header {
    padding-top: 0.75rem;
  }

  .passive-adoption-page .passive-adoption-hero {
    padding-top: 1.8rem;
  }

  .passive-story-shell {
    padding: 1.1rem;
    gap: 1rem;
  }

  .passive-story-carousel-stage {
    aspect-ratio: 1 / 1;
  }

  .passive-story-carousel-thumbs {
    gap: 0.45rem;
    padding-bottom: 1.35rem;
  }

  .passive-story-carousel-thumb {
    width: 3.75rem;
    height: 3.75rem;
  }

  .passive-story-figure {
    gap: 0.7rem;
  }

  .passive-story-share {
    right: 0.85rem;
    bottom: 0.85rem;
    width: 2.6rem;
    height: 2.6rem;
  }

  .passive-story-toast {
    bottom: 1rem;
    max-width: calc(100vw - 2rem);
    padding: 0.75rem 0.95rem;
    font-size: 0.9rem;
  }

  .passive-story-actions {
    gap: 0.7rem;
  }

  .passive-adoption-card {
    min-height: 0;
  }

  .form-page-title {
    font-size: clamp(2rem, 7vw, 2.9rem);
  }

  .about-paw {
    width: 8.5rem;
    height: 8rem;
  }

  .feature-adopt .feature-shell,
  .section-involved,
  .section-surrender {
    padding-inline: 1.3rem;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }

  .adopt-illustration-frame {
    inset: 0.8rem;
  }

  .illustration-note {
    display: none;
  }

  .surrender-illustration {
    justify-content: start;
  }

  .site-footer {
    width: 100%;
    padding: 2.35rem 0 0.4rem;
  }

  .footer-main {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .site-footer p.footer-legal {
    width: min(calc(100% - 1rem), var(--max-width));
    flex-direction: column;
    gap: 0.5rem;
  }

  .site-footer p.footer-legal .footer-separator {
    display: none;
  }

  .footer-nav {
    gap: 1.15rem;
  }

  .footer-contact-block h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .footer-legal {
    font-size: 0.84rem;
  }

  .footer-separator {
    margin: 0 0.45rem;
  }

  .policy-layout {
    padding: 1.3rem;
  }

  .hero-donation-button,
  .hero-adopt-button {
    width: min(100%, 15rem);
    justify-content: center;
  }

  .terms-dialog-card {
    padding: 0.8rem;
    gap: 0.75rem;
    border-radius: 1.4rem;
  }

  .terms-scroll {
    max-height: min(42vh, 26rem);
    padding: 0.85rem;
    border-radius: 1rem;
  }

  .terms-dialog .terms-title {
    font-size: clamp(1.65rem, 6.2vw, 2.2rem);
  }

  .terms-content {
    gap: 0.75rem;
    line-height: 1.55;
  }

  .terms-actions {
    justify-content: stretch;
  }

  .terms-actions .button {
    width: 100%;
  }
}
