:root {
  --cream: #f8f1df;
  --ink: #241c13;
  --olive: #586233;
  --olive-dark: #3f4824;
  --gold: #e5a400;
  --paper: #fffaf0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(137,105,52,.06) 0 1px, transparent 1.5px) 0 0/11px 11px,
    linear-gradient(90deg, rgba(255,255,255,.35), transparent 22%, rgba(255,255,255,.25) 72%, transparent),
    var(--cream);
  color: var(--ink);
  font-family: "Trebuchet MS", Arial, sans-serif;
}
a { color: inherit; }
main { overflow: hidden; }

.hero {
  min-height: 660px;
  position: relative;
  display: grid;
  align-items: center;
  background: url("images/rescue-hero.png") center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,250,240,.55);
  pointer-events: none;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(248,241,223,.98) 0%, rgba(248,241,223,.91) 37%, rgba(248,241,223,.15) 62%, transparent 100%);
}
.hero-copy {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 80px 0;
}
.eyebrow, h2, h3, .button {
  font-family: Impact, "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: .065em;
}
.eyebrow { margin: 0; font-size: clamp(2.1rem, 5vw, 4.8rem); line-height: .95; }
.hero h1 {
  margin: 8px 0 24px;
  color: var(--gold);
  font: italic clamp(3.5rem, 7vw, 7.1rem)/.88 "Brush Script MT", "Segoe Script", cursive;
  font-weight: 500;
}
.hero h1 span, .benefits h2 span, .final-cta h2 span, cite span { color: var(--gold); }
.hero-intro { max-width: 490px; font-size: 1.16rem; line-height: 1.75; margin: 0 0 30px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 4px;
  box-shadow: 0 7px 18px rgba(44,36,19,.13);
  color: white;
  text-decoration: none;
  transition: transform .2s, filter .2s;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); filter: brightness(1.08); }
.button-olive { background: var(--olive); }
.button-gold { background: var(--gold); }

.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 76px 0; }
.plans-section { padding-top: 52px; }
.section-heading { display: flex; align-items: center; justify-content: center; gap: 22px; }
.section-heading span { width: 110px; height: 1px; background: currentColor; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.3rem); text-align: center; }
.paw-divider { text-align: center; color: var(--gold); margin: 5px 0 16px; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #cfbb91;
  border-radius: 9px;
  background: rgba(255,250,240,.84);
  box-shadow: 0 10px 30px rgba(65,49,18,.05);
}
.plan-photo {
  height: 285px;
  background-image: url("images/sponsor-triptych.png");
  background-size: 300% auto;
  background-repeat: no-repeat;
}
.crop-event { background-position: left center; }
.crop-dog { background-position: center center; }
.crop-monthly { background-position: right center; }
.plan-icon {
  width: 70px; height: 70px; margin: -35px auto 0; position: relative;
  border: 2px solid var(--paper); border-radius: 50%; color: white;
  display: grid; place-items: center; font: 2.2rem/1 Georgia, serif;
  box-shadow: 0 4px 12px rgba(38,29,12,.18);
}
.olive { background: var(--olive); }
.gold { background: var(--gold); }
.plan-body { padding: 18px 32px 28px; display: flex; flex: 1; flex-direction: column; align-items: center; }
.plan-body h3 { font-size: 1.72rem; margin: 0 0 14px; text-align: center; }
.plan-body p { text-align: center; line-height: 1.55; margin: 0 0 14px; }
.plan-body ul { list-style: none; padding: 0; margin: 0 0 22px; width: 100%; }
.plan-body li { position: relative; padding: 5px 0 5px 25px; }
.plan-body li::before { content: "◆"; color: var(--gold); position: absolute; left: 2px; top: 7px; font-size: .78rem; }
.plan-body .button { width: 100%; margin-top: auto; min-height: 46px; }

