/* ============================================
   Johnson Strategy Partners — Option B
   Unified Hero → Fork Below
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Mulish:wght@300;400;500;600;700;800&display=swap');

/* --- Design Tokens --- */
:root {
  /* Brand Colors — shared across themes */
  --jsp-charcoal: #303841;
  --jsp-gold: #d4a373;
  --jsp-white: #ffffff;
  --jsp-near-black: #1a1f24;
  --jsp-slate: #46515e;
  --jsp-steel: #96A5B8;
  --jsp-light-gray: #e6e6e6;
  --jsp-accessibility-text: #f0f0f0;

  /* Warm Linen palette */
  --jsp-cream: #FAF7F2;
  --jsp-linen: #F0EBE3;
  --jsp-dusty-rose: #D5C4B3;
  --jsp-terracotta: #935717;
  --jsp-deep-navy: #2E3A4A;

  /* Semantic — Dark Theme (default) */
  --color-bg: var(--jsp-near-black);
  --color-bg-elevated: var(--jsp-charcoal);
  --color-bg-card: #262c33;
  --color-text: var(--jsp-white);
  --color-text-muted: var(--jsp-accessibility-text);
  --color-text-secondary: var(--jsp-light-gray);
  --color-accent: var(--jsp-gold);
  --color-border: rgba(212, 163, 115, 0.15);
  --color-border-subtle: rgba(255, 255, 255, 0.08);

  /* Theme transition */
  --theme-transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;

  /* Typography */
  --font-display: 'Merriweather', Georgia, 'Times New Roman', serif;
  --font-body: 'Mulish', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Type Scale — fluid clamp (mobile-friendly minimums) */
  --text-xs: clamp(0.8125rem, 0.75rem + 0.2vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.82rem + 0.2vw, 0.9375rem);
  --text-base: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.4rem + 1.5vw, 2.75rem);
  --text-hero: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 900px;
  --container-wide: 1400px;
  --gutter: clamp(1rem, 3vw, 2rem);
  --section-padding: clamp(3rem, 8vw, 6rem);
  --nav-height: 72px;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.25);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --transition-fast: 180ms var(--ease-out);
  --transition-base: 300ms var(--ease-out);
  --transition-slow: 500ms var(--ease-out);
}

/* --- Light Theme (Warm Linen + Soft Authority) --- */
[data-theme="light"] {
  --color-bg: var(--jsp-cream);
  --color-bg-elevated: var(--jsp-linen);
  --color-bg-card: #ffffff;
  --color-text: var(--jsp-deep-navy);
  --color-text-muted: #5C6A7A;
  --color-text-secondary: #566575;
  --color-accent: var(--jsp-terracotta);
  --color-border: rgba(46, 58, 74, 0.12);
  --color-border-subtle: rgba(46, 58, 74, 0.06);
  --shadow-sm: 0 1px 3px rgba(46, 58, 74, 0.08);
  --shadow-md: 0 4px 12px rgba(46, 58, 74, 0.1);
  --shadow-lg: 0 8px 32px rgba(46, 58, 74, 0.12);
  --shadow-card: 0 2px 16px rgba(46, 58, 74, 0.08);
}

