/* Extends design system from home page — keep in sync */
/* =========================================================
   Influence 51 — Topics page prototype
   Strict palette: #000 / #FFF / #6600FF (+ rgba alphas only).
   Type: Futura PT (Adobe Typekit) — thin (300) + bold (700).
   ========================================================= */

:root {
  /* Palette — ONLY these three + alphas */
  --ink:     #000000;
  --white:   #FFFFFF;
  --accent:  #6600FF;
  --accent-hover: #7A1AFF;

  /* Alphas on black (for use on white backgrounds) */
  --ink-90: rgba(0,0,0,.90);
  --ink-72: rgba(0,0,0,.72);
  --ink-62: rgba(0,0,0,.62);
  --ink-55: rgba(0,0,0,.55);
  --ink-30: rgba(0,0,0,.30);
  --ink-12: rgba(0,0,0,.12);
  --ink-08: rgba(0,0,0,.08);
  --ink-06: rgba(0,0,0,.06);

  /* Alphas on white (for use on black backgrounds) */
  --white-90: rgba(255,255,255,.90);
  --white-72: rgba(255,255,255,.72);
  --white-55: rgba(255,255,255,.55);
  --white-30: rgba(255,255,255,.30);
  --white-15: rgba(255,255,255,.15);

  /* Accent alphas */
  --accent-50: rgba(102,0,255,.50);
  --accent-35: rgba(102,0,255,.35);
  --accent-30: rgba(102,0,255,.30);
  --accent-18: rgba(102,0,255,.18);
  --accent-15: rgba(102,0,255,.15);
  --accent-10: rgba(102,0,255,.10);
  --accent-08: rgba(102,0,255,.08);
  --accent-06: rgba(102,0,255,.06);

  /* Typography */
  --ff: "futura-pt","Futura","Century Gothic","Avenir Next","Helvetica Neue",Arial,sans-serif;

  /* Layout */
  --content-max: 1240px;
  --gutter: 24px;
  --gutter-mobile: 20px;

  /* Motion */
  --ease: cubic-bezier(.16,1,.3,1);
  --t: 280ms var(--ease);
  --t-fast: 180ms var(--ease);

  /* Section padding */
  --sec-y: clamp(80px, 10vw, 140px);
  --sec-y-thin: clamp(64px, 7vw, 96px);

  /* Nav height (for sticky-rail offset) */
  --nav-h: 72px;
}

/* =========================================================
   Base reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 140px; /* nav + pill rail */
}
body {
  min-height: 100dvh;
  font-family: var(--ff);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; transition: color var(--t), border-color var(--t), background var(--t); }
