/* ==========================================================================
   THE PROFESSIONAL ADVOCATES — DESIGN SYSTEM
   Parent brand: deep purple + gold, derived from the client logo suite.
   Type: Newsreader (editorial display) + Inter (UI / body)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand — sampled from the client logo files */
  --purple-950: #180829;
  --purple-900: #24103C;
  --purple-800: #34174F;
  --purple-700: #431970;   /* core logo purple */
  --purple-600: #56258A;
  --purple-500: #6B3AA3;
  --purple-200: #D9CCE8;
  --purple-100: #EDE6F4;
  --purple-050: #F7F3FA;

  --gold-700: #7A5A22;     /* AA-safe gold for text on light */
  --gold-600: #93701F;
  --gold-500: #B08A3C;
  --gold-400: #C9A15A;     /* core logo gold */
  --gold-300: #E0C88C;
  --gold-100: #F5EBD6;

  /* Neutrals */
  --cream: #FBF8F3;
  --paper: #FFFFFF;
  --bg: #FAF8F6;
  --bg-alt: #F4F1EC;

  /* Semantic */
  --color-primary: var(--purple-700);
  --color-on-primary: #FFFFFF;
  --color-accent: var(--gold-400);
  --color-accent-ink: var(--gold-700);
  --color-surface: var(--paper);
  --color-background: var(--bg);
  --color-text: #1F1329;
  --color-text-muted: #5C5169;
  --color-text-inverse: #F6F1FA;
  --color-text-inverse-muted: #C8BAD6;
  --color-border: #E6DFEB;
  --color-border-strong: #D2C6DC;
  --color-border-inverse: rgba(255, 255, 255, .16);
  --color-ring: #7A45B8;
  --color-success: #1E6B4D;
  --color-danger: #A8262B;

  /* Division accents — all within the parent family */
  --div-advocacy: var(--purple-700);
  --div-behavioral: #3E5A7A;
  --div-financial: var(--purple-600);
  --div-pathways: var(--gold-600);
  --div-development: #6A3F72;

  /* Type */
  --font-display: 'Newsreader', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --fs-eyebrow: .75rem;
  --fs-caption: .8125rem;
  --fs-small: .9375rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, .95rem + .55vw, 1.375rem);
  --fs-h4: clamp(1.125rem, 1.02rem + .35vw, 1.3125rem);
  --fs-h3: clamp(1.375rem, 1.18rem + .7vw, 1.75rem);
  --fs-h2: clamp(1.875rem, 1.4rem + 1.9vw, 3rem);
  --fs-h1: clamp(2.375rem, 1.55rem + 3.3vw, 4.125rem);

  --lh-tight: 1.08;
  --lh-snug: 1.22;
  --lh-body: 1.65;

  /* Space — 4/8 rhythm */
  --sp-1: .25rem;  --sp-2: .5rem;   --sp-3: .75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 2.5rem;  --sp-8: 3rem;
  --sp-9: 4rem;    --sp-10: 5rem;   --sp-11: 6.5rem; --sp-12: 8rem;

  --section-y: clamp(3.5rem, 2rem + 6vw, 7.5rem);

  /* Layout */
  --container: 1220px;
  --container-narrow: 760px;
  --gutter: clamp(1.25rem, .6rem + 2.6vw, 3rem);

  /* Shape + depth */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-1: 0 1px 2px rgba(36, 16, 60, .05), 0 2px 6px rgba(36, 16, 60, .04);
  --shadow-2: 0 4px 12px rgba(36, 16, 60, .07), 0 12px 32px rgba(36, 16, 60, .07);
  --shadow-3: 0 12px 28px rgba(36, 16, 60, .1), 0 32px 64px rgba(36, 16, 60, .12);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur-fast: 160ms;
  --dur: 260ms;
  --dur-slow: 620ms;

  /* Z-scale */
  --z-base: 1; --z-sticky: 40; --z-header: 60; --z-menu: 70; --z-overlay: 90;
}

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 7.5rem;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern', 'liga', 'cv11';
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
img { background: var(--bg-alt); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--lh-snug);
  letter-spacing: -.015em;
  color: var(--color-text);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: -.028em; }
h2 { font-size: var(--fs-h2); letter-spacing: -.022em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { text-wrap: pretty; }

a { color: var(--color-primary); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--purple-600); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--color-ring);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection { background: var(--purple-200); color: var(--purple-900); }

