/* ==========================================================================
   Design Tokens & Reset
   ========================================================================== */
:root {
  --color-teal: #1E5E4B;
  --color-teal-dark: #144234;
  --color-green: #2E9B4E;
  --color-leaf: #7BAE4D;
  --color-green-dark: #237A3D;
  --color-green-light: #EAF6EE;
  --color-cream: #F7F8F6;
  --color-white: #FFFFFF;
  --color-text: #1E2421;
  --color-muted: #4F5B55;
  --color-border: #DFE6E1;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --shadow-sm: 0 2px 10px rgba(20, 40, 32, 0.05);
  --shadow-md: 0 12px 30px rgba(20, 40, 32, 0.08);
  --transition: 0.22s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   Navigation Header (Normal Document Flow - Scrolls Naturally)
   ========================================================================== */
.site-header {
  position: relative;
  width: 100%;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  z-index: 40;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 88px;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.narf-emblem {
  width: 50px;
  height: 46px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-teal);
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-leaf);
  margin-top: 2px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: nowrap;
}

.nav-link {
  position: relative;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  padding: 0.35rem 0;
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-teal);
  font-weight: 600;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.desktop-nav .nav-link[data-route="involved"] {
  padding: 0.62rem 1.05rem;
  border-radius: 999px;
  color: var(--color-white);
  background-color: var(--color-green);
  font-weight: 600;
  transition: background-color var(--transition), transform var(--transition);
}

.desktop-nav .nav-link[data-route="involved"]::after {
  display: none;
}

.desktop-nav .nav-link[data-route="involved"]:hover,
.desktop-nav .nav-link[data-route="involved"].active {
  color: var(--color-white);
  background-color: var(--color-green-dark);
}

.desktop-nav .nav-link[data-route="involved"]:hover {
  transform: translateY(-1px);
}

.desktop-nav .nav-link[data-route="involved"]:focus-visible {
  outline: 3px solid rgba(46, 155, 78, 0.35);
  outline-offset: 3px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0 9px;
  cursor: pointer;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu-btn.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  display: none;
  background-color: var(--color-cream);
  border-top: 1px solid var(--color-border);
  padding: 1.25rem 1.5rem 1.75rem;
}

.mobile-drawer.open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: block;
  width: 100%;
  max-width: 340px;
  text-align: center;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text);
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  background-color: var(--color-green-light);
  color: var(--color-teal);
  font-weight: 600;
}

/* ==========================================================================
   Views & Typography
   ========================================================================== */
.page-view {
  display: none;
}

.page-view.active {
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--color-teal);
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.75rem, 3.4vw, 2.7rem);
  margin-bottom: 0.85rem;
}

h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  margin-bottom: 0.85rem;
}

h3 {
  font-size: 1.22rem;
  margin-bottom: 0.6rem;
}

.section-block {
  padding: 3.75rem 0;
}

.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 650ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 750ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--scroll-reveal-delay, 0ms);
}

.scroll-reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.impact-hero {
  position: relative;
  overflow: hidden;
  color: var(--color-white);
  background:
    radial-gradient(ellipse at 82% 18%, rgba(123, 174, 77, 0.3), transparent 34%),
    linear-gradient(120deg, #123f33 0%, #1e5e4b 60%, #237a3d 100%);
}

.impact-hero::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -180px;
  bottom: -300px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(255, 255, 255, 0.035), 0 0 0 72px rgba(255, 255, 255, 0.025);
  pointer-events: none;
}

.impact-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
  min-height: 570px;
  padding-top: 4.5rem;
  padding-bottom: 5rem;
}

.impact-hero-copy {
  max-width: 610px;
}