h1, h2, h3, h4 { font-family: var(--ff); line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (max-width: 640px) {
  .container { padding-inline: var(--gutter-mobile); }
}

/* =========================================================
   Typography primitives — the signature thin+bold treatment
   ========================================================= */
.display {
  font-family: var(--ff);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.02;
  font-size: clamp(2rem, 1.2rem + 3.8vw, 4rem);
  color: var(--ink);
}
.display--center { text-align: center; }
.display--xl {
  font-size: clamp(2.5rem, 1.6rem + 4.4vw, 4.5rem);
}
.display .thin { font-weight: 300; }
.display .bold { font-weight: 700; }

.eyebrow {
  display: inline-block;
  font-family: var(--ff);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.eyebrow--on-dark { color: var(--accent); }

.section-head { margin-bottom: clamp(48px, 6vw, 72px); }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { display: inline-block; }
.section-intro {
  max-width: 680px;
  margin: 20px auto 0;
  color: var(--ink-72);
  font-size: 18px;
  line-height: 1.65;
}
.section-intro--on-dark { color: var(--white-72); }

.hairline {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 24px;
}
.hairline--center { margin: 0 auto 24px; }

/* =========================================================
   Pill chip (fully-rounded outline pill) — eyebrow alternative
   ========================================================= */
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 6px 14px;
  line-height: 1;
  margin-bottom: 20px;
}
.chip--solid { background: var(--accent); color: var(--white); border-color: var(--accent); }
.chip--on-dark { color: var(--accent); border-color: var(--accent); }
.chip--sm { font-size: 10px; padding: 4px 10px; letter-spacing: 0.18em; }

/* Word highlight pill (softly rounded, used inline inside headlines) */
.hilite-pill {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  border-radius: 10px;
  padding: 0.02em 0.22em 0.06em;
  line-height: inherit;
  /* keep baseline clean — don't disrupt the surrounding line-height */
  vertical-align: baseline;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
}
@media (max-width: 420px) {
  .btn { font-size: 12px; letter-spacing: 0.12em; padding: 14px 18px; white-space: normal; }
}

.btn--primary-light { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--primary-light:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.btn--ghost-light { background: transparent; color: var(--ink); border-color: var(--ink-30); }
.btn--ghost-light:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

.btn--primary-dark { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn--primary-dark:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); }
.btn--ghost-dark { background: transparent; color: var(--white); border-color: var(--white-30); }
.btn--ghost-dark:hover { border-color: var(--white); transform: translateY(-1px); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: color var(--t), border-color var(--t);
}
.arrow-link:hover { color: var(--accent-hover); border-color: var(--accent); }
.arrow-link span { transition: transform var(--t); }
.arrow-link:hover span { transform: translateX(4px); }

.center-row { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }

/* =========================================================
   Reveal animation (IntersectionObserver)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   NAV (identical to home)
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink);
  border-bottom: 1px solid var(--white-15);
}
.nav__inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__logo {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.14em;
  color: var(--white);
}
.nav__links {
  display: flex;
  gap: clamp(16px, 2vw, 32px);
  margin-left: auto;
}
.nav__links a {
  font-family: var(--ff);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-72);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--white); }
.nav__links a.is-active { position: relative; }
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--accent);
}
.nav__cta {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  padding: 10px 16px;
  border: 1px solid var(--white-30);
  border-radius: 2px;
  transition: border-color var(--t), color var(--t), background var(--t);
}
.nav__cta:hover { border-color: var(--accent); color: var(--white); background: var(--accent); }

.nav__menu {
  display: none;
  width: 40px; height: 40px;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav__menu span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform var(--t), opacity var(--t);
}
.nav__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--ink);
  z-index: 55;
  padding: 40px var(--gutter-mobile);
}
.nav__mobile nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.nav__mobile a {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}
.nav__mobile a:hover, .nav__mobile a.is-active { color: var(--accent); }
.nav__mobile.is-open { display: block; }

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: inline-flex; }
}

/* =========================================================
   HERO (dark, centered, content-discovery — no CTAs)
   ========================================================= */
.hero-t {
  position: relative;
  background: var(--ink);
  color: var(--white);
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 0 120px;
  overflow: hidden;
}
.hero-t::before {
  /* faint ambient glow */
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 80vw; height: 80vw;
  max-width: 900px; max-height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, var(--accent-15) 0%, transparent 60%);
  pointer-events: none;
}
.hero-t__inner {
  position: relative;
  max-width: 1100px;
  width: 100%;
  padding-inline: var(--gutter);
  text-align: center;
}
.hero-t .chip {
  color: var(--accent);
  border-color: var(--accent);
  margin-bottom: 32px;
}
.hero-t__title {
  font-family: var(--ff);
  text-transform: uppercase;
  font-size: clamp(2.25rem, 1rem + 5vw, 4.75rem); /* 36 → 76 */
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: var(--white);
}
.hero-t__title .line {
  display: block;
}
.hero-t__title .thin { font-weight: 300; }
.hero-t__title .bold { font-weight: 700; }
.hero-t__title .hilite-pill {
  /* sits on baseline inside a bold line — keep line height steady */
  padding: 0 0.16em 0.04em;
  border-radius: 0.12em;
  margin-right: 0.04em;
  line-height: 0.85;
}

.hero-t__lede {
  margin: 32px auto 0;
  max-width: 720px;
  color: var(--white-72);
  font-size: clamp(17px, 1rem + 0.25vw, 20px);
  line-height: 1.6;
  font-weight: 400;
}

.hero-t__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}
.hero-t__scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: var(--accent);
  animation: scrollBounce 2s var(--ease) infinite;
}
.hero-t__scroll-word {
  font-family: var(--ff);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}
