/* ============================================================================
   CLARITY COUNSELLING v2 — Main Stylesheet
   Design system: dual-gateway architecture, Lora + Nunito typography
   Brand: warmth + clarity, with clear Therapy (blue) and Training (gold) paths
   ============================================================================ */

/* ---- DESIGN TOKENS ---- */
:root {
  /* Brand palette - confirmed with Nemo */
  --c-blue: #0E83C8;
  --c-blue-mid: #1B9AD4;
  --c-blue-light: #73C7E1;
  --c-blue-pale: #D6EEF7;
  --c-blue-wash: #EBF5FA;

  --c-gold: #E4A021;
  --c-gold-light: #F5DFA0;
  --c-gold-pale: #FDF3DC;

  --c-olive: #647E1D;
  --c-olive-light: #8BA63A;
  --c-olive-pale: #E8EFD4;

  --c-teal: #1A3236;
  --c-teal-mid: #2E4A50;

  /* Neutrals (the trio we agreed on) */
  --c-warm-white: #FAFBFC;
  --c-mist: #F0F4F7;
  --c-charcoal: #2C3E50;
  --c-muted: #6B8085;
  --c-border: #D4DFE2;
  --c-white: #FFFFFF;

  /* Path-specific accent variables - flips based on context */
  --path-primary: var(--c-blue);
  --path-light: var(--c-blue-light);
  --path-pale: var(--c-blue-pale);
  --path-wash: var(--c-blue-wash);

  /* Typography */
  --font-display: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Type scale (modular, fluid) */
  --fs-xs: 0.8125rem;     /* 13px */
  --fs-sm: 0.9375rem;     /* 15px */
  --fs-base: 1.0625rem;   /* 17px - readable body */
  --fs-md: 1.1875rem;     /* 19px */
  --fs-lg: 1.4375rem;     /* 23px */
  --fs-xl: 1.875rem;      /* 30px */
  --fs-2xl: 2.5rem;       /* 40px */
  --fs-3xl: 3.25rem;      /* 52px */
  --fs-hero: clamp(2.5rem, 5.5vw, 4.25rem);

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  /* Layout */
  --container-narrow: 720px;
  --container-default: 1100px;
  --container-wide: 1280px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(26, 50, 54, 0.04), 0 2px 6px rgba(26, 50, 54, 0.04);
  --shadow-md: 0 2px 8px rgba(26, 50, 54, 0.06), 0 8px 24px rgba(26, 50, 54, 0.08);
  --shadow-lg: 0 4px 16px rgba(26, 50, 54, 0.08), 0 24px 48px rgba(26, 50, 54, 0.12);
  --shadow-glow-blue: 0 8px 32px rgba(14, 131, 200, 0.18);
  --shadow-glow-gold: 0 8px 32px rgba(228, 160, 33, 0.18);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Path overrides - apply .training-path class to swap palette */
.training-path,
body.path-training {
  --path-primary: var(--c-gold);
  --path-light: var(--c-gold-light);
  --path-pale: var(--c-gold-pale);
  --path-wash: var(--c-gold-pale);
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--c-charcoal);
  background: var(--c-warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--path-primary);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--c-teal);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--c-teal);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 600;
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-md); font-weight: 700; }
h6 { font-size: var(--fs-base); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }

p {
  margin-bottom: var(--sp-5);
}

p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--path-primary);
  margin-bottom: var(--sp-4);
}

.lede {
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--c-teal-mid);
  font-weight: 400;
}

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  max-width: var(--container-default);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

section {
  padding: var(--sp-9) 0;
}

.section--tight { padding: var(--sp-7) 0; }
.section--loose { padding: var(--sp-10) 0; }

.section--mist { background: var(--c-mist); }
.section--teal { background: var(--c-teal); color: var(--c-mist); }
.section--teal h1, .section--teal h2, .section--teal h3 { color: var(--c-white); }
.section--wash { background: var(--path-wash); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background: var(--path-primary);
  color: var(--c-white);
}

.btn--primary:hover {
  background: var(--c-teal);
  color: var(--c-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: transparent;
  color: var(--path-primary);
  border-color: var(--path-primary);
}

.btn--secondary:hover {
  background: var(--path-primary);
  color: var(--c-white);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--c-teal);
  border-color: var(--c-border);
}

.btn--ghost:hover {
  border-color: var(--c-teal);
  background: var(--c-white);
}

.btn--white {
  background: var(--c-white);
  color: var(--c-teal);
}

.btn--white:hover {
  background: var(--path-light);
  color: var(--c-teal);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 18px 36px;
  font-size: var(--fs-base);
}

.btn--sm {
  padding: 10px 20px;
  font-size: var(--fs-xs);
}

.btn-group {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 251, 252, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-border);
  transition: all 0.25s var(--ease);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  max-width: var(--container-wide);
  margin: 0 auto;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.site-header__logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.site-header__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--c-teal);
  line-height: 1.15;
}

.site-header__name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-top: 2px;
}

/* Path switcher in header */
.path-switcher {
  display: flex;
  background: var(--c-mist);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 2px;
}

.path-switcher__btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-muted);
  transition: all 0.2s var(--ease);
}

.path-switcher__btn--active.therapy-path {
  background: var(--c-blue);
  color: var(--c-white);
  box-shadow: var(--shadow-sm);
}

.path-switcher__btn--active.training-path {
  background: var(--c-gold);
  color: var(--c-white);
  box-shadow: var(--shadow-sm);
}

