/* ==========================================================================
   1 Goal Foundation — Modern Editorial & Accessible Design System
   Eliminating AI template tropes, introducing dignified editorial typography,
   authentic grassroots warmth, and robust responsive layout craft.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  /* Brand Color Palette: Grounded, Dignified Indian Social Impact */
  --navy-950: #081526;
  --navy-900: #0f243d;
  --navy-800: #173659;
  --navy-700: #224a77;
  --navy-100: #eaf1f8;
  --navy-50:  #f3f7fb;

  --terracotta-700: #b54419;
  --terracotta-600: #cc4f20;
  --terracotta-500: #dd5e2e;
  --terracotta-100: #fdeee7;
  --terracotta-50:  #fdf7f4;

  --emerald-800: #124d3e;
  --emerald-700: #18604e;
  --emerald-600: #1f7862;
  --emerald-100: #e2f2ed;
  --emerald-50:  #f1f8f5;

  --gold-600: #c2811e;
  --gold-500: #df9828;
  --gold-100: #fef4e5;

  /* Neutrals & Editorial Warm Paper */
  --paper-bg:     #faf8f5;
  --paper-card:   #ffffff;
  --paper-warm:   #f4eee6;
  --slate-900:    #16202c;
  --slate-800:    #2a3848;
  --slate-700:    #475768;
  --slate-600:    #5f7082;
  --slate-400:    #9aa7b5;
  --slate-300:    #cbd4df;
  --slate-200:    #e4e9f0;
  --slate-100:    #f1f5f9;
  --white:        #ffffff;

  /* Typography */
  --font-serif: 'Lora', Georgia, Cambria, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(8, 21, 38, 0.05);
  --shadow-sm: 0 4px 14px rgba(8, 21, 38, 0.06);
  --shadow-md: 0 10px 30px rgba(8, 21, 38, 0.08);
  --shadow-lg: 0 20px 48px rgba(8, 21, 38, 0.12);

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Layout */
  --container-max: 1200px;
  --header-height: 80px;
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--slate-800);
  background-color: var(--paper-bg);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.container {
  width: min(calc(100% - 48px), var(--container-max));
  margin-inline: auto;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 16px;
  z-index: 1000;
  background: var(--terracotta-600);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  left: 20px;
}

/* Top Credibility & Trust Bar */
.topbar {
  background: var(--navy-950);
  color: #cfdceb;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .container {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.topbar-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--emerald-600);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-links a {
  color: #d1deed;
}

.topbar-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.topbar-sep {
  opacity: 0.35;
}

/* Site Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xs);
  transition: background 0.3s ease;
}

.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

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

.brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.12rem;
  color: var(--navy-950);
}

.brand-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta-600);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--slate-700);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: var(--navy-950);
  background: var(--slate-100);
}

.nav-links a[aria-current="page"] {
  color: var(--navy-950);
  background: var(--terracotta-50);
  color: var(--terracotta-700);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  color: var(--navy-950);
  font-size: 1.25rem;
  cursor: pointer;
}

.menu-close {
  display: none;
  position: absolute;
  right: 20px;
  top: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: 1.4rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-full);
  padding: 11px 22px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  text-align: center;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--terracotta-600);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(204, 79, 32, 0.28);
}

.btn-primary:hover {
  background: var(--terracotta-700);
  box-shadow: 0 6px 20px rgba(204, 79, 32, 0.35);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--navy-950);
  border-color: var(--slate-300);
}

.btn-secondary:hover {
  background: var(--slate-100);
  border-color: var(--slate-400);
}

.btn-emerald {
  background: var(--emerald-700);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(24, 96, 78, 0.28);
}

.btn-emerald:hover {
  background: var(--emerald-800);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--navy-950);
  border: 1.5px solid var(--navy-900);
}

.btn-outline:hover {
  background: var(--navy-950);
  color: #ffffff;
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

.btn-light {
  background: #ffffff;
  color: var(--navy-950);
  box-shadow: var(--shadow-sm);
}

.btn-light:hover {
  background: var(--paper-bg);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Eyebrows & Section Headers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  font-size: 0.74rem;
  color: var(--terracotta-600);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.eyebrow-emerald {
  color: var(--emerald-700);
}

.eyebrow-light {
  color: var(--gold-500);
}

.section-head {
  max-width: 780px;
  margin-bottom: 44px;
}

.section-head-center {
  text-align: center;
  margin-inline: auto;
}

.section-head-center .eyebrow {
  justify-content: center;
}

.section-title, .section h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--navy-950);
  margin: 6px 0 16px;
  font-weight: 700;
}

.section-desc, .lead {
  font-size: 1.14rem;
  color: var(--slate-700);
  line-height: 1.7;
}

/* Hero Section: Grounded & Human */
.hero {
  padding: 72px 0 84px;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(221, 94, 46, 0.08), transparent 50%),
    radial-gradient(ellipse at 15% 90%, rgba(24, 96, 78, 0.06), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, var(--paper-bg) 100%);
  border-bottom: 1px solid var(--slate-200);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.hero-copy h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 4.8vw, 4.4rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--navy-950);
  margin: 14px 0 22px;
  font-weight: 700;
}