.skip-link {
  position: absolute; left: var(--sp-4); top: -100px;
  z-index: 999; padding: .75rem 1.25rem;
  background: var(--purple-800); color: #fff;
  border-radius: var(--radius); font-weight: 600; font-size: var(--fs-small);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--sp-4); color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: 1400px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.section--cream { background: var(--cream); }
.section--alt { background: var(--bg-alt); }
.section--ink { background: var(--purple-950); color: var(--color-text-inverse); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink p { color: var(--color-text-inverse-muted); }

.grid { display: grid; gap: var(--sp-6); }
.stack > * + * { margin-top: var(--sp-4); }

/* Section heading block */
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: var(--sp-4); font-size: var(--fs-lead); color: var(--color-text-muted); line-height: 1.55; }
.section--ink .section-head p { color: var(--color-text-inverse-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .625rem;
  font-family: var(--font-sans); font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--color-accent-ink); margin-bottom: var(--sp-4);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold-400); flex: none; }
.eyebrow--center { justify-content: center; }
.section--ink .eyebrow { color: var(--gold-300); }

.rule { height: 1px; background: var(--color-border); border: 0; }
.rule--gold { background: linear-gradient(90deg, var(--gold-400), rgba(201,161,90,0)); height: 2px; width: 72px; border: 0; }

/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8125rem 1.625rem;
  font-family: var(--font-sans); font-size: var(--fs-small); font-weight: 600;
  letter-spacing: .01em; line-height: 1.2; text-align: center; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--purple-700); color: #fff; box-shadow: var(--shadow-1); }
.btn--primary:hover { background: var(--purple-600); color: #fff; box-shadow: var(--shadow-2); }

.btn--gold { background: var(--gold-400); color: var(--purple-950); }
.btn--gold:hover { background: var(--gold-300); color: var(--purple-950); }

.btn--outline { background: transparent; color: var(--purple-700); border-color: var(--color-border-strong); }
.btn--outline:hover { background: var(--purple-050); border-color: var(--purple-700); color: var(--purple-700); }

.btn--ghost-inverse { background: transparent; color: #fff; border-color: var(--color-border-inverse); }
.btn--ghost-inverse:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); }

.btn--sm { min-height: 40px; padding: .5rem 1rem; font-size: var(--fs-caption); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* Text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: var(--fs-small); text-decoration: none;
  color: var(--purple-700); padding-block: .25rem;
}
.link-arrow span.arrow { transition: transform var(--dur) var(--ease); }
.link-arrow:hover span.arrow { transform: translateX(4px); }
.link-arrow::after { content: ''; }
.section--ink .link-arrow { color: var(--gold-300); }

