/* ============================================================
   PENALTYSHIELD SITE STYLES
   ----------------------------------------------------------------
   All non-token CSS for the site lives here, organized by section.
   Design tokens (colors, fonts, shadows, radii) live in tokens.css.

   Sections (search by /* === NAME === */ to jump):
     NAVIGATION              Top nav, mobile drawer, dropdowns, mega menu
     SHARED COMPONENTS       Buttons, cards, sections, layouts (.hero, .container, etc.)
     HOME PAGE               Homepage-specific styles
     SERVICES PAGE           /services hero, feature lists, service blocks
     ABOUT PAGE              /about layout
     PARTNER PAGE            /partners layout
     HOW IT WORKS PAGE       /how-it-works step layout
     CASE STUDIES PAGE       /case-studies layout
     CONTACT PAGE            /contact form + grid
     CTA BANNER              Reusable "talk to us" CTA strip
     RISK / PENALTY BANNER   Homepage risk metric callout
     SPLASH HERO             Homepage hero section

   Last updated: extracted from inline homepage <style> 2026-05-04.
============================================================ */

/* ============================================
   NAVIGATION
============================================ */
nav {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.logo-penalty { color: var(--navy); }
.logo-shield { color: var(--teal); }

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--gray-800);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  cursor: pointer;
  font-family: 'Epilogue', sans-serif;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--teal);
  background: var(--teal-pale);
}

/* ─── NAV ─── */
nav {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 0.5rem;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}
.logo-penalty { color: var(--navy); }
.logo-shield { color: var(--teal); }

/* ── main link list ── */
.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--gray-800);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  cursor: pointer;
  font-family: 'Epilogue', sans-serif;
  white-space: nowrap;
  user-select: none;
}

.nav-links > li > a:hover,
.nav-links > li:hover > a {
  color: var(--teal);
  background: var(--teal-pale);
}

/* chevron */
.nav-chevron {
  width: 12px; height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.nav-links > li:hover .nav-chevron { transform: rotate(180deg); }

/* ── nested sub-menu ── */
.nav-dropdown .has-submenu {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  font-family: 'Epilogue', sans-serif;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  text-decoration: none;
}
.nav-dropdown .has-submenu:hover {
  background: var(--teal-pale);
  color: var(--teal);
}
.nav-dropdown .has-submenu svg {
  width: 12px; height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
  margin-left: 8px;
}
.nav-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 180px;
  padding: 8px 0;
  z-index: 300;
}
.has-submenu:hover .nav-submenu { display: block; }
.nav-submenu a {
  display: block;
  padding: 9px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-800);
  text-decoration: none;
  font-family: 'Epilogue', sans-serif;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-submenu a:hover {
  background: var(--teal-pale);
  color: var(--teal);
}

/* ── standard dropdown ── */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px 0;
  z-index: 200;
}
.nav-links > li:hover .nav-dropdown { display: block; }

.nav-dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-800);
  text-decoration: none;
  font-family: 'Epilogue', sans-serif;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-dropdown a:hover {
  background: var(--teal-pale);
  color: var(--teal);
}
.nav-dropdown .dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}
.nav-dropdown .dropdown-label {
  display: block;
  padding: 6px 20px 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  font-family: 'Epilogue', sans-serif;
}

/* ── services mega menu ── */
.nav-mega {
  display: none;
  position: absolute;
  top: 100%;
  left: -20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  width: 680px;
  overflow: hidden;
}
.nav-links > li:hover .nav-mega { display: flex; }

.mega-left {
  width: 200px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 12px 0;
  flex-shrink: 0;
}
.mega-left-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
  font-family: 'Epilogue', sans-serif;
  cursor: pointer;
  transition: all 0.15s;
  border-left: 3px solid transparent;
}
.mega-left-item:hover,
.mega-left-item.active {
  background: var(--white);
  color: var(--teal);
  border-left-color: var(--teal);
}
.mega-left-item svg {
  width: 14px; height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

.mega-right {
  flex: 1;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  align-content: start;
}
.mega-service-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
}
.mega-service-item:hover { background: var(--teal-pale); }
.mega-service-icon {
  width: 36px; height: 36px;
  background: var(--teal-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.mega-service-item:hover .mega-service-icon {
  background: rgba(45,138,108,0.2);
}
.mega-service-text h4 {
  font-family: 'Epilogue', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  line-height: 1.3;
}
.mega-service-text p {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.4;
  font-family: 'Epilogue', sans-serif;
}

/* ── right side ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  font-family: 'Epilogue', sans-serif;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--teal); }
.nav-phone svg { width: 14px; height: 14px; fill: var(--teal); flex-shrink: 0; }

.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  white-space: nowrap;
  cursor: pointer;
}
.nav-cta:hover { background: var(--teal-light) !important; }

/* mobile toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--navy);
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  flex-shrink: 0;
  position: relative;
  z-index: 1001;
}

/* ═══════════════════════════════════════════
   MOBILE NAV OVERLAY
═══════════════════════════════════════════ */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 8888;
}
.mobile-overlay.active { display: block; }

.mobile-drawer {
  display: block;
  position: fixed;
  top: 0; left: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--white);
  z-index: 9999;
  overflow-y: auto;
  transition: left 0.3s ease;
  box-shadow: 4px 0 24px rgba(0,0,0,0.15);
}
.mobile-drawer.open { left: 0; }

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1;
}
.mobile-drawer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
}
.mobile-drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
}
.mobile-nav-item {
  border-bottom: 1px solid var(--border);
}
.mobile-nav-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  font-family: 'Epilogue', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.mobile-nav-item-header:hover { background: var(--teal-pale); color: var(--teal); }
.mobile-nav-item-header svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor;
  stroke-width: 2.5;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.mobile-nav-item-header.expanded svg { transform: rotate(180deg); }
.mobile-nav-sub {
  display: none;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.mobile-nav-sub.open { display: block; }
.mobile-nav-sub a {
  display: block;
  padding: 0.875rem 2rem;
  font-family: 'Epilogue', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-800);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.mobile-nav-sub a:hover { background: var(--teal-pale); color: var(--teal); }
.mobile-nav-sub a:last-child { border-bottom: none; }
.mobile-nav-sub-label {
  display: block;
  padding: 0.5rem 2rem 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  font-family: 'Epilogue', sans-serif;
  background: var(--surface);
}
.mobile-nav-sub-section {
  background: rgba(45,138,108,0.05);
  border-top: 1px solid var(--border);
}
.mobile-nav-sub-section a { padding-left: 2.5rem; }

/* ═══════════════════════════════════════════
   MOBILE RESPONSIVE LAYOUTS
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .mobile-nav-toggle { display: block; }
  .nav-links { display: none !important; }
  .nav-phone { display: none; }
  .nav-inner { height: 60px; padding: 0 1rem; gap: 0.5rem; }
  .logo { font-size: 1.2rem; }
  .nav-cta { padding: 0.4rem 0.875rem !important; font-size: 0.8rem !important; }

  .process-flow { flex-direction: column; align-items: center; }
  .process-arrow { transform: rotate(90deg); }
  .process-step { min-width: unset; width: 100%; max-width: 220px; }

  .splash-hero { padding: 24px 16px 48px; }
  .splash-hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .splash-ctas { flex-direction: column; align-items: stretch; }
  .splash-btn-primary, .splash-btn-ghost { width: 100%; justify-content: center; }

  .home-hero { padding: 3rem 1rem 0; }
  .home-hero-title { font-size: clamp(2rem, 7vw, 2.75rem); }
  .home-hero-actions { flex-direction: column; }
  .trust-strip { margin: 0 -1rem; padding: 1.25rem 1rem; }
  .trust-strip-inner { gap: 0.75rem; }

  .section { padding: 3rem 1rem; }
  .service-layout { grid-template-columns: 1fr !important; gap: 2rem !important; direction: ltr !important; }
  .cta-banner { padding: 3rem 1rem; }
  .cta-banner h2 { font-size: 1.75rem; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .page-hero { padding: 3rem 1rem 2rem; }
  .page-hero-title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .how-step { grid-template-columns: 56px 1fr; gap: 1rem; padding: 2rem 0; }
  .how-step-num { width: 56px; height: 56px; font-size: 1.5rem; }
  .partner-type-grid { grid-template-columns: 1fr !important; }
  .benefits-grid { grid-template-columns: 1fr !important; }
  .grid-3 { grid-template-columns: 1fr !important; }
  .values-grid { grid-template-columns: 1fr !important; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .risk-banner { padding: 1rem; }
  .lens-grid { grid-template-columns: 1fr !important; }
  .visual-metrics { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .splash-hero h1 { font-size: 2rem; }
  .home-hero-title { font-size: 1.875rem; }
}

/* ============================================
   SHARED COMPONENTS
============================================ */
.section { padding: 5rem 2rem; }
.section-sm { padding: 3rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.container-narrow { max-width: 800px; margin: 0 auto; }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
  font-family: 'Epilogue', sans-serif;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal);
  color: var(--white);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: 'Epilogue', sans-serif;
  transition: all 0.2s;
}

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

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--navy);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 2px solid var(--navy);
  cursor: pointer;
  font-family: 'Epilogue', sans-serif;
  transition: all 0.2s;
}