.path-switcher__btn:hover:not(.path-switcher__btn--active) {
  color: var(--c-teal);
}

/* Main nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: var(--sp-5);
  align-items: center;
}

.main-nav a {
  color: var(--c-teal);
  font-size: var(--fs-sm);
  font-weight: 600;
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--path-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: transparent;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--c-teal);
  border-radius: 1px;
  transition: all 0.25s var(--ease);
}

/* ---- HERO: DUAL GATEWAY ---- */
.gateway-hero {
  position: relative;
  min-height: 88vh;
  background: var(--c-warm-white);
  padding: var(--sp-9) 0 var(--sp-8);
  overflow: hidden;
}

.gateway-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 700px 500px at 15% 30%, rgba(115, 199, 225, 0.18), transparent 60%),
    radial-gradient(ellipse 600px 400px at 85% 70%, rgba(228, 160, 33, 0.12), transparent 60%);
  pointer-events: none;
}

.gateway-hero__intro {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--sp-8);
  padding: 0 var(--sp-5);
}

.gateway-hero__intro h1 {
  font-size: var(--fs-hero);
  margin-bottom: var(--sp-5);
  letter-spacing: -0.02em;
}

.gateway-hero__intro h1 em {
  font-style: italic;
  color: var(--c-blue);
  font-weight: 500;
}

.gateway-hero__intro .lede {
  font-size: var(--fs-md);
  color: var(--c-teal-mid);
  max-width: 560px;
  margin: 0 auto;
}

.gateway-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

.gateway-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--sp-7);
  border-radius: var(--radius-xl);
  min-height: 460px;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  cursor: pointer;
  text-decoration: none;
}

.gateway-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(circle, currentColor 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.gateway-card--therapy {
  background: linear-gradient(155deg, var(--c-blue) 0%, var(--c-blue-mid) 50%, #0a6ba4 100%);
  color: var(--c-white);
}

.gateway-card--training {
  background: linear-gradient(155deg, var(--c-gold) 0%, #c8881a 100%);
  color: var(--c-white);
}

.gateway-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.gateway-card__eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.85;
  margin-bottom: var(--sp-4);
  position: relative;
}

.gateway-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  color: var(--c-white);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: var(--sp-4);
  position: relative;
  letter-spacing: -0.01em;
}

.gateway-card__lede {
  font-size: var(--fs-md);
  line-height: 1.55;
  opacity: 0.92;
  margin-bottom: var(--sp-6);
  position: relative;
  max-width: 32ch;
}

.gateway-card__list {
  list-style: none;
  margin-bottom: var(--sp-6);
  position: relative;
}

.gateway-card__list li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: var(--fs-sm);
  opacity: 0.95;
}

.gateway-card__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  font-weight: 700;
}

.gateway-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: var(--fs-base);
  position: relative;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  align-self: flex-start;
  transition: all 0.25s var(--ease);
  color: var(--c-white);
}

.gateway-card__cta:hover {
  background: var(--c-white);
  color: var(--c-teal);
  transform: translateX(4px);
}

.gateway-card__cta-arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

.gateway-card:hover .gateway-card__cta-arrow {
  transform: translateX(4px);
}

/* ---- THIRD WAY (B2B) ---- */
.third-way {
  background: var(--c-mist);
  padding: var(--sp-7) 0;
  text-align: center;
}

.third-way__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

.third-way h3 {
  margin-bottom: var(--sp-3);
}

.third-way p {
  color: var(--c-muted);
  margin-bottom: var(--sp-5);
}

/* ---- HUB PAGE PATTERNS ---- */
.hub-hero {
  padding: var(--sp-9) 0 var(--sp-7);
  position: relative;
  overflow: hidden;
}

.hub-hero--therapy {
  background: linear-gradient(160deg, var(--c-blue-wash) 0%, var(--c-warm-white) 100%);
}

.hub-hero--training {
  background: linear-gradient(160deg, var(--c-gold-pale) 0%, var(--c-warm-white) 100%);
}

.hub-hero--organizations {
  background: linear-gradient(160deg, var(--c-olive-pale) 0%, var(--c-warm-white) 100%);
}

.hub-hero__inner {
  position: relative;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

.hub-hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  margin-bottom: var(--sp-5);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hub-hero h1 em {
  font-style: italic;
  color: var(--path-primary);
  font-weight: 500;
}

.hub-hero .lede {
  font-size: var(--fs-md);
  color: var(--c-teal-mid);
  margin-bottom: var(--sp-6);
  max-width: 60ch;
}

/* ---- CARD GRIDS ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-5);
}

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

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

.card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  border: 1px solid var(--c-border);
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

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

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--path-pale);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--sp-4);
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-3);
}

.card__body {
  color: var(--c-teal-mid);
  flex-grow: 1;
  margin-bottom: var(--sp-5);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--path-primary);
  font-size: var(--fs-sm);
  margin-top: auto;
}

.card__link:hover {
  gap: 10px;
}

/* Pain-point card variant - for "feels like" sections */
.pain-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  border-left: 4px solid var(--path-primary);
  box-shadow: var(--shadow-sm);
}

.pain-card h4 {
  font-family: var(--font-display);
  margin-bottom: var(--sp-3);
}

.pain-card p {
  color: var(--c-teal-mid);
  font-size: var(--fs-sm);
}

