/* ==========================================================================
   Essentrify 2026 — Clean Modern Redesign
   Inspired by Revolut's design language + Essentrify brand identity
   Fonts: Poppins (body) + Prompt (headings)
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand — from logo */
  --brand-navy:        #1B4F72;
  --brand-navy-dark:   #0D2137;
  --brand-green:       #6BAD3D;
  --brand-green-dark:  #548A2F;
  --brand-teal:        #2E93A1;

  /* Neutrals */
  --ink:               #0D2137;
  --ink-2:             #1B3550;
  --muted:             #5B6576;
  --muted-2:           #8A94A3;
  --line:              #E8EBF0;
  --bg:                #FFFFFF;
  --bg-soft:           #F6F7F9;
  --bg-dark:           #0D2137;

  /* Semantic */
  --color-primary:     var(--brand-navy);
  --color-secondary:   var(--brand-green);
  --color-accent:      var(--brand-teal);
  --color-bg:          var(--bg);
  --color-text:        var(--ink-2);

  --font-heading: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radii — Revolut-style, very rounded */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-full: 9999px;

  /* Subtle shadows only */
  --shadow-1: 0 1px 2px rgba(10,14,23,0.04);
  --shadow-2: 0 8px 24px rgba(10,14,23,0.06);
  --shadow-3: 0 20px 60px rgba(10,14,23,0.08);

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --t-fast: 180ms var(--ease);
  --t-base: 320ms var(--ease);
  --t-slow: 600ms var(--ease);

  --header-h: 88px;
  --announcement-h: 0px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--announcement-h) + 1rem);
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(107,173,61,0.15);
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

/* Homepage: unified dark canvas with atmospheric gradients */
body.home {
  color: rgba(255,255,255,0.72);
  background:
    radial-gradient(ellipse 1200px 800px at 15% 20%, rgba(46,147,161,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 1000px 700px at 85% 60%, rgba(107,173,61,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 900px 600px at 50% 100%, rgba(27,79,114,0.12) 0%, transparent 55%),
    #05070B;
  background-attachment: fixed;
}
body.home p { color: rgba(255,255,255,0.68); }
body.home strong { color: #fff; }
body.home h1, body.home h2, body.home h3, body.home h4, body.home h5, body.home h6 {
  color: #fff;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
strong { font-weight: 600; color: var(--ink); }

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

/* ---------- Typography — Large & Bold ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}
h1 {
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
}
h4 {
  font-size: 1.125rem;
  font-weight: 600;
}

p { line-height: 1.65; color: var(--muted); }

/* ---------- Buttons — Pill-shaped, solid ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.95rem 1.75rem;
  border: none;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
  line-height: 1;
}
.btn--sm { padding: 0.7rem 1.3rem; font-size: 0.85rem; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1rem; }

/* Primary: solid ink/black (works on light modal + subpages) */
.btn--primary {
  background: var(--ink);
  color: #fff;
}
.btn--primary:hover {
  background: #000;
  transform: translateY(-2px);
}

/* Accent: brand green */
.btn--accent {
  background: var(--brand-green);
  color: #fff;
}
.btn--accent:hover {
  background: var(--brand-green-dark);
  transform: translateY(-2px);
}

/* Ghost: transparent with dark border */
.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

/* White: for dark backgrounds */
.btn--white {
  background: #fff;
  color: var(--ink);
}
.btn--white:hover {
  background: #f0f2f5;
  transform: translateY(-2px);
}

/* Glow variant maps to accent for backward compat */
.btn--glow { background: var(--ink); color: #fff; }
.btn--glow:hover { background: #000; transform: translateY(-2px); }

.btn--glass {
  background: rgba(255,255,255,0.12);
  color: #fff;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3);
}
.btn--glass:hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(-2px);
}

/* ==========================================================================
   Header — Sticky, clean white with blur (subpages)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1001;
  height: var(--header-h);
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.header--scrolled {
  background: rgba(255,255,255,0.96);
  border-bottom-color: var(--line);
}

/* Homepage: dark glass header */
body.home .header {
  position: fixed;
  width: 100%;
  z-index: 9999;
  background: rgba(13,33,55,0.55);
}
body.home .header--scrolled {
  background: rgba(13,33,55,0.82);
  border-bottom-color: rgba(255,255,255,0.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.header__logo { flex-shrink: 0; }
.logo { display: flex; align-items: center; gap: 0.6rem; }
.logo__icon { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.logo__leaves { width: 62px; height: 62px; object-fit: contain; display: block; }
.logo__wordmark { height: 35px; width: auto; object-fit: contain; display: block; filter: invert(1); }
.logo__icon img { display: block; }
.logo__text { display: none; }
.logo__icon svg { width: 36px; height: 36px; }
.logo__text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: -0.025em;
}
body.home .logo__text { color: #fff; }
.logo--footer .logo__text { color: #fff; }
body.home .logo__wordmark,
.logo--footer .logo__wordmark { filter: none; }

/* Nav — minimal */
.nav__list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
.nav__link {
  display: block;
  padding: 0.35rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  border-radius: var(--r-full);
  transition: background var(--t-fast), color var(--t-fast);
}
.nav__link:hover {
  background: var(--bg-soft);
  color: var(--ink);
}
.nav__link--active {
  background: var(--bg-soft);
  color: var(--ink);
}
body.home .nav__link { color: rgba(255,255,255,0.72); }
body.home .nav__link:hover,
body.home .nav__link--active {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.nav__item--dropdown { position: relative; }
.nav__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-3);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-fast);
}
body.home .nav__dropdown {
  background: rgba(15,19,27,0.95);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav__item--dropdown:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--ink-2);
  border-radius: var(--r-sm);
  transition: background var(--t-fast), color var(--t-fast);
}
.nav__dropdown-link:hover {
  background: var(--bg-soft);
}
body.home .nav__dropdown-link { color: rgba(255,255,255,0.72); }
body.home .nav__dropdown-link:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.header__cta { flex-shrink: 0; }

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: var(--r-sm);
}
.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--t-fast);
  transform-origin: center;
}
body.home .mobile-toggle span { background: #fff; }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==========================================================================
   Announcement Bar — Clean red strip below header
   ========================================================================== */
/* ---------- Hero Coda (deadline notice below hero) ---------- */
.hero-coda {
  background: #7A2E20;
  border-top: 1px solid rgba(245,241,232,0.15);
  padding: 24px 48px;
  margin-top: 0;
}
.hero-coda__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.hero-coda__message {
  flex: 1;
}
.hero-coda__eyebrow {
  display: block;
  font-family: 'Nothing You Could Do', cursive;
  font-weight: 500;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}
.hero-coda__text {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.4;
  color: rgba(255,255,255,0.95);
}
.hero-coda__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: var(--r-sm);
  background: transparent;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
}
.hero-coda__cta:hover {
  background: #fff;
  color: #7A2E20;
}

/* ==========================================================================
   Hero — Scroll-Driven Three-Frame (GSAP ScrollTrigger)
   ========================================================================== */

.hero-scroll {
  position: relative;
  color: #fff;
}

.hero-scroll__pin {
  position: relative;
  width: 100%;
  height: 100vh !important;
  max-height: none !important;
  overflow: hidden;
  background: #05070B;
}

/* ---------- Background Frames ---------- */
.hero-scroll__frames {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-scroll__frame {
  position: absolute;
  inset: 0;
  will-change: opacity;
  isolation: isolate;
  opacity: 0;
}
.hero-scroll__frame--1 {
  opacity: 1;
}

.hero-scroll__frame picture {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-scroll__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  z-index: 0;
}

/* Color washes over each frame */
.hero-scroll__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero-scroll__wash--1,
.hero-scroll__wash--2,
.hero-scroll__wash--3 {
  background: rgba(20,50,110,0.65);
}

/* ---------- SVG Overlays ---------- */
.hero-scroll__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  will-change: opacity;
  z-index: 2;
}

/* Architectural overlay: hand-drawn stagger */
.hero-scroll__svg .draw-el {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hero-scroll__svg.is-active .draw-el {
  opacity: 1;
}

/* Stroke draw-on for lines/paths */
.hero-scroll__svg .draw-line {
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1s ease;
}
.hero-scroll__svg.is-active .draw-line {
  stroke-dashoffset: 0;
}

/* ---------- Frame Counter (top-right) ---------- */
.hero-scroll__counter {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  z-index: 20;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: 'Nothing You Could Do', cursive;
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 1;
}
.hero-scroll__counter-num {
  color: rgba(245,241,232,0.3);
  transition: color 0.4s ease, opacity 0.4s ease;
}
.hero-scroll__counter-num.is-current {
  color: rgba(245,241,232,1);
}
.hero-scroll__counter-sep {
  color: rgba(245,241,232,0.2);
  font-size: 1.2rem;
}

/* ---------- Content Panels ---------- */
.hero-scroll__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100px;
  top: 80px;
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero-scroll__content .container {
  position: relative;
  width: 100%;
}

.hero-scroll__panel {
  position: absolute;
  bottom: 0;
  left: 0;
  top: auto;
  transform: none;
  max-width: 680px;
  will-change: opacity, transform;
  pointer-events: auto;
}
.hero-scroll__panel--active {
  position: relative;
}

.hero-scroll__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.75rem;
}

.hero-scroll__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}

.hero-scroll__accent {
  display: block;
  margin-top: 0.15em;
  background: linear-gradient(92deg, #6FE5D1 0%, #9BD868 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-scroll__desc {
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
}

.hero-scroll__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

/* ---------- Bottom Stats Bar ---------- */
.hero-scroll__stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: 1.75rem 2.5rem;
  background: linear-gradient(to top, rgba(13,33,55,0.95) 0%, rgba(13,33,55,0.6) 60%, transparent 100%);
}

.hero-scroll__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-scroll__stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero-scroll__stat-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.45rem;
  font-weight: 500;
}

/* ---------- Section bleed from hero into next section ---------- */
.hero-scroll__pin::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(13,33,55,1);
  z-index: 30;
}