.btn-ghost:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-teal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--teal);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 2px solid var(--teal);
  cursor: pointer;
  font-family: 'Epilogue', sans-serif;
  transition: all 0.2s;
}

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

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

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

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

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

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .section { padding: 3rem 1.25rem; }
}

/* Hero shared styles */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  color: var(--white);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45,138,108,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 1rem;
  font-family: 'Epilogue', sans-serif;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-hero-primary {
  background: var(--teal);
  color: var(--white);
  padding: 1rem 2.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: 'Epilogue', sans-serif;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-hero-primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,138,108,0.4);
}

.btn-hero-ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  padding: 1rem 2.25rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.3);
  cursor: pointer;
  font-family: 'Epilogue', sans-serif;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-hero-ghost:hover {
  border-color: rgba(255,255,255,0.7);
  color: white;
  background: rgba(255,255,255,0.08);
}

/* Stat bar */
.stat-bar {
  background: var(--navy-dark);
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.stat-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item { text-align: left; }

.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--teal-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.25rem;
  font-family: 'Epilogue', sans-serif;
}

/* Tag/pill */
.tag {
  display: inline-block;
  background: var(--teal-pale);
  color: var(--teal);
  padding: 0.25rem 0.875rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: 'Epilogue', sans-serif;
}

.tag-navy {
  background: rgba(28,53,87,0.08);
  color: var(--navy);
}

/* Footer */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Epilogue', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}

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

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--teal-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  margin-top: 1.5rem;
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
}

/* ============================================
   HOME PAGE
============================================ */
.home-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1e4a6b 100%);
  color: var(--white);
  padding: 7rem 2rem 0;
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(45,138,108,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.home-hero::after {
  content: '';
  position: absolute;
  bottom: -5%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(28,53,87,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.home-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.home-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(45,138,108,0.15);
  border: 1px solid rgba(56,168,130,0.3);
  color: var(--teal-light);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-family: 'Epilogue', sans-serif;
}

.home-hero-title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.75rem;
  max-width: 900px;
}

.home-hero-title span { color: var(--teal-light); }

.home-hero-sub {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 3rem;
  font-weight: 300;
}

.home-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.trust-strip {
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 2rem;
  margin: 0 -2rem;
}

.trust-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  font-family: 'Epilogue', sans-serif;
}

.trust-dot {
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

/* Engine cards on home */
.engine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) { .engine-grid { grid-template-columns: 1fr; } }

.engine-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.engine-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
}

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

.engine-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--teal-light);
  padding: 0.3rem 0.875rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
  font-family: 'Epilogue', sans-serif;
}

.engine-card h3 {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.engine-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* Process strip */
.process-strip {
  background: var(--surface);
  padding: 4rem 2rem;
}

.process-flow {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1100px;
  margin: 2.5rem auto 0;
  flex-wrap: wrap;
  justify-content: center;
}

.process-step {
  text-align: center;
  padding: 1.5rem 1.25rem;
  flex: 1;
  min-width: 140px;
}

.process-icon {
  width: 56px;
  height: 56px;
  background: var(--navy);
  color: var(--teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}

.process-step h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  font-family: 'Epilogue', sans-serif;
}

.process-step p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.process-arrow {
  color: var(--teal);
  font-size: 1.5rem;
  padding: 0 0.25rem;
  font-weight: 300;
}

/* ============================================
   SERVICES PAGE
============================================ */
.service-section {
  padding: 5rem 2rem;
}

.service-section:nth-child(even) {
  background: var(--surface);
}

.service-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.service-layout.reverse { direction: rtl; }
.service-layout.reverse > * { direction: ltr; }

@media (max-width: 900px) {
  .service-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-layout.reverse { direction: ltr; }
}

.service-content .section-label { margin-bottom: 0.5rem; }

.service-content h2 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}

.service-content p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.feature-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
}

.feature-list li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.5;
}

.feature-list li:last-child { border-bottom: none; }

.feature-check {
  width: 20px;
  height: 20px;
  background: var(--teal-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 700;
}

.service-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: white;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.service-visual::before {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(45,138,108,0.2) 0%, transparent 70%);
}

.service-visual-badge {
  display: inline-block;
  background: rgba(56,168,130,0.15);
  border: 1px solid rgba(56,168,130,0.3);
  color: var(--teal-light);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-family: 'Epilogue', sans-serif;
  margin-bottom: 1.5rem;
  width: fit-content;
}

.service-visual h3 {
  font-size: 1.75rem;
  color: white;
  margin-bottom: 0.75rem;
}

.service-visual p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.visual-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.visual-metric {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.visual-metric-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal-light);
}

.visual-metric-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
}

/* LENS component styling */
.lens-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 640px) { .lens-grid { grid-template-columns: 1fr; } }

.lens-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.lens-card h4 {
  font-size: 1rem;
  font-family: 'Epilogue', sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.lens-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.lens-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Epilogue', sans-serif;
  margin-bottom: 0.5rem;
}

/* ============================================
   ABOUT PAGE
============================================ */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 3rem auto 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-dot {
  width: 56px;
  height: 56px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal-light);
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  z-index: 1;
}

.timeline-content h4 {
  font-family: 'Epilogue', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.timeline-content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 768px) { .values-grid { grid-template-columns: 1fr; } }

.value-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.value-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

/* Team card */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  text-align: center;
}

.team-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal-light);
}

.team-card h4 {
  font-family: 'Epilogue', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.team-card .role {
  font-size: 0.875rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   PARTNER PAGE
============================================ */
.partner-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 900px) { .partner-type-grid { grid-template-columns: 1fr; } }

.partner-type-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.partner-type-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.partner-type-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.partner-type-card:hover::after { transform: scaleX(1); }

.partner-icon {
  width: 52px;
  height: 52px;
  background: var(--teal-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.partner-type-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.partner-type-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 640px) { .benefits-grid { grid-template-columns: 1fr; } }

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.benefit-num {
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
  font-family: 'Epilogue', sans-serif;
}

.benefit-item h4 {
  font-family: 'Epilogue', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.benefit-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   HOW IT WORKS PAGE
============================================ */
.how-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
  max-width: 900px;
  margin: 0 auto;
}

.how-step:last-child { border-bottom: none; }

.how-step-num {
  width: 80px;
  height: 80px;
  background: var(--navy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal-light);
  flex-shrink: 0;
}

.how-step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.how-step-content p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.how-step-tag {
  display: inline-block;
  background: var(--navy);
  color: var(--teal-light);
  padding: 0.25rem 0.875rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-family: 'Epilogue', sans-serif;
}

/* ============================================
   CASE STUDIES PAGE
============================================ */
.case-study-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.case-study-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cs-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 2rem;
  color: white;
}

.cs-category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 0.75rem;
  font-family: 'Epilogue', sans-serif;
}

.cs-header h3 {
  color: white;
  font-size: 1.375rem;
  line-height: 1.3;
}

.cs-body { padding: 2rem; }