/* ---- BLOG ARTICLES ---- */
.article-hero {
  padding: var(--sp-8) 0 var(--sp-6);
  background: var(--c-mist);
}

.article-hero__inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

.article-meta {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
  font-size: var(--fs-xs);
  color: var(--c-muted);
  margin-bottom: var(--sp-4);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.article-meta .category-badge {
  background: var(--c-blue-pale);
  color: var(--c-blue);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
}

.article-hero h1 {
  font-size: clamp(1.875rem, 4vw, 2.875rem);
  line-height: 1.2;
  margin-bottom: var(--sp-5);
  letter-spacing: -0.015em;
}

.article-body {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: var(--sp-7) var(--sp-5);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--c-charcoal);
}

.article-body h2 {
  font-size: 1.875rem;
  margin: var(--sp-7) 0 var(--sp-4);
}

.article-body h3 {
  font-size: 1.4375rem;
  margin: var(--sp-6) 0 var(--sp-3);
}

.article-body p {
  margin-bottom: var(--sp-5);
}

.article-body ul,
.article-body ol {
  margin: 0 0 var(--sp-5) var(--sp-5);
}

.article-body li {
  margin-bottom: var(--sp-3);
}

.article-body blockquote {
  border-left: 4px solid var(--path-primary);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-mist);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--sp-6) 0;
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--c-teal);
}

.article-body a {
  color: var(--path-primary);
  border-bottom: 1px solid currentColor;
  font-weight: 600;
}

.article-body a:hover {
  background: var(--path-pale);
}

/* Reading progress bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(to right, var(--c-blue), var(--c-gold));
  z-index: 200;
  transition: width 0.1s linear;
  width: 0;
}

/* ---- LEAD MAGNETS ---- */
.lead-magnet {
  background: linear-gradient(135deg, var(--c-blue-wash) 0%, var(--c-blue-pale) 100%);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  margin: var(--sp-7) 0;
  position: relative;
  overflow: hidden;
}

.lead-magnet::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(228, 160, 33, 0.08);
}

.lead-magnet__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-white);
  color: var(--c-blue);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
  position: relative;
}

.lead-magnet h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-3);
  position: relative;
  max-width: 30ch;
}

.lead-magnet p {
  color: var(--c-teal-mid);
  margin-bottom: var(--sp-5);
  position: relative;
  max-width: 50ch;
}

.lead-magnet__form {
  display: flex;
  gap: 8px;
  position: relative;
  max-width: 480px;
}

.lead-magnet__form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-border);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  background: var(--c-white);
}

.lead-magnet__form input[type="email"]:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px var(--c-blue-pale);
}

.lead-magnet--training {
  background: linear-gradient(135deg, var(--c-gold-pale) 0%, var(--c-gold-light) 100%);
}

.lead-magnet--training .lead-magnet__eyebrow {
  color: var(--c-gold);
}

.lead-magnet__features {
  display: flex;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
  flex-wrap: wrap;
  position: relative;
}

.lead-magnet__features span {
  font-size: var(--fs-xs);
  color: var(--c-teal-mid);
  font-weight: 600;
}

.lead-magnet__features span::before {
  content: '✓ ';
  color: var(--c-olive);
  font-weight: 700;
}

/* ---- COURSE CTA INLINE ---- */
.course-cta {
  background: var(--c-teal);
  color: var(--c-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  margin: var(--sp-7) 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-5);
  align-items: center;
}

.course-cta h4 {
  color: var(--c-white);
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-2);
}

.course-cta p {
  color: var(--c-blue-light);
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

/* ---- AUTHOR / RELATED ---- */
.author-card {
  display: flex;
  gap: var(--sp-5);
  padding: var(--sp-6);
  background: var(--c-mist);
  border-radius: var(--radius-lg);
  margin: var(--sp-7) 0;
}

.author-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--path-primary);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
}

.related-posts {
  background: var(--c-mist);
  padding: var(--sp-8) 0;
}

.related-posts h3 {
  margin-bottom: var(--sp-6);
  text-align: center;
}

.post-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  border: 1px solid var(--c-border);
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.post-card__category {
  font-size: var(--fs-xs);
  color: var(--path-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-3);
}

.post-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  line-height: 1.3;
  margin-bottom: var(--sp-3);
  flex-grow: 1;
}

.post-card__title a {
  color: var(--c-teal);
}

.post-card__excerpt {
  font-size: var(--fs-sm);
  color: var(--c-teal-mid);
  margin-bottom: var(--sp-4);
}

.post-card__meta {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--c-border);
}

/* ---- BLOG ARCHIVE ---- */
.archive-hero {
  padding: var(--sp-8) 0 var(--sp-6);
  text-align: center;
  background: var(--c-mist);
}

.archive-filters {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
  padding: var(--sp-5) var(--sp-5);
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 73px;
  z-index: 50;
}

.archive-filters__btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-border);
  background: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-teal-mid);
  transition: all 0.2s var(--ease);
}

.archive-filters__btn:hover,
.archive-filters__btn--active {
  background: var(--c-teal);
  color: var(--c-white);
  border-color: var(--c-teal);
}

.archive-grid {
  padding: var(--sp-7) 0;
}

.archive-grid__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--sp-5);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--sp-5);
}

/* ---- COURSE PAGE ---- */
.course-detail {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--sp-7);
  max-width: var(--container-default);
  margin: 0 auto;
  padding: var(--sp-7) var(--sp-5);
}

.course-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-md);
}

