/* ============================================
   MVP LAW GROUP, APC
   Maison Noir Design System
   mvplawgroupla.com
   ============================================ */

/* ---- 1. Variables (Dark Mode Default) ---- */
:root {
  --noir:         #0E0D0B;
  --noir-mid:     #161410;
  --noir-light:   #1C1A16;
  --gold:         #C8A96E;
  --champagne:    #E8D8B0;
  --gold-pale:    rgba(200,169,110,0.08);
  --gold-border:  rgba(200,169,110,0.2);
  --ivory:        #FFFFFF;
  --surface:      #1E1B16;
  --teal:         #2a6f6b;
  --teal-light:   rgba(42,111,107,0.15);
  --coral:        #b84c3a;
  --text:         #FFFFFF;
  --text-mid:     #FFFFFF;
  --text-muted:   #FFFFFF;
  --border:       rgba(200,169,110,0.15);
  --border-mid:   rgba(200,169,110,0.22);
  --bg:           #0E0D0B;
  --bg-alt:       #161410;
  --card-bg:      #1A1814;
  --shadow-xs:    0 1px 3px rgba(0,0,0,0.15);
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.2);
  --shadow:       0 4px 20px rgba(0,0,0,0.25);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.35);
  --section-pad:  96px;
  --container:    1100px;
  --radius-sm:    6px;
  --radius:       10px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --ease:         0.2s ease;
}

/* ---- 1b. Light Mode Overrides ---- */
[data-theme="light"] {
  --bg:           #F0EBE2;
  --bg-alt:       #F5F2ED;
  --card-bg:      #FFFFFF;
  --surface:      #FFFFFF;
  --text:         #0E0D0B;
  --text-mid:     #3d3d3d;
  --text-muted:   #6B6050;
  --border:       rgba(14,13,11,0.1);
  --border-mid:   rgba(14,13,11,0.15);
  --gold-pale:    rgba(200,169,110,0.1);
  --gold-border:  rgba(200,169,110,0.3);
  --teal-light:   #e0f2ef;
  --shadow-xs:    0 1px 3px rgba(14,13,11,0.06);
  --shadow-sm:    0 2px 8px rgba(14,13,11,0.08);
  --shadow:       0 4px 20px rgba(14,13,11,0.10);
  --shadow-lg:    0 8px 40px rgba(14,13,11,0.14);
}