@media (max-width: 640px) {
  .hero-t { min-height: 560px; padding: 48px 0 96px; }
  .hero-t__scroll-line { height: 36px; }
  .hero-t__scroll { bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-t__scroll-line { animation: none; }
}

/* =========================================================
   CORE FOUR section (white) — sticky rail + 2x2 grid
   ========================================================= */
.core {
  position: relative;
  padding: var(--sec-y) 0 calc(var(--sec-y) - 20px);
  background: var(--white);
}
.core__head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}
.core__head h2 {
  font-size: clamp(2.25rem, 1.2rem + 4vw, 3.5rem);
}

/* Stage wrapper: contains hero + rail + core four so sticky range is bounded here */
.stage { position: relative; }

/* Pill rail — sits below the hero lede at rest, sticks under the nav on scroll.
   It stays visible throughout the Core Four section (the stage) and then unsticks. */
.rail {
  position: sticky;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--accent-18);
  border-bottom: 1px solid var(--accent-18);
  height: 60px;
  /* Pull up slightly so the rail visually tucks into the bottom of the dark hero */
  margin-top: -30px;
}
.rail__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.rail__inner::-webkit-scrollbar { display: none; }
.rail__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 7px 16px;
  line-height: 1;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
  flex-shrink: 0;
}
.rail__pill:hover { background: var(--accent-15); }
.rail__pill.is-active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
@media (max-width: 640px) {
  .rail { height: 52px; margin-top: -26px; }
  .rail__inner { justify-content: flex-start; padding: 0 var(--gutter-mobile); }
  .rail__pill { font-size: 10px; padding: 6px 12px; letter-spacing: 0.14em; }
}

/* 2×2 Core Four grid */
.core__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.2vw, 28px);
  align-items: start;
}
@media (max-width: 900px) {
  .core__grid { grid-template-columns: 1fr; }
}

.core-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--ink-08);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
  scroll-margin-top: 140px;
}
.core-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.core-card.is-open {
  border-color: var(--accent);
  transform: none;
}
.core-card__bignum {
  position: absolute;
  top: -8px;
  right: 12px;
  font-family: var(--ff);
  font-weight: 300;
  font-size: clamp(100px, 12vw, 140px);
  line-height: 1;
  color: var(--accent-08);
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.01em;
}
.core-card__top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
}
.core-card__top .chip { margin-bottom: 0; }

.core-card__title {
  font-family: var(--ff);
  text-transform: uppercase;
  font-size: clamp(1.6rem, 0.9rem + 1.3vw, 2.25rem); /* ~26-36 */
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--ink);
  position: relative;
  z-index: 1;
}
.core-card__title .thin { font-weight: 300; }
.core-card__title .bold { font-weight: 700; }

.core-card__pull {
  font-family: var(--ff);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-62);
  position: relative;
  z-index: 1;
  max-height: 80px;
  opacity: 1;
  overflow: hidden;
  transition: max-height .45s ease, opacity .3s ease, margin .3s ease;
}
.core-card.is-open .core-card__pull {
  max-height: 0;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}

.core-card__foot {
  margin-top: auto;
  padding-top: 12px;
  position: relative;
  z-index: 1;
}
.core-card__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0 0 4px 0;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  transition: border-color var(--t), color var(--t);
}
.core-card__toggle:hover { border-bottom-color: var(--accent); }
.core-card__toggle span { transition: transform var(--t); }
.core-card.is-open .core-card__toggle span.arr {
  transform: rotate(-180deg);
}

/* Accordion-style expand using grid-template-rows 0fr → 1fr */
.core-card__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 500ms var(--ease);
}
.core-card.is-open .core-card__panel {
  grid-template-rows: 1fr;
}
.core-card__panel > .core-card__panel-inner {
  overflow: hidden;
  min-height: 0;
}
.core-card.is-open .core-card__panel > .core-card__panel-inner {
  overflow: visible; /* reveal focus rings once fully open */
  transition: overflow 0s 500ms;
}

/* Panel content */
.panel-content {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.panel-content__pull {
  font-family: var(--ff);
  font-size: clamp(1.15rem, 0.9rem + 0.5vw, 1.4rem); /* ~18-22 */
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.panel-content__pull .thin { font-weight: 300; }
.panel-content__pull .bold { font-weight: 700; }
.panel-content__desc p {
  color: var(--ink-72);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.panel-content__desc p:last-child { margin-bottom: 0; }

.learn-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.learn-head .chip { margin-bottom: 0; font-size: 10px; padding: 4px 10px; }

.learn-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
}
.learn-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  align-items: flex-start;
}
.learn-list__dot {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  margin-top: 2px;
}
.learn-list__body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-72);
}
.learn-list__body strong {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.005em;
}