.cs-challenge, .cs-solution, .cs-result {
  margin-bottom: 1.5rem;
}

.cs-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.4rem;
  font-family: 'Epilogue', sans-serif;
}

.cs-body p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.cs-result-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal-pale);
  color: var(--teal);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'Epilogue', sans-serif;
}

/* ============================================
   CONTACT PAGE
============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-family: 'Epilogue', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  font-family: 'Epilogue', sans-serif;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-family: 'Epilogue', sans-serif;
  color: var(--text-body);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(45,138,108,0.08);
}

.form-field textarea { resize: vertical; min-height: 100px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

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

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Epilogue', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}

.form-submit:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45,138,108,0.3);
}

.calendly-cta {
  background: var(--surface);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.calendly-cta p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

/* ============================================
   CTA BANNER
============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 5rem 2rem;
  text-align: center;
}

.cta-banner h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   RISK / PENALTY BANNER (home)
============================================ */
.risk-banner {
  background: var(--navy);
  padding: 1.25rem 2rem;
  text-align: center;
  border-bottom: 3px solid var(--teal);
}

.risk-banner p {
  color: rgba(255,255,255,0.9);
  font-size: 0.9375rem;
  font-family: 'Epilogue', sans-serif;
}

.risk-banner strong { color: var(--teal-light); }

/* Checklist style */
.check-list {
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--text-body);
}

.check-list li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  font-size: 0.875rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* ============================================
/* ─── SPLASH HERO ─── */
.splash-hero {
  padding: 32px 24px 72px;
  text-align: center;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.splash-hero::before {
  content: '';
  position: absolute;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 800px;
  background: radial-gradient(ellipse, rgba(45,138,108,0.055) 0%, transparent 68%);
  pointer-events: none;
}
.splash-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45,138,108,0.08);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(45,138,108,0.2);
  margin-bottom: 20px;
  font-family: 'Epilogue', sans-serif;
}
.splash-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: splashPulse 2s infinite;
}
@keyframes splashPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.splash-hero h1 {
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 900;
  color: var(--navy);
  max-width: 920px;
  margin: 0 auto 36px;
  letter-spacing: -0.03em;
  line-height: 1.06;
}
.splash-hero h1 em {
  font-style: italic;
  color: var(--teal);
  display: block;
  line-height: 1.06;
}
.splash-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 44px;
  line-height: 1.75;
}
.splash-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.splash-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  color: var(--white);
  font-family: 'Epilogue', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 17px 34px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(45,138,108,0.3);
}
.splash-btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45,138,108,0.4);
}
.splash-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--navy);
  font-family: 'Epilogue', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 17px 34px;
  border-radius: 10px;
  text-decoration: none;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}
.splash-btn-ghost:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

/* Scroll animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }


/* ════════════════════════════════════════════════════════════════
   HOMEPAGE V1.2 ADDITIONS — added 2026-05-07, updated 2026-05-08 v3
   ════════════════════════════════════════════════════════════════ */


/* ════════════════════════════════════════════════════════
   PENALTYSHIELD LOGO STYLING (in headings, subheads, body)
   Use: <span class="ps-logo ps-logo-on-white|ps-logo-on-navy">
          <span class="ps-logo-penalty">Penalty</span>
          <span class="ps-logo-shield">Shield</span>
        </span>
   ════════════════════════════════════════════════════════ */

.ps-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}
.ps-logo-shield {
  color: var(--teal);
}
.ps-logo-on-white .ps-logo-penalty {
  color: var(--navy);
}
.ps-logo-on-navy .ps-logo-penalty {
  color: var(--white);
}


/* ════════════════════════════════════════════════════════
   DIAGRAM TIMING VARIABLES — fixes broken animations
   These were defined in the prototype's :root inline; need
   to live in site.css since tokens.css doesn't carry them.
   ════════════════════════════════════════════════════════ */
:root {
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fade-out: 0.15s;
  --t-resize: 0.3s;
  --t-fade-in: 0.2s;
  --t-resize-delay: 0.15s;
  --t-fade-in-delay: 0.45s;
  --text-soft: #9ca3af;  /* arrow color at rest, fixes invisibility on navy */
  --border-soft: #eef2f6;  /* used by some service card list separators */
}


/* ════════════════════════════════════════════════════════
   SPLASH HERO — sizing override for homepage co-visibility
   ════════════════════════════════════════════════════════ */

main > .splash-hero {
  padding: 24px 24px 40px;
}

main > .splash-hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  margin: 0 auto 24px;
  line-height: 1.05;
}

main > .splash-hero .splash-sub {
  margin: 0 auto 28px;
  font-size: 1.05rem;
}

main > .splash-hero .splash-badge {
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  main > .splash-hero {
    padding: 24px 16px 48px;
  }
  main > .splash-hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    margin: 0 auto 28px;
  }
}


/* ════════════════════════════════════════════════════════
   TICKER (Compatible Payroll Partners)
   ════════════════════════════════════════════════════════ */
  /* ════════════════════════════════════════════════════════
     TICKER SECTION
  ════════════════════════════════════════════════════════ */

  .ticker-section {
    padding: 56px 0 64px;
    background: var(--white);
    overflow: hidden;
    position: relative;
  }

  .ticker-heading {
    text-align: center;
    font-family: 'Epilogue', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 36px;
  }

  /* Edge fade */
  .ticker-window {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 80px,
      #000 calc(100% - 80px),
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 80px,
      #000 calc(100% - 80px),
      transparent 100%
    );
  }

  .ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: tickerScroll 69s linear infinite;
  }

  .ticker-window:hover .ticker-track {
    animation-play-state: paused;
  }

  @keyframes tickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  .ticker-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 36px;
    color: var(--navy);
    flex-shrink: 0;
    opacity: 0.62;
    transition: opacity 0.2s ease;
  }

  .ticker-item:hover {
    opacity: 1;
  }

  /* All SVGs auto-scale to fit the row height while preserving aspect ratio */
  .ticker-item svg {
    height: 36px;
    width: auto;
    max-width: 180px;
    display: block;
  }

  /* A couple of logos benefit from a slightly different bounding box because
     they have prominent taglines or compact icon-only shapes. We don't override
     by slug here — we let the natural viewBox handle it. */

  /* ── Demo annotation ── */
  .demo-annotation {
    background: var(--surface);
    border-top: 1px dashed var(--border);
    padding: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
  }
  .demo-annotation strong { color: var(--navy); }

  /* Mobile tweaks */
  @media (max-width: 640px) {
    .ticker-section { padding: 40px 0 48px; }
    .ticker-heading { font-size: 0.7rem; margin-bottom: 24px; }
    .ticker-item {
      height: 44px;
      padding: 0 22px;
    }
    .ticker-item svg {
      height: 28px;
      max-width: 140px;
    }
    .ticker-track {
      animation-duration: 58s;
    }
  }

.ticker-section {
  padding-top: 32px;
}


/* ════════════════════════════════════════════════════════
   SERVICE GRID — NAVY BACKGROUND
   ════════════════════════════════════════════════════════ */

.service-grid-section {
  background: var(--navy);
  padding: 96px 2rem;
  position: relative;
  overflow: hidden;
}

.service-grid-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(45,138,108,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.service-grid-section::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(45,138,108,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.service-grid-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.service-grid-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 900;
  color: var(--white);
  text-align: center;
  margin: 0 0 56px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.service-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
  line-height: 1.2;
}

.service-card-title-sub {
  display: block;
  font-family: 'Epilogue', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0;
}

.service-card-tagline {
  font-style: italic;
  color: var(--navy-light);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 20px;
}

.service-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.service-card-list li {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-body);
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px solid var(--border-soft);
}

.service-card-list li:last-child {
  border-bottom: none;
}

.service-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 2px;
  transform: rotate(45deg);
}

.service-card-cta {
  font-family: 'Epilogue', sans-serif;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  margin-top: auto;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}

.service-card-cta:hover {
  color: var(--teal-light);
  transform: translateX(2px);
}

/* ── "Learn more about our services" button below cards ── */
.service-grid-cta-wrap {
  text-align: center;
  margin-top: 56px;
}