.impact-eyebrow {
  margin-bottom: 0.9rem;
  color: var(--color-green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
}

.impact-hero .impact-eyebrow {
  color: #b6d895;
}

.impact-hero h1 {
  margin-bottom: 1.2rem;
  color: var(--color-white);
  font-size: clamp(2.8rem, 5.2vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.impact-hero h1 em {
  color: #c5e1a4;
  font-weight: 500;
}

.impact-hero-lead {
  max-width: 510px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.8;
}

.impact-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.8rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.impact-hero-link:hover {
  border-color: #fff;
  color: var(--color-teal-dark);
  background: #fff;
}

.impact-hero-link span {
  font-size: 1.1rem;
}

.impact-hero-visual {
  position: relative;
  width: 100%;
  max-width: 490px;
  justify-self: end;
}

.impact-hero-visual::before {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 46% 46% 14px 14px;
}

.impact-hero-visual img {
  position: relative;
  width: 100%;
  height: clamp(350px, 42vw, 490px);
  border-radius: 46% 46% 14px 14px;
  object-fit: cover;
  object-position: center;
}

.impact-hero-visual figcaption {
  position: absolute;
  right: -1rem;
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  color: var(--color-teal-dark);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}

.impact-photo-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--color-white);
  background: var(--color-green);
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.impact-hero-note {
  position: absolute;
  right: max(1.25rem, calc((100vw - 1180px) / 2 + 1.25rem));
  bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.impact-films {
  padding-top: 5rem;
  padding-bottom: 5.25rem;
  background: var(--color-white);
}

.impact-section-heading,
.impact-gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.impact-section-heading h2,
.impact-gallery-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
}

.impact-section-heading > p,
.impact-gallery-heading > p {
  max-width: 390px;
  color: var(--color-muted);
  font-size: 0.98rem;
}

.impact-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.impact-video-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #14251e;
  box-shadow: var(--shadow-md);
}

.impact-video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.impact-video-index {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: #fff;
  background: rgba(20, 40, 32, 0.55);
  font-size: 0.72rem;
  font-weight: 600;
  pointer-events: none;
}

.impact-video-caption {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.9rem;
  color: var(--color-teal);
  font-size: 0.96rem;
  font-weight: 600;
}

.impact-video-caption-line {
  height: 1px;
  flex: 1;
  background: var(--color-border);
}

.impact-gallery-section {
  padding-top: 5rem;
  padding-bottom: 5.5rem;
  background: #f3f5ef;
}

.impact-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(145px, 16vw, 210px);
  gap: 0.9rem;
}

.impact-gallery-fullbleed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.impact-gallery-fullbleed .impact-gallery-item {
  height: clamp(360px, 42vw, 560px);
}

.impact-gallery-item {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border-radius: var(--radius-sm);
  background: #dce5dc;
}

.impact-gallery-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.impact-gallery-item::after {
  content: "";
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(transparent, rgba(14, 33, 25, 0.76));
  pointer-events: none;
}

.impact-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.impact-gallery-item:hover img {
  transform: scale(1.045);
}

.impact-gallery-item figcaption {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 0.9rem;
  left: 1rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.45;
}

.bg-cream {
  background-color: var(--color-cream);
}

.lead-text {
  font-size: 1.04rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.body-text {
  font-size: 0.98rem;
  color: var(--color-text);
  margin-bottom: 1rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.btn-green {
  background-color: var(--color-green);
  color: var(--color-white);
}

.btn-green:hover {
  background-color: var(--color-green-dark);
}

.btn-outline-green {
  background-color: rgba(255, 255, 255, 0.88);
  border-color: var(--color-green);
  color: var(--color-green);
}

.btn-outline-green:hover {
  background-color: var(--color-green);
  color: var(--color-white);
}

/* ==========================================================================
   Home Hero & Sections
   ========================================================================== */
.home-hero-section {
  padding-top: 0;
  padding-bottom: 0;
}

#view-home .why-exist-section {
  padding-top: 0;
}

.home-hero-section.container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.hero-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: clamp(400px, 39vw, 520px);
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: stretch;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.hero-card::before {
  position: absolute;
  z-index: 0;
  inset: -20px;
  background-image: url("./images/Smiling Student Friends on Campus.png");
  background-position: center;
  background-size: cover;
  content: "";
  filter: blur(18px) brightness(0.62);
  transform: scale(1.04);
}

.hero-card::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 50, 37, 0.66) 0%, rgba(14, 50, 37, 0.32) 45%, transparent 82%),
    linear-gradient(0deg, rgba(8, 30, 22, 0.58) 0%, transparent 58%);
  content: "";
  pointer-events: none;
}

.hero-image {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-bottom-box {
  position: absolute;
  z-index: 3;
  right: 1.5rem;
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  left: clamp(1.5rem, 8vw, 7.5rem);
  width: auto;
  max-width: 900px;
  text-align: left;
}

.hero-bottom-box::before {
  display: block;
  width: 3.25rem;
  height: 4px;
  margin-bottom: 1.15rem;
  border-radius: 999px;
  background: var(--color-leaf);
  content: "";
}

.hero-bottom-box p {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--color-white);
  font-weight: 500;
  max-width: 1000px;
  margin: 0;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
}