/* --------------------------------------------------------------------------
   5. BADGES
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: .4375rem;
  padding: .3125rem .6875rem;
  font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 999px; border: 1px solid; white-space: nowrap;
}
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.badge--soon { color: #6A4E12; background: var(--gold-100); border-color: #E3D1A6; }
.badge--referrals { color: #135240; background: #E2F1EA; border-color: #B6DCCB; }
.badge--active { color: var(--purple-700); background: var(--purple-100); border-color: var(--purple-200); }

/* --------------------------------------------------------------------------
   6. HEADER + NAVIGATION
   -------------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
@supports (backdrop-filter: blur(12px)) {
  .header { backdrop-filter: blur(14px) saturate(1.4); background: rgba(255,255,255,.86); }
}
.header.is-stuck { box-shadow: 0 1px 0 var(--color-border), var(--shadow-1); }

.header__bar { display: flex; align-items: center; gap: var(--sp-5); min-height: 84px; }
@media (min-width: 1024px) { .header__bar { min-height: 94px; } }

.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; flex: none; margin-right: auto; }
.brand img { height: 50px; width: auto; background: transparent; }
@media (min-width: 1024px) { .brand img { height: 64px; } }
.brand__text { display: none; }

.nav { display: none; }
.header__cta { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: .125rem; }
  .header__cta { display: inline-flex; flex: none; }
}

.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .375rem;
  padding: .625rem .8125rem; border-radius: var(--radius-sm);
  font-size: .9375rem; font-weight: 500; color: var(--color-text); text-decoration: none;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav__link:hover { color: var(--purple-700); background: var(--purple-050); }
.nav__link[aria-current="page"] { color: var(--purple-700); font-weight: 600; }
.nav__link[aria-current="page"]::after {
  content: ''; position: absolute; left: .8125rem; right: .8125rem; bottom: .125rem;
  height: 2px; background: var(--gold-400); border-radius: 2px;
}
.nav__chev { width: 10px; height: 10px; transition: transform var(--dur) var(--ease); opacity: .55; }
.nav__item[data-open="true"] .nav__chev { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  min-width: 480px; padding: var(--sp-4);
  background: var(--paper); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-3);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  z-index: var(--z-menu);
}
.nav__item[data-open="true"] .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega--wide { min-width: 620px; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
.mega__link {
  display: block; padding: .75rem .875rem; border-radius: var(--radius);
  text-decoration: none; color: var(--color-text);
  transition: background-color var(--dur) var(--ease);
}
.mega__link:hover { background: var(--purple-050); color: var(--color-text); }
.mega__link strong {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  font-family: var(--font-sans); font-size: .9375rem; font-weight: 600; color: var(--purple-800);
}
.mega__link span { display: block; margin-top: .1875rem; font-size: var(--fs-caption); color: var(--color-text-muted); line-height: 1.45; }
.mega__foot {
  margin-top: var(--sp-3); padding: .875rem;
  border-top: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  font-size: var(--fs-caption); color: var(--color-text-muted);
}

/* Mobile nav */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-right: -.5rem;
  background: transparent; border: 1px solid var(--color-border); border-radius: var(--radius);
  cursor: pointer; color: var(--color-text);
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle__box { position: relative; width: 20px; height: 14px; }
.nav-toggle__box i {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav-toggle__box i:nth-child(1) { top: 0; }
.nav-toggle__box i:nth-child(2) { top: 6.25px; }
.nav-toggle__box i:nth-child(3) { bottom: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(6.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6.25px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; top: 0; z-index: var(--z-overlay);
  display: flex; flex-direction: column;
  background: var(--purple-950); color: #fff;
  transform: translateY(-100%); visibility: hidden;
  transition: transform var(--dur-slow) var(--ease-out), visibility var(--dur-slow);
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-nav[data-open="true"] { transform: translateY(0); visibility: visible; }
@media (min-width: 1024px) { .mobile-nav { display: none; } }

.mobile-nav__head {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 84px; padding-inline: var(--gutter);
  border-bottom: 1px solid var(--color-border-inverse); flex: none;
}
.mobile-nav__head .brand {
  background: var(--paper); padding: .4375rem .75rem; border-radius: var(--radius);
}
.mobile-nav__head .brand img { height: 40px; }
.mobile-nav__close {
  width: 48px; height: 48px; margin-right: -.5rem; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--color-border-inverse);
  border-radius: var(--radius); color: #fff; cursor: pointer;
}
.mobile-nav__body { padding: var(--sp-5) var(--gutter) var(--sp-9); flex: 1; }

.m-group + .m-group { margin-top: var(--sp-6); }
.m-group__label {
  font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-300); margin-bottom: var(--sp-3);
}
.m-link {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  min-height: 56px; padding: .875rem 0;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em;
  color: #fff; text-decoration: none;
  border-bottom: 1px solid var(--color-border-inverse);
}
.m-link:hover, .m-link:active { color: var(--gold-300); }
.m-link small { font-family: var(--font-sans); font-size: var(--fs-caption); font-weight: 500; color: var(--color-text-inverse-muted); letter-spacing: 0; }
.m-sub {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  min-height: 52px; padding: .75rem 0;
  font-size: var(--fs-small); font-weight: 500; color: var(--color-text-inverse-muted); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.m-sub:hover { color: #fff; }
.mobile-nav__actions { margin-top: var(--sp-7); display: grid; gap: var(--sp-3); }
.mobile-nav__contact { margin-top: var(--sp-7); font-size: var(--fs-small); color: var(--color-text-inverse-muted); }
.mobile-nav__contact a { color: var(--gold-300); text-decoration: none; display: inline-block; padding-block: .25rem; }

body.is-locked { overflow: hidden; }

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--cream); overflow: hidden; padding-block: clamp(2.5rem, 1rem + 5vw, 5rem) 0; }
.hero::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 62%;
  background: linear-gradient(180deg, var(--purple-050), rgba(247,243,250,0));
  pointer-events: none;
}
.hero__inner { position: relative; }
.hero__lede { display: grid; gap: var(--sp-6); align-items: end; }
@media (min-width: 960px) {
  .hero__lede { grid-template-columns: minmax(0, 6.6fr) minmax(0, 5fr); gap: clamp(2rem, 1rem + 3vw, 4rem); }
}
.hero h1 { margin-bottom: 0; }
.hero h1 em {
  font-style: italic; font-weight: 400;
  color: var(--purple-700);
}
.hero__sub { font-size: var(--fs-lead); color: var(--color-text-muted); line-height: 1.55; max-width: 46ch; }
.hero__side { padding-bottom: .5rem; }
@media (min-width: 960px) { .hero__side { border-left: 2px solid var(--gold-400); padding-left: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); } }
.hero .btn-row { margin-top: var(--sp-6); }