.course-sidebar__price {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--c-teal);
  font-weight: 600;
  margin-bottom: var(--sp-2);
}

.course-sidebar__price small {
  font-size: 0.875rem;
  color: var(--c-muted);
  font-family: var(--font-body);
  font-weight: 400;
}

.course-sidebar__details {
  list-style: none;
  margin: var(--sp-5) 0;
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.course-sidebar__details li {
  padding: 6px 0;
  font-size: var(--fs-sm);
  display: flex;
  justify-content: space-between;
  gap: var(--sp-3);
}

.course-sidebar__details li strong {
  color: var(--c-teal);
}

/* ---- TESTIMONIALS ---- */
.testimonial {
  background: var(--c-white);
  padding: var(--sp-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: var(--c-teal);
  font-style: italic;
  margin-bottom: var(--sp-4);
}

.testimonial__quote::before {
  content: '"';
  font-size: 3rem;
  color: var(--path-primary);
  line-height: 0.5;
  display: block;
  margin-bottom: var(--sp-2);
}

.testimonial__author {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  font-weight: 600;
}

.testimonial__author strong {
  color: var(--c-teal);
  display: block;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--c-teal);
  color: var(--c-mist);
  padding: var(--sp-8) 0 var(--sp-5);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-6);
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--sp-5) var(--sp-6);
  border-bottom: 1px solid rgba(115, 199, 225, 0.18);
}

.site-footer h4 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-blue-light);
  margin-bottom: var(--sp-4);
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: var(--sp-3);
}

.site-footer a {
  color: var(--c-mist);
  font-size: var(--fs-sm);
  transition: color 0.2s var(--ease);
}

.site-footer a:hover {
  color: var(--c-blue-light);
}

.site-footer__brand p {
  color: rgba(240, 244, 247, 0.7);
  font-size: var(--fs-sm);
  line-height: 1.6;
  max-width: 32ch;
  margin-bottom: var(--sp-4);
}

.site-footer__newsletter {
  margin-top: var(--sp-4);
}

.site-footer__newsletter input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(115, 199, 225, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: var(--c-white);
  font-family: var(--font-body);
  margin-bottom: var(--sp-3);
}

.site-footer__newsletter input::placeholder {
  color: rgba(240, 244, 247, 0.5);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: var(--sp-5) var(--sp-5) 0;
  flex-wrap: wrap;
  gap: var(--sp-3);
  font-size: var(--fs-xs);
  color: rgba(240, 244, 247, 0.5);
}

/* ---- BREADCRUMBS ---- */
.breadcrumbs {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: var(--c-muted);
  margin-bottom: var(--sp-4);
}

.breadcrumbs a {
  color: var(--c-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--path-primary);
}

.breadcrumbs span {
  color: var(--c-border);
}

/* ---- CALLOUT / FAQ ---- */
.faq-item {
  border-bottom: 1px solid var(--c-border);
  padding: var(--sp-5) 0;
}

.faq-item summary {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--c-teal);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: var(--sp-3);
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--path-primary);
  transition: transform 0.2s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item__body {
  padding-top: var(--sp-3);
  color: var(--c-teal-mid);
  font-size: var(--fs-base);
  line-height: 1.7;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s var(--ease-out) both;
}

.fade-in-up--delay-1 { animation-delay: 0.1s; }
.fade-in-up--delay-2 { animation-delay: 0.2s; }
.fade-in-up--delay-3 { animation-delay: 0.3s; }
.fade-in-up--delay-4 { animation-delay: 0.4s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .gateway-grid {
    grid-template-columns: 1fr;
  }

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

  .course-detail {
    grid-template-columns: 1fr;
  }

  .course-sidebar {
    position: static;
  }

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

@media (max-width: 768px) {
  section {
    padding: var(--sp-7) 0;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: var(--c-white);
    flex-direction: column;
    align-items: stretch;
    padding: var(--sp-5);
    border-bottom: 1px solid var(--c-border);
    transform: translateY(-110%);
    transition: transform 0.3s var(--ease);
    z-index: 99;
    gap: var(--sp-3);
  }

  .main-nav.is-open {
    transform: translateY(0);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav li {
    border-bottom: 1px solid var(--c-border);
  }

  .main-nav a {
    display: block;
    padding: var(--sp-4) 0;
  }

  .path-switcher {
    align-self: stretch;
    justify-content: stretch;
  }

  .path-switcher__btn {
    flex: 1;
  }

  .gateway-card {
    min-height: 380px;
    padding: var(--sp-6);
  }

  .gateway-hero__intro h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .card-grid--3,
  .card-grid--2 {
    grid-template-columns: 1fr;
  }

  .course-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .author-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

  .lead-magnet__form {
    flex-direction: column;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.625rem; }
  h3 { font-size: 1.375rem; }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--sp-4);
  }

  .gateway-card {
    padding: var(--sp-5);
    min-height: 340px;
  }

  .article-body {
    padding: var(--sp-6) var(--sp-4);
    font-size: 1rem;
  }
}

/* ---- UTILITIES ---- */
.text-center { text-align: center; }
.text-blue { color: var(--c-blue); }
.text-gold { color: var(--c-gold); }
.text-teal { color: var(--c-teal); }
.italic { font-style: italic; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.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;
}

/* Print */
@media print {
  .site-header, .site-footer, .reading-progress, .lead-magnet, .course-cta {
    display: none;
  }
}

/* ============================================================
   ADDITIONAL COMPONENTS — Archive pagination, search, 404
   ============================================================ */

