:root {
  --bg: #f3f5f1;
  --bg-alt: #edf1ec;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --surface-soft: #f6f8f5;
  --text: #172327;
  --text-soft: #223730;
  --muted: #52645f;
  --line: rgba(30, 51, 44, 0.11);
  --line-strong: rgba(30, 51, 44, 0.2);
  --primary: #25493f;
  --primary-deep: #18352e;
  --secondary: #708772;
  --accent: #baa98d;
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-pill: 999px;
  --shadow-xs: 0 4px 16px rgba(18, 33, 28, 0.05);
  --shadow-sm: 0 12px 30px rgba(18, 33, 28, 0.08);
  --shadow-md: 0 20px 50px rgba(18, 33, 28, 0.12);
  --shadow-lg: 0 30px 80px rgba(18, 33, 28, 0.16);
  --container: min(1120px, calc(100% - 2.5rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(112, 135, 114, 0.12), transparent 30%),
    radial-gradient(circle at 85% 18%, rgba(186, 169, 141, 0.16), transparent 24%),
    linear-gradient(180deg, #f7f8f5 0%, var(--bg) 38%, #f1f4ef 100%);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a,
button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

p {
  text-wrap: pretty;
}

strong {
  color: var(--text);
}

main {
  overflow: hidden;
  position: relative;
}

::selection {
  background: rgba(37, 73, 63, 0.18);
  color: var(--text);
}

.container {
  width: var(--container);
  margin: 0 auto;
  position: relative;
}

.section {
  position: relative;
  padding: 6.5rem 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.section-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, currentColor, transparent);
}

.section-label.light {
  color: #dce8df;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.6rem;
}

.section-title.light {
  color: #f7faf8;
}

.page-main {
  padding-top: 80px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  background: rgba(244, 246, 242, 0.68);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  box-shadow: inset 0 -1px 0 transparent;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  border-color: rgba(31, 52, 45, 0.12);
  background: rgba(249, 250, 247, 0.88);
  box-shadow: 0 10px 30px rgba(16, 31, 27, 0.06);
}

.nav-container {
  width: var(--container);
  margin: 0 auto;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  width: 132px;
  opacity: 1;
  mix-blend-mode: normal;
  filter: none;
  transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.nav-logo:hover img {
  transform: translateY(-1px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-soft);
  padding: 0.58rem 0.96rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(37, 73, 63, 0.08);
  box-shadow: inset 0 0 0 1px rgba(37, 73, 63, 0.08);
}

.nav-link.nav-cta {
  margin-left: 0.35rem;
  background: linear-gradient(180deg, #315b4f 0%, var(--primary) 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(37, 73, 63, 0.18);
}

.nav-link.nav-cta:hover,
.nav-link.nav-cta.active {
  background: linear-gradient(180deg, #274c41 0%, var(--primary-deep) 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(24, 53, 46, 0.22);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-xs);
  padding: 0.55rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 4px;
}

.nav-toggle span + span {
  margin-top: 0.34rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 0.84rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(180deg, #315b4f 0%, var(--primary) 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(37, 73, 63, 0.18);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #2a5146 0%, var(--primary-deep) 100%);
  box-shadow: 0 18px 34px rgba(24, 53, 46, 0.22);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(37, 73, 63, 0.22);
  color: var(--primary);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: rgba(37, 73, 63, 0.42);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-xs);
}

.btn-outline-dark {
  background: transparent;
  border-color: rgba(23, 35, 39, 0.22);
  color: var(--text);
}

.btn-outline-dark:hover {
  border-color: rgba(23, 35, 39, 0.48);
  background: rgba(255, 255, 255, 0.6);
}

.btn-light {
  background: #fff;
  color: var(--primary-deep);
  box-shadow: 0 12px 24px rgba(11, 22, 19, 0.12);
}

.btn-light:hover {
  background: #f0f6f2;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8.3rem 0 5rem;
  isolation: isolate;
  background:
    radial-gradient(circle at 8% 14%, rgba(112, 135, 114, 0.2), transparent 38%),
    radial-gradient(circle at 88% 18%, rgba(186, 169, 141, 0.24), transparent 34%),
    linear-gradient(140deg, #f7f8f5 0%, #edf2ec 100%);
}

.hero::before {
  content: "";
  position: absolute;
  right: -10%;
  bottom: 8%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(186, 169, 141, 0.28) 0%, rgba(186, 169, 141, 0) 72%);
  filter: blur(8px);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 73, 63, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 73, 63, 0.035) 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.24), transparent 72%);
  opacity: 0.42;
  z-index: -1;
}

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

.hero-badge {
  display: inline-flex;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  padding: 0.48rem 0.92rem;
  border: 1px solid rgba(37, 73, 63, 0.16);
  border-radius: var(--radius-pill);
  color: #2e4c41;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-xs);
  margin-bottom: 1.45rem;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.7rem, 5.8vw, 4.95rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 1.4rem;
}

.hero-title em {
  font-style: normal;
  color: var(--secondary);
}

.hero-sub {
  font-size: clamp(1.03rem, 1.9vw, 1.2rem);
  max-width: 690px;
  color: #385149;
  line-height: 1.8;
}

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  gap: 0.82rem;
  flex-wrap: wrap;
}

.hero-actions .btn {
  min-width: 176px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-scroll-indicator span {
  display: inline-flex;
  width: 2px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(37, 73, 63, 0.12), rgba(37, 73, 63, 0.8));
  border-radius: 99px;
  position: relative;
}

.hero-scroll-indicator span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

.pillars-grid,
.work-grid,
.approach-grid,
.partners-grid,
.values-grid,
.path-grid,
.contact-grid,
.donate-grid {
  display: grid;
  gap: 1.25rem;
}

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

.pillar-card,
.approach-step,
.work-card,
.value-card,
.partner-card,
.path-card,
.work-detail,
.contact-card,
.donate-card,
.surface-card,
.contact-form,
.cta-inner,
.stat-item,
.modal-dialog {
  position: relative;
  overflow: hidden;
}

.pillar-card,
.approach-step,
.work-card,
.value-card,
.partner-card,
.path-card,
.work-detail,
.contact-card,
.donate-card,
.surface-card,
.contact-form,
.cta-inner {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.pillar-card,
.approach-step,
.work-card,
.value-card,
.partner-card,
.path-card,
.work-detail,
.contact-card,
.donate-card,
.surface-card {
  border-radius: var(--radius-md);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background-color 0.24s ease;
}

.pillar-card::before,
.approach-step::before,
.work-card::before,
.value-card::before,
.partner-card::before,
.path-card::before,
.work-detail::before,
.contact-card::before,
.donate-card::before,
.surface-card::before,
.contact-form::before,
.cta-inner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
}

.pillar-card:hover,
.approach-step:hover,
.work-card:hover,
.value-card:hover,
.partner-card:hover,
.path-card:hover,
.work-detail:hover,
.contact-card:hover,
.donate-card:hover,
.surface-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.pillar-card {
  border-radius: var(--radius-md);
  padding: 1.65rem;
}

.pillar-icon {
  color: var(--primary);
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(37, 73, 63, 0.08), rgba(112, 135, 114, 0.14));
  box-shadow: inset 0 0 0 1px rgba(37, 73, 63, 0.06);
}