.hero__figure {
  position: relative; margin-top: clamp(2.5rem, 1.5rem + 4vw, 4rem);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-3);
  border: 1px solid var(--color-border);
}
.hero__figure img { width: 100%; }

.hero__meta {
  margin-top: var(--sp-6); padding-top: var(--sp-5);
  border-top: 1px solid var(--color-border);
  display: grid; gap: var(--sp-5);
}
@media (min-width: 720px) { .hero__meta { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); } }
.hero__meta dt { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--color-accent-ink); margin-bottom: .375rem; }
.hero__meta dd { margin: 0; font-size: var(--fs-small); color: var(--color-text-muted); line-height: 1.55; }

/* Page hero (interior pages) */
.page-hero { background: var(--purple-950); color: #fff; padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem) clamp(3rem, 2rem + 4vw, 5rem); position: relative; overflow: hidden; }
.page-hero::after {
  content: ''; position: absolute; right: -12%; top: -35%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(107,58,163,.5), rgba(24,8,41,0) 68%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 46ch; }
.page-hero h1 { color: #fff; margin-bottom: var(--sp-5); }
.page-hero p { font-size: var(--fs-lead); color: var(--color-text-inverse-muted); line-height: 1.55; }
.page-hero .eyebrow { color: var(--gold-300); }

.breadcrumb { font-size: var(--fs-caption); color: var(--color-text-inverse-muted); margin-bottom: var(--sp-5); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.breadcrumb li::after { content: '/'; margin-left: .5rem; opacity: .45; }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb a { color: var(--color-text-inverse-muted); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--gold-300); }

/* --------------------------------------------------------------------------
   8. EDITORIAL BLOCKS
   -------------------------------------------------------------------------- */
.editorial { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
@media (min-width: 900px) { .editorial { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.editorial--reverse > :first-child { order: 2; }
@media (max-width: 899px) { .editorial--reverse > :first-child { order: 0; } }

.editorial__body p + p { margin-top: var(--sp-4); }
.editorial__body p { color: var(--color-text-muted); }
.editorial__body .lead { font-size: var(--fs-lead); color: var(--color-text); line-height: 1.55; }

.figure { position: relative; }
.figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.figure figcaption { margin-top: var(--sp-3); font-size: var(--fs-caption); color: var(--color-text-muted); }
.figure--framed img { border: 1px solid var(--color-border); }

/* Two-column definition list used in "Our approach" style blocks */
.deflist { display: grid; gap: var(--sp-5); margin-top: var(--sp-6); }
@media (min-width: 640px) { .deflist { grid-template-columns: 1fr 1fr; gap: var(--sp-6); } }
.deflist > div { padding-top: var(--sp-4); border-top: 2px solid var(--purple-100); }
.deflist dt { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 500; margin-bottom: .5rem; }
.deflist dd { margin: 0; font-size: var(--fs-small); color: var(--color-text-muted); line-height: 1.6; }

/* --------------------------------------------------------------------------
   9. DIVISION SYSTEM (editorial numbered rows)
   -------------------------------------------------------------------------- */
.divisions { border-top: 1px solid var(--color-border); }

.division {
  display: grid; gap: var(--sp-5);
  padding-block: clamp(2rem, 1.2rem + 3vw, 3.25rem);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}
@media (min-width: 900px) {
  .division { grid-template-columns: 3.5rem minmax(0, 0.9fr) minmax(0, 1.35fr); gap: var(--sp-6) var(--sp-7); align-items: start; }
}
.division::before {
  content: ''; position: absolute; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); top: 0; bottom: 0;
  background: var(--purple-050); opacity: 0; transition: opacity var(--dur) var(--ease); pointer-events: none; z-index: 0;
}
.division:hover::before { opacity: .7; }
.division > * { position: relative; z-index: 1; }

.division__num {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 500;
  color: var(--gold-500); letter-spacing: .04em; padding-top: .375rem;
}
.division__head { display: flex; flex-direction: column; gap: var(--sp-3); align-items: flex-start; }
.division__head .logo-card { margin-top: var(--sp-2); }
.division__title { font-size: var(--fs-h3); margin: 0; }
.division__title a { color: inherit; text-decoration: none; }
.division__title a:hover { color: var(--purple-700); }
.division__parent { font-size: var(--fs-caption); color: var(--color-text-muted); }
.division__body p { color: var(--color-text-muted); margin-bottom: var(--sp-4); }

.taglist { list-style: none; padding: 0; margin: 0 0 var(--sp-5); display: flex; flex-wrap: wrap; gap: .5rem; }
.taglist li {
  font-size: var(--fs-caption); color: var(--purple-800);
  padding: .3125rem .75rem; background: var(--paper);
  border: 1px solid var(--color-border); border-radius: 999px;
}

/* Division logo lockup card */
.logo-card {
  display: inline-flex; align-items: center; justify-content: center;
  padding: var(--sp-4) var(--sp-5); background: var(--paper);
  border: 1px solid var(--color-border); border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.logo-card img { max-height: 62px; width: auto; background: transparent; }
.logo-card--lg img { max-height: 86px; }

/* --------------------------------------------------------------------------
   10. CARDS
   -------------------------------------------------------------------------- */
.card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--color-border-strong); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.card:hover .card__media img { transform: scale(1.035); }
.card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.card__body h3 { font-size: var(--fs-h4); }
.card__body p { font-size: var(--fs-small); color: var(--color-text-muted); line-height: 1.6; }
.card__foot { margin-top: auto; padding-top: var(--sp-2); }

.cards { display: grid; gap: var(--sp-5); }
@media (min-width: 640px) { .cards--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }

/* Resource card (icon-led, no photo) */
.res-card {
  background: var(--paper); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--sp-5);
  display: flex; flex-direction: column; gap: var(--sp-3);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.res-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--purple-200); }
.res-card__icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: var(--radius); background: var(--purple-050);
  border: 1px solid var(--purple-100); color: var(--purple-700); flex: none;
}
.res-card__icon svg { width: 21px; height: 21px; }
.res-card h3 { font-size: var(--fs-h4); }
.res-card p { font-size: var(--fs-small); color: var(--color-text-muted); line-height: 1.6; }
.res-card ul { margin: 0; padding-left: 1.125rem; font-size: var(--fs-small); color: var(--color-text-muted); line-height: 1.7; }
.res-card .card__foot { margin-top: auto; }

/* --------------------------------------------------------------------------
   11. JOURNEY (Understand → Advocate → Connect → Empower → Transform)
   -------------------------------------------------------------------------- */
.journey { display: grid; gap: var(--sp-5); counter-reset: step; }
@media (min-width: 760px) { .journey { grid-template-columns: repeat(5, 1fr); gap: var(--sp-4); } }

.journey__step { position: relative; padding-top: var(--sp-6); }
.journey__step::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--purple-100);
}
.journey__step::after {
  content: ''; position: absolute; top: 0; left: 0; height: 2px; width: 0;
  background: var(--gold-400); transition: width 900ms var(--ease-out);
}
.journey__step.is-visible::after { width: 100%; }
.journey__step:nth-child(2)::after { transition-delay: 120ms; }
.journey__step:nth-child(3)::after { transition-delay: 240ms; }
.journey__step:nth-child(4)::after { transition-delay: 360ms; }
.journey__step:nth-child(5)::after { transition-delay: 480ms; }

