/* ================================================================
   CRESTPOINT ADVISORS — DESIGN SYSTEM
   ================================================================
   Premium consulting-firm aesthetic. Editorial typography, sharp
   geometry, generous negative space, restrained motion.

   TABLE OF CONTENTS
   1.  Design Tokens
   2.  Reset & Base
   3.  Layout (container / grid / section spacing)
   4.  Header & Mega Menu
   5.  Hero Sections
   6.  Section Labels & Headings
   7.  Buttons
   8.  Cards
   9.  Content Components (feature row, process steps, testimonial,
       cta banner, logo bar, accordion, tags/badges)
   10. Service Page Layout
   11. Footer
   12. Utilities
   13. Animations
   14. Responsive Breakpoints
   15. Form Styles
   16. Breadcrumbs
   17. Legacy Selector Bridge (temporary — see note at section start)
   ================================================================ */

/* Self-contained web font load. For best performance, prefer adding
   <link rel="preconnect"> + <link rel="stylesheet"> tags to the
   <head> of each page instead and deleting this @import. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* --- Custom display fonts for headline comparison --- */
@font-face {
  font-family: 'Avant Garde';
  src: url('/fonts/ITCAvantGardeStd-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avant Garde';
  src: url('/fonts/ITCAvantGardeStd-Demi.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avant Garde';
  src: url('/fonts/ITCAvantGardeStd-Md.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avant Garde';
  src: url('/fonts/ITCAvantGardeStd-Bk.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Haas';
  src: url('/fonts/NeueHaasDisplay-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Neue Haas';
  src: url('/fonts/NeueHaasDisplay-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Neue Haas';
  src: url('/fonts/NeueHaasDisplay-Roman.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Neue Haas';
  src: url('/fonts/NeueHaasDisplay-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* --- Avenir Next body font options --- */
@font-face {
  font-family: 'Avenir Next';
  src: url('/fonts/AvenirNextCyr-Heavy.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir Next';
  src: url('/fonts/AvenirNextCyr-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir Next';
  src: url('/fonts/AvenirNextCyr-Demi.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir Next';
  src: url('/fonts/AvenirNextCyr-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir Next';
  src: url('/fonts/AvenirNextCyr-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir Next';
  src: url('/fonts/AvenirNextCyr-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* --- Avenir (classic) body font — full weight range --- */
@font-face {
  font-family: 'Avenir';
  src: url('/fonts/Avenir Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir';
  src: url('/fonts/Avenir Book.ttf') format('truetype');
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir';
  src: url('/fonts/Avenir Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir';
  src: url('/fonts/Avenir Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir';
  src: url('/fonts/Avenir Medium.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir';
  src: url('/fonts/Avenir Heavy.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir';
  src: url('/fonts/Avenir Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


/* ================================================================
   1. DESIGN TOKENS
   ================================================================ */
:root {

  /* --- Color: brand --- */
  --navy:          #0B1A2E;
  --navy-light:    #132847;
  --navy-medium:   #1C3556;
  --gold:          #C9A54E;
  --gold-light:    #D4B76A;
  --gold-dark:     #B08D3A;

  /* --- Color: neutrals --- */
  --white:         #FFFFFF;
  --off-white:     #F8F9FA;
  --gray-50:       #F7F8F9;
  --gray-100:      #F0F2F5;
  --gray-200:      #E2E8F0;
  --gray-300:      #CBD5E0;
  --gray-400:      #A0AEC0;
  --gray-500:      #718096;
  --gray-600:      #4A5568;
  --gray-700:      #2D3748;

  /* --- Color: text --- */
  --text:          #1A1A2E;
  --text-light:    #4A5568;
  --text-lighter:  #718096;

  /* --- Color: system --- */
  --success:       #1E7A4C;
  --success-bg:    #EAF5EE;
  --error:         #B3261E;
  --error-bg:      #FCEAEA;
  --border-color:  var(--gray-200);

  /* --- Color: overlays (for image heroes) --- */
  --overlay-soft:    rgba(11, 26, 46, .55);
  --overlay-strong:  rgba(11, 26, 46, .85);

  /* --- Typography: family --- */
  --font-heading: 'Neue Haas', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body:    'Avenir', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-primary: var(--font-body);

  /* --- Typography: fluid scale (clamp: min, preferred, max) --- */
  --fs-h1:     clamp(2.75rem, 2.05rem + 3vw, 4.5rem);     /* ~44px  → 72px  */
  --fs-h2:     clamp(2rem, 1.6rem + 1.8vw, 3rem);         /* ~32px  → 48px  */
  --fs-h3:     clamp(1.375rem, 1.25rem + 0.5vw, 1.75rem); /* ~22px  → 28px  */
  --fs-h4:     clamp(1.125rem, 1.05rem + 0.3vw, 1.375rem);/* ~18px  → 22px  */
  --fs-lead:   clamp(1.0625rem, 1rem + 0.25vw, 1.125rem); /* 17px   → 18px  */
  --fs-body:   1rem;                                       /* 16px */
  --fs-small:  0.875rem;                                   /* 14px */
  --fs-label:  0.8125rem;                                  /* 13px */
  --fs-nav:    0.9375rem;                                  /* 15px */

  /* --- Typography: weight / line-height / tracking --- */
  --fw-regular:   400;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;

  --lh-tight:    1.15;
  --lh-heading:  1.2;
  --lh-body:     1.7;
  --lh-normal:   1.5;

  --ls-tight:    0.01em;   /* hero / display — Neue Haas needs air */
  --ls-heading:  0.005em;  /* h2 / h3 */
  --ls-normal:   0em;
  --ls-label:    0.1em;    /* uppercase labels */

  /* --- Spacing scale --- */
  --space-1:   0.25rem;  /*  4px */
  --space-2:   0.5rem;   /*  8px */
  --space-3:   0.75rem;  /* 12px */
  --space-4:   1rem;     /* 16px */
  --space-5:   1.25rem;  /* 20px */
  --space-6:   1.5rem;   /* 24px */
  --space-8:   2rem;     /* 32px */
  --space-10:  2.5rem;   /* 40px */
  --space-12:  3rem;     /* 48px */
  --space-16:  4rem;     /* 64px */
  --space-20:  5rem;     /* 80px */
  --space-24:  6rem;     /* 96px */
  --space-30:  7.5rem;   /* 120px */

  /* --- Layout --- */
  --container-max:         1280px;
  --container-narrow-max:  800px;
  --container-wide-max:    1440px;
  --container-pad:         2.5rem;  /* 40px, becomes 20px on mobile — see §14 */
  --section-py:            7.5rem;  /* 120px, becomes 80px on mobile — see §14 */
  --section-py-sm:         5rem;    /* 80px — compact sections */
  --grid-gap:              2.5rem;  /* 40px, reduced on tablet/mobile — see §14 */

  /* --- Radius (kept small/sharp — no soft, bubbly corners) --- */
  --radius-xs:    2px;
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    16px;
  --radius-full:  999px;

  /* --- Shadow (subtle, navy-tinted — never dramatic) --- */
  --shadow-sm:     0 1px 3px rgba(11, 26, 46, .06);
  --shadow-md:     0 8px 24px rgba(11, 26, 46, .08);
  --shadow-lg:     0 16px 48px rgba(11, 26, 46, .12);
  --shadow-focus:  0 0 0 3px rgba(201, 165, 78, .35);

  /* --- Motion --- */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   450ms cubic-bezier(.16, 1, .3, 1);
  --ease-out:          cubic-bezier(.16, 1, .3, 1);

  /* --- Header --- */
  --header-h:           5.5rem;   /* 88px */
  --header-h-scrolled:  4.75rem;  /* 76px */

  /* --- Z-index scale --- */
  --z-header:      1000;
  --z-mega:        990;
  --z-mobile-nav:  1100;
  --z-modal:       1200;
}

/* Breakpoint reference (used throughout via max-width media queries):
   Desktop  : 1280px and up (default / unqueried styles)
   Tablet   : 768px – 1279px
   Mobile   : below 768px                                            */


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
video,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
  word-spacing: 0.04em;
  /* No color set here on purpose: headings inherit from their
     container (body sets --text; dark sections like .hero-home /
     .cta-banner set --white) so color-on-dark-backgrounds "just
     works" everywhere without per-component overrides. */
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

strong, b { font-weight: var(--fw-semibold); }

/* Accessible focus state, styled to feel intentional rather than a
   default browser outline. Mouse clicks don't trigger it. */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--gold);
  color: var(--navy);
}

/* Respect reduced-motion preference across the whole system */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ================================================================
   3. LAYOUT
   ================================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* Section vertical rhythm */
.section {
  padding-block: var(--section-py);
}

.section-sm {
  padding-block: var(--section-py-sm);
}

.section-lg {
  padding-block: calc(var(--section-py) * 1.35);
}

.section-top-0  { padding-top: 0; }
.section-bottom-0 { padding-bottom: 0; }

/* Background-bearing sections get sensible default text color */
.bg-navy, .bg-off-white, .bg-white, .bg-gray { transition: background-color var(--transition-base); }

/* --- Grid --- */
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: var(--grid-gap);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.grid-align-center { align-items: center; }
.grid-align-start   { align-items: start; }

@media (max-width: 1279px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}


/* ================================================================
   4. HEADER & MEGA MENU
   ================================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-header);
  transition: background-color var(--transition-slow), box-shadow var(--transition-slow), height var(--transition-slow);
}

.header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  transition: height var(--transition-slow);
}

/* --- States --- */
.header--transparent {
  background: transparent;
  box-shadow: none;
}

.header--transparent .logo,
.header--transparent .nav a,
.header--transparent .nav-link,
.header--transparent .nav-desktop .nav-link,
.header--transparent .menu-toggle span {
  color: var(--white);
}
.header--transparent .menu-toggle span { background: var(--white); }

.header--scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.header--scrolled > .container { height: var(--header-h-scrolled); }

.header--scrolled .logo,
.header--scrolled .nav a,
.header--scrolled .nav-link,
.header--scrolled .nav-desktop .nav-link {
  color: var(--navy);
}
.header--scrolled .menu-toggle span { background: var(--navy); }

/* --- Logo --- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.01em;
  color: var(--white);
  flex-shrink: 0;
}

.logo svg { width: 32px; height: 32px; }
.logo img.logo-icon { width: 36px; height: 36px; object-fit: contain; }

/* Logo icon toggle: white on dark hero, gold when scrolled/solid */
.logo-icon--gold { display: none; }
.header--scrolled .logo-icon--white,
.header--solid .logo-icon--white { display: none; }
.header--scrolled .logo-icon--gold,
.header--solid .logo-icon--gold { display: inline; }

/* --- Desktop navigation bar --- */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

/* --- Header CTA button --- */
.header-cta {
  margin-left: var(--space-6);
  white-space: nowrap;
  padding: 0.625rem 1.5rem;
  font-size: var(--fs-small);
}

/* --- Nav wrapper (legacy / mobile overlay) --- */
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-10);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav a {
  position: relative;
  font-size: var(--fs-nav);
  font-weight: var(--fw-medium);
  padding-block: var(--space-2);
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: currentColor;
  transition: width var(--transition-base);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  width: 100%;
}

/* Item that owns a mega menu */
.nav-item {
  position: static;
}

.nav-item > a,
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  font-size: var(--fs-nav);
  font-weight: var(--fw-medium);
  padding-block: var(--space-2);
}

.nav-item .chevron {
  width: 10px;
  height: 10px;
  transition: transform var(--transition-base);
}

.nav-item:hover .chevron,
.nav-item.active .chevron,
.nav-item.is-open .chevron {
  transform: rotate(180deg);
}

/* Nav chevron (SVG arrows used in header.php) */
.nav-chevron {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.nav-item:hover > .nav-link .nav-chevron,
.nav-item.is-open > .nav-link .nav-chevron,
.mobile-nav-section.is-open .mobile-nav-toggle .nav-chevron {
  transform: rotate(180deg);
}

/* --- Mega menu --- */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: auto;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  z-index: var(--z-mega);
}

/* Invisible hover bridge — fills the gap between the nav button and
   the dropdown panel so the mouse doesn't leave .nav-item's subtree
   while traveling downward to the menu links. */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 16px;
}

/* .is-open is the authoritative state (set by main.js on hover-in,
   click-toggle, and keyboard interaction, incl. its delayed close).
   :hover / :focus-within remain as a no-JS progressive-enhancement
   fallback only. */
.nav-item.is-open > .mega-menu,
.nav-item.active > .mega-menu,
.nav-item:hover > .mega-menu,
.nav-item:focus-within > .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu[aria-hidden="true"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
}

.mega-menu-panel {
  max-width: var(--container-wide-max);
  margin-inline: auto;
  padding: var(--space-6) var(--space-8);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
}

/* Inner structure classes (match header.php markup) */
.mega-menu-inner {
  padding: var(--space-6) var(--space-8);
}

.mega-menu-heading {
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--text-lighter);
  margin-bottom: var(--space-3);
}
.mega-menu-heading-spaced {
  margin-top: var(--space-5);
}

/* Multi-column mega-menu layout */
.mega-menu-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
}
/* Solutions: left column + right section with 2-col sub-grid */
.mega-menu-cols-solutions {
  grid-template-columns: 320px 1fr;
  align-items: start;
  gap: var(--space-8);
  min-width: 860px;
}
.mega-menu-cols-solutions .mega-menu-section {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
}
.mega-menu-section-divided {
  border-left: 1px solid var(--gray-200);
  padding-left: var(--space-8);
}
.mega-menu-grid-2col {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(7, auto);
  grid-auto-flow: column;
  column-gap: var(--space-6);
  row-gap: 0;
}
.mega-menu-grid-2col-5 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  column-gap: var(--space-3);
  row-gap: 0;
}
#mega-what-we-do .mega-menu-cols {
  min-width: 900px;
  gap: var(--space-3);
}
#mega-what-we-do .mega-menu-section-divided {
  padding-left: var(--space-4);
}
.mega-menu-learn-more .mega-menu-item-title {
  color: var(--gold-dark);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  padding-top: var(--space-1);
}
.mega-menu-learn-more:hover .mega-menu-item-title {
  color: var(--gold);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
}

.mega-menu-grid-single {
  grid-template-columns: 1fr;
}

.mega-menu-column-title {
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--text-lighter);
  margin-bottom: var(--space-4);
}

.mega-menu-item {
  display: block;
  padding-block: 6px;
  color: var(--text);
  font-size: 0.9rem;
  transition: color var(--transition-base), transform var(--transition-base);
}

.mega-menu-item:hover {
  color: var(--gold-dark);
  transform: translateX(4px);
}

.mega-menu-item-title {
  display: block;
  font-weight: var(--fw-medium);
  color: var(--text);
}

.mega-menu-item-desc {
  display: block;
  font-size: var(--fs-small);
  color: var(--text-lighter);
  margin-top: 2px;
}

/* --- Mobile menu toggle (hamburger) --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  z-index: calc(var(--z-mobile-nav) + 1);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  transition: transform var(--transition-base), opacity var(--transition-base), background-color var(--transition-base);
}

.menu-toggle.is-open span:nth-child(1),
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2),
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3),
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* When the mobile overlay is open, toggle bars are always white
   regardless of header state, since they sit over a navy overlay. */
.menu-toggle.is-open span,
.menu-toggle.active span { background: var(--white) !important; }

/* Prevents background scroll while the mobile drawer is open
   (main.js toggles this class on <body>) */
body.no-scroll {
  overflow: hidden;
}

/* --- Mobile nav drawer (#mobileNav) ---
   Full-screen overlay, independent of the desktop .nav-wrapper.
   Styled here so it works whether the eventual markup adds a
   matching .mobile-nav class or relies on the #mobileNav id alone. */
#mobileNav,
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: var(--z-mobile-nav);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-10);
  background: var(--navy);
  color: var(--white);
  padding: calc(var(--header-h) + var(--space-8)) var(--container-pad) var(--space-10);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity var(--transition-slow), transform var(--transition-slow), visibility var(--transition-slow);
}

#mobileNav.is-open,
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#mobileNav a,
.mobile-nav a {
  color: var(--white);
}

#mobileNav .nav,
.mobile-nav .nav {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-6);
  width: 100%;
}

#mobileNav .nav a,
.mobile-nav .nav a {
  font-size: 1.5rem;
}

#mobileNav .btn,
.mobile-nav .btn {
  width: 100%;
}

/* Accordion-style trigger for grouped links inside the mobile drawer.
   Pairs with a sibling .accordion-panel (see §9) for the reveal — the
   grid-rows technique keys off aria-expanded, so no extra JS needed
   beyond what main.js already sets. */
.mobile-nav-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  font-size: 1.25rem;
  font-weight: var(--fw-medium);
  color: var(--white);
}

.mobile-nav-toggle .accordion-icon::before,
.mobile-nav-toggle .accordion-icon::after {
  background: var(--white);
}

.mobile-nav-toggle[aria-expanded="true"] .accordion-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] + .accordion-panel,
.mobile-nav-toggle[aria-expanded="true"] + .mega-menu {
  grid-template-rows: 1fr;
}

#mobileNav .accordion-panel,
.mobile-nav .accordion-panel {
  width: 100%;
}

/* Mobile nav panel (accordion content in header.php) */
.mobile-nav-panel {
  display: none;
  padding-left: var(--space-4);
  padding-block: var(--space-3);
}

.mobile-nav-section.is-open .mobile-nav-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.mobile-nav-panel a {
  display: block;
  padding: var(--space-2) 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, .85);
}

.mobile-nav-label {
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: rgba(255, 255, 255, .45);
  margin-top: var(--space-4);
  margin-bottom: 0;
  padding: 0;
}

.mobile-nav-panel a:hover {
  color: var(--white);
}

.mobile-nav-link {
  display: block;
  padding-block: var(--space-4);
  font-size: 1.25rem;
  font-weight: var(--fw-medium);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.mobile-nav-cta {
  margin-top: var(--space-6);
  width: 100%;
}

#mobileNav .mega-menu {
  position: static;
  width: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-slow);
}

#mobileNav .mega-menu-panel {
  padding: var(--space-4) 0 var(--space-2);
  grid-template-columns: 1fr;
  gap: var(--space-6);
  overflow: hidden;
}

#mobileNav .mega-menu-column-title,
#mobileNav .mega-menu-item-title,
#mobileNav .mega-menu-item {
  color: rgba(255, 255, 255, .85);
}
#mobileNav .mega-menu-item-desc { color: rgba(255, 255, 255, .5); }


/* ================================================================
   5. HERO SECTIONS
   ================================================================ */
.hero-home,
.hero-page,
.hero-minimal,
.service-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero-home {
  min-height: 65vh;
  min-height: 65svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + var(--space-12)) var(--space-16);
}

.hero-page {
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding-block: calc(var(--header-h) + var(--space-16)) var(--space-16);
}

.hero-minimal {
  padding-block: calc(var(--header-h) + var(--space-10)) var(--space-10);
}

.hero-home > .container,
.hero-page > .container,
.hero-minimal > .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Optional image/video background with legibility overlay */
.hero-bg-image,
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image img,
.hero-bg-image video,
.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-image::after,
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--overlay-soft) 0%, var(--overlay-strong) 100%);
}

