/* =========================================================
   THE DRIVEABLE FOUNDATION — STYLESHEET
   Premium nonprofit site, editorial aesthetic
   ========================================================= */

:root {
  --navy: #023e8a;
  --navy-deep: #012356;
  --cyan: #00b4d8;
  --cyan-soft: #48cae4;
  --steel: #5a7fa0;
  --yellow: #fbbf24;
  --white: #ffffff;
  --cream: #fafaf7;
  --ink: #0a1929;
  --gray-100: #f5f7fa;
  --gray-200: #e8edf3;
  --gray-400: #94a3b8;
  --gray-600: #475569;

  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --max-w: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 10vw, 8rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: var(--navy); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--cyan); }

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.15; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1.1em; }
p.lead { font-size: 1.25rem; line-height: 1.55; color: var(--gray-600); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.25rem;
  display: inline-block;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; margin: 0 auto; }

section { padding: var(--section-y) 0; }

/* =========================================================
   NAVIGATION
   ========================================================= */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, padding 0.3s ease;
}

.nav.scrolled { border-bottom-color: var(--gray-200); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}
.nav-logo img { height: 48px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 0.4rem 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--cyan);
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--navy); }

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.65rem 1.4rem !important;
  border-radius: 999px;
  font-weight: 600 !important;
  transition: all 0.25s ease;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--cyan);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 180, 216, 0.35);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  margin: 6px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 2rem;
    border-bottom: 1px solid var(--gray-200);
    transform: translateY(-150%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { border-bottom: 1px solid var(--gray-200); }
  .nav-links li:last-child { border-bottom: none; padding-top: 0.6rem; }
  .nav-links a { display: block; padding: 1rem 0; font-size: 1.1rem; }
  .nav-cta { text-align: center; }
  .nav-toggle { display: block; }
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  padding: 11rem 0 7rem;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(0, 180, 216, 0.18), transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(2, 62, 138, 0.12), transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(2, 62, 138, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 62, 138, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
}

.hero h1 {
  margin-bottom: 1.5rem;
}
.hero h1 .accent { color: var(--cyan); font-style: italic; }

.hero-sub {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--gray-600);
  margin-bottom: 2.25rem;
  max-width: 560px;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.85rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--cyan);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 180, 216, 0.32);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-arrow::after {
  content: "→";
  transition: transform 0.25s ease;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* Hero visual: layered eye/road graphic */
.hero-visual {
  position: relative;
  aspect-ratio: 5 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.22) 0%, transparent 65%);
  border-radius: 50%;
  filter: blur(30px);
}
.hero-logo {
  width: 100%;
  max-width: none;
  position: relative;
  z-index: 2;
  transform: scale(1.15);
}
@media (max-width: 980px) {
  .hero-visual { aspect-ratio: 5 / 3; max-width: 520px; margin: 0 auto; }
  .hero-logo { transform: scale(1); }
}

/* =========================================================
   GAP SECTION (deep navy)
   ========================================================= */

.gap-section {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.gap-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(0, 180, 216, 0.22), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(72, 202, 228, 0.15), transparent 45%);
  pointer-events: none;
}
.gap-section .container { position: relative; z-index: 2; }
.gap-section h2 { color: var(--white); }
.gap-section .eyebrow { color: var(--cyan-soft); }

.gap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 880px) {
  .gap-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.gap-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.stat-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  backdrop-filter: blur(10px);
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-soft);
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  color: var(--cyan-soft);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-num-text {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
}

.gap-section p.lead { color: rgba(255, 255, 255, 0.85); }

/* =========================================================
   TWO PATHWAYS
   ========================================================= */

.pathways-section { background: var(--cream); }

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4.5rem;
}
.section-header p { color: var(--gray-600); font-size: 1.15rem; }

.pathways-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 880px) { .pathways-grid { grid-template-columns: 1fr; } }

.pathway {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(2, 62, 138, 0.06);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}
.pathway:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(2, 62, 138, 0.15);
}