.journey__n { display: block; font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .14em; color: var(--gold-600); margin-bottom: .5rem; }
.journey__step h3 { font-size: var(--fs-h4); margin-bottom: .5rem; }
.journey__step p { font-size: var(--fs-small); color: var(--color-text-muted); line-height: 1.6; }
.section--ink .journey__step::before { background: rgba(255,255,255,.16); }
.section--ink .journey__step p { color: var(--color-text-inverse-muted); }
.section--ink .journey__n { color: var(--gold-300); }

/* --------------------------------------------------------------------------
   12. FEATURE (Cornerstone editorial spotlights)
   -------------------------------------------------------------------------- */
.feature { position: relative; }
.feature + .feature { margin-top: clamp(3rem, 2rem + 4vw, 5.5rem); }
.feature__banner {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--color-border); box-shadow: var(--shadow-2);
  margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.feature__banner img { width: 100%; }
.feature__grid { display: grid; gap: var(--sp-6); align-items: start; }
@media (min-width: 900px) { .feature__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4rem); } }
.feature__body p { color: var(--color-text-muted); }
.feature__body p + p { margin-top: var(--sp-4); }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
@media (min-width: 560px) { .checklist--2 { grid-template-columns: 1fr 1fr; gap: .75rem var(--sp-5); } }
.checklist li { display: flex; gap: .625rem; font-size: var(--fs-small); color: var(--color-text-muted); line-height: 1.5; }
.checklist svg { width: 17px; height: 17px; flex: none; margin-top: .2em; color: var(--gold-500); }
.section--ink .checklist li { color: var(--color-text-inverse-muted); }
.section--ink .checklist svg { color: var(--gold-300); }