/* Type inside heroes */
.hero-home h1 {
  font-size: clamp(2rem, 1.6rem + 1.8vw, 3rem);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-heading);
  max-width: 20ch;
}

.hero-home .accent,
.hero-page .accent {
  color: var(--gold);
}

.hero-home p,
.hero-page p {
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, .78);
  max-width: 620px;
  margin-top: var(--space-6);
}

.hero-home .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-10);
}

.hero-page h1 {
  font-size: clamp(2.25rem, 1.8rem + 2vw, 3.5rem);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  max-width: 18ch;
}

.hero-page .breadcrumb {
  margin-bottom: var(--space-6);
}

.hero-minimal h1 {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-heading);
}

.hero-minimal p {
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, .78);
  margin-top: var(--space-4);
  max-width: 560px;
}


/* ================================================================
   6. SECTION LABELS & HEADINGS
   ================================================================ */
.section-header {
  margin-bottom: var(--space-16);
}

.section-header--center {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--gold-dark);
  margin-bottom: var(--space-5);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
}

.section-header--center .section-label {
  justify-content: center;
}

.section-heading {
  font-size: var(--fs-h2);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-heading);
  line-height: var(--lh-heading);
  color: var(--text);
  max-width: 30ch;
}

.section-header--center .section-heading {
  margin-inline: auto;
}

.section-subheading {
  font-size: var(--fs-lead);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  color: var(--text-light);
  max-width: 640px;
  margin-top: var(--space-5);
}

.section-header--center .section-subheading {
  margin-inline: auto;
}

/* Headings placed directly on dark backgrounds */
.bg-navy .section-heading,
.bg-navy h1, .bg-navy h2, .bg-navy h3 {
  color: var(--white);
}
.bg-navy .section-subheading { color: rgba(255, 255, 255, .75); }
.bg-navy .section-label { color: var(--gold-light); }


/* ================================================================
   7. BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 1.0625rem 2.25rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-xs);
  font-size: var(--fs-nav);
  font-weight: var(--fw-medium);
  letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-lg {
  padding: 1.25rem 2.75rem;
  font-size: 1rem;
}

/* --- Primary: solid gold --- */
.btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* --- Secondary: outlined --- */
.btn-secondary {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

/* Outlined button used on a dark background needs a light border */
.bg-navy .btn-secondary,
.hero-home .btn-secondary,
.hero-page .btn-secondary,
.btn-outline {
  border-color: rgba(255, 255, 255, .45);
  color: var(--white);
}

.bg-navy .btn-secondary:hover,
.hero-home .btn-secondary:hover,
.hero-page .btn-secondary:hover,
.btn-outline:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

/* --- Ghost: text + arrow only --- */
.btn-ghost {
  padding: var(--space-1) 0;
  border: none;
  background: none;
  color: var(--navy);
  gap: var(--space-2);
}

.btn-ghost .btn-arrow {
  transition: transform var(--transition-base);
}

.btn-ghost:hover {
  color: var(--gold-dark);
}

.btn-ghost:hover .btn-arrow {
  transform: translateX(4px);
}

.bg-navy .btn-ghost,
.hero-home .btn-ghost {
  color: var(--white);
}
.bg-navy .btn-ghost:hover,
.hero-home .btn-ghost:hover {
  color: var(--gold-light);
}

/* --- White: solid white, for dark backgrounds --- */
.btn-white {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

.btn-white:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}


/* ================================================================
   8. CARDS
   ================================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xs);
  padding: var(--space-12);
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

a.card:hover,
.card.is-interactive:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* --- Service card: icon/number + title + description + arrow --- */
.card-service {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xs);
  padding: var(--space-10);
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.card-service:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-service__icon {
  width: 48px;
  height: 48px;
  color: var(--navy);
  margin-bottom: var(--space-6);
}
.card-service__icon svg { width: 100%; height: 100%; }

.card-service__number {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--gold);
  margin-bottom: var(--space-6);
}

.card-service h3,
.card-service__title {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-3);
}

.card-service p,
.card-service__desc {
  font-size: var(--fs-body);
  color: var(--text-light);
  flex-grow: 1;
}

.card-service ul {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0;
  flex-grow: 1;
}
.card-service li {
  font-size: var(--fs-body);
  color: var(--text-light);
  padding: var(--space-2) 0;
  padding-left: var(--space-5);
  position: relative;
  line-height: var(--lh-body, 1.6);
}
.card-service li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: var(--fw-medium);
}

.card-service__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--navy);
}

.card-service__link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-base);
}

.card-service:hover .card-service__link { color: var(--gold-dark); }
.card-service:hover .card-service__link svg { transform: translateX(4px); }

