/* ============================================================
   JOHN BAKER LAW — Master Stylesheet
   Dark authority aesthetic. Gold accents. Cormorant Garamond.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Libre+Franklin:wght@300;400;500;600;700&display=swap');

:root {
  --black:       #080C12;
  --navy-deep:   #0C1420;
  --navy:        #111B2E;
  --navy-light:  #1A2A42;
  --gold:        #C4972A;
  --gold-light:  #D4AE50;
  --gold-pale:   #F0E4C0;
  --gold-dim:    rgba(196,151,42,0.12);
  --cream:       #FAF7F0;
  --cream-dark:  #EEE8DB;
  --white:       #FFFFFF;
  --text-on-dark:   rgba(255,255,255,0.82);
  --text-muted:     rgba(255,255,255,0.48);
  --text-dark:      #1C2433;
  --text-secondary: #4A5568;
  --border-gold:    rgba(196,151,42,0.35);
  --border-dark:    rgba(255,255,255,0.07);
  --shadow-gold:    0 4px 28px rgba(196,151,42,0.18);
  --shadow-dark:    0 12px 48px rgba(0,0,0,0.5);
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Libre Franklin', 'Helvetica Neue', sans-serif;
  --max-width: 1200px;
  --ease: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text-on-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--gold-light); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ============================================================
   GOLD RULE DIVIDER
   ============================================================ */
.gold-rule {
  width: 64px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 0 auto 28px;
  display: block;
}
.gold-rule-left { margin: 0 0 28px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(8,12,18,0.96);
  border-bottom: 1px solid var(--border-gold);
  backdrop-filter: blur(12px);
  transition: box-shadow var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 4px 40px rgba(0,0,0,0.6);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}

.logo-link { display: flex; align-items: center; gap: 14px; }
.logo-img { height: 52px; width: auto; }
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem; font-weight: 600;
  color: var(--white); letter-spacing: 0.04em; line-height: 1.15;
}
.logo-text span {
  display: block; font-size: 0.65rem; font-weight: 400;
  color: var(--gold); letter-spacing: 0.22em; text-transform: uppercase; margin-top: 3px;
}

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > a {
  font-size: 0.78rem; font-weight: 500;
  color: var(--text-muted); padding: 9px 13px; border-radius: 3px;
  letter-spacing: 0.04em; transition: all var(--ease); white-space: nowrap;
}
.main-nav > a:hover,
.main-nav > a.active { color: var(--white); background: var(--gold-dim); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--black) !important;
  font-weight: 600 !important;
  padding: 10px 22px !important;
  border-radius: 3px !important;
  margin-left: 10px;
  letter-spacing: 0.03em !important;
}
.nav-cta:hover { background: var(--gold-light) !important; color: var(--black) !important; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.6em; opacity: 0.6; }
.dropdown-menu {
  position: absolute; top: calc(100% + 4px); left: 0;
  background: var(--navy-deep);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  min-width: 250px; padding: 8px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: all 0.22s ease;
  box-shadow: var(--shadow-dark);
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: block; padding: 10px 20px;
  font-size: 0.8rem; color: var(--text-on-dark);
  border-bottom: 1px solid var(--border-dark);
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { color: var(--gold); background: rgba(196,151,42,0.06); }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--white); margin: 5px 0; transition: all var(--ease); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
    background: var(--black);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px 20px; overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.32s ease;
    border-top: 1px solid var(--border-gold);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > a { padding: 15px 16px; font-size: 0.95rem; border-bottom: 1px solid var(--border-dark); }
  .nav-cta { margin-left: 0 !important; margin-top: 16px; text-align: center; padding: 14px !important; }
  .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-left: 2px solid var(--gold);
    background: transparent; padding: 4px 0 4px 16px; min-width: auto;
  }
  .dropdown-menu a { color: var(--text-muted); border-bottom: none; font-size: 0.88rem; padding: 8px 12px; }
}