/* ---- Archive section wrapper ---- */
.archive-section {
	padding: var(--space-3xl) 0 var(--space-3xl);
	background: var(--color-bg);
}

.archive-section__inner {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--space-lg);
}

/* ---- Hub hero — articles variant ---- */
.hub-hero--articles {
	background: linear-gradient(160deg, var(--color-teal) 0%, #25444A 100%);
	color: #fff;
}

.hub-hero--articles .hub-hero__title,
.hub-hero--articles .hub-hero__lede,
.hub-hero--articles .eyebrow {
	color: #fff;
}

.hub-hero--articles .hub-hero__lede {
	color: rgba(255, 255, 255, 0.85);
}

.hub-hero--articles .breadcrumbs a,
.hub-hero--articles .breadcrumbs span {
	color: rgba(255, 255, 255, 0.7);
}

.hub-hero--articles .breadcrumbs a:hover {
	color: #fff;
}

/* ---- Post card link wrapper (full-card click) ---- */
.post-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.post-card__image {
	width: 100%;
	aspect-ratio: 3 / 2;
	background-size: cover;
	background-position: center;
	background-color: var(--color-mist);
	border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.post-card__image--placeholder {
	background: linear-gradient(135deg, var(--color-light-blue) 0%, var(--color-blue) 100%);
	opacity: 0.25;
}

.post-card__body {
	padding: var(--space-lg);
	display: flex;
	flex-direction: column;
	gap: var(--space-sm);
	flex-grow: 1;
}

.post-card__cta {
	margin-top: auto;
	font-weight: 600;
	color: var(--color-blue);
	font-size: 0.95rem;
}

.post-card:hover .post-card__cta {
	text-decoration: underline;
}

/* ---- Archive pagination ---- */
.archive-pagination {
	margin-top: var(--space-2xl);
	display: flex;
	justify-content: center;
}

.archive-pagination .nav-links {
	display: flex;
	gap: var(--space-xs);
	flex-wrap: wrap;
	justify-content: center;
}

.archive-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 var(--space-md);
	border-radius: var(--radius-md);
	background: var(--color-mist);
	color: var(--color-charcoal);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

.archive-pagination .page-numbers:hover {
	background: var(--color-blue);
	color: #fff;
}

.archive-pagination .page-numbers.current {
	background: var(--color-teal);
	color: #fff;
}

/* ---- Archive filters count badge ---- */
.archive-filters__count {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	background: rgba(14, 131, 200, 0.12);
	color: var(--color-blue);
	border-radius: 12px;
	font-size: 0.75rem;
	font-weight: 700;
}

.archive-filters__btn--active .archive-filters__count {
	background: rgba(255, 255, 255, 0.25);
	color: #fff;
}

/* ---- Archive empty state ---- */
.archive-empty {
	text-align: center;
	padding: var(--space-2xl) var(--space-lg);
	max-width: 600px;
	margin: 0 auto;
}

.archive-empty h2 {
	font-family: var(--font-display);
	font-size: 1.75rem;
	margin-bottom: var(--space-sm);
}

.archive-empty p {
	color: var(--color-charcoal);
	margin-bottom: var(--space-md);
}

.archive-empty__suggestions {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-xs);
	max-width: 320px;
	margin: var(--space-md) auto 0;
}

.archive-empty__suggestions a {
	display: block;
	padding: var(--space-sm) var(--space-md);
	background: var(--color-mist);
	color: var(--color-charcoal);
	border-radius: var(--radius-md);
	text-decoration: none;
	font-weight: 600;
	transition: background 0.2s;
}

.archive-empty__suggestions a:hover {
	background: var(--color-light-blue);
}

/* ---- Search form ---- */
.search-form {
	display: flex;
	gap: var(--space-sm);
	margin-top: var(--space-lg);
	max-width: 560px;
}

.search-form input[type="search"] {
	flex: 1;
	padding: 14px 18px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	border-radius: var(--radius-md);
	font-family: var(--font-body);
	font-size: 1rem;
}

.search-form input[type="search"]::placeholder {
	color: rgba(255, 255, 255, 0.6);
}

.search-form input[type="search"]:focus {
	outline: 2px solid var(--color-light-blue);
	outline-offset: 2px;
	background: rgba(255, 255, 255, 0.15);
}

.archive-empty .search-form input[type="search"],
.error-404__search .search-form input[type="search"] {
	background: var(--color-bg);
	color: var(--color-charcoal);
	border-color: var(--color-mist);
}

.archive-empty .search-form input[type="search"]::placeholder,
.error-404__search .search-form input[type="search"]::placeholder {
	color: #8395A0;
}

/* ---- 404 page ---- */
.error-404 {
	background: linear-gradient(160deg, var(--color-bg) 0%, var(--color-mist) 100%);
	padding: var(--space-3xl) 0;
	min-height: 70vh;
}

.error-404__inner {
	max-width: 880px;
	margin: 0 auto;
	padding: 0 var(--space-lg);
	text-align: center;
}

.error-404__title {
	font-family: var(--font-display);
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	color: var(--color-teal);
	margin: var(--space-md) 0 var(--space-md);
	line-height: 1.15;
}

.error-404__lede {
	font-size: 1.1rem;
	color: var(--color-charcoal);
	max-width: 560px;
	margin: 0 auto var(--space-2xl);
	line-height: 1.55;
}

.error-404__paths {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--space-md);
	margin-bottom: var(--space-2xl);
	text-align: left;
}