/* --------------------------------------------------------------------------
   13. STATEMENT / MISSION
   -------------------------------------------------------------------------- */
.statement { position: relative; overflow: hidden; background: var(--purple-950); color: #fff; }
.statement__bg { position: absolute; inset: 0; }
.statement__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.statement__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(24,8,41,.96) 32%, rgba(24,8,41,.66) 72%, rgba(24,8,41,.5));
}
.statement__inner { position: relative; z-index: 1; padding-block: clamp(4rem, 2.5rem + 7vw, 8rem); max-width: 40ch; }
.statement h2 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); }
.statement p { color: var(--color-text-inverse-muted); font-size: var(--fs-lead); line-height: 1.55; margin-top: var(--sp-5); }
.statement .eyebrow { color: var(--gold-300); }
.pillars { list-style: none; padding: 0; margin: var(--sp-7) 0 0; display: flex; flex-wrap: wrap; gap: .625rem; }
.pillars li {
  font-size: var(--fs-caption); font-weight: 500; letter-spacing: .04em;
  padding: .4375rem .875rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22); color: #fff; background: rgba(255,255,255,.06);
}

/* Pull quote */
.pullquote { border-left: 3px solid var(--gold-400); padding-left: var(--sp-5); }
.pullquote p {
  font-family: var(--font-display); font-size: var(--fs-h3); font-style: italic;
  font-weight: 400; line-height: 1.4; color: var(--color-text);
}
.pullquote cite { display: block; margin-top: var(--sp-4); font-style: normal; font-size: var(--fs-caption); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--color-accent-ink); }

/* --------------------------------------------------------------------------
   14. FOUNDER
   -------------------------------------------------------------------------- */
.founder { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
@media (min-width: 860px) { .founder { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); } }
.founder__portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(150deg, var(--purple-100), var(--gold-100));
  border: 1px solid var(--color-border);
  display: grid; place-items: center; text-align: center; padding: var(--sp-6);
}
.founder__portrait img { width: 100%; height: 100%; object-fit: cover; }
.founder__initials { font-family: var(--font-display); font-size: 4rem; color: var(--purple-700); line-height: 1; }

/* Editable content placeholder — clearly marked for the client */
.placeholder {
  border: 1px dashed var(--gold-500); border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, rgba(201,161,90,.05) 0 10px, rgba(201,161,90,.11) 10px 20px);
  padding: var(--sp-5); margin-top: var(--sp-5);
}
.placeholder__label {
  display: inline-flex; align-items: center; gap: .4375rem;
  font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-700); margin-bottom: var(--sp-3);
}
.placeholder__label svg { width: 14px; height: 14px; }
.placeholder p { font-size: var(--fs-small); color: var(--color-text-muted); line-height: 1.6; }
.placeholder p + p { margin-top: var(--sp-3); }

/* --------------------------------------------------------------------------
   15. FORMS
   -------------------------------------------------------------------------- */