/* ============================================================
   HERO — HOMEPAGE
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--black);
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(196,151,42,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(17,27,46,0.8) 0%, transparent 50%),
    linear-gradient(160deg, var(--black) 0%, var(--navy-deep) 40%, var(--navy) 100%);
}
.hero-bg-line {
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max-width); margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: 1fr 420px; gap: 80px; align-items: center;
}

.hero-eyebrow {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 32px; height: 1px; background: var(--gold);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 300; line-height: 1.1;
  color: var(--white); margin-bottom: 8px; letter-spacing: 0.01em;
}
.hero h1 strong { font-weight: 700; display: block; }
.hero h1 em { font-style: italic; color: var(--gold-light); }

.hero-rule {
  width: 56px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 24px 0;
}

.hero-subtitle {
  font-size: 1rem; font-weight: 300;
  color: var(--text-on-dark); line-height: 1.8; margin-bottom: 36px;
  max-width: 520px; opacity: 0.85;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image-wrap {
  position: relative;
  display: flex; justify-content: center;
}
.hero-image-wrap::before {
  content: '';
  position: absolute; inset: -16px;
  background: radial-gradient(ellipse, rgba(196,151,42,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-image-wrap img {
  width: 100%; max-width: 380px;
  border-radius: 4px;
  box-shadow: var(--shadow-dark);
  border: 1px solid var(--border-gold);
  position: relative; z-index: 1;
}

.hero-badges {
  display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap;
}
.hero-badge {
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  border-radius: 3px;
  padding: 8px 14px;
  font-size: 0.72rem; font-weight: 600;
  color: var(--gold-light); letter-spacing: 0.08em; text-transform: uppercase;
}

@media (max-width: 900px) {
  .hero { padding: 110px 0 60px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-eyebrow { justify-content: center; }
  .hero-eyebrow::before { display: none; }
  .hero-rule { margin: 24px auto; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-image-wrap img { max-width: 280px; }
}

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  padding: 140px 0 64px;
  background: linear-gradient(165deg, var(--black) 0%, var(--navy-deep) 60%, var(--navy) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-hero .breadcrumb {
  font-size: 0.75rem; color: var(--text-muted); margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.page-hero .breadcrumb a { color: var(--text-muted); }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600; color: var(--white); margin-bottom: 14px;
}
.page-hero p {
  color: var(--text-on-dark); opacity: 0.75; font-size: 1rem;
  max-width: 560px; margin: 0 auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  padding: 14px 30px; border-radius: 3px; border: none;
  cursor: pointer; transition: all var(--ease);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.btn-primary {
  background: var(--gold); color: var(--black);
}
.btn-primary:hover {
  background: var(--gold-light); color: var(--black);
  transform: translateY(-1px); box-shadow: var(--shadow-gold);
}
.btn-outline {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost {
  background: transparent; color: var(--gold);
  border: 1px solid var(--border-gold);
}
.btn-ghost:hover { background: var(--gold-dim); }
.btn-sm { padding: 10px 22px; font-size: 0.75rem; }
.btn-lg { padding: 18px 40px; font-size: 0.9rem; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 88px 0; }
.section-dark { background: var(--black); }
.section-navy { background: var(--navy-deep); }
.section-light {
  background: var(--cream);
  color: var(--text-dark);
}
.section-light .section-label { color: var(--gold); }
.section-light h2 { color: var(--navy); }
.section-light p { color: var(--text-secondary); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
  display: inline-block; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}
.section-header h2 {
  font-family: var(--font-heading); font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 500; color: var(--white); line-height: 1.15; margin-bottom: 16px;
}
.section-header p {
  color: var(--text-on-dark); opacity: 0.7; font-size: 1rem;
  max-width: 580px; margin: 0 auto;
}

/* ============================================================
   PRACTICE AREA CARDS
   ============================================================ */
.practice-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border-gold);
  border: 1px solid var(--border-gold);
  border-radius: 4px; overflow: hidden;
}
@media (max-width: 900px) { .practice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .practice-grid { grid-template-columns: 1fr; } }

.practice-card {
  background: var(--navy-deep);
  padding: 40px 32px;
  transition: background var(--ease);
  position: relative; overflow: hidden;
}
.practice-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.practice-card:hover { background: var(--navy); }
.practice-card:hover::after { transform: scaleX(1); }