.service-grid-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  color: var(--white);
  font-family: 'Epilogue', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(45,138,108,0.3);
}

.service-grid-cta:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45,138,108,0.42);
}

@media (max-width: 980px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-grid-section {
    padding: 64px 1.5rem;
  }
}


/* ════════════════════════════════════════════════════════
   DIFFERENTIATOR — WHITE WITH SUBTLE TEAL BLOOM
   ════════════════════════════════════════════════════════ */

.differentiator-section {
  background: var(--white);
  padding: 96px 2rem;
  position: relative;
  overflow: hidden;
}

.differentiator-section::before {
  content: '';
  position: absolute;
  top: -25%;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 800px;
  background: radial-gradient(ellipse, rgba(45,138,108,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.differentiator-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(28,53,87,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.differentiator-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.differentiator-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
}

.differentiator-subhead {
  font-size: 1.3rem;
  color: var(--navy-light);
  font-weight: 500;
  margin: 0 0 36px;
  line-height: 1.4;
}

.differentiator-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 auto 56px;
  max-width: 760px;
}


/* ── Card-pair comparison grid (replaces table) ── */

.comparison-pairs {
  margin: 0 auto 48px;
  max-width: 880px;
  text-align: left;
}

.comparison-pairs-headers {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 16px;
  margin-bottom: 12px;
  padding: 0 4px;
}

.comparison-pair-header {
  font-family: 'Epilogue', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.comparison-pair-header-muted {
  color: var(--text-muted);
}

.comparison-pair-header-brand {
  color: var(--teal);
  /* logo span inside; reset transform overrides */
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  text-align: right;
  padding-right: 22px;  /* aligns the right edge with the right card's content */
}

.comparison-pair-header-brand .ps-logo {
  font-size: 1.05rem;
}

.comparison-pair {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 14px;
}

.comparison-card {
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  font-size: 1rem;
  line-height: 1.5;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comparison-card-muted {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.comparison-card-brand {
  background: var(--white);
  border: 1.5px solid var(--teal-pale);
  color: var(--navy);
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(45,138,108,0.06);
  position: relative;
}

.comparison-card-brand::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  background: var(--teal);
  border-radius: 0 3px 3px 0;
}

.comparison-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Epilogue', sans-serif;
}

@media (max-width: 760px) {
  .comparison-pairs-headers,
  .comparison-pair {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .comparison-card-arrow {
    display: none;
  }
  .comparison-pair {
    margin-bottom: 22px;
  }
  .comparison-pair-header {
    margin-top: 8px;
  }
}


/* ── Closing line with thin teal divider above ── */

.differentiator-closer-divider {
  width: 64px;
  height: 2px;
  background: var(--teal);
  margin: 56px auto 22px;
  border-radius: 2px;
}

.differentiator-closer {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin: 0;
  font-style: italic;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .differentiator-section {
    padding: 72px 1.5rem;
  }
}


/* ════════════════════════════════════════════════════════
   METHODOLOGY DIAGRAM (BEAM/PRISM/LENS) — base styles
   ════════════════════════════════════════════════════════ */
  .methodology-section {
    padding: 96px 32px 112px;
    background: var(--white);
  }

  .methodology-inner {
    max-width: 1280px;
    margin: 0 auto;
  }

  .methodology-eyebrow {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 16px;
  }

  .methodology-heading {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
  }

  .methodology-subhead {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 64px;
  }

  /* ── Top-level diagram flow ── */
  .diagram-flow {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    /* Make sure transforms (spotlight) don't get clipped */
    perspective: none;
  }

  /* ── Bookend nodes ── */
  .node-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 12px;
    flex: 0 0 auto;
    min-width: 170px;
    max-width: 200px;
    align-self: center;
    transition: filter 0.3s ease, opacity 0.3s ease;
  }

  .node-data .node-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    margin-bottom: 16px;
  }

  .node-data .node-icon svg { width: 28px; height: 28px; }

  .node-data .node-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--navy);
    margin-bottom: 10px;
  }

  .node-data .node-list {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
  }

  .node-data .node-list span { display: block; }

  /* ── Connector arrows ── */
  .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-soft);
    padding: 0 10px;
    align-self: center;
    flex: 0 0 auto;
    transition: opacity 0.3s ease, filter 0.3s ease, flex-basis var(--t-resize) var(--ease) var(--t-resize-delay), padding var(--t-resize) var(--ease) var(--t-resize-delay);
  }

  .arrow svg { width: 36px; height: 24px; display: block; }

  /* ════════════════════════════════════════════════════════
     ENGINE GROUP (the bracket / "stage")
  ════════════════════════════════════════════════════════ */

  .engine-group {
    position: relative;
    flex: 1;
    max-width: 940px;
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 30px 18px 22px;
    background: linear-gradient(180deg, var(--white) 0%, #fafbfc 100%);
  }

  .engine-group-label {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 5px 16px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--navy);
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(28, 53, 87, 0.04);
    transition: filter 0.3s ease, opacity 0.3s ease;
    z-index: 5;
  }

  .engine-group-label-accent { color: var(--teal); }

  .engine-group-flow {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    /* LOCK: container height enforces card height regardless of content.
       align-items: stretch makes children match. */
    height: 320px;
  }

  /* Internal arrows — fade based on active mode */
  .engine-group.is-active[data-arrows="hide"] .engine-group-flow .arrow {
    flex: 0 0 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
  }

  .engine-group.is-active[data-arrows="show"] .engine-group-flow .arrow {
    opacity: 0.35;
    flex: 0 0 30px;
    padding: 0 4px;
  }

  /* ════════════════════════════════════════════════════════
     ENGINE CARDS — REST / SPINE / EXPANDED
  ════════════════════════════════════════════════════════ */

  .node-engine {
    flex: 1 1 0;
    min-width: 0;
    /* Constant height — the bracket "stage" doesn't grow */
    min-height: 286px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 18px 22px;
    box-shadow: 0 2px 8px rgba(28, 53, 87, 0.04);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition:
      flex var(--t-resize) var(--ease) var(--t-resize-delay),
      padding var(--t-resize) var(--ease) var(--t-resize-delay),
      border-color 0.3s ease,
      box-shadow 0.3s ease,
      transform 0.3s ease,
      filter 0.3s ease,
      opacity 0.3s ease;
    will-change: flex, transform;
  }

  /* Soft teal glow orb behind cards */
  .node-engine::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--teal-pale) 0%, transparent 70%);
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 0;
  }

  /* ── Three content layers ── */
  .engine-content {
    position: relative;
    z-index: 1;
  }

  .engine-content-spine,
  .engine-content-expanded {
    position: absolute;
    inset: 28px 18px 22px 18px;
    opacity: 0;
    pointer-events: none;
    /* Default: fade-out fast (no delay) */
    transition: opacity var(--t-fade-out) ease;
  }

  /* === REST STATE === */

  .engine-content-rest {
    opacity: 1;
    /* Slow, delayed fade-IN when returning from active state */
    transition: opacity var(--t-fade-in) ease var(--t-fade-in-delay);
  }

  .engine-group.is-active .node-engine .engine-content-rest {
    /* When in active mode, rest content fades OUT fast */
    opacity: 0;
    transition: opacity var(--t-fade-out) ease;
  }

  .engine-content-rest .engine-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin: 0 auto 16px;
  }

  .engine-content-rest .engine-icon svg { width: 30px; height: 30px; }

  .engine-content-rest .engine-stage {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--teal);
    margin-bottom: 6px;
  }

  .engine-content-rest .engine-name {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
  }

  .engine-content-rest .engine-desc {
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
  }

  .engine-content-rest .engine-more {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 0.04em;
  }

  .engine-content-rest .engine-more::after {
    content: " →";
    transition: transform 0.2s ease;
    display: inline-block;
  }

  /* === SPINE STATE === */

  .engine-group.is-active .node-engine.is-spine {
    flex: 0 0 90px;
    padding: 24px 6px;
    cursor: pointer;
    background: var(--surface);
    border-color: var(--border-soft);
  }

  .engine-group.is-active .node-engine.is-spine .engine-content-spine {
    opacity: 1;
    pointer-events: auto;
    /* Slow, delayed fade-IN after size transition */
    transition: opacity var(--t-fade-in) ease var(--t-fade-in-delay);
  }

  .engine-content-spine {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
  }

  .engine-content-spine .spine-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
  }

  .engine-content-spine .spine-icon svg { width: 18px; height: 18px; }

  .engine-group[data-spine="name-only"] .engine-content-spine .spine-icon {
    display: none;
  }

  .engine-content-spine .spine-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--navy);
    letter-spacing: 0.04em;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
  }

  .engine-content-spine .spine-stage {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--teal);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
  }

  /* === EXPANDED STATE (compact, fits in same height as rest) === */

  .engine-group.is-active .node-engine.is-active {
    flex: 1 1 0;
    padding: 22px 26px 20px;
    cursor: default;
    border-color: var(--teal);
    box-shadow: 0 12px 32px rgba(45, 138, 108, 0.16);
  }

  .engine-group.is-active .node-engine.is-active::before {
    opacity: 1;
  }

  .engine-group.is-active .node-engine.is-active .engine-content-expanded {
    opacity: 1;
    pointer-events: auto;
    transition: opacity var(--t-fade-in) ease var(--t-fade-in-delay);
  }

  .engine-content-expanded {
    inset: 22px 26px 20px 26px;
    display: flex;
    flex-direction: column;
  }

  .expanded-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
  }

  .expanded-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
  }

  .expanded-icon svg { width: 22px; height: 22px; }

  .expanded-titles {
    flex: 1;
    min-width: 0;
  }

  .expanded-stage {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--teal);
    margin-bottom: 2px;
  }

  .expanded-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--navy);
    line-height: 1.05;
    letter-spacing: -0.01em;
  }

  .expanded-close {
    background: transparent;
    border: 1px solid var(--border);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    line-height: 1;
    font-family: -apple-system, sans-serif;
    transition: all 0.2s ease;
  }

  .expanded-close:hover {
    border-color: var(--navy);
    color: var(--navy);
    background: var(--surface);
  }

  .expanded-tagline {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 14px;
  }

  .expanded-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
    flex: 1;
  }

  .expanded-list li {
    position: relative;
    padding-left: 18px;
    font-size: 0.86rem;
    color: var(--navy);
    line-height: 1.4;
  }

  .expanded-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 7px;
    height: 7px;
    background: var(--teal);
    transform: rotate(45deg);
  }

  .expanded-cta {
    margin-top: 12px;
    text-align: right;
  }

  .expanded-cta a {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--teal);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
  }

  .expanded-cta a::after {
    content: " →";
    display: inline-block;
    transition: transform 0.2s ease;
  }

  .expanded-cta a:hover { color: var(--navy); }
  .expanded-cta a:hover::after { transform: translateX(3px); }

  /* ════════════════════════════════════════════════════════
     SPOTLIGHT HOVER EFFECT (Eliza's idea)
     - Hovered engine card lifts and scales up
     - Everything else in the diagram blurs and dims
     - Only on devices that genuinely support hover
     - Only in REST state (not active)
  ════════════════════════════════════════════════════════ */

  @media (hover: hover) {
    /* Hovered card emerges */
    .engine-group:not(.is-active) .node-engine:hover {
      transform: translateY(-10px) scale(1.06);
      box-shadow: 0 24px 48px rgba(28, 53, 87, 0.18);
      border-color: var(--teal-light);
      z-index: 10;
    }

    .engine-group:not(.is-active) .node-engine:hover::before {
      opacity: 1;
    }

    .engine-group:not(.is-active) .node-engine:hover .engine-content-rest .engine-more::after {
      transform: translateX(3px);
    }

    /* Other engine cards blur and dim */
    .engine-group:not(.is-active):has(.node-engine:hover) .node-engine:not(:hover) {
      filter: blur(2px);
      opacity: 0.4;
      transform: scale(0.97);
    }

    /* Internal arrows also dim */
    .engine-group:not(.is-active):has(.node-engine:hover) .engine-group-flow .arrow {
      filter: blur(1px);
      opacity: 0.3;
    }

    /* Bookend data nodes and outer arrows blur and dim */
    .diagram-flow:has(.node-engine:hover) .node-data,
    .diagram-flow:has(.node-engine:hover) > .arrow {
      filter: blur(2px);
      opacity: 0.4;
    }

    /* Bracket label also dims slightly */
    .diagram-flow:has(.node-engine:hover) .engine-group-label {
      opacity: 0.5;
    }

    /* In active mode: spines have a gentler hover (no spotlight) */
    .engine-group.is-active .node-engine.is-spine:hover {
      background: var(--white);
      border-color: var(--teal-light);
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(28, 53, 87, 0.06);
    }
  }

  /* ════════════════════════════════════════════════════════
     MOBILE — content swap in place
  ════════════════════════════════════════════════════════ */

  @media (max-width: 980px) {
    .methodology-section { padding: 64px 18px 80px; }

    .diagram-flow {
      flex-direction: column;
      align-items: stretch;
    }

    .arrow {
      transform: rotate(90deg);
      padding: 6px 0;
      align-self: center;
    }

    .node-data {
      padding: 18px 16px;
      background: var(--surface);
      border-radius: 14px;
      flex-direction: row;
      align-items: center;
      text-align: left;
      gap: 16px;
      max-width: none;
    }

    .node-data .node-icon { margin-bottom: 0; flex-shrink: 0; }

    .engine-group {
      padding: 30px 14px 18px;
      max-width: none;
    }

    .engine-group-flow {
      flex-direction: column;
      /* Override desktop height lock — mobile stacks vertically */
      height: auto;
    }

    .engine-group-flow .arrow {
      transform: rotate(90deg);
      padding: 6px 0;
    }

    .node-engine {
      max-width: none;
      min-height: 240px;
    }

    /* Mobile: spines act like normal cards (full size, rest content) */
    .engine-group.is-active .node-engine.is-spine {
      flex: 1 1 0;
      padding: 28px 18px 22px;
      background: var(--white);
      border-color: var(--border);
    }

    .engine-group.is-active .node-engine.is-spine .engine-content-rest {
      opacity: 1;
      pointer-events: auto;
    }
    .engine-group.is-active .node-engine.is-spine .engine-content-spine {
      opacity: 0;
      pointer-events: none;
    }

    .engine-group.is-active .node-engine.is-active {
      padding: 22px 22px 20px;
    }

    .engine-content-expanded {
      inset: 22px 22px 20px 22px;
    }

    .expanded-list {
      grid-template-columns: 1fr;
      gap: 6px;
    }

    .expanded-name { font-size: 1.35rem; }
  }

  /* ════════════════════════════════════════════════════════
     DEMO CONTROLS (prototype only)
  ════════════════════════════════════════════════════════ */