.pathway-image {
  aspect-ratio: 16 / 10;
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}
.pathway-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.pathway:hover .pathway-image img { transform: scale(1.06); }

.pathway-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(2, 62, 138, 0.35) 100%);
}

.pathway-number {
  position: absolute;
  top: 1.5rem; left: 1.5rem;
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  z-index: 2;
}

.pathway-body { padding: 2.5rem 2rem 2.25rem; flex-grow: 1; display: flex; flex-direction: column; }
.pathway h3 { margin-bottom: 1rem; }
.pathway p { color: var(--gray-600); font-size: 1.02rem; flex-grow: 1; }

.pathway-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
  padding: 0;
}
.pathway-list li {
  padding: 0.6rem 0 0.6rem 1.75rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--ink);
  border-top: 1px solid var(--gray-200);
}
.pathway-list li:first-child { border-top: none; }
.pathway-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.05rem;
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
}

.pathway-link {
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  align-self: flex-start;
}
.pathway-link::after {
  content: "→";
  transition: transform 0.25s ease;
}
.pathway-link:hover { color: var(--cyan); }
.pathway-link:hover::after { transform: translateX(4px); }

/* =========================================================
   STORY / FOUNDER QUOTE
   ========================================================= */

.story-section {
  background: var(--white);
  text-align: center;
}
.story-section .container { max-width: 880px; }

.story-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: 1.35;
  color: var(--navy);
  margin: 2.5rem 0;
  position: relative;
}
.story-quote::before {
  content: "\201C";
  font-size: 6rem;
  color: var(--cyan);
  position: absolute;
  top: -2.5rem; left: 50%;
  transform: translateX(-50%);
  opacity: 0.5;
  line-height: 1;
}

.story-attribution {
  font-size: 0.95rem;
  color: var(--steel);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

/* =========================================================
   WORK IN PROGRESS / WHAT WE'RE DOING
   ========================================================= */

.work-section { background: var(--cream); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}
@media (max-width: 880px) { .work-grid { grid-template-columns: 1fr; } }

.work-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 18px;
  border: 1px solid var(--gray-200);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.work-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.work-card:hover::before { transform: scaleX(1); }
.work-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 20px 50px rgba(2, 62, 138, 0.1);
}

.work-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--white);
}
.work-icon svg { width: 28px; height: 28px; }

.work-card h4 { margin-bottom: 0.75rem; color: var(--navy); font-family: var(--serif); font-size: 1.3rem; }
.work-card p { color: var(--gray-600); font-size: 0.97rem; margin-bottom: 0; }

.work-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.tag-now { background: rgba(0, 180, 216, 0.12); color: var(--navy); }
.tag-soon { background: rgba(251, 191, 36, 0.18); color: #92560a; }
.tag-future { background: rgba(90, 127, 160, 0.15); color: var(--steel); }

/* =========================================================
   CTA SECTION
   ========================================================= */

.cta-section {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #034da8 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 180, 216, 0.25), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(72, 202, 228, 0.18), transparent 50%);
  filter: blur(40px);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 2; max-width: 760px; }
.cta-section h2 { color: var(--white); margin-bottom: 1.25rem; }
.cta-section p { color: rgba(255, 255, 255, 0.85); font-size: 1.2rem; margin-bottom: 2.5rem; }

.cta-section .btn-primary { background: var(--white); color: var(--navy); }
.cta-section .btn-primary:hover { background: var(--cyan); color: var(--white); box-shadow: 0 20px 50px rgba(0, 180, 216, 0.4); }
.cta-section .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.cta-section .btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  background: var(--ink);
  color: var(--gray-400);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand h3 { color: var(--white); font-family: var(--serif); margin-bottom: 1rem; font-size: 1.5rem; }
.footer-brand p { font-size: 0.95rem; color: var(--gray-400); }
.footer-brand img { height: 110px; width: auto; margin-bottom: 1.25rem; display: block; max-width: 100%; }

.footer-col h4 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.75rem; font-size: 0.95rem; }
.footer-col a { color: var(--gray-400); }
.footer-col a:hover { color: var(--cyan-soft); }