body.home .domains {
  position: relative;
  background: #ffffff;
  color: #0D2137;
}
body.home .domains > .container { position: relative; z-index: 1; }
body.home .domains .section-header__title { color: #0D2137; }
body.home .domains .section-header__sub { color: rgba(13, 33, 55, 0.68); }
body.home .domains .section-header__tag {
  color: #000;
}

/* Light-on-dark ghost button */
.btn--ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
}
.btn--ghost-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.55);
}

/* ---------- Hero-Scroll Responsive ---------- */
@media (max-width: 1024px) {
  .hero-scroll__counter { display: none; }
  .hero-scroll__svg { display: none; }

  .hero-scroll__pin {
    height: auto !important;
    max-height: none !important;
  }
  .hero-scroll__frames {
    display: none;
  }
  .hero-scroll__content {
    position: relative;
    bottom: auto;
    top: auto;
    z-index: 10;
    pointer-events: auto;
    display: block;
    overflow: visible;
  }

  /* Show only the primary panel on mobile — cleaner single-hero presentation */
  .hero-scroll__panel,
  .hero-scroll__panel--active {
    position: relative !important;
    max-width: 100%;
    background-image: url('../assets/hero/frame1.jpg');
    background-size: cover;
    background-position: center 35%;
    padding: clamp(5rem, 14vh, 7rem) 1.5rem clamp(4rem, 10vh, 6rem);
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero-scroll__panel:nth-child(2),
  .hero-scroll__panel:nth-child(3) {
    display: none;
  }
  .hero-scroll__panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13,33,55,0.55) 0%, rgba(13,33,55,0.85) 100%);
    z-index: 0;
  }
  .hero-scroll__panel > * {
    position: relative;
    z-index: 1;
  }
  .hero-scroll__tag {
    font-size: 0.65rem;
    margin-bottom: 1rem;
    color: var(--brand-green);
  }
  .hero-scroll__title {
    font-size: clamp(1.85rem, 7vw, 2.6rem) !important;
    margin-bottom: 1.25rem;
    line-height: 1.12;
  }
  .hero-scroll__desc {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.85);
    max-width: 540px;
  }
  .hero-scroll__actions {
    margin-top: 1.75rem;
    gap: 0.85rem;
  }
  .hero-scroll__actions .btn--accent {
    min-height: 48px;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
  }
  .hero-scroll__actions .btn--ghost-light {
    min-height: 48px;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }
  .hero-scroll__stats {
    position: relative;
    background: var(--ink);
    padding: 1.5rem 1.5rem;
    gap: 1.5rem;
    z-index: 15;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .hero-scroll__stat-num { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .hero-scroll__title { font-size: clamp(1.2rem, 5vw, 1.5rem) !important; }
  .hero-scroll__stats { gap: 0.75rem; padding: 1rem; }
  .hero-scroll__stat-num { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll__svg line[attributeName],
  .hero-scroll__svg circle[attributeName] { animation: none !important; }
  .hero-scroll__frame { opacity: 1 !important; }
  .hero-scroll__panel { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Section Header — Centered
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.section-header__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 1.25rem;
}
.section-header__title {
  margin-bottom: 1.25rem;
  color: var(--ink);
}
.section-header__sub {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}
body.home .section-header__tag {
  color: #fff;
}
body.home .section-header__title { color: #fff; }
body.home .section-header__sub { color: rgba(255,255,255,0.6); }

/* ==========================================================================
   Domains — Clean cards on soft gray
   ========================================================================== */
.domains {
  padding: clamp(5rem, 10vh, 8rem) 0;
  background: var(--bg);
}
.domains__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.domain-card {
  position: relative;
  background: var(--bg-soft);
  border-radius: 0;
  padding: 2.5rem 2rem 2.25rem;
  transition: transform var(--t-base), background var(--t-base);
  display: flex;
  flex-direction: column;
}
.domain-card:hover {
  transform: translateY(-6px);
  background: #EEF0F4;
}
.domain-card__glow { display: none; }

.domain-card--featured {
  background: var(--ink);
  color: #fff;
}
.domain-card--featured:hover {
  background: #141923;
}
.domain-card--featured .domain-card__title,
.domain-card--featured .domain-card__feature h4 {
  color: #fff;
}
.domain-card--featured .domain-card__feature p {
  color: rgba(255,255,255,0.65);
}
.domain-card--featured .domain-card__number {
  color: rgba(255,255,255,0.1);
}
.domain-card--featured .domain-card__icon {
  background: rgba(107,173,61,0.2);
  color: var(--brand-green);
}

.domain-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.domain-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: #fff;
  color: var(--brand-green-dark);
}
.domain-card__icon svg { width: 28px; height: 28px; }
.domain-card__number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3rem;
  color: rgba(10,14,23,0.08);
  line-height: 1;
}

.domain-card__title {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.domain-card__feature { margin-bottom: 1.25rem; }
.domain-card__feature:last-child { margin-bottom: 0; }
.domain-card__feature h4 {
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
}
.domain-card__feature p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Homepage: glass cards on dark canvas */
body.home .domain-card {
  background: #ffffff;
  border: 1px solid rgba(13, 33, 55, 0.10);
  box-shadow: 0 2px 8px rgba(13, 33, 55, 0.04);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
body.home .domain-card:hover {
  background: #ffffff;
  border-color: rgba(13, 33, 55, 0.18);
  box-shadow: 0 8px 24px rgba(13, 33, 55, 0.08);
}
body.home .domain-card--featured {
  background: #ffffff;
  border-color: rgba(13, 33, 55, 0.10);
}
body.home .domain-card--featured:hover {
  background: #ffffff;
  border-color: rgba(13, 33, 55, 0.18);
}
body.home .domain-card__title,
body.home .domain-card__feature h4 { color: #0D2137; }
body.home .domain-card__feature p { color: rgba(13, 33, 55, 0.72); }
body.home .domain-card__number { color: rgba(13, 33, 55, 0.08); }
body.home .domain-card__icon {
  background: rgba(107,173,61,0.15);
  color: var(--brand-green);
}
body.home .domain-card__label {
  color: var(--brand-green);
}

/* ==========================================================================
   AIE Platform — Dark editorial section, no diagram
   ========================================================================== */
.aie {
  position: relative;
  padding: clamp(6rem, 12vh, 10rem) 0;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
body.home .aie { background: transparent; }
.aie__head {
  max-width: 920px;
  margin: 0 auto 5rem;
}
.aie__title {
  color: #fff;
  margin-bottom: 2rem;
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.aie__text {
  color: rgba(255,255,255,0.65);
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  max-width: 720px;
}
.aie__text strong { color: #fff; }

.aie__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.aie__pillar {
  position: relative;
}
.aie__pillar-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-green);
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}
.aie__pillar-title {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}
.aie__pillar p {
  color: rgba(255,255,255,0.6);
  font-size: 0.97rem;
  line-height: 1.6;
}

/* Hide old AIE diagram classes if still present */
.aie__bg-pattern,
.aie__inner,
.aie__content,
.aie__divider,
.aie__features,
.aie__feature-item,
.aie__feature-icon,
.aie__visual,
.aie__diagram,
.aie__ring,
.aie__node,
.aie__connector { display: none !important; }

/* ==========================================================================
   AIE System — Connected three-tile pipeline (homepage)
   ========================================================================== */
.aie__system {
  --aie-line-y: 2.6rem;
  --aie-node-size: 9px;
  --aie-line-color: rgba(255,255,255,0.12);
  --aie-pulse-color: rgba(107,173,61,0.85);

  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.2vw, 2.25rem);
  padding-top: 5rem;
  margin-top: 4.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Horizontal connector running through all three tiles */
.aie__system-line {
  position: absolute;
  top: var(--aie-line-y);
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
  z-index: 1;
}
.aie__system-line-track {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--aie-line-color) 8%,
    var(--aie-line-color) 92%,
    transparent 100%
  );
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
  transition: transform 1.8s var(--ease), opacity 0.4s ease;
}
/* Moving pulse — idle motion across the full line */
.aie__system-line-pulse {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 42%,
    var(--aie-pulse-color) 50%,
    transparent 58%,
    transparent 100%
  );
  background-size: 220% 100%;
  background-repeat: no-repeat;
  background-position: -120% 0;
  opacity: 0;
  transition: opacity 0.8s ease 1.6s;
}

/* Tiles */
.aie__tile {
  position: relative;
  z-index: 0;
  padding: 4.5rem 1.75rem 2.25rem;
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 3px;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease),
    background 0.5s ease,
    border-color 0.5s ease;
}
/* Station node sitting on the connector line */
.aie__tile::before {
  content: '';
  position: absolute;
  top: calc(var(--aie-line-y) - (var(--aie-node-size) / 2));
  left: 1.75rem;
  width: var(--aie-node-size);
  height: var(--aie-node-size);
  background: #05070B;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50%;
  z-index: 2;
  transform: scale(0.6);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.aie__tile:hover {
  background: rgba(255,255,255,0.028);
  border-color: rgba(255,255,255,0.16);
}
.aie__tile:hover::before {
  border-color: rgba(107,173,61,0.9);
  box-shadow: 0 0 0 4px rgba(107,173,61,0.14);
}
.aie__tile:hover .aie__tile-title {
  color: #fff;
}

.aie__tile-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(107,173,61,0.85);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.aie__tile-title {
  color: rgba(255,255,255,0.86);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  transition: color 0.4s ease;
}
.aie__tile-desc {
  color: rgba(255,255,255,0.52);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ---- Choreographed reveal ---- */
/* Stage 1: Tile 01 appears */
.aie__system.is-visible .aie__tile--1 {
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}
.aie__system.is-visible .aie__tile--1::before {
  transform: scale(1);
  opacity: 1;
  transition-delay: 0.5s;
}
/* Stage 2: Line draws across */
.aie__system.is-visible .aie__system-line-track {
  opacity: 1;
  transform: scaleX(1);
  transition-delay: 0.75s;
}
/* Stage 3: Tile 02 appears as line reaches it */
.aie__system.is-visible .aie__tile--2 {
  opacity: 1;
  transform: none;
  transition-delay: 1.35s;
}
.aie__system.is-visible .aie__tile--2::before {
  transform: scale(1);
  opacity: 1;
  transition-delay: 1.45s;
}
/* Stage 4: Tile 03 appears last */
.aie__system.is-visible .aie__tile--3 {
  opacity: 1;
  transform: none;
  transition-delay: 2s;
}
.aie__system.is-visible .aie__tile--3::before {
  transform: scale(1);
  opacity: 1;
  transition-delay: 2.1s;
}
/* Idle pulse starts after the full draw */
.aie__system.is-visible .aie__system-line-pulse {
  opacity: 1;
  animation: aieLinePulse 6s linear 2.6s infinite;
}
@keyframes aieLinePulse {
  0%   { background-position: -120% 0; }
  100% { background-position: 220% 0; }
}

@media (max-width: 1024px) {
  .aie__system {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 2.5rem;
    margin-top: 3rem;
  }
  /* Rotate the pipeline to vertical on narrow screens */
  .aie__system-line { display: none; }
  .aie__tile {
    padding: 2.25rem 1.75rem;
    border-top: none;
  }
  .aie__tile:first-of-type { border-top: 1px solid rgba(255,255,255,0.05); }
  .aie__tile::before {
    top: 2.25rem;
    left: auto;
    right: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aie__system .aie__tile,
  .aie__system .aie__tile::before,
  .aie__system-line-track,
  .aie__system-line-pulse {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   AIE Scroll-Pinned Dashboard Animation (homepage) — white section
   ========================================================================== */
.aie--scroll {
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  color: #0D2137;
}
body.home .aie--scroll {
  background: #ffffff;
  color: #0D2137;
}
.aie__scroll-wrap {
  position: relative;
  height: 300vh;
}
.aie__scroll-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #ffffff;
}
.aie__scroll-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: 100%;
}
.aie__scroll-left {
  position: relative;
}
.aie--scroll .aie__title,
body.home .aie--scroll .aie__title {
  color: #0D2137;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  margin-bottom: 1.5rem;
}
.aie--scroll .aie__text,
body.home .aie--scroll .aie__text {
  color: rgba(13, 33, 55, 0.72);
  margin-bottom: 2.5rem;
  max-width: 560px;
}
.aie--scroll .aie__text strong,
body.home .aie--scroll .aie__text strong { color: #0D2137; }
.aie__captions {
  position: relative;
  min-height: 220px;
}
.aie__caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(13, 33, 55, 0.15);
}
.aie__caption.is-active {
  opacity: 1;
  transform: translateY(0);
}
.aie__caption-num {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.aie__caption-title {
  color: #0D2137;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}
.aie__caption-desc {
  color: rgba(13, 33, 55, 0.72);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 500px;
}
.aie__scroll-right {
  display: flex;
  align-items: center;
  justify-content: center;
}
.aie__canvas {
  display: block;
  width: 100%;
  max-width: 780px;
  height: auto;
  aspect-ratio: 16 / 9;
  background: transparent;
}

@media (max-width: 900px) {
  .aie__scroll-wrap { height: 260vh; }
  .aie__scroll-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .aie__scroll-right { order: -1; }
  .aie__canvas { max-width: 480px; }
  .aie__captions { min-height: 200px; }
}


/* ---------- AIE Dashboard Canvas Animation ---------- */
.aie--dash {
  position: relative;
  padding: 0;
  overflow: clip;
  background: #FAFAF7;
  color: #2B3238;
}
body.home .aie--dash { background: #FAFAF7; color: #2B3238; }

.aie__dash-pin {
  position: relative;
  padding: 5rem 0;
}

.aie__dash-sticky {
  display: flex;
  align-items: center;
}

.aie__dash-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
  width: 100%;
}

.aie__canvas-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.aie__canvas {
  display: block;
  width: 100%;
  max-width: 780px;
  height: auto;
  aspect-ratio: 16 / 9;
  background: transparent;
  mix-blend-mode: multiply;
  filter: brightness(1.04);
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 15%, #000 85%, transparent),
    linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-composite: destination-in;
  mask-image:
    linear-gradient(to right, transparent, #000 15%, #000 85%, transparent),
    linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
  mask-composite: intersect;
}

/* ---- Left-column text ---- */
.aie__text-side {
  padding-left: 0;
  padding-right: 1rem;
}
.aie__eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: #000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.aie--dash .aie__title,
body.home .aie--dash .aie__title {
  color: #2B3238;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin-bottom: 1.5rem;
}
.aie--dash .aie__text,
body.home .aie--dash .aie__text {
  color: rgba(43, 50, 56, 0.78);
  margin-bottom: 2.5rem;
  max-width: 480px;
  font-size: clamp(1rem, 1.3vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.6;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .aie__dash-grid { grid-template-columns: 1fr; gap: 2rem; }
  .aie__dash-pin { padding: 4rem 0; }
  .aie__text-side { text-align: center; order: -1; padding-right: 0; padding-left: 0; }
  .aie--dash .aie__text, body.home .aie--dash .aie__text { margin-left: auto; margin-right: auto; }
  .aie__canvas-wrap { justify-content: center; }
  .aie__canvas {
    max-width: 560px;
    mix-blend-mode: multiply;
    filter: brightness(1.04);
  }
}
@media (max-width: 768px) {
  .aie__dash-pin { padding: 3rem 0; }
  .aie__dash-grid { gap: 1.5rem; }
  .aie__canvas { max-width: 100%; }
  .aie--dash .aie__title, body.home .aie--dash .aie__title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
}

/* ==========================================================================
   National Solution — Full-bleed map background
   ========================================================================== */
.national {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 14vh, 10rem) 0;
  background: #04091A;
}
.national__map-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
          mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}
.national__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(4,9,26,0.82) 0%,
    rgba(4,9,26,0.55) 50%,
    rgba(4,9,26,0.75) 100%
  );
  z-index: 1;
}
.national__body {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin-left: auto;
  text-align: left;
}
.national__title {
  margin-bottom: 1.5rem;
  color: #fff;
}
.national__text {
  color: rgba(255,255,255,0.70);
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}
.national__body .section-header__tag { margin-bottom: 1.25rem; }

@media (max-width: 768px) {
  .national__map-bg {
    object-position: center center;
  }
  .national__body {
    max-width: 100%;
    margin-left: 0;
    text-align: left;
  }
}

/* ==========================================================================
   Founding Cohort — Dark CTA section, centered
   ========================================================================== */
.cohort {
  position: relative;
  padding: clamp(5rem, 11vh, 9rem) 0;
  background: var(--ink);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
body.home .cohort { background: #04091A; }
.cohort__bg,
.cohort__bg-gradient,
.cohort__bg-grid,
.cohort__bg-orb { display: none !important; }

.cohort__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}
.cohort__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-green);
  background: rgba(107,173,61,0.15);
  padding: 0.5rem 1.15rem;
  border-radius: var(--r-full);
  margin-bottom: 2rem;
}
.cohort__badge-dot {
  width: 7px;
  height: 7px;
  background: var(--brand-green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(107,173,61,0.25);
}
.cohort__title {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: clamp(2.25rem, 5.5vw, 4rem);
}
.cohort__text {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 3rem;
}
.cohort__text strong { color: #fff; }

.cohort__counters {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 5vw, 5rem);
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.cohort__counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.cohort__counter-ring {
  width: auto;
  height: auto;
  border: none;
  background: none;
  box-shadow: none;
  margin: 0;
}
.cohort__counter-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.cohort__counter-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* ==========================================================================
   Footer — Clean dark
   ========================================================================== */
.footer {
  background: #04091A;
  color: rgba(255,255,255,0.6);
  padding: 0;
  border-top: none;
}
.footer__top-border { display: none; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 4rem;
  padding: 5rem 0 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__tagline {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
  background: none;
  -webkit-text-fill-color: initial;
}
.footer__about {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
  max-width: 380px;
}
.footer__heading {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.5rem;
}
.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer__links a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--t-fast);
}
.footer__links a:hover { color: #fff; }

.footer__contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--t-fast);
}
.footer__contact-item:hover { color: #fff; }
.footer__contact-item svg {
  flex-shrink: 0;
  opacity: 0.55;
  color: var(--brand-green);
}

.footer__bottom {
  padding: 1.75rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ==========================================================================
   Modal — Clean popup
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base), visibility var(--t-base);
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,33,55,0.7);
  backdrop-filter: blur(8px);
}
.modal__container {
  position: relative;
  background: #fff;
  border-radius: 0;
  max-width: 580px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 3rem 3rem 2.5rem;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--t-base);
}
.modal.is-open .modal__container { transform: translateY(0) scale(1); }

.modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-soft);
  border: none;
  cursor: pointer;
  color: var(--ink-2);
  padding: 0;
  border-radius: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast);
}
.modal__close:hover { background: #EEF0F4; }

.modal__badge {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  background: none;
  padding: 0;
  margin-bottom: 1rem;
}
.modal__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 1.25rem;
  padding-right: 2.5rem;
}
body.home .modal__content p,
.modal__content p {
  margin-bottom: 1rem;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}
