:root {
  --wood: #9d7153;
  --wood-dark: #593c2b;
  --wood-soft: #efe6df;
  --ink: #241a15;
  --muted: #715e52;
  --white: #fff;
  --line: rgba(89, 60, 43, 0.18);
  --shadow: 0 24px 70px rgba(36, 26, 21, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(36, 26, 21, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--white);
  padding: 3px;
  box-shadow: 0 6px 18px rgba(36, 26, 21, 0.12);
}

.site-nav {
  gap: clamp(14px, 2.5vw, 34px);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero,
.page-hero {
  position: relative;
  min-height: min(760px, 92svh);
  display: grid;
  align-items: end;
  padding: 136px clamp(18px, 6vw, 86px) 76px;
  overflow: hidden;
  color: var(--white);
  background-position: center;
  background-size: cover;
}

.hero-home {
  background-image: url("https://images.unsplash.com/photo-1450778869180-41d0601e046e?auto=format&fit=crop&w=1800&q=82");
}

.page-hero {
  min-height: 58svh;
}

.page-hero-missions {
  background-image: url("https://images.unsplash.com/photo-1444212477490-ca407925329e?auto=format&fit=crop&w=1800&q=82");
}

.page-hero-adoptions {
  background-image: url("https://images.unsplash.com/photo-1601758124510-52d02ddb7cbd?auto=format&fit=crop&w=1800&q=82");
}

.page-hero-donations {
  background-image: url("https://images.unsplash.com/photo-1548767797-d8c844163c4c?auto=format&fit=crop&w=1800&q=82");
}

.page-hero-contact {
  background-image: url("https://images.unsplash.com/photo-1548199973-03cce0bbc87b?auto=format&fit=crop&w=1800&q=82");
}

.page-hero-report,
.page-hero-prevention {
  background-image: url("https://images.unsplash.com/photo-1450778869180-41d0601e046e?auto=format&fit=crop&w=1800&q=82");
}

.page-hero-legal {
  background-image: url("https://images.unsplash.com/photo-1444212477490-ca407925329e?auto=format&fit=crop&w=1800&q=82");
}

.page-hero-story {
  background-image: url("https://images.unsplash.com/photo-1450778869180-41d0601e046e?auto=format&fit=crop&w=1800&q=82");
}

.page-hero-volunteer {
  background-image: url("https://images.unsplash.com/photo-1583511655857-d19b40a7a54e?auto=format&fit=crop&w=1800&q=82");
}

.page-hero-membership {
  background-image: url("https://images.unsplash.com/photo-1450778869180-41d0601e046e?auto=format&fit=crop&w=1800&q=82");
}

.page-hero-about {
  background-image: url("https://images.unsplash.com/photo-1601758228041-f3b2795255f1?auto=format&fit=crop&w=1800&q=82");
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(36, 26, 21, 0.78), rgba(36, 26, 21, 0.18) 58%, rgba(36, 26, 21, 0.38)),
    linear-gradient(0deg, rgba(36, 26, 21, 0.48), transparent 50%);
}

.hero-content {
  position: relative;
  max-width: 790px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--wood);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: #f0d2bd;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.8rem, 10vw, 9.4rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 6.6rem);
  line-height: 0.95;
}

h2 {
  max-width: 720px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 500;
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 630px;
  margin-bottom: 30px;
  font-size: clamp(1.08rem, 2vw, 1.4rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button-primary {
  background: var(--wood);
  color: var(--white);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.section {
  padding: clamp(70px, 10vw, 128px) clamp(18px, 6vw, 86px);
}

.intro-grid,
.two-column,
.donation-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 7vw, 110px);
  align-items: start;
}

.intro-grid p,
.donation-copy p,
.contact-details p {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.12rem;
}

.mission-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding-top: 0;
}

.mission-item {
  min-height: 280px;
  padding: clamp(22px, 3vw, 38px);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.mission-item:last-child {
  border-right: 0;
}

.mission-item span {
  display: block;
  margin-bottom: 70px;
  color: var(--wood);
  font-weight: 900;
}

.mission-item p,
.event-row p,
.adoption-card p {
  color: var(--muted);
}

.feature-band {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0;
  align-items: stretch;
  padding: 0;
  background: var(--wood-soft);
}

.feature-image {
  min-height: 520px;
  background-image: url("https://images.unsplash.com/photo-1601758177266-bc599de87707?auto=format&fit=crop&w=1500&q=82");
  background-position: center;
  background-size: cover;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 7vw, 90px);
  background: var(--white);
}