/* --- Light Theme Overrides — hardcoded values that need remapping --- */
[data-theme="light"] .nav {
  background: rgba(46, 58, 74, 0.95);
  border-bottom-color: rgba(250, 247, 242, 0.08);
}
[data-theme="light"] .nav--scrolled {
  background: rgba(46, 58, 74, 0.98);
  box-shadow: 0 2px 16px rgba(46, 58, 74, 0.2);
}
[data-theme="light"] .nav__mobile {
  background: rgba(46, 58, 74, 0.98);
}
[data-theme="light"] .nav__link {
  color: var(--jsp-white);
}
[data-theme="light"] .nav__link:hover,
[data-theme="light"] .nav__link--active {
  color: var(--jsp-gold);
}
[data-theme="light"] .nav__cta {
  background: var(--jsp-terracotta);
  color: var(--jsp-cream);
}
[data-theme="light"] .nav__cta:hover {
  background: #9E5F1C;
  color: var(--jsp-cream);
}
[data-theme="light"] .nav__toggle span {
  background: var(--jsp-cream);
}
[data-theme="light"] .btn--primary {
  color: var(--jsp-cream);
}
[data-theme="light"] .btn--primary:hover {
  background: #9E5F1C;
  color: var(--jsp-cream);
}
[data-theme="light"] .fork {
  background: var(--jsp-linen);
}
[data-theme="light"] .fork__card {
  background: var(--color-bg-card);
}
[data-theme="light"] .team {
  background: var(--jsp-linen);
}
[data-theme="light"] .checklist {
  background: var(--jsp-linen);
}
[data-theme="light"] .checklist__item {
  background: rgba(46, 58, 74, 0.03);
}
[data-theme="light"] .process {
  background: var(--jsp-linen);
}
[data-theme="light"] .approach {
  background: var(--jsp-linen);
}
[data-theme="light"] .cta-section {
  background: var(--jsp-deep-navy);
  color: var(--jsp-cream);
}
[data-theme="light"] .cta-section h2 {
  color: var(--jsp-cream);
}
[data-theme="light"] .cta-section p {
  color: rgba(250, 247, 242, 0.8);
}
[data-theme="light"] .cta-section .btn--primary {
  color: var(--jsp-cream);
  background: var(--jsp-terracotta);
}
[data-theme="light"] .cta-section .btn--primary:hover {
  color: var(--jsp-cream);
  background: #9E5F1C;
}
[data-theme="light"] .footer {
  background: var(--jsp-deep-navy);
  border-top-color: rgba(250, 247, 242, 0.08);
}
[data-theme="light"] .footer h4,
[data-theme="light"] .footer p,
[data-theme="light"] .footer a,
[data-theme="light"] .footer__bottom p,
[data-theme="light"] .footer__bottom a {
  color: rgba(250, 247, 242, 0.7);
}
[data-theme="light"] .footer__col a:hover,
[data-theme="light"] .footer__bottom a:hover {
  color: var(--jsp-terracotta);
}
[data-theme="light"] .footer__bottom {
  border-top-color: rgba(250, 247, 242, 0.1);
}
/* --- Light Mode Gradient Atmosphere --- */
[data-theme="light"] .hero::before {
  background:
    radial-gradient(ellipse at 50% 20%, rgba(196, 122, 58, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 60%, rgba(213, 196, 179, 0.20) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 70%, rgba(196, 122, 58, 0.10) 0%, transparent 40%);
}
[data-theme="light"] .logo-bar::before {
  background: radial-gradient(ellipse at 50% 50%, rgba(196, 122, 58, 0.10) 0%, transparent 60%);
}
[data-theme="light"] .fork::before {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(196, 122, 58, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(213, 196, 179, 0.10) 0%, transparent 50%);
}
[data-theme="light"] .tiers::before {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(196, 122, 58, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(213, 196, 179, 0.10) 0%, transparent 45%);
}
[data-theme="light"] .process::before {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(196, 122, 58, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 70%, rgba(213, 196, 179, 0.10) 0%, transparent 45%);
}
[data-theme="light"] .testimonials::before {
  background:
    radial-gradient(ellipse at 60% 20%, rgba(196, 122, 58, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(213, 196, 179, 0.10) 0%, transparent 45%);
}
[data-theme="light"] .checklist::before {
  background:
    radial-gradient(ellipse at 25% 35%, rgba(196, 122, 58, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 65%, rgba(213, 196, 179, 0.10) 0%, transparent 45%);
}
[data-theme="light"] .credentials::before {
  background:
    radial-gradient(ellipse at 50% 40%, rgba(196, 122, 58, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 15%, rgba(213, 196, 179, 0.10) 0%, transparent 40%);
}
[data-theme="light"] .approach::before {
  background:
    radial-gradient(ellipse at 65% 30%, rgba(196, 122, 58, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 70%, rgba(213, 196, 179, 0.10) 0%, transparent 45%);
}
[data-theme="light"] .why-jsp::before {
  background:
    radial-gradient(ellipse at 40% 60%, rgba(196, 122, 58, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 20%, rgba(213, 196, 179, 0.10) 0%, transparent 40%);
}
[data-theme="light"] .team::before {
  background:
    radial-gradient(ellipse at 50% 40%, rgba(196, 122, 58, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 10%, rgba(213, 196, 179, 0.10) 0%, transparent 40%);
}
[data-theme="light"] .assessment-embed::before {
  background:
    radial-gradient(ellipse at 40% 25%, rgba(196, 122, 58, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 75%, rgba(213, 196, 179, 0.14) 0%, transparent 45%);
}
[data-theme="light"] .cross-ref {
  background: linear-gradient(135deg, rgba(196, 122, 58, 0.10) 0%, rgba(196, 122, 58, 0.03) 100%);
}
[data-theme="light"] .cross-ref::before {
  background: radial-gradient(ellipse at 45% 50%, rgba(196, 122, 58, 0.12) 0%, transparent 55%);
}
[data-theme="light"] .cta-section::before {
  background: radial-gradient(ellipse at 50% 50%, rgba(196, 122, 58, 0.14) 0%, transparent 60%);
}
[data-theme="light"] .footer::before {
  background: radial-gradient(ellipse at 30% 30%, rgba(196, 122, 58, 0.08) 0%, transparent 50%);
}

/* Link hover — terracotta in light mode */
[data-theme="light"] a:hover {
  color: var(--jsp-terracotta);
}

/* Logo filter — dark mode inverts to white; light mode keeps original or darkens */
[data-theme="light"] .logo-bar__img {
  filter: brightness(0) opacity(0.7);
}
[data-theme="light"] .logo-bar__img:hover {
  filter: brightness(0) opacity(1);
}
[data-theme="light"] .logo-bar__img--clearly {
  filter: grayscale(1) brightness(0.4);
}
[data-theme="light"] .logo-bar__track {
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
/* Footer logo in light mode (footer stays dark) */
[data-theme="light"] .footer .footer__logo {
  filter: brightness(0) invert(1);
}

/* Interactive checklist overrides */
[data-theme="light"] .checklist__item--interactive {
  background: var(--color-bg-card);
}
[data-theme="light"] .checklist__item--interactive:hover {
  background: rgba(196, 122, 58, 0.05);
}

/* Tier card featured gradient */
[data-theme="light"] .tier-card--featured {
  background: linear-gradient(180deg, rgba(196, 122, 58, 0.04) 0%, var(--color-bg-card) 100%);
}

/* Fork card icon background */
[data-theme="light"] .fork__card-icon {
  background: rgba(196, 122, 58, 0.08);
}

/* Why-JSP icon */
[data-theme="light"] .why-jsp__item-icon {
  background: rgba(196, 122, 58, 0.06);
}

/* Process step number */
[data-theme="light"] .process__step-number {
  background: rgba(196, 122, 58, 0.08);
}

/* Team photo border */
[data-theme="light"] .team__photo {
  border-color: var(--jsp-terracotta);
  box-shadow: 0 4px 20px rgba(196, 122, 58, 0.15);
}

/* Hero headshot */
[data-theme="light"] .hero__headshot {
  border-color: var(--jsp-terracotta);
  box-shadow: 0 8px 32px rgba(46, 58, 74, 0.15);
}

/* Credentials icon */
[data-theme="light"] .credentials__icon {
  background: rgba(196, 122, 58, 0.06);
}

/* Toggle button — fixed bottom-right corner */
.theme-toggle {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  padding: 0;
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 1;
}
.theme-toggle:hover {
  background: var(--color-bg-card);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
  transform: scale(1.08);
}
[data-theme="light"] .theme-toggle {
  background: var(--jsp-linen);
  border-color: rgba(46, 58, 74, 0.12);
  box-shadow: 0 2px 12px rgba(46, 58, 74, 0.12);
}
[data-theme="light"] .theme-toggle:hover {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(46, 58, 74, 0.15);
}
/* Sun/moon icon swap */
.theme-toggle__sun { display: none; }
.theme-toggle__moon { display: block; }
[data-theme="light"] .theme-toggle__sun { display: block; }
[data-theme="light"] .theme-toggle__moon { display: none; }

/* Smooth transition on theme switch */
body, .nav, .fork, .team, .checklist, .process, .approach,
.cta-section, .footer, .fork__card, .tier-card, .testimonial-card,
.checklist__item, .checklist__item--interactive {
  transition: var(--theme-transition);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--jsp-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

p {
  max-width: 72ch;
}

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
  z-index: 1;
}

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

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

/* --- Skip Link (a11y) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 200;
  padding: var(--space-3) var(--space-6);
  background: var(--color-accent);
  color: var(--jsp-near-black);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: var(--space-4);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(26, 31, 36, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border-subtle);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.nav--scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  height: 64px;
}

.nav-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--transition-fast);
}
[data-theme="light"] .nav-logo {
  filter: brightness(0) invert(1);
}

.nav__links {
  display: none;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  margin-left: auto;
}

.nav__link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--jsp-white);
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-accent);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--jsp-near-black);
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}

.nav__cta:hover {
  background: #e0b48a;
  color: var(--jsp-near-black);
  box-shadow: 0 4px 12px rgba(212, 163, 115, 0.3);
}

/* Mobile menu toggle */
.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
  margin-left: auto;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--jsp-white);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav__toggle--open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle--open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle--open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 31, 36, 0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}

.nav__mobile--open {
  display: flex;
}

.nav__mobile a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--jsp-white);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav__mobile a:hover {
  color: var(--color-accent);
}

@media (min-width: 1060px) {
  .nav__links {
    display: flex;
  }
  .nav__toggle {
    display: none;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--jsp-near-black);
}

.btn--primary:hover {
  background: #e0b48a;
  color: var(--jsp-near-black);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212, 163, 115, 0.3);
}

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

.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.btn--outline:hover {
  background: rgba(212, 163, 115, 0.1);
  color: var(--color-accent);
  transform: translateY(-1px);
}

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

.btn--large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn__arrow {
  transition: transform var(--transition-fast);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* --- Hero Section (Homepage — Unified) --- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + var(--section-padding));
  padding-bottom: var(--section-padding);
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 50% 25%, rgba(212, 163, 115, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 60%, rgba(213, 196, 179, 0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 15% 70%, rgba(212, 163, 115, 0.04) 0%, transparent 40%);
  pointer-events: none;
}

.hero__content {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.hero__accent {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--color-accent);
  margin: 0 auto var(--space-6);
}

.hero__title {
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: var(--space-6);
  color: var(--color-text);
}

.hero:not(.hero--practice) .hero__title {
  max-width: 12em;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 600px) {
  .hero:not(.hero--practice) .hero__title {
    max-width: none;
    font-size: clamp(1.75rem, 1.2rem + 2.5vw, 2.25rem);
  }
  .hero__underline {
    background-position: bottom 4px center;
  }
}

.hero__underline {
  display: inline;
  background-image: linear-gradient(var(--color-accent), var(--color-accent));
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: bottom 6px center;
}

.hero__subtitle {
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto var(--space-8);
}

.hero__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

@media (min-width: 600px) {
  .hero__buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* --- Practice Page Hero (Kyle/Liz) --- */
.hero--practice {
  min-height: 50vh;
  text-align: left;
  padding-bottom: var(--space-12);
}

.hero--practice .hero__content {
  max-width: none;
  margin: 0;
}

.hero--practice .hero__accent {
  margin: 0 0 var(--space-6);
}

.hero--practice .hero__subtitle {
  margin: 0;
}

/* --- Social Proof / Logo Bar --- */
.logo-bar {
  padding: var(--space-10) 0;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  position: relative;
  overflow: hidden;
}
.logo-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(212, 163, 115, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.logo-bar__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: center;
  margin: 0 auto var(--space-6);
}

.logo-bar__track {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-bar__logos {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--space-10);
  animation: scroll-logos 30s linear infinite;
  padding-right: var(--space-10);
}

@keyframes scroll-logos {
  to {
    transform: translateX(-100%);
  }
}

.logo-bar__track:hover .logo-bar__logos {
  animation-play-state: paused;
}

.logo-bar__item {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--jsp-slate);
  letter-spacing: 0.04em;
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.logo-bar__item:hover {
  opacity: 1;
}

/* --- Fork Section (Homepage — "Which challenge sounds like yours?") --- */
.fork {
  padding: var(--section-padding) 0;
  background: var(--jsp-charcoal);
  position: relative;
  overflow: hidden;
}
.fork::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(212, 163, 115, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(212, 163, 115, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.fork__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.fork__header h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.fork__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .fork__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

.fork__card {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.fork__card:hover {
  border-color: var(--color-border);
  border-top-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.fork__card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 163, 115, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-accent);
  margin-bottom: var(--space-5);
}

.fork__card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  line-height: 1.3;
}

.fork__card-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.fork__card-capabilities {
  margin-bottom: var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.fork__card-capabilities li {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-secondary);
  padding: var(--space-1) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}

.fork__card-capabilities li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.fork__card-pricing {
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-subtle);
}

.fork__card-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
}

/* .fork__card-monogram removed — monograms no longer used */

/* --- Why JSP Section (Homepage) --- */
.why-jsp {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}
.why-jsp::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 40% 60%, rgba(212, 163, 115, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 20%, rgba(150, 165, 184, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

.why-jsp__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.why-jsp__header h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.why-jsp__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .why-jsp__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
}

.why-jsp__item {
  text-align: center;
}

.why-jsp__item-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  background: rgba(212, 163, 115, 0.08);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-accent);
}

.why-jsp__item h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.why-jsp__item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 340px;
  margin: 0 auto;
}

/* --- Team Section (Homepage) --- */
.team {
  padding: var(--section-padding) 0;
  background: var(--jsp-charcoal);
  position: relative;
  overflow: hidden;
}
.team::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(212, 163, 115, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 10%, rgba(213, 196, 179, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.team__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.team__header h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.team__desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto;
}

.team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .team__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }
}

.team__member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
}

.team__bio {
  max-width: 480px;
}

.team__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-accent);
}