/* ── Override: revert card border to original spec ──
   Cards should have NO border at rest, navy border only when active.
   Original prototype used border-color transitions on rest/hover.    */
.methodology-section .node-engine {
  border: 1px solid transparent;
  background: var(--white);
}

.methodology-section .node-engine:hover {
  border-color: rgba(45, 138, 108, 0.25);
}

.methodology-section .engine-group.is-active .node-engine.is-active {
  border-color: var(--teal);
}


/* ── Navy background + recolor for navy theming ── */
.methodology-section {
  background: var(--navy) !important;
  position: relative;
  overflow: hidden;
}

.methodology-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45,138,108,0.10) 0%, transparent 65%);
  pointer-events: none;
}

.methodology-section .methodology-inner {
  position: relative;
  z-index: 1;
}

.methodology-section .methodology-eyebrow {
  color: var(--teal-light);
}
.methodology-section .methodology-heading {
  color: var(--white);
}
.methodology-section .methodology-subhead {
  color: rgba(255, 255, 255, 0.78);
}

/* Bookend nodes (Raw Client Data + Outputs) on navy */
.methodology-section .node-data .node-title,
.methodology-section .node-data .node-list {
  color: rgba(255, 255, 255, 0.85);
}
.methodology-section .node-data .node-icon {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
}