/* Content preview slot */
.preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border: 1px solid var(--accent-30);
  display: flex;
  align-items: center;
  justify-content: center;
}
.preview__label {
  font-family: var(--ff);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-72);
}

/* =========================================================
   Testimonial moment — pure type, between Core Four and All Areas
   ========================================================= */
.tmoment {
  position: relative;
  padding: 120px 0;
  background: var(--white);
  overflow: hidden;
}
.tmoment__inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding-inline: var(--gutter);
  text-align: center;
}
.tmoment__mark {
  position: absolute;
  top: -10px;
  left: -20px;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 220px;
  line-height: 1;
  color: var(--accent-10);
  pointer-events: none;
  user-select: none;
}
.tmoment__body { position: relative; z-index: 1; }
.tmoment__quote {
  font-family: var(--ff);
  text-transform: uppercase;
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); /* ~28-44 */
  line-height: 1.1;
  letter-spacing: 0.005em;
  color: var(--ink);
  margin-bottom: 24px;
}
.tmoment__quote .thin { font-weight: 300; }
.tmoment__quote .bold { font-weight: 700; }
.tmoment__attr {
  font-family: var(--ff);
  font-size: 14px;
  color: var(--ink-62);
  line-height: 1.55;
}
@media (max-width: 640px) {
  .tmoment { padding: 80px 0; }
  .tmoment__mark { font-size: 140px; top: 0; left: 0; }
}

/* =========================================================
   All Areas — filter bar + 3×3 grid
   ========================================================= */
.areas {
  padding: var(--sec-y) 0;
  background: var(--white);
  border-top: 1px solid var(--accent-18);
}
.areas__head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 56px);
}
.areas__head h2 {
  font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem);
}

.filterbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(40px, 5vw, 56px);
}
.filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 9px 16px;
  line-height: 1;
  cursor: pointer;
  transition: background var(--t), color var(--t), transform var(--t);
}
.filter:hover { background: var(--accent-15); transform: translateY(-1px); }
.filter.is-active {
  background: var(--accent);
  color: var(--white);
}

.areas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 24px);
}
@media (max-width: 900px) {
  .areas__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .areas__grid { grid-template-columns: 1fr; }
}

.area-card {
  background: var(--white);
  border: 1px solid var(--ink-08);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--t), transform var(--t), opacity 300ms var(--ease);
}
.area-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.area-card .chip {
  margin-bottom: 4px;
  align-self: flex-start;
  font-size: 10px;
  padding: 4px 10px;
}
.area-card__title {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--ink);
}
.area-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-72);
}

.area-card.is-hidden {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
  /* remove from flow */
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

/* =========================================================
   Final CTA (dark)
   ========================================================= */
.cta {
  background: var(--ink);
  color: var(--white);
  padding: 160px 0;
  text-align: center;
}
.cta__inner { max-width: 900px; margin: 0 auto; padding-inline: var(--gutter); }
.cta .display {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 1.2rem + 4.2vw, 4.5rem);
  line-height: 1.05;
}
.cta__body {
  color: var(--white-72);
  font-size: 18px;
  line-height: 1.65;
  max-width: 58ch;
  margin: 0 auto 36px;
}
.cta__btns {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

@media (max-width: 640px) {
  .cta { padding: 96px 0; }
}

/* =========================================================
   Footer (identical to home)
   ========================================================= */
.footer {
  background: var(--ink);
  color: var(--white);
  padding: 80px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer__logo {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: 12px;
}
.footer__tag {
  color: var(--white-72);
  font-size: 15px;
  line-height: 1.55;
  max-width: 36ch;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer__head {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}
.footer__cols a {
  display: block;
  font-size: 14px;
  color: var(--white-72);
  padding: 4px 0;
}
.footer__cols a:hover { color: var(--white); }
.footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--white-15);
  font-family: var(--ff);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-55);
}
.footer__social { display: inline-flex; gap: 20px; }
.footer__social a { color: var(--white-72); }
.footer__social a:hover { color: var(--white); }

