@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Lora:wght@500;600;700&display=swap');

:root {
  --ink: #172019;
  --forest: #234337;
  --leaf: #4f8b67;
  --rose: #c96f58;
  --honey: #f2c36b;
  --mist: #eef5f0;
  --paper: #fbfaf4;
  --white: #fff;
  --muted: #65736a;
  --line: #dbe4dd;
  --shadow: 0 20px 60px rgba(29, 50, 37, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1160px, calc(100% - 44px)); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 244, .9);
  border-bottom: 1px solid rgba(23, 32, 25, .08);
  backdrop-filter: blur(18px);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 110;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: var(--paper);
  font-family: "Lora", serif;
  font-weight: 700;
  font-size: 24px;
}
.brand strong,
.brand small { display: block; line-height: 1.1; }
.brand strong { font-size: 16px; }
.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
  color: #394940;
}
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--rose); }
.nav-action {
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--white);
}
.nav-action:hover { color: var(--white) !important; background: var(--leaf); }
.nav-contact {
  display: grid;
  gap: 2px;
  line-height: 1.1;
  text-align: center;
  padding: 9px 14px;
}
.nav-contact span,
.nav-contact small { display: block; }
.nav-contact small {
  color: rgba(255,255,255,.82);
  font-size: 11px;
  font-weight: 700;
}
.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  position: relative;
  z-index: 110;
}
.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 7px auto;
  background: var(--ink);
  transition: transform .2s ease;
}

.hero {
  min-height: calc(100vh - 78px);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 118px 0 64px;
  overflow: hidden;
  color: var(--white);
}
.page-hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(35, 67, 55, .92), rgba(35, 67, 55, .76)),
    url("https://images.unsplash.com/photo-1561948955-570b270e7c36?auto=format&fit=crop&w=1800&q=80") center/cover;
  padding: 110px 0 74px;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px);
}
.page-hero .eyebrow { color: var(--honey); }
.page-hero .hero-lead { color: rgba(255,255,255,.9); }
.hero-media {
  position: absolute;
  inset: 0;
  background: var(--forest);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.96);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 34, 25, .86), rgba(20, 34, 25, .52) 48%, rgba(20, 34, 25, .15)),
    linear-gradient(0deg, rgba(20, 34, 25, .48), transparent 42%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-left: max(22px, calc((100vw - 1160px) / 2));
}
.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--rose);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
}
.hero .eyebrow { color: #ffd98b; }
h1,
h2,
h3 {
  font-family: "Lora", Georgia, serif;
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}
h1 {
  max-width: 760px;
  font-size: clamp(48px, 7vw, 92px);
}
h2 { font-size: clamp(34px, 4.4vw, 58px); }
h3 { font-size: 24px; }
.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: clamp(18px, 2vw, 22px);
  color: rgba(255, 255, 255, .9);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--rose); color: var(--white); }
.button.soft { background: rgba(255,255,255,.14); color: var(--white); border-color: rgba(255,255,255,.38); }
.button.dark { background: var(--forest); color: var(--white); }
.button.outline { background: transparent; color: var(--forest); border-color: var(--forest); }