/* Arrows: visible at rest on navy.
   Belt-and-suspenders fix — multiple defensive rules to ensure
   arrows render correctly in the dist/ build. */
.methodology-section .arrow {
  color: rgba(255, 255, 255, 0.55) !important;
  opacity: 1 !important;
}

.methodology-section .arrow svg {
  width: 36px !important;
  height: 24px !important;
  display: block !important;
  stroke: rgba(255, 255, 255, 0.55) !important;
  fill: none !important;
}

/* Ensure the .diagram-flow > .arrow elements (the bookend arrows
   between raw-data and the bracket, and between bracket and outputs)
   have visible flex space allocated */
.methodology-section .diagram-flow > .arrow {
  flex: 0 0 auto !important;
  padding: 0 10px !important;
  min-width: 56px !important;
}

.methodology-section .engine-group-label {
  background: var(--navy);
  color: var(--white);
}
.methodology-section .engine-group {
  border: 1.5px dashed rgba(255, 255, 255, 0.3);
}


/* ════════════════════════════════════════════════════════
   FINAL CTA — FULL-BLEED IMAGE BACKGROUND (Treatment B)
   Image fills section, navy gradient overlay handles
   text contrast. Image is the atmosphere.
   ════════════════════════════════════════════════════════ */

.final-cta-section {
  color: var(--white);
  padding: 110px 2rem 120px;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(180deg,
      rgba(28, 53, 87, 0.75) 0%,
      rgba(28, 53, 87, 0.70) 35%,
      rgba(20, 38, 64, 0.88) 100%),
    url('/images/cta-background.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45,138,108,0.18) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.final-cta-inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 56px;
  align-items: center;
}

.final-cta-practitioner {
  text-align: left;
}

.final-cta-newsletter {
  text-align: left;
}

/* Vertical separator between the two halves */
.final-cta-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.25) 30%, rgba(255, 255, 255, 0.25) 70%, transparent 100%);
  min-height: 220px;
}

/* Newsletter (right side) — sized smaller than practitioner heading */
.final-cta-newsletter-eyebrow {
  font-family: 'Epilogue', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin: 0 0 8px;
}

.final-cta-newsletter-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.2;
  margin: 0 0 10px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.final-cta-newsletter-supporting {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin: 0 0 20px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
}

.final-cta-newsletter-form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.final-cta-newsletter-input {
  font-family: 'Epilogue', sans-serif;
  font-size: 0.92rem;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  color: var(--white);
  flex: 1;
  min-width: 200px;
  transition: border-color 0.2s, background 0.2s;
}

.final-cta-newsletter-input:focus {
  outline: none;
  border-color: var(--teal-light);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(56, 168, 130, 0.18);
}

.final-cta-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.final-cta-newsletter-submit {
  font-family: 'Epilogue', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 12px 20px;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.final-cta-newsletter-submit:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.24);
}

.final-cta-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  line-height: 1.15;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.final-cta-supporting {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 36px;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.final-cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.final-cta-btn-primary,
.final-cta-btn-secondary {
  font-family: 'Epilogue', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}

.final-cta-btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.final-cta-btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.final-cta-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.final-cta-btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 980px) {
  .final-cta-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .final-cta-divider {
    width: 80px;
    height: 1px;
    min-height: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    justify-self: center;
  }
  .final-cta-practitioner,
  .final-cta-newsletter {
    text-align: center;
  }
  .final-cta-buttons {
    justify-content: center;
  }
  .final-cta-newsletter-form {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .final-cta-section {
    padding: 80px 1.5rem 88px;
  }
  .final-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .final-cta-btn-primary,
  .final-cta-btn-secondary {
    width: 100%;
  }
  .final-cta-newsletter-form {
    flex-direction: column;
    width: 100%;
  }
  .final-cta-newsletter-input,
  .final-cta-newsletter-submit {
    width: 100%;
    min-width: 0;
  }
}

/* ════════════════════════════════════════════════════════════════
   NAV UPDATE V2 — added 2026-05-08
   - Slide-down animation (550ms, gentle deceleration)
   - Minimal monoline SVG icons in services mega menu
   - Flat services layout (no ACA Compliance submenu rail)
   ════════════════════════════════════════════════════════════════ */


/* ────────────────────────────────────────────────
   DROPDOWNS — convert from display:none to opacity/visibility
   so we can transition them. The display:none rule in the prior
   CSS is overridden here (later wins).
   ──────────────────────────────────────────────── */

.nav-dropdown,
.nav-mega {
  display: block !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-14px) scaleY(0.92);
  transform-origin: top center;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.55s;
}

.nav-links > li:hover .nav-dropdown,
.nav-links > li:hover .nav-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scaleY(1);
}


/* ────────────────────────────────────────────────
   MEGA MENU — flat services layout (no submenu rail)
   The new HTML structure removes the .mega-left rail
   entirely. We override the parent to be a 2-column
   grid of service items instead of flex with a rail.
   ──────────────────────────────────────────────── */

.nav-mega {
  width: 720px;
  padding: 22px;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* When the mega is in the at-rest hidden state, grid still renders
   but it's invisible due to opacity:0 + visibility:hidden + pointer-events:none.
   No special override needed. */


/* ────────────────────────────────────────────────
   MEGA SERVICE ITEMS — updated for SVG icons
   ──────────────────────────────────────────────── */

.mega-service-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background 0.12s;
}
.mega-service-item:hover {
  background: var(--teal-pale);
}

/* Override the existing .mega-service-icon for SVGs (was emoji-styled) */
.mega-service-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  transition: background 0.12s;
  font-size: inherit;
}
.mega-service-item:hover .mega-service-icon {
  background: var(--white);
}
.mega-service-icon svg {
  width: 22px;
  height: 22px;
}


/* ────────────────────────────────────────────────
   PS-ICON-MINIMAL — monoline icon style class
   Used inside .mega-service-icon SVGs.
   ──────────────────────────────────────────────── */

.ps-icon-minimal {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ────────────────────────────────────────────────
   MEGA TEXT — refined typography for new layout
   ──────────────────────────────────────────────── */

.mega-service-text h4 {
  font-family: 'Epilogue', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  margin: 2px 0 4px;
  line-height: 1.3;
}
.mega-service-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  font-family: 'Epilogue', sans-serif;
  margin: 0;
}


/* ════════════════════════════════════════════════════════════════
   V1.4 ADDITIONS — added 2026-05-08
   - Service card hover: arrow reveal + smooth lift
   - Comparison card hover: subtle slide animation
   - Scroll-triggered methodology entrance
   - Newsletter section ("The PenaltyShield Brief")
   ════════════════════════════════════════════════════════════════ */


/* ════════════════════════════════════════════════════════
   SERVICE CARD HOVER MICRO-ANIMATIONS
   ════════════════════════════════════════════════════════ */

.service-card-cta {
  position: relative;
  transition: color 0.2s, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card-cta {
  color: var(--teal-light);
  transform: translateX(4px);
}

.service-card {
  transition: border-color 0.25s, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
}


/* ════════════════════════════════════════════════════════
   COMPARISON CARD HOVER MICRO-ANIMATIONS
   ════════════════════════════════════════════════════════ */

.comparison-card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
}

.comparison-pair:hover .comparison-card-brand {
  transform: translateX(3px);
  box-shadow: 0 4px 16px rgba(45,138,108,0.14);
}

.comparison-pair:hover .comparison-card-arrow {
  transform: translateX(2px);
  color: var(--teal);
  transition: transform 0.3s, color 0.3s;
}


/* Methodology scroll-triggered entrance was removed in v1.7.
   The animation kept colliding with the section's existing transition
   system for the BEAM/PRISM/LENS diagram, and the failure-safe version
   was too subtle to notice. Section now uses its base styles only. */
/* ============================================
   BLOG — Layout, Typography, Components
   Covers: /blog (hub), /blog/* (post pages)
============================================ */

/* ── Blog Post Page Shell ── */
.blog-post-page {
  background: var(--white);
}