/* --- Insight / blog card: image + tag + title + date --- */
.card-insight {
  display: block;
}

.card-insight__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-xs);
  background: var(--gray-100);
  margin-bottom: var(--space-5);
}

.card-insight__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card-insight:hover .card-insight__media img {
  transform: scale(1.04);
}

.card-insight__title {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--text);
  line-height: var(--lh-heading);
  margin-bottom: var(--space-3);
  transition: color var(--transition-base);
}

.card-insight:hover .card-insight__title { color: var(--gold-dark); }

.card-insight__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-small);
  color: var(--text-lighter);
}

/* --- Stat card: large number + label (deliberately not boxed) --- */
.card-stat {
  border-top: 2px solid var(--gold);
  padding-top: var(--space-6);
}

.card-stat__number {
  font-size: clamp(2.5rem, 2rem + 2vw, 3.75rem);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-tight);
  color: var(--navy);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.card-stat__label {
  margin-top: var(--space-3);
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--text-lighter);
}

.bg-navy .card-stat__number { color: var(--white); }
.bg-navy .card-stat__label { color: rgba(255, 255, 255, .6); }


/* ================================================================
   9. CONTENT COMPONENTS
   ================================================================ */

/* --- Feature row: alternating image + text --- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-16);
}

.feature-row + .feature-row {
  margin-top: var(--space-24);
}

.feature-row__media {
  order: 1;
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.feature-row__media img { width: 100%; height: 100%; object-fit: cover; }

.feature-row__content { order: 2; }

.feature-row--reverse .feature-row__media { order: 2; }
.feature-row--reverse .feature-row__content { order: 1; }

.feature-row__content .section-label { margin-bottom: var(--space-4); }

.feature-row__content h3 {
  font-size: var(--fs-h2);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-heading);
  margin-bottom: var(--space-5);
}

.feature-row__content p {
  color: var(--text-light);
  margin-bottom: var(--space-6);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding-block: var(--space-2);
  color: var(--text-light);
}

.feature-list li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--gold-dark);
}

/* --- Process steps --- */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-12);
}

.process-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 1.9375rem; /* centers under the 4rem number column */
  top: 4rem;
  bottom: 0;
  width: 1px;
  background: var(--gray-200);
}

.process-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border: 1.5px solid var(--gold);
  color: var(--gold-dark);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  flex-shrink: 0;
}

.process-step h3 {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-2);
  grid-column: 2;
}

.process-step p { color: var(--text-light); grid-column: 2; }

/* Horizontal variant */
.process-steps--horizontal {
  flex-direction: row;
  gap: var(--space-8);
}

.process-steps--horizontal .process-step {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  padding-bottom: 0;
}

.process-steps--horizontal .process-step:not(:last-child)::before {
  left: 50%;
  top: 2rem;
  width: 100%;
  height: 1px;
  bottom: auto;
}

@media (max-width: 1023px) {
  .process-steps--horizontal {
    flex-direction: column;
  }
  .process-steps--horizontal .process-step {
    grid-template-columns: 4rem 1fr;
    justify-items: start;
    text-align: left;
    padding-bottom: var(--space-12);
  }
  .process-steps--horizontal .process-step:not(:last-child)::before {
    left: 1.9375rem;
    top: 4rem;
    bottom: 0;
    width: 1px;
    height: auto;
  }
}

/* --- Testimonial --- */
.testimonial {
  position: relative;
  max-width: var(--container-narrow-max);
  margin-inline: auto;
  text-align: center;
}

.testimonial::before {
  content: '\201C';
  display: block;
  font-size: 6rem;
  line-height: 1;
  color: var(--gold);
  opacity: .35;
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-4);
}

.testimonial blockquote {
  font-size: var(--fs-h3);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--text);
  letter-spacing: var(--ls-heading);
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.testimonial__name {
  font-weight: var(--fw-semibold);
  color: var(--text);
  display: block;
}

.testimonial__role {
  font-size: var(--fs-small);
  color: var(--text-lighter);
  display: block;
}

/* --- CTA banner --- */
.cta-banner {
  background: var(--navy);
  border-top: 3px solid var(--gold);
  color: var(--white);
  text-align: center;
  padding-block: var(--space-16);
}

.cta-banner h2 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-heading);
  max-width: 22ch;
  margin-inline: auto;
}

.cta-banner p {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, .65);
  max-width: 520px;
  margin: var(--space-4) auto 0;
}

.cta-banner .cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

/* --- Logo bar --- */
.logo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-16);
}

.logo-bar img {
  max-height: 32px;
  width: auto;
  filter: grayscale(1);
  opacity: .5;
  transition: opacity var(--transition-base), filter var(--transition-base);
}

.logo-bar img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* --- Accordion ---
   Contract: toggle `aria-expanded` on .accordion-header (a <button>);
   the sibling .accordion-panel expands automatically via CSS — no
   class-toggling or height calculation required in JS. */
.accordion-item {
  border-bottom: 1px solid var(--gray-200);
}

.accordion-item:first-child {
  border-top: 1px solid var(--gray-200);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-6);
  text-align: left;
  font-size: var(--fs-h4);
  font-weight: var(--fw-medium);
  color: var(--text);
}

.accordion-header .accordion-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.accordion-header .accordion-icon::before,
.accordion-header .accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--navy);
  transition: transform var(--transition-base), opacity var(--transition-base);
}
.accordion-header .accordion-icon::before {
  top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%);
}
.accordion-header .accordion-icon::after {
  left: 50%; top: 0; height: 100%; width: 1.5px; transform: translateX(-50%);
}

.accordion-header[aria-expanded="true"] .accordion-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-slow);
}

.accordion-header[aria-expanded="true"] + .accordion-panel {
  grid-template-rows: 1fr;
}

.accordion-panel > div {
  overflow: hidden;
}

.accordion-panel__inner {
  padding-bottom: var(--space-6);
  color: var(--text-light);
  max-width: 68ch;
}

/* --- Tags / badges --- */
.tag,
.badge {
  display: inline-flex;
  align-items: center;
  padding: .375rem .875rem;
  border-radius: var(--radius-full);
  font-size: .6875rem;
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  background: var(--gray-100);
  color: var(--text-light);
}

.tag--gold,
.badge--gold {
  background: rgba(201, 165, 78, .12);
  color: var(--gold-dark);
}

.tag--outline,
.badge--outline {
  background: transparent;
  border: 1px solid currentColor;
}

.tag--navy,
.badge--navy {
  background: var(--navy);
  color: var(--white);
}


/* ================================================================
   10. SERVICE PAGE LAYOUT
   ================================================================ */
.service-hero,
.service-hero.hero-page {
  min-height: 38vh;
}

.service-hero .tag { margin-bottom: var(--space-5); }

.service-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-20);
}

.service-content--with-sidebar {
  grid-template-columns: 2fr 1fr;
  align-items: start;
}

.service-main {
  max-width: 68ch;
}

.service-main h2 {
  font-size: var(--fs-h2);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-heading);
  margin-top: var(--space-16);
  margin-bottom: var(--space-5);
}
.service-main h2:first-child { margin-top: 0; }

.service-main h3 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.service-main p {
  color: var(--text-light);
  margin-bottom: var(--space-5);
}

.service-main ul li {
  position: relative;
  padding-left: var(--space-6);
  color: var(--text-light);
  margin-bottom: var(--space-3);
}
.service-main ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .7em;
  width: 6px;
  height: 6px;
  background: var(--gold);
}

.service-sidebar {
  position: sticky;
  top: calc(var(--header-h-scrolled) + var(--space-8));
}

.service-sidebar .card { padding: var(--space-8); }

.service-sidebar-title {
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--text-lighter);
  margin-bottom: var(--space-4);
}

.service-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--gray-200);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--text);
}
.service-sidebar-link:hover { color: var(--gold-dark); }
.service-sidebar-link:last-child { border-bottom: none; }

/* Grid of features/benefits — intentionally chrome-free (no card
   borders) to keep the page from feeling card-heavy. */
.service-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-10) var(--space-12);
}

.service-feature {
  display: flex;
  gap: var(--space-4);
}

.service-feature__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--gold-dark);
}
.service-feature__icon svg { width: 100%; height: 100%; }

.service-feature h4 {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-2);
}

.service-feature p {
  color: var(--text-light);
  font-size: var(--fs-small);
}

/* Contained, contextual CTA (lighter-weight than the full-bleed
   .cta-banner used site-wide at the bottom of pages) */
.service-cta {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: var(--space-16);
  text-align: center;
}

.service-cta h3 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-4);
}

.service-cta p {
  color: var(--text-light);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}


/* ================================================================
   11. FOOTER
   ================================================================ */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .65);
  padding-top: var(--space-24);
}

.footer a { color: rgba(255, 255, 255, .65); }
.footer a:hover { color: var(--gold-light); }

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand .logo { color: var(--white); margin-bottom: var(--space-4); }

.footer-tagline {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, .5);
  max-width: 28ch;
}

.footer-col-title,
.footer-nav-column-title {
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: rgba(255, 255, 255, .4);
  margin-bottom: var(--space-5);
}

/* Single-column nav list (matches current markup) */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Multi-column nav wrapper (for pages with grouped link columns) */
.footer-nav-columns {
  display: contents;
}

.footer-nav-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-small);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gold);
}

.footer-social {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .2);
  transition: border-color var(--transition-base), color var(--transition-base);
}
.footer-social a:hover { border-color: var(--gold); }
.footer-social a svg { width: 16px; height: 16px; }

/* Footer link grid */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-10);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  margin-bottom: var(--space-4);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--fs-small);
}

.footer-col-heading {
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: rgba(255, 255, 255, .4);
  margin-bottom: var(--space-2);
}

.footer-col-heading a {
  color: inherit;
  text-decoration: none;
}

.footer-col-heading a:hover {
  color: var(--gold-light);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-block: var(--space-8);
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, .45);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}


/* ================================================================
   12. UTILITIES
   ================================================================ */

/* --- Text alignment --- */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* --- Text color --- */
.text-gold  { color: var(--gold-dark); }
.text-navy  { color: var(--navy); }
.text-white { color: var(--white); }
.text-light { color: var(--text-light); }

/* --- Background color (with sensible default foreground) --- */
.bg-navy      { background: var(--navy); color: var(--white); }
.bg-white     { background: var(--white); color: var(--text); }
.bg-off-white { background: var(--off-white); color: var(--text); }
.bg-gray      { background: var(--gray-100); color: var(--text); }

/* --- Spacing --- */
.mt-sm { margin-top: 20px; }
.mt-md { margin-top: 40px; }
.mt-lg { margin-top: 80px; }
.mt-xl { margin-top: 120px; }

.mb-sm { margin-bottom: 20px; }
.mb-md { margin-bottom: 40px; }
.mb-lg { margin-bottom: 80px; }
.mb-xl { margin-bottom: 120px; }

.pt-sm { padding-top: 20px; }
.pt-md { padding-top: 40px; }
.pt-lg { padding-top: 80px; }
.pt-xl { padding-top: 120px; }

.pb-sm { padding-bottom: 20px; }
.pb-md { padding-bottom: 40px; }
.pb-lg { padding-bottom: 80px; }
.pb-xl { padding-bottom: 120px; }

/* --- Visibility --- */
.hidden-desktop { display: none; }
.hidden-mobile  { display: initial; }

@media (max-width: 767px) {
  .hidden-mobile  { display: none !important; }
  .hidden-desktop { display: initial !important; }
}

/* Visually hidden, still available to screen readers */
.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;
}


/* ================================================================
   13. ANIMATIONS
   ================================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* Legacy alias used by current homepage markup */
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }
.fade-in-delay-4 { transition-delay: .4s; }


/* ================================================================
   14. RESPONSIVE BREAKPOINTS
   ================================================================
   Structural responsive rules (nav collapse, grid stacking, sidebar
   stacking, etc.) live inline with their component above. This
   section centralizes *token* adjustments — since every component
   reads spacing from custom properties, redefining them here cascades
   sitewide without repeating rules per component. */