@media (max-width: 1100px) {
  .hero-card {
    height: auto;
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    padding: 0;
    border-radius: 0;
  }

  .hero-card::before {
    display: none;
  }

  .hero-card::after {
    display: none;
  }

  .hero-bottom-box {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    max-width: none;
    justify-self: stretch;
    padding: 1.25rem 1.5rem 1.6rem;
    background: linear-gradient(140deg, var(--color-white), var(--color-green-light));
    text-align: center;
  }

  .hero-bottom-box::before {
    margin: 0 auto 0.8rem;
  }

  .hero-bottom-box p {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    line-height: 1.25;
    max-width: 34ch;
    margin: 0 auto;
    color: var(--color-teal);
    text-shadow: none;
    white-space: normal;
  }

  .hero-card .hero-image {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 1;
    height: auto;
    width: 100%;
    max-width: 100%;
    margin: 0;
    object-fit: cover;
    transform: none;
    transition: none;
  }
}

.photo-banner {
  margin: 2rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.photo-banner img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center 25%;
}

.why-exist-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.why-exist-copy {
  max-width: 620px;
}

.why-exist-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

@media (min-width: 1101px) {
  .why-exist-image {
    margin-top: 2rem;
  }
}

.why-exist-image img {
  width: 100%;
  height: 430px;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* ==========================================================================
   Programme Pillars & Expandable Accordions
   ========================================================================== */
.pillars-section {
  position: relative;
  overflow: hidden;
}

.pillars-section {
  padding: 2.5rem 0;
  background:
    radial-gradient(ellipse at 86% 0, rgba(123, 174, 77, 0.2), transparent 34%),
    linear-gradient(125deg, #24684f 0%, #32775a 72%, #2a704f 100%);
}

.pillars-section::after {
  position: absolute;
  top: 2rem;
  right: -9rem;
  width: 25rem;
  height: 25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 2.5rem rgba(255, 255, 255, 0.025), 0 0 0 5rem rgba(255, 255, 255, 0.02);
  content: "";
  pointer-events: none;
}

.pillars-section > .container {
  position: relative;
  z-index: 1;
}

.pillars-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.pillars-eyebrow {
  margin-bottom: 0.65rem;
  color: #c5e1a4;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.pillars-heading h2 {
  margin-bottom: 0;
  color: var(--color-white);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.pillars-heading > p {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.76);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.pillar-box {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 300px;
  flex-direction: column;
  overflow: hidden;
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 30px rgba(8, 35, 25, 0.12);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.pillar-box:hover {
  transform: translateY(-6px);
  border-color: #b6d895;
  box-shadow: 0 18px 34px rgba(8, 35, 25, 0.22);
}

.pillar-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.pillar-number {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 50%;
  color: var(--color-teal);
  background: var(--color-green-light);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
}

.pillar-track {
  color: var(--color-green-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pillar-box h3 {
  min-height: 3em;
  margin-bottom: 0.6rem;
  color: var(--color-teal);
  font-size: 1.08rem;
  line-height: 1.35;
}

.pillar-box p {
  margin-bottom: 0.5rem;
  color: var(--color-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

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

.pillar-box .pillar-subtopic {
  margin-top: 0.25rem;
  color: var(--color-teal);
  font-weight: 700;
}

.pillars-section .accordion-box {
  position: relative;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom-color: rgba(255, 255, 255, 0.24);
}

.pillars-section .accordion-btn {
  color: var(--color-white);
}

.pillars-section .accordion-btn:focus-visible {
  outline: 2px solid #c5e1a4;
  outline-offset: 3px;
}

.pillars-section .accordion-panel {
  color: rgba(255, 255, 255, 0.78);
}

.accordion-box {
  margin-top: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.accordion-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1rem 0.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
}

.accordion-panel {
  display: none;
  padding: 0.25rem 0.25rem 1.25rem;
  color: var(--color-muted);
}

.accordion-box.open .accordion-panel {
  display: block;
}

.sdg-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.sdg-badge {
  background-color: var(--color-green-light);
  color: var(--color-teal);
  border: 1px solid #C5E2CE;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
}

/* ==========================================================================
   Founder Section & Green Banner
   ========================================================================== */
.founder-wrap {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.founder-img {
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  object-position: center top;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.founder-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-teal);
  margin-bottom: 0.85rem;
}

.founder-emphasis {
  font-weight: 700;
  color: var(--color-text);
  margin-top: 0.75rem;
}

.edu-entries {
  display: grid;
  gap: 0.9rem;
}

.edu-entries strong {
  display: block;
  color: var(--color-teal);
}

.green-mission-banner {
  background-color: var(--color-green);
  color: var(--color-white);
  padding: 3rem 1.5rem;
  text-align: center;
}

.green-mission-banner p {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.3;
  max-width: 820px;
  margin: 0 auto 1.25rem;
  color: var(--color-white);
}

.banner-socials {
  display: inline-flex;
  gap: 0.85rem;
  justify-content: center;
}

.banner-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--color-white);
  color: var(--color-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Forms & Team Photo
   ========================================================================== */
.form-container {
  max-width: 680px;
  margin: 0 auto;
}

.connect-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.connect-grid .form-container {
  width: 100%;
  max-width: none;
  margin: 0;
}

.connect-grid .team-photo-box {
  margin-top: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
}

.connect-section .connect-grid .team-photo-box img {
  width: 100%;
  height: clamp(460px, 44vw, 600px);
  object-fit: cover;
  object-position: center 25%;
}

.connect-section .field-group .connect-sub-label {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field-group {
  margin-top: 1rem;
}

.field-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.req-note {
  font-size: 0.78rem;
  color: var(--color-muted);
  font-weight: 400;
}

.field-group input,
.field-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #C6D1CA;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background-color: var(--color-white);
}

.field-group input:focus,
.field-group textarea:focus {
  outline: 2px solid var(--color-green);
  border-color: transparent;
}

.form-status {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-status.ok {
  color: var(--color-green-dark);
}

.form-status.err {
  color: #B42318;
}

.team-photo-box {
  margin-top: 2.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.team-photo-box img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center 25%;
}

/* ==========================================================================
   About, Work, Impact & News
   ========================================================================== */
.about-block {
  position: relative;
  margin-bottom: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(20, 40, 32, 0.07);
  transition: transform var(--transition), box-shadow var(--transition);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .about-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(20, 40, 32, 0.11);
  }
}

.about-mission {
  overflow: hidden;
  border-color: transparent;
  background: linear-gradient(135deg, var(--color-teal), var(--color-teal-dark));
  color: var(--color-white);
}

.about-mission::after {
  position: absolute;
  right: -3.5rem;
  bottom: -5rem;
  width: 13rem;
  height: 13rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 1.5rem rgba(255, 255, 255, 0.045), 0 0 0 3rem rgba(255, 255, 255, 0.035);
  content: "";
  pointer-events: none;
}

.about-vision {
  border-color: #dcebe1;
  background: linear-gradient(145deg, #f3faf5, var(--color-white) 78%);
}

.about-vision .body-text + .body-text {
  margin-top: 0.75rem;
}

.about-heading {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.about-heading h1 {
  margin-bottom: 0.65rem;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  line-height: 1.08;
  color: var(--color-teal);
  font-weight: 500;
}

.about-heading > p:last-child {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.about-eyebrow {
  margin-bottom: 0.55rem;
  color: var(--color-green-dark);
  background: var(--color-green-light);
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

#view-about > .section-block {
  padding-top: 0;
}

.about-content {
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.about-leadership {
  background: linear-gradient(145deg, #f8faf8, var(--color-white) 70%);
}

.about-heading,
#view-about .photo-banner,
.about-story,
.about-leadership {
  grid-column: 1 / -1;
}

.about-hero-image {
  display: block;
  width: 100vw;
  max-width: none;
  height: clamp(500px, 76vh, 720px);
  max-height: 720px;
  margin: 0 0 2.5rem;
  margin-left: calc(50% - 50vw);
  object-fit: cover;
  object-position: center top;
}

.about-block h2 {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 0.9rem;
}

.about-mission h2 {
  color: rgba(255, 255, 255, 0.78);
}

.about-mission .body-text {
  color: rgba(255, 255, 255, 0.92);
}

.about-block .body-text {
  position: relative;
  z-index: 1;
  line-height: 1.78;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  grid-template-areas:
    "heading heading"
    "copy image";
  align-items: center;
  gap: 0.35rem 2rem;
}

.about-story h2 {
  grid-area: heading;
}

.about-story-copy {
  grid-area: copy;
}

.about-story-copy .body-text + .body-text {
  margin-top: 0.85rem;
}

.about-story-image {
  grid-area: image;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 470px;
  margin-top: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
}

.priorities-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  counter-reset: priority;
}

.priorities-list li {
  position: relative;
  min-height: 82px;
  padding: 1rem 1.15rem 1rem 3.65rem;
  border: 1px solid #e3ebe5;
  border-radius: 12px;
  background: var(--color-white);
  line-height: 1.6;
  counter-increment: priority;
}

.priorities-list li::before {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--color-green-light);
  color: var(--color-green-dark);
  content: counter(priority, decimal-leading-zero);
  font-size: 0.72rem;
  font-weight: 700;
}

.priorities-list strong {
  color: var(--color-teal);
}

#view-about .photo-banner {
  width: 100vw;
  margin: 0;
  margin-left: calc(50% - 50vw);
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

#view-about .photo-banner img {
  width: 100vw;
  height: clamp(760px, 96vh, 1050px);
  max-height: 1050px;
  object-fit: cover;
  object-position: center top;
}

.work-hero-box {
  position: relative;
  border: 1px solid #e4ebe6;
  border-radius: 22px;
  overflow: hidden;
  min-height: 0;
  display: block;
  padding: 0;
  margin-bottom: 2.5rem;
  background: var(--color-cream);
  box-shadow: 0 20px 46px rgba(20, 40, 32, 0.12);
}

.work-hero-box img {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  background: var(--color-cream);
}

.work-hero-box::after {
  content: none;
}

.work-hero-text {
  color: var(--color-teal);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 760px;
  margin: 0;
}

.work-hero-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  border: 1px solid #dcebe1;
  border-radius: 22px;
  background: linear-gradient(120deg, #eaf6ee, #ffffff 74%);
}

.cac-badge {
  position: relative;
  max-width: 230px;
  padding: 1.15rem 1.3rem;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--color-teal), var(--color-teal-dark));
  color: var(--color-white);
  box-shadow: 0 12px 24px rgba(20, 66, 52, 0.18);
  display: flex;
  flex-direction: column;
  text-align: center;
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1.45;
  flex-shrink: 0;
}

.cac-badge::before {
  width: 2rem;
  height: 3px;
  margin: 0 auto 0.7rem;
  border-radius: 999px;
  background: var(--color-leaf);
  content: "";
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.info-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background-color: var(--color-white);
  border: 1px solid #e3ebe5;
  border-top: 4px solid var(--color-green);
  border-radius: 18px;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  box-shadow: 0 12px 30px rgba(20, 40, 32, 0.07);
  transition: transform var(--transition), box-shadow var(--transition);
}

#view-work .info-card:nth-child(2) {
  border-top-color: var(--color-leaf);
  background: linear-gradient(155deg, #ffffff, #f8fbf8);
}

#view-work .info-card:nth-child(3) {
  border-top-color: var(--color-teal);
  background: linear-gradient(155deg, #f7faf8, #ffffff);
}

#view-work .info-card::before {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  color: rgba(46, 155, 78, 0.2);
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

#view-work .info-card:nth-child(1)::before {
  content: "01";
}

#view-work .info-card:nth-child(2)::before {
  content: "02";
}

#view-work .info-card:nth-child(3)::before {
  content: "03";
}

#view-work .info-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 0.85rem;
  color: var(--color-teal);
  font-family: var(--font-serif);
  font-size: 1.45rem;
}

#view-work .info-card .body-text {
  margin-bottom: 0;
  color: var(--color-muted);
  line-height: 1.75;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #view-work .info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 38px rgba(20, 40, 32, 0.13);
  }
}

.info-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: var(--color-cream);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.work-slideshow {
  margin-top: 3rem;
  padding: clamp(1rem, 2.5vw, 1.75rem);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--color-teal-dark), var(--color-teal));
  box-shadow: 0 22px 48px rgba(20, 40, 32, 0.14);
}

