/* ================================================================
   Bluespectrum Innovative — Home Page Stylesheet
   Faithfully rebuilt from Framer handoff (FramerMigrate/).

   Custom fonts required from owner (Gilroy family + Aventa).
   Place woff2 files in assets/fonts/ and uncomment @font-face blocks.
   Fallback: Inter (loaded from Google Fonts) for headings; Georgia for body.
   ================================================================ */

/* ── Custom fonts ───────────────────────────────────────────────── */
@font-face {
  font-family: 'Gilroy-Thin';
  src: url('assets/fonts/Gilroy-Thin.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gilroy-SemiBold';
  src: url('assets/fonts/Gilroy-SemiBold.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gilroy-Medium';
  src: url('assets/fonts/Gilroy-Medium.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gilroy-Bold';
  src: url('assets/fonts/Gilroy-Bold.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gilroy-Regular';
  src: url('assets/fonts/Gilroy-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gilroy-RegularItalic';
  src: url('assets/fonts/Gilroy-RegularItalic.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}

@font-face {
  font-family: 'Aventa';
  src: url('assets/fonts/Aventa-Thin.ttf') format('truetype');
  font-weight: 100; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aventa';
  src: url('assets/fonts/Aventa-ThinItalic.ttf') format('truetype');
  font-weight: 100; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Aventa';
  src: url('assets/fonts/Aventa-ExtraLight.ttf') format('truetype');
  font-weight: 200; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aventa';
  src: url('assets/fonts/Aventa-ExtraLightItalic.ttf') format('truetype');
  font-weight: 200; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Aventa';
  src: url('assets/fonts/Aventa-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aventa';
  src: url('assets/fonts/Aventa-LightItalic.ttf') format('truetype');
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Aventa';
  src: url('assets/fonts/Aventa-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aventa';
  src: url('assets/fonts/Aventa-Italic.ttf') format('truetype');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Aventa';
  src: url('assets/fonts/Aventa-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aventa';
  src: url('assets/fonts/Aventa-MediumItalic.ttf') format('truetype');
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Aventa';
  src: url('assets/fonts/Aventa-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aventa';
  src: url('assets/fonts/Aventa-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Aventa';
  src: url('assets/fonts/Aventa-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aventa';
  src: url('assets/fonts/Aventa-BoldItalic.ttf') format('truetype');
  font-weight: 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Aventa';
  src: url('assets/fonts/Aventa-ExtraBold.ttf') format('truetype');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aventa';
  src: url('assets/fonts/Aventa-ExtraBoldItalic.ttf') format('truetype');
  font-weight: 800; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Aventa';
  src: url('assets/fonts/Aventa-Black.ttf') format('truetype');
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aventa';
  src: url('assets/fonts/Aventa-BlackItalic.ttf') format('truetype');
  font-weight: 900; font-style: italic; font-display: swap;
}

/* ── CSS Custom Properties ──────────────────────────────────────── */
:root {
  /* ── Font stack aliases (point to tokens.css --font-* vars) ─────
     Always use these aliases in CSS — never hardcode font names.   */
  --f-thin:      'Gilroy-Thin',          'Inter', system-ui, sans-serif;
  --f-semibold:  var(--font-semibold);   /* Gilroy-SemiBold */
  --f-bold:      var(--font-heading);    /* Gilroy-Bold     */
  --f-medium:    var(--font-medium);     /* Gilroy-Medium   */
  --f-italic:    'Gilroy-RegularItalic', 'Inter', system-ui, sans-serif;
  --f-body:      var(--font-body);       /* Aventa          */

  /* ── Color aliases (point to tokens.css --color-* vars) ─────────
     Keeps existing code working; new code should use --color-* directly. */
  --cyan:          var(--color-cyan);        /* #42c8f4 */
  --navy:          var(--color-navy);        /* #0d0c3f */
  --near-black:    var(--color-near-black);  /* #050505 */
  --dark-blue:     var(--color-primary);     /* #002347 */
  --white:         var(--color-white);       /* #ffffff */
  --gray-text:     var(--color-gray-text);   /* #dbdaff lavender on dark */
  --black-subtext: var(--color-subtext);     /* #4a5453 */
  --light-border:  var(--color-gray-d0);     /* #d0d5dd */
  --approach-bg:   #f9fafb;                  /* no token yet */
  --service-para:  var(--color-gray-text);   /* same lavender gray */
  --footer-label:  var(--color-gray-mid);    /* #908fa7 */
  --footer-body:   #cfd4dc;                  /* no token yet */
  --eyebrow-muted: var(--color-gray-67);     /* #667085 */

  /* ── Responsive gutters (phone=20, tablet=32, desktop=48) ───────
     tokens.css also defines --gutter-mobile/tablet/desktop.
     This :root keeps the simpler --gutter shorthand. */
  --gutter:     20px;
  --nav-height: 68px;
}
@media (min-width: 810px)  { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { margin: 0; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--black-subtext);
  line-height: 1.35;
  overflow-x: clip;
}
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--f-semibold); }
p { margin: 0; }
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; margin: 0; padding: 0; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
div { display: flex; flex-direction: column; }

/* ── Eyebrow tag ────────────────────────────────────────────────── */
/* Every section's eyebrow: 4px cyan left rule, Gilroy-Medium 16px */
.eyebrow-tag {
  display: inline-block;
  border-left: 4px solid var(--cyan);
  padding: 4px 16px 2px;
  font-family: var(--f-medium);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.1;
  color: var(--white);
}
/* Muted version for white/light sections */
.section-eyebrow--muted {
  color: var(--eyebrow-muted);
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 14px 20px 12px;
  border-radius: 12px;
  font-family: var(--f-medium);
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
  white-space: nowrap;
}

/* Primary — cyan fill, dark label */
.btn-primary-cta {
  background:
    radial-gradient(circle 80px at var(--cursor-x, -200px) var(--cursor-y, -200px), rgba(255,255,255,0.45) 0%, transparent 100%),
    var(--cyan);
  color: var(--dark-blue);
}

/* Secondary — dark-bg, white text */
.btn-secondary-cta {
  background:
    radial-gradient(circle 80px at var(--cursor-x, -200px) var(--cursor-y, -200px), rgba(66,200,244,0.4) 0%, transparent 100%),
    rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* On-white outlined — light border, dark label */
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  height: 56px;
  padding: 14px 20px 12px;
  border-radius: 12px;
  font-family: var(--f-medium);
  font-weight: 400;
  font-size: 16px;
  color: var(--dark-blue);
  border: 1px solid var(--light-border);
  background: radial-gradient(circle 80px at var(--cursor-x, -200px) var(--cursor-y, -200px), rgba(66,200,244,0.15) 0%, transparent 100%);
  transition: border-color 0.2s ease;
}
.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  border-color: var(--dark-blue);
}

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Header ─────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: transparent;
  border-bottom: none;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.scrolled {
  background: rgba(7, 7, 7, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--gutter);
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}
.nav-logo img { height: 30px; width: auto; }

/* Desktop nav links — centered absolutely */
.nav-links {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links ul {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0;
  color: #9F9F9F;
  padding: 8px 16px;
  border-radius: 8px;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: #FFFFFF; font-weight: 600; }

/* Hide Home nav item — logo handles home navigation */
.nav-links li:has(a[href="https://bluespectruminnovative.com/"]),
.mobile-menu li:has(a[href="https://bluespectruminnovative.com/"]) {
  display: none;
}

/* Header CTA */
.nav-cta {
  display: none;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 12px 0 18px;
  border-radius: 12px;
  background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 54%, #42C8F4 100%);
  border: none;
  color: #0D0C3F;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.nav-cta:hover { opacity: 0.88; }
.nav-cta .nav-cta-arr {
  display: none;
}

/* Hamburger — phone only */
.nav-toggle {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 8px;
  color: var(--white);
  padding: 0;
  transition: background 0.2s ease;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.1); }

/* ── Mobile Menu (dialog) ───────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  height: 100%;
  margin: 0;
  padding: 80px var(--gutter) var(--gutter);
  border: none;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}
.mobile-menu:not([open]) { display: none; }

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: var(--gutter);
  width: 44px; height: 44px;
  display: flex;
  flex-direction: row; align-items: center; justify-content: center;
  border-radius: 8px;
  color: var(--white);
  transition: background 0.2s ease;
}
.mobile-menu-close:hover { background: rgba(255, 255, 255, 0.1); }

.mobile-menu nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu nav a {
  display: block;
  font-family: var(--f-italic);
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
  padding: 10px 0;
  transition: color 0.2s ease;
}
.mobile-menu nav a:hover,
.mobile-menu nav a[aria-current] { color: var(--cyan); }

/* ── 1. Hero Section ────────────────────────────────────────────── */
.hero {
  /* Phone gradient */
  background: linear-gradient(0deg,
    rgba(255, 255, 255, 1)     0%,
    rgba(66, 200, 244, 1)      15%,
    rgb(13, 12, 63)            35%,
    rgba(13, 12, 63, 1)        100%
  );
  min-height: 1274px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: calc(var(--nav-height) + 56px) var(--gutter) 48px;
  max-width: 1440px;
  width: 100%;
  align-self: center;
}

/* Eyebrow */
.hero-eyebrow { /* container, no extra styles needed */ }

/* Two-col row: stacked on phone */
.hero-cols {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-heading {
  font-family: var(--f-semibold);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.1;
  color: var(--white);
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-description {
  font-family: var(--f-body);
  font-size: 20px;
  line-height: 1.35;
  color: var(--gray-text);
}

/* Buttons stack on phone */
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-buttons .btn {
  width: 100%;
}

/* Image strip */
.hero-images {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 0 var(--gutter);
  overflow: hidden;
  align-self: center;
  width: 100%;
  max-width: 1440px;
  margin-top: 16px;
}

.hero-img-card {
  width: 348px;
  height: 348px;
  flex-shrink: 0;
  border-radius: 32px;
  border: 4px solid var(--white);
  overflow: hidden;
  background: var(--navy);
}

/* Outer cards enter from sides, hidden on phone */
.hero-img-card--left  {
  display: none;
  transform: rotate(4deg) translateX(200px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.hero-img-card--right {
  display: none;
  transform: rotate(-3deg) translateX(-200px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
/* After JS triggers */
.hero.cards-visible .hero-img-card--left {
  transform: rotate(4deg)  translateX(0);
  opacity: 1;
}
.hero.cards-visible .hero-img-card--right {
  transform: rotate(-3deg) translateX(0);
  opacity: 1;
}

.hero-img-bg {
  width: 100%; height: 100%;
}
.hero-img-bg--1 {
  background: url('assets/hero-image1.jpg') center / cover no-repeat;
}
/* Exact crop from Framer: image 722×394 in 348×348, left=-245, bottom=-46 */
.hero-img-bg--2 {
  background: url('assets/hero-image2.jpg') no-repeat;
  background-size: 722px 394px;
  background-position: -245px 0;
}
/* Exact crop from Framer: image 934×509 in 348×348, left=-341, top=-65 */
.hero-img-bg--3 {
  background: url('assets/hero-image3.jpg') no-repeat;
  background-size: 934px 509px;
  background-position: -341px -65px;
}

/* ── 2. Research / Impact Section ───────────────────────────────── */
.research-section {
  background: var(--white);
  padding: 48px var(--gutter) 20px;
}
.research-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1440px;
  margin: 0 auto;
}
.research-heading {
  font-family: var(--f-semibold);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.05;
  color: var(--dark-blue);
}
.research-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.research-right > p {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.35;
  color: var(--black-subtext);
}

/* ── 3. Services Section ────────────────────────────────────────── */
.services-section {
  background: var(--white);
  padding: 64px 0;
}

.services-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 var(--gutter);
  max-width: 1440px;
  margin: 0 auto 24px;
}

.section-heading {
  font-family: var(--f-semibold);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.03;
  color: var(--dark-blue);
}

/* Carousel wrapper — clips overflow */
.services-carousel-wrapper {
  position: relative;
  padding: 0 var(--gutter);
  overflow: hidden;
}

/* Phone: vertical list, no horizontal scroll */
.services-track {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Service card */
.service-card {
  background: var(--navy);
  border-radius: 32px;
  overflow: hidden;
  width: 100%;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  position: relative;
  flex-shrink: 0;
}

.service-card-art {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 48px 0 32px;
}
.service-card-art svg {
  width: 234px;
  height: 217px;
  flex-shrink: 0;
}

.service-card-content {
  padding: 0 32px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-card h3 {
  font-family: var(--f-bold);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  color: var(--white);
}
.service-card p {
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.3;
  color: var(--service-para);
}

/* Carousel arrow buttons — hidden on phone */
.carousel-btn { display: none; }

/* ── 4. Approach Section ────────────────────────────────────────── */
.approach-section {
  background: var(--approach-bg);
  padding: 64px 0 0;
}

.approach-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 var(--gutter);
  max-width: 1440px;
  margin: 0 auto 32px;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0 var(--gutter) 64px;
  max-width: 1440px;
  margin: 0 auto;
}

.approach-card {
  background-image: url('assets/approach-bg.png');
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 220px;
}

.approach-num {
  font-family: var(--f-bold);
  font-weight: 400;
  font-size: 72px;
  line-height: 1.05;
  color: rgba(0, 36, 71, 0.19);
  text-align: center;
}

.approach-title {
  font-family: var(--f-bold);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.05;
  color: var(--dark-blue);
}

.approach-card > p {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.3;
  color: var(--black-subtext);
}

/* ── 5. Vision Section ──────────────────────────────────────────── */
.vision-section {
  background: var(--near-black);
  overflow: hidden;
  padding: 80px 0 0;
}

.vision-inner {
  padding: 0 var(--gutter);
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* On phone the eyebrow stays white by default */

.vision-heading {
  font-family: var(--f-semibold);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.05;
  color: var(--cyan);
  text-align: left;
}

.vision-body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.35;
  color: var(--white);
  text-align: left;
}

/* Globe artwork — phone: 774×282px */
.vision-globe {
  width: 100%;
  margin-top: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.vision-globe img {
  width: 774px;
  height: 282px;
  max-width: none; /* intentionally overflows — cropped by parent */
  display: block;
}

/* ── 6. Final CTA Section ───────────────────────────────────────── */
.cta-final {
  background: var(--navy);
  padding: 96px var(--gutter) 64px;
}

.cta-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.cta-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cta-heading {
  font-family: var(--f-semibold);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.03;
  color: var(--white);
}

.cta-text > p {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.35;
  color: var(--gray-text);
}

.cta-photo {
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
}
.cta-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer {
  background: linear-gradient(to top, #050505 0%, #0e0d40 100%);
  padding: 64px var(--gutter) 0;
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
}

/* Centered logo */
.footer-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}
.footer-logo { height: 48px; width: auto; display: block; }

/* Divider below logo */
.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

/* Two-column layout: contact | social — stacks on mobile */
.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

/* Contact column */
.footer-contact-list { display: flex; flex-direction: column; gap: 40px; }
.footer-contact-row  { display: flex; flex-direction: row; align-items: flex-start; gap: 16px; }
.footer-contact-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.footer-contact-icon img { width: 24px; height: 24px; }
.footer-contact-label {
  display: block;
  font-family: var(--f-medium); font-size: 14px;
  line-height: 1.2; color: #908fa7;
  margin-bottom: 4px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.footer-contact-val {
  display: block;
  font-family: var(--f-medium); font-size: 16px;
  line-height: 1.5; color: #d0d5dd; text-decoration: none;
}
a.footer-contact-val:hover { color: #fff; }

/* Social column */
.footer-social-col  { display: flex; flex-direction: column; gap: 28px; }
.footer-social-main { display: flex; flex-direction: column; gap: 24px; }
.footer-social-grp  { display: flex; flex-direction: column; gap: 10px; }
.footer-social-grp-lbl {
  font-family: var(--f-medium); font-size: 14px;
  color: #908fa7; text-transform: uppercase; letter-spacing: 0.04em;
}
.footer-soc-btn {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: background 0.2s;
  flex-shrink: 0;
}
.footer-soc-btn:hover { background: rgba(255,255,255,0.08); }
.footer-soc-btn img  { width: 24px; height: 24px; }
.footer-find-lbl {
  display: block;
  font-family: var(--f-medium); font-size: 14px;
  color: #908fa7; margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.footer-social-sm { display: flex; flex-direction: row; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

/* Copyright bar */
.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 8px; position: relative;
}
.footer-copy p {
  font-family: var(--f-medium); font-size: 16px; line-height: 1.5;
  color: #d0d5dd; margin: 0;
}
.footer-links { display: flex; flex-direction: row; gap: 24px; }
.footer-links a {
  font-family: var(--f-medium); font-size: 16px; line-height: 1.5;
  color: #fff; text-decoration: none; transition: opacity 0.2s;
}
.footer-links a:hover { opacity: 0.7; }

/* ── Footer: mobile overrides ───────────────────────────────── */
@media (max-width: 809px) {
  .footer-logo-wrap { justify-content: flex-start; }
  .footer-contact-list { gap: 24px; }
  .footer-cols { gap: 0; }
  .footer-social-col {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 32px;
    margin-top: 32px;
  }
  .footer-social-main { flex-direction: row; gap: 40px; }
}

/* ── Reveal animations ──────────────────────────────────────────── */
/* Heading/text: opacity 0, translateY(10px), blur(10px) → visible */
.reveal-text {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(10px);
  transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
}
.reveal-text.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.reveal-text.delay-1 { transition-delay: 0.05s; }
.reveal-text.delay-2 { transition-delay: 0.1s;  }

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

/* ═══════════════════════════════════════════════════════════════
   TABLET  — min-width: 810px
═══════════════════════════════════════════════════════════════ */
@media (min-width: 810px) {

  /* Header: show nav links and CTA, hide hamburger */
  .nav-links  { display: block; }
  .nav-cta    { display: inline-flex; }
  .nav-toggle { display: none; }

  /* ── Hero ── */
  .hero {
    background: linear-gradient(0deg,
      rgba(255, 255, 255, 1)   0%,
      rgba(66, 200, 244, 1)    25%,
      rgb(13, 12, 63)          51%,
      rgba(13, 12, 63, 1)      100%
    );
    min-height: 1080px;
  }

  .hero-heading { font-size: 64px; }

  /* Hero buttons: side by side on tablet */
  .hero-buttons {
    flex-direction: row;
  }
  .hero-buttons .btn { width: auto; }

  /* Outer image cards visible on tablet (clipped by overflow:hidden) */
  .hero-img-card--left,
  .hero-img-card--right {
    display: flex;
  }

  /* ── Research ── */
  .research-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }
  .research-heading {
    flex: 1;
    font-size: 56px;
  }
  .research-right {
    flex: 1;
  }

  /* ── Services ── */
  .section-heading { font-size: 56px; }

  /* Horizontal scrollable carousel */
  .services-carousel-wrapper {
    overflow: hidden;
    padding: 0 var(--gutter);
  }
  .services-track {
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    padding-bottom: 12px;
  }
  .services-track::-webkit-scrollbar { display: none; }
  .services-track.is-dragging { cursor: grabbing; }
  .service-card {
    width: 360px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  /* Carousel arrow buttons */
  .carousel-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--dark-blue);
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    transition: background 0.2s ease, opacity 0.2s ease;
    flex-shrink: 0;
  }
  .carousel-btn:hover { background: var(--white); }
  .carousel-btn--prev { left: calc(var(--gutter) + 20px); }
  .carousel-btn--next { right: calc(var(--gutter) + 20px); }
  .carousel-btn[disabled] { opacity: 0.3; pointer-events: none; }

  /* ── Approach ── */
  .approach-grid { grid-template-columns: repeat(2, 1fr); }

  /* ── Vision: centered ── */
  .vision-inner { align-items: center; }
  .vision-heading {
    font-size: 48px;
    text-align: center;
  }
  .vision-body { text-align: center; }
  .vision-globe img {
    width: 1408px;
    height: 513px;
  }

  /* ── CTA: tablet stacks with 32px gap ── */
  .cta-inner { gap: 32px; }

  /* ── Footer: 2-col grid on tablet+ ── */
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 64px; }
  .footer-social-main { flex-direction: row; gap: 64px; }
  .footer-copy {
    flex-direction: row; align-items: center; justify-content: space-between;
  }
  .footer-copy p {
    position: absolute; left: 50%; transform: translateX(-50%);
    white-space: nowrap;
  }
  .footer-links { margin-left: auto; }
}

/* ═══════════════════════════════════════════════════════════════
   DESKTOP  — min-width: 1200px
═══════════════════════════════════════════════════════════════ */
@media (min-width: 1200px) {

  /* ── Hero: 2-column text layout ── */
  .hero-cols {
    flex-direction: row;
    align-items: flex-end;
    gap: 18px;
  }
  .hero-heading { flex: 1; }
  .hero-right   { flex: 1; }

  /* ── Research: heading 56px desktop ── */
  .research-heading { font-size: 56px; }

  /* ── Services: desktop shows 3 cards initially ── */
  /* (same horizontal scroll, but 3 fit in 1104px = 360*3 + 8*2 = 1096) */
  .service-card { width: 360px; }

  /* ── Approach: 4 columns ── */
  .approach-grid { grid-template-columns: repeat(4, 1fr); }

  /* ── CTA: 2-col horizontal ── */
  .cta-inner {
    flex-direction: row;
    align-items: stretch;
    gap: 64px;
  }
  .cta-text  { flex: 1; }
  .cta-photo {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: stretch;
  }
  .cta-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
  }

  /* ── Footer: same 2-col grid on desktop ── */
}

/* ================================================================
   INNER PAGE SHARED STYLES
   Applies to about.html, services.html, contact.html, foundation.html
================================================================ */

/* ── Utility ────────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Inner page hero (shared base) ─────────────────────────────── */
.page-hero {
  background: linear-gradient(-2deg, rgb(13, 11, 63) 0%, rgba(13, 12, 63, 1) 100%);
  overflow: hidden;
  position: relative;
  padding-top: var(--nav-height);
}
.page-hero-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: calc(1440px + var(--gutter) * 2);
  margin: 0 auto;
  padding: 56px var(--gutter) 64px;
  gap: 32px;
  position: relative;
}
.page-hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 640px;
}
.page-hero-heading {
  font-family: var(--f-semibold);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.03;
  color: var(--white);
}
.page-hero-desc {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.35;
  color: var(--service-para);
}
.heading-slash {
  color: var(--cyan);
}

/* ── About hero: faded brand mark ─────────────────────────────── */
.about-brand-mark {
  font-family: var(--f-bold);
  font-weight: 400;
  font-size: clamp(80px, 20vw, 240px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: -0.04em;
  align-self: flex-end;
  pointer-events: none;
  user-select: none;
}

/* Services hero: compact height */
.services-hero .page-hero-inner {
  min-height: 280px;
}

/* Foundation hero: globe image */
.foundation-hero .page-hero-inner {
  flex-direction: row;
  align-items: flex-start;
  overflow: hidden;
}
.foundation-hero-globe {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 460px;
  opacity: 0.25;
  pointer-events: none;
}
.foundation-hero-globe img {
  width: 100%;
}

/* ── About: Mission & Vision ────────────────────────────────────── */
.mission-section {
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(66,200,244,1) 50%, rgba(13,12,63,1) 100%);
  position: relative;
  overflow: hidden;
}
.africa-silhouette {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 500'%3E%3Cellipse cx='200' cy='250' rx='140' ry='200' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events: none;
}
.mission-block {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 80px var(--gutter);
  min-height: 400px;
}
.mission-block--1 { min-height: 500px; }
.mission-block--2 { min-height: 500px; }
.mission-block-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 924px;
  width: 100%;
}
.mission-statement {
  font-family: var(--f-semibold);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.05;
  text-align: center;
}
.mission-statement--1 {
  color: var(--dark-blue);
  font-size: 22px;
}
.mission-statement--2 {
  color: var(--white);
  font-size: 26px;
}
.section-eyebrow--dark {
  color: var(--dark-blue);
}

/* ── About: What Drives Us ──────────────────────────────────────── */
.drives-section {
  background: var(--white);
  padding: 64px var(--gutter);
}
.drives-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto;
}
.drives-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.drives-heading {
  font-family: var(--f-semibold);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.03;
  color: var(--dark-blue);
}
.drives-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.drive-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 24px;
  padding: 32px 20px;
  min-height: 200px;
}
.drive-card--near-black { background: rgb(4, 4, 4); }
.drive-card--navy       { background: rgb(13, 12, 63); }
.drive-card-icon {
  width: 48px; height: 48px;
  display: flex;
  flex-direction: row; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  flex-shrink: 0;
}
.drive-card-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.drive-card-title {
  font-family: var(--f-bold);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.15;
  color: var(--white);
}
.drive-card-body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.3;
  color: var(--gray-text);
}

/* ── About: Subsidiary / Welcome ────────────────────────────────── */
.subsidiary-section {
  background: var(--approach-bg);
  padding: 80px 40px;
}
.subsidiary-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 1120px;
  margin: 0 auto;
}
.subsidiary-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.subsidiary-heading {
  font-family: var(--f-semibold);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.05;
  color: var(--dark-blue);
}
.subsidiary-body {
  font-size: 16px;
  line-height: 1.35;
  color: var(--black-subtext);
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 12px;
}

/* ── About: Core Values ─────────────────────────────────────────── */
.values-section {
  background: var(--white);
  padding: 64px var(--gutter);
  overflow: hidden;
}
.values-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1104px;
  margin: 0 auto;
}
.values-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.values-heading {
  font-family: var(--f-semibold);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.03;
  color: var(--dark-blue);
}
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.value-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--light-border);
}
.value-item:last-child { border-bottom: none; }
.value-icon {
  width: 48px; height: 48px;
  display: flex;
  flex-direction: row; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.value-number {
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.3;
  color: var(--black-subtext);
  min-width: 28px;
}
.value-title {
  font-family: var(--f-bold);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  color: var(--dark-blue);
}

/* ── Services: Editorial full-width cards ───────────────────────── */
.service-editorial-section {
  background: var(--approach-bg);
  padding: 32px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.svc-card {
  border-radius: 24px;
  overflow: hidden;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}
.svc-card--light { background: rgba(207, 243, 255, 0.4); }
.svc-card--dark  { background: rgb(4, 4, 4); }
.svc-card-inner {
  display: flex;
  flex-direction: column;
  padding: 12px;
  gap: 0;
  min-height: 403px;
}
.svc-card-image {
  width: 100%;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}
.svc-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.svc-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 20px 32px;
  gap: 20px;
  flex: 1;
}
.svc-card-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.svc-card-category {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.3;
}
.svc-card--light .svc-card-category { color: var(--black-subtext); }
.svc-card--dark  .svc-card-category { color: var(--gray-text); }
.svc-card-heading {
  font-family: var(--f-bold);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.05;
}
.svc-card--light .svc-card-heading { color: var(--navy); }
.svc-card--dark  .svc-card-heading { color: var(--white); }
.svc-card-para {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.35;
}
.svc-card--light .svc-card-para { color: var(--black-subtext); }
.svc-card--dark  .svc-card-para { color: var(--service-para); }

/* ── Contact: Info Section ──────────────────────────────────────── */
.contact-info-section {
  background: var(--white);
  padding: 56px var(--gutter);
  overflow: hidden;
}
.contact-info-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1440px;
  margin: 0 auto;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item-icon {
  width: 48px; height: 48px;
  background: rgb(207, 243, 255);
  border-radius: 12px;
  display: flex;
  flex-direction: row; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-item-title {
  font-family: var(--f-bold);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.05;
  color: var(--dark-blue);
}
.contact-item-desc {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.25;
  color: var(--black-subtext);
}
.contact-detail-link {
  display: block;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 24px;
  color: var(--dark-blue);
  border-left: 3px solid var(--cyan);
  padding: 6px 12px;
  background: rgba(207, 243, 255, 0.3);
  margin-top: 8px;
  border-radius: 0 4px 4px 0;
}
.contact-detail-link:hover { background: rgba(66, 200, 244, 0.12); }

/* ── Contact: Map Section ───────────────────────────────────────── */
.map-section {
  background: var(--white);
  padding: 0 var(--gutter) 80px;
}
.map-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto;
}
.map-wrapper {
  position: relative;
  height: 320px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--approach-bg);
}
.map-wrapper iframe {
  width: 100%; height: 100%;
  border: none;
}
/* Show fallback if iframe fails (onerror sets class) */
.map-wrapper.map-error iframe { display: none; }
.map-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  text-align: center;
  color: var(--black-subtext);
}
.map-wrapper.map-error .map-fallback { display: flex; }
.map-open-link {
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--cyan);
  text-decoration: underline;
  align-self: flex-start;
}

/* ── Foundation: Mission section ────────────────────────────────── */
.foundation-mission {
  background: linear-gradient(180deg, rgb(207, 243, 255) 0%, rgb(255, 255, 255) 100%);
  padding: 80px var(--gutter) 100px;
  position: relative;
  overflow: hidden;
}
.foundation-mission-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 924px;
  margin: 0 auto;
  position: relative;
}
/* Decorative concentric rings */
.foundation-mission-circles {
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(66, 200, 244, 0.12),
    0 0 0 40px rgba(66, 200, 244, 0.07),
    0 0 0 80px rgba(66, 200, 244, 0.05),
    0 0 0 120px rgba(66, 200, 244, 0.03);
  pointer-events: none;
}
.foundation-mission-statement {
  font-family: var(--f-semibold);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.05;
  color: var(--dark-blue);
  text-align: center;
}

/* ── Foundation: Programs section ───────────────────────────────── */
.programs-section {
  background: var(--white);
  padding: 80px 40px;
  overflow: hidden;
}
.programs-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1120px;
  margin: 0 auto;
}
.programs-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.programs-heading {
  font-family: var(--f-semibold);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.05;
  color: var(--dark-blue);
}
.programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.program-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 8px 8px 0;
  border-radius: 12px;
  overflow: hidden;
}
.program-card-image {
  width: 100%;
  height: 200px;
  background: var(--approach-bg);
  border-radius: 12px;
  display: flex;
  flex-direction: row; align-items: center; justify-content: center;
}
.program-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 8px 20px;
  min-height: 160px;
}
.program-card-title {
  font-family: var(--f-semibold);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.05;
  color: var(--dark-blue);
}
.program-card-body-text {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.35;
  color: var(--black-subtext);
}