@media (max-width: 1279px) {
  :root {
    --grid-gap: 2rem;
  }

  .mega-menu-panel { grid-template-columns: repeat(2, 1fr); }
  .mega-menu-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1023px) {
  /* Hide desktop nav, show hamburger */
  .nav-desktop { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; }

  .service-content--with-sidebar { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .service-features { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  :root {
    --container-pad: 1.25rem;   /* 20px */
    --section-py: 5rem;         /* 80px */
    --section-py-sm: 3.5rem;
    --grid-gap: 1.5rem;
  }

  /* Header / nav collapses to a full-screen overlay */
  .nav-wrapper {
    position: fixed;
    inset: 0;
    z-index: var(--z-mobile-nav);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: var(--space-10);
    background: var(--navy);
    padding: calc(var(--header-h) + var(--space-8)) var(--container-pad) var(--space-10);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity var(--transition-slow), transform var(--transition-slow), visibility var(--transition-slow);
  }

  .nav-wrapper.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-6);
    width: 100%;
  }

  .nav a {
    font-size: 1.5rem;
    color: var(--white);
  }

  .nav-wrapper .btn { width: 100%; }

  /* Mega menu becomes an inline accordion inside the overlay */
  .nav-wrapper .mega-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    display: none;
  }

  .nav-item.active .mega-menu {
    display: block;
  }

  .mega-menu-panel {
    grid-template-columns: 1fr;
    padding: var(--space-4) 0 0;
    gap: var(--space-6);
  }

  .mega-menu-column-title,
  .mega-menu-item-title,
  .mega-menu-item {
    color: rgba(255, 255, 255, .85);
  }
  .mega-menu-item-desc { color: rgba(255, 255, 255, .5); }
  .mega-menu-cols { grid-template-columns: 1fr; gap: var(--space-6); }
  .mega-menu-grid { grid-template-columns: 1fr; gap: 0; }
  .mega-menu-heading { color: rgba(255, 255, 255, .5); }

  /* Hero */
  .hero-home h1 { max-width: 100%; }
  .hero-home .hero-ctas .btn,
  .cta-banner .cta-actions .btn { width: 100%; }

  /* Layout */
  .feature-row {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .feature-row__media,
  .feature-row--reverse .feature-row__media {
    order: 1;
  }
  .feature-row__content,
  .feature-row--reverse .feature-row__content {
    order: 2;
  }
  .feature-row + .feature-row { margin-top: var(--space-16); }

  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .testimonial blockquote { font-size: var(--fs-h4); }

  .logo-bar { gap: var(--space-10); }
}

@media (max-width: 480px) {
  .card-service,
  .card,
  .service-cta { padding: var(--space-8); }

  .btn,
  .btn-lg { width: 100%; }

  .cta-banner .cta-actions,
  .hero-home .hero-ctas { flex-direction: column; }
}


/* ================================================================
   15. FORM STYLES
   ================================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.form-group label {
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--text);
}

.required { color: var(--gold-dark); margin-left: 2px; }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .875rem 1rem;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-xs);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: var(--shadow-focus);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%234A5568' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 11px 7px;
  padding-right: 2.5rem;
}

/* Two-up field layout (e.g. name / company) */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

@media (max-width: 767px) {
  .form-row { grid-template-columns: 1fr; }
}

/* --- Custom checkbox / radio --- */
.checkbox-group-label {
  display: block;
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--text);
  margin-bottom: var(--space-3);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.checkbox-item,
.radio-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-body);
  color: var(--text-light);
  cursor: pointer;
}

.checkbox-item input[type="checkbox"],
.radio-item input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  position: relative;
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.checkbox-item input[type="checkbox"] { border-radius: var(--radius-xs); }
.radio-item input[type="radio"] { border-radius: var(--radius-full); }

.checkbox-item input[type="checkbox"]:checked,
.radio-item input[type="radio"]:checked {
  background: var(--navy);
  border-color: var(--navy);
}

.checkbox-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.radio-item input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: var(--radius-full);
  background: var(--white);
}

.checkbox-item input:focus-visible,
.radio-item input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* --- Field / form messages (error / success) --- */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: var(--error);
}

.field-error {
  font-size: var(--fs-small);
  color: var(--error);
}

.form-message {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-xs);
  font-size: var(--fs-small);
  border: 1px solid transparent;
  margin-bottom: var(--space-6);
}

.form-message.success,
.form-message--success {
  display: block;
  background: var(--success-bg);
  color: var(--success);
  border-color: rgba(30, 122, 76, .25);
}

.form-message.error,
.form-message--error {
  display: block;
  background: var(--error-bg);
  color: var(--error);
  border-color: rgba(179, 38, 30, .25);
}

.form-note {
  font-size: var(--fs-small);
  color: var(--text-lighter);
  margin-top: var(--space-4);
}

/* --- Booking page: two-column layout with trust sidebar --- */
.booking-section {
  padding-block: var(--section-py);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--space-20);
  align-items: start;
}

/* Centered single-column booking layout (no sidebar) */
.booking-layout-centered {
  max-width: 720px;
  margin-inline: auto;
}
.booking-layout-centered .booking-form-wrap {
  width: 100%;
}
.booking-layout-centered .form-label {
  font-size: var(--fs-small);
}
.booking-layout-centered .form-hint {
  font-size: var(--fs-small);
  color: var(--text-lighter);
  margin-bottom: var(--space-2);
}
.booking-layout-centered .form-note {
  font-size: var(--fs-small);
  color: var(--text-lighter);
  margin-top: var(--space-4);
}
.booking-layout-centered .checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2) var(--space-6);
}
.booking-layout-centered .checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-small);
  cursor: pointer;
}
@media (max-width: 480px) {
  .booking-layout-centered .checkbox-grid { grid-template-columns: 1fr; }
}

.booking-form-wrapper .form-title {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-4);
}

.form-divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin-bottom: var(--space-8);
}

.trust-sidebar {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: var(--space-10);
  position: sticky;
  top: calc(var(--header-h-scrolled) + var(--space-8));
}

.trust-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.trust-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: rgba(201, 165, 78, .12);
  color: var(--gold-dark);
}
.trust-check svg { width: 14px; height: 14px; }

@media (max-width: 1023px) {
  .booking-grid { grid-template-columns: 1fr; }
  .trust-sidebar { position: static; }
}


/* ================================================================
   16. BREADCRUMBS
   ================================================================ */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, .55);
}

.breadcrumb a { color: inherit; }
.breadcrumb a:hover { color: var(--white); }

.breadcrumb-sep {
  color: rgba(255, 255, 255, .3);
}

.breadcrumb-current {
  color: var(--gold-light);
  font-weight: var(--fw-medium);
}

/* On light backgrounds */
.bg-white .breadcrumb,
.bg-off-white .breadcrumb,
.bg-gray .breadcrumb {
  color: var(--text-lighter);
}
.bg-white .breadcrumb a:hover,
.bg-off-white .breadcrumb a:hover,
.bg-gray .breadcrumb a:hover {
  color: var(--navy);
}
.bg-white .breadcrumb-sep,
.bg-off-white .breadcrumb-sep,
.bg-gray .breadcrumb-sep {
  color: var(--gray-400);
}
.bg-white .breadcrumb-current,
.bg-off-white .breadcrumb-current,
.bg-gray .breadcrumb-current {
  color: var(--gold-dark);
}


/* ================================================================
   16b. AUDIENCE & TEMPLATE COMPONENTS
   ================================================================
   Styles for audience pages (Who We Help), the audience-template,
   the who-we-help index, and the Challenges We Solve page.
   ================================================================ */

/* --- Hero subtitle --- */
.hero-page-subtitle {
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, .78);
  max-width: 680px;
  margin-top: var(--space-6);
  line-height: var(--lh-body);
}

/* --- Prose: editorial text blocks --- */
.prose {
  font-size: var(--fs-body);
  color: var(--text-light);
  line-height: var(--lh-body);
}
.prose p + p { margin-top: var(--space-5); }
.prose strong { color: var(--text); font-weight: var(--fw-semibold); }
.prose em { font-style: italic; }
.prose ul, .prose ol { margin-top: var(--space-4); padding-left: var(--space-6); }
.prose li { margin-top: var(--space-2); }
.prose li + li { margin-top: var(--space-2); }

/* --- Card arrow: hover-animated arrow on interactive cards --- */
.card-arrow {
  display: inline-block;
  margin-top: auto;
  padding-top: var(--space-6);
  font-size: var(--fs-h4);
  color: var(--gold-dark);
  transition: transform var(--transition-base);
}
a:hover .card-arrow,
.card-link:hover .card-arrow { transform: translateX(6px); }

/* --- Card link modifier: full-card anchor --- */
a.card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
a.card-link:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* --- Feature item: small card for challenge/feature grids --- */
.feature-item {
  padding: var(--space-8);
  border-left: 3px solid var(--gold);
}
.feature-item h3 {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-3);
  color: var(--text);
}
.feature-item p {
  font-size: var(--fs-body);
  color: var(--text-light);
  line-height: var(--lh-body);
}

/* --- Stats bar: compact stat strip --- */
.stats-bar {
  background: var(--navy);
  color: var(--white);
  padding-block: var(--section-py-sm);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--grid-gap);
  text-align: center;
}
.card-stat {
  border-top: 2px solid var(--gold);
  padding-top: var(--space-6);
}
.card-stat-number {
  font-size: clamp(2.5rem, 2rem + 2vw, 3.75rem);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-tight);
  color: var(--white);
  line-height: 1;
  display: block;
  font-variant-numeric: tabular-nums;
}
.card-stat-label {
  margin-top: var(--space-3);
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: rgba(255, 255, 255, .6);
  display: block;
}

/* --- Testimonial (template variant — non-BEM class names) --- */
.testimonial-attribution {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  margin-top: var(--space-8);
}
.testimonial-name {
  font-weight: var(--fw-semibold);
  color: var(--text);
}
.testimonial-firm {
  font-size: var(--fs-small);
  color: var(--text-lighter);
}

/* --- Audience detail grid (Who We Help index) --- */
.audience-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gap);
}
.audience-detail-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xs);
  padding: var(--space-10);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}
.audience-detail-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.audience-detail-card h3 {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-3);
  color: var(--text);
}
.audience-detail-card p {
  font-size: var(--fs-body);
  color: var(--text-light);
  flex-grow: 1;
}
.audience-detail-card .card-arrow {
  margin-top: var(--space-6);
}

/* --- Service detail block (What We Do index) --- */
.service-detail-block {
  padding-block: var(--space-16);
  border-bottom: 1px solid var(--gray-200);
}
.service-detail-block:first-child { padding-top: 0; }
.service-detail-block:last-child { border-bottom: none; }
.service-detail-content h2 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-heading);
  margin-bottom: var(--space-3);
}
.service-detail-tagline {
  font-size: var(--fs-lead);
  color: var(--text-light);
  font-style: italic;
  margin-bottom: var(--space-5);
}
.service-detail-content > p {
  color: var(--text-light);
  line-height: var(--lh-body);
  margin-bottom: var(--space-5);
}
.service-detail-areas {
  font-size: var(--fs-small);
  color: var(--text-lighter);
  line-height: var(--lh-body);
  margin-bottom: var(--space-6);
}
.service-detail-content .btn {
  margin-top: var(--space-4);
}

/* --- Challenges page: challenge blocks --- */
.challenges-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.challenge-block {
  border-bottom: 1px solid var(--gray-200);
  padding-block: var(--space-16);
}
.challenge-block:first-child { padding-top: 0; }
.challenge-block:last-child { border-bottom: none; }
.challenge-block-inner {
  max-width: var(--container-narrow-max);
}
.challenge-title {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-heading);
  color: var(--text);
  margin-bottom: var(--space-5);
}
.challenge-body {
  color: var(--text-light);
  line-height: var(--lh-body);
}
.challenge-body p + p { margin-top: var(--space-4); }
.challenge-body em {
  font-style: italic;
  color: var(--text);
}
.challenge-related {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--gray-100);
  font-size: var(--fs-small);
}
.challenge-related-label {
  font-weight: var(--fw-semibold);
  color: var(--text);
  margin-right: var(--space-2);
}
.challenge-related-sep {
  color: var(--gray-400);
  margin-inline: var(--space-2);
}
.challenge-related a {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: var(--fw-medium);
  transition: color var(--transition-fast);
}
.challenge-related a:hover {
  color: var(--navy);
  text-decoration: underline;
}