@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* =========================================================
   Signature Framework CTA (Download The Leader's Guide)
   ========================================================= */
.beliefs__cta {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.beliefs__cta-copy {
  margin: 0;
  color: var(--white-72);
  font-size: 16px;
  line-height: 1.5;
  max-width: 620px;
}
@media (max-width: 640px) {
  .beliefs__cta { margin-top: 40px; gap: 16px; }
  .beliefs__cta-copy { font-size: 15px; }
}

/* =========================================================
   Pull testimonial (imported from home — BGCA-style format)
   ========================================================= */
.pull {
  padding: 56px 0 104px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.pull__inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.pull__eyebrow-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  margin-bottom: 40px;
}
.pull__eyebrow {
  justify-self: center;
  display: inline-block;
  font-family: var(--ff);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  margin: 0;
}
.pull__inner::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: var(--ink);
  margin-bottom: 44px;
}
.pull__split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: center;
}
.pull__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}
.pull__logo {
  display: block;
  max-width: 100%;
  max-height: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.pull__content {
  text-align: left;
}
.pull__quote {
  font-family: var(--ff);
  font-weight: 400;
  font-size: 2.8rem;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 28px;
}
.pull__qmark {
  display: inline;
  color: var(--accent);
  font-size: 1em;
  font-weight: 700;
}
.pull__attr {
  font-family: var(--ff);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  line-height: 1.5;
  max-width: 480px;
  margin: 0;
}
@media (max-width: 900px) {
  .pull { padding: 72px 0; }
  .pull__eyebrow-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 28px; }
  .pull__eyebrow { font-size: 10px; }
  .pull__inner::before { margin-bottom: 32px; }
  .pull__split {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .pull__logo-wrap { min-height: 160px; }
  .pull__logo { max-height: 140px; }
  .pull__content { text-align: center; }
  .pull__quote { font-size: 2rem; }
  .pull__attr { margin-left: auto; margin-right: auto; }
}

/* =========================================================
   Signature Framework (Five Principles) — styled like About's Beliefs
   ========================================================= */
.beliefs {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: 96px 0 112px;
  overflow: hidden;
}
.beliefs::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(102, 0, 255, 0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.beliefs .container { position: relative; z-index: 1; }
.beliefs__head {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.beliefs__head .chip {
  margin-bottom: 20px;
  color: var(--accent);
  border-color: var(--accent);
}
/* r5-topics: tighten gap between H2 and the supporting intro paragraph */
.beliefs__head h2 { color: var(--white); margin-bottom: 6px; }
.beliefs__head .section-intro { margin-top: 8px; }
.beliefs__head h2 .thin,
.beliefs__head h2 .bold { color: var(--white); }
.beliefs__list {
  list-style: none;
  margin: 0 auto;
  padding: 32px 0 0;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.belief {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 48px;
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.belief:first-child { border-top: none; padding-top: 16px; }
.belief__num {
  font-family: var(--ff);
  font-weight: 300;
  font-size: 100px;
  line-height: 1;
  color: rgba(102, 0, 255, 0.48);
  letter-spacing: 0.01em;
  user-select: none;
}
.belief__copy h3 {
  font-family: var(--ff);
  font-size: clamp(1.25rem, 1rem + 0.7vw, 1.75rem);
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--white);
  letter-spacing: 0.01em;
}
.belief__copy h3 .thin { font-weight: 300; }
.belief__copy h3 .bold { font-weight: 700; }
.belief__copy p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 56ch;
  margin: 0;
}
@media (max-width: 768px) {
  .beliefs { padding: 80px 0; }
  .belief {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
  }
  .belief__num { font-size: 72px; }
}

/* =========================================================
   Areas grid — center when few cards visible after filtering
   ========================================================= */
.areas__grid--center-1 { justify-content: center; }
.areas__grid--center-1 .area-card { max-width: 460px; }
.areas__grid--center-2 { justify-content: center; }
.areas__grid--center-2 .area-card { max-width: 460px; }
@media (min-width: 901px) {
  .areas__grid--center-1 {
    display: flex;
    justify-content: center;
  }
  .areas__grid--center-2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--gutter, 24px);
  }
  .areas__grid--center-2 .area-card {
    flex: 0 0 calc((100% - 48px) / 3);
    max-width: 380px;
  }
}

/* =========================================================
   ROUND 1 — TOPICS PAGE SURGICAL UPGRADES
   • Core Four outcome subtitle
   • Problem-selector band under hero
   • Delivery-format strip under Core Four grid
   • Five Principles ↔ Core Four bridge line
   • Nine Domains cards become clickable anchors
   ========================================================= */

/* --- Core Four outcome subtitle ---------------------------------- */
.core-card__subtitle {
  font-family: var(--ff);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-72);
  margin: 4px 0 14px;
  max-width: 42ch;
  position: relative;
  z-index: 1;
}
@media (max-width: 640px) {
  .core-card__subtitle { font-size: 14px; }
}