.practice-card .card-icon {
  font-size: 1.8rem; color: var(--gold); margin-bottom: 20px;
  opacity: 0.85;
}
.practice-card h3 {
  font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600;
  color: var(--white); margin-bottom: 12px;
}
.practice-card p {
  font-size: 0.87rem; color: var(--text-on-dark); opacity: 0.7;
  line-height: 1.7; margin-bottom: 20px;
}
.practice-card .card-link {
  font-size: 0.75rem; font-weight: 600; color: var(--gold);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.practice-card .card-link::after { content: ' →'; }
.practice-card .card-link:hover { color: var(--gold-light); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
@media (max-width: 680px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  background: var(--navy-deep);
  border: 1px solid var(--border-gold);
  border-radius: 4px; padding: 36px 32px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading); font-size: 5rem; color: var(--gold);
  opacity: 0.18; position: absolute; top: 8px; left: 22px; line-height: 1;
}
.testimonial-card .stars { color: var(--gold); margin-bottom: 16px; letter-spacing: 3px; }
.testimonial-card blockquote {
  font-family: var(--font-heading); font-size: 1.05rem; font-style: italic;
  color: var(--text-on-dark); line-height: 1.75; margin-bottom: 22px;
}
.testimonial-card .attribution { font-size: 0.8rem; font-weight: 600; color: var(--gold); }
.testimonial-card .attribution span { font-weight: 400; color: var(--text-muted); }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--navy);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 48px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; text-align: center;
}
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; } }

.stat-item { padding: 0 24px; }
.stat-item + .stat-item { border-left: 1px solid var(--border-dark); }
@media (max-width: 700px) { .stat-item + .stat-item { border-left: none; } }

.stat-num {
  font-family: var(--font-heading); font-size: 2.8rem; font-weight: 700;
  color: var(--gold); line-height: 1; margin-bottom: 8px;
}
.stat-label {
  font-size: 0.72rem; font-weight: 500; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.14em;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--navy-deep);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 72px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(196,151,42,0.06) 0%, transparent 65%);
}
.cta-banner > .container { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500; color: var(--white); margin-bottom: 12px;
}
.cta-banner p {
  color: var(--text-on-dark); opacity: 0.7; font-size: 1rem;
  max-width: 480px; margin: 0 auto 28px;
}
.cta-phone {
  font-family: var(--font-heading); font-size: 2.2rem; font-weight: 600;
  color: var(--gold-light); display: block; margin-bottom: 22px;
  letter-spacing: 0.04em;
}
.cta-phone:hover { color: var(--white); }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid {
  display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: start;
}
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }

.about-photo-wrap { position: relative; }
.about-photo-wrap img {
  width: 100%; border-radius: 4px;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-dark);
}
.about-photo-caption {
  margin-top: 16px;
  background: var(--navy-deep); border: 1px solid var(--border-gold);
  border-radius: 4px; padding: 18px 20px;
}
.about-photo-caption .award {
  font-size: 0.75rem; color: var(--gold); font-weight: 500;
  letter-spacing: 0.06em; padding: 6px 0;
  border-bottom: 1px solid var(--border-dark);
}
.about-photo-caption .award:last-child { border-bottom: none; }
.about-photo-caption .award::before { content: '✦  '; opacity: 0.7; }

.about-content h1 {
  font-family: var(--font-heading); font-size: 3rem; font-weight: 300;
  color: var(--white); line-height: 1.1; margin-bottom: 6px;
}
.about-content h1 strong { font-weight: 700; color: var(--gold-light); }
.about-descriptor {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 28px;
}
.about-content p {
  font-size: 0.96rem; color: var(--text-on-dark); opacity: 0.82;
  line-height: 1.82; margin-bottom: 20px;
}
.credentials-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px;
}
@media (max-width: 600px) { .credentials-grid { grid-template-columns: 1fr; } }