.feature-copy p {
  color: var(--muted);
}

.event-list {
  border-top: 1px solid var(--line);
}

.event-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.event-row time {
  color: var(--wood);
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--wood-dark);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(157, 113, 83, 0.35);
  text-underline-offset: 5px;
}

.adoption-intro {
  padding-bottom: clamp(20px, 3vw, 34px);
}

.adoption-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  padding-top: clamp(20px, 3vw, 34px);
}

.adoption-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.adoption-card div {
  padding: 28px;
}

.adoption-card h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.adoption-sex {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--wood-soft);
  color: var(--wood-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

/* Storytelling — dedicated "Notre histoire" page (alternating zigzag) */
.story-zigzag {
  display: grid;
  gap: clamp(44px, 7vw, 92px);
  max-width: 1080px;
  margin: 0 auto;
}

.story-step {
  display: flex;
}

.story-step-right {
  justify-content: flex-end;
}

.story-step-body {
  max-width: 56ch;
}

.story-step-right .story-step-body {
  text-align: right;
}

.story-step-label {
  margin: 0 0 10px;
  color: var(--wood);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  font-weight: 500;
  font-style: italic;
}

.story-step h2 {
  margin: 0 0 16px;
}

.story-step-body p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
}

.story-step-body p + p {
  margin-top: 14px;
}

/* Full-width quote break between the two zigzag groups */
.story-break {
  background: var(--wood-soft);
  text-align: center;
}

.story-break-quote {
  margin: 0 auto;
  max-width: 920px;
}

.story-break-quote p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4.2vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

/* Team / bureau — photo-less monogram cards */
.team-head {
  max-width: 640px;
  margin: 0 auto clamp(28px, 4vw, 44px);
  text-align: center;
}

.team-head h2 {
  margin: 6px 0 14px;
}

.team-head p {
  margin: 0;
  color: var(--muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
  max-width: 960px;
  margin: 0 auto;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(26px, 3vw, 36px) 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.team-monogram {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wood), var(--wood-dark));
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
}

.team-role {
  margin: 0;
  color: var(--wood);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-style: italic;
}

.team-name {
  margin: 4px 0 0;
  font-weight: 600;
  font-size: 1.1rem;
}

.team-bio {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Informational content pages (bénévole, adhésion, fonctionnement) */
.info-section-soft {
  background: var(--wood-soft);
}

.info-head {
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vw, 48px);
  text-align: center;
}

.info-head h2 {
  margin: 6px auto 14px;
}

.info-head p {
  margin: 0 auto;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
  max-width: 1080px;
  margin: 0 auto;
}

.info-card {
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.info-card h3 {
  margin: 0 0 8px;
  color: var(--wood-dark);
}

.info-card p {
  margin: 0;
  color: var(--muted);
}

.check-list {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.duo-block .check-list {
  margin: 0;
}

.check-list.reveal {
  text-align: center;
}

.check-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.step-list {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step-list li {
  position: relative;
  padding: 16px 0 16px 58px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.step-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--wood);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.step-list strong,
.check-list strong {
  color: var(--ink);
}

.duo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 56px);
  max-width: 1080px;
  margin: 0 auto;
}

.info-grid + .duo-grid {
  margin-top: clamp(34px, 5vw, 64px);
}

.duo-block h3 {
  margin: 0 0 14px;
  color: var(--wood-dark);
  font-size: 1.32rem;
}

.duo-block > p {
  color: var(--muted);
}

.callout {
  max-width: 760px;
  margin: clamp(26px, 3vw, 38px) auto 0;
  padding: clamp(18px, 2.4vw, 26px) clamp(20px, 3vw, 32px);
  border-left: 4px solid var(--wood);
  border-radius: 0 12px 12px 0;
  background: var(--wood-soft);
  color: var(--ink);
}

.info-note {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--muted);
  text-align: center;
}

.prose {
  max-width: 68ch;
  margin: clamp(22px, 3vw, 34px) auto 0;
  color: var(--muted);
}

.prose p {
  margin: 0 0 1.05em;
  line-height: 1.75;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* Home "comment ça marche" journey band */
.journey-band {
  background: var(--wood-soft);
}

.journey {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(18px, 3vw, 36px);
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: journey;
}

.journey-step {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  text-align: center;
}

.journey-num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wood), var(--wood-dark));
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.journey-step h3 {
  margin: 0 0 8px;
  color: var(--wood-dark);
}