/* ── Blog Hero ── */
.blog-post-hero {
  background: var(--navy);
  padding: 72px 2rem 0;
  position: relative;
  overflow: hidden;
}
.blog-post-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(45,138,108,.12) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(217,119,6,.07) 0%, transparent 50%);
  pointer-events: none;
}
.blog-post-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.blog-post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 24px;
  font-family: 'Epilogue', sans-serif;
}
.blog-post-breadcrumb a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color .2s;
}
.blog-post-breadcrumb a:hover { color: var(--teal-light); }
.blog-post-breadcrumb-sep { color: rgba(255,255,255,.2); }
.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.blog-post-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
/* Category color variants */
.blog-cat-enforcement { background: rgba(220,38,38,.2); color: #fca5a5; border: 1px solid rgba(220,38,38,.3); }
.blog-cat-penalty     { background: rgba(37,99,235,.2); color: #93c5fd; border: 1px solid rgba(37,99,235,.3); }
.blog-cat-filing      { background: rgba(45,138,108,.2); color: #6ee7b7; border: 1px solid rgba(45,138,108,.3); }
.blog-cat-ale         { background: rgba(217,119,6,.2); color: #fcd34d; border: 1px solid rgba(217,119,6,.3); }
.blog-cat-audit       { background: rgba(139,92,246,.2); color: #c4b5fd; border: 1px solid rgba(139,92,246,.3); }

.blog-post-date,
.blog-post-read {
  font-size: 0.78rem;
  color: rgba(255,255,255,.45);
  font-family: 'Epilogue', sans-serif;
}
.blog-post-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  max-width: 760px;
}
.blog-post-deck {
  color: rgba(255,255,255,.68);
  font-family: 'Epilogue', sans-serif;
  font-size: 1.05rem;
  line-height: 1.72;
  margin-bottom: 40px;
  max-width: 660px;
}
.blog-post-hero-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-light) 100%);
  margin-top: 48px;
}

/* ── Blog Layout: content + sidebar ── */
.blog-post-layout {
  max-width: 1160px;
  margin: 0 auto;
  padding: 52px 2rem 96px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
  align-items: start;
}
.blog-post-main {}
.blog-post-sidebar {}
.blog-post-sidebar-sticky {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Post Body Typography ── */
.blog-post-body {
  background: var(--white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 52px 56px;
  box-shadow: var(--shadow-md);
}
.blog-post-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.28;
  margin-top: 52px;
  margin-bottom: 18px;
  padding-top: 52px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 100px;
}
.blog-post-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.blog-post-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 36px;
  margin-bottom: 12px;
  scroll-margin-top: 100px;
}
.blog-post-body p {
  font-family: 'Epilogue', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 22px;
  max-width: 70ch;
}
.blog-post-body a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .2s;
}
.blog-post-body a:hover { color: var(--teal-light); }
.blog-post-body ul,
.blog-post-body ol {
  margin: 16px 0 24px 24px;
}
.blog-post-body li {
  font-family: 'Epilogue', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 10px;
  max-width: 68ch;
}
.blog-post-body strong { color: var(--navy); font-weight: 700; }
.blog-post-body em { font-style: italic; }

/* ── Tables ── */
.blog-table-wrap {
  overflow-x: auto;
  margin: 28px 0 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.blog-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  font-family: 'Epilogue', sans-serif;
}
.blog-table-wrap thead {
  background: var(--navy);
  color: var(--white);
}
.blog-table-wrap thead th {
  padding: 13px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}
.blog-table-wrap tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.blog-table-wrap tbody tr:last-child { border-bottom: none; }
.blog-table-wrap tbody tr:hover { background: #f0f7ff; }
.blog-table-wrap tbody tr:nth-child(even) { background: var(--surface); }
.blog-table-wrap tbody tr:nth-child(even):hover { background: #f0f7ff; }
.blog-table-wrap tbody td {
  padding: 13px 18px;
  color: var(--text-body);
  line-height: 1.5;
  vertical-align: top;
}
.blog-table-wrap tbody td:first-child {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.84rem;
}

/* ── Callouts ── */
.blog-callout {
  display: flex;
  gap: 16px;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 28px 0;
  align-items: flex-start;
}
.blog-callout-icon { font-size: 1.15rem; flex-shrink: 0; margin-top: 1px; }
.blog-callout-body strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.blog-callout-body p {
  font-size: 0.9rem;
  line-height: 1.62;
  margin: 0 !important;
  max-width: none !important;
}
.blog-callout.info {
  background: var(--teal-pale);
  border: 1px solid rgba(45,138,108,.22);
  color: #064e3b;
}
.blog-callout.info .blog-callout-body strong { color: #064e3b; }
.blog-callout.warning {
  background: #fef2f2;
  border: 1px solid rgba(220,38,38,.2);
  color: #7f1d1d;
}
.blog-callout.warning .blog-callout-body strong { color: #991b1b; }
.blog-callout.deadline {
  background: #fffbeb;
  border: 1px solid rgba(217,119,6,.25);
  color: #78350f;
}
.blog-callout.deadline .blog-callout-body strong { color: #92400e; }

/* ── Mid-article CTA ── */
.blog-mid-cta {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 36px 40px;
  margin: 52px 0;
  position: relative;
  overflow: hidden;
}
.blog-mid-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 90% 50%, rgba(45,138,108,.2) 0%, transparent 60%);
  pointer-events: none;
}
.blog-mid-cta-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 10px;
  font-family: 'Epilogue', sans-serif;
}
.blog-mid-cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.28;
  margin-bottom: 12px;
}
.blog-mid-cta p {
  color: rgba(255,255,255,.65);
  font-family: 'Epilogue', sans-serif;
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 0 !important;
  max-width: none !important;
}
.blog-mid-cta-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}
.blog-mid-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--white) !important;
  text-decoration: none !important;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-family: 'Epilogue', sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  transition: background .2s;
  width: fit-content;
}
.blog-mid-cta-link:hover { background: var(--teal-light); }
.blog-mid-cta-link.secondary {
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85) !important;
}
.blog-mid-cta-link.secondary:hover {
  background: rgba(255,255,255,.18);
  color: var(--white) !important;
}

/* ── Lead Magnet ── */
.blog-lead-magnet {
  background: var(--teal-pale);
  border: 1px solid rgba(45,138,108,.22);
  border-radius: var(--radius-md);
  padding: 28px;
  margin: 44px 0;
  display: flex;
  gap: 20px;
  align-items: center;
}
.blog-lead-magnet-icon { font-size: 2.6rem; flex-shrink: 0; }
.blog-lead-magnet-text h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.blog-lead-magnet-text p {
  font-family: 'Epilogue', sans-serif;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px !important;
  max-width: none !important;
}
.blog-lead-magnet-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal);
  color: var(--white) !important;
  text-decoration: none !important;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-family: 'Epilogue', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  transition: background .2s;
}
.blog-lead-magnet-link:hover { background: var(--teal-light); }

/* ── Key Takeaways ── */
.blog-takeaways {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 32px 36px;
}
.blog-takeaways ul { list-style: none; margin: 0; padding: 0; }
.blog-takeaways li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-family: 'Epilogue', sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: none !important;
  margin-bottom: 0 !important;
}
.blog-takeaways li:last-child { border-bottom: none; padding-bottom: 0; }
.blog-takeaways li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  font-size: 0.88rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── End-of-post CTA ── */
.blog-end-cta {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-top: 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-end-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(45,138,108,.18) 0%, transparent 60%);
  pointer-events: none;
}
.blog-end-cta-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 14px;
  font-family: 'Epilogue', sans-serif;
  position: relative;
  z-index: 1;
}
.blog-end-cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.22;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.blog-end-cta p {
  color: rgba(255,255,255,.62);
  font-family: 'Epilogue', sans-serif;
  font-size: 0.95rem;
  line-height: 1.68;
  margin-bottom: 28px !important;
  max-width: 540px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative;
  z-index: 1;
}
.blog-end-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.blog-end-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal);
  color: var(--white) !important;
  text-decoration: none !important;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: 'Epilogue', sans-serif;
  font-weight: 700;
  font-size: 0.94rem;
  transition: background .2s;
}
.blog-end-cta-btn-primary:hover { background: var(--teal-light); }
.blog-end-cta-btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.72) !important;
  text-decoration: none !important;
  font-family: 'Epilogue', sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.2);
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.blog-end-cta-btn-phone:hover {
  border-color: rgba(255,255,255,.5);
  color: var(--white) !important;
}