.error-404__path {
	display: flex;
	flex-direction: column;
	padding: var(--space-lg);
	background: #fff;
	border: 1px solid rgba(14, 131, 200, 0.12);
	border-radius: var(--radius-md);
	text-decoration: none;
	color: var(--color-charcoal);
	transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
	position: relative;
}

.error-404__path:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(26, 50, 54, 0.08);
}

.error-404__path--therapy:hover {
	border-color: var(--color-blue);
}

.error-404__path--training:hover {
	border-color: var(--color-gold);
}

.error-404__path--articles:hover {
	border-color: var(--color-teal);
}

.error-404__path-eyebrow {
	font-size: 0.75rem;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--color-blue);
	font-weight: 700;
	margin-bottom: 6px;
}

.error-404__path--training .error-404__path-eyebrow {
	color: var(--color-gold);
}

.error-404__path--articles .error-404__path-eyebrow {
	color: var(--color-teal);
}

.error-404__path-title {
	font-family: var(--font-display);
	font-size: 1.4rem;
	color: var(--color-teal);
	margin-bottom: var(--space-md);
}

.error-404__path-arrow {
	margin-top: auto;
	font-size: 1.5rem;
	color: var(--color-blue);
	font-weight: 700;
}

.error-404__search {
	margin: var(--space-2xl) auto;
	max-width: 560px;
}

.error-404__search p {
	margin-bottom: var(--space-sm);
	color: var(--color-charcoal);
	font-weight: 600;
}

.error-404__search .search-form {
	margin: 0 auto;
}

.error-404__contact {
	margin-top: var(--space-lg);
	font-size: 0.95rem;
	color: var(--color-charcoal);
}

.error-404__contact a {
	color: var(--color-blue);
	font-weight: 600;
}

.btn--ghost-light {
	background: transparent;
	color: #fff;
	border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn--ghost-light:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.7);
}

/* Reading progress bar */
.reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	width: 0;
	height: 3px;
	background: var(--color-blue);
	z-index: 100;
	transition: width 0.1s linear;
}

/* Lead magnet status messages */
.lead-magnet__status {
	margin-top: var(--space-sm);
	font-size: 0.95rem;
	font-weight: 600;
}

.lead-magnet__status.is-success {
	color: #2C7B3F;
}

.lead-magnet__status.is-error {
	color: #B83A2D;
}

/* Screen reader only */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

@media (max-width: 640px) {
	.search-form {
		flex-direction: column;
	}

	.error-404__paths {
		grid-template-columns: 1fr;
	}
}

/* ============================================================
   PARTNERS SECTION
   ============================================================ */
.partners {
	background: var(--color-mist);
	padding: var(--space-3xl) 0;
}

.partners__inner {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--space-lg);
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: var(--space-2xl);
	align-items: center;
}

.partners__copy .eyebrow {
	color: var(--color-blue);
}

.partners__heading {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	color: var(--color-teal);
	margin: var(--space-xs) 0 var(--space-sm);
	line-height: 1.2;
}

.partners__subheading {
	color: var(--color-charcoal);
	font-size: 0.95rem;
	line-height: 1.55;
	margin: 0;
}

.partners__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: var(--space-lg);
	list-style: none;
	padding: 0;
	margin: 0;
}

.partners__item {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--space-md);
	background: #fff;
	border-radius: var(--radius-md);
	min-height: 90px;
	transition: transform 0.2s, box-shadow 0.2s;
}

.partners__item:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(26, 50, 54, 0.08);
}

.partners__item img {
	max-width: 100%;
	max-height: 60px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(20%);
	opacity: 0.92;
	transition: filter 0.2s, opacity 0.2s;
}

.partners__item:hover img {
	filter: grayscale(0%);
	opacity: 1;
}

.partners__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

@media (max-width: 880px) {
	.partners__inner {
		grid-template-columns: 1fr;
		gap: var(--space-xl);
	}
	.partners__copy {
		text-align: center;
	}
}

/* ============================================================
   HUB BLOG FEED — therapy / training inline blog feed
   ============================================================ */
.hub-blog {
	padding: var(--space-3xl) 0;
	background: var(--color-bg);
}

.hub-blog--therapy {
	background: linear-gradient(180deg, var(--color-bg) 0%, #F0F8FC 100%);
}

.hub-blog--training {
	background: linear-gradient(180deg, var(--color-bg) 0%, #FBF6EB 100%);
}

.hub-blog__inner {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--space-lg);
}

.hub-blog__header {
	max-width: 760px;
	margin: 0 auto var(--space-2xl);
	text-align: center;
}

.hub-blog__header h2 {
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	color: var(--color-teal);
	line-height: 1.2;
	margin: var(--space-xs) 0 var(--space-sm);
}

.hub-blog--training .hub-blog__header .eyebrow {
	color: var(--color-gold);
}

.hub-blog__lede {
	font-size: 1.05rem;
	color: var(--color-charcoal);
	line-height: 1.55;
	margin: 0 auto;
}

.hub-blog__more {
	margin-top: var(--space-2xl);
	text-align: center;
}

.btn--gold {
	background: var(--color-gold);
	color: #fff;
	border: 1.5px solid var(--color-gold);
}

.btn--gold:hover {
	background: #C68914;
	border-color: #C68914;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.hub-hero--about {
	background: linear-gradient(160deg, var(--color-teal) 0%, #1F3F45 50%, var(--color-blue) 130%);
	color: #fff;
}

.hub-hero--about .hub-hero__title,
.hub-hero--about .eyebrow {
	color: #fff;
}

.hub-hero--about .hub-hero__lede {
	color: rgba(255, 255, 255, 0.88);
}

.hub-hero--about .breadcrumbs a,
.hub-hero--about .breadcrumbs span {
	color: rgba(255, 255, 255, 0.7);
}

.about-mission {
	padding: var(--space-3xl) 0;
}

.about-mission__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: var(--space-2xl);
	align-items: start;
}

.about-mission__copy h2 {
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	color: var(--color-teal);
	line-height: 1.2;
	margin: var(--space-xs) 0 var(--space-md);
}

.about-mission__copy p {
	color: var(--color-charcoal);
	line-height: 1.65;
	margin-bottom: var(--space-md);
	font-size: 1.05rem;
}

.about-mission__stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-md);
}