.journey-step p {
  margin: 0;
  color: var(--muted);
}

.journey-actions {
  margin-top: clamp(28px, 4vw, 44px);
  text-align: center;
}

.story-cta {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--wood-soft);
  text-align: center;
}

.story-cta h2 {
  margin: 6px 0 16px;
}

.story-cta p {
  max-width: 56ch;
  margin: 0 auto;
  color: var(--muted);
}

.story-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

.story-actions .button-light {
  border-color: var(--wood);
  background: var(--white);
  color: var(--wood-dark);
}

.story-actions .button-light:hover {
  background: var(--wood-soft);
}

/* Carousel — shared mechanics (used by prevention banner and adoptions) */
.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 520ms cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--wood-dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 180ms ease, border-color 180ms ease;
}

.carousel-arrow:hover {
  background: var(--wood-soft);
}

.carousel-arrow-prev {
  left: clamp(12px, 2vw, 26px);
}

.carousel-arrow-next {
  right: clamp(12px, 2vw, 26px);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(89, 60, 43, 0.3);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.carousel-dot.is-active {
  background: var(--wood);
  transform: scale(1.25);
}

/* Prevention carousel — full-width, small-height awareness banner */
.prevention-carousel {
  position: relative;
  overflow: hidden;
  background: var(--wood-dark);
  color: var(--white);
}

.prevention-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: clamp(120px, 15vw, 168px);
  padding: 22px clamp(56px, 9vw, 104px);
  text-align: center;
}

.prevention-icon {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1;
}

.prevention-slide p {
  margin: 0;
  max-width: 68ch;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  color: rgba(255, 255, 255, 0.88);
}

.prevention-slide strong {
  color: var(--white);
}

.prevention-slide a {
  color: #f0d2bd;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Dark-theme overrides for the prevention banner controls */
.prevention-carousel .carousel-arrow {
  border-color: rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--white);
  box-shadow: none;
}

.prevention-carousel .carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--white);
}

.prevention-dots {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
}

.prevention-carousel .carousel-dot {
  background: rgba(255, 255, 255, 0.4);
}

.prevention-carousel .carousel-dot.is-active {
  background: var(--white);
}

/* Adoptions carousel — one animal card per slide */
.adoption-carousel-head {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.adoption-carousel-head h2 {
  margin: 6px auto 0;
}

.adoption-carousel {
  position: relative;
}

.adoption-slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  padding: 6px clamp(52px, 8vw, 96px);
}

.adoption-slide .adoption-card {
  width: 100%;
  max-width: 420px;
}

.adoption-slide .adoption-card img {
  aspect-ratio: 4 / 3;
}

.adoption-slide .adoption-card h3 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 500;
}

.adoption-slide-empty {
  align-items: center;
  min-height: clamp(220px, 30vw, 320px);
}

.adoption-slide-empty p {
  margin: 0;
  max-width: 38ch;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 500;
  text-align: center;
}

/* Storytelling — home teaser: editorial citation */
.story-quote-band {
  text-align: center;
  background: var(--wood-soft);
}

.story-quote-lead {
  max-width: 880px;
  margin: clamp(22px, 3vw, 34px) auto 0;
}

.story-quote-lead p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.6vw, 3.7rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
}

.story-quote-lead cite {
  display: block;
  margin-top: clamp(18px, 2.5vw, 28px);
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-style: normal;
  font-weight: 800;
}

.story-quote-lead cite::before {
  content: "— ";
}

.story-quote-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 26px;
  margin-top: clamp(28px, 4vw, 40px);
}

.story-quote-actions .text-link {
  margin-top: 0;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 56px);
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: var(--wood-soft);
}

.empty-state-icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 2.4rem;
}

.empty-state h2 {
  margin: 0;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.empty-state-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
}

/* The shared .button-light is white-on-transparent for dark heroes; on the
   light empty-state card it needs wood tones to stay legible. */
.empty-state-actions .button-light {
  border-color: var(--wood);
  background: var(--white);
  color: var(--wood-dark);
}

.empty-state-actions .button-light:hover {
  background: var(--wood-soft);
}

.notice {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-left: 4px solid var(--wood);
  border-radius: 8px;
  background: var(--wood-soft);
}

.notice p {
  margin: 0;
  color: var(--wood-dark);
}