.form-shell {
  background: var(--paper); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-1);
}
.form-grid { display: grid; gap: var(--sp-5); }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field--full { grid-column: 1 / -1; }

fieldset { border: 0; padding: 0; margin: 0; }
fieldset + fieldset { margin-top: var(--sp-7); padding-top: var(--sp-6); border-top: 1px solid var(--color-border); }
legend {
  font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 500;
  padding: 0; margin-bottom: var(--sp-2);
}
.fieldset-note { font-size: var(--fs-caption); color: var(--color-text-muted); margin-bottom: var(--sp-5); }

.field label, .field .label {
  display: block; font-size: var(--fs-small); font-weight: 600;
  color: var(--color-text); margin-bottom: .4375rem;
}
.req { color: var(--color-danger); margin-left: .1875rem; }
.hint { display: block; font-size: var(--fs-caption); font-weight: 400; color: var(--color-text-muted); margin-top: .25rem; line-height: 1.5; }

.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: .6875rem .875rem;
  font-family: inherit; font-size: var(--fs-body); color: var(--color-text);
  background: var(--paper); border: 1px solid var(--color-border-strong);
  border-radius: var(--radius); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%235C5169' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .875rem center; background-size: 12px;
  padding-right: 2.5rem;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--purple-500); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--purple-700);
  box-shadow: 0 0 0 3px rgba(107, 58, 163, .18);
}
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] {
  border-color: var(--color-danger); box-shadow: 0 0 0 3px rgba(168, 38, 43, .12);
}
.error-msg {
  display: none; align-items: center; gap: .375rem;
  margin-top: .375rem; font-size: var(--fs-caption); font-weight: 500; color: var(--color-danger);
}
.error-msg svg { width: 14px; height: 14px; flex: none; }
.error-msg.is-shown { display: flex; }

.choice-grid { display: grid; gap: .625rem; }
@media (min-width: 560px) { .choice-grid--2 { grid-template-columns: 1fr 1fr; } }
.choice {
  display: flex; align-items: flex-start; gap: .6875rem;
  min-height: 48px; padding: .75rem .875rem;
  border: 1px solid var(--color-border-strong); border-radius: var(--radius);
  cursor: pointer; font-size: var(--fs-small); line-height: 1.5;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.choice:hover { border-color: var(--purple-500); background: var(--purple-050); }
.choice input { margin-top: .1875rem; width: 18px; height: 18px; accent-color: var(--purple-700); flex: none; }
.choice:has(input:checked) { border-color: var(--purple-700); background: var(--purple-050); }
.choice:has(input:focus-visible) { outline: 3px solid var(--color-ring); outline-offset: 2px; }
.choice span { font-weight: 500; }
.choice small { display: block; font-weight: 400; color: var(--color-text-muted); font-size: var(--fs-caption); margin-top: .125rem; }

.consent { display: flex; gap: .6875rem; align-items: flex-start; font-size: var(--fs-small); line-height: 1.55; color: var(--color-text-muted); }
.consent input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--purple-700); flex: none; }

