:root {
  --primary: #2e7d32;
  --secondary: #4caf50;
  --background: #f8fbf7;
  --card: #ffffff;
  --text: #1e1e1e;
  --muted: #5f685f;
  --border: #e8f2e7;
  --accent: #dff5e1;
  --accent-strong: #caedcf;
  --accent-deep: #10351d;
  --success: #227a4b;
  --danger: #c65757;
  --shadow-soft: 0 18px 50px rgba(19, 47, 28, 0.08);
  --shadow-card: 0 24px 70px rgba(18, 44, 27, 0.1);
  --shadow-hover: 0 24px 80px rgba(26, 73, 41, 0.14);
  --radius-card: 24px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --container: 1400px;
  --section-space: clamp(80px, 10vw, 90px);
  --gutter: clamp(20px, 4vw, 40px);
  --transition: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 15%, rgba(76, 175, 80, 0.08), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(46, 125, 50, 0.09), transparent 20%),
    linear-gradient(180deg, #fcfefc 0%, var(--background) 42%, #fbfdfb 100%);
}

body.nav-open {
  overflow: hidden;
}

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

svg {
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: transparent;
}

textarea {
  resize: vertical;
}

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

ul,
ol,
dl {
  margin: 0;
  padding: 0;
}

main [id] {
  scroll-margin-top: 120px;
}

::selection {
  background: rgba(76, 175, 80, 0.18);
}

:focus-visible {
  outline: 3px solid rgba(76, 175, 80, 0.25);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1001;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--accent-deep);
  color: #fff;
  transform: translateY(-140%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.section-pad {
  padding-block: var(--section-space);
}

.section-heading {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.section-heading-centered {
  justify-items: center;
  text-align: center;
  margin-inline: auto;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

.section-kicker::before,
.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  box-shadow: 0 0 0 6px rgba(76, 175, 80, 0.12);
}

h1,
h2,
h3,
blockquote {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--text);
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  letter-spacing: -0.03em;
  line-height: 1;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.55rem);
}

.glass-card,
.metric-card,
.service-card,
.impact-card,
.mv-card,
.testimonial-card,
.action-card,
.contact-panel,
.contact-form-card,
.hero-ribbon,
.stat-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

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

.reveal-scale {
  transform: translateY(36px) scale(0.96);
}

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

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(223, 245, 225, 0.95), rgba(234, 249, 236, 0.95));
  color: var(--primary);
  flex: none;
}

.icon-badge-soft {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.icon-badge svg,
.social-row svg,
.carousel-button svg,
.lightbox-close svg {
  width: 24px;
  height: 24px;
}

.icon-badge svg *,
.social-row svg *,
.carousel-button svg *,
.lightbox-close svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

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

.brand-mark svg * {
  fill: currentColor;
  stroke: none;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
  overflow: hidden;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px) scale(1.01);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 14px 34px rgba(46, 125, 50, 0.24);
}

.btn-secondary {
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(46, 125, 50, 0.14);
  box-shadow: 0 12px 28px rgba(30, 66, 42, 0.08);
}

.ripple {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 650ms ease-out forwards;
  pointer-events: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--primary);
  font-weight: 700;
}

.text-link::after {
  content: "->";
  font-size: 0.9rem;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--accent-deep);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 18px 0 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px 18px;
  border: 1px solid rgba(232, 242, 231, 0.75);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(22px);
  box-shadow: 0 16px 34px rgba(19, 47, 28, 0.06);
  transition:
    background var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.site-header.is-scrolled .navbar {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 46px rgba(18, 45, 27, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--accent-deep);
  flex: none;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  width: clamp(68px, 5vw, 84px);
  height: clamp(68px, 5vw, 84px);
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary);
  overflow: hidden;
  box-shadow:
    0 14px 30px rgba(27, 63, 38, 0.12),
    inset 0 0 0 1px rgba(46, 125, 50, 0.12);
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.brand-copy small {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.2;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex: 1;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  color: #384438;
  font-size: 0.95rem;
  font-weight: 600;
  transition:
    color var(--transition),
    background var(--transition),
    transform var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--primary);
  background: rgba(223, 245, 225, 0.78);
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(46, 125, 50, 0.12);
  color: var(--accent-deep);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn-nav {
  min-height: 48px;
  padding-inline: 20px;
}

/* Hero */

.hero {
  position: relative;
  /* padding: 34px 0 92px; */
  overflow: clip;
}