/* --- Hero problem-selector (thin purple rectangle inside hero) ---------- */
.hero-selector {
  margin: clamp(28px, 3vw, 40px) auto 0;
  max-width: 880px;
  padding: clamp(18px, 2vw, 24px) clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--accent);
  border-radius: 14px;
  background: rgba(102, 0, 255, 0.06);
  text-align: center;
}
.hero-selector__label {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 14px;
  text-align: center;
}
.hero-selector__chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.hero-selector__chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: transparent;
  color: var(--white);
  font-family: var(--ff);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--t), border-color var(--t), color var(--t);
}
.hero-selector__chip:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.hero-selector__chip--fill {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  font-weight: 700;
}
.hero-selector__chip--fill:hover {
  background: var(--accent-hover, #7A1AFF);
  border-color: var(--accent-hover, #7A1AFF);
}
.hero-selector__chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
@media (max-width: 720px) {
  .hero-selector { max-width: 100%; }
  .hero-selector__label { font-size: 12px; letter-spacing: 0.12em; }
  .hero-selector__chip { font-size: 12px; padding: 7px 12px; white-space: normal; }
}

/* --- Delivery-format strip (centered, prominent) ----------------- */
.delivery {
  margin: clamp(48px, 6vw, 72px) auto 0;
  padding: clamp(28px, 3.5vw, 40px) clamp(24px, 3vw, 40px);
  border: 1px solid var(--ink-08);
  border-radius: 16px;
  background: var(--white);
  max-width: 820px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.delivery__label {
  font-family: var(--ff);
  font-weight: 300;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
  max-width: 640px;
}
.delivery__label strong {
  font-weight: 700;
  color: var(--ink);
}
.delivery__link {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--t);
}
.delivery__link:hover { color: var(--accent-hover, #7A1AFF); text-decoration: underline; }
@media (max-width: 640px) {
  .delivery { padding: 24px 20px; }
  .delivery__label { font-size: 17px; }
}

/* --- Core-card entire card clickable affordance ------------------- */
.core-card { cursor: pointer; }
.core-card.is-open { cursor: default; }

/* --- Five Principles ↔ Core Four bridge line -------------------- */
.beliefs__bridge {
  font-family: var(--ff);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.45;
  color: var(--white);
  text-align: center;
  max-width: 620px;
  margin: 14px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.beliefs__bridge .thin { font-weight: 300; color: rgba(255, 255, 255, 0.72); }
.beliefs__bridge .bold { font-weight: 700; color: var(--white); }

/* --- Nine Domains: <article> → <a> clickable card --------------- */
.area-card {
  text-decoration: none;
  color: inherit;
  position: relative;
}
.area-card__arrow {
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: var(--ff);
  font-size: 18px;
  color: var(--ink-40, rgba(0, 0, 0, 0.4));
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--t), transform var(--t), color var(--t);
}
.area-card:hover .area-card__arrow,
.area-card:focus-visible .area-card__arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent);
}
.area-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ============================================================
   ROUND 2 TWEAKS — Apr 24 2026
   A. Delivery strip: black variant for stronger visual break
   B. Core-card title pulse on open (subtle purple highlight)
   ============================================================ */

/* Tweak A — Black delivery card variant */
.delivery.delivery--dark {
  background: var(--ink, #000);
  border-color: var(--ink, #000);
  position: relative;
  overflow: hidden;
}
.delivery.delivery--dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent, #6600FF);
}
.delivery--dark .delivery__label { color: var(--white, #fff); }
.delivery--dark .delivery__label strong { color: var(--white, #fff); }
.delivery--dark .delivery__link {
  color: var(--accent);
}
.delivery--dark .delivery__link:hover {
  color: var(--white, #fff);
}

/* Tweak B — Title pulse animation when card is opened */
@keyframes coreTitlePulse {
  0%   { color: var(--ink); }
  18%  { color: var(--accent); }
  55%  { color: var(--accent); }
  100% { color: var(--ink); }
}
.core-card.just-opened .core-card__title {
  animation: coreTitlePulse 1200ms ease-in-out both;
}
@media (prefers-reduced-motion: reduce) {
  .core-card.just-opened .core-card__title { animation: none; }
}


/* Topics: Video preview overlay + play button (HLS) */
.vcard__player.preview {
  border-color: rgba(102, 0, 255, 0.35);
  background: #050505;
}
.vcard__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  display: block;
  z-index: 1;
}
.vcard__cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,.55) 100%),
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(102,0,255,.22) 0%, transparent 70%),
    #050505;
  pointer-events: none;
  transition: opacity 280ms var(--ease);
}
.vcard__player.is-playing .vcard__cover { opacity: 0; }
.vcard__play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 0;
  padding: 0;
  padding-left: 6px;
  box-shadow: 0 16px 40px -10px rgba(102, 0, 255, 0.5);
  transition: transform var(--t), background var(--t), opacity var(--t);
}
.vcard__play:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background: var(--accent-hover);
}
.vcard__player.is-playing .vcard__play {
  opacity: 0;
  pointer-events: none;
}

/* =========================================================
   NAV DROPDOWN — Who We Help (r2 — hardened against existing
   `.nav__links a` rules that would render menu items as inline text)
   ========================================================= */
.nav .nav__dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav .nav__dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-72);
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  line-height: 1;
  transition: color var(--t);
}
.nav .nav__dropdown-trigger:hover,
.nav .nav__dropdown[data-open="true"] .nav__dropdown-trigger { color: var(--white); }
.nav .nav__dropdown-trigger svg { transition: transform var(--t); flex: 0 0 auto; }
.nav .nav__dropdown[data-open="true"] .nav__dropdown-trigger svg { transform: rotate(180deg); }