.team__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
}

.team__role {
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.team__bio {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
}

.team__shared {
  text-align: center;
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border-subtle);
}

.team__shared p {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Section Styles (shared) --- */
.section__header {
  margin-bottom: var(--space-12);
}

.section__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.section__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.section__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 600px;
  line-height: 1.6;
}

/* --- Checklist Section (Kyle & Liz pages) --- */
.checklist {
  padding: var(--section-padding) 0;
  background: var(--jsp-charcoal);
  position: relative;
  overflow: hidden;
}
.checklist::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 25% 35%, rgba(212, 163, 115, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 65%, rgba(213, 196, 179, 0.04) 0%, transparent 45%);
  pointer-events: none;
}

.checklist__header {
  margin-bottom: var(--space-10);
}

.checklist__header h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

.checklist__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  max-width: 700px;
}

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
}

.checklist__icon {
  color: var(--color-accent);
  font-size: var(--text-base);
  flex-shrink: 0;
  margin-top: 2px;
  line-height: 1.5;
}

.checklist__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.checklist__cta {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  font-style: italic;
  color: var(--color-accent);
  margin-top: var(--space-4);
}

/* --- Assessment Embed (Kyle page) --- */
.assessment-embed {
  padding: var(--section-padding) 0;
  background: var(--jsp-linen);
  color: var(--jsp-charcoal);
  position: relative;
  overflow: hidden;
}
.assessment-embed::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 40% 25%, rgba(196, 122, 58, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 75%, rgba(213, 196, 179, 0.08) 0%, transparent 45%);
  pointer-events: none;
}