.hero-shell {
  position: relative;
  z-index: 1;
  padding: clamp(38px, 4vw, 56px) clamp(24px, 4vw, 50px) 0;
  border: 1px solid rgba(232, 242, 231, 0.9);
  border-radius: 42px;
  background:
    radial-gradient(circle at 18% 14%, rgba(220, 239, 212, 0.92), transparent 28%),
    linear-gradient(90deg, rgba(239, 248, 237, 0.98) 0%, rgba(255, 255, 255, 0.98) 48%, rgba(248, 252, 247, 0.96) 100%);
  box-shadow: 0 26px 80px rgba(23, 56, 33, 0.1);
  overflow: hidden;
  isolation: isolate;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: auto auto -18% -12%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(76, 175, 80, 0.08);
  filter: blur(10px);
}

.hero-pattern,
.hero-orb {
  position: absolute;
  pointer-events: none;
}

.hero-pattern {
  inset: 0;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none'%3E%3Ccircle cx='26' cy='28' r='6' fill='%234caf50' fill-opacity='.08'/%3E%3Ccircle cx='44' cy='18' r='6' fill='%234caf50' fill-opacity='.08'/%3E%3Ccircle cx='62' cy='28' r='6' fill='%234caf50' fill-opacity='.08'/%3E%3Ccircle cx='78' cy='44' r='6' fill='%234caf50' fill-opacity='.08'/%3E%3Cpath d='M26 72c0-14 10-24 22-24s22 10 22 24c0 10-8 18-18 18H44c-10 0-18-8-18-18Z' fill='%232e7d32' fill-opacity='.05'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 180px 180px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 85%);
}

.hero-orb {
  border-radius: 50%;
  filter: blur(8px);
}

.hero-orb-one {
  top: 120px;
  left: -120px;
  width: 340px;
  height: 340px;
  background: rgba(76, 175, 80, 0.14);
}

.hero-orb-two {
  top: 60px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: rgba(46, 125, 50, 0.12);
}

.hero-orb-three {
  bottom: 100px;
  right: 20%;
  width: 180px;
  height: 180px;
  background: rgba(223, 245, 225, 0.85);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  min-height: auto;
  padding-bottom: 112px;
}

.hero-copy {
  max-width: 560px;
  padding-top: 8px;
}

.hero h1 {
  margin-top: 18px;
  max-width: 8.4ch;
  font-size: clamp(32px, 5.8vw, 64px);
  line-height: 0.94;
}

.hero-highlight {
  display: block;
  color: var(--primary);
}

.hero-lead,
.hero-support,
.about-text {
  margin: 0;
}

.hero-lead {
  margin-top: 30px;
  max-width: 34ch;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  color: #293129;
}

.hero-support {
  margin-top: 16px;
  max-width: 38ch;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.btn-hero {
  padding-inline: 26px;
}

.hero-stats {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  padding: 22px 18px;
}

.stat-card dt {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.stat-card dd {
  margin: 10px 0 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1;
  color: var(--primary);
}

.hero-media {
  position: relative;
  min-height: 620px;
}

.hero-collage {
  position: relative;
  min-height: 620px;
  height: 100%;
}

.hero-frame,
.about-photo-main,
.about-photo-side,
.volunteer-photo {
  overflow: hidden;
  /* border-radius: clamp(28px, 4vw, 38px); */
  /* border: 1px solid rgba(255, 255, 255, 0.42); */
  /* box-shadow: var(--shadow-card); */
  /* background: var(--card); */
}

.hero-frame {
  position: absolute;
  overflow: visible;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  transition: transform 320ms ease, box-shadow var(--transition);
  will-change: transform;
}

.hero-frame img,
.about-photo-main img,
.about-photo-side img,
.volunteer-photo img,
.gallery-trigger img,
.lightbox-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.hero-frame:hover img,
.about-photo-main:hover img,
.about-photo-side:hover img,
.volunteer-photo:hover img,
.gallery-trigger:hover img {
  transform: scale(1.05);
}

.hero-frame-main {
  inset: 0;
}

.hero-frame-main img {
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 34px 36px rgba(56, 73, 36, 0.14));
}

.hero-ring {
  position: absolute;
  top: 10%;
  right: 7%;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 245, 225, 0.96) 0%, rgba(223, 245, 225, 0.86) 56%, rgba(223, 245, 225, 0) 57%);
  box-shadow:
    0 0 0 14px rgba(223, 245, 225, 0.9),
    0 0 0 34px rgba(223, 245, 225, 0.34);
  opacity: 0.82;
}