/* --- CTA banner: class-targeted variant (matches cta-banner.php) --- */
.cta-banner-content { text-align: center; }
.cta-banner-heading {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-heading);
  max-width: 22ch;
  margin-inline: auto;
}
.cta-banner-text {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, .65);
  max-width: 520px;
  margin: var(--space-4) auto 0;
}
.cta-banner-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

/* --- Responsive: audience & challenge components --- */
@media (max-width: 1279px) {
  .audience-detail-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .audience-detail-grid { grid-template-columns: 1fr; }
  .challenge-block { padding-block: var(--space-12); }
  .cta-banner-actions { flex-direction: column; align-items: center; }
  .cta-banner-actions .btn { width: 100%; }
}


/* --- Service card number (numbered cards in service template features grid) --- */
.card-service-number {
  font-size: var(--fs-h2);
  font-weight: var(--fw-semibold);
  color: var(--gold);
  opacity: .35;
  line-height: 1;
  margin-bottom: var(--space-5);
  font-variant-numeric: tabular-nums;
}

/* --- Section label gold variant (for dark/navy backgrounds) --- */
.section-label-gold {
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--gold);
  margin-bottom: var(--space-4);
}

/* --- Outcomes list (checkmark-style list on navy backgrounds) --- */
.outcomes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-5);
  max-width: var(--container-narrow-max);
  margin-inline: auto;
}
.outcomes-list li {
  position: relative;
  padding-left: var(--space-8);
  color: rgba(255, 255, 255, .85);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
.outcomes-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: var(--fw-semibold);
}

/* ================================================================
   SERVICE PAGE REDESIGN — Editorial Layout
   ================================================================ */

/* --- Service page: self-contained editorial layout --- */

/* Two-column split: Point of View | Where We Help */
.sv-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}
.sv-split-left  { position: sticky; top: 6rem; }
.sv-split-right {
  background: var(--off-white);
  border-radius: var(--radius-xs);
  padding: var(--space-8);
}

/* Fallback single column */
.service-col {
  max-width: 720px;
  margin-inline: auto;
}

/* Hero */
.service-page .hero-page {
  min-height: auto;
  padding-block: calc(var(--header-h) + var(--space-8)) var(--space-8);
}
.service-page .hero-page h1 {
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
}
.service-page .hero-page-subtitle {
  font-size: 0.8125rem;
  max-width: 520px;
  line-height: 1.65;
  margin-top: var(--space-3);
}

/* Sections */
.service-page .section {
  padding-block: var(--space-10);                          /* 40px */
}

/* Content-page heading & prose scale (for pages using section-heading / prose
   instead of the sv-heading / sv-prose component system) */
.service-page .section-heading {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);    /* 18–22px */
  margin-bottom: var(--space-4);                           /* 16px below heading */
}
.service-page .prose {
  font-size: 0.875rem;                                    /* 14px */
}
.service-page .ins-intro {
  font-size: 0.9375rem;                                   /* 15px */
}
.service-page .card-service p {
  font-size: 0.8125rem;                                   /* 13px */
}
.service-page .card-service h3 {
  font-size: 0.9375rem;                                   /* 15px */
}
.service-page .ins-essay h3 {
  font-size: 0.875rem;                                    /* 14px */
}
.service-page .ins-essay p {
  font-size: 0.8125rem;                                   /* 13px */
}
.service-page .process-number {
  width: 3rem;
  height: 3rem;
  font-size: 1rem;
}
.service-page .process-step {
  grid-template-columns: 3rem 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-8);
}
.service-page .process-step:not(:last-child)::before {
  left: 1.4375rem;                                        /* centers under 3rem column */
  top: 3rem;
}
.service-page .process-step h3 {
  font-size: 0.9375rem;                                   /* 15px */
}
.service-page .process-step p {
  font-size: 0.8125rem;                                   /* 13px */
}

/* Challenge blocks */
.service-page .challenge-title {
  font-size: 0.9375rem;                                   /* 15px */
}
.service-page .challenge-body {
  font-size: 0.8125rem;                                   /* 13px */
}
.service-page .challenge-block {
  padding-block: var(--space-8);                           /* tighter */
}
.service-page .challenge-related {
  display: none;
}

/* Prose max-width on content pages (keeps text readable at full container) */
.service-page .prose {
  max-width: 720px;
}

/* Section heading spacing before card grids */
.service-page .section-heading + .grid-2,
.service-page .section-heading + .grid-3,
.service-page .ins-intro + .grid-2,
.service-page .ins-intro + .grid-3 {
  margin-top: var(--space-6);
}

/* Sol-ribbon inverse for navy sections */
.sol-ribbon--navy .sol-ribbon-step {
  color: var(--white);
  border-color: rgba(255, 255, 255, .3);
}
.sol-ribbon--navy .sol-ribbon-arrow {
  color: var(--gold);
}

/* Section label (gold uppercase) */
.sv-label {
  font-size: 0.6875rem;                                   /* 11px */
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  margin-bottom: var(--space-3);
}

/* Section heading */
.sv-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.25rem);     /* 18–20px */
  font-weight: var(--fw-bold);
  color: var(--text);
  line-height: var(--lh-heading);
  margin-bottom: var(--space-4);                           /* 16px to prose — tight */
}

/* Prose */
.sv-prose {
  font-size: 0.875rem;                                    /* 14px */
  color: var(--text-light);
  line-height: 1.7;
}
.sv-prose p + p { margin-top: var(--space-4); }

/* Signature visual / diagram */
.sv-diagram {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--gray-200);
}
.sv-diagram svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Features list */
.sv-features {
  margin-top: var(--space-2);
}

.sv-feat {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--gray-200);
  align-items: first baseline;
}

.sv-feat:last-child { border-bottom: 1px solid var(--gray-200); }

.sv-feat-num {
  font-family: var(--font-heading);
  font-size: 0.75rem;                                     /* 12px */
  font-weight: var(--fw-bold);
  color: var(--gold);
  opacity: 0.55;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

.sv-feat h3 {
  font-size: 0.875rem;                                    /* 14px */
  font-weight: var(--fw-semibold);
  color: var(--text);
  margin-bottom: 2px;
}

.sv-feat p {
  font-size: 0.8125rem;                                   /* 13px */
  color: var(--text-light);
  line-height: 1.65;
}

/* "What ___ Should Produce" — centered, clean */
.sv-produces {
  padding-block: var(--space-8);
  border-top: 1px solid var(--gray-200);
  text-align: center;
}

.sv-produces-label {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: var(--fw-bold);
  color: var(--text);
  margin-bottom: var(--space-4);
}

.sv-produces-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-5);
}

.sv-produces-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8125rem;
  color: var(--text-light);
  white-space: nowrap;
}

.sv-produces-check {
  color: var(--gold);
  font-weight: var(--fw-bold);
  font-size: 0.85em;
}

/* ── Solutions approach section ── */
.sv-approach-inline {
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--gray-200);
}
.sol-approach {
  max-width: var(--container-narrow-max);
  margin-inline: auto;
}

/* Process ribbon: horizontal flow of labeled steps */
.sol-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  flex-wrap: wrap;
  padding: var(--space-6) 0 var(--space-2);
}
.sol-ribbon-step {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--gray-200);
  border-radius: 3px;
  white-space: nowrap;
}
.sol-ribbon-arrow {
  color: var(--gold);
  font-size: 0.75rem;
  flex-shrink: 0;
}
.sol-ribbon-arrow::after {
  content: '→';
}

/* Framework grid: labeled categories with gold left border */
.sol-framework {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  padding: var(--space-5) 0 var(--space-2);
}
.sol-framework-item {
  padding: var(--space-3) var(--space-4);
  border-left: 2px solid var(--gold);
}
.sol-framework-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: var(--fw-bold);
  color: var(--navy);
  margin-bottom: 4px;
}
.sol-framework-item span {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.55;
}

/* Stage cards: horizontal progression */
.sol-stages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: var(--space-3);
  padding: var(--space-5) 0 var(--space-2);
}
.sol-stage {
  text-align: center;
  padding: var(--space-4) var(--space-3);
  border: 1px solid var(--gray-200);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 4px 4px;
}
.sol-stage strong {
  display: block;
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: var(--space-2);
}
.sol-stage span {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Before / After comparison */
.sol-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  padding: var(--space-5) 0 var(--space-2);
}
.sol-compare-col h4 {
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--gray-200);
}
.sol-compare-col p {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Metric strip: horizontal labeled values */
.sol-metrics {
  display: flex;
  justify-content: center;
  gap: var(--space-4) var(--space-6);
  flex-wrap: wrap;
  padding: var(--space-5) 0 var(--space-2);
  border-top: 1px solid var(--gray-200);
  margin-top: var(--space-4);
}
.sol-metric {
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  position: relative;
  padding-left: 14px;
}
.sol-metric::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Evidence layer: stacked items (largest on top) */
.sol-layers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--space-5) 0 var(--space-2);
}
.sol-layer {
  text-align: center;
  padding: var(--space-2) var(--space-4);
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  border: 1px solid var(--gray-200);
  border-radius: 3px;
}
.sol-layer:first-child { width: 55%; background: var(--navy); color: #fff; border-color: var(--navy); }
.sol-layer:nth-child(2) { width: 65%; }
.sol-layer:nth-child(3) { width: 75%; }
.sol-layer:nth-child(4) { width: 83%; }
.sol-layer:nth-child(5) { width: 90%; }
.sol-layer:nth-child(6) { width: 95%; }
.sol-layer:last-child:not(:first-child) { width: 100%; }
/* Smooth last-layer widths for short stacks */
.sol-layer:last-child:nth-child(3) { width: 82%; }
.sol-layer:last-child:nth-child(4) { width: 88%; }

/* Hub diagram: central node + spokes */
.sol-hub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding: var(--space-5) 0 var(--space-2);
}
.sol-hub-center {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  text-align: center;
  font-size: 0.6875rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  line-height: 1.4;
  flex-shrink: 0;
}
.sol-hub-spokes {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.sol-hub-spoke {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8125rem;
  color: var(--text-light);
}
.sol-hub-spoke::before {
  content: '—';
  color: var(--gold);
  font-weight: var(--fw-bold);
}

/* CTA — tighter on service pages */
.service-page .cta-banner {
  padding-block: var(--space-12);
}
.service-page .cta-banner h2 {
  font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem);
}
.service-page .cta-banner p {
  font-size: 0.9375rem;
}
.service-page .cta-banner .cta-actions {
  margin-top: var(--space-6);
}


/* --- Process step sub-elements (aliases for template markup) --- */
.process-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border: 1.5px solid var(--gold);
  color: var(--gold-dark);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  flex-shrink: 0;
}
.process-step-content h3 {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-2);
}
.process-step-content p {
  color: var(--text-light);
  line-height: var(--lh-body);
}

/* --- POV blockquote (brand-anchor quotes in editorial content) --- */
.pov-quote {
  border-left: 3px solid var(--gold);
  padding-left: var(--space-8);
  margin-block: var(--space-8);
  font-size: var(--fs-lead);
  font-style: italic;
  color: var(--text);
  line-height: var(--lh-body);
}

/* --- FAQ page components --- */
.faq-item {
  padding-block: var(--space-10);
  border-bottom: 1px solid var(--gray-200);
}
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--text);
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
  border-left: 3px solid var(--gold);
}
.faq-answer {
  color: var(--text-light);
  line-height: var(--lh-body);
}
.faq-answer p + p { margin-top: var(--space-4); }
.faq-answer ul {
  margin-top: var(--space-3);
  padding-left: var(--space-6);
}
.faq-answer li { margin-top: var(--space-2); }