body.home .modal__content h2,
.modal__content h2 { color: var(--ink); font-size: 1.75rem; }
body.home .modal__content strong,
.modal__content strong { color: var(--ink); }
.modal__content ul { margin-bottom: 1.75rem; }
body.home .modal__content li,
.modal__content li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}
.modal__content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 14px;
  height: 1px;
  background: var(--ink);
}

/* Demo Form (inside modal) */
.modal__subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}
.demo-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.demo-form__field {
  margin-bottom: 1rem;
}
.demo-form__field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.demo-form__field input,
.demo-form__field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  transition: border-color var(--t-fast);
}
.demo-form__field input:focus,
.demo-form__field textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.demo-form__field textarea {
  resize: vertical;
  min-height: 80px;
}
.demo-form__submit {
  margin-top: 0.75rem;
  width: 100%;
  font-size: 1rem;
  font-weight: 700;
}
.demo-form__success {
  text-align: center;
  padding: 2rem 0;
}
.demo-form__success svg {
  color: var(--brand-green);
  margin-bottom: 1rem;
}
.demo-form__success h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.demo-form__success p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.demo-form__error {
  color: #c0392b;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}
@media (max-width: 600px) {
  .demo-form__row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Subpage Hero — Clean white with large heading
   ========================================================================== */
.page-hero {
  background: var(--bg);
  color: var(--ink);
  padding: clamp(4rem, 9vh, 7rem) 0 clamp(3rem, 7vh, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before { display: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-heading);
  color: var(--ink);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin: 0 auto 1.25rem;
  max-width: 900px;
}
.page-hero p {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
}

/* Page content sections */
.page-content {
  padding: clamp(4rem, 9vh, 7rem) 0;
  background: var(--bg);
}
.page-content--white { background: var(--bg); }
.page-content .content-block {
  max-width: 760px;
  margin: 0 auto;
}
.page-content .content-block p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.page-content .content-block h2 {
  margin-bottom: 1.25rem;
}
.page-content .content-block h3 {
  margin-bottom: 0.75rem;
  color: var(--ink);
  font-size: 1.4rem;
}
.page-content .content-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* ==========================================================================
   Problems Page
   ========================================================================== */

.problems-intro {
  padding: clamp(3rem, 6vh, 5rem) 0 0;
  background: var(--bg);
}
.problems-intro__inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.problems-intro__text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.problem-section {
  padding: clamp(4rem, 8vh, 6rem) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.problem-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}
.problem-block--alt .problem-block__content { order: 2; }
.problem-block--alt .problem-block__visual  { order: 1; }

.problem-block__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 800;
  color: rgba(10,14,23,0.05);
  line-height: 1;
  margin-bottom: -0.75rem;
}
.problem-block__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-green-dark);
  margin-bottom: 0.75rem;
}
.problem-block__content h2 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  color: var(--ink);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.problem-block__context {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  font-style: italic;
}