.hero-ring-secondary {
  top: 13%;
  right: 10%;
  width: 70%;
  background: none;
  box-shadow: none;
  border: 2px solid rgba(255, 255, 255, 0.72);
  opacity: 0.66;
  transform: rotate(10deg);
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
  padding: 18px 18px 18px 16px;
  border-radius: 22px;
  background: rgba(16, 53, 29, 0.82);
  color: #f4fff5;
  box-shadow: 0 18px 50px rgba(14, 32, 20, 0.24);
  backdrop-filter: blur(16px);
  animation: float 6s ease-in-out infinite;
}

.floating-card strong,
.ribbon-card h2,
.impact-card h3,
.service-card h3,
.mv-card h3,
.contact-panel h3,
.contact-form-card h3,
.action-card h3,
.testimonial-card h3 {
  font-size: 1.1rem;
  line-height: 1.25;
}

.floating-card span {
  display: block;
  margin-top: 4px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(244, 255, 245, 0.8);
}

.floating-card-rescue {
  left: 0;
  top: 2%;
}

.floating-card-care {
  left: 18%;
  bottom: 2%;
  animation-delay: 0.5s;
}

.floating-card-adoption {
  right: 0;
  top: 40%;
  animation-delay: 1s;
}

.leaf-shape {
  position: absolute;
  width: 42px;
  height: 24px;
  border-radius: 100% 0;
  background: linear-gradient(135deg, rgba(91, 189, 95, 0.95), rgba(46, 125, 50, 0.95));
  box-shadow: 0 10px 24px rgba(46, 125, 50, 0.18);
  opacity: 0.92;
}

.leaf-one {
  top: 12%;
  left: 56%;
  transform: rotate(18deg);
}

.leaf-two {
  top: 56%;
  right: 7%;
  transform: rotate(-22deg);
}

.leaf-three {
  bottom: 20%;
  left: 48%;
  transform: rotate(42deg);
}

.leaf-four {
  top: 20%;
  left: 18%;
  transform: rotate(24deg);
}

.leaf-five {
  bottom: 18%;
  right: 18%;
  transform: rotate(-32deg);
}

.hero-ribbon {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: min(calc(100% - 64px), 1200px);
  padding: 24px 28px;
  margin: -48px auto 0;
  background:
    linear-gradient(135deg, rgba(16, 53, 29, 0.96), rgba(34, 105, 43, 0.94)),
    #13381c;
  color: rgba(255, 255, 255, 0.88);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(12, 35, 20, 0.22);
  backdrop-filter: blur(16px);
}

.ribbon-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-radius: 20px;
  transition: transform var(--transition), background var(--transition);
}

.ribbon-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.ribbon-card + .ribbon-card {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-ribbon .icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.3), rgba(46, 125, 50, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  flex: none;
}

.ribbon-card h2 {
  font-size: 1.08rem;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.ribbon-card p {
  margin: 2px 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.74);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 640px;
}

.about-photo-main {
  position: absolute;
  inset: 0 14% 7% 0;
}

.about-photo-side {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 42%;
}

.about-overlay-card {
  position: absolute;
  left: 32px;
  bottom: 32px;
  max-width: 260px;
  padding: 24px;
}

.about-overlay-card h3 {
  margin-top: 14px;
}

.about-content {
  display: grid;
  gap: 30px;
}

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

.metric-card {
  padding: 24px 20px;
}

.metric-card strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
  color: var(--primary);
}

.metric-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}

.about-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.glass-card {
  padding: 26px;
}

.about-card-grid .glass-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 360px;
  padding: 32px 30px;
}

.about-card-grid .glass-card h3 {
  font-size: 1.2rem;
  line-height: 1.25;
}

.about-card-grid .glass-card p,
.about-card-grid .glass-card li {
  font-size: 1rem;
  line-height: 1.75;
}

.about-card-grid .glass-card p {
  margin-top: 18px;
}

.glass-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.value-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.value-list li,
.mission-list li {
  position: relative;
  padding-left: 24px;
}

.value-list li::before,
.mission-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  transform: translateY(-50%);
}

/* Section Intro */

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  gap: 28px;
  align-items: center;
  margin-bottom: 30px;
}

.section-intro-reverse {
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
}