.form-status {
  display: none; align-items: flex-start; gap: .6875rem;
  padding: var(--sp-4); border-radius: var(--radius);
  font-size: var(--fs-small); line-height: 1.55; margin-bottom: var(--sp-5);
}
.form-status.is-shown { display: flex; }
.form-status--ok { background: #E9F4EF; border: 1px solid #B6DCCB; color: #10493A; }
.form-status--err { background: #FBECEC; border: 1px solid #EDC4C5; color: #7E1C20; }
.form-status svg { width: 18px; height: 18px; flex: none; margin-top: .1em; }

.form-actions { margin-top: var(--sp-7); display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; }
.form-actions .note { font-size: var(--fs-caption); color: var(--color-text-muted); }
.btn[data-loading="true"] { pointer-events: none; opacity: .72; }
.btn .spinner {
  width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff; border-radius: 50%; display: none;
  animation: spin .7s linear infinite;
}
.btn[data-loading="true"] .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   16. ACCORDION / FAQ
   -------------------------------------------------------------------------- */
.accordion { border-top: 1px solid var(--color-border); }
.accordion details { border-bottom: 1px solid var(--color-border); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  min-height: 60px; padding: var(--sp-4) 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 500;
  transition: color var(--dur) var(--ease);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--purple-700); }
.accordion summary .plus { position: relative; width: 16px; height: 16px; flex: none; }
.accordion summary .plus::before, .accordion summary .plus::after {
  content: ''; position: absolute; background: var(--gold-500); border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.accordion summary .plus::before { left: 0; top: 7px; width: 16px; height: 2px; }
.accordion summary .plus::after { left: 7px; top: 0; width: 2px; height: 16px; }
.accordion details[open] summary .plus::after { transform: rotate(90deg); opacity: 0; }
.accordion__panel { padding-bottom: var(--sp-5); max-width: 68ch; }
.accordion__panel p { font-size: var(--fs-small); color: var(--color-text-muted); line-height: 1.65; }
.accordion__panel p + p { margin-top: var(--sp-3); }

/* --------------------------------------------------------------------------
   17. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band { background: var(--purple-900); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: ''; position: absolute; left: -8%; bottom: -60%; width: 46%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(201,161,90,.24), rgba(24,8,41,0) 66%);
}
.cta-band__inner { position: relative; z-index: 1; padding-block: clamp(3rem, 2rem + 5vw, 6rem); text-align: center; max-width: 62ch; margin-inline: auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--color-text-inverse-muted); font-size: var(--fs-lead); line-height: 1.55; margin-top: var(--sp-4); }
.cta-band .btn-row { justify-content: center; margin-top: var(--sp-7); }
.cta-band .eyebrow { color: var(--gold-300); justify-content: center; }

/* --------------------------------------------------------------------------
   18. FOOTER
   -------------------------------------------------------------------------- */
.footer { background: var(--purple-950); color: var(--color-text-inverse-muted); padding-block: clamp(3rem, 2rem + 4vw, 5rem) var(--sp-6); font-size: var(--fs-small); }
.footer__top { display: grid; gap: var(--sp-8); padding-bottom: var(--sp-8); border-bottom: 1px solid var(--color-border-inverse); }
@media (min-width: 900px) { .footer__top { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: var(--sp-7); } }

.footer__brand-logo {
  display: inline-block; padding: .875rem 1.125rem; background: var(--paper);
  border-radius: var(--radius); margin-bottom: var(--sp-5);
}
.footer__brand-logo img { height: 54px; width: auto; }
.footer__tagline { color: var(--color-text-inverse-muted); line-height: 1.6; max-width: 40ch; }

.footer h2, .footer h3 { color: #fff; font-family: var(--font-sans); font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--sp-4); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .625rem; }
.footer a { color: var(--color-text-inverse-muted); text-decoration: none; transition: color var(--dur) var(--ease); }
.footer a:hover { color: var(--gold-300); text-decoration: underline; }
.footer address { font-style: normal; display: grid; gap: .625rem; }

.footer__bottom {
  padding-top: var(--sp-6); display: flex; flex-wrap: wrap; gap: var(--sp-4);
  align-items: center; justify-content: space-between; font-size: var(--fs-caption);
}
.footer__legal { max-width: 68ch; line-height: 1.6; opacity: .8; }
.footer__meta { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

/* --------------------------------------------------------------------------
   19. UTILITIES + MOTION
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.mt-8 { margin-top: var(--sp-8); }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--color-text-muted); }
.small { font-size: var(--fs-small); }
.caption { font-size: var(--fs-caption); color: var(--color-text-muted); }

.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
[data-stagger] > * { opacity: 0; transform: translateY(18px); }
[data-stagger].is-visible > * { opacity: 1; transform: none; transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out); }
[data-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: 70ms; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: 140ms; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: 210ms; }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: 280ms; }
[data-stagger].is-visible > *:nth-child(n+6) { transition-delay: 350ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .reveal, [data-stagger] > * { opacity: 1 !important; transform: none !important; }
  .journey__step::after { width: 100% !important; }
}

@media print {
  .header, .mobile-nav, .cta-band, .nav-toggle, .skip-link { display: none !important; }
  body { background: #fff; }
  a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: .75em; }
}

/* Designer credit — bottom of every page */
.footer__credit {
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--color-border-inverse);
  text-align: center;
}
.footer__credit p { font-size: var(--fs-caption); color: var(--color-text-inverse-muted); opacity: .82; }
.footer__credit a {
  color: var(--gold-300); font-weight: 600; text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.footer__credit a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