.problem-detail {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 1.5rem;
  margin-top: 0.25rem;
}
.problem-detail::before {
  content: '';
  grid-column: 2;
  grid-row: 1 / -1;
  background: var(--line);
}
.problem-detail__col {
  padding: 0.25rem 0;
}
.problem-detail__label {
  display: block;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.5rem;
}
.problem-detail__col p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 600px) {
  .problem-detail {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .problem-detail::before { display: none; }
}

.problem-block__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--r-lg);
}
.problem-block__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
}
.problem-section:nth-of-type(3) .problem-block__img {
  object-position: center;
  transform: scale(1.35);
  transform-origin: 55% 50%;
}

/* Day-One Checklist */
.checklist-section {
  padding: clamp(4rem, 8vh, 7rem) 0;
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.checklist-section .section-header__tag { color: #fff; }
.checklist-section h2 { color: #fff; margin-bottom: 0.75rem; }
.checklist-section__context {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 740px;
  margin: 0 auto 2.5rem;
}
.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.125rem 1.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-sm);
  font-size: 0.97rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.6;
}
.checklist__item::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  margin-top: 0.1rem;
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 8.5L6.5 11.5L12.5 4.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
}
.checklist__item:not(.is-checked)::before {
  background-image: none;
}
.checklist__item.is-checked::before {
  background-color: #fff;
  border-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 8.5L6.5 11.5L12.5 4.5' stroke='%230A0E17' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.checklist__item.is-checked {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  transition: background 0.4s ease, border-color 0.4s ease;
}
.checklist__item strong { color: #fff; font-weight: 600; }

.verdict-box {
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-sm);
  font-size: 0.97rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.7;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.verdict-box.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.verdict-box strong { color: #fff; }

/* Fiduciary CTA */
.fiduciary-cta {
  padding: clamp(4rem, 8vh, 7rem) 0;
  background: var(--bg-soft);
  text-align: center;
  border-top: 1px solid var(--line);
}
.fiduciary-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--ink);
  margin-bottom: 1rem;
}
.fiduciary-cta p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

@media (max-width: 768px) {
  .problem-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .problem-block--alt .problem-block__content { order: 1; }
  .problem-block--alt .problem-block__visual  { order: 2; }
}

/* ==========================================================================
   Solutions Page
   ========================================================================== */

/* Mini-hero sections */
.sol-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.sol-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.sol-hero__bg img,
.sol-hero__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sol-hero__placeholder {
  background: var(--ink);
}
.sol-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(13,33,55,0.95) 0%,
    rgba(13,33,55,0.85) 40%,
    rgba(13,33,55,0.45) 100%
  );
}
.sol-hero__content {
  position: relative;
  z-index: 2;
  padding-top: clamp(6rem, 15vh, 10rem);
  padding-bottom: clamp(3rem, 6vh, 5rem);
  max-width: 720px;
}
.sol-hero__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.75rem;
}
.sol-hero__content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}
.sol-hero__intro {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.sol-hero__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.sol-hero__list li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  padding-left: 1.25rem;
  position: relative;
}
.sol-hero__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
}
.sol-hero__list li strong {
  color: #fff;
  font-weight: 600;
}
.sol-hero__closing {
  margin-top: 1.5rem;
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .sol-hero { min-height: 60vh; align-items: flex-end; }
  .sol-hero__content { max-width: 100%; }
}

/* CTA */
.sol-cta {
  padding: clamp(4rem, 8vh, 7rem) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  text-align: center;
}
.sol-cta__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}
.sol-cta__eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.sol-cta__text {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 720px;
  margin: 0 auto 2rem;
}
.sol-cta--dark {
  background: var(--bg-dark);
  border-top-color: rgba(255,255,255,0.08);
}
.sol-cta--dark .sol-cta__eyebrow { color: rgba(255,255,255,0.4); }
.sol-cta--dark .sol-cta__quote { color: #fff; }
.sol-cta--dark .sol-cta__text { color: rgba(255,255,255,0.65); }
.sol-cta--dark .sol-cta__text strong { color: #fff; }

/* ── Sol shared section / block / feature primitives ── */
.sol-section {
  padding: clamp(4rem, 8vh, 7rem) 0;
}
.sol-section--dark {
  background: var(--ink);
}
.sol-block {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.sol-block__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-green-dark);
  margin-bottom: 0.75rem;
}
.sol-block__content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.sol-feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.sol-feature__marker {
  display: none;
}
.sol-feature h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.sol-feature p {
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}
.sol-section--dark .sol-feature h4 { color: #fff; }
.sol-section--dark .sol-feature p { color: rgba(255,255,255,0.6); }
.sol-section--dark .section-header__tag { color: rgba(255,255,255,0.45) !important; }

@media (max-width: 768px) {
  .sol-block { grid-template-columns: 1fr; }
}

/* Evidence Lab intro prose */
/* ── Evidence Lab ── */
.elab-intro-section {
  padding: clamp(3rem, 6vh, 5rem) 0;
}
.elab-intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.elab-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.elab-intro strong { color: var(--ink); }

/* Community Hub */
.hub-complement-section {
  text-align: center;
}
.hub-complement-header {
  margin-bottom: 3rem;
}
.hub-complement-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.025em;
}

.hub-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.hub-compare__col {
  padding: 1.25rem 2rem;
  text-align: center;
  background: var(--ink);
}
.hub-compare__col h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  margin: 0;
}
.hub-compare__row {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--line);
}
.hub-compare__label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.hub-compare__row p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 600px) {
  .hub-compare__col,
  .hub-compare__row { padding: 1rem 1.25rem; }
}