.credential-item {
  background: var(--navy-deep); border: 1px solid var(--border-gold);
  border-radius: 4px; padding: 18px 20px;
}
.credential-item h4 {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.credential-item p {
  font-size: 0.85rem; color: var(--text-on-dark); opacity: 0.8;
  line-height: 1.5; margin: 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form-wrap {
  background: var(--navy-deep);
  border: 1px solid var(--border-gold);
  border-radius: 4px; padding: 44px 40px;
}
.contact-form-wrap h2 {
  font-family: var(--font-heading); font-size: 2rem; font-weight: 500;
  color: var(--white); margin-bottom: 6px;
}
.contact-form-wrap .form-sub {
  font-size: 0.88rem; color: var(--text-muted); margin-bottom: 32px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 13px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: 3px; color: var(--white);
  font-family: var(--font-body); font-size: 0.9rem;
  transition: border-color var(--ease);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,151,42,0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select { color: var(--text-muted); cursor: pointer; }
.form-group select option { background: var(--navy); color: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-disclaimer {
  font-size: 0.75rem; color: var(--text-muted); margin-top: 12px; line-height: 1.6;
}

.contact-info h3 {
  font-family: var(--font-heading); font-size: 1.8rem; font-weight: 500;
  color: var(--white); margin-bottom: 24px;
}
.contact-detail {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--border-dark);
}
.contact-detail:last-of-type { border-bottom: none; }
.contact-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--gold-dim); border: 1px solid var(--border-gold);
  border-radius: 3px; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.contact-detail-text strong {
  display: block; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px;
}
.contact-detail-text span, .contact-detail-text a {
  font-size: 0.92rem; color: var(--text-on-dark);
}
.contact-detail-text a:hover { color: var(--gold); }

.office-hours {
  background: var(--navy-deep); border: 1px solid var(--border-gold);
  border-radius: 4px; padding: 24px; margin-top: 28px;
}
.office-hours h4 {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.hours-row {
  display: flex; justify-content: space-between;
  font-size: 0.85rem; padding: 7px 0;
  border-bottom: 1px solid var(--border-dark);
  color: var(--text-on-dark);
}
.hours-row:last-child { border-bottom: none; }
.hours-row .day { color: var(--text-muted); }

/* ============================================================
   PRACTICE AREAS PAGE (hub)
   ============================================================ */
.pa-hero-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
  margin-bottom: 28px;
}
.pa-hero-grid .practice-card-lg {
  background: var(--navy-deep); border: 1px solid var(--border-gold);
  border-radius: 4px; padding: 44px 36px;
  transition: background var(--ease); position: relative; overflow: hidden;
}
.pa-hero-grid .practice-card-lg::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: var(--gold); transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.4s ease;
}
.pa-hero-grid .practice-card-lg:hover { background: var(--navy); }
.pa-hero-grid .practice-card-lg:hover::before { transform: scaleY(1); }
.pa-hero-grid .practice-card-lg .card-icon { font-size: 2.2rem; color: var(--gold); margin-bottom: 20px; }
.pa-hero-grid .practice-card-lg h3 {
  font-family: var(--font-heading); font-size: 1.6rem; font-weight: 600;
  color: var(--white); margin-bottom: 14px;
}
.pa-hero-grid .practice-card-lg p {
  font-size: 0.9rem; color: var(--text-on-dark); opacity: 0.72;
  line-height: 1.75; margin-bottom: 22px;
}
.pa-secondary-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border-gold); border: 1px solid var(--border-gold); border-radius: 4px; overflow: hidden;
}
@media (max-width: 900px) { .pa-secondary-grid { grid-template-columns: repeat(2, 1fr); } .pa-hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 500px) { .pa-secondary-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CONTENT PAGES (blog, single practice area)
   ============================================================ */
.content-layout {
  display: grid; grid-template-columns: 1fr 300px; gap: 56px;
  max-width: var(--max-width); margin: 0 auto; padding: 0 28px;
}
@media (max-width: 900px) { .content-layout { grid-template-columns: 1fr; } }

.content-body h2 {
  font-family: var(--font-heading); font-size: 1.9rem; font-weight: 600;
  color: var(--white); margin: 40px 0 14px;
}
.content-body h3 {
  font-family: var(--font-heading); font-size: 1.4rem; font-weight: 600;
  color: var(--white); margin: 32px 0 10px;
}
.content-body p {
  font-size: 0.95rem; color: var(--text-on-dark); opacity: 0.82;
  line-height: 1.85; margin-bottom: 18px;
}
.content-body ul, .content-body ol {
  margin: 4px 0 20px 22px; color: var(--text-on-dark);
}
.content-body li { margin-bottom: 8px; font-size: 0.95rem; line-height: 1.7; opacity: 0.82; }
.content-body ul li::marker { color: var(--gold); }
.content-body a { color: var(--gold); border-bottom: 1px solid transparent; }
.content-body a:hover { border-bottom-color: var(--gold); }

.sidebar-card {
  background: var(--navy-deep); border: 1px solid var(--border-gold);
  border-radius: 4px; padding: 28px; margin-bottom: 24px;
}
.sidebar-card h3 {
  font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600;
  color: var(--white); margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border-gold);
}
.sidebar-card a {
  display: block; padding: 9px 0; font-size: 0.85rem;
  color: var(--text-on-dark); border-bottom: 1px solid var(--border-dark);
}
.sidebar-card a:last-child { border-bottom: none; }
.sidebar-card a:hover { color: var(--gold); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-dark); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; background: none; border: none; cursor: pointer;
  font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600;
  color: var(--white); text-align: left; padding: 22px 0;
}
.faq-question::after {
  content: '+'; font-size: 1.4rem; color: var(--gold);
  flex-shrink: 0; margin-left: 16px; transition: transform var(--ease);
}
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.38s ease, padding 0.38s ease;
}
.faq-item.open .faq-answer { max-height: 800px; padding-bottom: 20px; }
.faq-answer p { font-size: 0.92rem; color: var(--text-on-dark); opacity: 0.78; line-height: 1.78; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--navy-deep); border: 1px solid var(--border-dark);
  border-radius: 4px; overflow: hidden; transition: all var(--ease);
}
.blog-card:hover { border-color: var(--border-gold); transform: translateY(-3px); box-shadow: var(--shadow-dark); }
.blog-card-body { padding: 26px; }
.blog-tag {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px; display: block;
}
.blog-card h3 {
  font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600;
  color: var(--white); margin-bottom: 10px; line-height: 1.3;
}
.blog-card h3 a { color: var(--white); }
.blog-card h3 a:hover { color: var(--gold-light); }
.blog-card p { font-size: 0.85rem; color: var(--text-on-dark); opacity: 0.65; line-height: 1.65; margin-bottom: 16px; }
.blog-read-more { font-size: 0.75rem; font-weight: 600; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; }
.blog-read-more::after { content: ' →'; }