.work-slideshow-heading {
  margin: 0 0 1.1rem;
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  text-align: left;
}

.work-slideshow-heading::before {
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: var(--color-leaf);
  content: "";
}

.work-slideshow-stage {
  position: relative;
  height: clamp(280px, 40vw, 540px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  background: transparent;
  perspective: 1400px;
}

.work-slideshow-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateX(100%) rotateY(-12deg);
  transform-origin: left center;
  backface-visibility: hidden;
  transition:
    opacity 1000ms ease-in-out,
    transform 1000ms cubic-bezier(0.65, 0, 0.35, 1);
}

.work-slideshow-text-slide {
  background: var(--color-white);
}

.work-slideshow-slide.is-active {
  z-index: 2;
  opacity: 1;
  transform: translateX(0) rotateY(0);
}

.work-slideshow-slide.is-exiting {
  z-index: 1;
  opacity: 0;
  transform: translateX(-100%) rotateY(12deg);
  transform-origin: right center;
}

.work-slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.work-slideshow-slide.work-slideshow-fullbleed-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}

.work-slideshow-slide.work-slideshow-fullbleed-slide img.work-slideshow-stretch-image {
  object-fit: fill;
}

.work-slideshow-text-slide img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .work-slideshow-slide {
    transition: none;
  }
}