/* ==========================================================================
   Founding Cohort Page
   ========================================================================== */

.fmc-value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.fmc-value-grid .sol-feature {
  padding: 2rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.fmc-value-grid .sol-feature:nth-child(odd) {
  border-right: 1px solid rgba(255,255,255,0.08);
}
.fmc-value-grid .sol-feature:nth-child(n+3) {
  border-bottom: none;
}

/* Pricing tiers */
.fmc-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1060px;
  margin: 0 auto;
}
.fmc-price-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-right: none;
  padding: 2.5rem 2rem 2.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.fmc-price-card:last-child { border-right: 1px solid var(--line); }
.fmc-price-card--featured {
  border-color: var(--brand-green);
  border-right: 1px solid var(--brand-green);
  box-shadow: inset 0 3px 0 var(--brand-green);
}
.fmc-price-card--featured + .fmc-price-card { border-left: none; }
.fmc-price-card__badge {
  position: absolute;
  top: 0;
  left: 2rem;
  background: var(--brand-green);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
}
.fmc-price-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.fmc-price-card__price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-green-dark);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
.fmc-price-card__price span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.2rem;
}
.fmc-price-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.fmc-price-card li {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}
.fmc-price-card li:last-child { border-bottom: none; }
.fmc-price-card li strong {
  color: var(--ink);
  font-weight: 600;
}

/* FMC Fee block */
.fmc-fee-block {
  max-width: 900px;
  margin: 0 auto;
}
.fmc-fee-block__header {
  margin-bottom: 2.5rem;
}
.fmc-fee-block__header h2 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  color: #fff;
  margin-bottom: 0.75rem;
}
.fmc-fee-block__header h2 strong { color: #fff; }
.fmc-fee-block__header p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
}
.fmc-fee-block__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.fmc-fee-block__items .sol-feature {
  padding: 1.75rem 2rem;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.fmc-fee-block__items .sol-feature:last-child { border-right: none; }

/* Investment section */
.fmc-tag-dark {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-green-dark);
  margin-bottom: 0.75rem;
}
.fmc-context-dark {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.fmc-escrow {
  padding: 1.75rem 2rem;
  border-left: 3px solid var(--brand-green);
  background: var(--bg-soft);
  margin-top: 1.5rem;
}
.fmc-escrow h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.fmc-escrow p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.fmc-escrow strong { color: var(--ink); }
.fmc-onboarding-box {
  padding: 2.5rem 2rem;
  border-left: 3px solid var(--brand-navy);
  background: var(--bg-soft);
}
.fmc-onboarding-box h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.fmc-onboarding-box p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* Roadmap — scroll-driven progress line */
.fmc-roadmap {
  --roadmap-progress: 0;
  counter-reset: roadmap-step;
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 40px;
}

/* Track + fill */
.fmc-roadmap__line {
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.08);
}
.fmc-roadmap__line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--roadmap-progress) * 100%);
  background: var(--brand-navy);
  transition: height 0.12s linear;
}

/* Step dots on the line */
.fmc-roadmap__step {
  counter-increment: roadmap-step;
  position: relative;
  display: block;
  margin-bottom: 0;
}
.fmc-roadmap__spacer { display: none; }
.fmc-roadmap__dot-wrap { display: none; }
.fmc-roadmap__dot { display: none; }

/* Card content */
.fmc-roadmap__card {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.1rem 0;
  padding: 2rem 0 2rem 0;
}
.fmc-roadmap__card::before {
  content: counter(roadmap-step, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / 4;
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,0.06);
  letter-spacing: -0.03em;
  transition: color 0.4s ease;
}
.fmc-roadmap__step.is-reached .fmc-roadmap__card::before {
  color: rgba(255,255,255,0.12);
}
.fmc-roadmap__step--left .fmc-roadmap__card,
.fmc-roadmap__step--right .fmc-roadmap__card { text-align: left; }
.fmc-roadmap__step[data-animate] .fmc-roadmap__card {
  opacity: 0;
  transform: translateY(20px);
}
.fmc-roadmap__step--left[data-animate] .fmc-roadmap__card {
  transform: translateY(20px);
}
.fmc-roadmap__step--right[data-animate] .fmc-roadmap__card {
  transform: translateY(20px);
}
.fmc-roadmap__step.is-visible .fmc-roadmap__card {
  opacity: 1;
  transform: translateY(0);
}
.fmc-roadmap__date {
  grid-column: 2;
  grid-row: 1;
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.2rem;
  transition: color 0.4s ease;
}
.fmc-roadmap__step.is-reached .fmc-roadmap__date {
  color: rgba(255,255,255,0.55);
}
.fmc-roadmap__card h4 {
  grid-column: 2;
  grid-row: 2;
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.25rem;
  transition: color 0.4s ease;
}
.fmc-roadmap__step.is-reached .fmc-roadmap__card h4 {
  color: #fff;
}
.fmc-roadmap__card p {
  grid-column: 2;
  grid-row: 3;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  margin: 0;
  transition: color 0.4s ease;
}
.fmc-roadmap__step.is-reached .fmc-roadmap__card p {
  color: rgba(255,255,255,0.55);
}