.impact-wrap {
  width: min(1260px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 60px 44px;
  background: linear-gradient(90deg, rgba(86,97,51,.82), rgba(113,117,76,.65)), url("images/rescue-hero.png") center 70%/cover;
  border-radius: 44% 3% 46% 2% / 8% 12% 9% 10%;
  color: #201c14;
}
.section-heading.light h2 { font-size: 2rem; }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.impact { text-align: center; display: flex; flex-direction: column; }
.impact-icon { font: 3rem/1 Georgia, serif; margin-bottom: 8px; }
.impact strong { font-size: 1.8rem; }
.impact span { margin-top: 5px; }

.benefits { text-align: center; }
.benefits h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); margin: 0 0 40px; }
.benefits h2 em { color: var(--gold); font: italic 1.25em "Brush Script MT", "Segoe Script", cursive; text-transform: none; letter-spacing: 0; }
.benefits-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.benefit { padding: 0 18px; display: flex; flex-direction: column; border-right: 1px solid #d9cba8; }
.benefit:last-child { border: 0; }
.benefit-icon { font: 2.7rem/1 Georgia, serif; height: 58px; }
.benefit strong, .benefit span { font-size: .92rem; line-height: 1.35; }

.testimonial {
  margin: 0;
  min-height: 350px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: url("images/rescue-testimonial.png") center/cover no-repeat;
  border: 10px solid rgba(255,250,240,.45);
  outline: 1px solid #dccaa4;
  border-radius: 14px 48% 10px 46% / 12px 8% 16px 10%;
  overflow: hidden;
}
.quote-copy {
  width: 55%;
  min-height: 350px;
  padding: 56px 54px 40px;
  background: linear-gradient(90deg, rgba(248,241,223,.12), rgba(248,241,223,.95) 24%);
}
.quote-mark { color: var(--gold); font: bold 6rem/.5 Georgia, serif; }
.quote-copy p { font-size: 1.45rem; line-height: 1.55; margin: 18px 0; }
.quote-copy cite { color: var(--olive-dark); font: italic 2.25rem/1.1 "Brush Script MT", "Segoe Script", cursive; }

.final-cta {
  text-align: center;
  padding: 55px 20px 75px;
  color: white;
  background:
    linear-gradient(rgba(59,68,31,.95), rgba(59,68,31,.96)),
    url("images/rescue-hero.png") center/cover;
  border-top: 8px solid rgba(255,250,240,.45);
}
.final-cta h2 { font-size: clamp(2.1rem, 4.7vw, 4rem); margin: 0 0 8px; }
.final-cta p { max-width: 760px; margin: 0 auto 24px; line-height: 1.6; font-size: 1.1rem; }
.final-cta .button { min-width: min(360px, 100%); }

@media (max-width: 900px) {
  .hero { min-height: 600px; background-position: 63% center; align-items: end; }
  .hero-shade { background: linear-gradient(0deg, rgba(248,241,223,.98) 0%, rgba(248,241,223,.92) 45%, rgba(248,241,223,.18) 80%, transparent); }
  .hero-copy { padding: 260px 0 54px; }
  .plans-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .plan-photo { height: 340px; }
  .impact-wrap { padding-inline: 28px; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .benefit { border: 0; }
  .benefit:last-child { grid-column: 1 / -1; }
  .testimonial { justify-content: stretch; background-position: 30% center; padding-top: 260px; }
  .quote-copy { width: 100%; min-height: 0; padding: 42px 30px; background: rgba(248,241,223,.94); }
}

@media (max-width: 560px) {
  .hero { min-height: 640px; background-position: 67% top; }
  .hero-copy { width: calc(100% - 34px); }
  .hero-intro { font-size: 1rem; line-height: 1.6; }
  .section { width: calc(100% - 28px); padding: 55px 0; }
  .section-heading { gap: 12px; }
  .section-heading span { width: 38px; }
  .plan-photo { height: 250px; }
  .plan-body { padding-inline: 22px; }
  .impact-wrap { width: calc(100% - 18px); padding: 30px 16px 38px; }
  .impact strong { font-size: 1.45rem; }
  .impact span { font-size: .88rem; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit:last-child { grid-column: auto; }
  .testimonial { padding-top: 220px; }
  .quote-copy p { font-size: 1.15rem; }
  .quote-copy cite { font-size: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