.section-intro .section-heading,
.section-intro .testimonial-header {
  max-width: none;
  margin-bottom: 0;
}

.section-photo-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 32px;
}

.section-photo-card img {
  object-fit: cover;
}

.section-intro .section-photo-card {
  width: min(100%, 240px);
  margin-bottom: 0;
}

.section-intro:not(.section-intro-reverse) .section-photo-card {
  justify-self: end;
}

.section-intro.section-intro-reverse .section-photo-card {
  justify-self: start;
}

.section-intro-visual img {
  width: 100%;
  height: 100%;
  min-height: 240px;
}

.section-intro-visual figcaption {
  display: none;
}

.section-photo-card figcaption {
  position: absolute;
  inset: auto 22px 22px;
  max-width: min(34ch, calc(100% - 44px));
  margin: 0;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(12, 35, 20, 0.66);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  line-height: 1.55;
  backdrop-filter: blur(12px);
}

/* Impact */

.section-intro-visual {
  margin-bottom: 0;
}

.about-intro-visual img,
.impact-visual img,
.volunteer-intro-visual img {
  object-fit: contain;
  object-position: center;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.impact-card {
  padding: 28px 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 251, 245, 0.95)),
    var(--card);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.impact-card:hover,
.service-card:hover,
.mv-card:hover,
.testimonial-card:hover,
.action-card:hover,
.contact-panel:hover,
.metric-card:hover,
.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(46, 125, 50, 0.18);
}

.impact-number {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  color: var(--primary);
}

.impact-card h3 {
  margin-top: 18px;
}

.impact-card p,
.service-card p,
.mv-card p,
.testimonial-card blockquote,
.action-card p,
.contact-panel p,
.contact-form-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* Services */

.services-showcase img {
  min-height: 320px;
  object-position: center 32%;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 30px;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.service-card h3 {
  margin-top: 20px;
}

/* Gallery */

.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.filter-button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  color: var(--primary);
  background: rgba(223, 245, 225, 0.8);
  border-color: rgba(46, 125, 50, 0.14);
  transform: translateY(-1px);
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 56px;
  gap: 20px;
}

.gallery-item {
  grid-row: span 5;
  min-height: 0;
}

.gallery-item-tall {
  grid-row: span 9;
}

.gallery-item-wide {
  grid-row: span 5;
}

.gallery-item-soft {
  grid-row: span 6;
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-trigger {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: block;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(251, 253, 251, 0.98), rgba(242, 248, 242, 0.96));
  box-shadow: 0 16px 34px rgba(18, 44, 27, 0.08);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.gallery-trigger::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 60%;
  background: linear-gradient(180deg, transparent, rgba(7, 22, 12, 0.76));
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 24px;
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--transition),
    transform var(--transition);
}

.gallery-overlay strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.3;
}

.gallery-overlay span {
  display: block;
  margin-top: 6px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.74);
}

.gallery-page-main {
  padding-top: 20px;
}

.gallery-page-hero {
  padding-bottom: 20px;
}

.gallery-page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 24px;
  align-items: stretch;
}

.gallery-page-copy,
.gallery-page-note,
.gallery-page-cta {
  border: 1px solid var(--border);
  border-radius: 34px;
  box-shadow: var(--shadow-card);
}

.gallery-page-copy {
  padding: clamp(30px, 4vw, 48px);
  background:
    radial-gradient(circle at top left, rgba(223, 245, 225, 0.98), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 251, 244, 0.96));
}

.gallery-page-copy h1 {
  margin-top: 18px;
  max-width: 10.5ch;
  font-size: clamp(2.9rem, 6vw, 5rem);
  line-height: 0.92;
}

.gallery-page-copy p {
  margin: 18px 0 0;
  max-width: 50ch;
  color: var(--muted);
}

.gallery-page-lead {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  color: #293129;
}

.gallery-page-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.gallery-page-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(46, 125, 50, 0.1);
  background: rgba(223, 245, 225, 0.82);
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
}

.gallery-page-note {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(28px, 3vw, 34px);
  background:
    radial-gradient(circle at top right, rgba(137, 212, 118, 0.18), transparent 30%),
    linear-gradient(160deg, rgba(16, 53, 29, 0.98), rgba(46, 125, 50, 0.92));
}

.gallery-page-note .section-kicker {
  color: #e0f6e3;
}

.gallery-page-note .section-kicker::before {
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.14);
}