/* ── Foundation: Impact section ─────────────────────────────────── */
.impact-section {
  background: var(--white);
  padding: 64px var(--gutter);
}
.impact-inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
  max-width: 1440px;
  margin: 0 auto;
}
.impact-stories {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.impact-heading {
  font-family: var(--f-semibold);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.03;
  color: var(--dark-blue);
}
.impact-cards-scroll {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.impact-cards-scroll::-webkit-scrollbar { display: none; }
.impact-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  background: var(--approach-bg);
  border-radius: 16px;
  padding: 20px 24px;
  flex-shrink: 0;
}
.impact-stat {
  font-family: var(--f-semibold);
  font-size: 28px;
  line-height: 1;
  color: var(--dark-blue);
  min-width: 80px;
}
.impact-label {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.3;
  color: var(--black-subtext);
}
.sponsors-partners {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.sponsors-heading {
  font-family: var(--f-semibold);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.03;
  color: var(--dark-blue);
  text-align: center;
}
.company-partners, .individual-partners {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.partners-label {
  font-family: var(--f-medium);
  font-size: 16px;
  color: var(--eyebrow-muted);
}
.company-partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.company-partner-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  background: var(--approach-bg);
  border-radius: 12px;
  padding: 16px 20px;
}
.company-number {
  font-family: var(--f-medium);
  font-size: 16px;
  color: var(--black-subtext);
}
.company-name {
  font-family: var(--f-semibold);
  font-size: 20px;
  line-height: 1.2;
  color: rgb(15, 23, 40);
}
.individual-partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.individual-partner-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  background: var(--approach-bg);
  border-radius: 16px;
  padding: 16px 20px;
}
.partner-avatar {
  width: 48px; height: 48px;
  border-radius: 8px;
  background: rgba(66, 200, 244, 0.15);
  flex-shrink: 0;
}
.partner-name {
  font-family: var(--f-semibold);
  font-size: 16px;
  line-height: 1.2;
  color: rgb(15, 23, 40);
}
.partner-country {
  font-family: var(--f-medium);
  font-size: 14px;
  color: var(--black-subtext);
}

/* ================================================================
   INNER PAGES — TABLET BREAKPOINT (810px)
================================================================ */
@media (min-width: 810px) {

  /* Inner page hero heading: 56px */
  .page-hero-heading { font-size: 56px; }

  /* About hero: side by side */
  .about-hero .page-hero-inner {
    flex-direction: row;
    align-items: flex-end;
  }
  .about-brand-mark {
    flex: 1;
    text-align: right;
  }

  /* Mission statements: larger */
  .mission-statement--1 { font-size: 28px; }
  .mission-statement--2 { font-size: 36px; }

  /* Drives grid: 2 columns */
  .drives-grid { grid-template-columns: 1fr 1fr; }
  .drives-heading { font-size: 56px; }

  /* Values: 3 columns */
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .values-heading { font-size: 56px; }
  .value-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 12px;
    border-bottom: none;
    border-right: 1px solid var(--light-border);
  }
  .value-item:nth-child(3),
  .value-item:nth-child(6) { border-right: none; }

  /* Subsidiary: side by side */
  .subsidiary-inner { flex-direction: row; align-items: flex-start; gap: 64px; }
  .subsidiary-text  { flex: 1; }
  .subsidiary-video { flex: 1; }

  /* Services editorial: image left/right alternating */
  .svc-card-inner {
    flex-direction: row;
    min-height: 403px;
  }
  .svc-card-image {
    width: 50%;
    height: 100%;
  }
  .svc-card-inner--img-right .svc-card-image { order: 2; }
  .svc-card-body { flex: 1; padding: 20px 56px 32px 32px; }
  .svc-card-inner--img-right .svc-card-body { order: 1; }
  .svc-card-heading { font-size: 32px; }

  /* Contact info: 3 columns */
  .contact-info-inner { flex-direction: row; align-items: flex-start; }
  .contact-item { flex: 1; }

  /* Map: taller */
  .map-wrapper { height: 500px; }

  /* Foundation programs: 2 columns */
  .programs-grid { grid-template-columns: 1fr 1fr; }
  .programs-heading { font-size: 50px; }

  /* Foundation: impact cards horizontal */
  .impact-cards-scroll { flex-direction: row; }
  .impact-card { min-width: 200px; flex-direction: column; align-items: flex-start; }
  .impact-stat { font-size: 36px; }

  /* Company partners: 2 columns */
  .company-partners-grid { grid-template-columns: repeat(2, 1fr); }

  /* Individual partners: 2 columns */
  .individual-partners-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   INNER PAGES — DESKTOP BREAKPOINT (1200px)
================================================================ */
@media (min-width: 1200px) {

  /* Mission */
  .mission-statement--1 { font-size: 32px; }
  .mission-statement--2 { font-size: 40px; }
  .mission-block { min-height: 700px; padding: 120px var(--gutter); }

  /* Foundation mission */
  .foundation-mission-statement { font-size: 32px; }

  /* Company partners: 4 columns */
  .company-partners-grid { grid-template-columns: repeat(4, 1fr); }

  /* Individual partners: 4 columns */
  .individual-partners-grid { grid-template-columns: repeat(4, 1fr); }
}