.assessment-embed .section__label {
  color: var(--jsp-terracotta);
}

.assessment-embed__header {
  margin-bottom: var(--space-8);
}

.assessment-embed__header h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
  color: var(--jsp-charcoal);
}

.assessment-embed__desc {
  font-size: var(--text-base);
  color: rgba(46, 58, 74, 0.6);
  line-height: 1.6;
  max-width: 600px;
}

.assessment-embed__frame {
  max-width: 640px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--jsp-cream);
  border: 1px solid rgba(46, 58, 74, 0.08);
  box-shadow: 0 2px 24px rgba(46, 58, 74, 0.06);
}

.assessment-embed__frame iframe {
  display: block;
  width: 100%;
  transition: height 0.3s ease;
}

/* --- Service Tiers / Blocks (Kyle & Liz pages) --- */
.tiers {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}
.tiers::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(212, 163, 115, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(150, 165, 184, 0.03) 0%, transparent 45%);
  pointer-events: none;
}

.tiers__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .tiers__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
}

.tier-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.tier-card:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.tier-card--featured {
  border-color: var(--color-accent);
  background: linear-gradient(180deg, rgba(212, 163, 115, 0.06) 0%, var(--color-bg-card) 100%);
}

.tier-card__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.tier-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.tier-card__price {
  font-family: var(--font-body);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.tier-card__price-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.tier-card__divider {
  width: 100%;
  height: 1px;
  background: var(--color-border-subtle);
  margin-bottom: var(--space-6);
}

.tier-card__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.tier-card__features {
  flex-grow: 1;
  margin-bottom: var(--space-6);
}

.tier-card__features li {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  padding: var(--space-2) 0;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  line-height: 1.5;
}

.tier-card__features li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

/* --- Tier Grid: Two-Column Variant --- */
.tiers__grid--two {
  margin-top: var(--space-8);
}

@media (min-width: 768px) {
  .tiers__grid--two {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Tier Hero Card (Full-Width Featured Service) --- */
.tier-hero {
  position: relative;
  background: var(--color-bg-card);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-lg);
  padding: var(--space-16) var(--space-8) var(--space-8);
  margin-bottom: var(--space-6);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.tier-hero:hover {
  box-shadow: var(--shadow-lg);
}

.tier-hero__badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--color-accent);
  color: var(--jsp-near-black);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-6);
  border-radius: 0 0 var(--radius-sm) 0;
}