/* Critical: the menu MUST be absolutely positioned and hidden by default,
   regardless of any `.nav__links` rules in the existing stylesheet. */
.nav .nav__dropdown-menu {
  position: absolute !important;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 200px;
  background: var(--ink);
  border: 1px solid var(--white-15);
  border-radius: 12px;
  padding: 10px;
  display: flex !important;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t), transform var(--t), visibility var(--t);
  z-index: 100;
}
.nav .nav__dropdown[data-open="true"] .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav .nav__dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--white-72);
  border-radius: 8px;
  transition: background var(--t), color var(--t);
}
.nav .nav__dropdown-menu a:hover,
.nav .nav__dropdown-menu a.is-active {
  background: var(--accent);
  color: var(--white);
}
/* Suppress the inherited active underline that .nav__links a.is-active gets */
.nav .nav__dropdown-menu a.is-active::after { content: none !important; }

/* Mobile group */
.nav .nav__mobile-group {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--white-15);
  border-bottom: 1px solid var(--white-15);
  padding: 12px 0 16px;
  margin: 4px 0;
}
.nav .nav__mobile-label {
  display: block;
  font-family: var(--ff);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 8px 24px 4px;
}
.nav .nav__mobile-group a {
  padding: 8px 32px !important;
  font-size: 16px !important;
}

/* ===== r3-nav: uppercase dropdown items, match nav typography ===== */
.nav .nav__dropdown-menu a {
  font-size: 12px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
}
/* Keep purple hover from r2 */
.nav .nav__dropdown-menu a:hover,
.nav .nav__dropdown-menu a.is-active {
  background: var(--accent) !important;
  color: var(--white) !important;
}

/* =========================================================
   Form status (Formspree submit feedback)
   ========================================================= */