.pillar-icon svg {
  width: 30px;
  height: 30px;
}

.pillar-title {
  font-size: 1.12rem;
  line-height: 1.35;
  margin-bottom: 0.68rem;
}

.pillar-text {
  color: var(--muted);
  font-size: 0.96rem;
}

.mission-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #17332d 0%, #264b41 60%, #6a836f 145%);
  color: #f2f7f4;
}

.mission-band::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -180px;
  top: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 72%);
}

.mission-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 35%, transparent 65%, rgba(255, 255, 255, 0.04));
  pointer-events: none;
}

.mission-band-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

.mission-band-text,
.mission-band-stats {
  position: relative;
  z-index: 1;
}

.mission-band-text p {
  color: #e1ece5;
  margin-bottom: 1rem;
}

.mission-band-text .btn {
  margin-top: 0.75rem;
}

.mission-band-stats {
  display: grid;
  gap: 0.9rem;
}

.stat-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 1.05rem 1.1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.22);
}

.stat-number {
  display: block;
  font-size: 1.55rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-bottom: 0.22rem;
}

.stat-label {
  color: #dce8df;
  font-size: 0.9rem;
}

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

.approach-step {
  border-radius: var(--radius-md);
  padding: 1.45rem;
}

.step-number {
  color: var(--secondary);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 0.55rem;
}