.tier-hero__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 900px) {
  .tier-hero__content {
    grid-template-columns: 1.3fr 1fr;
    gap: var(--space-12);
    align-items: start;
  }
  .tier-hero {
    padding: var(--space-16) var(--space-10) var(--space-10);
  }
}

.tier-hero__name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.tier-hero__tagline {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.tier-hero__price {
  font-family: var(--font-body);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: var(--space-1);
}

.tier-hero__price-unit {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-text-muted);
}

.tier-hero__price-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border-subtle);
}

.tier-hero__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.tier-hero__desc:last-of-type {
  margin-bottom: 0;
}

.tier-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-subtle);
}

.tier-hero__right {
  display: flex;
  align-items: stretch;
}

.tier-hero__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  border-left: 2px solid var(--color-accent);
  padding-left: var(--space-6);
}

.tier-hero__features li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tier-hero__features li strong {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}

.tier-hero__features li span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Light theme hero card */
[data-theme="light"] .tier-hero {
  background: var(--jsp-white);
  box-shadow: var(--shadow-card);
}

[data-theme="light"] .tier-hero__badge {
  background: var(--jsp-terracotta);
  color: var(--jsp-cream);
}

[data-theme="light"] .tier-hero__features {
  border-left-color: var(--jsp-terracotta);
}