/* Fiscal alignment */
.fmc-fiscal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.fmc-fiscal-card {
  padding: 2.5rem 2.5rem;
  border-bottom: 1px solid var(--line);
}
.fmc-fiscal-card:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.fmc-fiscal-card__split {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 56px;
  height: 56px;
  border-radius: 0;
  background: var(--ink);
  justify-content: center;
  margin-bottom: 1.25rem;
}
.fmc-fiscal-card__split--green { background: var(--brand-green-dark); }
.fmc-fiscal-card__pct {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.fmc-fiscal-card__label {
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.fmc-fiscal-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.fmc-fiscal-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.fmc-fiscal-card strong { color: var(--ink); }

/* Sustainment Dividend */
.fmc-dividend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.fmc-dividend-card {
  padding: 2rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.fmc-dividend-card:last-child { border-right: none; }
.fmc-dividend-card__num {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.fmc-dividend-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.fmc-dividend-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin: 0;
}
.fmc-dividend-card strong { color: rgba(255,255,255,0.85); }

@media (max-width: 768px) {
  .sol-domains__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 3rem; }
  .hub-compare { max-width: 100%; }
  .hub-compare__col, .hub-compare__row { padding: 1rem 1.25rem; }
  .fmc-value-grid { grid-template-columns: 1fr; }
  .fmc-value-grid .sol-feature { border-right: none; }
  .fmc-value-grid .sol-feature:nth-child(n+3) { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .fmc-value-grid .sol-feature:last-child { border-bottom: none; }
  .fmc-pricing { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .fmc-price-card { border-right: 1px solid var(--line); border-bottom: none; }
  .fmc-price-card:last-child { border-bottom: 1px solid var(--line); }
  .fmc-price-card--featured { border-right: 1px solid var(--brand-green); }
  .fmc-fee-block__items { grid-template-columns: 1fr; }
  .fmc-fee-block__items .sol-feature { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .fmc-fee-block__items .sol-feature:last-child { border-bottom: none; }
  .fmc-value-grid { grid-template-columns: 1fr; }
  .fmc-roadmap { padding-left: 28px; }
  .fmc-roadmap__line { left: 6px; }
  .fmc-roadmap__card { grid-template-columns: 48px 1fr; }
  .fmc-roadmap__card::before { font-size: 2rem; }
  .fmc-fiscal-grid { grid-template-columns: 1fr; }
  .fmc-fiscal-card { border-right: none; }
  .fmc-dividend-grid { grid-template-columns: 1fr; }
  .fmc-dividend-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .fmc-dividend-card:last-child { border-bottom: none; }
}

/* ---------- FMC Pricing Matrix (true 2x2 spec grid) ---------- */
.fmc-matrix {
  display: grid;
  grid-template-columns: minmax(200px, 0.85fr) 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 2.5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.fmc-matrix__cell-h {
  padding: 1.5rem 1.75rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.fmc-matrix__cell-h--empty { background: transparent; }
.fmc-matrix__col-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.15rem;
}
.fmc-matrix__cell-h--single .fmc-matrix__col-label { color: var(--brand-navy); }
.fmc-matrix__cell-h--consortium .fmc-matrix__col-label { color: var(--brand-teal); }
.fmc-matrix__col-sub {
  font-size: 0.82rem;
  color: var(--muted);
}
.fmc-matrix__row-label {
  padding: 1.75rem 1.75rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fmc-matrix__row-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}
.fmc-matrix__row-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-green);
}
.fmc-matrix__cell {
  padding: 1.75rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.fmc-matrix__cell--cc-consortium,
.fmc-matrix__cell--ca-consortium {
  background: rgba(13,33,55,0.02);
}
.fmc-matrix__rate {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.fmc-matrix__rate span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 0.3rem;
  letter-spacing: 0;
}
.fmc-matrix__upfront {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-green);
  letter-spacing: -0.005em;
}
.fmc-matrix__note {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}
@media (max-width: 880px) {
  .fmc-matrix { grid-template-columns: 1fr; border-left: 1px solid var(--line); }
  .fmc-matrix__cell-h--empty { display: none; }
  .fmc-matrix__cell-h { text-align: left; padding: 1rem 1.5rem; }
  .fmc-matrix__row-label { padding: 1.25rem 1.5rem; background: rgba(13,33,55,0.04); }
}

/* ---------- FMC Inline Notes (under matrix) ---------- */
.fmc-note {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-2);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.fmc-note::before {
  content: '';
  flex-shrink: 0;
  width: 4px;
  align-self: stretch;
  background: var(--brand-navy);
  border-radius: 2px;
}
.fmc-note p { margin: 0; }
.fmc-note--state::before {
  background: var(--brand-green);
}
.fmc-note strong {
  color: var(--ink);
  font-weight: 700;
}
.fmc-note a {
  color: var(--brand-navy);
  font-weight: 600;
  text-decoration: underline;
}
.fmc-note--state a {
  color: var(--brand-green);
}

/* ---------- FMC Model Intro (typographic split, no boxes) ---------- */
.fmc-model-intro {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 2.5rem;
  margin-bottom: 3rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.fmc-model-intro__item {
  padding: 2.25rem 2.5rem;
  position: relative;
}
.fmc-model-intro__item:first-child {
  border-right: 1px solid rgba(255,255,255,0.12);
}
.fmc-model-intro__tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-green);
  margin-bottom: 0.85rem;
}
.fmc-model-intro__item h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.fmc-model-intro__item p {
  font-size: 0.94rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.7);
}
.fmc-model-intro__item strong { color: #fff; font-weight: 700; }
@media (max-width: 768px) {
  .fmc-model-intro { grid-template-columns: 1fr; }
  .fmc-model-intro__item:first-child {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .fmc-model-intro__item { padding: 1.75rem; }
}

/* ---------- FMC Comparison Footnote Lines ---------- */
.fmc-footnotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 3rem;
  margin-top: 2.5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.fmc-footnote {
  border-left: 2px solid var(--brand-green);
  padding-left: 1.25rem;
}
.fmc-footnote h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.fmc-footnote p {
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin: 0;
}
@media (max-width: 768px) {
  .fmc-footnotes { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ---------- FMC Consortium Section Blocks ---------- */
.fmc-consortium-block {
  max-width: 880px;
  margin: 0 auto 2rem;
}
.fmc-consortium-block:last-child {
  margin-bottom: 0;
}
.fmc-consortium-block__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
}
.fmc-consortium-block p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 0.75rem;
}
.fmc-consortium-block p:last-child {
  margin-bottom: 0;
}

/* ---------- FMC Escrow Closing Box ---------- */
.fmc-escrow-closing {
  max-width: 780px;
  margin: 2.5rem auto 0;
  padding: 1.5rem 1.75rem;
  background: rgba(13,33,55,0.04);
  border: 2px solid var(--brand-navy);
  border-radius: 8px;
  text-align: center;
}
.fmc-escrow-closing p {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 0;
}

/* ---------- FMC Anchor / Affiliate Cards ---------- */
.fmc-anchor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}
.fmc-anchor-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 1.75rem 2rem;
}
.fmc-anchor-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-teal);
  margin-bottom: 1rem;
}
.fmc-anchor-card ul {
  list-style: disc;
  padding-left: 1.25rem;
}
.fmc-anchor-card li {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.6rem;
}
.fmc-anchor-card li:last-child {
  margin-bottom: 0;
}
/* Light-bg variant for use in light sections */
.fmc-anchor-grid--light .fmc-anchor-card {
  background: #fff;
  border: 1px solid var(--line);
}
.fmc-anchor-grid--light .fmc-anchor-card li {
  color: var(--ink-2);
}
.fmc-anchor-card--navy {
  border-top: 4px solid var(--brand-navy) !important;
}
.fmc-anchor-card--navy h4 {
  color: var(--brand-navy);
}
.fmc-anchor-card--teal {
  border-top: 4px solid var(--brand-teal) !important;
}
.fmc-anchor-card--teal h4 {
  color: var(--brand-teal);
}
@media (max-width: 768px) {
  .fmc-anchor-grid { grid-template-columns: 1fr; }
}

/* ---------- FMC Comparison Table (thin-line spec sheet) ---------- */
.fmc-compare {
  margin-top: 3rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.fmc-compare__wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.fmc-compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 720px;
}
.fmc-compare__table thead th {
  color: var(--brand-green);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0 1.25rem 1.25rem;
  text-align: center;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  background: transparent;
}
.fmc-compare__table thead th:first-child {
  text-align: left;
  color: rgba(255,255,255,0.5);
  font-weight: 700;
  letter-spacing: 0.18em;
  background: transparent;
}
.fmc-compare__feature-col {
  width: 42%;
}
.fmc-compare__table tbody td {
  padding: 1.1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  background: transparent;
}
.fmc-compare__table tbody tr:last-child td {
  border-bottom: none;
}
.fmc-compare__table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: #fff;
}
.fmc-compare__check {
  color: var(--brand-green);
  font-size: 1.2rem;
  font-weight: 800;
  display: inline-block;
}
.fmc-compare__dash {
  color: rgba(255,255,255,0.2);
  font-size: 1rem;
  display: inline-block;
  letter-spacing: -0.05em;
}

/* Light-bg variant */
.sol-section:not(.sol-section--dark) .fmc-compare__table thead th {
  color: var(--brand-green);
  border-bottom-color: rgba(13,33,55,0.18);
}
.sol-section:not(.sol-section--dark) .fmc-compare__table thead th:first-child {
  color: var(--muted);
}
.sol-section:not(.sol-section--dark) .fmc-compare__table tbody td {
  color: var(--ink-2);
  border-bottom-color: var(--line);
}
.sol-section:not(.sol-section--dark) .fmc-compare__table tbody td:first-child {
  color: var(--ink);
}
.sol-section:not(.sol-section--dark) .fmc-compare__dash {
  color: rgba(0,0,0,0.18);
}

@media (max-width: 768px) {
  .fmc-compare__table { font-size: 0.84rem; }
  .fmc-compare__table thead th,
  .fmc-compare__table tbody td { padding: 0.8rem 0.7rem; }
  .fmc-compare__table thead th { padding-top: 0; }
}

/* ==========================================================================
   Publications — Article Grid
   ========================================================================== */
.publications {
  padding: clamp(3rem, 7vh, 5rem) 0 clamp(5rem, 10vh, 8rem);
  background: var(--bg);
}

.pub-filters {
  display: flex;
  gap: 0;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.pub-filter {
  padding: 0.6rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color var(--t-fast), border-color var(--t-fast);
  margin-bottom: -1px;
}
.pub-filter:hover {
  color: var(--ink);
}
.pub-filter--active {
  background: transparent;
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.pub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.pub-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem 2rem 0;
  border: none;
  border-radius: 0;
  border-top: 1px solid var(--line);
  background: none;
  transition: none;
  cursor: pointer;
}
.pub-card:nth-child(even) { padding: 2rem 0 2rem 2rem; }
.pub-card:hover {
  border-color: var(--line);
  box-shadow: none;
  transform: none;
}

.pub-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.pub-card__date {
  font-size: 0.75rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.pub-card__tag {
  display: inline-block;
  padding: 0;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 0;
  background: none;
}
.pub-card__tag--research { color: var(--brand-teal); }
.pub-card__tag--policy { color: var(--brand-navy); }
.pub-card__tag--updates { color: var(--brand-green); }
.pub-card__tag--press { color: var(--muted); }

.pub-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.pub-card:hover .pub-card__title {
  color: var(--brand-navy);
}

.pub-card__excerpt {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.pub-card__read {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-navy);
  letter-spacing: 0.02em;
  transition: color var(--t-fast);
}
.pub-card:hover .pub-card__read {
  color: var(--brand-teal);
}

/* Press / News section */
.pub-press {
  padding: clamp(3rem, 6vh, 5rem) 0 clamp(5rem, 10vh, 8rem);
  background: var(--bg-soft);
}
.pub-press__header {
  margin-bottom: 2.5rem;
}
.pub-press__header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.pub-press__header p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 560px;
}
.pub-press__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pub-press__item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  align-items: baseline;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.pub-press__item:last-child {
  border-bottom: 1px solid var(--line);
}
.pub-press__date {
  font-size: 0.75rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  padding-top: 0.15rem;
}
.pub-press__body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}
.pub-press__body p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.pub-press__source {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.5rem;
  display: inline-block;
}

@media (max-width: 768px) {
  .pub-grid { grid-template-columns: 1fr; }
  .pub-card { padding: 1.5rem 0; }
  .pub-card:nth-child(even) { padding: 1.5rem 0; }
  .pub-press__item { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* ==========================================================================
   About Page
   ========================================================================== */

/* 1. About intro — white, large heading */
.about-intro {
  padding: clamp(5rem, 10vh, 8rem) 0 clamp(3rem, 6vh, 4rem);
}
.about-intro__title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 1.25rem;
}
.about-intro__desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 640px;
}