.approach-step h3,
.value-card h3,
.partner-card h3,
.path-card h3,
.work-detail h3,
.contact-card h3,
.donate-card h3 {
  font-size: 1.08rem;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.approach-step p,
.value-card p,
.partner-card p,
.path-card p,
.work-detail p,
.contact-card p,
.donate-card p,
.body-copy,
.lead-copy {
  color: var(--muted);
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.25rem;
  margin-bottom: 1.4rem;
}

.work-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  align-items: stretch;
}

.work-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  padding: 1.4rem;
  min-height: 100%;
}

.work-card--featured {
  grid-column: 1;
  grid-row: 1 / span 2;
  background: linear-gradient(125deg, #f8faf7 0%, #eef3ef 100%);
  border-color: rgba(37, 73, 63, 0.16);
}

.work-card-tag {
  display: inline-flex;
  padding: 0.32rem 0.7rem;
  color: var(--primary);
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.78rem;
}

.work-card-title {
  font-size: 1.2rem;
  line-height: 1.35;
  margin-bottom: 0.58rem;
}

.work-card-text {
  color: var(--muted);
  margin-bottom: 0.9rem;
  font-size: 0.96rem;
}

.work-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
}

.work-card-link:hover {
  transform: translateX(2px);
}

.cta-band {
  padding-top: 4.8rem;
  padding-bottom: 4.8rem;
}

.cta-inner {
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 249, 246, 0.98) 100%);
  box-shadow: var(--shadow-md);
}

.cta-inner h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.cta-inner p {
  color: var(--muted);
  max-width: 760px;
}

.cta-actions {
  margin-top: 1.3rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: 11.2rem;
  padding-bottom: 4.4rem;
  border-bottom: 1px solid rgba(30, 51, 44, 0.08);
  background:
    radial-gradient(circle at 90% 10%, rgba(186, 169, 141, 0.24), transparent 30%),
    linear-gradient(135deg, #f7f8f5 0%, #edf2ee 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 73, 63, 0.18), transparent);
}

.page-hero p {
  max-width: 760px;
  color: #355048;
  font-size: 1.08rem;
  line-height: 1.78;
}

.page-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
}

.surface-card {
  border-radius: var(--radius-md);
  padding: 1.55rem;
}

.lead-copy {
  font-size: 1.06rem;
  line-height: 1.8;
}

.body-copy {
  margin-top: 0.95rem;
  line-height: 1.78;
}

.values-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.2rem;
}

.value-card,
.partner-card,
.path-card,
.work-detail,
.contact-card,
.donate-card {
  border-radius: var(--radius-md);
  padding: 1.3rem;
}

.path-grid,
.partners-grid,
.contact-grid,
.donate-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.work-detail {
  scroll-margin-top: 110px;
}

.work-detail + .work-detail {
  margin-top: 1.15rem;
}

.data-list {
  margin-top: 0.72rem;
}

.data-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.data-list li + li {
  margin-top: 0.46rem;
}

.data-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  position: absolute;
  left: 0;
  top: 0.62rem;
}