.gallery-page-note h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.gallery-page-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.gallery-page-note .btn-secondary {
  background: rgba(255, 255, 255, 0.94);
}

.gallery-page-section {
  padding-top: 8px;
}

.gallery-page-masonry {
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid rgba(46, 125, 50, 0.12);
  border-radius: 36px;
  background:
    radial-gradient(circle at top left, rgba(223, 245, 225, 0.72), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 244, 0.96));
  box-shadow: var(--shadow-card);
}

.gallery-page-masonry .gallery-trigger {
  border-radius: 24px;
}

.gallery-page-masonry .gallery-overlay {
  padding: 22px;
}

.gallery-item-featured {
  grid-row: span 8;
}

.gallery-item-portrait {
  grid-row: span 7;
}

.gallery-item-landscape {
  grid-row: span 5;
}

.gallery-item-square {
  grid-row: span 4;
}

.gallery-item-panorama {
  grid-row: span 6;
}

.gallery-trigger:hover,
.gallery-trigger:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(46, 125, 50, 0.16);
}

.gallery-trigger:hover::after,
.gallery-trigger:focus-visible::after {
  opacity: 1;
}

.gallery-trigger:hover .gallery-overlay,
.gallery-trigger:focus-visible .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-page-cta-wrap {
  padding-top: 12px;
}

.gallery-page-cta {
  padding: clamp(30px, 4vw, 42px);
  text-align: center;
  background:
    radial-gradient(circle at top center, rgba(223, 245, 225, 0.94), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 250, 242, 0.96));
}

.gallery-page-cta h2 {
  margin-top: 18px;
}

.gallery-page-cta > p:last-of-type {
  max-width: 54ch;
  margin: 18px auto 0;
  color: var(--muted);
}

.gallery-page-cta .hero-actions {
  justify-content: center;
}

/* Mission and Vision */

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

.mv-card {
  position: relative;
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(76, 175, 80, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 250, 242, 0.96));
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.mv-card-vision {
  overflow: hidden;
}

.mission-list {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.vision-illustration {
  position: relative;
  min-height: 180px;
  margin-top: 22px;
}

.vision-ring {
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(46, 125, 50, 0.2);
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(223, 245, 225, 0.55), transparent 70%);
}

.mission-visual-card img {
  min-height: 250px;
  object-fit: contain;
}

/* Testimonials */

.testimonial-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.carousel-controls,
.lightbox-controls {
  display: flex;
  gap: 12px;
}

.carousel-button,
.lightbox-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.84);
  color: var(--accent-deep);
  box-shadow: var(--shadow-soft);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.carousel-button:hover,
.carousel-button:focus-visible,
.lightbox-close:hover,
.lightbox-close:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(46, 125, 50, 0.18);
}