.pill-tag {
  display: inline-block;
  margin-top: 0.85rem;
  background-color: var(--color-green);
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
}

.news-section,
.involved-section {
  min-height: 70vh;
}

.news-section {
  background:
    radial-gradient(ellipse at 92% 8%, rgba(123, 174, 77, 0.11), transparent 28%),
    #f5f7f3;
}

.news-page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 92% 8%, rgba(123, 174, 77, 0.32), transparent 34%),
    linear-gradient(125deg, var(--color-teal-dark), var(--color-teal));
  box-shadow: 0 20px 42px rgba(20, 66, 52, 0.18);
}

.news-eyebrow,
.involved-eyebrow {
  margin-bottom: 0.7rem;
  color: var(--color-green-dark);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.news-eyebrow {
  color: #c8e99e;
}

.news-page-heading h1 {
  margin-bottom: 0;
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.news-page-heading > p {
  max-width: 420px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.7;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.news-card {
  display: flex;
  min-height: 355px;
  flex-direction: column;
  padding: clamp(1.25rem, 2.2vw, 1.8rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.8rem;
}

.news-category {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  color: var(--color-teal);
  background: var(--color-green-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.news-card-number {
  color: #a4b1a8;
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

.news-card h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
}

.news-card-summary {
  min-height: 3.2em;
  margin-bottom: 1rem;
  color: var(--color-muted);
}

.news-card-detail {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--color-border);
}

.news-card-detail span {
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-card-detail strong {
  color: var(--color-text);
  font-size: 0.91rem;
}

.news-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  margin-top: auto;
  padding: 0.7rem 0 0;
  color: var(--color-teal);
  font-size: 0.8rem;
  font-weight: 700;
}

.news-status-active span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 0 3px var(--color-green-light);
}

.news-status-planned {
  color: var(--color-muted);
}

.news-card-feature {
  position: relative;
  overflow: hidden;
  border-color: var(--color-teal);
  color: var(--color-white);
  background:
    radial-gradient(circle at 100% 0, rgba(123, 174, 77, 0.28), transparent 38%),
    var(--color-teal);
}

.news-card-feature::after {
  position: absolute;
  right: -2.7rem;
  bottom: -3.4rem;
  width: 9rem;
  height: 9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 1.2rem rgba(255, 255, 255, 0.035);
  content: "";
  pointer-events: none;
}

.news-card-feature h2,
.news-card-feature .news-card-number,
.news-card-feature .news-card-detail strong {
  color: var(--color-white);
}

.news-card-feature .news-card-number,
.news-card-feature .news-card-detail span {
  color: rgba(255, 255, 255, 0.68);
}

.news-card-feature .news-category {
  color: var(--color-teal-dark);
  background: #d7edbd;
}

.news-card-feature .news-card-summary {
  color: rgba(255, 255, 255, 0.82);
}

.news-card-feature .news-card-detail {
  border-color: rgba(255, 255, 255, 0.25);
}

.news-card-feature .news-status {
  position: relative;
  z-index: 1;
  color: #e2f1d2;
}

.involved-section {
  background:
    radial-gradient(ellipse at 14% 12%, rgba(123, 174, 77, 0.15), transparent 27%),
    #f5f7f3;
}

.involved-page-container {
  max-width: 1100px;
}

.involved-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.involved-hero-copy h1 {
  max-width: 620px;
  margin-bottom: 1rem;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  letter-spacing: -0.035em;
}

.involved-hero-copy h1 em {
  color: var(--color-green);
  font-weight: 500;
}

.involved-hero-copy > p:last-child {
  max-width: 520px;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.involved-hero-image {
  position: relative;
  overflow: hidden;
  height: clamp(240px, 30vw, 340px);
  border-radius: 46% 46% var(--radius-md) var(--radius-md);
  background: var(--color-green-light);
  box-shadow: var(--shadow-md);
}

.involved-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
}

.involved-hero-image figcaption {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  left: 0.9rem;
  width: fit-content;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  color: var(--color-teal-dark);
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.78rem;
  font-weight: 700;
}

.involved-content {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.25rem;
  align-items: stretch;
}

.involved-aside {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius-md);
  color: var(--color-white);
  background:
    radial-gradient(ellipse at 0 100%, rgba(123, 174, 77, 0.23), transparent 46%),
    var(--color-teal-dark);
}

.involved-aside .involved-eyebrow {
  color: #c5e1a4;
}

.involved-aside h2 {
  margin-bottom: 0.8rem;
  color: var(--color-white);
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
}

.involved-aside > p:not(.involved-eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.involved-ways {
  margin-top: 1.7rem;
}

.involved-ways li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.involved-ways li > span {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  color: #c5e1a4;
  font-size: 0.7rem;
  font-weight: 700;
}

.involved-ways h3 {
  margin: 0 0 0.1rem;
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 0.97rem;
}

.involved-ways p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

.involved-form-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}

.involved-form-card h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
}

.involved-form-intro {
  color: var(--color-muted);
}

.involved-form-card .field-group {
  margin-top: 1.1rem;
}

.involved-form-card .field-group textarea {
  min-height: 140px;
  resize: vertical;
}

.involved-form-card .field-group input,
.involved-form-card .field-group textarea {
  border-color: #d4ddd7;
  border-radius: 8px;
}

.involved-form-card .field-group input:focus,
.involved-form-card .field-group textarea:focus {
  outline: 2px solid rgba(46, 155, 78, 0.28);
  border-color: var(--color-green);
}

.involved-form-card .btn-green {
  gap: 0.9rem;
  min-height: 48px;
  padding-right: 1.2rem;
  padding-left: 1.2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--color-cream);
  border-top: 1px solid var(--color-green);
  padding: 3rem 0 2.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-site-link {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 1rem;
  text-decoration: underline;
}

.footer-meta p {
  margin-bottom: 0.45rem;
  font-size: 0.94rem;
}

.footer-links-col ul {
  display: grid;
  gap: 0.45rem;
}

.footer-links-col a:hover {
  color: var(--color-green-dark);
  text-decoration: underline;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
  .desktop-nav {
    gap: 1.1rem;
  }

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

  .nav-link {
    font-size: 0.88rem;
  }

  .founder-wrap {
    grid-template-columns: 300px 1fr;
  }

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

@media (max-width: 820px) {
  .work-slideshow-slide:not(.work-slideshow-text-slide):not(.work-slideshow-fullbleed-slide) img {
    object-fit: fill;
  }

  .pillars-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }

  .connect-section .connect-grid .team-photo-box img {
    height: clamp(340px, 60vw, 500px);
  }

  .connect-section .connect-grid .team-photo-box {
    width: calc(100% + 2.5rem);
    margin-left: -1.25rem;
  }

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

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

  .news-card-feature {
    grid-column: span 2;
  }

  .involved-hero {
    gap: 2rem;
  }

  .involved-content {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .impact-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    min-height: 0;
    padding-top: 3.75rem;
    padding-bottom: 4.5rem;
  }

  .impact-hero-copy {
    max-width: 680px;
  }

  .impact-hero-visual {
    width: min(100%, 560px);
    justify-self: start;
  }

  .impact-hero-visual img {
    height: clamp(340px, 62vw, 460px);
  }

  .impact-hero-note {
    display: none;
  }

  .impact-films,
  .impact-gallery-section {
    padding-top: 3.75rem;
    padding-bottom: 4rem;
  }

  .impact-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 190px;
  }

  .impact-gallery-fullbleed {
    margin-top: 1.5rem;
  }

  .impact-gallery-fullbleed .impact-gallery-item {
    height: clamp(360px, 50vw, 460px);
  }

  .about-story-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    max-height: 360px;
    aspect-ratio: 4 / 3;
    margin-left: 0;
    object-fit: cover;
  }

  #view-about .photo-banner {
    border-radius: 0;
    margin-top: 0.75rem;
  }

  #view-about .photo-banner img {
    height: clamp(620px, 94vh, 840px);
    max-height: 840px;
    object-position: center top;
  }

  .about-content {
    grid-template-columns: 1fr;
    row-gap: 1rem;
  }

  .about-heading,
  #view-about .photo-banner {
    grid-column: 1;
  }

  .about-heading {
    margin-bottom: 0.35rem;
  }

  .about-heading h1 {
    font-size: 1.85rem;
    font-weight: 500;
  }

  .about-block {
    padding: 1.35rem;
  }

  .about-story {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "copy"
      "image";
    gap: 0.25rem;
  }

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

  .about-hero-image {
    width: 100vw;
    height: 360px;
    min-height: 360px;
    max-height: 360px;
    margin-bottom: 1.5rem;
    margin-left: calc(50% - 50vw);
    object-fit: cover;
    object-position: center;
  }

  .section-block {
    padding: 1.75rem 0;
  }


  .connect-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .home-hero-section {
    padding-bottom: 0;
  }

  .why-exist-grid {
    gap: 0.75rem;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .founder-wrap,
  .cards-grid-3,
  .cards-grid-2,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .work-hero-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .work-hero-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .work-hero-intro .cac-badge {
    align-self: center;
    width: min(100%, 300px);
    height: auto;
    min-height: 0;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
  }

  .why-exist-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .why-exist-copy {
    max-width: none;
  }

  .why-exist-image {
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    background: transparent;
    width: 100%;
  }

  .why-exist-image img {
    width: 100%;
    height: auto;
    max-height: none;
    max-width: 100%;
    object-fit: cover;
    background: transparent;
  }

  .founder-img {
    height: auto;
    max-height: 520px;
  }
}