.notice p + p {
  margin-top: 8px;
}

.notice .text-link {
  margin-top: 0;
}

.event-empty {
  padding: 28px 0;
  color: var(--muted);
  font-weight: 900;
}

.donation-form,
.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wood-soft);
}

label {
  display: grid;
  gap: 8px;
  color: var(--wood-dark);
  font-size: 0.92rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(89, 60, 43, 0.26);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
}

textarea {
  resize: vertical;
}

.form-message {
  margin: 0;
  padding: 14px;
  border-radius: 6px;
  background: var(--white);
  color: var(--wood-dark);
  font-weight: 800;
}

/* Donation module */
.donate-section {
  display: grid;
  gap: clamp(34px, 5vw, 56px);
}

.donate-section .info-head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.donate-module {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--wood-soft);
}

.donate-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  max-width: 420px;
  margin: 0 auto clamp(26px, 4vw, 38px);
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.donate-tab {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.donate-tab.is-active {
  background: var(--wood);
  color: var(--white);
}

.donate-panel[hidden] {
  display: none;
}

.donate-amounts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

.donate-amount {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.donate-amount:hover {
  transform: translateY(-3px);
  border-color: var(--wood);
  box-shadow: 0 18px 40px rgba(89, 60, 43, 0.14);
}

.donate-amount-value {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--wood-dark);
}

.donate-amount-value small {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--muted);
}

.donate-amount-after {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--wood);
}

.donate-amount-impact {
  flex: 1;
  color: var(--muted);
  font-size: 0.98rem;
}

.donate-choose {
  align-self: flex-start;
  margin-top: 6px;
  padding: 9px 22px;
  border-radius: 999px;
  background: var(--wood);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 900;
}

.donate-amount-custom {
  border-style: dashed;
}

.donate-tax {
  margin: clamp(24px, 3vw, 32px) 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--wood-dark);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

/* Reassurance row */
.reassure {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(16px, 3vw, 28px);
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  padding: 0;
  list-style: none;
}

.reassure-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--wood-dark);
  font-size: 0.98rem;
  font-weight: 800;
}

.reassure-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--wood-soft);
  color: var(--wood);
}

.donate-notice {
  display: flex;
  gap: clamp(16px, 3vw, 24px);
  align-items: flex-start;
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-left: 4px solid var(--wood);
  border-radius: 14px;
  background: var(--wood-soft);
}

.donate-notice-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--white);
  color: var(--wood);
}

.donate-notice h3 {
  color: var(--wood-dark);
  font-size: 1.2rem;
}

.donate-notice p {
  margin: 8px 0 18px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(18px, 6vw, 86px);
  border-top: 1px solid var(--line);
}

.footer-credit {
  flex-basis: 100%;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-credit a {
  color: var(--wood-dark);
  font-weight: 700;
}

.site-footer p {
  margin: 4px 0 0;
  color: var(--muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border-radius: 12px;
}

.footer-social {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--wood-dark);
  font-weight: 700;
  font-size: 0.92rem;
  transition: color 180ms ease;
}

.footer-social:hover {
  color: var(--wood);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.legal-layout {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

.legal-block h2 {
  margin-bottom: 20px;
}

.legal-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.legal-list > div {
  display: grid;
  grid-template-columns: minmax(200px, 0.4fr) 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.legal-list > div:first-child {
  border-top: 1px solid var(--line);
}

.legal-list dt {
  margin: 0;
  color: var(--wood-dark);
  font-weight: 900;
}

.legal-list dd {
  margin: 0;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (max-width: 940px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 4px;
    padding: 18px;
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .intro-grid,
  .two-column,
  .donation-layout,
  .contact-layout,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .mission-strip,
  .adoption-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mission-item:nth-child(2n) {
    border-right: 0;
  }

  .story-step-right {
    justify-content: flex-start;
  }

  .story-step-body,
  .story-step-right .story-step-body {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .hero,
  .page-hero {
    min-height: 86svh;
    padding: 118px 18px 54px;
  }

  .page-hero {
    min-height: 64svh;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 5.6rem);
  }

  .page-hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.7rem);
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-links {
    align-items: flex-start;
  }

  .legal-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .button {
    width: 100%;
  }

  .mission-strip,
  .adoption-grid {
    grid-template-columns: 1fr;
  }

  .mission-item {
    min-height: auto;
    border-right: 0;
  }

  .mission-item span {
    margin-bottom: 34px;
  }

  .event-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