.hero-copy h1 .accent {
  color: var(--terracotta-600);
  font-style: italic;
  font-weight: 400;
}

.hero-copy > p {
  font-size: 1.16rem;
  color: var(--slate-700);
  max-width: 620px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
  align-items: center;
}

.hero-trust-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--slate-200);
  color: var(--slate-600);
  font-size: 0.88rem;
}

.hero-trust-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--emerald-100);
  color: var(--emerald-800);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: bold;
}

/* Visual Frame: Editorial crop without awkward overlay stickers */
.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(8, 21, 38, 0.08);
  background: #fff;
  padding: 8px;
}

.hero-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 30%; /* Focal framing to focus on subjects */
  border-radius: calc(var(--radius-lg) - 8px);
}

.hero-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(8, 21, 38, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-md);
}

.hero-caption strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 2px;
}

.hero-caption span {
  font-size: 0.82rem;
  color: #c9d8e7;
  line-height: 1.4;
}

/* Trust & Credibility Strip */
.trust-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--slate-200);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 28px 24px;
  border-right: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-item:last-child {
  border-right: 0;
}

.stat-number {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy-950);
  font-size: 1.25rem;
  line-height: 1.2;
}

.stat-label {
  color: var(--slate-600);
  font-size: 0.86rem;
  margin-top: 4px;
  font-weight: 500;
}

/* Sections */
.section {
  padding: 92px 0;
}

.section-warm {
  background-color: var(--paper-warm);
}

.section-navy {
  background-color: var(--navy-950);
  color: #ffffff;
}

.section-navy .section-title,
.section-navy h2,
.section-navy h3 {
  color: #ffffff;
}

.section-navy .section-desc {
  color: #c4d4e6;
}

.section-emerald {
  background-color: var(--emerald-50);
}

/* Editorial Story Block */
.story-block {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
}

.story-copy p {
  color: var(--slate-700);
  margin: 14px 0;
  font-size: 1.06rem;
}

.story-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
  background: #fff;
  padding: 8px;
}

.story-media img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center 35%;
  border-radius: calc(var(--radius-lg) - 8px);
}

/* Human Pull Quote */
.quote-box {
  margin: 28px 0;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--terracotta-600);
  padding: 22px 24px;
  border-radius: var(--radius-sm);
  position: relative;
}

.quote-box blockquote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy-950);
  line-height: 1.6;
}

.quote-box cite {
  display: block;
  font-style: normal;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--slate-600);
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

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

/* Pillar & Purpose Cards */
.pillar-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.pillar-card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-3px);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(221, 94, 46, 0.18);
  color: var(--gold-500);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.pillar-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.pillar-card p {
  color: #c9d8ea;
  font-size: 1.02rem;
  line-height: 1.68;
}

/* Program Cards: Grounded, Editorial */
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.program-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--slate-300);
}

.program-card-media {
  position: relative;
  overflow: hidden;
  height: 200px;
  background: var(--slate-100);
}

.program-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 0.4s ease;
}

.program-card:hover .program-card-media img {
  transform: scale(1.04);
}