.form-status {
  margin-top: 14px;
  font-family: var(--ff);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink);
  min-height: 1.4em;
}
.form-status:empty { display: none; }
.form-status--error {
  color: #b00020;
}
.form-status--success {
  color: var(--accent, #6600FF);
  font-weight: 600;
}
.nlet--dark .form-status,
.section--dark .form-status,
.modal__form .form-status {
  color: rgba(255,255,255,0.85);
}
.nlet--dark .form-status--error,
.section--dark .form-status--error,
.modal__form .form-status--error {
  color: #ff8a8a;
}

/* === canonical CTA pill (round 2) === */
.cta .hilite-pill {
  display: inline-block;
  padding: 0.04em 0.16em 0.06em;
  border-radius: 0.12em;
  line-height: 0.92;
  margin: 0.06em 0.04em;
  vertical-align: baseline;
}

/* r3-fix-9: footer "Move People." purple highlight pill (dark footer) */
.footer__tag .hilite-pill {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  border-radius: 10px;
  padding: 0.18em 0.55em 0.22em;
  line-height: 1;
  font-weight: 600;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* =========================================================
   r4-fix-mobile-3: Collapsible "Who We Help" group in the mobile menu
   The 8 ICP links are hidden by default and revealed when the user taps
   the "Who We Help" toggle. This keeps Resources / About / Contact in
   easy reach without long scrolling. Animation respects prefers-reduced-motion.
   ========================================================= */
.nav__mobile-toggle {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  margin: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 24px 4px;
  cursor: pointer;
  color: var(--accent);
  font: inherit;
}
.nav__mobile-toggle .nav__mobile-label {
  padding: 0;
  color: var(--accent);
}
.nav__mobile-toggle-chev {
  display: inline-block;
  flex: 0 0 auto;
  transition: transform 220ms var(--ease, ease);
  color: var(--white-72, rgba(255,255,255,0.72));
}
.nav__mobile-toggle[aria-expanded="true"] .nav__mobile-toggle-chev {
  transform: rotate(180deg);
}

.nav__mobile-icps {
  display: flex;
  flex-direction: column;
  /* Padding/spacing inside the group */
  padding: 4px 0 0;
}
.nav__mobile-icps[hidden] { display: none; }

/* keep the same look-and-feel for ICP links inside the new wrapper */
.nav .nav__mobile-icps a {
  padding: 8px 32px !important;
  font-size: 16px !important;
}

@media (prefers-reduced-motion: reduce) {
  .nav__mobile-toggle-chev { transition: none; }
}


/* =========================================================
   r4-fix-mobile-3 (revised): Collapsible "Who We Help" group in the mobile menu.
   The toggle row now matches the same visual weight as Home/Topics/Services/etc:
   white, 28px Futura, 700, uppercase, 0.04em letter-spacing. ICP links inside the
   panel keep their smaller 16px treatment as before.
   ========================================================= */
.nav__mobile-toggle {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  margin: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0;             /* match the line-rhythm of the sibling <a> items */
  cursor: pointer;
  color: var(--white);
  font: inherit;
  text-align: left;
}
.nav__mobile-toggle .nav__mobile-label {
  /* match the other top-level mobile menu items exactly */
  display: inline-block;
  padding: 0;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}
.nav__mobile-toggle:hover .nav__mobile-label,
.nav__mobile-toggle:focus-visible .nav__mobile-label { color: var(--accent); }

.nav__mobile-toggle-chev {
  display: inline-block;
  flex: 0 0 auto;
  width: 14px;
  height: 9px;
  transition: transform 220ms var(--ease, ease);
  color: var(--white-72, rgba(255,255,255,0.72));
}
.nav__mobile-toggle[aria-expanded="true"] .nav__mobile-toggle-chev {
  transform: rotate(180deg);
}

.nav__mobile-icps {
  display: flex;
  flex-direction: column;
  padding: 4px 0 0;
  margin-top: 4px;
}
.nav__mobile-icps[hidden] { display: none; }

/* keep the ICP child links small + indented (unchanged from prior revision) */
.nav .nav__mobile-icps a {
  padding: 8px 32px !important;
  font-size: 16px !important;
}

/* and remove the prior border-rules that styled the group like a divider block */
.nav .nav__mobile-group {
  border-top: 0;
  border-bottom: 0;
  padding: 0;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .nav__mobile-toggle-chev { transition: none; }
}


/* Disable hover-color flash on touch devices and when expanded */
@media (hover: none) {
  .nav__mobile-toggle:hover .nav__mobile-label,
  .nav__mobile-toggle:focus-visible .nav__mobile-label { color: var(--white); }
}
.nav__mobile-toggle[aria-expanded="true"] .nav__mobile-label,
.nav__mobile-toggle[aria-expanded="true"]:hover .nav__mobile-label {
  color: var(--white);
}