.about-stat {
	background: var(--color-mist);
	padding: var(--space-lg);
	border-radius: var(--radius-md);
	border-left: 3px solid var(--color-blue);
}

.about-stat__number {
	display: block;
	font-family: var(--font-display);
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--color-teal);
	line-height: 1;
	margin-bottom: 6px;
}

.about-stat__label {
	display: block;
	font-size: 0.85rem;
	color: var(--color-charcoal);
	line-height: 1.4;
}

.about-stat__label small {
	display: block;
	font-size: 0.75rem;
	color: #6B7B82;
	margin-top: 4px;
}

.about-stat:nth-child(2) {
	border-left-color: var(--color-gold);
}

.about-stat:nth-child(3) {
	border-left-color: var(--color-olive);
}

.about-stat:nth-child(4) {
	border-left-color: var(--color-light-blue);
}

.about-story {
	padding: var(--space-3xl) 0;
	background: var(--color-mist);
}

.about-story h2 {
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	color: var(--color-teal);
	line-height: 1.2;
	margin: var(--space-xs) 0 var(--space-md);
}

.about-story p {
	color: var(--color-charcoal);
	line-height: 1.7;
	margin-bottom: var(--space-md);
	font-size: 1.05rem;
}

.about-values {
	padding: var(--space-3xl) 0;
}

.about-values header.text-center {
	margin-bottom: var(--space-2xl);
}

.about-values h2 {
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	color: var(--color-teal);
	line-height: 1.2;
	margin: var(--space-xs) 0 var(--space-md);
}

.about-team {
	padding: var(--space-3xl) 0;
	background: var(--color-mist);
}

.about-team h2 {
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	color: var(--color-teal);
	line-height: 1.2;
	margin: var(--space-xs) 0 var(--space-md);
}

.about-team .lede {
	max-width: 720px;
	margin: 0 auto var(--space-xl);
	color: var(--color-charcoal);
	font-size: 1.05rem;
	line-height: 1.6;
}

.about-contact {
	padding: var(--space-3xl) 0;
}

.about-contact__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-2xl);
	align-items: center;
}

.about-contact__copy h2 {
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	color: var(--color-teal);
	line-height: 1.2;
	margin: var(--space-xs) 0 var(--space-md);
}

.about-contact__copy p {
	color: var(--color-charcoal);
	line-height: 1.6;
	font-size: 1.05rem;
}

.about-contact__details {
	background: var(--color-mist);
	padding: var(--space-xl);
	border-radius: var(--radius-md);
}

.contact-list {
	margin: 0 0 var(--space-md);
}

.contact-list dt {
	font-family: var(--font-body);
	font-size: 0.75rem;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--color-blue);
	font-weight: 700;
	margin-top: var(--space-md);
}

.contact-list dt:first-child {
	margin-top: 0;
}

.contact-list dd {
	margin: 4px 0 0;
	color: var(--color-charcoal);
	font-size: 1rem;
	line-height: 1.5;
}

.contact-list dd a {
	color: var(--color-charcoal);
	text-decoration: underline;
	text-decoration-color: var(--color-light-blue);
	text-underline-offset: 3px;
}

.contact-list dd a:hover {
	color: var(--color-blue);
}

.about-contact__cta {
	margin-top: var(--space-md);
}