/* --- Experience highlight blocks (Representative Experience page) --- */
.experience-highlight {
  padding-block: var(--space-12);
  border-bottom: 1px solid var(--gray-200);
}
.experience-highlight:last-child { border-bottom: none; }
.experience-highlight-number {
  font-size: var(--fs-h2);
  font-weight: var(--fw-semibold);
  color: var(--gold);
  opacity: .35;
  line-height: 1;
  margin-bottom: var(--space-5);
  font-variant-numeric: tabular-nums;
}
.experience-highlight h3 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-heading);
  margin-bottom: var(--space-6);
}
.experience-highlight h4 {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--gold-dark);
  margin-bottom: var(--space-3);
  margin-top: var(--space-6);
}
.experience-highlight p {
  color: var(--text-light);
  line-height: var(--lh-body);
}
.experience-highlight ul {
  margin-top: var(--space-3);
  padding-left: var(--space-6);
  color: var(--text-light);
}
.experience-highlight li { margin-top: var(--space-2); }

/* --- Legal pages (minimal styling for Privacy, Terms, etc.) --- */
.legal-meta {
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--gray-200);
  font-size: var(--fs-small);
  color: var(--text-lighter);
}

/* --- Experience highlights (representative-experience page) --- */
.experience-highlight {
  max-width: var(--container-narrow-max);
}
.experience-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--fw-semibold);
  color: var(--gold);
  opacity: .35;
  line-height: 1;
  margin-bottom: var(--space-5);
  font-variant-numeric: tabular-nums;
}
.experience-highlight .section-heading {
  margin-bottom: var(--space-8);
}
.experience-block {
  margin-bottom: var(--space-6);
}
.experience-block h4 {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--gold-dark);
  margin-bottom: var(--space-3);
}
.experience-block p {
  color: var(--text-light);
  line-height: var(--lh-body);
}
.experience-block ul {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-2) var(--space-6);
}
.experience-block ul li {
  position: relative;
  padding-left: var(--space-5);
  color: var(--text-light);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
.experience-block ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ================================================================
   17. LEGACY SELECTOR BRIDGE (temporary)
   ================================================================
   The homepage and booking page currently in production predate this
   design system and reference a handful of class names that don't
   otherwise exist above. These aliases keep that markup from
   rendering unstyled until it's migrated to the new component names.
   Safe to delete once index.html / book-a-call.html are rewritten.
   ================================================================ */
.header--solid {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.header--solid .container { height: var(--header-h-scrolled); }
.header--solid .logo,
.header--solid .nav a { color: var(--navy); }
.header--solid .menu-toggle span { background: var(--navy); }

.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.hero-small { min-height: 42vh; display: flex; align-items: flex-end; padding-block: calc(var(--header-h) + var(--space-16)) var(--space-16); }
.hero:not(.hero-small) { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-block: calc(var(--header-h) + var(--space-16)) var(--space-20); }
.hero > .container { position: relative; z-index: 1; width: 100%; }
.hero-content h1 { font-size: var(--fs-h1); font-weight: var(--fw-semibold); letter-spacing: var(--ls-tight); line-height: var(--lh-tight); max-width: 20ch; }
.hero-content p { font-size: var(--fs-lead); color: rgba(255,255,255,.78); max-width: 620px; margin-top: var(--space-6); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-10); }
.accent { color: var(--gold); }

.services, .process, .credibility, .cta-section { padding-block: var(--section-py); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); }
.service-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--gray-200); padding: var(--space-10); transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base); }
.service-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-icon { width: 48px; height: 48px; color: var(--navy); margin-bottom: var(--space-6); }
.service-card h3 { font-size: var(--fs-h4); font-weight: var(--fw-semibold); margin-bottom: var(--space-3); }
.service-card p { color: var(--text-light); }

.process-step { grid-template-columns: 4rem 1fr; }
.process-icon { display: none; }

.credibility { background: var(--off-white); text-align: center; }
.credibility h2 { font-size: var(--fs-h2); font-weight: var(--fw-semibold); letter-spacing: var(--ls-heading); max-width: 20ch; margin-inline: auto; margin-bottom: var(--space-16); }
.credibility-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); text-align: left; }
.credibility-icon { width: 40px; height: 40px; color: var(--gold-dark); margin-bottom: var(--space-4); }
.credibility-feature h4 { font-size: var(--fs-h4); font-weight: var(--fw-semibold); margin-bottom: var(--space-2); }
.credibility-feature p { color: var(--text-light); font-size: var(--fs-small); }

.cta-section { background: var(--navy); border-top: 3px solid var(--gold); color: var(--white); text-align: center; }
.cta-section h2 { font-size: var(--fs-h2); font-weight: var(--fw-semibold); letter-spacing: var(--ls-heading); max-width: 18ch; margin-inline: auto; margin-bottom: var(--space-10); }

@media (max-width: 1279px) { .services-grid { grid-template-columns: repeat(2, 1fr); } .credibility-features { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .services-grid { grid-template-columns: 1fr; }
  .header--solid .nav-wrapper,
  .hero .nav-wrapper { color: initial; }
}


/* ─── Proof / Credibility Components ──────────────────────── */

/* Recognition Bar */
.recognition-bar {
  padding-block: var(--space-6);
  background: var(--off-white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.recognition-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.recognition-item {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  font-size: var(--fs-small);
  color: var(--text-light);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  font-weight: var(--fw-medium);
}

.recognition-year {
  color: var(--gold-dark);
  font-weight: var(--fw-semibold);
}

.recognition-divider {
  width: 1px;
  height: 1.25rem;
  background: var(--gray-300);
}

/* Experience Callout */
.experience-callout {
  background: var(--off-white);
  border-left: 3px solid var(--gold);
  padding: var(--space-8) var(--space-10);
  margin-block: var(--space-8);
}

.experience-callout-heading {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--navy);
  margin-bottom: var(--space-3);
}

.experience-callout p {
  color: var(--text-light);
  margin-bottom: var(--space-6);
  max-width: 60ch;
}

/* Quantified Proof Stats */
.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  text-align: center;
  padding-block: var(--space-8);
}

.proof-stat-number {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--fw-bold);
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: var(--space-3);
}

.proof-stat-label {
  display: block;
  font-size: var(--fs-small);
  color: var(--text-light);
  max-width: 24ch;
  margin-inline: auto;
}

/* Guide Checklist */
.guide-checklist {
  counter-reset: checklist;
  list-style: none;
  padding: 0;
}

.guide-checklist li {
  counter-increment: checklist;
  display: flex;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--gray-200);
  font-size: var(--fs-body);
  color: var(--text-base);
}

.guide-checklist li::before {
  content: counter(checklist);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--navy);
  color: var(--white);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  border-radius: 50%;
}

.guide-checklist li:last-child {
  border-bottom: none;
}

/* Disclosure Notice */
.disclosure-notice {
  font-size: var(--fs-small);
  color: var(--text-lighter);
  font-style: italic;
  border-top: 1px solid var(--gray-200);
  padding-top: var(--space-6);
  margin-top: var(--space-10);
  max-width: 65ch;
}

/* FAQ Group Heading */
.faq-group-heading {
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--gold-dark);
  margin-bottom: var(--space-8);
}

@media (max-width: 767px) {
  .recognition-items { gap: var(--space-4); }
  .recognition-divider { display: none; }
  .recognition-item { font-size: 0.75rem; }
  .proof-stats { grid-template-columns: 1fr; gap: var(--space-6); }
  .experience-callout { padding: var(--space-6); }
}


/* ═══════════════════════════════════════════════════════════════
   DESIGN PATTERNS — Editorial & Visual Rhythm
   ═══════════════════════════════════════════════════════════════ */

/* ─── Editorial Split ─────────────────────────────────────────
   Large statement on left, supporting content on right.
   Usage: <div class="editorial-split">
            <div class="editorial-split-statement">...</div>
            <div class="editorial-split-content">...</div>
          </div> */
.editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.editorial-split-statement {
  font-size: var(--fs-h2);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  color: var(--text);
}

.bg-navy .editorial-split-statement { color: var(--white); }

.editorial-split-content {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-light);
}

.editorial-split-content p + p { margin-top: var(--space-4); }
.bg-navy .editorial-split-content { color: rgba(255, 255, 255, .75); }


/* ─── Problem Statement ──────────────────────────────────────
   Oversized dramatic quote for challenge/problem framing.
   Bigger, bolder version of .pov-quote. */
.problem-statement {
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.25rem);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  color: var(--navy);
  border-left: 4px solid var(--gold);
  padding-left: var(--space-8);
  margin-block: var(--space-12);
  max-width: 28ch;
}

.bg-navy .problem-statement {
  color: var(--white);
  border-left-color: var(--gold-light);
}


/* ─── Process Line ────────────────────────────────────────────
   Horizontal process flow: Assess → Strategize → Implement → Measure.
   Usage: <div class="process-line">
            <div class="process-line-step">
              <span class="process-line-number">01</span>
              <h3 class="process-line-title">Assess</h3>
              <p>Description</p>
            </div>
            ... (repeat)
          </div> */
.process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  counter-reset: process-step;
}

/* Connecting line behind steps */
.process-line::before {
  content: '';
  position: absolute;
  top: 1.625rem;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}

.bg-navy .process-line::before { background: rgba(255, 255, 255, .15); }

.process-line-step {
  text-align: center;
  padding-inline: var(--space-4);
  position: relative;
  z-index: 1;
}

.process-line-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-5);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.bg-navy .process-line-number {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--navy);
}

.process-line-title {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-2);
}

.process-line-step p {
  font-size: var(--fs-small);
  color: var(--text-lighter);
  line-height: var(--lh-normal);
}

.bg-navy .process-line-step p { color: rgba(255, 255, 255, .6); }


/* ─── Dark Feature Section ────────────────────────────────────
   Enhanced navy sections for visual rhythm breaks.
   .section-dark adds a subtle gold accent line at top. */
.section-dark {
  background: var(--navy);
  color: var(--white);
  position: relative;
}

.section-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 40%, transparent 100%);
}

.section-dark .section-heading { color: var(--white); }
.section-dark .section-label { color: var(--gold-light); }
.section-dark .prose { color: rgba(255, 255, 255, .75); }
.section-dark .prose strong { color: var(--white); }
.section-dark .card { background: var(--navy-light); border-color: rgba(255,255,255,.1); }
.section-dark .card:hover { border-color: var(--gold); }
.section-dark .card h3 { color: var(--white); }
.section-dark .card p { color: rgba(255,255,255,.65); }


/* ─── Metric Strip ────────────────────────────────────────────
   Horizontal bar of 3-4 proof metrics. Restrained use. */
.metric-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.metric-strip-item {
  padding: var(--space-8) var(--space-6);
  text-align: center;
  border-right: 1px solid var(--gray-200);
}

.metric-strip-item:last-child { border-right: none; }

.metric-strip-number {
  display: block;
  font-size: clamp(1.75rem, 1.5rem + 1.2vw, 2.5rem);
  font-weight: var(--fw-bold);
  color: var(--navy);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.metric-strip-label {
  font-size: var(--fs-small);
  color: var(--text-lighter);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
}

.bg-navy .metric-strip { border-color: rgba(255,255,255,.15); }
.bg-navy .metric-strip-item { border-color: rgba(255,255,255,.15); }
.bg-navy .metric-strip-number { color: var(--gold-light); }
.bg-navy .metric-strip-label { color: rgba(255,255,255,.5); }


/* ─── Process Circles ─────────────────────────────────────────
   For long/cyclical processes — large numbered circles. */
.process-circles {
  display: flex;
  justify-content: center;
  gap: var(--space-10);
  flex-wrap: wrap;
  padding-block: var(--space-8);
}

.process-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 160px;
}