.program-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.program-meta {
  font-size: 0.74rem;
  color: var(--terracotta-600);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.program-body h3 {
  font-family: var(--font-serif);
  color: var(--navy-950);
  font-size: 1.32rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.program-body p {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.62;
  flex: 1;
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--terracotta-600);
  font-weight: 700;
  font-size: 0.92rem;
}

.program-link:hover {
  color: var(--terracotta-700);
  gap: 9px;
}

/* How We Work Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.step {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  background: #ffffff;
  position: relative;
  box-shadow: var(--shadow-xs);
}

.step-num {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--terracotta-600);
  font-size: 1.4rem;
  margin-bottom: 8px;
  display: block;
}

.step h3 {
  font-family: var(--font-serif);
  color: var(--navy-950);
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.step p {
  color: var(--slate-600);
  font-size: 0.94rem;
  line-height: 1.62;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
  border-radius: var(--radius-xl);
  padding: 56px 60px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(221, 94, 46, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-family: var(--font-serif);
  color: #ffffff;
  margin: 0 0 12px;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
}

.cta-banner p {
  color: #c9d8eb;
  max-width: 640px;
  font-size: 1.1rem;
}

/* Sub-page Heroes */
.page-hero {
  padding: 72px 0 80px;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(221, 94, 46, 0.12), transparent 45%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb {
  font-size: 0.85rem;
  color: #a7bccc;
  margin-bottom: 14px;
}

.breadcrumb a {
  color: #e2edf7;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 10px 0 16px;
  color: #ffffff;
}

.page-hero p {
  max-width: 740px;
  color: #cad8e8;
  font-size: 1.15rem;
  line-height: 1.7;
}

/* Program Detailed Sections */
.program-section {
  padding: 84px 0;
  border-bottom: 1px solid var(--slate-200);
}

.program-section:nth-child(even) {
  background-color: #ffffff;
}

.program-section:nth-child(odd) {
  background-color: var(--paper-warm);
}

.program-feature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.program-feature.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.program-feature.reverse .program-copy {
  order: 2;
}

.program-feature.reverse .program-gallery {
  order: 1;
}

.program-copy h2 {
  font-family: var(--font-serif);
  margin: 8px 0 16px;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  color: var(--navy-950);
}

.activity-list {
  list-style: none;
  margin: 24px 0 0;
}

.activity-list li {
  position: relative;
  padding-left: 32px;
  margin: 14px 0;
  color: var(--slate-700);
  font-size: 1rem;
  line-height: 1.6;
}

.activity-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dd5e2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.program-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 220px 170px;
  gap: 14px;
}

.program-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.program-gallery img:first-child {
  grid-column: 1 / 3;
}

/* Governance & Credibility Architecture */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.person-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  position: relative;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.person-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.person-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--terracotta-600) 0%, var(--gold-500) 100%);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.person-card h3 {
  font-family: var(--font-serif);
  color: var(--navy-950);
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.person-card p {
  color: var(--slate-600);
  font-size: 0.94rem;
}

.role-label {
  display: inline-block;
  margin-top: 14px;
  background: var(--terracotta-50);
  color: var(--terracotta-700);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.role-label-emerald {
  background: var(--emerald-50);
  color: var(--emerald-800);
}

/* Trust Snapshot Card */
.trust-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.trust-snapshot-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-xs);
}

.trust-snapshot-card h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--navy-950);
  margin-bottom: 16px;
}

.trust-detail-list {
  list-style: none;
}

.trust-detail-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.94rem;
}

.trust-detail-list li:last-child {
  border-bottom: 0;
}

.trust-detail-label {
  color: var(--slate-600);
  font-weight: 500;
}

.trust-detail-value {
  color: var(--navy-950);
  font-weight: 700;
  text-align: right;
}

/* Interactive Multi-Track Inquiry & Contact Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: start;
}

.contact-card {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--slate-200);
}

.contact-card:last-child {
  border-bottom: 0;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--terracotta-50);
  color: var(--terracotta-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-card strong {
  display: block;
  color: var(--navy-950);
  font-size: 0.96rem;
}

.contact-card a {
  color: var(--terracotta-600);
  font-weight: 600;
}

.contact-card a:hover {
  text-decoration: underline;
}

.desk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.desk {
  border: 1px solid var(--slate-200);
  padding: 18px;
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.desk strong {
  display: block;
  color: var(--navy-950);
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.desk a {
  color: var(--terracotta-600);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Form Styles */
.form-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow-sm);
}