/* Tablet: hero card stays 2-col but tighter */
@media (max-width: 899px) {
  .tier-hero__right {
    border-top: 1px solid var(--color-border-subtle);
    padding-top: var(--space-6);
  }
  .tier-hero__features {
    border-left: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }
}

/* Mobile: full single column */
@media (max-width: 480px) {
  .tier-hero {
    padding: var(--space-12) var(--space-5) var(--space-6);
  }
  .tier-hero__features {
    grid-template-columns: 1fr;
  }
  .tier-hero__actions {
    flex-direction: column;
  }
  .tier-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- Process Section (Kyle page) --- */
.process {
  padding: var(--section-padding) 0;
  background: var(--jsp-charcoal);
  position: relative;
  overflow: hidden;
}
.process::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(212, 163, 115, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 70%, rgba(150, 165, 184, 0.04) 0%, transparent 45%);
  pointer-events: none;
}

.process__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .process__steps {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
  }
}

.process__step {
  text-align: center;
  position: relative;
}

.process__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(212, 163, 115, 0.12);
  border: 2px solid var(--color-accent);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.process__step h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.process__step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 220px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Arrow between steps on desktop */
@media (min-width: 768px) {
  .process__step:not(:last-child)::after {
    content: '\2192';
    position: absolute;
    top: 22px;
    right: -12px;
    font-size: var(--text-lg);
    color: var(--color-accent);
    opacity: 0.5;
  }
}