.footer-newsletter { font-size: 0.95rem; }
.footer-newsletter p { margin-bottom: 1rem; color: var(--gray-400); }
.footer-newsletter form { display: flex; gap: 0; }
.footer-newsletter input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-right: none;
  border-radius: 999px 0 0 999px;
  padding: 0.8rem 1.1rem;
  font-size: 0.9rem;
  color: var(--white);
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s ease;
}
.footer-newsletter input::placeholder { color: var(--gray-400); }
.footer-newsletter input:focus { border-color: var(--cyan); }
.footer-newsletter button {
  background: var(--cyan);
  color: var(--white);
  border: none;
  padding: 0 1.4rem;
  border-radius: 0 999px 999px 0;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.25s ease;
}
.footer-newsletter button:hover { background: var(--cyan-soft); }
.footer-msg { margin-top: 0.75rem; font-size: 0.85rem; min-height: 1.2em; color: var(--cyan-soft); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.88rem;
}
.social-row { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.social-row a {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.social-row a:hover {
  background: var(--cyan);
  color: var(--white);
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 180, 216, 0.35);
}
.social-row svg { width: 22px; height: 22px; }

.social-section {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(0, 180, 216, 0.18), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(72, 202, 228, 0.12), transparent 55%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 5rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.social-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.social-section .container { max-width: 800px; position: relative; z-index: 2; }
.social-section .eyebrow { color: var(--cyan-soft); margin-bottom: 1rem; }
.social-section h2 {
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.social-section p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}
.social-section .social-row {
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}
.social-section .social-row a {
  width: 68px; height: 68px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.social-section .social-row a:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 180, 216, 0.4);
}
.social-section .social-row svg { width: 28px; height: 28px; }

/* =========================================================
   INNER PAGE HERO (shorter, for non-home pages)
   ========================================================= */

.page-hero {
  padding: 9rem 0 4rem;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(0, 180, 216, 0.12), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  text-align: center;
}
.page-hero .container { max-width: 820px; }
.page-hero h1 { margin-bottom: 1.25rem; }
.page-hero p { font-size: 1.2rem; color: var(--gray-600); }

/* =========================================================
   ABOUT PAGE: Founder section
   ========================================================= */

.founder-section { background: var(--white); }
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 880px) { .founder-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.founder-image-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(2, 62, 138, 0.18);
}
.founder-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(2, 62, 138, 0.12));
  z-index: 2;
  pointer-events: none;
}
.founder-image-wrap img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.founder-text h2 { margin-bottom: 1.5rem; }
.founder-text p { color: var(--gray-600); font-size: 1.05rem; }

/* Family/team labels under photo */
.photo-caption {
  background: var(--cream);
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--cyan);
  border-radius: 0 12px 12px 0;
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--gray-600);
  font-style: italic;
}

/* =========================================================
   ABOUT PAGE: Values
   ========================================================= */