/* 2. Our Mission — hero image */
.about-mission {
  position: relative;
  overflow: hidden;
  min-height: clamp(400px, 55vh, 560px);
  display: flex;
  align-items: flex-end;
  padding: clamp(3rem, 6vh, 5rem) 0;
}
.about-mission__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.about-mission__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13,33,55,0.92) 0%,
    rgba(13,33,55,0.7) 50%,
    rgba(13,33,55,0.4) 100%
  );
}
.about-mission__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.about-mission__tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}
.about-mission__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  margin: 0 0 1.5rem;
  padding: 0;
  border: none;
}
.about-mission__desc {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  max-width: 620px;
}

/* 3. Who We Are — navy */
.about-whoweare {
  padding: clamp(4rem, 8vh, 6rem) 0;
  background: var(--ink);
}
.about-whoweare__content {
  max-width: 720px;
}
.about-whoweare__content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
}
.about-whoweare__content p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}
.about-whoweare__content p:last-child { margin-bottom: 0; }

/* 4. Core Pillars — white */
.about-pillars {
  padding: clamp(4rem, 8vh, 6rem) 0;
}
.about-pillars__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 2.5rem;
}
.about-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.about-pillars__item {
  padding: 2rem 2.5rem 2rem 0;
  border-top: 2px solid var(--ink);
}
.about-pillars__item:nth-child(2) {
  padding: 2rem 2.5rem;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.about-pillars__item:nth-child(3) {
  padding: 2rem 0 2rem 2.5rem;
}
.about-pillars__item h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.about-pillars__item p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}

/* 5. Our Story — navy */
.about-story {
  padding: clamp(4rem, 8vh, 6rem) 0;
  background: var(--ink);
}
.about-story__header {
  max-width: 720px;
  margin-bottom: 3rem;
}
.about-story__tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.75rem;
}
.about-story__header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}
.about-story__header p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
}
.about-story__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.about-story__item {
  padding: 2rem 2.5rem 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.about-story__item:nth-child(even) {
  padding: 2rem 0 2rem 2.5rem;
  border-left: 1px solid rgba(255,255,255,0.15);
}
.about-story__item h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}
.about-story__item p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}
.about-story__narrative {
  max-width: 780px;
  margin: 0 auto;
}
.about-story__narrative p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.72);
  margin-bottom: 1.5rem;
}
.about-story__narrative p:last-child {
  margin-bottom: 0;
}
.about-story__closing {
  font-weight: 600;
  font-style: italic;
  color: rgba(255,255,255,0.9) !important;
  font-size: 1.1rem !important;
  margin-top: 2rem !important;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

/* 6. Our Team — white */
.about-team {
  padding: clamp(4rem, 8vh, 6rem) 0;
}
.about-team__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.about-team__photo {
  display: block;
  width: 100%;
  max-width: 820px;
  margin: 0 auto 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}
.about-team__desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 780px;
  margin-bottom: 2.5rem;
}
.about-team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 820px;
  margin: 0 auto;
}
.about-team__member {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}
.about-team__member h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.about-team__cred-note {
  font-weight: 400;
  font-size: 0.85em;
  color: var(--muted);
}
.about-team__role {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 1rem;
}
.about-team__tagline {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.about-team__member p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
}
.about-team__member p + p {
  margin-top: 0.85rem;
}

@media (max-width: 960px) {
  .about-story__grid { grid-template-columns: 1fr; }
  .about-story__item,
  .about-story__item:nth-child(even) { padding: 1.75rem 0; border-left: none; }
  .about-team__member { padding: 2rem 0; }
}
@media (max-width: 768px) {
  .about-pillars__grid { grid-template-columns: 1fr; }
  .about-pillars__item { padding: 1.5rem 0; border-left: none; border-right: none; }
  .about-pillars__item:nth-child(2) { padding: 1.5rem 0; border-left: none; border-right: none; border-top: 2px solid var(--ink); }
  .about-pillars__item:nth-child(3) { padding: 1.5rem 0; border-top: 2px solid var(--ink); }
}
@media (max-width: 640px) {
  .about-team__member { padding: 1.5rem 0; }
}

/* ==========================================================================
   Privacy & Security Framework
   ========================================================================== */

.priv-intro {
  padding: clamp(5rem, 10vh, 8rem) 0 clamp(3rem, 6vh, 4rem);
  text-align: center;
}
.priv-intro__title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 1rem;
}
.priv-intro__subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 640px;
  margin-inline: auto;
}

.priv-design {
  padding: clamp(4rem, 8vh, 6rem) 0;
  background: var(--ink);
  text-align: center;
}
.priv-design__content {
  max-width: 720px;
  margin-inline: auto;
}
.priv-design__tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}
.priv-design__lead {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 1.25rem;
}
.priv-design__content p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}
.priv-design__content p:last-child { margin-bottom: 0; }
.priv-design__content strong { color: #fff; }

.priv-pivot {
  padding: clamp(4rem, 8vh, 6rem) 0;
  text-align: center;
}
.priv-pivot__content {
  max-width: 720px;
  margin-inline: auto;
}
.priv-pivot__content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.priv-pivot__content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.priv-pivot__content p:last-child { margin-bottom: 0; }

.priv-deadlock {
  padding: clamp(4rem, 8vh, 6rem) 0;
  background: var(--ink);
}
.priv-deadlock__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 2.5rem;
}
.priv-deadlock__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.priv-deadlock__item {
  padding: 2rem 2.5rem 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.priv-deadlock__item:nth-child(2) {
  padding: 2rem 2.5rem;
  border-left: 1px solid rgba(255,255,255,0.15);
  border-right: 1px solid rgba(255,255,255,0.15);
}
.priv-deadlock__item:nth-child(3) {
  padding: 2rem 0 2rem 2.5rem;
}
.priv-deadlock__item h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}
.priv-deadlock__item p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}
.priv-deadlock__item strong { color: #fff; }

.priv-pillars {
  padding: clamp(4rem, 8vh, 6rem) 0;
}
.priv-pillars__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 2.5rem;
}
.priv-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.priv-pillars__item {
  padding: 2rem 2.5rem 2rem 0;
  border-top: 2px solid var(--ink);
}
.priv-pillars__item:nth-child(2) {
  padding: 2rem 2.5rem;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.priv-pillars__item:nth-child(3) {
  padding: 2rem 0 2rem 2.5rem;
}
.priv-pillars__item h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.priv-pillars__item p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}

.priv-cta {
  padding: clamp(3rem, 6vh, 5rem) 0;
  background: var(--ink);
}
.priv-cta__inner {
  max-width: 600px;
}
.priv-cta__inner h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}
.priv-cta__inner p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .priv-deadlock__grid,
  .priv-pillars__grid { grid-template-columns: 1fr; }
  .priv-deadlock__item { padding: 1.5rem 0; border-left: none; border-right: none; }
  .priv-deadlock__item:nth-child(2) { padding: 1.5rem 0; border-left: none; border-right: none; }
  .priv-deadlock__item:nth-child(3) { padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.15); }
  .priv-pillars__item { padding: 1.5rem 0; border-left: none; border-right: none; }
  .priv-pillars__item:nth-child(2) { padding: 1.5rem 0; border-left: none; border-right: none; border-top: 2px solid var(--ink); }
  .priv-pillars__item:nth-child(3) { padding: 1.5rem 0; border-top: 2px solid var(--ink); }
}

/* ==========================================================================
   Essentrify Academy
   ========================================================================== */

/* Hero with stat strip */
.academy-hero {
  position: relative;
  padding: clamp(4rem, 9vh, 7rem) 0 clamp(3rem, 6vh, 5rem);
  background:
    radial-gradient(ellipse 900px 500px at 15% 10%, rgba(27,79,114,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 700px 500px at 90% 80%, rgba(46,147,161,0.08) 0%, transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  text-align: center;
}
.academy-hero__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 1.75rem;
}
.academy-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.4vw, 4.25rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 auto 1.25rem;
  max-width: 980px;
}
.academy-hero__sub {
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 3rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
}