/* --- Testimonials --- */
.testimonials {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 60% 20%, rgba(212, 163, 115, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(213, 196, 179, 0.04) 0%, transparent 45%);
  pointer-events: none;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-style: italic;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.testimonial-card__quote::before {
  content: '\201C';
  font-size: var(--text-2xl);
  color: var(--color-accent);
  line-height: 0;
  vertical-align: -0.2em;
  margin-right: 4px;
}

.testimonial-card__author {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* --- Approach / Methodology (Liz page) --- */
.approach {
  padding: var(--section-padding) 0;
  background: var(--jsp-charcoal);
  position: relative;
  overflow: hidden;
}
.approach::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 65% 30%, rgba(212, 163, 115, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 70%, rgba(150, 165, 184, 0.04) 0%, transparent 45%);
  pointer-events: none;
}

.approach__content {
  max-width: 700px;
}

.approach__content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

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

/* --- Credentials (Liz page) --- */
.credentials {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}
.credentials::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(212, 163, 115, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 15%, rgba(213, 196, 179, 0.04) 0%, transparent 40%);
  pointer-events: none;
}

.credentials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .credentials__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }
}

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

.credentials__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 163, 115, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}

.credentials__text h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.credentials__text p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* --- Cross-Referral Banner --- */
.cross-ref {
  padding: var(--space-12) 0;
  background: linear-gradient(135deg, rgba(212, 163, 115, 0.06) 0%, rgba(212, 163, 115, 0.02) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
.cross-ref::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 45% 50%, rgba(212, 163, 115, 0.05) 0%, transparent 55%);
  pointer-events: none;
}

.cross-ref__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .cross-ref__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cross-ref__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  max-width: 600px;
  line-height: 1.6;
}

.cross-ref__text strong {
  color: var(--color-text);
}

/* --- CTA Section --- */
.cta-section {
  padding: var(--section-padding) 0;
  text-align: center;
  background: var(--jsp-near-black);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(212, 163, 115, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.cta-section p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto var(--space-8);
  line-height: 1.6;
}

/* --- Footer --- */
.footer {
  padding: var(--space-12) 0 var(--space-8);
  border-top: 1px solid var(--color-border-subtle);
  background: var(--jsp-near-black);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(212, 163, 115, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-10);
  }
}

.footer__logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-top: var(--space-4);
  max-width: 320px;
}

.footer__col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.footer__col a {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: var(--space-1) 0;
  transition: color var(--transition-fast);
}

.footer__col a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__bottom p,
.footer__bottom a {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.footer__bottom a:hover {
  color: var(--color-accent);
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }
}

@keyframes reveal-fade {
  to { opacity: 1; }
}

/* Fallback for browsers without scroll-driven animations */
@supports not (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    transition: opacity 0.6s var(--ease-out);
  }
  .fade-in.visible {
    opacity: 1;
  }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-gold { color: var(--color-accent); }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }

