/* ==========================================================================
   Recovery Direct USA — Master Stylesheet v2 (Editorial Premium)
   Design direction: white-dominant, strong typographic hierarchy,
   editorial numbered pillars, surgical gold accents, generous whitespace.
   Brand tokens: 05-brand-system-v1.md
   ========================================================================== */

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

/* ---------- Design Tokens ---------- */
:root {
  --navy:        #1C2B5A;
  --navy-deep:   #121F44;
  --navy-soft:   #2A3C75;
  --white:       #FFFFFF;
  --off-white:   #F7F8FA;
  --gold:        #C29F4E;
  --gold-deep:   #A67F2F;
  --gold-light:  #F2E6C4;
  --gold-glow:   rgba(194, 159, 78, 0.15);

  --grey-900: #1A1A1A;
  --grey-700: #374151;
  --grey-500: #6B7280;
  --grey-300: #D1D5DB;
  --grey-200: #E5E7EB;
  --grey-100: #F3F4F6;

  --success: #10B981;
  --warning: #F59E0B;
  --error:   #DC2626;
  --info:    #2563EB;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  --max-w:        1280px;
  --max-w-narrow: 960px;
  --max-w-read:   720px;

  --radius-sm: 4px;
  --radius:    6px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 3px  rgba(28, 43, 90, 0.06);
  --shadow:    0 4px 16px rgba(28, 43, 90, 0.08);
  --shadow-lg: 0 16px 48px rgba(28, 43, 90, 0.12);

  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 220ms var(--ease);

  --z-header:     100;
  --z-dropdown:   200;
  --z-mobile-nav: 300;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--grey-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
@media (min-width: 768px)  { .container { padding: 0 var(--sp-12); } }
@media (min-width: 1280px) { .container { padding: 0 var(--sp-16); } }

/* ---------- Typography ---------- */
h1, .h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
}
h2, .h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--navy);
}
h3, .h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.35;
  color: var(--navy);
}
h4, .h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--navy);
}
p { max-width: 70ch; }
.lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.75;
  color: var(--grey-700);
}

/* Eyebrow label — thin gold rule + small caps */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}
.eyebrow-light {
  color: rgba(255, 255, 255, 0.7);
}
.eyebrow-light::before { background: var(--gold); }
.eyebrow-gold { color: var(--gold); }
.eyebrow-gold::before { background: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 15px 32px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Primary — gold */
.btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  box-shadow: 0 8px 24px rgba(194, 159, 78, 0.32);
  transform: translateY(-1px);
}

/* Navy */
.btn-navy {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

/* Outline — dark */
.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* Outline — white (for dark backgrounds) */
.btn-outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-lg { padding: 17px 40px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* Arrow link */
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-deep);
  transition: gap var(--transition);
}
.btn-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.btn-link:hover { gap: var(--sp-3); }
.btn-link:hover svg { transform: translateX(3px); }

/* ---------- Sections ---------- */
.section    { padding: var(--sp-20) 0; }
.section-lg { padding: var(--sp-24) 0; }
.section-sm { padding: var(--sp-12) 0; }
@media (min-width: 768px) {
  .section    { padding: var(--sp-24) 0; }
  .section-lg { padding: var(--sp-32) 0; }
}

.bg-offwhite   { background-color: var(--off-white); }
.bg-navy       { background-color: var(--navy); }
.bg-navy-deep  { background-color: var(--navy-deep); }

.section-head { margin-bottom: var(--sp-16); }
.section-head h2 { margin-bottom: var(--sp-3); }
.section-head .lead { margin-top: var(--sp-4); }
.section-head.centered { text-align: center; }
.section-head.centered p { margin-left: auto; margin-right: auto; }

.cta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
}

/* ---------- Site Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(28, 43, 90, 0.08);
  border-bottom-color: transparent;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  height: 72px;
}

/* Logo */
.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-family: var(--font-serif);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-main {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.logo-sub {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--gold);
  text-transform: uppercase;
}

/* Primary nav */
.primary-nav {
  display: none;
  flex: 1;
  justify-content: center;
}
@media (min-width: 1024px) { .primary-nav { display: flex; } }
.primary-nav > ul {
  display: flex;
  align-items: center;
}
.primary-nav > ul > li { position: relative; }
.primary-nav a,
.primary-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: var(--sp-2) var(--sp-3);
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-700);
  text-decoration: none;
  transition: color var(--transition);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
}
.primary-nav a:hover,
.primary-nav .nav-link:hover { color: var(--navy); }

