:root {
  --blue: #c96f4a;
  --blue-dark: #a65336;
  --navy: #29483b;
  --green: #6b8f71;
  --green-dark: #47684f;
  --yellow: #e5b84b;
  --sky: #eef3e9;
  --cream: #fbf8f1;
  --ink: #2d4038;
  --muted: #66756e;
  --line: #dddcd2;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(52, 76, 64, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: "Segoe UI", "Inter", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

main,
header,
footer,
section,
article,
div {
  min-width: 0;
}

input,
textarea,
select,
button {
  max-width: 100%;
}

a[href^="mailto:"] {
  overflow-wrap: anywhere;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: 10px;
  color: #fff;
  background: var(--navy);
  font-weight: 800;
  translate: 0 -180%;
  transition: translate 160ms ease;
}

.skip-link:focus {
  translate: 0 0;
}

#main-content:focus {
  outline: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(41, 72, 59, 0.1);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(100% - 48px, 1440px);
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 12px;
  line-height: 1.15;
}

.brand-mark {
  width: 62px;
  height: 62px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-header {
  gap: 12px;
}

.brand-emblem {
  width: 110px;
  height: 36px;
  flex: 0 0 auto;
}

.brand-emblem img {
  display: block;
  width: 110px;
  height: 36px;
}

.brand-wordmark {
  display: block;
  width: 170px;
  height: 27px;
  flex: 0 0 auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--navy);
  font-size: 1.16rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.brand small {
  margin-top: 4px;
  color: var(--ink);
  font-size: 0.82rem;
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 36px);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.desktop-nav a {
  position: relative;
  padding: 12px 0;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.button {
  min-height: 54px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(201, 111, 74, 0.24);
}

.button-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 14px 28px rgba(201, 111, 74, 0.3);
}

.button-outline {
  border-color: var(--green);
  color: var(--green-dark);
  background: #fff;
}

.button-outline:hover {
  background: #f2f6ef;
}

.header-cta {
  min-width: 140px;
}

.mobile-menu {
  display: none;
  margin-left: auto;
}

.mobile-menu summary {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span {
  width: 22px;
  height: 2px;
  display: block;
  background: var(--navy);
}

.mobile-menu nav {
  position: absolute;
  top: 87px;
  right: 20px;
  left: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  background: #fff;
  box-shadow: var(--shadow);
}

.mobile-menu nav a {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 750;
}

.mobile-menu nav a:last-child {
  border-bottom: 0;
}

.hero {
  position: relative;
  width: min(100% - 48px, 1440px);
  min-height: 780px;
  margin: 0 auto;
  padding: 92px 0 170px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.92fr);
  align-items: center;
  gap: clamp(44px, 6vw, 90px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

.eyebrow,
.kicker {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: 0.83rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.eyebrow {
  width: fit-content;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--yellow);
  letter-spacing: 0;
  text-transform: none;
}

.eyebrow span {
  margin-right: 8px;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(3.4rem, 5.2vw, 5.6rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero-lead {
  max-width: 680px;
  margin: 32px 0 0;
  color: #4f665b;
  font-size: clamp(1.1rem, 1.45vw, 1.35rem);
  line-height: 1.58;
}

.button-row {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-visual {
  position: relative;
  min-height: 600px;
}

.hero-visual img {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: 100%;
  height: 600px;
  border-radius: 38% 4% 42% 34%;
  object-fit: cover;
  object-position: 67% center;
  box-shadow: 0 18px 60px rgba(65, 92, 77, 0.15);
}

.hero-shape {
  position: absolute;
  z-index: 1;
  top: 24px;
  right: -20px;
  width: 98%;
  height: 610px;
  border-radius: 42% 2% 38% 38%;
  background: var(--sky);
  transform: rotate(3deg);
}

.sun-dot {
  position: absolute;
  z-index: 3;
  right: 6%;
  bottom: 20px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 12px 30px rgba(229, 184, 75, 0.26);
}

.event-card {
  position: absolute;
  z-index: 5;
  bottom: 52px;
  left: 26%;
  width: min(700px, 60vw);
  padding: 26px 30px;
  border: 1px solid rgba(41, 72, 59, 0.09);
  border-radius: 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 180ms ease;
}

.event-card:hover {
  transform: translateY(-3px);
}

.event-card strong,
.event-card span span {
  display: block;
}

.event-card strong {
  color: var(--navy);
  font-size: 1.22rem;
}

.event-card span span {
  color: #4f665b;
}

.event-card .event-place {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.event-icon {
  color: var(--green);
  font-size: 3rem;
  line-height: 1;
}

.event-arrow {
  color: var(--blue);
  font-size: 1.7rem;
}

.trust-strip {
  padding: 27px max(24px, calc((100vw - 1320px) / 2));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  background: var(--navy);
  color: #e3ece7;
  text-align: center;
}

.trust-strip span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-strip b {
  margin-right: 7px;
  color: #fff;
}

.section {
  width: min(100% - 48px, 1320px);
  margin: 0 auto;
  padding: 116px 0;
  scroll-margin-top: 96px;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 54px;
}

.section-heading h2,
.section h2,
.season-section h2,
.contact-section h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.45rem, 4vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.section-heading > p:last-child {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.kicker {
  margin-bottom: 16px;
  color: var(--blue);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  position: relative;
  min-height: 370px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(45, 64, 56, 0.06);
}

.step-number {
  position: absolute;
  top: 28px;
  right: 28px;
  color: #cbd5cf;
  font-size: 1.5rem;
  font-weight: 900;
}

.card-icon,
.donate-symbol {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.65rem;
  font-weight: 900;
}

.blue {
  background: var(--blue);
}

.green {
  background: var(--green);
}

.yellow {
  background: var(--yellow);
  color: var(--navy);
}

.step-card h3,
.donate-card h3 {
  margin: 26px 0 12px;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.2;
}

.step-card p,
.donate-card p {
  margin: 0;
  color: var(--muted);
}

.info-note {
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px solid #d3dfcf;
  border-radius: 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  background: var(--sky);
}

.info-note > span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.info-note p {
  margin: 0;
}

.info-note p strong {
  display: block;
}

.info-note a,
.inline-link {
  color: var(--blue-dark);
  font-weight: 800;
}

.issue-section {
  width: 100%;
  padding: 0;
  display: grid;
  grid-template-columns: 1.07fr 0.93fr;
  background: var(--blue);
  overflow: hidden;
}

.issue-card {
  max-width: 760px;
  margin-left: max(24px, calc((100vw - 1320px) / 2));
  padding: 92px 64px 92px 0;
  color: #fff;
}

.kicker-light {
  color: var(--yellow);
}

.issue-card h2,
.season-section h2 {
  color: #fff;
}

.issue-card > div:first-child > p:last-child {
  max-width: 660px;
  margin: 24px 0 0;
  color: #eef4f0;
  font-size: 1.08rem;
}

.issue-details {
  margin: 46px 0 0;
}

.issue-details > div {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
}

.issue-details dt {
  color: #d9e6de;
  font-weight: 750;
}

.issue-details dd {
  margin: 0;
}

.issue-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.button-white {
  color: var(--blue-dark);
  background: #fff;
}

.text-link-light {
  color: #fff;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.issue-image {
  min-height: 720px;
}

.issue-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  align-items: end;
  gap: 80px;
}

.donate-section .split-heading {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  gap: clamp(40px, 6vw, 90px);
}

.donate-section .split-heading h2 {
  white-space: nowrap;
  font-size: clamp(2.2rem, 3.6vw, 3.8rem);
}

.split-heading > p,
.split-heading > div:last-child p {
  margin: 0 0 6px;
  color: var(--muted);
}

.donate-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr;
  gap: 22px;
}

.donate-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.donate-card > p,
.donate-card.featured > div > p { padding-bottom: 24px; }

.donate-card .card-cta {
  min-height: 42px;
  margin-top: auto;
  padding: 10px 14px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  background: var(--sky);
  border: 1px solid #cad8d0;
  border-radius: 999px;
  font-size: clamp(0.72rem, 0.84vw, 0.84rem);
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.donate-card .card-cta:hover,
.donate-card .card-cta:focus-visible {
  background: #fff7df;
  border-color: var(--yellow);
  transform: translateY(-1px);
}

.donate-card.featured {
  padding: 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
}

.donate-card.featured img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
}

.donate-card.featured > div {
  padding: 32px;
  display: flex;
  flex-direction: column;
}


.card-label {
  padding: 6px 10px;
  border-radius: 8px;
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.needs-section {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.needs-image {
  position: relative;
}

.needs-image::before {
  position: absolute;
  z-index: -1;
  inset: -28px 28px 28px -28px;
  border-radius: 40px 10px 40px 10px;
  background: var(--sky);
  content: "";
}

.needs-image img {
  width: 100%;
  max-height: 620px;
  border-radius: 34px 8px 34px 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.check-list {
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px 24px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8f1e6;
  color: var(--green-dark);
  content: "✓";
  font-size: 0.82rem;
  font-weight: 900;
}

.small-note {
  margin-top: 28px;
  padding: 16px 20px;
  border-left: 4px solid var(--yellow);
  background: #fff8e5;
  color: #625b4d;
  font-size: 0.9rem;
}

.about-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.about-copy > p:not(.kicker) {
  color: var(--muted);
}

.about-copy .large-copy {
  margin-top: 28px;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 650;
}

.about-copy .button {
  margin-top: 20px;
}

.about-media {
  position: relative;
  padding-bottom: 80px;
}

.about-media > img {
  width: 100%;
  min-height: 610px;
  border-radius: 36px 8px 36px 8px;
  object-fit: cover;
}

.quote-card {
  position: absolute;
  right: 30px;
  bottom: 0;
  width: min(390px, 80%);
  padding: 26px 30px;
  border-radius: 20px;
  background: var(--yellow);
  color: var(--navy);
  box-shadow: var(--shadow);
}

.quote-card > span {
  height: 30px;
  display: block;
  font-family: Georgia, serif;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
}

.quote-card p {
  margin: 2px 0;
  font-size: 1.45rem;
  font-weight: 900;
}

.quote-card small {
  font-weight: 700;
}

.season-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: var(--navy);
  color: #fff;
}

.season-image {
  min-height: 650px;
}

.season-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.season-copy {
  max-width: 760px;
  padding: 100px clamp(40px, 8vw, 120px);
}

.season-copy > p:not(.kicker) {
  color: #dce8e1;
}

.season-note {
  padding: 14px 18px;
  border-left: 4px solid var(--yellow);
  background: rgba(255, 255, 255, 0.08);
}

.button-yellow {
  margin-top: 18px;
  background: var(--yellow);
  color: var(--navy);
}

.pet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pet-cta {
  margin-top: 10px;
}

.pet-gallery-toolbar {
  margin: 8px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pet-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pet-filter {
  min-height: 44px;
  padding: 10px 18px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.pet-filter:hover {
  transform: translateY(-1px);
  border-color: var(--green);
}

.pet-filter.is-active {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.pet-gallery-count {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  white-space: nowrap;
}

.pet-gallery-scroll {
  max-height: 650px;
  padding: 4px 12px 18px 4px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-color: var(--green) transparent;
}

.pet-gallery-scroll:focus-visible {
  border-radius: 14px;
}

.pet-load-more {
  margin: 20px auto 0;
  display: flex;
}

.pet-load-more[hidden] {
  display: none;
}

.pet-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.pet-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(45, 64, 56, 0.12);
}

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

.pet-card div {
  padding: 18px;
}

.pet-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.1rem;
}

.pet-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.contact-section {
  width: min(100% - 48px, 1320px);
  margin: 30px auto 116px;
  padding: 62px;
  border-radius: 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 50px;
  background: var(--sky);
}

.contact-section h2 {
  max-width: 840px;
  font-size: clamp(2.2rem, 3.8vw, 3.9rem);
}

.contact-section > div:first-child > p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.site-footer {
  padding: 76px max(24px, calc((100vw - 1320px) / 2)) 30px;
  background: #223a31;
  color: #dce8e1;
}

.footer-contact {
  margin-bottom: 60px;
  padding-bottom: 60px;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(44px, 7vw, 96px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-contact-copy h2 {
  margin: 8px 0 18px;
  color: #fff;
  font-size: clamp(2.2rem, 3.5vw, 3.7rem);
  line-height: 1.02;
}

.footer-contact-copy > p:last-child {
  max-width: 500px;
  color: #c4d4ca;
}

.footer-contact-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 750;
}

.footer-contact-form label small { color: #aec2b6; font-weight: 500; }
.footer-contact-form input,
.footer-contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
}

.footer-contact-form textarea { resize: vertical; }
.footer-contact-form input:focus,
.footer-contact-form textarea:focus { outline: 3px solid rgba(239, 189, 78, 0.55); }
.footer-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.footer-contact-form .footer-consent { grid-template-columns: 22px 1fr; align-items: start; font-weight: 500; line-height: 1.5; }
.footer-consent input { width: 19px; min-height: 19px; margin: 3px 0 0; padding: 0; border: 0; accent-color: var(--yellow); }
.footer-consent a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.footer-honeypot { position: absolute !important; left: -10000px !important; }
.footer-contact-status { margin-bottom: 18px; padding: 14px 16px; border-radius: 10px; }
.footer-contact-status.success { color: #183629; background: #dcecdf; }
.footer-contact-status.error { color: #6f241a; background: #ffe5de; }
.footer-contact-status ul { margin: 8px 0 0; }

.back-to-top {
  position: fixed;
  z-index: 40;
  right: clamp(16px, 2.5vw, 38px);
  bottom: clamp(16px, 2.5vw, 38px);
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(25, 49, 40, 0.25);
  font-size: 1.45rem;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover,
.back-to-top:focus-visible { color: var(--navy); background: var(--yellow); }

.site-footer .brand strong,
.site-footer .brand small {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.7fr;
  gap: 70px;
}

.footer-grid > div:first-child p {
  max-width: 430px;
  margin-top: 24px;
}

.footer-grid h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 1rem;
}

.footer-grid > div:not(:first-child) a {
  margin-bottom: 10px;
  display: block;
}

.footer-grid a:hover {
  color: var(--yellow);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #aec2b6;
  font-size: 0.82rem;
}

.admin-entry {
  color: inherit;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  opacity: 0.16;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.admin-entry:hover,
.admin-entry:focus-visible {
  color: #fff;
  opacity: 0.9;
}

.legal-page {
  min-height: 70vh;
  padding: 100px 24px 120px;
}

.legal-inner {
  width: min(100%, 900px);
  margin: 0 auto;
}

.legal-inner > a {
  color: var(--blue-dark);
  font-weight: 800;
}

.legal-inner h1 {
  margin: 28px 0 40px;
  color: var(--navy);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.legal-inner h2 {
  margin: 40px 0 12px;
  color: var(--navy);
  font-size: 1.4rem;
}

.legal-inner h3 {
  margin: 30px 0 8px;
  color: var(--navy);
  font-size: 1.1rem;
}

.legal-inner p,
.legal-inner li {
  color: var(--muted);
}

.legal-inner li + li {
  margin-top: 8px;
}

@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
    grid-template-columns: 1fr 0.82fr;
  }

  .event-card {
    left: 12%;
  }

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

  .donate-card.featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .header-inner {
    width: min(100% - 32px, 1440px);
  }

  .header-cta {
    display: none;
  }

  .hero {
    width: min(100% - 36px, 1440px);
    padding: 56px 0 170px;
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 11vw, 5.2rem);
  }

  .hero-visual {
    min-height: 480px;
  }

  .hero-visual img {
    height: 480px;
  }

  .hero-shape {
    height: 480px;
  }

  .event-card {
    right: 5%;
    bottom: 35px;
    left: 5%;
    width: 90%;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .trust-strip span + span {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }

  .step-grid,
  .issue-section,
  .needs-section,
  .about-section,
  .season-section,
  .split-heading,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: 0;
  }

  .issue-card {
    max-width: none;
    margin: 0;
    padding: 80px 36px;
  }

  .issue-image {
    min-height: 480px;
  }

  .split-heading {
    gap: 24px;
  }

  .donate-section .split-heading {
    grid-template-columns: 1fr;
  }

  .donate-section .split-heading h2 {
    white-space: normal;
  }

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

  .donate-card.featured {
    grid-column: auto;
  }

  .needs-image {
    order: 2;
  }

  .about-media > img {
    min-height: 500px;
  }

  .season-image {
    min-height: 500px;
  }

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

  .pet-gallery-scroll {
    max-height: 590px;
  }

  .contact-section {
    padding: 46px;
  }

  .contact-actions {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-contact { grid-template-columns: 1fr; }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .header-inner {
    width: calc(100% - 24px);
    min-height: 82px;
    gap: 10px;
  }

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

  .brand-header {
    gap: 6px;
  }

  .brand-emblem {
    width: 82px;
    height: 27px;
  }

  .brand-emblem img {
    width: 82px;
    height: 27px;
  }

  .brand-wordmark {
    width: 125px;
    height: 20px;
    min-width: 0;
  }

  .brand > span:last-child {
    min-width: 0;
  }

  .brand strong,
  .brand small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-menu {
    flex: 0 0 auto;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 0.98rem;
  }

  .brand small {
    font-size: 0.7rem;
  }

  .mobile-menu nav {
    position: fixed;
    top: 82px;
    right: 12px;
    left: 12px;
    max-height: calc(100dvh - 94px);
    overflow-y: auto;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-shape {
    right: 0;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 10vw, 2.65rem);
    letter-spacing: -0.045em;
    line-height: 1.02;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
  }

  .hero-lead {
    font-size: 1.02rem;
  }

  .button-row .button {
    width: 100%;
  }

  .hero-visual,
  .hero-visual img,
  .hero-shape {
    min-height: 390px;
    height: 390px;
  }

  .sun-dot {
    width: 76px;
    height: 76px;
  }

  .event-card {
    padding: 20px;
    grid-template-columns: auto 1fr;
    gap: 14px;
  }

  .event-arrow {
    display: none;
  }

  .event-icon {
    font-size: 2rem;
  }

  .event-card strong {
    font-size: 1rem;
  }

  .event-card span span {
    font-size: 0.82rem;
  }

  .section {
    width: calc(100% - 32px);
    padding: 82px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .step-card,
  .donate-card {
    padding: 26px;
  }

  .info-note {
    grid-template-columns: auto 1fr;
  }

  .info-note a {
    grid-column: 2;
  }

  .issue-details > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .issue-card {
    padding-right: 20px;
    padding-left: 20px;
  }

  .issue-image {
    min-height: 340px;
  }

  .donate-card.featured {
    grid-template-columns: 1fr;
  }

  .donate-card.featured img {
    min-height: 280px;
    max-height: 340px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .about-media {
    padding-bottom: 70px;
  }

  .about-media > img {
    min-height: 380px;
  }

  .quote-card {
    right: 14px;
  }

  .season-image {
    min-height: 360px;
  }

  .season-copy {
    padding: 70px 20px;
  }

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

  .pet-gallery-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .pet-gallery-count {
    white-space: normal;
  }

  .pet-gallery-scroll {
    max-height: none;
    padding: 4px 0 0;
    overflow: visible;
    overscroll-behavior: auto;
    scrollbar-gutter: auto;
  }

  .pet-card div {
    padding: 13px;
  }

  .pet-load-more {
    width: 100%;
  }

  .contact-section {
    width: calc(100% - 32px);
    margin-bottom: 82px;
    padding: 34px 20px;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-form-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-contact { margin-bottom: 44px; padding-bottom: 44px; }

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* Scroll- und Ladebewegung: ohne JavaScript bleibt jeder Inhalt sichtbar. */
@media (prefers-reduced-motion: no-preference) {
  .motion-ready [data-reveal] {
    opacity: 0;
    translate: 0 34px;
    transition:
      opacity 820ms cubic-bezier(0.22, 1, 0.36, 1),
      translate 920ms cubic-bezier(0.22, 1, 0.36, 1),
      scale 920ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, translate;
  }

  .motion-ready [data-reveal="left"] { translate: -48px 0; }
  .motion-ready [data-reveal="right"] { translate: 48px 0; }
  .motion-ready [data-reveal="scale"] { translate: 0 22px; scale: 0.965; }

  .motion-ready [data-reveal].is-revealed {
    opacity: 1;
    translate: 0 0;
    scale: 1;
    will-change: auto;
  }

  .hero-visual.is-revealed .sun-dot {
    animation: sun-pulse 4.8s ease-in-out 2s infinite;
  }

  @keyframes sun-pulse {
    0%, 100% { scale: 1; }
    50% { scale: 1.06; }
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