.testimonial-rail {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.testimonial-rail::-webkit-scrollbar {
  display: none;
}

.testimonial-intro .testimonial-header {
  margin-bottom: 0;
}

.testimonial-visual img {
  min-height: 300px;
  object-position: center 24%;
}

.testimonial-card {
  scroll-snap-align: start;
  min-width: calc((100% - 48px) / 3);
  padding: 30px;
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.testimonial-profile p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.rating {
  display: flex;
  gap: 6px;
  margin-top: 20px;
}

.rating span {
  width: 15px;
  height: 15px;
  background: linear-gradient(135deg, #ffd76d, #f1b800);
  clip-path: polygon(50% 0%, 61% 36%, 98% 36%, 68% 58%, 79% 93%, 50% 72%, 21% 93%, 32% 58%, 2% 36%, 39% 36%);
}

.testimonial-card blockquote {
  margin-top: 18px;
  font-family: "Playfair Display", serif;
  font-size: 1.36rem;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* Volunteer */

.volunteer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 28px;
  padding: clamp(26px, 4vw, 38px);
  border-radius: 36px;
  background:
    radial-gradient(circle at top left, rgba(223, 245, 225, 0.96), transparent 30%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(241, 249, 241, 0.96));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.volunteer-copy {
  display: grid;
  gap: 28px;
}

.volunteer-copy > p {
  margin: 0;
  color: var(--muted);
}

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

.action-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 20px;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.action-card h3 {
  font-size: 1rem;
}

.volunteer-visual {
  position: relative;
  min-height: 100%;
}

.volunteer-photo {
  height: 100%;
  min-height: 620px;
}

.quote-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 24px 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.44);
  box-shadow: 0 16px 40px rgba(20, 48, 29, 0.12);
}

.quote-card blockquote {
  font-family: "Playfair Display", serif;
  font-size: 1.36rem;
  line-height: 1.45;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.contact-grid > .contact-panel,
.contact-grid > .contact-form-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-panel,
.contact-form-card {
  padding: 30px;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.contact-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.contact-list strong {
  display: block;
  font-size: 0.94rem;
}

.contact-list span {
  display: block;
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-inline-link {
  color: var(--primary);
  font-weight: 600;
  word-break: break-word;
}

.contact-inline-link:hover,
.contact-inline-link:focus-visible {
  color: var(--accent-deep);
}

.official-meta {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.official-meta article,
.leader-list li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 148px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(46, 125, 50, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 250, 242, 0.96)),
    var(--card);
}

.official-meta strong,
.leader-list strong {
  display: block;
  color: var(--primary);
}

.official-meta strong {
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.official-meta span,
.leader-list span {
  display: block;
  color: var(--muted);
}

.leader-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.leader-list strong {
  font-size: 1rem;
}

.leader-list span {
  margin-top: 6px;
  font-size: 0.94rem;
}

.contact-intro-visual img {
  min-height: 280px;
}

.map-placeholder {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  margin-top: 18px;
  border-radius: 22px;
  border: 1px dashed rgba(46, 125, 50, 0.22);
  background:
    linear-gradient(180deg, rgba(223, 245, 225, 0.72), rgba(255, 255, 255, 0.82)),
    var(--card);
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 125, 50, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 125, 50, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.95), transparent 92%);
}

.map-placeholder p {
  position: absolute;
  inset: auto 22px 22px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(46, 125, 50, 0.12);
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.social-row a:hover,
.social-row a:focus-visible {
  transform: translateY(-2px);
  background: rgba(223, 245, 225, 0.82);
  box-shadow: var(--shadow-soft);
}

.contact-form-card form {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-top: 26px;
}

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

.field {
  position: relative;
  display: block;
}

.field-full {
  grid-column: 1 / -1;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(46, 125, 50, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.field input {
  min-height: 62px;
  padding: 26px 18px 12px;
}

.field textarea {
  min-height: 180px;
  padding: 28px 18px 18px;
}

.field span {
  position: absolute;
  top: 20px;
  left: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  pointer-events: none;
  transition:
    transform var(--transition),
    color var(--transition),
    font-size var(--transition);
}

.field input:focus,
.field textarea:focus,
.field input:not(:placeholder-shown),
.field textarea:not(:placeholder-shown) {
  border-color: rgba(46, 125, 50, 0.24);
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.08);
  outline: none;
}

.field input:focus + span,
.field textarea:focus + span,
.field input:not(:placeholder-shown) + span,
.field textarea:not(:placeholder-shown) + span {
  transform: translateY(-12px);
  color: var(--primary);
  font-size: 0.78rem;
}

.field-error {
  display: none;
  margin-top: 8px;
  padding-left: 2px;
  color: var(--danger);
  font-size: 0.84rem;
  line-height: 1.5;
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: rgba(198, 87, 87, 0.45);
  box-shadow: 0 0 0 4px rgba(198, 87, 87, 0.09);
}

.field.is-invalid .field-error {
  display: block;
}

.form-status {
  margin: 16px 0 0;
  min-height: 1.8em;
  color: var(--muted);
  font-size: 0.94rem;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--danger);
}

/* Footer */

.site-footer {
  padding: 72px 0 24px;
  color: rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(circle at top right, rgba(76, 175, 80, 0.2), transparent 24%),
    linear-gradient(180deg, #0f2f1a 0%, #0a2313 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 0.85fr 1fr;
  gap: 30px;
}

.footer-brand p,
.newsletter-column p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.footer-meta {
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-meta a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: #fff;
}

.footer-brand-link {
  color: #fff;
}

.footer-brand-link .brand-mark {
  background: rgba(255, 255, 255, 0.96);
  color: #7fdb88;
  box-shadow:
    0 16px 34px rgba(5, 16, 9, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.footer-column h3 {
  color: #fff;
  font-size: 1.08rem;
}

.footer-column ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.74);
  transition: color var(--transition);
}

.footer-column a:hover,
.footer-column a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #fff;
}

.newsletter-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.field-dark input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.field-dark span {
  color: rgba(255, 255, 255, 0.66);
}

.field-dark input:focus,
.field-dark input:not(:placeholder-shown) {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.field-dark input:focus + span,
.field-dark input:not(:placeholder-shown) + span {
  color: #a7efae;
}

.form-status-light {
  color: rgba(255, 255, 255, 0.74);
}

.footer-social {
  margin-top: 18px;
}

.footer-social a {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background: rgba(255, 255, 255, 0.15);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

/* Lightbox */

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(12px, 2vw, 24px);
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 16, 9, 0.76);
  backdrop-filter: blur(14px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
  width: min(100%, 1060px);
  max-height: calc(100dvh - 24px);
  margin: 0;
  padding: 84px 22px 22px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 32px 80px rgba(7, 18, 11, 0.3);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  justify-self: auto;
  z-index: 2;
}

.lightbox-figure {
  display: grid;
  gap: 16px;
  margin: 0;
}

.lightbox-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(68dvh, 720px);
  object-fit: contain;
  aspect-ratio: auto;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(235, 240, 235, 0.94), rgba(215, 226, 216, 0.8));
}

.lightbox-figure figcaption {
  display: grid;
  gap: 8px;
  padding: 0 4px;
}

.lightbox-figure strong {
  font-size: 1.15rem;
}

.lightbox-figure span {
  color: var(--muted);
  font-size: 0.96rem;
}

.lightbox-controls {
  position: absolute;
  inset-inline: 22px;
  top: 50%;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
}

.lightbox-controls .carousel-button {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 32px rgba(7, 18, 11, 0.2);
}

/* Animations */

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes ripple {
  from {
    opacity: 0.65;
    transform: translate(-50%, -50%) scale(0);
  }

  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(14);
  }
}

/* Responsive */

/* Responsive Design System */

@media (max-width: 1280px) {
  .hero-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 24px;
  }

  .ribbon-card {
    padding: 12px 14px;
  }

  .ribbon-card + .ribbon-card {
    border-left: none;
  }

  .ribbon-card:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .impact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-card {
    min-width: calc((100% - 24px) / 2);
  }

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

@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .volunteer-shell,
  .gallery-page-shell {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .section-heading {
    max-width: none;
  }

  .hero-shell {
    padding-bottom: 0;
  }

  .hero-grid {
    padding-bottom: 72px;
  }

  .hero-media {
    min-height: 460px;
  }

  .hero-collage {
    min-height: 460px;
  }

  .about-visual {
    min-height: 520px;
  }

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

  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .volunteer-photo {
    min-height: 460px;
  }

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

@media (max-width: 920px) {
  .site-header {
    padding-top: 12px;
  }

  .navbar {
    padding: 12px 16px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: grid;
    gap: 16px;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(232, 242, 231, 0.95);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 60px rgba(16, 33, 22, 0.16);
    backdrop-filter: blur(24px);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition:
      opacity var(--transition),
      transform var(--transition);
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link {
    justify-content: flex-start;
    padding: 10px 18px;
  }

  .btn-nav {
    width: 100%;
    justify-content: center;
  }

  .brand-mark {
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }

  .brand-copy strong {
    font-size: 1.35rem;
  }

  .brand-copy small {
    font-size: 0.8rem;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 16px;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: clamp(30px, 6vw, 48px);
  }

  .hero-stats,
  .metric-grid,
  .impact-grid,
  .about-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid,
  .volunteer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-head,
  .testimonial-header,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 50px;
  }

  .section-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .section-intro .section-heading,
  .section-intro .testimonial-header,
  .volunteer-heading {
    justify-items: center;
    text-align: center;
  }

  .section-photo-card {
    border-radius: 26px;
  }

  .impact-visual img,
  .about-intro-visual img,
  .services-showcase img,
  .testimonial-visual img,
  .mission-visual-card img,
  .contact-intro-visual img,
  .volunteer-intro-visual img {
    min-height: 240px;
  }

  .hero-ribbon {
    width: min(calc(100% - 32px), 1180px);
    margin-top: -28px;
  }

  .gallery-item,
  .gallery-item-tall,
  .gallery-item-wide,
  .gallery-item-soft,
  .gallery-item-featured,
  .gallery-item-portrait,
  .gallery-item-landscape,
  .gallery-item-square,
  .gallery-item-panorama {
    grid-column: auto;
  }

  .testimonial-card {
    min-width: 86%;
  }
}

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

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
    padding: 4px;
    border-radius: 14px;
  }

  .brand-copy strong {
    font-size: 1.18rem;
  }

  .brand-copy small {
    font-size: 0.72rem;
  }

  .hero {
    padding-bottom: 32px;
  }

  .hero-shell {
    padding: 24px 16px 0;
    border-radius: 28px;
  }

  .hero h1 {
    font-size: clamp(26px, 8vw, 36px);
  }

  .gallery-page-copy,
  .gallery-page-note,
  .gallery-page-cta {
    padding: 20px;
    border-radius: 24px;
  }

  .gallery-page-copy h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .gallery-page-note h2 {
    font-size: clamp(1.4rem, 7vw, 1.8rem);
  }

  .section-photo-card {
    border-radius: 20px;
  }

  .section-photo-card figcaption {
    inset: auto 12px 12px;
    max-width: calc(100% - 24px);
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .section-intro .section-photo-card {
    width: min(100%, 220px);
  }

  .impact-visual img,
  .about-intro-visual img,
  .services-showcase img,
  .testimonial-visual img,
  .mission-visual-card img,
  .contact-intro-visual img,
  .volunteer-intro-visual img {
    min-height: 200px;
  }

  h2 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .hero-stats,
  .metric-grid,
  .impact-grid,
  .services-grid,
  .about-card-grid,
  .hero-ribbon,
  .form-grid,
  .volunteer-grid,
  .footer-grid,
  .gallery-masonry {
    grid-template-columns: 1fr;
  }

  .gallery-masonry {
    grid-auto-rows: 48px;
    gap: 16px;
  }

  .gallery-page-masonry {
    padding: 14px;
    border-radius: 24px;
  }

  .hero-collage {
    min-height: 300px;
  }

  .hero-media {
    min-height: 300px;
  }

  .hero-ring {
    top: 8%;
    right: 2%;
    width: 90%;
    box-shadow:
      0 0 0 8px rgba(223, 245, 225, 0.9),
      0 0 0 18px rgba(223, 245, 225, 0.34);
  }

  .hero-ring-secondary {
    right: 6%;
    width: 80%;
  }

  .leaf-one {
    left: 42%;
  }

  .leaf-two {
    right: 2%;
  }

  .leaf-three {
    left: 30%;
  }

  .hero-ribbon {
    width: calc(100% - 20px);
    margin-top: -20px;
    padding: 20px 16px;
    border-radius: 24px;
  }

  .ribbon-card {
    padding: 10px;
  }

  .ribbon-card + .ribbon-card,
  .ribbon-card:nth-child(even) {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 14px;
  }

  .about-visual {
    min-height: 440px;
  }

  .about-photo-main {
    inset: 0 0 20% 0;
  }

  .about-photo-side {
    width: 45%;
    height: 36%;
    right: 0;
    top: 45%;
    bottom: auto;
  }

  .about-overlay-card {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
    padding: 18px;
  }

  .glass-card,
  .service-card,
  .mv-card,
  .impact-card,
  .testimonial-card,
  .contact-panel,
  .contact-form-card,
  .action-card,
  .stat-card {
    padding: 20px;
  }

  .quote-card {
    position: relative;
    inset: auto;
    margin-top: 16px;
    padding: 18px 20px;
  }

  .volunteer-photo {
    min-height: 360px;
  }

  .lightbox-dialog {
    width: min(100% - 16px, 980px);
    max-height: calc(100dvh - 16px);
    padding: 74px 14px 14px;
  }

  .lightbox-controls {
    inset-inline: 14px;
  }

  .lightbox-figure img {
    max-height: min(60dvh, 560px);
  }
}

@media (max-width: 420px) {
  .btn {
    min-height: 48px;
    padding-inline: 18px;
    font-size: 0.9rem;
  }

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

  .lightbox {
    padding: 8px;
  }

  .lightbox-dialog {
    width: 100%;
    max-height: calc(100dvh - 16px);
    padding: 70px 12px 14px;
    border-radius: 24px;
    gap: 14px;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
    width: 46px;
    height: 46px;
  }

  .lightbox-controls {
    position: static;
    inset: auto;
    justify-content: center;
    transform: none;
    pointer-events: auto;
  }

  .lightbox-figure img {
    max-height: 52dvh;
    border-radius: 18px;
  }

  .brand-copy small {
    display: none;
  }

  .metric-card strong {
    font-size: 1.8rem;
  }

  .impact-number {
    font-size: 2.2rem;
  }
}

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

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

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