/* ── Related Articles ── */
.blog-related {
  margin-top: 52px;
}
.blog-related-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  font-family: 'Epilogue', sans-serif;
}
.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.blog-related-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
  border-top: 3px solid var(--border);
}
.blog-related-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-top-color: var(--teal);
}
.blog-related-card-thumb {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  opacity: 0.2;
}
.blog-related-card-body { padding: 16px 18px 20px; }
.blog-related-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-pale);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 8px;
  font-family: 'Epilogue', sans-serif;
}
.blog-related-card-body h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.38;
  margin-bottom: 8px;
}
.blog-related-card-body span {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-family: 'Epilogue', sans-serif;
}

/* ── Sidebar CTA ── */
.blog-sidebar-cta {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
}
.blog-sidebar-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(45,138,108,.18) 0%, transparent 65%);
  pointer-events: none;
}
.blog-sidebar-cta-inner { position: relative; z-index: 1; }
.blog-sidebar-cta-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 10px;
  font-family: 'Epilogue', sans-serif;
}
.blog-sidebar-cta h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}
.blog-sidebar-cta p {
  color: rgba(255,255,255,.55);
  font-family: 'Epilogue', sans-serif;
  font-size: 0.8rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.blog-sidebar-cta-btn {
  display: block;
  background: var(--teal);
  color: var(--white) !important;
  text-decoration: none !important;
  text-align: center;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-family: 'Epilogue', sans-serif;
  font-weight: 700;
  font-size: 0.84rem;
  transition: background .2s;
  margin-bottom: 9px;
}
.blog-sidebar-cta-btn:hover { background: var(--teal-light); }
.blog-sidebar-cta-phone {
  display: block;
  text-align: center;
  color: rgba(255,255,255,.5) !important;
  font-family: 'Epilogue', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: color .2s;
}
.blog-sidebar-cta-phone:hover { color: var(--white) !important; }

/* ── Sidebar TOC ── */
.blog-sidebar-toc {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.blog-sidebar-toc-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
  font-family: 'Epilogue', sans-serif;
}
.blog-sidebar-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}
.blog-sidebar-toc li {
  counter-increment: toc;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 0;
  max-width: none;
  font-size: inherit;
  line-height: inherit;
}
.blog-sidebar-toc li:last-child { border-bottom: none; padding-bottom: 0; }
.blog-sidebar-toc li::before {
  content: counter(toc);
  font-family: 'Epilogue', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--teal);
  min-width: 14px;
  opacity: 0.65;
}
.blog-sidebar-toc a {
  color: var(--navy);
  text-decoration: none !important;
  font-family: 'Epilogue', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.42;
  transition: color .2s;
}
.blog-sidebar-toc a:hover { color: var(--teal); }

/* ── Mobile TOC (hidden on desktop, shown on mobile) ── */
.blog-mobile-toc {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin-bottom: 36px;
}
.blog-mobile-toc-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
  font-family: 'Epilogue', sans-serif;
}
.blog-mobile-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: mtoc;
}
.blog-mobile-toc li {
  counter-increment: mtoc;
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
  max-width: none;
}
.blog-mobile-toc li:last-child { border-bottom: none; }
.blog-mobile-toc li::before {
  content: counter(mtoc, decimal-leading-zero);
  font-family: 'Epilogue', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--teal);
  min-width: 20px;
  opacity: 0.65;
}
.blog-mobile-toc a {
  color: var(--navy);
  text-decoration: none;
  font-family: 'Epilogue', sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
}

/* ── Blog Hub (/blog index) ── */
.blog-hub-hero {
  background: var(--navy);
  padding: 80px 2rem 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-hub-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 30%, rgba(45,138,108,.12) 0%, transparent 55%);
  pointer-events: none;
}
.blog-hub-hero-inner { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
.blog-hub-badge {
  display: inline-block;
  font-family: 'Epilogue', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-light);
  background: rgba(45,138,108,.15);
  border: 1px solid rgba(45,138,108,.25);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.blog-hub-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.16;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.blog-hub-hero p {
  color: rgba(255,255,255,.6);
  font-family: 'Epilogue', sans-serif;
  font-size: 1.05rem;
  line-height: 1.72;
}
.blog-hub-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-light) 100%);
}
.blog-hub-main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px 2rem 96px;
}
.blog-hub-section-label {
  font-family: 'Epilogue', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

/* Featured post */
.blog-featured {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  text-decoration: none !important;
  margin-bottom: 56px;
  border-left: 4px solid var(--teal);
  transition: box-shadow .25s, transform .25s;
  align-items: center;
}
.blog-featured:hover {
  box-shadow: 0 8px 32px rgba(28,53,87,.18);
  transform: translateY(-3px);
}
.blog-featured-icon {
  font-size: 5rem;
  text-align: center;
  opacity: 0.16;
}
.blog-featured-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.blog-featured-meta-sep { color: var(--text-muted); font-size: 0.7rem; }
.blog-featured h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.24;
  margin-bottom: 12px;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.blog-featured p {
  font-family: 'Epilogue', sans-serif;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.72;
  margin-bottom: 18px;
  max-width: 68ch;
}
.blog-featured-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-family: 'Epilogue', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
}

/* Post card grid */
.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  text-decoration: none !important;
  transition: box-shadow .25s, transform .25s;
  border-top: 3px solid var(--border);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-top-color: var(--teal);
}
.blog-card-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  opacity: 0.18;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.blog-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.32;
  margin-bottom: 10px;
  margin-top: 0;
}
.blog-card p {
  font-family: 'Epilogue', sans-serif;
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.68;
  flex-grow: 1;
  margin-bottom: 16px;
  max-width: none;
}
.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.blog-card-read-link {
  font-family: 'Epilogue', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
}
.blog-card-read-time {
  font-family: 'Epilogue', sans-serif;
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Hub bottom CTA */
.blog-hub-cta {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 52px;
  text-align: center;
  margin-top: 64px;
  position: relative;
  overflow: hidden;
}
.blog-hub-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(45,138,108,.18) 0%, transparent 60%);
  pointer-events: none;
}
.blog-hub-cta-inner { position: relative; z-index: 1; }
.blog-hub-cta-eyebrow {
  font-family: 'Epilogue', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 14px;
}
.blog-hub-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.22;
  margin-bottom: 14px;
  margin-top: 0;
}
.blog-hub-cta p {
  color: rgba(255,255,255,.6);
  font-family: 'Epilogue', sans-serif;
  font-size: 0.95rem;
  line-height: 1.72;
  max-width: 540px;
  margin: 0 auto 32px;
}
.blog-hub-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .blog-post-hero { padding: 48px 1.25rem 0; }
  .blog-post-hero h1 { font-size: 2rem; }
  .blog-post-layout {
    grid-template-columns: 1fr;
    padding: 0 1.25rem 64px;
    gap: 32px;
  }
  .blog-post-sidebar { display: none; }
  .blog-mobile-toc { display: block; }
  .blog-post-body { padding: 28px 24px; border-radius: 0 0 var(--radius-md) var(--radius-md); }
  .blog-related-grid { grid-template-columns: 1fr; gap: 12px; }
  .blog-end-cta { padding: 32px 24px; }
  .blog-end-cta h3 { font-size: 1.45rem; }
  .blog-end-cta-buttons { flex-direction: column; }
  .blog-mid-cta { padding: 28px 24px; }
  .blog-lead-magnet { flex-direction: column; }

  .blog-hub-hero { padding: 52px 1.25rem 48px; }
  .blog-hub-hero h1 { font-size: 2rem; }
  .blog-hub-main { padding: 36px 1.25rem 64px; }
  .blog-featured {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .blog-featured-icon { font-size: 3rem; }
  .blog-card-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-hub-cta { padding: 36px 24px; }
  .blog-hub-cta h2 { font-size: 1.55rem; }
  .blog-hub-cta-buttons { flex-direction: column; }
}