@media (max-width: 880px) {
	.about-mission__grid,
	.about-contact__grid {
		grid-template-columns: 1fr;
	}
	.about-mission__stats {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 480px) {
	.about-mission__stats {
		grid-template-columns: 1fr;
	}
}

/* card-grid--4 used on About values */
.card-grid--4 {
	grid-template-columns: repeat(4, 1fr);
}

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

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

.card__icon {
	font-size: 2rem;
	color: var(--color-blue);
	margin-bottom: var(--space-sm);
	line-height: 1;
}

/* ============================================================
   ANIMATION SYSTEM — reveals, hovers, micro-interactions
   ============================================================ */

/* Base reveal — element is invisible/offset until JS adds .is-visible */
.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
	            transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: opacity, transform;
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Fall back gracefully if JS fails — never leave content invisible */
.no-js .reveal,
.reveal:not(.is-visible) {
	/* noscript-friendly: default to visible after first paint timeout via CSS */
}

/* Specific reveal flavors */
.gateway-card.reveal {
	transform: translateY(40px) scale(0.98);
}

.gateway-card.reveal.is-visible {
	transform: translateY(0) scale(1);
}

.about-stat.reveal {
	transform: translateY(20px) scale(0.95);
}

.about-stat.reveal.is-visible {
	transform: translateY(0) scale(1);
}

/* Hero entrance — runs once on load, no scroll trigger needed */
.gateway-hero h1,
.hub-hero__title {
	animation: clarity-fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.gateway-hero .lede,
.hub-hero__lede {
	animation: clarity-fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.gateway-hero .eyebrow,
.hub-hero .eyebrow {
	animation: clarity-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes clarity-fade-up {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Hero background subtle drift (paired with JS parallax) */
.gateway-hero,
.hub-hero {
	transition: background-position 0.05s linear;
}

/* Card hover micro-interactions */
.gateway-card {
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
	            box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
	            border-color 0.3s ease;
}

.gateway-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 48px rgba(26, 50, 54, 0.12);
}

.gateway-card__cta-arrow {
	display: inline-block;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gateway-card:hover .gateway-card__cta-arrow {
	transform: translateX(6px);
}

.post-card {
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
	            box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 32px rgba(26, 50, 54, 0.1);
}

.post-card__image {
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
	overflow: hidden;
}

.post-card:hover .post-card__image {
	transform: scale(1.04);
}

.post-card__cta {
	transition: gap 0.3s ease;
}

.post-card:hover .post-card__cta span[aria-hidden] {
	display: inline-block;
	animation: clarity-arrow-nudge 0.6s cubic-bezier(0.16, 1, 0.3, 1) infinite alternate;
}

@keyframes clarity-arrow-nudge {
	from { transform: translateX(0); }
	to { transform: translateX(4px); }
}

/* Pain card subtle hover */
.pain-card {
	transition: transform 0.3s ease, background-color 0.3s ease;
}

.pain-card:hover {
	transform: translateY(-2px);
	background: var(--color-mist);
}

/* Button micro-interactions */
.btn {
	transition: transform 0.2s ease,
	            background-color 0.25s ease,
	            color 0.25s ease,
	            box-shadow 0.25s ease,
	            border-color 0.25s ease;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn:active {
	transform: translateY(0);
}

.btn--primary:hover {
	box-shadow: 0 8px 20px rgba(14, 131, 200, 0.28);
}

.btn--gold:hover {
	box-shadow: 0 8px 20px rgba(228, 160, 33, 0.3);
}

/* Lead magnet attention pulse — fires once via JS */
.lead-magnet--pulse {
	animation: clarity-magnet-pulse 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes clarity-magnet-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(14, 131, 200, 0);
		transform: scale(1);
	}
	30% {
		box-shadow: 0 0 0 8px rgba(14, 131, 200, 0.18);
		transform: scale(1.005);
	}
	100% {
		box-shadow: 0 4px 16px rgba(26, 50, 54, 0.06);
		transform: scale(1);
	}
}

.lead-magnet--training.lead-magnet--pulse {
	animation-name: clarity-magnet-pulse-gold;
}

@keyframes clarity-magnet-pulse-gold {
	0% {
		box-shadow: 0 0 0 0 rgba(228, 160, 33, 0);
		transform: scale(1);
	}
	30% {
		box-shadow: 0 0 0 8px rgba(228, 160, 33, 0.2);
		transform: scale(1.005);
	}
	100% {
		box-shadow: 0 4px 16px rgba(26, 50, 54, 0.06);
		transform: scale(1);
	}
}

/* Partners logo gentle entrance */
.partners__item {
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
	            box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.partners__item img {
	transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.partners__item:hover img {
	transform: scale(1.04);
}

/* About stats — accent number on hover */
.about-stat {
	transition: transform 0.3s ease, background-color 0.3s ease;
}

.about-stat:hover {
	transform: translateY(-2px);
	background: #fff;
}

.about-stat__number {
	transition: color 0.3s ease;
}

.about-stat:hover .about-stat__number {
	color: var(--color-blue);
}

/* FAQ chevron rotate */
.faq-item summary,
details > summary {
	cursor: pointer;
	list-style: none;
	transition: color 0.2s ease;
}

details > summary::-webkit-details-marker {
	display: none;
}

details > summary::after {
	content: '+';
	float: right;
	font-size: 1.5rem;
	color: var(--color-blue);
	transition: transform 0.3s ease;
	font-weight: 300;
	line-height: 1;
}

details[open] > summary::after {
	transform: rotate(45deg);
}

/* Reading progress bar — already exists; add transition polish */
.reading-progress {
	transition: width 0.15s ease-out;
}

/* Image lazy fade-in (for migrated post images) */
img[loading="lazy"] {
	opacity: 0;
	transition: opacity 0.5s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"].is-loaded {
	opacity: 1;
}

/* Once images are in cache and complete, render visible */
img[loading="lazy"].complete {
	opacity: 1;
}

/* Header on scroll — slight shadow */
.site-header {
	transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.site-header.is-scrolled {
	box-shadow: 0 4px 20px rgba(26, 50, 54, 0.08);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
	.reveal,
	.gateway-hero h1,
	.hub-hero__title,
	.gateway-hero .lede,
	.hub-hero__lede {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
		transition: none !important;
	}

	.btn:hover,
	.gateway-card:hover,
	.post-card:hover,
	.partners__item:hover,
	.about-stat:hover {
		transform: none !important;
	}

	.post-card__image,
	.partners__item img {
		transform: none !important;
	}

	.post-card:hover .post-card__cta span[aria-hidden] {
		animation: none !important;
	}
}