.form-card h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--navy-950);
  margin-bottom: 8px;
}

.inquiry-track-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.inquiry-track-btn {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--slate-300);
  background: #fff;
  color: var(--slate-700);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.inquiry-track-btn.active,
.inquiry-track-btn:hover {
  background: var(--navy-950);
  color: #fff;
  border-color: var(--navy-950);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  color: var(--navy-950);
  font-weight: 700;
  font-size: 0.86rem;
  margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: #ffffff;
  color: var(--slate-900);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--terracotta-600);
  box-shadow: 0 0 0 3px rgba(221, 94, 46, 0.15);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-feedback {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  font-size: 0.9rem;
}

.form-feedback.success {
  display: block;
  background: var(--emerald-50);
  color: var(--emerald-800);
  border: 1px solid var(--emerald-100);
}

/* Direct Contribution / Bank Transfer Box */
.bank-details-box {
  background: var(--paper-warm);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 24px;
}

.bank-details-box h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--navy-950);
  margin-bottom: 12px;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.94rem;
}

.bank-row:last-child {
  border-bottom: 0;
}

.copy-btn {
  background: #fff;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-xs);
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--slate-700);
  transition: 0.2s ease;
}

.copy-btn:hover {
  background: var(--navy-950);
  color: #fff;
  border-color: var(--navy-950);
}

/* Footer */
.footer {
  background: var(--navy-950);
  color: #bac8d8;
  padding: 72px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.85fr 0.9fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-brand .brand-mark {
  width: 46px;
  height: 46px;
}

.footer-brand .brand-name {
  color: #ffffff;
  font-size: 1.12rem;
}

.footer-brand .brand-tag {
  color: var(--gold-500);
}

.footer h4 {
  font-family: var(--font-serif);
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.footer a {
  display: block;
  color: #bac8d8;
  font-size: 0.92rem;
  margin: 10px 0;
}

.footer a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer p {
  font-size: 0.92rem;
  color: #93a6ba;
  line-height: 1.65;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #7b8fa3;
}

/* Mobile & Responsive Rules */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-frame img {
    height: 400px;
  }
  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .story-block,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .topbar {
    display: none;
  }
  :root {
    --header-height: 70px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-actions {
    display: none;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(85vw, 360px);
    background: var(--navy-950);
    flex-direction: column;
    align-items: stretch;
    padding: 88px 24px 36px;
    gap: 6px;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.35s;
    z-index: 110;
    box-shadow: -18px 0 54px rgba(0, 0, 0, 0.4);
  }
  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-links a {
    color: #ffffff;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.05rem;
  }
  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    background: rgba(221, 94, 46, 0.18);
    color: #ffffff;
  }
  .menu-close {
    display: block;
  }
  .mobile-cta {
    display: flex !important;
    margin-top: 16px;
    background: var(--terracotta-600) !important;
    color: #ffffff !important;
    justify-content: center;
    border-bottom: 0 !important;
  }
  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 21, 38, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
  }
  .menu-overlay.open {
    opacity: 1;
    visibility: visible;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: 0;
  }
  .stat-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--slate-200);
  }
  .program-feature,
  .program-feature.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .program-feature.reverse .program-copy,
  .program-feature.reverse .program-gallery {
    order: initial;
  }
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 32px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 32px), var(--container-max));
  }
  .brand-tag {
    display: none;
  }
  .brand-name {
    font-size: 0.98rem;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  .hero {
    padding: 48px 0 56px;
  }
  .hero h1 {
    font-size: 2.45rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-frame img {
    height: 320px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-item {
    border-right: 0;
    border-bottom: 1px solid var(--slate-200);
    padding: 18px 14px;
  }
  .stat-item:last-child {
    border-bottom: 0;
  }
  .section {
    padding: 64px 0;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .program-grid,
  .steps,
  .team-grid,
  .trust-snapshot-grid,
  .desk-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
  .program-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .program-gallery img,
  .program-gallery img:first-child {
    grid-column: auto;
    height: 220px;
  }
  .cta-banner {
    padding: 32px 24px;
    border-radius: var(--radius-lg);
  }
  .footer {
    padding: 56px 0 28px;
  }
  .footer-bottom {
    flex-direction: column;
  }
}

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