.academy-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line);
}
.academy-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}
.academy-stat__num {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.academy-stat__label {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.academy-stat__label sup {
  font-size: 0.6em;
  margin-left: 0.1em;
}
.academy-stats__sources {
  max-width: 900px;
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  text-align: left;
}
.academy-stats__sources p {
  font-size: 0.7rem;
  color: rgba(10,14,23,0.4);
  line-height: 1.6;
  margin: 0;
}
.academy-stats__sources sup {
  font-size: 0.65em;
  margin-right: 0.2em;
}

/* Overview */
.academy-overview {
  padding: clamp(4rem, 8vh, 6rem) 0;
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.academy-overview__grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.academy-overview__col .section-header__tag { margin-bottom: 1rem; color: rgba(255,255,255,0.45); }
.academy-overview__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.academy-overview__col p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.academy-overview__col p:last-child { margin-bottom: 0; }
.academy-overview__col strong { color: #fff; }

/* Curriculum */
.academy-curriculum {
  padding: clamp(5rem, 10vh, 8rem) 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.academy-curriculum__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.academy-curriculum__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0.75rem 0 0.85rem;
}
.academy-curriculum__sub {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.academy-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1180px;
  margin: 0 auto;
}
.academy-module {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
a.academy-module:hover {
  border-color: var(--ink);
  box-shadow: 0 12px 36px rgba(10,14,23,0.1);
  transform: translateY(-3px);
}
.academy-module__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a0c10;
  overflow: hidden;
}
.academy-module__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.academy-module__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  transition: background var(--t-fast);
}
a.academy-module:hover .academy-module__play {
  background: rgba(0,0,0,0.15);
}
.academy-module--coming-soon .academy-module__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,14,23,0.04);
}
.academy-module__soon-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.academy-module__body {
  padding: 1.5rem 1.5rem 1.75rem;
}
.academy-module__num {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.academy-module__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.academy-module__desc {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Certificate Path */
.academy-cert {
  padding: clamp(5rem, 10vh, 8rem) 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.academy-cert__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem;
}
.academy-cert__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0.75rem 0 0.85rem;
}
.academy-cert__sub {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.academy-cert__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1080px;
  margin: 0 auto;
  counter-reset: cert-step;
  position: relative;
}
.academy-cert__steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line) 10%, var(--line) 90%, transparent);
  z-index: 0;
}
.academy-cert-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.academy-cert-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.academy-cert-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: 50%;
  border: 4px solid var(--bg);
  margin-bottom: 1.25rem;
}
.academy-cert-step__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}
.academy-cert-step__desc {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Fiscal Alignment callout */

/* Join the Movement / CTAs */
.academy-cta {
  padding: clamp(5rem, 10vh, 8rem) 0;
  background: var(--bg);
}
.academy-cta__head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem;
}
.academy-cta__title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0.75rem 0 0.85rem;
}
.academy-cta__sub {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.academy-cta__sub strong { color: var(--ink); }
.academy-cta__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.academy-cta__btn { min-width: 220px; text-align: center; }

/* Responsive */
@media (max-width: 900px) {
  .academy-overview__grid { grid-template-columns: 1fr; gap: 2rem; }
  .academy-modules { grid-template-columns: repeat(2, 1fr); }
  .academy-cert__steps { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .academy-cert__steps::before { display: none; }
  .academy-cert-step { opacity: 1; transform: none; }
}
@media (max-width: 600px) {
  .academy-stats { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 1.5rem; }
  .academy-modules { grid-template-columns: 1fr; }
  .academy-cta__buttons { flex-direction: column; align-items: stretch; }
  .academy-cta__btn { min-width: 0; }
}

/* ==========================================================================
   Footer Social Links
   ========================================================================== */
.footer__social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.5rem;
}
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.footer__social-link:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06);
}

/* ==========================================================================
   Scroll Animations
   ========================================================================== */
[data-animate] {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease),
    filter 0.9s var(--ease);
  transition-delay: var(--animate-delay, 0s);
  will-change: opacity, transform;
}
[data-animate].is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Variants */
[data-animate="fade-up"]    { transform: translateY(40px); }
[data-animate="fade-down"]  { transform: translateY(-40px); }
[data-animate="fade-left"]  { transform: translateX(-50px); }
[data-animate="fade-right"] { transform: translateX(50px); }
[data-animate="fade-in"]    { transform: none; }
[data-animate="scale-in"]   { transform: scale(0.92); }
[data-animate="blur-in"]    { transform: translateY(20px); filter: blur(14px); }
[data-animate="rise"]       { transform: translateY(70px) scale(0.98); }

/* Prevent will-change staying on forever */
[data-animate].is-visible { will-change: auto; }


@media (prefers-reduced-motion: reduce) {
  [data-animate],
  [data-animate].is-visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* Preserve hover lift after scroll-in (specificity > [data-animate].is-visible) */
.domain-card[data-animate].is-visible:hover { transform: translateY(-6px); }

/* Old pulse animation — kept for any backward compat */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .nav, .header__cta { display: none; }
  .mobile-toggle { display: flex; }

  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav.is-open {
    display: block !important;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    padding: 1.5rem;
    overflow-y: auto;
    z-index: 99999;
  }
  body.home .nav.is-open {
    background: #0D2137;
  }
  .nav.is-open .nav__list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0;
    align-items: stretch;
  }
  .nav.is-open .nav__link {
    display: block;
    padding: 1rem 0.5rem;
    font-size: 1.1rem;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    white-space: normal;
  }
  body.home .nav.is-open .nav__link {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.1);
  }
  .nav.is-open .nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1rem;
    min-width: 0;
  }
  body.home .nav.is-open .nav__dropdown {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (max-width: 1024px) {
  .domains__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
  .aie__pillars {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding-top: 2.5rem;
  }
  .aie__head { margin-bottom: 3.5rem; }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 4rem 0 2.5rem;
  }
}

@media (max-width: 768px) {
  body { font-size: 16px; }

  .section-header { margin-bottom: 3rem; }
  .hero-coda { padding: 20px 24px; }
  .hero-coda__inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero-coda__text { font-size: 15px; }
  .aie__pillar-title { font-size: 1.2rem; }
  .modal__container { padding: 2rem 1.5rem; }
  .modal__title { font-size: 1.5rem; }
}

@media (max-width: 480px) {

  .cohort__counters { gap: 1.5rem; }
}

/* ==========================================================================
   Domain card photos — bring back imagery from old site
   ========================================================================== */
.domain-card__photo {
  position: relative;
  margin: -2.5rem -2rem 1.75rem;
  height: 240px;
  overflow: hidden;
  background: #EEF0F4;
}
body.home .domain-card__photo { background: rgba(255,255,255,0.04); }
.domain-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease);
}
.domain-card:hover .domain-card__photo img {
  transform: scale(1.04);
}
.domain-card--featured .domain-card__photo {
  background: #141923;
}

/* Editorial label above title */
.domain-card__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
body.home .domain-card__label { color: rgba(255,255,255,0.5); }
.domain-card--featured .domain-card__label {
  color: rgba(255,255,255,0.55);
}

/* ==========================================================================
   Section Wave — Organic green transitions from old site
   ========================================================================== */
.wave-divider {
  position: relative;
  width: 100%;
  height: 160px;
  margin-top: -160px;
  margin-bottom: -1px;
  line-height: 0;
  pointer-events: none;
  z-index: 1;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Brand-navy section titles on subpages; white on dark sections */
.section-header__title,
.national__title {
  color: var(--brand-navy);
}
.aie__title,
.cohort__title { color: #fff; }

/* Homepage: all section titles white on unified dark canvas */
body.home .section-header__title,
body.home .national__title { color: #fff; }

/* ==========================================================================
   Responsive tweaks for photo cards
   ========================================================================== */
@media (max-width: 768px) {
  .domain-card__photo { height: 200px; }
  .wave-divider { height: 90px; margin-top: -90px; }
}

/* ==========================================================================
   Registration Page
   ========================================================================== */
.register-section {
  padding: clamp(4rem, 9vh, 7rem) 0;
  background: var(--bg);
}
.register-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.register-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.register-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
}
.register-benefits li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}
.register-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-green);
}
.register-steps h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.register-steps ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: cert-step;
}
.register-steps li {
  counter-increment: cert-step;
  position: relative;
  padding-left: 2.4rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.register-steps li::before {
  content: counter(cert-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--brand-navy);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.register-steps li strong {
  color: var(--ink);
}

/* Form */
.register-form {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.register-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.register-form__field {
  margin-bottom: 1.25rem;
}
.register-form__field label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.register-form__field label span {
  color: var(--brand-green);
}
.register-form__field input,
.register-form__field textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color 0.2s;
}
.register-form__field input:focus,
.register-form__field textarea:focus {
  outline: none;
  border-color: var(--brand-navy);
  box-shadow: 0 0 0 3px rgba(27,79,114,0.1);
}
.register-form__field input::placeholder,
.register-form__field textarea::placeholder {
  color: var(--muted-2);
}
.register-form__submit {
  width: 100%;
  margin-top: 0.5rem;
}
.register-form__note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted-2);
  margin-top: 1rem;
  margin-bottom: 0;
}
.register-form__note a {
  color: var(--brand-navy);
  text-decoration: underline;
}

/* Success / Error states */
.register-form__success {
  text-align: center;
  padding: 2rem 0;
}
.register-form__success h3 {
  font-family: var(--font-heading);
  color: var(--brand-green);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.register-form__success p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.register-form__error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--r-sm);
  padding: 0.85rem 1rem;
  margin-top: 1rem;
}
.register-form__error p {
  color: #991b1b;
  font-size: 0.88rem;
  margin: 0;
}
.register-form__error a {
  color: #991b1b;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .register-grid { grid-template-columns: 1fr; }
  .register-form__row { grid-template-columns: 1fr; }
}

/* Registration modal: strip card shell — modal container provides the frame */
.modal__container .register-form {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
}
.modal__lead {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ==========================================================================
   Mobile touch target & input polish
   ========================================================================== */
@media (max-width: 768px) {
  /* Ensure tap targets meet 44px minimum on mobile nav/footer/CTAs */
  .nav__link,
  .nav__dropdown-link,
  .footer__contact-item,
  .footer__social-link,
  .footer__links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .btn,
  .btn--sm,
  button[type="submit"] {
    min-height: 44px;
  }
  /* Form inputs comfortable on mobile keyboards */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    font-size: 16px; /* prevents iOS zoom on focus */
    min-height: 44px;
  }
  textarea { min-height: 88px; }
}