/* Underline on hover */
.primary-nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--sp-3);
  right: var(--sp-3);
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.primary-nav > ul > li > a:hover::after { transform: scaleX(1); }
.primary-nav svg { width: 11px; height: 11px; color: var(--grey-500); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity var(--transition),
    transform var(--transition),
    visibility var(--transition);
  z-index: var(--z-dropdown);
  overflow: hidden;
}
.primary-nav li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: var(--sp-3) var(--sp-4);
  font-size: 14px;
  color: var(--grey-700);
  transition: background var(--transition), color var(--transition);
}
.dropdown li a::after { display: none; }
.dropdown li a:hover {
  background: var(--off-white);
  color: var(--navy);
}

/* Utility nav */
.utility-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin-left: auto;
}
.utility-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  color: var(--grey-700);
  position: relative;
  transition: color var(--transition), background var(--transition);
}
.utility-btn:hover { color: var(--navy); background: var(--off-white); }
.utility-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 16px; height: 16px;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  color: var(--navy);
  border-radius: var(--radius);
  transition: background var(--transition);
}
.mobile-toggle:hover { background: var(--off-white); }
.mobile-toggle svg { width: 22px; height: 22px; }
@media (min-width: 1024px) { .mobile-toggle { display: none; } }

/* ---------- Mobile Nav ---------- */
.mobile-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(380px, 90vw);
  background: var(--navy);
  z-index: var(--z-mobile-nav);
  transform: translateX(100%);
  transition: transform 350ms var(--ease-out);
  overflow-y: auto;
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}
.mobile-nav.active { transform: translateX(0); }
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  color: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.mobile-nav-close:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.mobile-nav-close svg { width: 20px; height: 20px; }
.mobile-nav > ul > li > a {
  display: block;
  padding: var(--sp-3) 0;
  font-size: 17px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color var(--transition);
}
.mobile-nav > ul > li > a:hover { color: var(--white); }
.mobile-sub { padding: var(--sp-2) 0 var(--sp-2) var(--sp-4); }
.mobile-sub li a {
  display: block;
  padding: var(--sp-2) 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}
.mobile-sub li a:hover { color: var(--gold); }
.mobile-nav-cta { margin-top: var(--sp-4); }
.mobile-nav-cta .btn { width: 100%; justify-content: center; }
.mobile-nav-contact {
  margin-top: auto;
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.9;
}
.mobile-nav-contact a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}
.mobile-nav-contact a:hover { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 43, 90, 0.50);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--sp-20) var(--sp-6);
  max-width: 860px;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-8);
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.65;
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: var(--sp-8);
}
.hero-rule {
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 auto var(--sp-6);
}
.hero-subs {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-10);
}
.hero-sub {
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.02em;
}
.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}
.hero-micro {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.03em;
}

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: scrollBounce 2.8s ease-in-out infinite;
}
.hero-scroll svg { width: 16px; height: 16px; }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0);  opacity: 0.35; }
  50%       { transform: translateX(-50%) translateY(7px); opacity: 0.6; }
}

/* Hero entrance */
.fade-in { animation: fadeUp 0.9s var(--ease-out) both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Trust Strip ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (min-width: 640px) { .trust-strip { grid-template-columns: repeat(4, 1fr); } }

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
  border-right: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
}
.trust-item:nth-child(even) { border-right: none; }
@media (min-width: 640px) {
  .trust-item { border-bottom: none; }
  .trust-item:nth-child(even) { border-right: 1px solid var(--grey-200); }
  .trust-item:last-child      { border-right: none; }
}
.trust-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}
.trust-icon svg { width: 28px; height: 28px; }
.trust-item h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}
.trust-item p {
  font-size: 12px;
  color: var(--grey-500);
  line-height: 1.5;
  max-width: none;
}

/* ---------- Pillars — Editorial Numbered ---------- */
.pillars-wrap { display: flex; flex-direction: column; }

.pillar-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  padding: var(--sp-12) 0;
  border-top: 1px solid var(--grey-200);
}
.pillar-row:last-child { border-bottom: 1px solid var(--grey-200); }