.values-section { background: var(--cream); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
@media (max-width: 880px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .values-grid { grid-template-columns: 1fr; } }

.value {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 18px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.value:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(2, 62, 138, 0.08); }
.value-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.value h4 { color: var(--navy); margin-bottom: 0.5rem; font-family: var(--serif); }
.value p { font-size: 0.93rem; color: var(--gray-600); margin: 0; }

/* =========================================================
   MISSION PAGE: detailed pathway breakdowns
   ========================================================= */

.pathway-detail {
  padding: var(--section-y) 0;
}
.pathway-detail.alt { background: var(--cream); }

.pathway-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.pathway-detail.alt .pathway-detail-inner > div:first-child { order: 2; }
.pathway-detail.alt .pathway-detail-inner > div:last-child { order: 1; }
@media (max-width: 880px) {
  .pathway-detail-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .pathway-detail.alt .pathway-detail-inner > div:first-child { order: 1; }
  .pathway-detail.alt .pathway-detail-inner > div:last-child { order: 2; }
}

.pathway-detail-image {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 28px 60px rgba(2, 62, 138, 0.15);
}
.pathway-detail-image img { width: 100%; height: 100%; object-fit: cover; }

.pathway-detail h2 { margin-bottom: 1.5rem; }
.pathway-detail p { color: var(--gray-600); font-size: 1.05rem; }

.feature-list {
  list-style: none;
  margin-top: 2rem;
  padding: 0;
}
.feature-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.feature-list li:last-child { border-bottom: none; }
.feature-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(0, 180, 216, 0.12);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-list h4 { font-family: var(--serif); color: var(--navy); margin-bottom: 0.3rem; }
.feature-list p { color: var(--gray-600); font-size: 0.96rem; margin: 0; }

/* =========================================================
   MISSION STATEMENT BLOCK
   ========================================================= */

.mission-block {
  background: var(--navy);
  color: var(--white);
  padding: var(--section-y) 0;
  position: relative;
  overflow: hidden;
}
.mission-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 180, 216, 0.25), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(72, 202, 228, 0.15), transparent 50%);
  pointer-events: none;
}
.mission-block .container { max-width: 860px; position: relative; z-index: 2; text-align: center; }
.mission-block .eyebrow { color: var(--cyan-soft); }
.mission-block h2 { color: var(--white); margin-bottom: 2rem; }
.mission-block p {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.5rem;
}
.mission-block .closing {
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: var(--cyan-soft);
  margin-top: 2rem;
}

/* =========================================================
   GET INVOLVED / DONATE
   ========================================================= */

.support-section { background: var(--white); }
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}
@media (max-width: 880px) { .support-grid { grid-template-columns: 1fr; } }

.support-card {
  background: var(--cream);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: 1px solid transparent;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}