/* ---- 1c. Light Mode: Full-Site Overrides (nav, hero, footer, CTA) ---- */
/* Navigation */
[data-theme="light"] .site-nav { background: #FFFFFF; border-bottom: 1px solid rgba(14,13,11,0.08); box-shadow: 0 2px 20px rgba(14,13,11,0.06); }
[data-theme="light"] .nav-link { color: #0E0D0B; }
[data-theme="light"] .nav-link:hover { color: var(--gold); background: rgba(200,169,110,0.08); }
[data-theme="light"] .nav-link.active { color: var(--gold); }
[data-theme="light"] .nav-dropdown .dropdown-menu { background: #FFFFFF; border-color: rgba(14,13,11,0.1); box-shadow: 0 8px 32px rgba(14,13,11,0.12); }
[data-theme="light"] .dropdown-item { color: #0E0D0B; }
[data-theme="light"] .dropdown-item:hover { background: rgba(200,169,110,0.08); color: var(--gold); }
[data-theme="light"] .nav-phone { color: #0E0D0B; }
[data-theme="light"] .toggle-label { color: #0E0D0B; }
[data-theme="light"] .theme-toggle { color: #0E0D0B; }
[data-theme="light"] .lang-switcher { border-color: rgba(200,169,110,0.4); }
[data-theme="light"] .lang-switcher a { color: #6B6050; background: transparent; }
[data-theme="light"] .lang-switcher a:hover { background: rgba(200,169,110,0.12); color: var(--gold); }
[data-theme="light"] .lang-switcher a.lang-active { color: #FFFFFF; background: var(--gold); }
[data-theme="light"] .nav-hamburger span { background: #0E0D0B; }

/* Mobile nav */
[data-theme="light"] .mobile-nav { background: #FFFFFF; }
[data-theme="light"] .mobile-nav-link { color: #0E0D0B; border-bottom-color: rgba(14,13,11,0.06); }
[data-theme="light"] .mobile-nav-link:hover { color: var(--gold); }
[data-theme="light"] .mobile-nav-sub { color: #3d3d3d; border-bottom-color: rgba(14,13,11,0.04); }
[data-theme="light"] .mobile-nav-sub:hover { color: var(--gold); }
[data-theme="light"] .mobile-nav-close { color: #0E0D0B; }

/* Page hero */
[data-theme="light"] .page-hero { background: #E8E0D4; }
[data-theme="light"] .page-hero::before { background: rgba(200,169,110,0.1); }
[data-theme="light"] .page-hero h1 { color: #0E0D0B; }
[data-theme="light"] .page-hero p { color: #3d3d3d; }
[data-theme="light"] .page-hero .hero-subtitle { color: #3d3d3d; }
[data-theme="light"] .page-hero .eyebrow { color: #8B7340; }
[data-theme="light"] .page-hero-eyebrow { color: #8B7340; }
[data-theme="light"] .breadcrumb { color: #6B6050; }
[data-theme="light"] .breadcrumb-link { color: #6B6050; }
[data-theme="light"] .breadcrumb-link:hover { color: var(--gold); }
[data-theme="light"] .breadcrumb-current { color: #0E0D0B; }
[data-theme="light"] .hero-meta { color: #6B6050; }
[data-theme="light"] .hero-meta i { color: #8B7340; }
[data-theme="light"] .hero-label { color: #8B7340; }
[data-theme="light"] .blog-meta { color: #6B6050; }
[data-theme="light"] .page-hero .btn-outline { color: #0E0D0B; border-color: rgba(14,13,11,0.2); }
[data-theme="light"] .page-hero .btn-outline:hover { color: var(--gold); border-color: var(--gold); }

/* Homepage hero */
[data-theme="light"] .hero { background: linear-gradient(135deg, #E8E0D4 0%, #DDD5C8 100%); }
[data-theme="light"] .hero h1 { color: #0E0D0B; }
[data-theme="light"] .hero-sub { color: #3d3d3d; }
[data-theme="light"] .hero-eyebrow { color: #8B7340; }
[data-theme="light"] .hero-stats { border-top-color: rgba(14,13,11,0.08); }
[data-theme="light"] .hero-stat-label { color: #6B6050; }
[data-theme="light"] .hero .btn-outline { color: #0E0D0B; border-color: rgba(14,13,11,0.2); }
[data-theme="light"] .hero .btn-outline:hover { color: var(--gold); border-color: var(--gold); }

/* CTA banner */
[data-theme="light"] .cta-banner { background: linear-gradient(135deg, #E8E0D4 0%, #DDD5C8 100%); }
[data-theme="light"] .cta-banner h2 { color: #0E0D0B; }
[data-theme="light"] .cta-banner p { color: #3d3d3d; }
[data-theme="light"] .cta-banner .btn-outline { color: #0E0D0B; border-color: rgba(14,13,11,0.2); }
[data-theme="light"] .cta-banner .btn-outline:hover { color: var(--gold); border-color: var(--gold); }

/* Footer */
[data-theme="light"] .site-footer { background: #FFFFFF; color: #0E0D0B; border-top: 1px solid rgba(14,13,11,0.08); }
[data-theme="light"] .footer-heading { color: #0E0D0B; }
[data-theme="light"] .footer-link { color: #3d3d3d; }
[data-theme="light"] .footer-link:hover { color: var(--gold); }
[data-theme="light"] .footer-bottom { color: #6B6050; border-top: 1px solid rgba(14,13,11,0.08); }
[data-theme="light"] .footer-bottom a { color: #3d3d3d; }
[data-theme="light"] .footer-bottom a:hover { color: var(--gold); }
[data-theme="light"] .footer-grid { border-bottom-color: rgba(14,13,11,0.08); }
[data-theme="light"] .site-footer .btn-outline { color: #0E0D0B; border-color: rgba(14,13,11,0.2); }
[data-theme="light"] .site-footer .btn-outline:hover { color: var(--gold); border-color: var(--gold); }
[data-theme="light"] .site-footer .social-link { color: #3d3d3d; border-color: rgba(14,13,11,0.1); }
[data-theme="light"] .site-footer .social-link:hover { color: var(--gold); border-color: var(--gold); }
[data-theme="light"] .footer-contact-item { color: #3d3d3d; }
[data-theme="light"] .footer-contact-item a { color: #3d3d3d; }
[data-theme="light"] .footer-contact-item a:hover { color: var(--gold); }
[data-theme="light"] .footer-desc { color: #6B6050; }
[data-theme="light"] .footer-tagline { color: #3d3d3d; }
[data-theme="light"] .footer-contact-item i { color: #8B7340; }

/* Sidebar cards (blog) */
[data-theme="light"] .sidebar-card { background: #FFFFFF; border-color: rgba(14,13,11,0.08); }
[data-theme="light"] .sidebar-card h3 { color: #0E0D0B; }
[data-theme="light"] .sidebar-card p { color: #3d3d3d; }
[data-theme="light"] .sidebar-card .btn-outline { color: #0E0D0B; border-color: rgba(14,13,11,0.2); }
[data-theme="light"] .sidebar-card .btn-outline:hover { color: var(--gold); border-color: var(--gold); }

/* Exit popup */
[data-theme="light"] .exit-overlay .exit-popup { background: #FFFFFF; }
[data-theme="light"] .exit-popup h3 { color: #0E0D0B; }
[data-theme="light"] .exit-popup h3 em { color: var(--gold); }
[data-theme="light"] .exit-popup .exit-sub { color: #3d3d3d; }
[data-theme="light"] .exit-popup .exit-icon i { color: var(--gold); }
[data-theme="light"] .exit-popup .exit-input { background: var(--bg); border-color: rgba(14,13,11,0.1); color: #0E0D0B; }
[data-theme="light"] .exit-popup .exit-input::placeholder { color: #6B6050; }
[data-theme="light"] .exit-popup .exit-fine { color: #6B6050; }
[data-theme="light"] .exit-popup .exit-skip { color: #6B6050; }
[data-theme="light"] .exit-popup .exit-close { color: #6B6050; }

/* ---- 2. Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 18px; overflow-x: hidden; }
body {
  font-family: 'Josefin Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.35s ease, color 0.35s ease;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
/* Content links visible in both modes */
article a, .faq-answer a, .tool-card a, .guide-card a:not(.btn), .myth-body-inner a, .trouble-section a:not(.btn), p a:not(.btn):not(.nav-link):not(.footer-link):not(.social-link):not(.breadcrumb-link):not(.dropdown-item):not(.mobile-nav-link):not(.blog-card):not(.practice-card) {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--ease);
}
article a:hover, .faq-answer a:hover, p a:not(.btn):not(.nav-link):not(.footer-link):hover {
  color: var(--champagne);
}
ul { list-style: none; }

/* ---- 3. Typography ---- */
h1, h2, h3, h4, h5 { font-family: 'Cormorant Garamond', serif; line-height: 1.2; color: var(--text); font-weight: 300; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; font-weight: 400; }
h4 { font-size: 1rem; font-weight: 500; font-family: 'Josefin Sans', sans-serif; }
p { font-size: 17px; color: var(--text-mid); line-height: 1.8; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- 4. Layout ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
section { padding: var(--section-pad) 0; }
.section-label { font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; display: block; }
[data-theme="light"] .section-label { color: #8B7340; }
.section-title { margin-bottom: 12px; }
.section-sub { font-size: 18px; color: var(--text-mid); max-width: 600px; margin-bottom: 48px; }
.section-header { margin-bottom: 48px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---- 5. Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius); font-family: 'Josefin Sans', sans-serif; font-size: 15px; font-weight: 400; cursor: pointer; border: 2px solid transparent; transition: all var(--ease); white-space: nowrap; text-decoration: none; letter-spacing: 0.04em; }
.btn-primary { background: var(--gold); color: var(--noir); border-color: var(--gold); }
.btn-primary:hover { background: var(--champagne); border-color: var(--champagne); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(200,169,110,0.35); }
.btn-outline { background: transparent; color: var(--ivory); border-color: rgba(200,169,110,0.3); }
.btn-outline:hover { background: rgba(200,169,110,0.08); border-color: var(--gold); color: var(--gold); }
.btn-outline-dark { background: transparent; color: var(--noir); border-color: var(--noir); }
.btn-outline-dark:hover { background: var(--noir); color: var(--ivory); }
[data-theme="light"] .btn-outline { color: var(--noir); border-color: rgba(14,13,11,0.2); }
[data-theme="light"] .btn-outline:hover { border-color: var(--gold); color: var(--gold); }
/* Dark-section btn-outline overrides now handled in section 1c */
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-lg { padding: 18px 36px; font-size: 16px; }

/* ---- 6. Navigation (always dark) ---- */
.site-nav { position: sticky; top: 0; z-index: 1000; background: var(--noir); border-bottom: 1px solid rgba(200,169,110,0.12); box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 90px; }
.nav-logo { text-decoration: none; display: flex; align-items: center; flex-shrink: 0; }
.nav-logo em { color: var(--gold); font-style: italic; }
.nav-logo img { height: 80px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.nav-link { position: relative; padding: 8px 14px; font-size: 13px; font-weight: 400; color: #FFFFFF; border-radius: var(--radius-sm); transition: all var(--ease); white-space: nowrap; cursor: pointer; display: inline-block; letter-spacing: 0.06em; text-transform: uppercase; font-family: 'Josefin Sans', sans-serif; }
.nav-link:hover { color: var(--ivory); background: rgba(200,169,110,0.08); }
.nav-link.active { color: var(--gold); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown .dropdown-menu { position: absolute; top: calc(100% + 8px); left: 0; background: var(--noir-mid); border: 1px solid rgba(200,169,110,0.15); border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 220px; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all 0.15s ease; z-index: 200; }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item { display: block; padding: 10px 14px; font-size: 13px; color: #FFFFFF; border-radius: var(--radius-sm); transition: all var(--ease); }
.dropdown-item:hover { background: rgba(200,169,110,0.1); color: var(--gold); }

.nav-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.nav-phone { font-size: 13px; font-weight: 400; color: #FFFFFF; display: flex; align-items: center; gap: 6px; transition: color var(--ease); letter-spacing: 0.02em; }
.nav-phone:hover { color: var(--gold); }

/* Theme Toggle */
.theme-toggle { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(200,169,110,0.3); background: transparent; color: var(--gold); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; transition: all var(--ease); }
.theme-toggle:hover { background: rgba(200,169,110,0.1); border-color: var(--gold); }

/* Language Switcher */
.lang-switcher { display: flex; gap: 2px; align-items: center; border: 1px solid rgba(200,169,110,0.25); border-radius: 6px; overflow: hidden; }
.lang-switcher a { color: #FFFFFF; font-size: 12px; font-weight: 600; padding: 6px 10px; text-decoration: none; letter-spacing: 0.5px; transition: all 0.2s; display: block; }
.lang-switcher a:hover { color: var(--ivory); background: rgba(200,169,110,0.15); }
.lang-switcher a.lang-active { color: var(--noir); background: var(--gold); }

/* Theme Toggle Label */
.toggle-label { font-size: 10px; letter-spacing: 0.06em; margin-left: 4px; color: #FFFFFF; }

/* Hamburger */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--gold); border-radius: 2px; transition: all var(--ease); }

/* Mobile nav (always dark) */
.mobile-nav { display: none; position: fixed; inset: 0; background: var(--noir); z-index: 999; padding: 80px 32px 40px; flex-direction: column; gap: 0; overflow-y: auto; }
.mobile-nav.open { display: flex; }
.mobile-nav-link { display: block; padding: 16px 0; font-size: 18px; font-weight: 300; color: #FFFFFF; border-bottom: 1px solid rgba(200,169,110,0.08); transition: color var(--ease); font-family: 'Cormorant Garamond', serif; }
.mobile-nav-link:hover { color: var(--gold); }
.mobile-sub-group { padding: 8px 0 12px 16px; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-sub { display: block; padding: 8px 0; font-size: 15px; font-weight: 400; color: #FFFFFF; font-family: 'Josefin Sans', sans-serif; transition: color var(--ease); border-bottom: 1px solid rgba(200,169,110,0.06); }
.mobile-nav-sub:hover { color: var(--gold); }
.mobile-nav-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: var(--gold); font-size: 24px; cursor: pointer; padding: 8px; line-height: 1; }
.mobile-nav-cta { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }

/* ---- 7. Homepage Hero (always dark) ---- */
.hero { background: var(--noir); position: relative; overflow: hidden; padding: 72px 0 72px; }
.hero::before { content: ''; position: absolute; top: -100px; right: -80px; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(200,169,110,0.08) 0%, transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: 0; left: -60px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(42,111,107,0.06) 0%, transparent 70%); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: center; position: relative; z-index: 1; }
.hero-content { padding-bottom: 0; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(200,169,110,0.1); border: 1px solid rgba(200,169,110,0.2); border-radius: 20px; padding: 6px 14px; font-size: 12px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.hero h1 { color: var(--ivory); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.15; margin-bottom: 20px; font-weight: 300; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.75); line-height: 1.8; margin-bottom: 36px; max-width: 520px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid rgba(200,169,110,0.1); }
.hero-stat-num { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 4px; }
.hero-stat-label { font-size: 12px; color: #FFFFFF; text-transform: uppercase; letter-spacing: 0.06em; }
.hero-image { align-self: center; }
.hero-image img { width: 100%; object-fit: cover; object-position: top center; display: block; border-radius: var(--radius-xl); max-height: 560px; box-shadow: 0 24px 64px rgba(0,0,0,0.5); }

/* ---- 8. Credential Bar ---- */
.credential-bar { background: var(--card-bg); border-bottom: 1px solid var(--border); padding: 18px 0; transition: background-color 0.35s ease; }
.credential-bar-inner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.cred-label { font-size: 12px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text); padding-right: 12px; border-right: 1px solid var(--border); white-space: nowrap; }
.cred-badge { display: inline-flex; align-items: center; gap: 5px; background: var(--gold-pale); border: 1px solid var(--border); border-radius: 20px; padding: 5px 12px; font-size: 12px; font-weight: 400; color: var(--text); white-space: nowrap; transition: background-color 0.35s ease, border-color 0.35s ease; }
.cred-star { color: var(--gold); }

/* ---- 8b. Credential Logos ---- */
.cred-logos { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.cred-logo-item { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; transition: opacity var(--ease); opacity: 0.7; }
.cred-logo-item:hover { opacity: 1; }
.cred-logo-icon { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.cred-logo-icon.avvo { background: #1a5276; color: #fff; font-family: 'Josefin Sans', sans-serif; font-size: 13px; font-weight: 500; letter-spacing: -0.5px; }
.cred-logo-icon.google { background: #4285f4; color: #fff; }
.cred-logo-icon.yelp { background: #d32323; color: #fff; }
.cred-logo-icon.expertise { background: #1a3c5e; color: #C8A96E; }
.cred-logo-icon.bar { background: rgba(200,169,110,0.1); color: var(--gold); }
.cred-logo-icon.naela { background: #2c5530; color: #fff; }
.cred-logo-icon.wealthcounsel { background: #1a3a5c; color: #fff; }
.cred-logo-icon.chamber { background: rgba(200,169,110,0.1); color: var(--gold); }
.cred-logo-text { font-size: 12px; color: var(--text); text-align: center; max-width: 100px; line-height: 1.3; letter-spacing: 0.02em; }
.cred-logo-rating { font-family: 'Cormorant Garamond', serif; font-size: 13px; color: var(--gold); font-weight: 600; }

/* ---- 9. Practice Areas Section ---- */
.practice-areas { background: var(--bg); transition: background-color 0.35s ease; }
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* .practice-grid .practice-card:nth-child(1) { grid-column: span 2; } -- balanced layout */
.practice-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px; transition: all var(--ease); display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.practice-card:hover { border-color: var(--gold); box-shadow: 0 8px 32px rgba(200,169,110,0.15); transform: translateY(-6px); }
.practice-card { transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.practice-card .practice-icon { transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.practice-card:hover .practice-icon { transform: scale(1.1) translateY(-2px); }
.practice-card.featured { background: var(--gold); }
.practice-card.featured h3 { color: var(--noir); }
.practice-card.featured p { color: rgba(14,13,11,0.65); }
.practice-card.featured .practice-link { color: var(--noir); }
.practice-icon { width: 48px; height: 48px; background: var(--gold-pale); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--gold); }
.practice-card.featured .practice-icon { background: rgba(14,13,11,0.15); color: var(--noir); }
.practice-card h3 { font-size: 1.1rem; color: var(--text); }
.practice-card p { font-size: 14px; color: var(--text-mid); flex: 1; margin: 0; }
.practice-link { font-size: 13px; font-weight: 400; color: var(--gold); display: flex; align-items: center; gap: 6px; margin-top: auto; transition: gap var(--ease); letter-spacing: 0.04em; }
.practice-card:hover .practice-link { gap: 10px; }

/* ---- 10. About Section ---- */
.about-section { background: var(--bg-alt); transition: background-color 0.35s ease; }
.about-inner { display: grid; grid-template-columns: 460px 1fr; gap: 80px; align-items: center; }
.about-image-wrap { position: relative; }
.about-image-wrap img { width: 100%; border-radius: var(--radius-xl); object-fit: cover; object-position: top center; aspect-ratio: 3/4; }
.about-image-badge { position: absolute; bottom: 24px; right: -24px; background: var(--noir); border: 1px solid rgba(200,169,110,0.15); border-radius: var(--radius-lg); padding: 16px 20px; text-align: center; box-shadow: var(--shadow-lg); }
.about-badge-num { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 300; color: var(--gold); line-height: 1; }
.about-badge-text { font-size: 11px; color: #FFFFFF; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.about-creds { display: flex; flex-direction: column; gap: 10px; margin: 24px 0; }
.about-cred-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-mid); }
.cred-check { width: 22px; height: 22px; background: rgba(200,169,110,0.1); color: var(--gold); border-radius: 50%; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---- 11. Testimonials (always dark) ---- */
.testimonials { background: var(--noir); }
.testimonials .section-label { color: var(--gold); }
.testimonials .section-title { color: var(--ivory); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card { background: rgba(200,169,110,0.04); border: 1px solid rgba(200,169,110,0.1); border-radius: var(--radius-lg); padding: 28px 24px; }
.testimonial-stars { color: var(--gold); font-size: 14px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { font-size: 15px; color: #FFFFFF; line-height: 1.75; font-style: italic; margin-bottom: 20px; font-family: 'Cormorant Garamond', serif; font-size: 17px; }
.testimonial-author { font-size: 14px; font-weight: 400; color: var(--gold); font-family: 'Cormorant Garamond', serif; }
.testimonial-author span { display: block; font-family: 'Josefin Sans', sans-serif; font-size: 12px; font-weight: 300; color: #FFFFFF; margin-top: 2px; font-style: normal; }

/* ---- 12. Lead Magnet ---- */
.lead-magnet { background: var(--gold-pale); border-top: 1px solid var(--gold-border); border-bottom: 1px solid var(--gold-border); transition: background-color 0.35s ease; }
.lead-magnet-inner { display: grid; grid-template-columns: 1fr 440px; gap: 72px; align-items: center; }
.lead-magnet-icon { font-size: 48px; margin-bottom: 16px; color: var(--gold); }
.lead-magnet h2 { font-size: clamp(1.5rem, 2.5vw, 1.9rem); margin-bottom: 12px; }
.lead-magnet-form { display: flex; flex-direction: column; gap: 12px; }
.form-fine { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ---- 13. Events Preview ---- */
.events-preview { background: var(--bg); transition: background-color 0.35s ease; }
.event-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--ease); }
.event-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--gold); }
.event-card-img { width: 100%; height: 200px; object-fit: cover; }
.event-card-body { padding: 22px 24px; }
.event-date { font-size: 12px; font-weight: 400; color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.event-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.event-card p { font-size: 13px; margin: 0; }

/* ---- 14. CTA Banner (always dark) ---- */
.cta-banner { background: linear-gradient(135deg, var(--noir) 0%, var(--noir-mid) 100%); padding: 80px 0; text-align: center; }
.cta-banner h2 { color: var(--ivory); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.75); font-size: 17px; max-width: 600px; margin: 0 auto 36px; }
.cta-banner-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- 15. Page Hero (always dark) ---- */
.page-hero { background: var(--noir); padding: 60px 0 68px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -60px; right: -60px; width: 300px; height: 300px; border-radius: 50%; background: rgba(200,169,110,0.05); pointer-events: none; }
.page-hero-eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.page-hero h1 { color: var(--ivory); font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 16px; line-height: 1.2; font-weight: 300; }
.hero-label { font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; display: block; }
.hero-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 15px; color: rgba(255,255,255,0.8); margin-top: 16px; }
.hero-meta i { color: var(--gold); margin-right: 4px; }
.page-hero p { font-size: 17px; color: #FFFFFF; max-width: 600px; margin-bottom: 28px; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #FFFFFF; margin-bottom: 20px; }
.breadcrumb a { color: #FFFFFF; transition: color var(--ease); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,0.15); }

/* ---- 16. Content Sections ---- */
.content-section { padding: 72px 0; transition: background-color 0.35s ease; }
.content-section.bg-white { background: var(--card-bg); }
.content-section.bg-cream { background: var(--bg); }
.content-section.bg-slate { background: var(--bg-alt); }

/* ---- 17. Sidebar Layout ---- */
.content-with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.sidebar-card { background: var(--noir); border: 1px solid rgba(200,169,110,0.12); border-radius: var(--radius-lg); padding: 28px 24px; position: sticky; top: 88px; }
.sidebar-card h3 { color: var(--ivory); font-size: 1.1rem; margin-bottom: 12px; }
.sidebar-card p { color: #FFFFFF; font-size: 14px; margin-bottom: 20px; }
.sidebar-phone { display: flex; align-items: center; gap: 10px; color: var(--gold); font-size: 17px; font-weight: 300; font-family: 'Cormorant Garamond', serif; margin-bottom: 16px; text-decoration: none; transition: opacity var(--ease); }
.sidebar-phone:hover { opacity: 0.85; }
.sidebar-services { border-top: 1px solid rgba(200,169,110,0.1); padding-top: 20px; margin-top: 20px; }
.sidebar-services h4 { color: #FFFFFF; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 10px; font-family: 'Josefin Sans', sans-serif; }
.sidebar-link { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid rgba(200,169,110,0.07); font-size: 13px; color: #FFFFFF; transition: color var(--ease); }
.sidebar-link:hover { color: var(--gold); }
.sidebar-link::before { content: '\203A'; color: var(--gold); font-size: 16px; }
.sidebar-link:last-child { border-bottom: none; }

/* ---- 18. FAQ ---- */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 8px; transition: border-color 0.35s ease; }
.faq-question { width: 100%; text-align: left; padding: 18px 20px; background: var(--card-bg); border: none; cursor: pointer; font-size: 15px; font-weight: 400; color: var(--text); display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: background var(--ease); font-family: 'Josefin Sans', sans-serif; }
.faq-question:hover { background: var(--bg-alt); }
.faq-question.open { background: var(--gold-pale); }
.faq-arrow { width: 24px; height: 24px; background: var(--bg-alt); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; transition: transform var(--ease); flex-shrink: 0; color: var(--gold); }
.faq-question.open .faq-arrow { transform: rotate(180deg); background: var(--gold-border); }
.faq-answer { display: none; padding: 0 20px 18px; background: var(--gold-pale); font-size: 14px; color: var(--text-mid); line-height: 1.75; }
.faq-answer.open { display: block; }

/* ---- 19. Process Steps ---- */
.process-steps { display: flex; flex-direction: column; gap: 0; }
.process-step { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.process-step:last-child { border-bottom: none; }
.process-num { width: 40px; height: 40px; background: var(--noir); color: var(--gold); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-weight: 300; font-size: 15px; flex-shrink: 0; font-family: 'Cormorant Garamond', serif; border: 1px solid rgba(200,169,110,0.15); }
.process-content h4 { font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.process-content p { font-size: 14px; margin: 0; }

/* ---- 20. Feature List ---- */
.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-item { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text-mid); }
.feature-check { width: 22px; height: 22px; background: rgba(200,169,110,0.1); color: var(--gold); border-radius: 50%; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }

/* ---- 21. Highlight Box ---- */
.highlight-box { background: var(--gold-pale); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 24px 0; }
.highlight-box p { font-size: 15px; margin: 0; }
.highlight-box strong { color: var(--text); }
.alert-box { background: var(--teal-light); border-left: 4px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 24px 0; }
.alert-box p { font-size: 15px; margin: 0; color: #1d5e52; }
[data-theme="light"] .alert-box p { color: #1d5e52; }

/* ---- 22. Forms ---- */
.form-input { width: 100%; padding: 13px 16px; font-size: 15px; font-family: 'Josefin Sans', sans-serif; border: 1.5px solid var(--border-mid); border-radius: var(--radius); background: var(--card-bg); color: var(--text); outline: none; transition: border-color var(--ease), background-color 0.35s ease; }
.form-input:focus { border-color: var(--gold); }
.form-input::placeholder { color: var(--text-muted); }
textarea.form-input { resize: vertical; min-height: 140px; }
select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A7D6A' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer; }
.form-label { font-size: 13px; font-weight: 400; color: var(--text); display: block; margin-bottom: 6px; letter-spacing: 0.02em; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success { display: none; background: var(--teal-light); border: 1px solid var(--teal); border-radius: var(--radius); padding: 20px 24px; color: #1d5e52; font-size: 15px; font-weight: 400; }

/* ---- 23. Contact Page ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 16px; transition: background-color 0.35s ease; }
.contact-info-card h3 { font-size: 1rem; margin-bottom: 14px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-mid); }
.contact-info-item:last-child { border-bottom: none; }
.contact-icon { width: 32px; height: 32px; background: var(--gold-pale); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; color: var(--gold); }

/* ---- 24. Service Intro Grid ---- */
.service-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.service-intro-grid img { border-radius: var(--radius-xl); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---- 24b. Share Bar ---- */
.share-bar { display: flex; align-items: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.share-bar-label { font-size: 0.8rem; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.share-btn { width: 36px; height: 36px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--text-mid); cursor: pointer; transition: all var(--ease); text-decoration: none; }
.share-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-pale); }
.share-btn-copy.copied { border-color: #15803d; color: #15803d; background: rgba(21,128,61,0.08); }

/* ---- 25. Stat Cards ---- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { background: var(--noir); border: 1px solid rgba(200,169,110,0.12); border-radius: var(--radius-lg); padding: 28px 20px; text-align: center; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 13px; color: #FFFFFF; }

/* ---- 26. Footer (always dark) ---- */
.site-footer { background: var(--noir); color: #FFFFFF; padding: 72px 0 0; border-top: 1px solid rgba(200,169,110,0.1); }
.footer-grid { display: grid; grid-template-columns: 260px 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(200,169,110,0.08); }
.footer-brand-img { height: 100px; width: auto; margin-bottom: 16px; object-fit: contain; }
.footer-tagline { font-size: 15px; color: #FFFFFF; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-link { width: 36px; height: 36px; background: rgba(200,169,110,0.08); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 14px; color: #FFFFFF; transition: all var(--ease); }
.social-link:hover { background: var(--gold); color: var(--noir); }
.footer-heading { font-size: 12px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: #FFFFFF; margin-bottom: 16px; font-family: 'Josefin Sans', sans-serif; }
.footer-link { display: block; font-size: 14px; color: #FFFFFF; padding: 5px 0; transition: color var(--ease); }
.footer-link:hover { color: var(--gold); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #FFFFFF; margin-bottom: 10px; line-height: 1.5; }
.footer-bottom { padding: 20px 0; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: #FFFFFF; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: #FFFFFF; transition: color var(--ease); }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom-links { display: flex; gap: 20px; }

/* ---- 27. Animations ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- 28. Utilities ---- */
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }
.text-gold { color: var(--gold); }
.text-noir { color: var(--text); }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
hr.divider { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

/* ---- 29. Social Preview ---- */
.social-preview { background: var(--noir); padding: var(--section-pad) 0; }
.social-preview .section-label { color: var(--gold); }
.social-preview .section-title { color: var(--ivory); }
.social-preview .section-sub { color: #FFFFFF; margin-left: auto; margin-right: auto; }
.social-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.social-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--noir-mid); cursor: pointer; }
.social-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.social-card:hover img { transform: scale(1.05); }
.social-card-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(14,13,11,0.92) 0%, rgba(14,13,11,0.4) 60%, transparent 100%); padding: 28px 12px 12px; }
.social-card-name { font-size: 11px; font-weight: 400; color: var(--gold); letter-spacing: 0.05em; line-height: 1.3; white-space: nowrap; }
.social-card-title { font-size: 10px; color: #FFFFFF; font-weight: 300; margin-top: 1px; }
.social-card-platform { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; background: rgba(14,13,11,0.7); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #FFFFFF; backdrop-filter: blur(4px); }
.social-preview-note { text-align: center; margin-top: 28px; font-size: 13px; color: #FFFFFF; }

/* ---- 30. Proposal Float Button ---- */
.proposal-float { position: fixed; bottom: 28px; right: 28px; z-index: 900; }
.proposal-float a { display: flex; align-items: center; gap: 8px; background: var(--noir); color: var(--gold); border: 1.5px solid rgba(200,169,110,0.35); padding: 11px 18px; border-radius: 22px; font-size: 12px; font-weight: 400; letter-spacing: 0.06em; text-decoration: none; box-shadow: 0 4px 20px rgba(0,0,0,0.45); transition: all 0.2s ease; white-space: nowrap; }
.proposal-float a:hover { background: var(--gold); color: var(--noir); border-color: var(--gold); transform: translateY(-2px); }

/* ---- 31. Blog ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--ease); text-decoration: none; display: block; }
.blog-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); }
.blog-card-body { padding: 22px 24px; }
.blog-card-date { font-size: 12px; font-weight: 400; color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.blog-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--text); }
.blog-card p { font-size: 13px; margin: 0; color: var(--text-mid); }
.blog-card-read { font-size: 12px; color: var(--gold); margin-top: 12px; display: flex; align-items: center; gap: 6px; letter-spacing: 0.04em; }
.blog-card-cat { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); background: var(--gold-pale); border: 1px solid var(--gold-border); padding: 3px 10px; border-radius: 12px; margin-bottom: 8px; }
[data-theme="light"] .blog-card-cat { color: #8B7340; }

/* Blog Filters */
.blog-filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.blog-filter-btn { padding: 8px 18px; border-radius: 20px; border: 1px solid var(--border); background: var(--card-bg); color: var(--text-mid); font-size: 13px; font-family: 'Josefin Sans', sans-serif; cursor: pointer; transition: all 0.2s; letter-spacing: 0.02em; }
.blog-filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.blog-filter-btn.active { background: var(--gold); color: var(--noir); border-color: var(--gold); }
.blog-card.hidden { display: none; }

/* ---- 32. ADA Accessibility Widget ---- */
.ada-toggle {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--noir);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  transition: all 0.2s ease;
}
.ada-toggle:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(0,0,0,0.45); }

.ada-panel {
  position: fixed;
  bottom: 88px;
  left: 28px;
  z-index: 900;
  background: var(--noir);
  border: 1px solid rgba(200,169,110,0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 280px;
  box-shadow: var(--shadow-lg);
  display: none;
}
.ada-panel.open { display: block; animation: fadeUp 0.25s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.ada-panel-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ada-panel-title i { color: var(--gold); }
.ada-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(200,169,110,0.1);
  font-size: 13px;
  color: #FFFFFF;
}
.ada-option:last-child { border-bottom: none; }
.ada-option-label { display: flex; align-items: center; gap: 8px; }
.ada-option-label i { color: var(--gold); width: 18px; text-align: center; font-size: 14px; }
.ada-btn-group { display: flex; gap: 4px; }
.ada-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid rgba(200,169,110,0.2);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.15s;
}
.ada-btn:hover { background: rgba(200,169,110,0.1); border-color: var(--gold); }
.ada-btn.active { background: var(--gold); color: var(--noir); border-color: var(--gold); }
.ada-switch {
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background: rgba(200,169,110,0.15);
  border: 1px solid rgba(200,169,110,0.2);
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}
.ada-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  transition: transform 0.2s;
}
.ada-switch.on { background: rgba(200,169,110,0.3); }
.ada-switch.on::after { transform: translateX(18px); }

/* ADA high contrast overrides */
html.ada-high-contrast { --text: #FFFFFF !important; --text-mid: #E0E0E0 !important; --text-muted: #C0C0C0 !important; --gold: #FFD700 !important; --border: rgba(255,255,255,0.3) !important; }
html.ada-high-contrast [data-theme="light"] { --text: #000000 !important; --text-mid: #222222 !important; }

/* ADA font size overrides */
html.ada-large-text { font-size: 21px !important; }
html.ada-large-text p, html.ada-large-text li, html.ada-large-text span, html.ada-large-text label, html.ada-large-text td, html.ada-large-text th, html.ada-large-text div, html.ada-large-text input, html.ada-large-text textarea, html.ada-large-text select, html.ada-large-text button { font-size: 19px !important; line-height: 1.85 !important; }
html.ada-large-text h1 { font-size: 2.6rem !important; }
html.ada-large-text h2 { font-size: 2rem !important; }
html.ada-large-text h3 { font-size: 1.5rem !important; }
html.ada-xlarge-text { font-size: 24px !important; }
html.ada-xlarge-text p, html.ada-xlarge-text li, html.ada-xlarge-text span, html.ada-xlarge-text label, html.ada-xlarge-text td, html.ada-xlarge-text th, html.ada-xlarge-text div, html.ada-xlarge-text input, html.ada-xlarge-text textarea, html.ada-xlarge-text select, html.ada-xlarge-text button { font-size: 22px !important; line-height: 1.9 !important; }
html.ada-xlarge-text h1 { font-size: 3rem !important; }
html.ada-xlarge-text h2 { font-size: 2.4rem !important; }
html.ada-xlarge-text h3 { font-size: 1.7rem !important; }

/* ADA highlight links */
html.ada-highlight-links a { outline: 2px solid var(--gold) !important; outline-offset: 2px; }

/* ADA readable font */
html.ada-readable-font, html.ada-readable-font * { font-family: Arial, Helvetica, sans-serif !important; }

/* Screen reader skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--gold);
  color: var(--noir);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ---- 33. Exit Intent Popup ---- */
.exit-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.exit-overlay.show { display: flex; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.exit-popup {
  background: var(--noir);
  border: 1px solid rgba(200,169,110,0.2);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  padding: 40px 36px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: popUp 0.35s ease;
}
@keyframes popUp { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.exit-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(200,169,110,0.2); background: transparent;
  color: var(--gold); cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.exit-close:hover { background: rgba(200,169,110,0.1); }
.exit-popup .exit-icon { font-size: 40px; color: var(--gold); margin-bottom: 16px; }
.exit-popup h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 300;
  color: var(--ivory); margin-bottom: 8px;
}
.exit-popup h3 em { color: var(--gold); font-style: italic; }
.exit-popup .exit-sub { font-size: 15px; color: rgba(255,255,255,0.7); margin-bottom: 24px; line-height: 1.7; }
.exit-popup .exit-form { display: flex; flex-direction: column; gap: 10px; }
.exit-popup .exit-input {
  padding: 12px 16px; border-radius: var(--radius); font-size: 14px;
  font-family: 'Josefin Sans', sans-serif; border: 1px solid rgba(200,169,110,0.2);
  background: #161410; color: var(--ivory); outline: none; transition: border-color 0.2s;
}
.exit-popup .exit-input:focus { border-color: var(--gold); }
.exit-popup .exit-input::placeholder { color: rgba(255,255,255,0.4); }
.exit-popup .exit-submit {
  padding: 14px; border-radius: var(--radius); font-size: 14px;
  font-family: 'Josefin Sans', sans-serif; font-weight: 400; letter-spacing: 0.06em;
  background: var(--gold); color: var(--noir); border: none; cursor: pointer;
  transition: all 0.2s;
}
.exit-popup .exit-submit:hover { background: var(--champagne); }
.exit-popup .exit-fine { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 8px; }
.exit-popup .exit-skip { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 12px; cursor: pointer; border: none; background: none; text-decoration: underline; }
.exit-popup .exit-skip:hover { color: var(--gold); }

/* ---- 33b. Page-Aware Engagement System ---- */
.mvp-eng {
  position: fixed;
  z-index: 1900;
  font-family: 'Josefin Sans', sans-serif;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease, transform .4s cubic-bezier(.2,.7,.3,1);
}
.mvp-eng.is-visible { opacity: 1; pointer-events: auto; }
.mvp-eng__close {
  position: absolute; top: 8px; right: 10px;
  width: 26px; height: 26px; border-radius: 50%;
  background: transparent; color: var(--gold);
  border: 1px solid rgba(200,169,110,.3);
  font-size: 16px; cursor: pointer; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.mvp-eng__close:hover { background: rgba(200,169,110,.12); }
.mvp-eng__icon { color: var(--gold); font-size: 22px; flex-shrink: 0; line-height: 1; }
.mvp-eng__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 500;
  color: var(--ivory); margin: 0 0 6px;
  line-height: 1.25;
}
.mvp-eng__sub {
  font-size: 13.5px; line-height: 1.55;
  color: rgba(255,255,255,.7); margin: 0 0 10px;
}
.mvp-eng__cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--gold);
  text-decoration: none; padding: 4px 0; letter-spacing: .04em;
  transition: color .15s ease;
}
.mvp-eng__cta i { font-size: 11px; transition: transform .2s ease; }
.mvp-eng__cta:hover { color: var(--champagne); }
.mvp-eng__cta:hover i { transform: translateX(3px); }

/* Variant 1: top-right slide-in card */
.mvp-eng--slide-tr {
  top: 110px; right: 24px;
  width: 340px; max-width: calc(100vw - 32px);
  background: var(--noir);
  border: 1px solid rgba(200,169,110,.25);
  border-radius: var(--radius-xl);
  padding: 18px 38px 18px 18px;
  box-shadow: 0 14px 40px rgba(0,0,0,.55);
  display: flex; gap: 14px;
  transform: translateX(24px);
}
.mvp-eng--slide-tr.is-visible { transform: translateX(0); }

/* Variant 2: bottom-left tip strip */
.mvp-eng--tip-bl {
  bottom: 100px; left: 24px;
  width: 320px; max-width: calc(100vw - 32px);
  background: linear-gradient(135deg, #1a1812 0%, #0f0d09 100%);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 16px 38px 16px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
  display: flex; gap: 12px; align-items: flex-start;
  transform: translateX(-24px);
}
.mvp-eng--tip-bl.is-visible { transform: translateX(0); }
.mvp-eng--tip-bl .mvp-eng__title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 14.5px; font-weight: 600; letter-spacing: .02em;
}
.mvp-eng--tip-bl .mvp-eng__icon { font-size: 18px; }

/* Variant 3: right-edge mid-screen toast */
.mvp-eng--side-toast {
  top: 45%; right: 24px;
  width: 300px; max-width: calc(100vw - 32px);
  background: rgba(14,13,11,.96);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(200,169,110,.2);
  border-radius: var(--radius);
  padding: 14px 36px 14px 16px;
  box-shadow: -8px 12px 30px rgba(0,0,0,.45);
  display: flex; gap: 12px; align-items: flex-start;
  transform: translateX(120%);
}
.mvp-eng--side-toast.is-visible { transform: translateX(0); }
.mvp-eng--side-toast .mvp-eng__title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 14px; font-weight: 600;
}
.mvp-eng--side-toast .mvp-eng__sub { font-size: 12.5px; }
.mvp-eng--side-toast .mvp-eng__icon { font-size: 18px; }

/* Variant 4: exit-intent center modal */
.mvp-eng--exit-modal {
  position: fixed; inset: 0; z-index: 2100;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.mvp-eng--exit-modal .mvp-eng__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .35s ease;
}
.mvp-eng--exit-modal.is-visible .mvp-eng__backdrop { opacity: 1; }
.mvp-eng--exit-modal .mvp-eng__modal {
  position: relative;
  background: var(--noir);
  border: 1px solid rgba(200,169,110,.25);
  border-radius: var(--radius-xl);
  padding: 36px 32px 32px;
  max-width: 480px; width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
  transform: scale(.96) translateY(10px); opacity: 0;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), opacity .35s ease;
}
.mvp-eng--exit-modal.is-visible .mvp-eng__modal { transform: scale(1) translateY(0); opacity: 1; }
.mvp-eng--exit-modal .mvp-eng__icon { font-size: 38px; margin-bottom: 16px; }
.mvp-eng--exit-modal .mvp-eng__title { font-size: 26px; margin-bottom: 10px; }
.mvp-eng--exit-modal .mvp-eng__sub { font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.mvp-eng--exit-modal .mvp-eng__cta {
  padding: 14px 28px;
  background: var(--gold); color: var(--noir);
  border-radius: var(--radius);
  font-size: 14px; font-weight: 500; letter-spacing: .06em;
}
.mvp-eng--exit-modal .mvp-eng__cta:hover { background: var(--champagne); color: var(--noir); }

/* Light theme support */
[data-theme="light"] .mvp-eng--slide-tr,
[data-theme="light"] .mvp-eng--side-toast,
[data-theme="light"] .mvp-eng--exit-modal .mvp-eng__modal {
  background: #fff; border-color: rgba(14,13,11,.12);
}
[data-theme="light"] .mvp-eng--tip-bl {
  background: linear-gradient(135deg, #fbfaf7 0%, #f3efe7 100%);
}
[data-theme="light"] .mvp-eng__title { color: #0E0D0B; }
[data-theme="light"] .mvp-eng__sub { color: #6B6050; }
[data-theme="light"] .mvp-eng__close { color: #6B6050; border-color: rgba(14,13,11,.15); }
[data-theme="light"] .mvp-eng--exit-modal .mvp-eng__cta { color: var(--noir); }

/* Mobile */
@media (max-width: 640px) {
  .mvp-eng--slide-tr {
    top: 90px; right: 12px; left: 12px;
    width: auto; transform: translateY(-16px);
  }
  .mvp-eng--slide-tr.is-visible { transform: translateY(0); }
  .mvp-eng--tip-bl {
    left: 12px; right: 12px; bottom: 12px;
    width: auto; transform: translateY(16px);
  }
  .mvp-eng--tip-bl.is-visible { transform: translateY(0); }
  .mvp-eng--side-toast {
    top: auto; bottom: 170px;
    left: 12px; right: 12px; width: auto;
    transform: translateY(16px);
  }
  .mvp-eng--side-toast.is-visible { transform: translateY(0); }
  .mvp-eng--exit-modal .mvp-eng__modal { padding: 28px 22px 24px; }
  .mvp-eng--exit-modal .mvp-eng__title { font-size: 22px; }
}

/* Footer credit line */
.footer-credit {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  letter-spacing: .02em;
}
.footer-credit a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  border-bottom: 1px dotted rgba(200,169,110,.45);
  transition: color .15s ease, border-color .15s ease;
}
.footer-credit a:hover { color: var(--gold); border-bottom-color: var(--gold); }
[data-theme="light"] .footer-credit { color: #6B6050; }
[data-theme="light"] .footer-credit a { color: #6B6050; }
[data-theme="light"] .footer-credit a:hover { color: var(--gold); }

/* ---- 34. Back to Top ---- */
.back-to-top {
  position: fixed; bottom: 28px; right: 88px; z-index: 800;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold); color: var(--noir);
  border: none; cursor: pointer; font-size: 16px;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: all 0.25s;
}
.back-to-top.visible { display: flex; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(200,169,110,0.4); }

/* ---- 35. Page Quick Nav (Table of Contents) ---- */
.page-toc {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 24px;
  margin-bottom: 32px; transition: background-color 0.35s ease;
}
.page-toc-title {
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.page-toc-list { display: flex; flex-wrap: wrap; gap: 8px; }
.page-toc-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 20px;
  border: 1px solid var(--border); background: var(--bg-alt);
  font-size: 13px; color: var(--text-mid); text-decoration: none;
  transition: all 0.2s; letter-spacing: 0.02em;
}
.page-toc-link:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-pale); }
.page-toc-link i { font-size: 10px; color: var(--gold); }

/* ---- 36. Google Maps Embed ---- */
.map-embed {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); margin-top: 16px;
  transition: border-color 0.35s ease;
}
.map-embed iframe { width: 100%; height: 280px; display: block; }

/* ---- 37. Service Resource Card ---- */
.service-resource {
  background: var(--gold-pale); border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg); padding: 28px; margin: 32px 0;
  display: flex; gap: 20px; align-items: flex-start;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}
.service-resource-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--gold); color: var(--noir);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.service-resource h4 { font-size: 16px; margin-bottom: 6px; color: var(--text); }
.service-resource p { font-size: 14px; margin-bottom: 12px; }
.service-resource .btn { font-size: 13px; padding: 8px 18px; }
@media (max-width: 600px) { .service-resource { flex-direction: column; } }

/* ---- 38. Responsive ---- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 360px; gap: 40px; }
  .about-inner { grid-template-columns: 380px 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .content-with-sidebar { grid-template-columns: 1fr 260px; gap: 32px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; }
  .container { padding: 0 20px; }
  .nav-links, .nav-phone { display: none; }
  .nav-hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero-content { padding-bottom: 0; }
  .social-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .social-grid .social-card:nth-child(n+9) { display: none; }
  .proposal-float { bottom: 16px; right: 16px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-image-wrap { max-width: 380px; margin: 0 auto; }
  .about-image-badge { right: 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .practice-grid { grid-template-columns: 1fr !important; }
  .practice-grid .practice-card:nth-child(1) { grid-column: span 1; }
  /* Defensive: cancel inline flex max-widths (e.g. max-width:calc(33% - 10px)) on mobile */
  .practice-card[style*="max-width"] { max-width: 100% !important; flex: 1 1 100% !important; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .lead-magnet-inner { grid-template-columns: 1fr; gap: 32px; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-banner-btns { flex-direction: column; align-items: center; }
  .service-intro-grid { grid-template-columns: 1fr; }
  .service-intro-grid img { max-height: 300px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-stats { gap: 20px; }
  .cred-label { display: none; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 20px 16px; }
}

/* ============================================
   ---- 50. Side TOC (sticky right-side on-page nav) ----
   Auto-injected on content pages with 4+ h2[id] in <main>.
   ============================================ */
.side-toc {
  position: fixed;
  top: 110px;
  right: 24px;
  width: 240px;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 13px;
  box-shadow: var(--shadow-sm);
  z-index: 100;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}
.side-toc__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.side-toc__close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0;
  width: 18px;
  height: 18px;
  font-size: 13px;
  display: none;
}
.side-toc__close:hover { color: var(--gold); }
.side-toc ul { list-style: none; padding: 0; margin: 0; }
.side-toc li {
  padding: 6px 0;
  border-left: 2px solid transparent;
  padding-left: 10px;
  margin-left: -2px;
  transition: border-color 0.2s, color 0.2s;
  line-height: 1.3;
}
.side-toc li.is-active { border-left-color: var(--gold); }
.side-toc a {
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.side-toc li.is-active a { color: var(--text); font-weight: 500; }
.side-toc a:hover { color: var(--gold); }
[data-theme="light"] .side-toc { background: #FFFFFF; border-color: rgba(14,13,11,0.1); }
[data-theme="light"] .side-toc a { color: #6B6050; }
[data-theme="light"] .side-toc li.is-active a { color: #0E0D0B; }
[data-theme="light"] .side-toc__close { color: #6B6050; }

.side-toc__open-btn {
  position: fixed;
  bottom: 92px;
  right: 24px;
  background: var(--noir);
  color: var(--gold);
  border: 2px solid var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  transition: background var(--ease), color var(--ease);
}
.side-toc__open-btn:hover { background: var(--gold); color: var(--noir); }
.side-toc__open-btn.is-visible { display: flex; }
[data-theme="light"] .side-toc__open-btn { background: #FFFFFF; color: var(--gold); box-shadow: 0 4px 14px rgba(14,13,11,0.18); }
[data-theme="light"] .side-toc__open-btn:hover { background: var(--gold); color: #FFFFFF; }

@media (max-width: 1280px) {
  .side-toc { display: none; }
  .side-toc.is-mobile-open {
    display: block;
    top: 90px;
    right: 16px;
    left: auto;
    width: min(280px, calc(100vw - 32px));
  }
  .side-toc.is-mobile-open .side-toc__close { display: block; }
}

/* ============================================
   ---- 51. Nav Search Button ----
   ============================================ */
.nav-search-btn {
  background: transparent;
  border: 1px solid rgba(200,169,110,0.3);
  color: var(--gold);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  flex-shrink: 0;
}
.nav-search-btn:hover { background: rgba(200,169,110,0.1); border-color: var(--gold); }
.nav-search-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[data-theme="light"] .nav-search-btn { color: var(--gold); border-color: rgba(200,169,110,0.4); }
[data-theme="light"] .nav-search-btn:hover { background: rgba(200,169,110,0.12); }

/* ============================================
   ---- 52. Site Search Overlay ----
   ============================================ */
.site-search {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8vh;
}
.site-search.is-open { display: flex; }
.site-search__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14,13,11,0.72);
  backdrop-filter: blur(4px);
}
.site-search__panel {
  position: relative;
  width: 720px;
  max-width: calc(100vw - 2rem);
  max-height: 80vh;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: 'Josefin Sans', sans-serif;
}
[data-theme="light"] .site-search__panel { background: #FFFFFF; border-color: rgba(14,13,11,0.08); }
.site-search__form { padding: 20px 24px; border-bottom: 1px solid var(--border); }
.site-search__input-wrap { position: relative; }
.site-search__input-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 15px;
  pointer-events: none;
}
.site-search__input {
  width: 100%;
  padding: 13px 16px 13px 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  background: var(--bg-alt);
  color: var(--text);
  letter-spacing: 0.02em;
}
.site-search__input::placeholder { color: var(--text-muted); opacity: 0.8; }
.site-search__input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,169,110,0.18);
  background: var(--card-bg);
}
[data-theme="light"] .site-search__input { background: #F5F2ED; color: #0E0D0B; border-color: rgba(14,13,11,0.1); }
[data-theme="light"] .site-search__input::placeholder { color: #6B6050; }
[data-theme="light"] .site-search__input:focus { background: #FFFFFF; }
.site-search__filters { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.site-search__chip {
  padding: 5px 13px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-mid);
  letter-spacing: 0.04em;
  font-family: inherit;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.site-search__chip:hover { border-color: var(--gold); color: var(--gold); }
.site-search__chip.active {
  background: var(--gold);
  color: var(--noir);
  border-color: var(--gold);
}
[data-theme="light"] .site-search__chip { color: #3d3d3d; border-color: rgba(14,13,11,0.14); }
[data-theme="light"] .site-search__chip:hover { color: var(--gold); border-color: var(--gold); }
[data-theme="light"] .site-search__chip.active { color: #FFFFFF; background: var(--gold); }
.site-search__results { flex: 1; overflow-y: auto; padding: 6px 0; }
.site-search__result {
  display: block;
  padding: 14px 24px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--ease);
}
.site-search__result:last-child { border-bottom: none; }
.site-search__result:hover, .site-search__result.is-focused { background: var(--bg-alt); }
[data-theme="light"] .site-search__result:hover, [data-theme="light"] .site-search__result.is-focused { background: #F5F2ED; }
.site-search__result-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--noir);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 6px;
}
.site-search__result-title {
  font-family: 'Cormorant Garamond', serif;
  color: var(--text);
  font-size: 17px;
  margin: 0 0 4px;
  font-weight: 400;
  line-height: 1.25;
}
[data-theme="light"] .site-search__result-title { color: #0E0D0B; }
.site-search__result-snip {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
  letter-spacing: 0.01em;
}
[data-theme="light"] .site-search__result-snip { color: #6B6050; }
.site-search__empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--text-muted);
  font-size: 14px;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}
.site-search__hint {
  padding: 10px 24px;
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  letter-spacing: 0.05em;
  font-family: 'Josefin Sans', sans-serif;
}
[data-theme="light"] .site-search__hint { background: #F5F2ED; color: #6B6050; }
.site-search__hint kbd {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1px 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  margin: 0 2px;
  color: var(--text-mid);
}
[data-theme="light"] .site-search__hint kbd { background: #FFFFFF; color: #3d3d3d; border-color: rgba(14,13,11,0.1); }