@media (min-width: 768px) {
  .pillar-row {
    grid-template-columns: 108px 1fr 1fr;
    gap: var(--sp-12);
    align-items: start;
    padding: var(--sp-16) 0;
  }
}

.pillar-num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--gold-light);
  user-select: none;
}

.pillar-heading {
  padding-top: 4px;
}
.pillar-heading h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: var(--sp-3);
}

.pillar-body { padding-top: 4px; }
.pillar-body p {
  font-size: 15px;
  color: var(--grey-700);
  line-height: 1.8;
  max-width: 54ch;
  margin-bottom: var(--sp-4);
}
.pillar-proof {
  display: inline-block;
  padding: var(--sp-2) var(--sp-4);
  background: var(--off-white);
  border-left: 2px solid var(--gold);
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-700);
  letter-spacing: 0.01em;
  line-height: 1.5;
}

/* ---------- B2B Feature Cards (navy section) ---------- */
.feature-section {
  background: var(--navy);
  padding: var(--sp-24) 0;
  position: relative;
  overflow: hidden;
}
.feature-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 65% 40%, rgba(194, 159, 78, 0.07) 0%, transparent 55%);
  pointer-events: none;
}
.feature-section .eyebrow { color: rgba(255,255,255,0.6); }
.feature-section .section-head h2 { color: var(--white); }
.feature-section .section-head .lead { color: rgba(255, 255, 255, 0.6); }

.feature-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 768px) { .feature-cards { grid-template-columns: 1fr 1fr; } }

.feature-card {
  display: block;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--sp-8) var(--sp-8) var(--sp-10);
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--transition),
    background var(--transition),
    transform var(--transition);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 380ms var(--ease-out);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-4px);
}
.feature-card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-4);
}
.feature-card h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  color: var(--white);
  line-height: 1.25;
  margin-bottom: var(--sp-4);
}
.feature-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.8;
  margin-bottom: var(--sp-8);
  max-width: 44ch;
}
.feature-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.03em;
  transition: gap var(--transition);
}
.feature-card:hover .feature-link { gap: var(--sp-3); }
.feature-link svg { width: 13px; height: 13px; }

/* ---------- Modality Grid ---------- */
.modality-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--grey-200);
  border: 1px solid var(--grey-200);
  margin-top: var(--sp-12);
}
@media (min-width: 768px) { .modality-grid { grid-template-columns: repeat(3, 1fr); } }

.modality-tile {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-8) var(--sp-6);
  background: var(--white);
  text-decoration: none;
  position: relative;
  transition: background var(--transition);
  overflow: hidden;
}
.modality-tile::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 280ms var(--ease-out);
}
.modality-tile:hover { background: var(--off-white); }
.modality-tile:hover::after { transform: scaleX(1); }

.modality-icon {
  color: var(--gold);
  transition: transform var(--transition);
}
.modality-tile:hover .modality-icon { transform: translateY(-2px); }
.modality-icon svg { width: 28px; height: 28px; }

.modality-tile h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
.modality-tile .count {
  font-size: 12px;
  color: var(--grey-500);
  font-style: italic;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
}
@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-12);
  }
}
.testimonial {
  display: flex;
  flex-direction: column;
}
.testimonial-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.85;
  color: var(--navy);
  flex: 1;
  quotes: '\201C' '\201D';
  margin-bottom: var(--sp-6);
}
.testimonial-quote::before { content: open-quote; }
.testimonial-quote::after  { content: close-quote; }
.testimonial-attr {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--gold-light);
}
.testimonial-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.testimonial-role {
  font-size: 12px;
  color: var(--grey-500);
}

/* ---------- Blog Section ---------- */
.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--sp-6);
  margin-bottom: var(--sp-12);
  flex-wrap: wrap;
}
.blog-header .section-sub {
  font-size: 15px;
  color: var(--grey-700);
  max-width: 54ch;
  margin-top: var(--sp-3);
  line-height: 1.6;
}
.blog-all-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  border-bottom: 1px solid var(--grey-300);
  padding-bottom: 2px;
  transition: border-color var(--transition), color var(--transition);
  flex-shrink: 0;
}
.blog-all-link:hover { color: var(--gold-deep); border-color: var(--gold); }
.blog-all-link svg { width: 13px; height: 13px; transition: transform var(--transition); }
.blog-all-link:hover svg { transform: translateX(3px); }

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