/* --- Team Link (wraps photo, name, role) --- */
.team__link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  transition: transform var(--transition-fast);
}

.team__link .team__name {
  transition: color var(--transition-fast);
}

.team__link:hover {
  transform: translateY(-3px);
}

.team__link:hover .team__photo {
  box-shadow: 0 6px 24px rgba(212, 163, 115, 0.35);
}

.team__link:hover .team__name {
  color: var(--color-accent);
}

/* --- Team Photos (replacing monogram avatars) --- */
.team__photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--jsp-gold);
  box-shadow: 0 4px 20px rgba(212, 163, 115, 0.2);
}

/* --- Logo Bar with Real Images --- */
.logo-bar__logos a {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-bar__logos a:hover {
  color: inherit;
}

.logo-bar__img {
  height: 44px;
  width: auto;
  opacity: 0.6;
  transition: opacity var(--transition-base);
  filter: brightness(0) invert(1);
}
.logo-bar__img:hover {
  opacity: 1;
}
.logo-bar__img--no-filter {
  filter: none;
}
.logo-bar__img--clearly {
  border-radius: var(--radius-md);
  filter: grayscale(1) brightness(1.5);
  opacity: 0.5;
}
.logo-bar__text-logo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  opacity: 0.5;
  transition: opacity var(--transition-base);
  white-space: nowrap;
}
.logo-bar__text-logo:hover {
  opacity: 0.8;
}

/* --- Interactive Checklists (re-enabled) --- */
.checklist__item--interactive {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  user-select: none;
}
.checklist__item--interactive:hover {
  border-color: var(--color-accent);
  background: rgba(212, 163, 115, 0.05);
}
.checklist__input {
  display: none;
}
.checklist__check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 2px solid var(--jsp-steel);
  border-radius: var(--radius-sm);
  position: relative;
  transition: all var(--transition-fast);
  margin-top: 2px;
}
.checklist__input:checked ~ .checklist__check {
  background: var(--jsp-gold);
  border-color: var(--jsp-gold);
}
.checklist__input:checked ~ .checklist__check::after {
  content: '\2713';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--jsp-near-black);
  font-weight: 700;
  font-size: 14px;
}
.checklist__input:checked ~ .checklist__text {
  color: var(--jsp-gold);
  text-decoration: line-through;
  text-decoration-color: rgba(212, 163, 115, 0.4);
}

/* --- Hero Headshots (practice pages) --- */
.hero__headshot {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--jsp-gold);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}
.hero--practice .hero__content {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}
.hero--practice .hero__text {
  flex: 1;
  min-width: 0;
}
@media (max-width: 768px) {
  .hero--practice .hero__content {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero__headshot {
    width: 150px;
    height: 150px;
  }
  .hero--practice .hero__accent {
    margin: 0 auto var(--space-6);
  }
  .hero--practice .hero__subtitle {
    margin: 0 auto;
  }
}

/* --- Contact Routing Modal --- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.modal-overlay--open {
  display: flex;
}

.modal {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 480px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  animation: modal-enter 0.25s var(--ease-out);
}

@keyframes modal-enter {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.modal__close:hover {
  color: var(--color-text);
  background: rgba(128, 128, 128, 0.1);
}

.modal__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
  padding-right: var(--space-8);
}

.modal__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-6);
}

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

.modal__option {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.modal__option:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  color: var(--color-text);
}

.modal__option-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 163, 115, 0.1);
  border-radius: 50%;
  color: var(--color-accent);
  flex-shrink: 0;
}

.modal__option-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.modal__option-label {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  white-space: nowrap;
}

.modal__option-who {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 400;
}

.modal__option .btn__arrow {
  margin-left: auto;
  color: var(--color-accent);
  font-size: var(--text-lg);
  flex-shrink: 0;
}

/* Light mode modal overrides */
[data-theme="light"] .modal-overlay {
  background: rgba(46, 58, 74, 0.5);
}

[data-theme="light"] .modal__option-icon {
  background: rgba(196, 122, 58, 0.08);
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

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