.quick-actions {
  position: relative;
  z-index: 2;
  margin-top: -36px;
}
.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.action-grid a {
  min-height: 180px;
  padding: 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.action-grid a:last-child { border-right: 0; }
.action-grid span {
  color: var(--rose);
  font-size: 12px;
  font-weight: 800;
}
.action-grid strong {
  display: block;
  margin-top: auto;
  font-family: "Lora", serif;
  font-size: 24px;
  line-height: 1.1;
}
.action-grid small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.section { padding: 108px 0; }
.intro-grid,
.foster-grid,
.working-grid,
.impact-grid,
.plan-grid,
.contact-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.intro-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 18px;
}
.intro-copy p { margin: 0; }
.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}
.section-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.link-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.link-card {
  min-height: 245px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.link-card:hover {
  transform: translateY(-3px);
  border-color: var(--rose);
  box-shadow: var(--shadow);
}
.link-card span {
  color: var(--rose);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.link-card strong {
  display: block;
  font-family: "Lora", serif;
  font-size: 27px;
  line-height: 1.08;
}
.link-card p {
  margin: 0;
  color: var(--muted);
}
.featured-link {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}
.featured-link span { color: var(--honey); }
.featured-link p { color: rgba(255,255,255,.78); }
.compact-actions { margin-top: 0; }
.compact-actions a { min-height: 155px; }

.cats-section { background: var(--mist); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.cat-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.cat-card div { padding: 24px; }
.tag {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f8e6dc;
  color: #9a4c3f;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.cat-card h3 { font-size: 25px; }
.cat-card p:last-child,
.foster-grid p,
.working-grid p,
.impact-grid p,
.plan-grid p,
.download-panel p {
  color: var(--muted);
}

.foster-section { background: var(--paper); }
.framed-photo {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.framed-photo img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}
.check-list {
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  color: #405046;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--leaf);
}

.working-section {
  background: var(--forest);
  color: var(--white);
}
.working-section .section-kicker { color: var(--honey); }
.working-grid p { color: rgba(255,255,255,.78); font-size: 18px; }
.vetting-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.vetting-list span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 13px;
  font-weight: 700;
}
.working-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px;
  padding: 36px;
}
.working-card ol {
  padding-left: 22px;
  display: grid;
  gap: 14px;
  color: #415248;
}
.working-card p { color: var(--muted); margin-bottom: 0; }

.impact-section { background: #fff8e6; }
.impact-grid { align-items: start; }
.donation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.donation-panel {
  padding: 32px;
  background: var(--white);
  border: 1px solid #ead8aa;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.donation-panel h3 { font-size: 31px; }
.donation-options {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.donation-options a {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid #ead8aa;
  border-radius: 8px;
  background: #fffdf5;
  transition: transform .2s ease, border-color .2s ease;
}
.donation-options a:hover {
  transform: translateY(-2px);
  border-color: var(--rose);
}
.donation-options strong {
  font-family: "Lora", serif;
  font-size: 21px;
}
.donation-options span {
  color: #6f6047;
  font-size: 14px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #ead8aa;
  background: rgba(255,255,255,.5);
}
.donation-stats { margin-top: 32px; }
.stats div {
  padding: 28px;
  border-right: 1px solid #ead8aa;
}
.stats div:last-child { border-right: 0; }
.stats strong {
  display: block;
  font-family: "Lora", serif;
  font-size: 48px;
  line-height: 1;
  color: #8b5930;
}
.stats span {
  display: block;
  margin-top: 10px;
  color: #6f6047;
  font-weight: 700;
}

.contact-strip {
  padding: 72px 0;
  background: var(--ink);
  color: var(--white);
}
.contact-strip .section-kicker { color: var(--honey); }
.contact-links {
  display: grid;
  justify-items: start;
  gap: 12px;
}
.contact-links a,
.contact-links span {
  color: rgba(255,255,255,.82);
  font-weight: 700;
}
.footer {
  padding: 28px 0;
  background: #101711;
  color: rgba(255,255,255,.62);
  font-size: 14px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer p { margin: 0; }
.footer a { color: var(--white); font-weight: 800; }

@media (max-width: 960px) {
  .action-grid,
  .cat-grid,
  .link-card-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid,
  .foster-grid,
  .working-grid,
  .impact-grid,
  .plan-grid,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .framed-photo img { height: 460px; }
  .stats { grid-template-columns: 1fr; }
  .stats div {
    border-right: 0;
    border-bottom: 1px solid #ead8aa;
  }
  .stats div:last-child { border-bottom: 0; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 32px, 1160px); }
  .header-inner { min-height: 70px; }
  .menu-button { display: block; }
  .menu-button.active span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-button.active span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    padding: 110px 28px 40px;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    font-size: 26px;
  }
  .nav-links.open { display: flex; }
  .nav-action { font-size: 18px; }
  .hero {
    min-height: 760px;
    padding: 112px 0 52px;
  }
  .page-hero {
    min-height: 620px;
    padding: 106px 0 54px;
  }
  .hero-media::after {
    background: linear-gradient(0deg, rgba(20, 34, 25, .9), rgba(20, 34, 25, .18) 82%);
  }
  .hero-content { margin-left: auto; }
  .quick-actions { margin-top: 0; }
  .action-grid,
  .cat-grid,
  .link-card-grid { grid-template-columns: 1fr; }
  .action-grid a {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .action-grid a:last-child { border-bottom: 0; }
  .section { padding: 76px 0; }
  .framed-photo img { height: 360px; }
  .footer-inner { display: block; }
  .footer a { display: inline-block; margin-top: 12px; }
}

@media (max-width: 460px) {
  .brand strong { font-size: 14px; }
  .brand small { display: none; }
  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 21px;
  }
  h1 { font-size: 45px; }
  .hero-actions .button { width: 100%; }
  .donation-actions .button { width: 100%; }
  .cat-card h3 { font-size: 22px; }
  .working-card { padding: 26px; }
}