.support-card.featured {
  background: linear-gradient(160deg, var(--navy) 0%, #034da8 100%);
  color: var(--white);
}
.support-card.featured h3 { color: var(--white); }
.support-card.featured p { color: rgba(255, 255, 255, 0.85); }

.support-card:hover { transform: translateY(-6px); }
.support-card:not(.featured):hover { border-color: var(--cyan); box-shadow: 0 20px 50px rgba(0, 180, 216, 0.12); }
.support-card.featured:hover { box-shadow: 0 28px 60px rgba(2, 62, 138, 0.35); }

.support-card h3 { font-family: var(--serif); margin-bottom: 1rem; font-size: 1.6rem; }
.support-card p { color: var(--gray-600); margin-bottom: 1.5rem; flex-grow: 1; }
.support-card .btn { align-self: flex-start; }
.support-card.featured .btn-primary { background: var(--cyan); color: var(--white); }
.support-card.featured .btn-primary:hover { background: var(--white); color: var(--navy); }

/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.contact-info h3 { font-family: var(--serif); margin-bottom: 1.5rem; }
.contact-info p { color: var(--gray-600); margin-bottom: 2rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-item-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(0, 180, 216, 0.12);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.contact-item-icon svg { width: 22px; height: 22px; }
.contact-item-text { font-size: 0.97rem; }
.contact-item-label { font-size: 0.78rem; color: var(--steel); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.2rem; }

.contact-form {
  background: var(--cream);
  padding: 2.5rem;
  border-radius: 20px;
}
.contact-form .field { margin-bottom: 1.25rem; }
.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: var(--white);
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}
.contact-form button {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 0.5rem;
}
.contact-form button:hover { background: var(--cyan); transform: translateY(-1px); box-shadow: 0 14px 36px rgba(0, 180, 216, 0.28); }
.form-msg { margin-top: 1rem; font-size: 0.95rem; color: var(--navy); min-height: 1.2em; font-weight: 600; }

/* =========================================================
   FAQ / FOUNDATION CONTEXT
   ========================================================= */

.context-section { background: var(--cream); }
.context-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 880px) { .context-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.context-section h3 { font-family: var(--serif); margin-bottom: 1.25rem; color: var(--navy); }
.context-section p { color: var(--gray-600); }

/* =========================================================
   GAP VISUALIZATION (About page)
   ========================================================= */

.gap-viz {
  margin: 4rem 0 3rem;
}
.gap-viz-track {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(2, 62, 138, 0.15);
}
.gap-viz-block {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  min-height: 240px;
}
.gap-viz-left {
  background: linear-gradient(135deg, #023e8a 0%, #034da8 100%);
  color: var(--white);
  text-align: right;
}
.gap-viz-right {
  background: linear-gradient(135deg, #034da8 0%, #023e8a 100%);
  color: var(--white);
  text-align: left;
}
.gap-viz-center {
  background:
    repeating-linear-gradient(
      45deg,
      #fbbf24,
      #fbbf24 12px,
      #f59e0b 12px,
      #f59e0b 24px
    );
  color: var(--ink);
  text-align: center;
  position: relative;
}
.gap-viz-center::before {
  content: "";
  position: absolute;
  inset: 6px;
  background: var(--cream);
  border-radius: 12px;
}
.gap-viz-center-inner {
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}
.gap-viz-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  opacity: 0.85;
}
.gap-viz-left .gap-viz-label { color: var(--cyan-soft); }
.gap-viz-right .gap-viz-label { color: var(--cyan-soft); }
.gap-viz-center .gap-viz-label { color: #92560a; }
.gap-viz-value {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.gap-viz-desc {
  font-size: 0.92rem;
  line-height: 1.45;
  opacity: 0.88;
}
.gap-viz-center .gap-viz-value { color: var(--navy); }
.gap-viz-center .gap-viz-desc { color: var(--gray-600); }

.gap-viz-caption {
  text-align: center;
  margin-top: 2rem;
  font-style: italic;
  color: var(--gray-600);
  font-size: 1.05rem;
}

@media (max-width: 720px) {
  .gap-viz-track { grid-template-columns: 1fr; }
  .gap-viz-block { text-align: center; min-height: 0; padding: 2rem 1.5rem; }
  .gap-viz-left, .gap-viz-right { text-align: center; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }
.reveal.delay-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   UTILITY
   ========================================================= */

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* =========================================================
   WHO WE SERVE (mission page) — extends .gap-section styling
   ========================================================= */

.who-section .gap-stats {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
@media (max-width: 1000px) {
  .who-section .gap-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .who-section .gap-stats { grid-template-columns: 1fr; }
}

.stats-source {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  font-style: italic;
}

/* =========================================================
   FAQ SECTION (mission page)
   ========================================================= */

.faq-section {
  background: var(--gray-100);
  padding: 6rem 0 7rem;
}

.faq-list {
  max-width: 880px;
  margin: 3rem auto 0;
  display: grid;
  gap: 1.25rem;
}

.faq-item {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 2.25rem;
  border: 1px solid var(--gray-200);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(2, 62, 138, 0.08);
  border-color: var(--cyan-soft);
}

.faq-item h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.faq-item p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--gray-600);
  margin: 0;
}

@media (max-width: 640px) {
  .faq-section { padding: 4.5rem 0 5.5rem; }
  .faq-item { padding: 1.5rem 1.5rem; }
  .faq-item h3 { font-size: 1.15rem; }
  .faq-item p { font-size: 0.98rem; }
}

/* =========================================================
   VIDEO SECTION (homepage)
   ========================================================= */
.video-section {
  background: var(--white);
  padding: 6rem 0 7rem;
}
.video-embed {
  max-width: 960px;
  margin: 3rem auto 0;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(2, 62, 138, 0.18);
  background: var(--navy);
}
.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 720px) {
  .video-section { padding: 4.5rem 0 5.5rem; }
  .video-embed { border-radius: 14px; }
}