.process-circle-ring {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--navy);
  margin-bottom: var(--space-4);
  transition: background var(--transition-base), color var(--transition-base);
}

.process-circle:hover .process-circle-ring {
  background: var(--gold);
  color: var(--white);
}

.bg-navy .process-circle-ring {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.bg-navy .process-circle:hover .process-circle-ring {
  background: var(--gold);
  color: var(--navy);
}

.process-circle-label {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
}


/* ─── Responsive: Design Patterns ─────────────────────────── */
@media (max-width: 1023px) {
  .editorial-split { grid-template-columns: 1fr; gap: var(--space-8); }
  .process-line { grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
  .process-line::before { display: none; }
}

@media (max-width: 767px) {
  /* Service page mobile */
  .service-page .hero-page { padding-block: calc(var(--header-h) + var(--space-6)) var(--space-6); }
  .service-page .section { padding-block: var(--space-8); }
  .sv-split { grid-template-columns: 1fr; gap: var(--space-8); }
  .sv-split-left { position: static; }
  .sv-split-right { padding: var(--space-6); }
  .sv-diagram { margin-top: var(--space-6); padding-top: var(--space-5); }
  .sv-diagram svg { max-height: 280px; }
  .sv-feat { grid-template-columns: 1.75rem 1fr; gap: var(--space-2); padding: var(--space-3) 0; }
  .sv-feat-num { font-size: 0.6875rem; }
  .sv-produces-items { gap: var(--space-2) var(--space-3); }
  .sv-produces-item { font-size: 0.75rem; }
  .sol-approach { max-width: none; }
  .sol-ribbon { gap: var(--space-2); }
  .sol-ribbon-step { font-size: 0.625rem; padding: 6px 8px; }
  .sol-framework { grid-template-columns: 1fr; }
  .sol-stages { grid-template-columns: repeat(2, 1fr); }
  .sol-compare { grid-template-columns: 1fr; gap: var(--space-4); }
  .sol-layers .sol-layer,
  .sol-layers .sol-layer:first-child,
  .sol-layers .sol-layer:nth-child(2),
  .sol-layers .sol-layer:nth-child(3),
  .sol-layers .sol-layer:nth-child(4),
  .sol-layers .sol-layer:nth-child(5),
  .sol-layers .sol-layer:nth-child(6),
  .sol-layers .sol-layer:last-child { width: 100%; }
  .sol-hub { flex-direction: column; }
  .sol-hub-center { width: 110px; height: 110px; }
  .service-page .cta-banner { padding-block: var(--space-10); }

  .process-line { grid-template-columns: 1fr; }
  .process-line-step { text-align: left; display: flex; gap: var(--space-4); align-items: flex-start; }
  .process-line-number { flex-shrink: 0; }
  .problem-statement { font-size: 1.375rem; max-width: none; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .metric-strip-item { border-right: none; }
  .metric-strip-item:nth-child(odd) { border-right: 1px solid var(--gray-200); }
  .process-circles { gap: var(--space-6); }
  .process-circle { max-width: 120px; }
  .process-circle-ring { width: 4rem; height: 4rem; font-size: var(--fs-h4); }
}


/* ===================================================================
   INSIGHTS — EDITORIAL COMPONENTS
   ===================================================================
   Uses the same design tokens as the rest of the site:
   fonts  → --font-heading (Neue Haas), --font-body (Avenir/Inter)
   colors → --text, --text-light, --text-lighter, --navy, --gold
   radius → --radius-xs (2px cards), --radius-full (pills)
   timing → --transition-base (250ms ease)
   =================================================================== */

/* --- Navy background prose (design-system gap fill) --- */
.bg-navy .prose { color: rgba(255, 255, 255, .75); }
.bg-navy .prose strong { color: var(--white); }
.bg-navy .prose a { color: var(--gold-light); }

/* --- Insights section intro --- */
.ins-intro {
  max-width: 680px;
  font-size: 1.0625rem;
  line-height: var(--lh-body);
  color: var(--text-light);
}
.ins-intro p + p { margin-top: var(--space-4); }

/* --- Featured editorial card --- */
.ins-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  padding: var(--space-8);
  background: var(--navy);
  border-radius: var(--radius-xs);
  color: var(--white);
  text-decoration: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.ins-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.ins-featured-label {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
}
.ins-featured h2,
.ins-featured h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1rem + 0.6vw, 1.5rem);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
  margin-bottom: var(--space-4);
  margin-top: 0;
  max-width: none;
}
.ins-featured p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255,255,255,.75);
}
.ins-featured .btn { margin-top: var(--space-5); }
.ins-featured-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}
.ins-featured-visual .sol-ribbon,
.ins-featured-visual .sol-stages,
.ins-featured-visual .sol-framework,
.ins-featured-visual .sol-layers {
  font-size: 0.8125rem;
  width: 100%;
}
/* Framework items inside navy featured card */
.ins-featured-visual .sol-framework > span {
  padding: var(--space-2) var(--space-4);
  border-left: 2px solid var(--gold);
  color: rgba(255, 255, 255, .85);
  font-weight: var(--fw-semibold);
}
/* Layer pyramid inside navy featured card */
.ins-featured-visual .sol-layer {
  color: rgba(255, 255, 255, .85);
  border-color: rgba(255, 255, 255, .2);
}
.ins-featured-visual .sol-layer:first-child {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
}

/* --- Topic tag pills --- */
.ins-topics {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.ins-topic {
  display: inline-block;
  padding: 6px 16px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: var(--fw-semibold);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-light);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: border-color var(--transition-base), color var(--transition-base), background var(--transition-base);
}
.ins-topic:hover {
  border-color: var(--gold);
  color: var(--navy);
  background: rgba(201,165,78,.08);
}

/* --- Report / resource card --- */
.ins-report {
  display: block;
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xs);
  text-decoration: none;
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}
.ins-report:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.ins-report-type {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
}
.ins-report h3 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: var(--fw-bold);
  color: var(--navy);
  margin-bottom: var(--space-3);
  line-height: var(--lh-heading);
}
.ins-report p {
  font-size: 0.875rem;
  line-height: var(--lh-body);
  color: var(--text-light);
}

/* --- Event timeline entry --- */
.ins-event {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--gray-200);
}
.ins-event:last-child { border-bottom: none; }
.ins-event-date {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: var(--fw-bold);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.4;
}
.ins-event-type {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-lighter);
  margin-bottom: var(--space-2);
}
.ins-event h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: var(--fw-bold);
  color: var(--navy);
  margin-bottom: var(--space-1);
}
.ins-event p {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* --- Perspective essay card --- */
.ins-essay {
  display: block;
  padding: var(--space-6);
  border-left: 3px solid var(--gold);
  background: var(--white);
  text-decoration: none;
  transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}
.ins-essay:hover {
  background: var(--off-white);
  border-color: var(--gold-dark);
  box-shadow: 0 2px 8px rgba(11,26,46,.06);
}
.ins-essay h3 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: var(--fw-bold);
  color: var(--navy);
  margin-bottom: var(--space-2);
  line-height: var(--lh-heading);
}
.ins-essay p {
  font-size: 0.875rem;
  line-height: var(--lh-body);
  color: var(--text-light);
}

/* --- Essay grid (stacked single-column) --- */
.ins-essay-grid {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-8);
}

/* --- Case study snapshot card --- */
.ins-case {
  display: block;
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xs);
  text-decoration: none;
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}
.ins-case:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.ins-case-meta {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}
.ins-case-tag {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--gold);
}
.ins-case h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: var(--fw-bold);
  color: var(--navy);
  margin-bottom: var(--space-3);
  line-height: var(--lh-heading);
}
.ins-case p {
  font-size: 0.875rem;
  line-height: var(--lh-body);
  color: var(--text-light);
}

/* --- Disclosure notice --- */
.ins-disclosure {
  font-size: var(--fs-small);
  opacity: 0.8;
}

/* --- Process number small variant (newsletter) --- */
.process-number--sm {
  font-size: var(--fs-body) !important;
}

/* --- Insights section spacing --- */
.ins-section-top { margin-top: var(--space-8); }

/* --- Insights responsive --- */
@media (max-width: 768px) {
  .ins-featured { grid-template-columns: 1fr; }
  .ins-featured-visual { display: none; }
  .ins-event { grid-template-columns: 60px 1fr; gap: var(--space-3); }
}


/* ================================================================
   HOMEPAGE REDESIGN — Section-specific styles
   ================================================================ */

/* --- Homepage global overrides --- */
/* Smaller section headings + breathing room below */
body:not(.service-page) .hp-who .section-heading,
body:not(.service-page) .hp-work .section-heading,
body:not(.service-page) .hp-adoption .section-heading,
body:not(.service-page) .hp-lifecycle .section-heading,
body:not(.service-page) .hp-integration .section-heading,
body:not(.service-page) .hp-practice .section-heading,
body:not(.service-page) .hp-tech-decision .section-heading,
body:not(.service-page) .hp-problems .section-heading,
body:not(.service-page) .hp-insights .section-heading {
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);  /* 22→30px */
  margin-bottom: var(--space-6);
}
/* Hero subtext smaller */
.hero-home p {
  font-size: var(--fs-small);
  max-width: 520px;
}
/* Smaller body text across all homepage sections */
.hp-who .prose,
.hp-work .prose,
.hp-adoption .prose,
.hp-integration .prose,
.hp-tech-decision .prose,
.hp-lifecycle .section-subheading,
.hp-practice .section-subheading {
  font-size: var(--fs-small);
}

/* --- S2: Who Crestpoint Is --- */
.hp-who-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.hp-who-content .section-heading {
  max-width: 18ch;
}
.hp-who-pillars {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-2) var(--space-3);
  margin-top: var(--space-8);
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--gold-dark);
}
.hp-image-placeholder {
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
  border-radius: var(--radius-xs);
  overflow: hidden;
}
.hp-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-who-annotations {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.hp-who-annotations span {
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--text-lighter);
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xs);
}

/* --- S3: Start With the Work --- */
.hp-work-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.hp-work-layout--3col {
  grid-template-columns: 0.65fr 1.1fr 0.7fr;
  gap: var(--space-10);
}
.hp-work-layout--3col .hp-work-visual .hp-image-placeholder {
  aspect-ratio: 3 / 4;
}
.hp-work-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-work-maxim {
  margin-top: var(--space-8);
  font-size: var(--fs-lead);
  font-weight: var(--fw-semibold);
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding-left: var(--space-6);
  line-height: var(--lh-normal);
}
.hp-diagram-work {
  max-width: 380px;
  margin-inline: auto;
}

/* --- S4: Adoption --- */
.hp-adoption-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.hp-adoption-statement {
  margin-top: var(--space-8);
  font-size: var(--fs-lead);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,.9);
  border-left: 3px solid var(--gold);
  padding-left: var(--space-6);
  line-height: var(--lh-normal);
}
/* Adoption ascent curve */
.hp-adopt-curve {
  max-width: 480px;
  margin-inline: auto;
}
.hp-adopt-curve svg {
  display: block;
}

.hp-adopt-progression {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: var(--space-8);
}
.hp-adopt-progression::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(201,165,78,0.2));
}
.hp-adopt-step {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  position: relative;
}
.hp-adopt-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(201,165,78,0.4);
  background: #1A2F4A;
  position: absolute;
  left: calc(-1 * var(--space-8));
  flex-shrink: 0;
}
.hp-adopt-step--active .hp-adopt-dot {
  background: var(--gold);
  border-color: var(--gold);
}
.hp-adopt-step--final .hp-adopt-dot {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,165,78,0.2);
}
.hp-adopt-label {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: rgba(255,255,255,.9);
  letter-spacing: var(--ls-heading);
}
.hp-adopt-step--active .hp-adopt-label,
.hp-adopt-step--final .hp-adopt-label {
  color: var(--gold-light);
}
.hp-adopt-interventions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-8);
  padding-left: var(--space-8);
}
.hp-adopt-interventions span {
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: rgba(255,255,255,.4);
  padding: var(--space-1) var(--space-3);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xs);
}