.inline-highlight {
  display: inline-flex;
  padding: 0.24rem 0.58rem;
  border-radius: var(--radius-pill);
  background: rgba(112, 135, 114, 0.14);
  color: #2b4b42;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}

.contact-form {
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

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

.form-group {
  display: grid;
  margin-bottom: 0.9rem;
}

.form-group label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid rgba(34, 55, 48, 0.14);
  border-radius: 14px;
  padding: 0.78rem 0.88rem;
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
  box-shadow: inset 0 1px 2px rgba(20, 33, 28, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: rgba(37, 73, 63, 0.24);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(37, 73, 63, 0.42);
  box-shadow: 0 0 0 4px rgba(37, 73, 63, 0.08);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-note {
  font-size: 0.84rem;
  color: #5a6965;
  margin-bottom: 0.95rem;
}

.form-status {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  min-height: 1.2rem;
}

.form-status.success {
  color: #1f5d39;
}

.form-status.error {
  color: #8b2e2e;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #17312b 0%, #112621 100%);
  color: #dbe7e1;
  padding: 4.2rem 0 1.5rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: -120px;
  top: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(112, 135, 114, 0.18) 0%, rgba(112, 135, 114, 0) 72%);
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.8fr;
  gap: 1.8rem;
  padding-bottom: 1.9rem;
  border-bottom: 1px solid rgba(219, 231, 225, 0.16);
}

.footer-logo {
  width: 126px;
  margin-bottom: 0.9rem;
}

.footer-tagline,
.footer-legal,
.footer-contact p,
.footer-contact a {
  color: #bfd0c8;
  font-size: 0.92rem;
}

.footer-tagline {
  max-width: 360px;
  line-height: 1.75;
  margin-bottom: 0.7rem;
}

.footer-nav-title {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.72rem;
  color: #eef7f2;
}

.footer-nav li + li {
  margin-top: 0.42rem;
}

.footer-nav a,
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.footer-nav a {
  color: #cfddd8;
  font-size: 0.92rem;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: #fff;
  transform: translateX(2px);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: #a9bcb5;
}

.hidden-seo {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 24, 21, 0.46);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 120;
}

.modal-backdrop.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-dialog {
  width: min(520px, 100%);
  background: linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 1.6rem;
  position: relative;
}

.modal-dialog::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--primary), var(--accent));
}

.modal-dialog h3 {
  font-size: 1.28rem;
  line-height: 1.3;
  margin-bottom: 0.58rem;
}

.modal-dialog p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.modal-close {
  position: absolute;
  right: 0.75rem;
  top: 0.7rem;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 1.25rem;
  line-height: 1;
  color: #2b3b36;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  background: var(--surface-soft);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

body.modal-open {
  overflow: hidden;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(107, 131, 111, 0.42);
  outline-offset: 2px;
}

@keyframes scroll-dot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 36px);
  }
}

@media (max-width: 1024px) {
  .pillars-grid,
  .path-grid,
  .partners-grid,
  .contact-grid,
  .donate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .work-card--featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .mission-band-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 5.5rem 0;
  }

  .hero-title {
    max-width: 700px;
  }
}

@media (max-width: 820px) {
  .site-header {
    background: rgba(247, 248, 244, 0.9);
  }

  .nav-container {
    min-height: 74px;
  }

  .nav-logo img {
    width: 120px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border-color: rgba(37, 73, 63, 0.14);
    box-shadow: none;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0.7rem;
    right: 0.7rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(30, 51, 44, 0.08);
    border-radius: 22px;
    padding: 0.7rem;
    box-shadow: 0 18px 40px rgba(18, 33, 28, 0.12);
    backdrop-filter: blur(14px);
    display: grid;
    gap: 0.12rem;
    transform: translateY(-8px) scale(0.985);
    transform-origin: top center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0.78rem 1rem;
    border-radius: 16px;
    font-size: 1rem;
  }

  .nav-link.nav-cta {
    margin-left: 0;
    margin-top: 0.3rem;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding: 7.8rem 0 4.2rem;
  }

  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .approach-grid,
  .values-grid,
  .form-row,
  .pillars-grid,
  .work-grid,
  .path-grid,
  .partners-grid,
  .contact-grid,
  .donate-grid {
    grid-template-columns: 1fr;
  }

  .work-card--featured {
    grid-column: auto;
    grid-row: auto;
  }

  .section-header-row {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container,
  .nav-container {
    width: min(1120px, calc(100% - 1.4rem));
  }

  .section {
    padding: 4.5rem 0;
  }

  .page-hero {
    padding-top: 8.9rem;
    padding-bottom: 3.3rem;
  }

  .surface-card,
  .pillar-card,
  .approach-step,
  .work-card,
  .value-card,
  .partner-card,
  .path-card,
  .work-detail,
  .contact-card,
  .donate-card,
  .contact-form,
  .cta-inner,
  .modal-dialog {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .hero-badge {
    font-size: 0.72rem;
  }

  .site-footer {
    padding-top: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}