:root {
  --rose: #c46a86;
  --rose-dark: #8f3f5b;
  --rose-soft: #f8dce6;
  --beige: #fbf3e6;
  --beige-deep: #ead5bd;
  --text: #3d2c2f;
  --muted: #7b6764;
  --line: #ead8cf;
  --white: #ffffff;
  --shadow: 0 14px 36px rgba(92, 58, 65, 0.12);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--beige);
  line-height: 1.6;
}

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

a {
  color: var(--rose-dark);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 243, 230, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  color: var(--rose-dark);
  letter-spacing: 0.01em;
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  padding: 8px 10px;
  font: inherit;
  color: var(--rose-dark);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--rose);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.social-links {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.social-links img {
  width: 22px;
  height: 22px;
}

.hero {
  background:
    radial-gradient(circle at top left, rgba(248, 220, 230, 0.95), transparent 34rem),
    linear-gradient(135deg, var(--beige), var(--rose-soft));
  color: var(--text);
}

.hero.simple {
  background:
    radial-gradient(circle at top left, rgba(248, 220, 230, 0.95), transparent 34rem),
    linear-gradient(135deg, var(--beige), var(--rose-soft));
  color: var(--text);
}

.hero-inner,
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px;
}

.hero-inner {
  min-height: 430px;
  display: grid;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0 0 18px;
  line-height: 1.15;
  color: inherit;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 18px;
}

.lead {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  max-width: 820px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 6px;
  background: var(--rose);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--rose);
}

.button:hover {
  background: var(--rose-dark);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  color: var(--rose-dark);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 44px;
  align-items: center;
}

.text-block {
  max-width: 820px;
}

.mission-section {
  display: grid;
  gap: 36px;
}

.mission-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: end;
}

.mission-intro h2,
.initiatives-heading h2,
.section-heading h2 {
  margin-bottom: 0;
}

.mission-intro .lead {
  margin-bottom: 0;
}

.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.values-list span {
  padding: 8px 14px;
  border: 1px solid var(--rose);
  border-radius: 999px;
  background: var(--rose-soft);
  color: var(--rose-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.initiatives-heading,
.section-heading {
  max-width: 720px;
}

.initiative-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.initiative {
  min-width: 0;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.initiative h3 {
  color: var(--rose-dark);
}

.initiative p {
  margin-bottom: 0;
}

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

.compact-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.partners-section {
  padding-top: 52px;
  padding-bottom: 52px;
}

.chapter-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.chapter-feature h2,
.chapter-cta h2,
.volunteer-cta h2 {
  margin-bottom: 12px;
}

.chapter-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chapter-actions {
  justify-content: flex-end;
}

.chapter-grid,
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.chapter-map-section {
  padding-bottom: 24px;
}

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

.chapter-map {
  min-height: 520px;
  width: 100%;
  background: var(--rose-soft);
}

.chapter-map .loading-message {
  padding: 24px;
}

.chapter-popup h3 {
  margin-bottom: 8px;
  color: var(--rose-dark);
  font-size: 1.05rem;
}

.chapter-popup p {
  margin-bottom: 10px;
}

.chapter-popup a {
  font-weight: 700;
}

.leaflet-popup::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -34px;
  width: 88px;
  height: 42px;
  transform: translateX(-50%);
}

.loading-message {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.chapter-card,
.role-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.chapter-card {
  display: flex;
  flex-direction: column;
  scroll-margin-top: 110px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.chapter-card.is-active {
  border-color: var(--rose);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.chapter-card h3,
.role-card h3 {
  color: var(--rose-dark);
}

.chapter-links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chapter-card a {
  font-weight: 700;
}

.chapter-location,
.best-for {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.chapter-cta,
.volunteer-cta {
  max-width: 820px;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.counter {
  text-align: center;
  background: var(--rose-soft);
  border-radius: 8px;
  padding: 40px 24px;
}

.counter strong {
  display: block;
  font-size: clamp(3rem, 9vw, 6rem);
  color: var(--rose-dark);
  line-height: 1;
  margin: 14px 0;
  font-variant-numeric: tabular-nums;
  transform-origin: center;
}

.counter strong.is-counting {
  animation: counter-pop 900ms cubic-bezier(0.2, 1.35, 0.35, 1) both;
}

@keyframes counter-pop {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.92);
  }

  58% {
    opacity: 1;
    transform: translateY(-4px) scale(1.045);
  }

  78% {
    transform: translateY(2px) scale(0.99);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.counter-note {
  display: block;
  max-width: none;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.counter-note [data-count] {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--rose-dark);
}

.testimonial-band {
  background: var(--rose-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.testimonial-band-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 58px 24px;
}

.testimonial-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
  margin-top: 28px;
}

.testimonial-quote {
  margin: 0;
  padding-left: 22px;
  border-left: 3px solid var(--rose);
}

.testimonial-quote blockquote {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 1.08rem;
}

.testimonial-quote figcaption {
  color: var(--rose-dark);
  font-weight: 700;
}

.image-frame {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}

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

.team-grid,
.card-grid,
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.card p:last-child,
.panel p:last-child {
  margin-bottom: 0;
}

.partner-grid img,
.event-grid img {
  width: 100%;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  object-fit: contain;
}

.partner-grid .card {
  display: grid;
  gap: 14px;
  align-content: center;
  text-align: center;
}

.partner-grid img {
  height: 170px;
  object-fit: contain;
  padding: 18px;
}

.partner-contact {
  max-width: 720px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.post-list {
  display: grid;
  gap: 24px;
}

.post-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.post-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.post-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.post-body {
  max-width: 820px;
}

.post-body p {
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.post-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.post-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
}

.notice {
  border-left: 4px solid var(--rose);
  padding: 16px 18px;
  background: var(--rose-soft);
  border-radius: 0 8px 8px 0;
}

.site-footer {
  background: var(--rose-dark);
  color: var(--white);
  margin-top: 36px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

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

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0 4px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-wrap {
    flex-wrap: wrap;
  }

  .split,
  .mission-intro,
  .initiative-grid,
  .chapter-feature,
  .team-grid,
  .card-grid,
  .partner-grid,
  .event-grid,
  .post-card,
  .post-gallery,
  .testimonial-list,
  .chapter-grid,
  .role-grid {
    grid-template-columns: 1fr;
  }

  .chapter-actions {
    justify-content: flex-start;
  }

  .hero-inner,
  .section {
    padding: 52px 20px;
  }

  .hero-inner {
    min-height: 360px;
  }

  .chapter-map {
    min-height: 420px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .counter strong.is-counting {
    animation: none;
  }

  .chapter-card {
    transition: none;
  }
}