/* --- S5: Direction > Execution > Value (2-col layout) --- */
.hp-journey-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
  margin-top: var(--space-12);
}
.hp-journey-image .hp-image-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xs);
  overflow: hidden;
}
.hp-journey-image .hp-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-journey-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.hp-journey-text p {
  font-size: var(--fs-small);
  color: var(--text-light);
  line-height: 1.7;
}
.hp-journey-diagram {
  max-width: 320px;
  margin-inline: auto;
}
.hp-journey-diagram .hp-cycle-svg {
  width: 100%;
  height: auto;
}
.hp-journey-diagram .hp-ribbon-layer {
  margin-top: var(--space-4);
}
.hp-ribbon-layer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--text-lighter);
}
.hp-ribbon-layer-sep {
  color: var(--gold);
}

/* --- S6: End-to-End AI Integration --- */
.hp-integration-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-16);
  align-items: center;
}
.hp-diagram-integration {
  width: 320px;
  max-width: 100%;
}

/* --- S7: Practice-Level AI (constellation map) --- */
.hp-practice--bg {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.hp-practice-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hp-practice-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hp-practice--bg .container {
  position: relative;
  z-index: 1;
}
.hp-practice-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-sm, 8px);
  padding: var(--space-16) var(--space-12);
  max-width: 960px;
  margin-inline: auto;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}
.hp-practice-map {
  position: relative;
  max-width: 800px;
  margin-inline: auto;
  padding: var(--space-6) 0;
}
.hp-practice-center {
  display: none;
}
.hp-practice-center span {
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--gold);
}
.hp-practice-ring {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  max-width: 700px;
  margin-inline: auto;
}
.hp-practice-node {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4) var(--space-3);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xs);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}
.hp-practice-node:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--gold-dark);
}
.hp-practice .section-header {
  margin-bottom: var(--space-8);
}
.hp-practice-opportunities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.hp-practice-opportunities span {
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--text-lighter);
  padding: var(--space-1) var(--space-4);
  border-bottom: 2px solid var(--gold);
}

/* --- S8: The Technology Decision --- */
.hp-tech-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.hp-diagram-tech {
  max-width: 420px;
  margin-inline: auto;
}
.hp-tech-factors {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-8);
}
.hp-tech-factors span {
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  color: var(--text-light);
  padding: var(--space-1) var(--space-3);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xs);
}

/* --- S9: Common Client Problems --- */
.hp-problems-header {
  margin-bottom: var(--space-12);
}
.hp-problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-1);
}
.hp-problem {
  padding: var(--space-5) var(--space-6);
  border-left: 2px solid rgba(201,165,78,0.3);
  transition: border-color var(--transition-base);
}
.hp-problem:hover {
  border-left-color: var(--gold);
}
.hp-problem-quote {
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  color: var(--white);
  font-style: italic;
  line-height: var(--lh-normal);
  margin-bottom: var(--space-2);
}
.hp-problem-response {
  font-size: var(--fs-label);
  color: rgba(255,255,255,.45);
  line-height: var(--lh-body);
}

/* --- S10: Insights editorial --- */
.hp-insights-editorial {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-10);
  align-items: start;
}
.hp-insights-featured {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xs);
  overflow: hidden;
}
.hp-insights-featured-visual {
  aspect-ratio: 16 / 9;
  background: var(--gray-100);
  overflow: hidden;
}
.hp-insights-featured-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-insights-featured-content {
  padding: var(--space-8);
}
.hp-insights-featured-content h3 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  margin: var(--space-4) 0 var(--space-3);
  line-height: var(--lh-heading);
}
.hp-insights-featured-content p {
  color: var(--text-light);
  font-size: var(--fs-body);
  margin-bottom: var(--space-6);
}
.hp-insights-categories {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hp-insights-cat {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  border-bottom: 1px solid var(--gray-200);
  transition: background var(--transition-base);
}
.hp-insights-cat:first-child {
  border-top: 1px solid var(--gray-200);
}
.hp-insights-cat:hover {
  background: var(--off-white);
}
.hp-insights-cat h4 {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-1);
}
.hp-insights-cat p {
  font-size: var(--fs-small);
  color: var(--text-lighter);
}
.hp-insights-cat .card-arrow {
  padding-top: var(--space-3);
  font-size: var(--fs-body);
}

/* --- Newsletter module --- */
.hp-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  padding: var(--space-8);
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xs);
}
.hp-newsletter h3 {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-1);
}
.hp-newsletter p {
  font-size: var(--fs-small);
  color: var(--text-lighter);
}
.hp-newsletter-form {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}
.hp-newsletter-form .form-input {
  width: 260px;
  padding: .75rem 1rem;
  font-size: var(--fs-small);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-xs);
  background: var(--white);
  color: var(--text);
}
.hp-newsletter-form .form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: var(--shadow-focus);
}
.hp-newsletter-form .btn {
  padding: .75rem 1.5rem;
  font-size: var(--fs-small);
}


/* --- Section background images (Adoption, Problems, CTA) --- */
.hp-section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hp-section-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: grayscale(30%);
}
.hp-adoption,
.hp-problems,
.cta-banner {
  position: relative;
  overflow: hidden;
}
.hp-adoption > .container,
.hp-problems > .container,
.cta-banner > .container {
  position: relative;
  z-index: 1;
}

/* --- S3: Work — image block left + diagram below --- */
.hp-work-visual .hp-image-placeholder {
  aspect-ratio: 4 / 3;
}
.hp-work-diagram-row {
  margin-top: var(--space-10);
  display: flex;
  justify-content: center;
}
.hp-work-diagram-row .hp-diagram-work {
  max-width: 320px;
}

/* --- S7: Practice — wide image row --- */
.hp-practice-image-row {
  margin-bottom: var(--space-10);
}
.hp-practice-image-row .hp-image-placeholder {
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-xs);
}

/* --- Homepage responsive --- */
@media (max-width: 1023px) {
  .hp-who-layout,
  .hp-work-layout,
  .hp-adoption-layout,
  .hp-integration-layout,
  .hp-tech-layout {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .hp-practice-image-row .hp-image-placeholder {
    aspect-ratio: 16 / 9;
  }
  .hp-work-visual .hp-image-placeholder {
    aspect-ratio: 1 / 1;
    max-width: 280px;
    margin-inline: auto;
  }
  .hp-work-layout--3col .hp-work-visual .hp-image-placeholder {
    aspect-ratio: 4 / 3;
    max-width: 320px;
  }
  .hp-who-visual .hp-image-placeholder {
    aspect-ratio: 1 / 1;
    max-width: 300px;
    margin-inline: auto;
  }
  .hp-who-layout > * {
    min-width: 0;
  }
  .hp-who-pillars {
    flex-wrap: wrap;
  }
  .hp-who-annotations {
    max-width: 100%;
  }
  .hp-practice-card {
    padding: var(--space-10) var(--space-6);
  }
  .hp-integration-layout {
    direction: ltr;
  }
  .hp-diagram-integration,
  .hp-diagram-work,
  .hp-diagram-tech {
    max-width: 340px;
    margin-inline: auto;
  }
  .hp-insights-editorial {
    grid-template-columns: 1fr;
  }
  .hp-practice-ring {
    grid-template-columns: repeat(2, 1fr);
  }
  .hp-practice-center {
    display: none;
  }
}

@media (max-width: 767px) {
  .hp-problems-grid {
    grid-template-columns: 1fr;
  }
  .hp-journey-2col {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .hp-journey-image .hp-image-placeholder {
    aspect-ratio: 16 / 9;
    max-width: 100%;
  }
  .hp-journey-diagram {
    max-width: 280px;
  }
  .hp-ribbon-layer {
    flex-direction: column;
    gap: var(--space-1);
  }
  .hp-ribbon-layer-sep {
    transform: rotate(90deg);
  }
  .hp-journey-cycle {
    margin-top: var(--space-6);
  }
  .hp-cycle-svg {
    max-width: 320px;
  }
  .hp-ribbon-layer {
    flex-direction: column;
    gap: var(--space-1);
  }
  .hp-ribbon-layer-sep {
    transform: rotate(90deg);
  }
  .hp-newsletter {
    flex-direction: column;
    align-items: stretch;
  }
  .hp-newsletter-form {
    flex-direction: column;
  }
  .hp-newsletter-form .form-input {
    width: 100%;
  }
  .hp-practice-ring {
    grid-template-columns: 1fr 1fr;
  }
}


/* ================================================================
   ARTICLE TEMPLATE — News & Analysis articles
   ================================================================ */
.article-container {
  max-width: 740px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--text-lighter);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: var(--space-8);
}
.article-hero {
  margin-bottom: var(--space-10);
  border-radius: var(--radius-xs);
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 16 / 9;
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Article body */
.article-body h2 {
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: var(--fw-semibold);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}
.article-body h3 {
  font-size: 1.1rem;
  font-weight: var(--fw-semibold);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}
.article-body p {
  margin-bottom: var(--space-4);
  line-height: var(--lh-body);
}
.article-body ul,
.article-body ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}
.article-body li {
  margin-bottom: var(--space-1);
  line-height: 1.6;
}

/* The Crestpoint Take — branded editorial module */
.article-take {
  margin: var(--space-12) 0;
  padding: var(--space-8) 0;
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid var(--gray-200);
}
.article-take-label {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-dark);
  margin-bottom: var(--space-6);
}
.article-take p {
  font-size: 1.05rem;
  line-height: 1.75;
}
.article-take h3 {
  font-size: 1.1rem;
  font-weight: var(--fw-semibold);
  color: var(--navy);
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}

/* Article stack diagram (vertical flow) */
.article-stack {
  margin: var(--space-6) 0;
  padding: var(--space-6);
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xs);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--text);
}
.article-stack span {
  display: block;
  padding: var(--space-2) 0;
}
.article-stack .stack-arrow {
  color: var(--gold);
  font-size: 16px;
  padding: var(--space-1) 0;
}

/* Related content */
.article-related {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--gray-200);
}
.article-related h3 {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-lighter);
  margin-bottom: var(--space-4);
}
.article-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.article-related-links a {
  font-size: var(--fs-small);
  color: var(--gold-dark);
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xs);
  transition: border-color var(--transition-base), color var(--transition-base);
  text-decoration: none;
}
.article-related-links a:hover {
  border-color: var(--gold);
  color: var(--navy);
}

/* Article newsletter CTA */
.article-newsletter {
  margin-top: var(--space-10);
  padding: var(--space-8);
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xs);
  text-align: center;
}
.article-newsletter h3 {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-2);
}
.article-newsletter p {
  font-size: var(--fs-small);
  color: var(--text-lighter);
  margin-bottom: var(--space-6);
}
.article-newsletter-form {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  max-width: 400px;
  margin-inline: auto;
}
.article-newsletter-form input {
  flex: 1;
  padding: .75rem 1rem;
  font-size: var(--fs-small);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-xs);
  background: var(--white);
  color: var(--text);
}
.article-newsletter-form input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: var(--shadow-focus);
}

@media (max-width: 767px) {
  .article-newsletter-form {
    flex-direction: column;
  }
}

/* ───────────────────────────────────────────
   Reusable Article Cards (na-card)
   Used on: news-analysis, homepage, insights
   ─────────────────────────────────────────── */
.na-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}
.na-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xs);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.na-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.na-card-image {
  aspect-ratio: 16 / 9;
  background: var(--gray-100);
  overflow: hidden;
}
.na-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.na-card:hover .na-card-image img {
  transform: scale(1.03);
}
.na-card-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.na-card-category {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  margin-bottom: var(--space-2);
}
.na-card-title {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: var(--space-3);
}
.na-card-excerpt {
  font-size: var(--fs-small);
  color: var(--text-lighter);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--space-4);
}
.na-card-meta {
  font-size: var(--fs-label);
  color: var(--gray-400);
}

@media (max-width: 767px) {
  .na-card-grid {
    grid-template-columns: 1fr;
  }
}