.blog-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  text-decoration: none;
  border-bottom: 2px solid var(--grey-200);
  padding-bottom: var(--sp-8);
  transition: border-color var(--transition);
}
.blog-card:hover { border-bottom-color: var(--gold); }

.blog-thumb {
  aspect-ratio: 16 / 9;
  background: var(--off-white);
  border: 1px solid var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--grey-300);
  margin-bottom: var(--sp-2);
  transition: border-color var(--transition);
}
.blog-card:hover .blog-thumb { border-color: var(--grey-300); }
.blog-thumb svg { width: 36px; height: 36px; }

.blog-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 12px;
  color: var(--grey-500);
}
.blog-tag {
  background: var(--gold-light);
  color: var(--gold-deep);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.blog-card h4 {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.45;
  transition: color var(--transition);
}
.blog-card:hover h4 { color: var(--gold-deep); }
.blog-card p {
  font-size: 14px;
  color: var(--grey-700);
  line-height: 1.7;
  flex: 1;
}

/* ---------- CTA Strip ---------- */
.cta-strip {
  background: var(--navy);
  padding: var(--sp-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(194, 159, 78, 0.09) 0%, transparent 60%);
  pointer-events: none;
}
.cta-strip > .container { position: relative; }
.cta-strip .eyebrow { color: var(--gold); margin-bottom: var(--sp-4); }
.cta-strip .eyebrow::before { background: var(--gold); }
.cta-strip h2 { color: var(--white); margin-bottom: var(--sp-4); }
.cta-strip .lead {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 auto var(--sp-8);
}
.cta-strip .cta-wrap { justify-content: center; }
.cta-micro {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: var(--sp-4);
  letter-spacing: 0.02em;
}
.footer-contact-line {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: var(--sp-6);
}
.footer-contact-line a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  transition: color var(--transition);
}
.footer-contact-line a:hover { color: var(--white); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  padding: var(--sp-16) 0 var(--sp-8);
  color: rgba(255, 255, 255, 0.55);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 260px repeat(4, 1fr); gap: var(--sp-16); }
}

.footer-brand {}
.footer-wordmark {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
}
.footer-wordmark-sub { color: var(--gold); }
.footer-contact {
  font-size: 13px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.42);
}
.footer-contact a {
  color: rgba(255, 255, 255, 0.58);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-6);
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.45);
  transition: border-color var(--transition), color var(--transition);
}
.social-icon:hover { border-color: var(--gold); color: var(--gold); }
.social-icon svg { width: 15px; height: 15px; }

.footer-col h5 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--sp-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.48);
  transition: color var(--transition);
}
.footer-col li a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding-top: var(--sp-8);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.28);
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.micro { font-size: 12px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.footer-legal li a {
  color: rgba(255, 255, 255, 0.28);
  transition: color var(--transition);
}
.footer-legal li a:hover { color: rgba(255, 255, 255, 0.55); }

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 650ms var(--ease-out),
    transform 650ms var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 90ms; }
.reveal:nth-child(3) { transition-delay: 180ms; }
.reveal:nth-child(4) { transition-delay: 270ms; }

/* ---------- Accordion (for other pages) ---------- */
.accordion-item { border-bottom: 1px solid var(--grey-200); }
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-6) 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  gap: var(--sp-4);
  transition: color var(--transition);
}
.accordion-trigger:hover { color: var(--gold-deep); }
.accordion-trigger svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--grey-500);
}
.accordion-item.open .accordion-trigger { color: var(--gold-deep); }
.accordion-item.open .accordion-trigger svg { transform: rotate(180deg); }
.accordion-body {
  display: none;
  padding-bottom: var(--sp-6);
  font-size: 15px;
  color: var(--grey-700);
  line-height: 1.75;
}
.accordion-item.open .accordion-body { display: block; }

/* ---------- Attorney Banner (legal shells) ---------- */
.attorney-banner {
  background: #FEF3C7;
  border-bottom: 2px solid #F59E0B;
  padding: var(--sp-4) var(--sp-6);
  font-size: 14px;
  font-weight: 600;
  color: #92400E;
  text-align: center;
}

/* ---------- Misc utility ---------- */
.text-center { text-align: center; }
.text-white  { color: var(--white); }
.mt-8  { margin-top: var(--sp-8); }
.mt-12 { margin-top: var(--sp-12); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-scroll { animation: none; }
}