@media (max-width: 540px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .pillar-box {
    min-height: 0;
  }

  .pillar-box h3 {
    min-height: 0;
  }

  .pillars-section .accordion-box {
    margin-top: 1.5rem;
  }

  .news-page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .news-card,
  .news-card-feature {
    grid-column: auto;
    min-height: 0;
  }

  .news-card-top {
    margin-bottom: 1.2rem;
  }

  .news-card-summary {
    min-height: 0;
  }

  .involved-hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .involved-hero-copy h1 {
    font-size: clamp(2.5rem, 11vw, 3.35rem);
  }

  .involved-hero-image {
    height: 250px;
    border-radius: 46% 46% var(--radius-md) var(--radius-md);
  }

  .involved-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .involved-aside,
  .involved-form-card {
    padding: 1.35rem;
  }

  .impact-hero-inner {
    gap: 2rem;
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .impact-hero h1 {
    font-size: clamp(2.5rem, 11vw, 3.3rem);
  }

  .impact-hero-visual img {
    height: 330px;
  }

  .impact-hero-visual figcaption {
    right: 0.5rem;
    bottom: 0.8rem;
  }

  .impact-section-heading,
  .impact-gallery-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.4rem;
  }

  .impact-section-heading h2,
  .impact-gallery-heading h2 {
    font-size: 1.9rem;
  }

  .impact-video-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .impact-video-frame video {
    aspect-ratio: 4 / 3;
  }

  .impact-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 175px;
    gap: 0.65rem;
  }

  .impact-gallery-fullbleed {
    grid-template-columns: 1fr;
    margin-top: 1.25rem;
  }

  .impact-gallery-fullbleed .impact-gallery-item {
    height: min(100vw, 420px);
  }

  .impact-gallery-feature {
    grid-column: span 2;
    grid-row: span 1;
  }

  .impact-gallery-item figcaption {
    right: 0.7rem;
    bottom: 0.65rem;
    left: 0.7rem;
    font-size: 0.74rem;
  }

  .brand-title {
    font-size: 0.76rem;
  }

  .narf-emblem {
    width: 40px;
    height: 36px;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

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

  .home-hero-section {
    padding-top: 0;
  }
}

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

  .scroll-reveal,
  .scroll-reveal.is-revealed {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .impact-gallery-item img {
    transition: none;
  }

  .pillar-box {
    transition: none;
  }
}