/* ============================================================
   RESULTS
   ============================================================ */
.results-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border-gold); border: 1px solid var(--border-gold); border-radius: 4px; overflow: hidden;
}
@media (max-width: 760px) { .results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .results-grid { grid-template-columns: 1fr; } }

.result-card {
  background: var(--navy-deep); padding: 36px 28px; text-align: center;
  transition: background var(--ease);
}
.result-card:hover { background: var(--navy); }
.result-amount {
  font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700;
  color: var(--gold); margin-bottom: 8px;
}
.result-type { font-size: 0.9rem; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.result-detail { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--border-gold);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px; margin-bottom: 48px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .footer-logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .footer-logo-wrap img { height: 48px; }
.footer-brand .footer-logo-name {
  font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; color: var(--white);
}
.footer-brand .footer-logo-name span { display: block; font-size: 0.6rem; color: var(--gold); letter-spacing: 0.2em; text-transform: uppercase; }
.footer-brand p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.7; }

.site-footer h4 {
  font-family: var(--font-heading); font-size: 1rem; font-weight: 600;
  color: var(--white); margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border-gold);
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { font-size: 0.82rem; color: var(--text-muted); }
.site-footer ul a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 28px; display: flex; justify-content: space-between;
  align-items: flex-start; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.75rem; color: var(--text-muted); line-height: 1.6; max-width: 560px; }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--gold); }

/* ============================================================
   BLOG CTA BOX
   ============================================================ */
.blog-cta-box {
  background: var(--navy-deep); border: 1px solid var(--border-gold);
  border-radius: 4px; padding: 36px; text-align: center; margin: 40px 0;
}
.blog-cta-box h3 {
  font-family: var(--font-heading); font-size: 1.6rem; font-weight: 500;
  color: var(--gold-light); margin-bottom: 10px;
}
.blog-cta-box p { font-size: 0.92rem; color: var(--text-on-dark); opacity: 0.8; margin-bottom: 22px; }
.blog-cta-box .cta-buttons { justify-content: center; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in:nth-child(2) { transition-delay: 0.08s; }
.fade-in:nth-child(3) { transition-delay: 0.16s; }
.fade-in:nth-child(4) { transition-delay: 0.24s; }
.fade-in:nth-child(5) { transition-delay: 0.32s; }
.fade-in:nth-child(6) { transition-delay: 0.40s; }

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