/*
Theme Name: Crannell Law Group
Theme URI: https://crannellaw.kinsta.cloud
Description: Custom WordPress theme for The Crannell Law Group, LLC — Naperville personal injury attorneys. Built with ACF Pro, Gravity Forms, and custom post types.
Version: 2.0.0
Author: The Limitless Agency
Author URI: https://thelimitlessagency.com
Text Domain: crannell-law
License: Proprietary
License URI: https://thelimitlessagency.com
Tags: law-firm, personal-injury, custom-theme, acf-pro
*/

/* ====== WP RESET — override block library defaults ====== */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-feature-settings: 'ss01','cv11';
  color: var(--ink, #0B1A2C);
  background: var(--ivory, #F6F1E6);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  margin: 0; padding: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0 0 1em; }
figure { margin: 0; }
/* Disable WP block layout defaults */
.is-layout-flex, .is-layout-grid { gap: unset; }
.wp-block-button__link, .wp-block-file__button { all: unset; }

/* ====== SKIP LINK ====== */
.skip-link { position:absolute; top:-100px; left:0; background:var(--gold); color:var(--navy-deep); padding:12px 24px; z-index:9999; font-weight:600; text-decoration:none; }
.skip-link:focus { top:0; }

/* ====== FOCUS STYLES (Accessibility) ====== */
.btn:focus-visible,
.nav-link:focus-visible,
.filter-pill:focus-visible,
.area-pill:focus-visible,
.foot-link:focus-visible,
.practice-card:focus-visible,
.faq-q:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--gold);
}

/* ====== CSS VARIABLES ====== */
:root {
  --navy:        #0E2A47;
  --navy-deep:   #081A2E;
  --navy-2:      #16365A;
  --navy-ink:    #04101F;
  --gold:        #C8A14B;
  --gold-soft:   #E8D49A;
  --gold-deep:   #9C7A2D;
  --ivory:       #F6F1E6;
  --ivory-2:     #EDE6D4;
  --bone:        #FBF8EF;
  --ink:         #0B1A2C;
  --slate:       #465A75;
  --mist:        #E2E6EE;
}

/* ====== BASE ====== */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

html, body { background: var(--ivory); color: var(--ink); overflow-x: clip; }
.font-display { font-family: 'Fraunces', Georgia, serif; }
h1,h2,h3,h4 { font-family: 'Fraunces', Georgia, serif; letter-spacing: -0.025em; line-height: 1.02; font-weight: 400; font-variation-settings: "opsz" 144, "SOFT" 30; }

.duotone { filter: saturate(0.9) contrast(1.05); }

/* ====== HERO atmosphere ====== */
.navy-mesh {
  background:
    radial-gradient(1200px 600px at 18% 10%, rgba(200,161,75,0.18), transparent 60%),
    radial-gradient(900px 600px at 90% 30%, rgba(22,54,90,0.9), transparent 65%),
    radial-gradient(700px 500px at 50% 95%, rgba(200,161,75,0.10), transparent 70%),
    linear-gradient(180deg, #0A2240 0%, #0E2A47 50%, #081A2E 100%);
}

/* ====== GRAIN overlays ====== */
.grain-dark::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.85 0 0 0 0 0.55 0 0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .25; mix-blend-mode: overlay;
}
.grain-light::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.20 0 0 0 0 0.16 0 0 0 0 0.10 0 0 0 0.20 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .35; mix-blend-mode: multiply;
}

/* ====== TYPOGRAPHY system ====== */
.eyebrow {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-variant: all-small-caps;
  font-size: 18px; letter-spacing: .20em;
  color: var(--gold); display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; display: inline-block; width: 36px; height: 1.5px; background: var(--gold); }
.eyebrow.on-light { color: var(--gold-deep); }
.eyebrow.on-light::before { background: var(--gold-deep); }

.marg {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--slate);
  line-height: 1.35;
}

/* ====== TOP BAR (home1 style) ====== */
.topbar {
  background: var(--navy-ink);
  color: #EADFC6;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: .06em;
}
.topbar a { color: #EADFC6; }
.topbar .phone { color: var(--gold); font-weight: 600; }

/* ====== HEADER (home2 style) ====== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246,241,230,0.78);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  transition: background .35s ease, box-shadow .35s ease;
  border-bottom: 1px solid rgba(14,42,71,.10);
}
.site-header.scrolled {
  background: rgba(246,241,230,0.96);
  box-shadow: 0 1px 0 rgba(14,42,71,.10);
}
.nav-shell { padding: 14px 0; transition: padding .3s ease; }
.site-header.scrolled .nav-shell { padding: 10px 0; }
.nav-link { font-size: 13.5px; color: var(--ink); font-weight: 500; position: relative; letter-spacing: -0.005em; padding: 8px 0; }
.nav-link:hover { color: var(--navy); }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .3s ease;
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* Active nav state — current page highlight */
.nav-link.active { color: var(--navy-deep); font-weight: 600; }
.nav-link.active::after { transform: scaleX(1); }
.has-dropdown.active > .nav-link { color: var(--navy-deep); font-weight: 600; }
.has-dropdown.active > .nav-link::after { transform: scaleX(1); }

.has-dropdown { position: relative; }
/* Invisible bridge between nav link and dropdown to prevent hover loss */
.has-dropdown::after {
  content: ""; position: absolute; top: 100%; left: -20px; right: -20px;
  height: 20px; background: transparent;
}
.dropdown {
  position: absolute; top: calc(100% + 8px); left: -16px; min-width: 280px;
  background: #fff; border: 1px solid rgba(14,42,71,.10); border-radius: 6px;
  box-shadow: 0 12px 36px -8px rgba(8,26,46,0.2), 0 2px 8px rgba(0,0,0,.06);
  padding: 10px 6px;
  opacity: 0; pointer-events: none; transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.dropdown a {
  display: block; padding: 10px 16px; font-size: 14px; color: var(--ink);
  border-left: 2px solid transparent; border-radius: 4px;
  transition: all .15s ease; text-decoration: none;
}
.dropdown a:hover { background: rgba(200,161,75,.08); color: var(--navy-deep); border-left-color: var(--gold); }
.dropdown a.active { background: rgba(200,161,75,.1); color: var(--gold-deep); font-weight: 600; border-left-color: var(--gold); }

/* ====== MOBILE DROPDOWN ====== */
/* mobile-dropdown styles moved to mobile-panel section below */

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 2px;
  font-weight: 600; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase;
  transition: transform .2s, background .2s, color .2s, box-shadow .25s, border-color .2s;
  font-family: 'Inter', sans-serif;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-1px); box-shadow: 0 18px 36px -16px rgba(200,161,75,.55); }
.btn-navy { background: var(--navy); color: var(--ivory); }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-1px); box-shadow: 0 18px 36px -16px rgba(14,42,71,.55); }
.btn-ghost-light {
  background: transparent; color: var(--ivory);
  border: 1px solid rgba(246,241,230,.32);
}
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-ghost-dark {
  background: transparent; color: var(--navy);
  border: 1px solid rgba(14,42,71,.25);
}
.btn-ghost-dark:hover { border-color: var(--navy); background: rgba(255,255,255,.6); }
.btn svg.arrow { transition: transform .3s ease; }
.btn:hover svg.arrow { transform: translateX(3px); }

/* ====== HERO -- "The Scoreboard" centered layout (home2) ====== */
.hero {
  position: relative;
  overflow: visible;
  color: var(--ivory);
  isolation: isolate;
  min-height: auto;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(800px 600px at 50% 45%, rgba(200,161,75,0.10), transparent 70%),
    radial-gradient(1200px 800px at 50% 50%, rgba(22,54,90,0.5), transparent 65%),
    linear-gradient(180deg, #0A2240 0%, #0E2A47 45%, #081A2E 100%);
}
.hero-bg-texture {
  position: absolute; inset: 0;
  background-image: url('/wp-content/uploads/sites/1304158/2026/04/metrowest-hero.png');
  background-size: cover; background-position: center 30%;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}
.hero-center {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 48px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}
@media (min-width: 1920px) {
  .hero-center { max-width: 840px; }
  .mega-num { font-size: 220px; }
}
@media (min-width: 2560px) {
  .hero-center { max-width: 800px; }
  .mega-num { font-size: 240px; }
}

.hero-eyebrow {
  color: var(--gold); display: inline-flex; align-items: center; gap: 14px;
  font-family: 'Fraunces', serif; font-style: italic; font-variant: all-small-caps;
  font-size: 22px; letter-spacing: .18em;
  justify-content: center;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ""; width: 30px; height: 1px; background: var(--gold); display: inline-block;
}

.mega-num {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(140px, 20vw, 260px);
  line-height: .85;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-variant-numeric: tabular-nums;
  display: block;
  margin-top: 20px;
  background: linear-gradient(135deg, var(--ivory) 0%, var(--gold-soft) 25%, var(--gold) 45%, var(--ivory) 65%, var(--gold-soft) 85%, var(--gold) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 60px rgba(200,161,75,0.25));
  animation: shimmer 6s ease-in-out infinite;
}
.mega-num-wrap {
  position: relative;
  display: inline-block;
}
.mega-num-wrap::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 120%; height: 160%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(200,161,75,0.10) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
/* GPU-composited version for better perf */
@media (prefers-reduced-motion: no-preference) {
  .mega-num { will-change: background-position; }
}
.mega-num-enter {
  opacity: 0;
  transform: scale(0.9);
  animation: megaEnter 1.1s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: .1s;
}
@keyframes megaEnter {
  to { opacity: 1; transform: scale(1); }
}

.hero-subtitle {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: rgba(246,241,230,.82);
  margin-top: 12px;
}
.hero-subtitle em { color: var(--gold-soft); font-style: italic; }

.hero-divider {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 32px auto;
  border: none;
}

.hero-proofs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 0;
}
.hero-proof {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 0 36px;
  position: relative;
}
.hero-proof + .hero-proof::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 44px;
  background: linear-gradient(180deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
}
.hero-proof .proof-val {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-proof .proof-lbl {
  font-family: 'Inter', sans-serif;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(246,241,230,.78);
}

.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 36px;
  justify-content: center;
}

.hero-attribution {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin-top: 48px;
  padding: 16px 24px;
  background: rgba(246,241,230,0.08);
  border: 1px solid rgba(246,241,230,0.14);
  border-radius: 14px;
  max-width: 620px;
}
.hero-attribution img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(200,161,75,0.5);
  filter: saturate(0.95) contrast(1.05);
  flex-shrink: 0;
}
.hero-attribution-text {
  display: flex; flex-direction: column; gap: 4px;
  text-align: left;
}
.hero-attribution-name {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600;
  color: rgba(246,241,230,.95);
  letter-spacing: 0.01em;
}
.hero-attribution-quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(246,241,230,.92);
  letter-spacing: 0.005em;
}

@media (max-width: 1000px) {
  .hero-center { padding: 120px 24px 48px; }
  .hero-proof { padding: 0 24px; }
}
@media (max-width: 768px) {
  .hero-center { padding: 100px 20px 40px; }
  .mega-num { font-size: clamp(100px, 22vw, 140px); }
  .hero-proofs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .hero-proof { padding: 0 12px; }
  .hero-proof + .hero-proof::before { height: 36px; }
  .hero-proof .proof-val { font-size: clamp(28px, 6vw, 36px); }
  .hero-attribution {
    flex-direction: row;
    width: 100%;
    max-width: 360px;
  }
}
@media (max-width: 540px) {
  .hero-center { padding: 90px 16px 36px; }
  .hero-proof { padding: 0 8px; }
  .hero-divider { margin: 24px auto; }
}

/* hero stat strip */
.hero-strip {
  background: var(--navy-deep);
  color: var(--ivory);
  border-top: 1px solid rgba(200,161,75,.25);
  border-bottom: 1px solid rgba(200,161,75,.18);
  position: relative; z-index: 4;
}
.hero-strip-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.hero-strip-grid > div {
  padding: 30px 28px;
  display: flex; align-items: baseline; gap: 18px;
}
.hero-strip-grid > div + div { border-left: 1px solid rgba(246,241,230,.14); }
.hero-strip-grid .v {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: clamp(36px, 4vw, 56px); line-height: 1;
  color: var(--gold); letter-spacing: -0.025em;
}
.hero-strip-grid .lbl {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(246,241,230,.78);
}
@media (max-width: 800px) {
  .hero-strip-grid { grid-template-columns: 1fr; }
  .hero-strip-grid > div + div { border-left: 0; border-top: 1px solid rgba(246,241,230,.14); }
}

/* ====== MARQUEE RIBBON ====== */
.hero-ribbon {
  background: var(--ink);
  color: var(--ivory);
  overflow: hidden;
  position: relative;
}
.ribbon-track {
  display: inline-flex;
  gap: 64px;
  white-space: nowrap;
  padding: 18px 0;
  animation: marquee 60s linear infinite;
}
.ribbon-item {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 16px; letter-spacing: 0.005em;
}
.ribbon-item .num { color: var(--gold); font-weight: 500; }
.ribbon-item .dot { width: 4px; height: 4px; background: var(--gold); border-radius: 50%; display: inline-block; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* hero entrance animations */
.hero-fade-up {
  opacity: 0; transform: translateY(24px);
  animation: heroFadeUp .9s ease forwards;
}
.hero-fade-up-d1 { animation-delay: .15s; }
.hero-fade-up-d2 { animation-delay: .3s; }
.hero-fade-up-d3 { animation-delay: .45s; }
.hero-fade-up-d4 { animation-delay: .6s; }
.hero-fade-up-d5 { animation-delay: .75s; }
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.hero-fade-in {
  opacity: 0;
  animation: heroFadeIn 1.2s ease forwards;
  animation-delay: .2s;
}
@keyframes heroFadeIn {
  to { opacity: 1; }
}

/* ====== TRUST STRIP ====== */
.trust-strip {
  background: var(--bone);
  border-bottom: 1px solid rgba(14,42,71,.08);
  border-top: 1px solid rgba(14,42,71,.08);
  padding: 36px 0 32px;
}
.trust-head {
  text-align: center;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(20px, 2.5vw, 26px);
  letter-spacing: -0.01em;
  color: var(--gold-deep);
  margin-bottom: 28px;
}
.trust-head::before, .trust-head::after {
  content: ""; display: inline-block; width: 30px; height: 1px;
  background: var(--gold-deep); vertical-align: middle; margin: 0 16px;
}
.trust-grid {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 36px 56px;
}
.trust-grid img {
  height: 120px; width: auto;
  display: block;
  opacity: 0.92;
  mix-blend-mode: darken; /* hides white backgrounds — only shows non-white pixels */
  transition: filter .3s ease, opacity .3s ease, transform .3s ease;
}
/* Fallback for browsers without mix-blend-mode support */
@supports not (mix-blend-mode: darken) {
  .trust-grid img { background: transparent; border-radius: 8px; }
}
.trust-grid a { display: block; }
.trust-grid a:hover img { filter: contrast(1.08) brightness(1.02); opacity: 1; transform: translateY(-2px); }
@media (max-width: 720px) {
  .trust-grid { gap: 26px 32px; }
  .trust-grid img { height: 80px; }
}

/* ====== GOOGLE REVIEWS BADGE ====== */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 8px;
  background: white;
  border: 1px solid rgba(14,42,71,.1);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: box-shadow .2s ease, transform .2s ease;
}
.google-badge:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); transform: translateY(-1px); }
.google-badge-icon { flex-shrink: 0; }
.google-badge-info { text-align: left; }
.google-badge-rating { display: flex; align-items: baseline; gap: 6px; }
.google-badge-score { font-family: 'Inter', sans-serif; font-size: 28px; font-weight: 700; color: var(--navy-deep); }
.google-badge-stars { color: #FBBC05; font-size: 16px; letter-spacing: 2px; }
.google-badge-count { font-size: 12px; color: var(--slate); margin-top: 2px; }

/* ====== AREAS SERVED CONTACT SECTION ====== */
.areas-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .areas-contact-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 600px) { .pa-grid-cards[style*="repeat(3"] { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 400px) { .pa-grid-cards[style*="repeat(3"] { grid-template-columns: 1fr !important; } }

/* ====== STAFF CARD HOVER OVERLAY ====== */
.staff-card-link { text-decoration: none; color: inherit; display: block; }
.staff-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,26,46,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 5;
  border-radius: 2px;
}
.staff-card--linked .staff-photo { position: relative; cursor: pointer; }
.staff-card--linked:hover .staff-hover-overlay { opacity: 1; }
.staff-hover-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-radius: 2px;
  transition: background .2s;
}
.staff-card--linked:hover .staff-hover-btn { background: var(--gold-soft); }

/* ====== MEET THE FIRM ABOUT GRID ====== */
.meet-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.meet-about-img img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
  aspect-ratio: 4/3;
}
@media (max-width: 900px) { .meet-about-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ====== MAP SECTION WITH OVERLAY ====== */
.map-section {
  position: relative;
}
.map-overlay {
  position: absolute;
  top: 32px;
  right: 32px;
  z-index: 10;
  background: var(--navy-deep);
  color: var(--ivory);
  padding: 28px 28px 24px;
  border-radius: 8px;
  max-width: 340px;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  border: 1px solid rgba(200,161,75,.15);
}
.map-overlay-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.map-overlay-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.map-overlay-row svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}
.map-overlay-row a {
  color: var(--ivory);
  text-decoration: none;
  transition: color .2s;
}
.map-overlay-row a:hover { color: var(--gold-soft); }
.map-overlay-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(200,161,75,.2);
}
.map-overlay-open {
  font-size: 13px;
  font-weight: 600;
  color: #22C55E;
}
.map-overlay-google {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.map-overlay-google-score {
  font-size: 14px;
  font-weight: 700;
  color: var(--ivory);
}
.map-overlay-google-stars {
  font-size: 12px;
  color: #FBBC05;
  letter-spacing: 1px;
}
.map-overlay-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.map-overlay-actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-radius: 4px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.map-overlay-actions .map-act-directions {
  background: var(--gold);
  color: var(--navy-deep);
}
.map-overlay-actions .map-act-directions:hover { background: var(--gold-soft); }
.map-overlay-actions .map-act-open {
  background: rgba(255,255,255,.1);
  color: var(--ivory);
  border: 1px solid rgba(255,255,255,.2);
}
.map-overlay-actions .map-act-open:hover { background: rgba(255,255,255,.2); }
@media (max-width: 600px) {
  .map-overlay {
    position: relative;
    top: auto;
    right: auto;
    max-width: 100%;
    border-radius: 0;
    margin-top: -4px;
  }
}

/* ====== AREAS SERVED TWO-COLUMN WITH MAP ====== */
.areas-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.areas-text-col { min-width: 0; }
.areas-map-col {
  min-width: 0;
  border-radius: 6px;
  overflow: hidden;
}
.areas-interactive-map {
  display: block;
  width: 100%;
  height: auto;
}
/* Interactive pin hover */
.map-pin { cursor: pointer; text-decoration: none; }
.map-pin .pin-bg { transition: fill .2s, transform .2s; }
.map-pin:hover .pin-bg { fill: #C8A14B; }
.map-pin:hover text { fill: #0E2A47; }
.map-pin:hover circle { fill: #C8A14B; }
.map-pin-hq .pin-bg-hq { transition: fill .2s; }
.map-pin-hq:hover .pin-bg-hq { fill: #E8D49A; }
@media (max-width: 900px) {
  .areas-two-col { grid-template-columns: 1fr; }
  .areas-map-col { max-width: 500px; margin: 0 auto; }
}

/* ====== FOOTER MAP ====== */
.foot-map-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.foot-map-col iframe {
  flex: 1;
  min-height: 200px;
}

/* ====== PRACTICE AREAS -- combined styles ====== */
.practice-section {
  background: var(--navy);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--gold);
}
.practice-section::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(200,161,75,0.12), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(22,54,90,0.6), transparent 60%);
  z-index: 0;
}
.practice-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative; z-index: 2;
}
@media (max-width: 1000px) { .practice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .practice-grid { grid-template-columns: 1fr; }
  .practice-card { min-height: auto; }
}

/* Practice card: light card on dark bg, home3 hover animation */
.practice-card {
  position: relative;
  background: #FFFDF7;
  border: 1px solid rgba(14,42,71,.10);
  border-top: 3px solid transparent;
  border-radius: 0;
  overflow: hidden;
  display: flex; flex-direction: column;
  padding: 36px 28px 28px;
  min-height: 300px;
  transition: transform .5s ease, background .5s ease, box-shadow .5s ease, border-color .5s ease;
}
.practice-card:hover {
  transform: translateY(-3px);
  background: #FFFCF1;
  border-color: rgba(200,161,75,.45);
  border-top-color: var(--gold);
  box-shadow: 0 24px 44px -28px rgba(14,42,71,.30);
}
.practice-card .icon-cell {
  width: 52px; height: 52px;
  padding: 10px;
  background: rgba(14,42,71,.10);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--navy);
  transition: background .5s ease, color .5s ease;
}
.practice-card .icon-cell img {
  width: 32px; height: 32px; object-fit: contain;
  filter: brightness(0) saturate(100%) invert(12%) sepia(30%) saturate(2200%) hue-rotate(185deg) brightness(92%) contrast(100%);
  transition: filter .6s ease, transform .5s ease;
}
.practice-card .icon-cell svg {
  width: 32px; height: 32px;
  stroke: var(--navy);
  transition: stroke .5s ease, transform .5s ease;
}
.practice-card:hover .icon-cell img {
  filter: brightness(0) saturate(100%) invert(60%) sepia(40%) saturate(700%) hue-rotate(5deg) brightness(95%) contrast(90%);
  transform: translateY(-2px);
}
.practice-card:hover .icon-cell svg {
  stroke: var(--gold);
  transform: translateY(-2px);
}
.practice-card:hover .icon-cell {
  background: rgba(200,161,75,.12);
  color: var(--gold);
}
.practice-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  color: var(--navy);
  letter-spacing: -0.015em; line-height: 1.1;
  margin-bottom: 10px;
}
.practice-card h3 em {
  font-style: italic; color: var(--gold-deep); font-weight: 300;
}
/* Gold underline sweep on hover (home3) */
.practice-card .underline-gold { display: inline-block; position: relative; }
.practice-card .underline-gold::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 2px; background: var(--gold);
  transition: right .6s cubic-bezier(.2,.7,.2,1);
}
.practice-card:hover .underline-gold::after { right: 0; }
.practice-card .blurb {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14.5px; line-height: 1.55;
  color: var(--slate);
  margin-top: 0;
  flex: 1;
}
.practice-card .more {
  margin-top: auto; padding-top: 18px;
  font-family: 'Inter', sans-serif;
  font-size: 13px; letter-spacing: .08em;
  color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .22s ease, gap .22s ease;
}
.practice-card:hover .more { color: var(--gold); gap: 12px; }

/* ====== WALL OF WINS ====== */
.wall { background: var(--ivory); position: relative; border-top: 1px solid rgba(14,42,71,.10); }
.filter-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-bottom: 32px;
}
.filter-pill {
  padding: 9px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(14,42,71,.18);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  transition: all .22s ease;
}
.filter-pill:hover { border-color: var(--navy); }
.filter-pill.active {
  background: var(--navy); color: var(--ivory); border-color: var(--navy);
}
.filter-pill .ct {
  margin-left: 6px;
  font-size: 10.5px; opacity: 0.6;
  font-variant-numeric: tabular-nums;
}
.filter-pill.active .ct { opacity: 0.85; }

.wins-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 1100px) { .wins-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px)  { .wins-grid { grid-template-columns: 1fr; } }

.win-card {
  position: relative;
  background: var(--bone);
  border: 1px solid rgba(14,42,71,.10);
  padding: 28px 28px 26px;
  border-radius: 2px;
  transition: transform .28s cubic-bezier(.2,.7,.2,1), border-color .28s, box-shadow .28s;
  overflow: hidden;
  min-height: 300px;
  display: flex; flex-direction: column;
  cursor: pointer;
}
.win-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -12px rgba(14,42,71,.18);
  border-color: var(--gold);
}
.win-card:hover .amt {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}
.win-card:hover .win-card-pa-link {
  color: var(--navy);
  gap: 8px;
}
.win-card.is-hidden { display: none; }
.win-card .top-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 14px; margin-bottom: 18px;
}
.win-card .icon-wrap {
  flex-shrink: 0;
  width: 46px; height: 46px;
  background: rgba(200,161,75,.10);
  border: 1px solid rgba(200,161,75,.35);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.win-card .icon-wrap img {
  width: 28px; height: 28px; object-fit: contain;
  filter: brightness(0) saturate(100%) invert(58%) sepia(48%) saturate(456%) hue-rotate(7deg) brightness(94%) contrast(89%);
}
.win-card .meta-text {
  flex: 1;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--slate);
  display: flex; flex-direction: column; gap: 4px;
  text-align: right;
}
.win-card .case-type { color: var(--navy); font-weight: 600; font-size: 12px; text-decoration: none; transition: color .2s; }
a.case-type:hover { color: var(--gold-deep) !important; }
.win-card-pa-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-deep);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: color .2s;
}
.win-card-pa-link:hover { color: var(--navy); }
.win-card .yr { font-variant-numeric: tabular-nums; opacity: 0.65; }
.win-card .amt {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 400;
  font-size: clamp(48px, 5.5vw, 72px); line-height: .92;
  color: var(--navy-deep); letter-spacing: -0.035em;
}
.win-card .amt .dollar { color: var(--gold); font-weight: 300; }
.win-card .amt .unit { color: var(--gold); font-weight: 300; font-size: 0.55em; padding-left: 0.04em; }
.win-card .amt.confidential-amt { font-size: clamp(32px, 4vw, 52px); color: var(--gold-deep); font-style: italic; letter-spacing: 0.02em; }
.win-card .desc {
  margin-top: 14px;
  font-size: 14.5px; line-height: 1.55; color: var(--slate);
}
.win-card .desc strong { color: var(--ink); font-weight: 500; }

/* ====== STAFF -- editorial cards (home2 style, compact layout) ====== */
.staff-section { background: var(--bone); border-top: 1px solid rgba(14,42,71,.10); }

.staff-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.staff-row--2 { grid-template-columns: repeat(2, 1fr); }
.staff-row--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .staff-row, .staff-row--2, .staff-row--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .staff-row, .staff-row--2, .staff-row--4 { grid-template-columns: 1fr; } }

.staff-card { display: flex; flex-direction: column; }
.staff-photo {
  aspect-ratio: 4 / 5;
  background: var(--navy);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.staff-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(14,42,71,0.06) 0%, transparent 50%, rgba(200,161,75,0.04) 100%);
  mix-blend-mode: multiply;
  z-index: 2;
  opacity: 0.1;
  transition: opacity .5s ease;
}
.staff-photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 50%;
  background: linear-gradient(180deg, transparent 0%, rgba(8,26,46,0.80) 100%);
  z-index: 3;
}
.staff-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
  filter: saturate(0.95) contrast(1.02);
}
.staff-photo .photo-cap {
  position: absolute; left: 20px; right: 20px; bottom: 18px;
  z-index: 4;
  color: var(--ivory);
}
.staff-photo .photo-cap .pname {
  font-family: 'Fraunces', serif;
  font-size: clamp(20px, 1.6vw, 24px);
  letter-spacing: -0.018em;
  line-height: 1.05;
}
.staff-photo .photo-cap .prole {
  margin-top: 4px;
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 11px; letter-spacing: .22em;
  color: var(--gold); text-transform: uppercase;
}
.staff-photo .gold-rule {
  position: absolute;
  left: 20px; bottom: 72px;
  width: 32px; height: 2px;
  background: var(--gold);
  z-index: 4;
}

.staff-pull {
  margin-top: 14px;
  padding-left: 16px;
  border-left: 2px solid var(--gold);
}
.staff-pull .quote {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 15px; line-height: 1.45;
  color: var(--navy-deep); letter-spacing: -0.005em;
}
.staff-pull .speak {
  margin-top: 6px;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--slate);
}

.staff-divider {
  margin-top: 56px;
  display: flex; align-items: center; gap: 24px;
}
.staff-divider::before, .staff-divider::after {
  content: ""; flex: 1; height: 1px;
  background: rgba(14,42,71,.22);
}
.staff-divider .label {
  font-family: 'Fraunces', serif; font-style: italic;
  font-variant: all-small-caps; font-size: 14px;
  letter-spacing: .26em; color: var(--navy);
}

/* ====== TESTIMONIALS ====== */
.testimonial-section {
  background: var(--ivory-2);
  position: relative; overflow: hidden;
  border-top: 3px solid var(--gold);
}
.testi-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 1000px) { .testi-grid { grid-template-columns: 1fr; gap: 40px; } }

.video-frame {
  position: relative;
  background: var(--navy-deep);
  overflow: hidden;
  border-radius: 2px;
  min-height: 400px;
}
.video-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05) brightness(0.88);
}
.video-frame::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, transparent 0%, rgba(8,26,46,0.25) 60%),
    linear-gradient(180deg, rgba(8,26,46,0.15) 0%, transparent 30%, rgba(8,26,46,0.75) 100%);
  z-index: 2;
}
.video-play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: rgba(200,161,75,0.95);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-deep);
  box-shadow: 0 0 0 4px rgba(200,161,75,0.35), 0 0 0 12px rgba(200,161,75,0.15), 0 30px 60px -20px rgba(0,0,0,.6);
  cursor: pointer;
  transition: transform .35s ease, background .25s ease, box-shadow .35s ease;
}
.video-play::before {
  content: ""; position: absolute; inset: -14px;
  border-radius: 50%;
  border: 2px solid rgba(200,161,75,0.55);
  animation: ping 2.4s cubic-bezier(0,0,.2,1) infinite;
}
.video-play::after {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}
.video-play:hover { transform: translate(-50%, -50%) scale(1.08); background: var(--gold-soft); box-shadow: 0 0 0 4px rgba(200,161,75,0.5), 0 0 0 16px rgba(200,161,75,0.2), 0 30px 60px -20px rgba(0,0,0,.6); }
.video-play svg { margin-left: 6px; }
@keyframes ping {
  0%   { transform: scale(1);   opacity: 0.8; }
  80%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
.video-cap {
  position: absolute; left: 28px; right: 28px; bottom: 28px;
  z-index: 4;
  color: var(--ivory);
}
.video-cap .ve {
  font-family: 'Fraunces', serif; font-style: italic; font-variant: all-small-caps;
  font-size: 11px; letter-spacing: .28em; color: var(--gold);
}
.video-cap .vl {
  margin-top: 8px;
  font-family: 'Fraunces', serif;
  font-size: clamp(20px, 1.7vw, 26px); line-height: 1.2;
  letter-spacing: -0.015em;
}

.quote-stack { display: flex; flex-direction: column; gap: 24px; }
.quote-card {
  padding: 36px 32px 30px;
  background: var(--bone);
  border: 1px solid rgba(14,42,71,.10);
  border-radius: 2px;
  position: relative;
}
.quote-card .body {
  font-family: 'Fraunces', serif;
  font-size: 19px; line-height: 1.45;
  color: var(--ink); letter-spacing: -0.005em;
}
.quote-card .body em { font-style: italic; color: var(--navy); }
.quote-card .open-q {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 56px; color: var(--gold); line-height: 0.6;
  margin-right: 6px; vertical-align: -8px;
}
.quote-card .attrib {
  margin-top: 22px; padding-top: 16px;
  border-top: 1px solid rgba(14,42,71,.12);
  display: flex; align-items: center; justify-content: space-between;
}
.quote-card .name { font-weight: 600; color: var(--navy-deep); font-size: 14px; }
.quote-card .case { font-size: 11.5px; color: var(--slate); letter-spacing: .12em; text-transform: uppercase; margin-top: 2px; }
.quote-card .stars { color: var(--gold); letter-spacing: 2px; font-size: 16px; }

/* ====== AREAS SERVED ====== */
.areas-section {
  position: relative;
  color: var(--ivory);
  overflow: hidden;
  isolation: isolate;
  background: var(--navy-deep);
  border-top: 3px solid var(--gold);
}
.areas-bg {
  position: absolute; inset: 0;
  background-image: url('/wp-content/uploads/sites/1304158/2025/06/banner-naperville2-color-AdobeStock_534639855.jpg');
  background-size: cover; background-position: center 35%;
  filter: saturate(0.85) contrast(1.05) brightness(0.65);
  z-index: 0;
}
.areas-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,26,46,0.85) 0%, rgba(8,26,46,0.6) 35%, rgba(8,26,46,0.92) 100%),
    linear-gradient(96deg, rgba(8,26,46,0.55) 0%, transparent 50%, rgba(8,26,46,0.55) 100%);
}
.areas-inner {
  position: relative; z-index: 2;
  padding: 96px 24px 96px;
  max-width: 1320px; margin: 0 auto;
}
.area-pills {
  margin-top: 56px;
  display: flex; flex-wrap: wrap; gap: 14px;
}
.area-pill {
  padding: 18px 26px;
  background: rgba(8,26,46,0.55);
  border: 1px solid rgba(200,161,75,0.4);
  color: var(--ivory);
  font-family: 'Fraunces', serif;
  font-size: 22px; letter-spacing: -0.015em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all .28s ease;
  display: inline-flex; align-items: baseline; gap: 14px;
  position: relative;
}
.area-pill .ap-county {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-soft);
  font-family: 'Inter', sans-serif;
}
.area-pill:hover {
  background: rgba(200,161,75,0.15);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.6);
}
.area-pill::after {
  content: "\2192"; margin-left: 6px;
  color: var(--gold); opacity: 0.6;
  transition: transform .25s ease, opacity .25s ease;
}
.area-pill:hover::after { transform: translateX(4px); opacity: 1; }

/* ====== PROCESS ====== */
.process-section { background: var(--bone); border-top: 1px solid rgba(14,42,71,.10); }
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 1000px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .process-grid { grid-template-columns: 1fr; } }
.process-step {
  padding: 36px 28px 30px;
  border-left: 1px solid rgba(14,42,71,.14);
  position: relative;
}
.process-step:first-child { border-left: 0; }
@media (max-width: 1000px) {
  .process-step:nth-child(odd) { border-left: 0; }
  .process-step { border-top: 1px solid rgba(14,42,71,.14); }
  .process-step:first-child, .process-step:nth-child(2) { border-top: 0; }
}
.process-step .step-num {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 56px; color: var(--gold);
  letter-spacing: -0.04em; line-height: 1;
}
.process-step h3 {
  font-family: 'Fraunces', serif; font-size: 22px;
  margin-top: 18px; color: var(--navy-deep);
}
.process-step p {
  margin-top: 12px; font-size: 14px; line-height: 1.55; color: var(--slate);
}

/* ====== FAQ ====== */
.faq-section { background: var(--ivory); border-top: 1px solid rgba(14,42,71,.10); }
.faq-item {
  border-top: 1px solid rgba(14,42,71,.14);
  padding: 28px 0;
}
.faq-item:last-child { border-bottom: 1px solid rgba(14,42,71,.14); }
.faq-q {
  display: flex; align-items: flex-start; justify-content: space-between;
  cursor: pointer;
  gap: 24px;
}
.faq-q .q-text {
  font-family: 'Fraunces', serif;
  font-size: clamp(20px, 1.8vw, 26px);
  color: var(--navy-deep); letter-spacing: -0.015em;
  flex: 1;
}
.faq-q .q-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border: 1px solid rgba(14,42,71,.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  transition: all .25s ease;
}
.faq-item.open .q-icon { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item.open .faq-a { max-height: 320px; }
.faq-a .inner {
  padding-top: 18px;
  font-size: 15px; line-height: 1.65; color: var(--slate);
  max-width: 760px;
}

/* ====== CONTACT ====== */
.contact-section {
  position: relative;
  color: var(--ivory);
  overflow: hidden;
  isolation: isolate;
  border-top: 3px solid var(--gold);
}
.contact-bg {
  position: absolute; inset: 0;
  background-image: url('/wp-content/uploads/sites/1304158/2025/06/crash-bg.jpg');
  background-size: cover; background-position: center;
  filter: saturate(0.75) contrast(1.08) brightness(0.55);
  z-index: 0;
}
.contact-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(8,26,46,0.95) 0%, rgba(8,26,46,0.78) 45%, rgba(14,42,71,0.6) 100%),
    linear-gradient(180deg, rgba(8,26,46,0.4) 0%, rgba(8,26,46,0.6) 100%);
}
.contact-inner {
  position: relative; z-index: 3;
  padding: 96px 24px;
  max-width: 1320px; margin: 0 auto;
}
.contact-grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
}
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

.form-card {
  background: var(--ivory);
  color: var(--ink);
  padding: 44px 40px;
  border-radius: 2px;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,0.6);
  position: relative;
}
.form-card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy); font-weight: 600;
}
.field input, .field select, .field textarea {
  background: rgba(14,42,71,0.04);
  border: 1px solid rgba(14,42,71,.18);
  border-radius: 2px;
  padding: 12px 14px; font-size: 15px; color: var(--ink);
  font-family: 'Inter', sans-serif;
  transition: border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  background: rgba(200,161,75,0.04);
  box-shadow: 0 0 0 3px rgba(200,161,75,0.12);
}
.field textarea { resize: vertical; min-height: 90px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%230E2A47' stroke-width='1.5' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
}
.checkbox-row {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 22px 0 28px;
  font-size: 13px; color: var(--slate); line-height: 1.5;
}
.checkbox-row input[type="checkbox"] {
  margin-top: 3px; accent-color: var(--gold);
  width: 16px; height: 16px;
}
.checkbox-row a { color: var(--navy); text-decoration: underline; }

/* ====== FOOTER ====== */
footer.site-foot {
  background: var(--navy-deep);
  color: rgba(246,241,230,.78);
  padding: 80px 0 40px;
  position: relative;
}
.foot-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.foot-map-col iframe { width: 100%; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } }
.foot-h {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--gold-soft);
  margin-bottom: 20px;
}
.foot-link { display: block; padding: 5px 0; color: rgba(246,241,230,.78); font-size: 14px; transition: color .2s ease; }
.foot-link:hover { color: var(--gold-soft); }
.foot-phone {
  font-family: 'Inter', system-ui, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--gold-soft);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.foot-phone:hover { color: var(--gold); }
.foot-bottom {
  margin-top: 60px; padding-top: 24px;
  border-top: 1px solid rgba(246,241,230,.12);
  display: flex; flex-wrap: wrap; gap: 18px;
  align-items: center; justify-content: space-between;
  font-size: 12px; color: rgba(246,241,230,.6);
}

/* Legal disclaimer block */
.foot-disclaimer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(200,161,75,.15);
}
.foot-disclaimer-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.foot-disclaimer-label {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: rgba(200,161,75,.35);
  margin-bottom: 10px !important;
}
.foot-disclaimer p {
  font-size: 10px;
  line-height: 1.6;
  color: rgba(246,241,230,.35);
  margin-bottom: 6px;
}
.foot-disclaimer strong {
  color: rgba(246,241,230,.55);
  font-weight: 600;
}
.foot-disclaimer-copy {
  margin-top: 12px !important;
  padding-top: 10px;
  border-top: 1px solid rgba(246,241,230,.08);
  color: rgba(246,241,230,.5) !important;
  font-weight: 500;
}
.foot-disclaimer-copy a {
  color: rgba(200,161,75,.5);
  text-decoration: none;
  transition: color .2s;
}
.foot-disclaimer-copy a:hover {
  color: var(--gold-soft);
}

/* fade-in observers */
.fade-up { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.fade-up.in { opacity: 1; transform: none; }

/* mobile nav */
.mobile-nav { display: none; }
.mobile-panel {
  display: none;
  position: fixed; inset: 0;
  background: var(--navy-deep); color: var(--ivory);
  z-index: 100;
  transform: translateY(-100%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  padding: 30px 24px;
  overflow-y: auto;
}
.mobile-panel.open { transform: translateY(0); z-index: 100000; }
/* Hide chat widget when mobile menu is open */
.mobile-panel.open ~ #cc-side-tab,
.mobile-panel.open ~ #cc-invite,
.mobile-panel.open ~ #cc-window { display: none !important; }
/* Mobile menu CTA area */
.mobile-panel .mobile-cta { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(200,161,75,.25); }
.mobile-panel .mobile-cta a.mobile-phone { display: flex; align-items: center; gap: 10px; font-family: 'Fraunces', serif; font-size: 22px; color: var(--gold-soft) !important; text-decoration: none; border: none !important; padding: 0 !important; }
.mobile-panel .mobile-cta .btn { margin-top: 16px; width: 100%; justify-content: center; font-size: 14px; padding: 16px; }
.mobile-panel > a { display: block; font-family: 'Fraunces', serif; font-size: 26px; padding: 14px 0; color: var(--ivory); border-bottom: 1px solid rgba(246,241,230,.10); text-decoration: none; }
.mobile-panel > a:hover { color: var(--gold-soft); }

/* Mobile dropdown toggles — match the main link style */
.mobile-dropdown { border-bottom: 1px solid rgba(246,241,230,.10); }
.mobile-dropdown-toggle {
  background: none; border: none; color: var(--ivory); font-family: 'Fraunces', serif;
  font-size: 26px; width: 100%; text-align: left; cursor: pointer; display: flex;
  align-items: center; justify-content: space-between; padding: 14px 0;
}
.mobile-dropdown-toggle svg { transition: transform .2s ease; width: 14px; height: 14px; opacity: 0.6; }
.mobile-dropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-dropdown-toggle:hover { color: var(--gold-soft); }

/* Dropdown sub-menu items — smaller, indented */
.mobile-dropdown-menu { display: none; padding: 0 0 10px 0; }
.mobile-dropdown-menu a {
  display: block; padding: 10px 0 10px 20px;
  font-family: 'Inter', sans-serif; font-size: 16px;
  color: rgba(246,241,230,.75); text-decoration: none;
  border-bottom: none !important;
  border-left: 2px solid rgba(200,161,75,.25);
  transition: color .2s, border-color .2s, padding-left .2s;
}
.mobile-dropdown-menu a:hover { color: var(--gold-soft); border-left-color: var(--gold); padding-left: 24px; }
@media (max-width: 980px) {
  .desktop-nav { display: none !important; }
  .mobile-nav { display: flex; }
  .mobile-panel { display: block; }
}

/* green dot for phone availability */
.green-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 3px rgba(34,197,94,.18);
  display: inline-block;
}

/* ====== INNER-PAGE HERO ====== */
.inner-hero {
  position: relative;
  overflow: hidden;
  color: var(--ivory);
  isolation: isolate;
  background:
    radial-gradient(800px 400px at 20% 50%, rgba(200,161,75,0.08), transparent 70%),
    radial-gradient(900px 500px at 80% 30%, rgba(22,54,90,0.5), transparent 65%),
    linear-gradient(180deg, #0A2240 0%, #0E2A47 50%, #081A2E 100%);
}
.inner-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 80px 24px 72px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: center;
  min-height: 340px;
}
.inner-hero-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.inner-hero-text h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ivory);
  margin-top: 16px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.inner-hero-text .subtitle {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
  color: rgba(246,241,230,.72);
  margin-top: 16px;
  max-width: 560px;
}
.inner-hero-accent {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  margin-top: 24px;
  border: none;
}
.inner-hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
}
.inner-hero-media img {
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.35));
}
/* Hero background texture image (behind navy overlay) */
.inner-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  filter: saturate(0.7);
  pointer-events: none;
}

/* Hero media: practice area icons */
.hero-media-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 160px;
  height: 160px;
}
.hero-media-icon::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(200,161,75,0.2) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero-media-icon img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: brightness(0) saturate(100%) invert(72%) sepia(30%) saturate(600%) hue-rotate(5deg) brightness(98%) contrast(90%) drop-shadow(0 0 24px rgba(200,161,75,0.4));
}
.hero-media-icon svg {
  width: 110px;
  height: 110px;
  position: relative;
  z-index: 1;
  stroke: var(--gold);
  filter: drop-shadow(0 0 18px rgba(200,161,75,0.35));
}

/* Hero media: photo (areas served, contact) */
.hero-media-photo {
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 20px 50px -16px rgba(0,0,0,.45);
  filter: saturate(0.85) contrast(1.05) brightness(0.92);
}

/* Hero media: case results large amount */
.hero-media-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: clamp(48px, 8vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  background: linear-gradient(135deg, var(--ivory) 0%, var(--gold-soft) 25%, var(--gold) 45%, var(--ivory) 65%, var(--gold-soft) 85%, var(--gold) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 40px rgba(200,161,75,0.3));
  animation: shimmer 6s ease-in-out infinite;
}
.hero-media-dollar {
  font-weight: 400;
}
.hero-media-plus {
  font-size: 0.65em;
  margin-left: 2px;
}

/* Content banner (full-width image between sections) */
.content-banner {
  margin: 0;
  padding: 0;
}
.content-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 32px 0;
}

/* Clean bottom edge */
.inner-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--gold) 30%, var(--gold) 70%, transparent 95%);
  opacity: 0.4;
  z-index: 3;
}

@media (max-width: 900px) {
  .inner-hero-content {
    grid-template-columns: 1fr;
    padding: 64px 20px 56px;
    min-height: auto;
  }
  .inner-hero-media {
    display: none;
  }
}
@media (max-width: 540px) {
  .inner-hero-content {
    padding: 56px 16px 48px;
  }
}

/* ====== BREADCRUMB ====== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.breadcrumb a {
  color: var(--gold-soft);
  opacity: 0.7;
  transition: opacity .2s ease;
}
.breadcrumb a:hover {
  opacity: 1;
}
.breadcrumb .sep {
  opacity: 0.4;
  font-size: 10px;
}
.breadcrumb .current {
  opacity: 1;
  font-weight: 500;
  color: var(--gold);
}

/* ====== CONTENT SECTION CLASSES ====== */

/* Collapse gap between hero and next section */
.inner-hero + .content-section,
.inner-hero + section,
.inner-hero + main {
  margin-top: 0;
}
.inner-hero + .content-wrap,
.inner-hero + main > .content-wrap:first-child {
  margin-top: -1px;
}

/* Standard section with padding */
.content-section {
  padding: 72px 0;
  position: relative;
}
.content-section:nth-child(even) {
  background: var(--bone);
}
.content-section .section-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Long-form text with proper typography */
.content-prose {
  max-width: 72ch;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink);
}
.content-prose h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 500;
  color: var(--navy-deep);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 24px;
}
.content-prose h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--navy-deep);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-top: 48px;
  margin-bottom: 20px;
}
.content-prose h2:first-child { margin-top: 0; }
.content-prose h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(22px, 2.5vw, 30px);
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: 40px;
  margin-bottom: 16px;
}
.content-prose h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--navy);
  margin-top: 32px;
  margin-bottom: 12px;
}
.content-prose p {
  margin-bottom: 20px;
  color: var(--ink);
}
.content-prose p + p {
  margin-top: 0;
}
.content-prose strong {
  color: var(--navy-deep);
  font-weight: 600;
}
.content-prose em {
  font-style: italic;
}
.content-prose a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(200,161,75,0.4);
  transition: color .2s ease, text-decoration-color .2s ease;
}
.content-prose a:hover {
  color: var(--navy);
  text-decoration-color: var(--navy);
}
.content-prose ul, .content-prose ol {
  margin: 20px 0;
  padding-left: 24px;
}
.content-prose ul { list-style: none; padding-left: 0; }
.content-prose ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
}
.content-prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 2px;
  background: var(--gold);
}
.content-prose ol li {
  margin-bottom: 12px;
}
.content-prose blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 3px solid var(--gold);
  background: var(--bone);
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  color: var(--navy-deep);
}
.content-prose img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  margin: 32px 0;
}
.content-prose hr {
  border: none;
  height: 1px;
  background: rgba(14,42,71,.14);
  margin: 48px 0;
}

/* 2-column layout with sidebar */
.content-sidebar {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}
.content-sidebar .sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.content-sidebar .sidebar-card {
  background: var(--bone);
  border: 1px solid rgba(14,42,71,.10);
  border-radius: 2px;
  padding: 28px 24px;
}
.content-sidebar .sidebar-card h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  color: var(--navy-deep);
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}
.content-sidebar .sidebar-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--slate);
}
.content-sidebar .sidebar-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold-deep);
  transition: color .2s ease, gap .2s ease;
}
.content-sidebar .sidebar-card a:hover { color: var(--gold); gap: 10px; }
@media (max-width: 1000px) {
  .content-sidebar {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Card grid layouts */
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 1000px) { .content-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .content-grid { grid-template-columns: 1fr; } }

/* CTA banner strip */
.cta-banner {
  background: var(--navy-deep);
  color: var(--ivory);
  padding: 56px 24px;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--gold);
  z-index: 10;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 30% 50%, rgba(200,161,75,0.10), transparent 60%),
    radial-gradient(500px 300px at 80% 50%, rgba(22,54,90,0.4), transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 2; }
/* Global fix: ensure NO ::before overlay blocks clicks on ANY section */
.cta-banner::before, .inline-cta::before, .sidebar-cta::before,
.practice-section::before, .staff-photo::before { pointer-events: none !important; }
.cta-banner a, .cta-banner button, .cta-banner .btn,
.inline-cta a, .inline-cta button, .inline-cta .btn,
.sidebar-cta a, .sidebar-cta .btn { position: relative; z-index: 3; }
.cta-banner-inner {
  position: relative; z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner-text h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--ivory);
  letter-spacing: -0.02em;
}
.cta-banner-text p {
  margin-top: 8px;
  font-size: 15px;
  color: rgba(246,241,230,.7);
  max-width: 480px;
}
.cta-banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .cta-banner-inner { flex-direction: column; text-align: center; align-items: center; }
  .cta-banner-text p { max-width: 100%; }
}

/* ====== RESPONSIVE FIXES -- all breakpoints ====== */

/* Top bar: center and hide left text on small screens */
@media (max-width: 600px) {
  .topbar .flex.items-center.justify-between { justify-content: center; }
  .topbar .flex.items-center.gap-3 { display: none; }
}

/* Header: smaller CTA button at 320-400px */
@media (max-width: 400px) {
  .site-header .btn-navy { padding: 10px 14px; font-size: 13px; }
}

/* Hamburger: 44px min touch target */
#mobileToggle { min-width: 44px; min-height: 44px; }

/* Hero eyebrow: scale down on mobile */
@media (max-width: 540px) {
  .hero-eyebrow { font-size: 16px !important; letter-spacing: .12em !important; }
  .hero-eyebrow::before, .hero-eyebrow::after { width: 20px !important; }
}

/* Hero proofs: stack to 1-col on very small screens */
@media (max-width: 420px) {
  .hero-proofs { grid-template-columns: 1fr !important; gap: 20px !important; }
  .hero-proof + .hero-proof::before {
    width: 44px !important; height: 1px !important;
    left: 50% !important; top: 0 !important;
    transform: translateX(-50%) !important;
  }
}

/* Hero attribution chip: fit on 320px screens */
@media (max-width: 375px) {
  .hero-attribution { padding: 12px 16px !important; gap: 12px !important; max-width: 100% !important; }
  .hero-attribution img { width: 44px !important; height: 44px !important; }
  .hero-attribution-quote { font-size: 12.5px !important; }
}

/* Hero CTA buttons: full-width on small mobile */
@media (max-width: 375px) {
  .hero-ctas { flex-direction: column !important; }
  .hero-ctas .btn { width: 100% !important; justify-content: center !important; padding: 14px 16px !important; font-size: 12px !important; }
}

/* Trust badges: tighter on very small screens */
@media (max-width: 400px) {
  .trust-grid { gap: 18px 20px !important; }
  .trust-grid img { height: 48px !important; }
}

/* Filter pills: 44px min touch target */
.filter-pill { min-height: 44px; display: inline-flex; align-items: center; }

/* Win cards: auto height on mobile */
@media (max-width: 720px) {
  .win-card { min-height: auto !important; }
}

/* Video play button: smaller on mobile */
@media (max-width: 600px) {
  .video-play { width: 80px !important; height: 80px !important; }
  .video-play svg { width: 24px !important; height: 24px !important; }
  .video-frame { min-height: 350px; }
}

/* Quote cards: readable text on mobile */
@media (max-width: 540px) {
  .quote-card { padding: 24px 20px 22px !important; }
  .quote-card .body { font-size: 16px !important; }
}

/* Area pills: scale down on mobile */
@media (max-width: 540px) {
  .area-pill { padding: 14px 18px !important; font-size: 18px !important; gap: 10px !important; }
  .area-pills { gap: 10px !important; }
}
@media (max-width: 375px) {
  .area-pill { padding: 12px 14px !important; font-size: 16px !important; width: 100% !important; }
}
@media (max-width: 768px) {
  .areas-inner { padding: 64px 20px !important; }
}

/* Process steps: fix border on 1-col */
@media (max-width: 540px) {
  .process-step { border-left: 0 !important; }
}

/* FAQ: larger max-height for answers on mobile */
@media (max-width: 768px) {
  .faq-item.open .faq-a { max-height: 500px !important; }
}

/* Contact form: tighter padding on mobile */
@media (max-width: 540px) {
  .form-card { padding: 32px 20px !important; }
}
@media (max-width: 768px) {
  .contact-inner { padding: 64px 20px !important; }
}

/* Footer links: 44px touch targets on mobile */
@media (max-width: 768px) {
  .foot-link { padding: 10px 0 !important; min-height: 44px; display: flex; align-items: center; }
}

/* Select field: better arrow positioning */
.field select { background-position: right 12px center !important; padding-right: 32px !important; }

/* ====== INNER-PAGE HERO TRUST BADGES ====== */
.inner-hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold-soft);
}
.trust-badge svg {
  stroke: var(--gold);
  flex-shrink: 0;
}
.trust-badge-sep {
  color: rgba(200,161,75,0.35);
  font-size: 14px;
  user-select: none;
}
@media (max-width: 540px) {
  .inner-hero-trust { gap: 8px; }
  .trust-badge { font-size: 11px; }
  .trust-badge-sep { display: none; }
  .inner-hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ====== TWO-COLUMN CONTENT + SIDEBAR LAYOUT ====== */
.content-wrap {
  display: grid !important;
  grid-template-columns: 1fr 340px !important;
  gap: 48px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 48px 24px;
}
.content-main {
  min-width: 0 !important;
  order: 1;
}
.content-sidebar-col {
  min-width: 0 !important;
  max-width: 340px;
  order: 2;
}

/* ====== SIDEBAR CTA CARD (above TOC) ====== */
.sidebar-cta {
  background: var(--navy-deep);
  color: var(--ivory);
  padding: 28px 24px 24px;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 24px;
  border-top: 3px solid var(--gold);
  position: relative;
  overflow: hidden;
}
.sidebar-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(300px 200px at 50% 0%, rgba(200,161,75,0.08), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.sidebar-cta > * { position: relative; z-index: 1; }
.sidebar-cta-avail-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.sidebar-cta-avail-row .green-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 3px rgba(34,197,94,.2);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,.1); }
}
.sidebar-cta-avail {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246,241,230,.65);
  font-weight: 500;
}
.sidebar-cta .phone {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px;
  font-style: italic;
  color: var(--gold-soft);
  margin: 10px 0 18px;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.sidebar-cta .phone:hover {
  color: var(--gold);
}
.sidebar-cta-btn {
  width: 100%;
  justify-content: center;
}
.sidebar-cta .btn.btn-gold {
  width: 100%;
  justify-content: center;
  font-size: 13px;
  padding: 14px 20px;
}
/* Awards badges row */
.sidebar-cta-awards {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(246,241,230,.1);
}
.sidebar-award {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.sidebar-award span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(246,241,230,.5);
  line-height: 1.2;
  text-align: center;
}
.sidebar-award svg {
  opacity: 0.7;
}

/* ====== TABLE OF CONTENTS CARD ====== */
.toc-card {
  background: var(--bone);
  border: 1px solid rgba(14,42,71,.10);
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 24px;
}
.toc-card h4 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  color: var(--navy-deep);
  margin-bottom: 16px;
  padding-bottom: 0;
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toc-icon {
  color: var(--gold-deep);
  flex-shrink: 0;
}
/* Progress track — hidden, scroll progress shown via TOC link highlights instead */
.toc-progress-track {
  display: none;
}
.toc-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.15s ease-out;
}
/* TOC links */
.toc-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--slate);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.25s ease;
  line-height: 1.4;
}
.toc-dash {
  display: none; /* removed — clean TOC without dashes */
}
.toc-nav a:hover {
  color: var(--navy-deep);
  background: rgba(14,42,71,.03);
}
.toc-nav a:hover .toc-dash {
  opacity: 0.7;
}
.toc-nav a.active {
  color: var(--gold-deep);
  border-left-color: var(--gold);
  background: rgba(200,161,75,.06);
  font-weight: 600;
}
.toc-nav a.active .toc-dash {
  background: var(--gold);
  opacity: 1;
  width: 8px;
}

/* ====== MOBILE TOC (accordion) ====== */
.toc-card-mobile {
  display: none; /* hidden above 768px */
  background: var(--bone);
  border: 1px solid rgba(14,42,71,.10);
  border-radius: 6px;
  margin-bottom: 24px;
}
.toc-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Fraunces', serif;
  font-size: 16px;
  color: var(--navy-deep);
}
.toc-mobile-toggle span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.toc-mobile-toggle svg {
  transition: transform 0.2s ease;
}
.toc-mobile-toggle[aria-expanded="true"] svg:last-child {
  transform: rotate(180deg);
}
.toc-mobile-nav {
  display: none;
  padding: 0 20px 16px;
}
.toc-mobile-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--slate);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.25s ease;
  line-height: 1.4;
}
.toc-mobile-nav a:hover {
  color: var(--navy-deep);
  background: rgba(14,42,71,.03);
}
.toc-mobile-nav a.active {
  color: var(--gold-deep);
  border-left-color: var(--gold);
  background: rgba(200,161,75,.06);
  font-weight: 600;
}

/* ====== SIDEBAR "NEED HELP?" CARD ====== */
.sidebar-help {
  background: var(--bone);
  border: 1px solid rgba(14,42,71,.10);
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-help h4 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  color: var(--navy-deep);
  margin-bottom: 10px;
}
.sidebar-help p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 16px;
}
.btn.btn-outline-navy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-deep);
  border: 2px solid var(--navy-deep);
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.25s ease;
  width: 100%;
  justify-content: center;
}
.btn.btn-outline-navy:hover {
  background: var(--navy-deep);
  color: var(--ivory);
}
.btn.btn-outline-navy .arrow {
  transition: transform 0.25s ease;
}
.btn.btn-outline-navy:hover .arrow {
  transform: translateX(3px);
}

/* ====== SIDEBAR PRACTICE AREAS ====== */
.sidebar-pa {
  background: var(--bone);
  border: 1px solid rgba(14,42,71,.10);
  border-radius: 6px;
  padding: 24px;
}
.sidebar-pa h4 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  color: var(--navy-deep);
  margin-bottom: 16px;
  padding-bottom: 0;
  border-bottom: none;
}
.sidebar-pa-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.25s ease;
  line-height: 1.4;
}
.sidebar-pa-label {
  flex: 1;
}
.sidebar-pa-arrow {
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.25s ease;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--gold);
}
.sidebar-pa-link:hover {
  color: var(--gold-deep);
  background: rgba(14,42,71,.03);
  border-left-color: rgba(200,161,75,.3);
}
.sidebar-pa-link:hover .sidebar-pa-arrow {
  opacity: 1;
  transform: translateX(0);
}
.sidebar-pa-link.active {
  color: var(--gold-deep);
  border-left-color: var(--gold);
  background: rgba(200,161,75,.06);
  font-weight: 700;
}
.sidebar-pa-link.active .sidebar-pa-arrow {
  opacity: 0.6;
  transform: translateX(0);
}

/* Parent row: link + toggle side by side */
.sidebar-pa-row {
  display: flex;
  align-items: stretch;
}
.sidebar-pa-row .sidebar-pa-link {
  flex: 1;
  min-width: 0;
}

/* Toggle button for expand/collapse */
.sidebar-pa-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  background: none;
  border: none;
  border-left: 1px solid rgba(14,42,71,.06);
  cursor: pointer;
  padding: 0;
  color: var(--slate);
  transition: background 0.2s ease, color 0.2s ease;
}
.sidebar-pa-toggle:hover {
  background: rgba(200,161,75,.08);
  color: var(--gold-deep);
}

/* Chevron */
.sidebar-pa-chevron {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  transition: transform 0.25s ease;
}
.sidebar-pa-chevron.open {
  transform: rotate(180deg);
}

/* Children container */
.sidebar-pa-children {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.sidebar-pa-children.expanded {
  max-height: 1200px;
}

/* Child links */
.sidebar-pa-child {
  padding: 6px 12px 6px 24px;
  font-size: 13px;
  border-left: 3px solid rgba(14,42,71,.06);
  margin-left: 12px;
}
.sidebar-pa-child:hover {
  border-left-color: rgba(200,161,75,.3);
}
.sidebar-pa-child.active {
  color: var(--gold-deep);
  border-left-color: var(--gold);
  background: rgba(200,161,75,.06);
  font-weight: 700;
}

/* ====== SIDEBAR LAYOUT ====== */
/*
  Sticky CTA approach: the aside stretches to full article height via CSS grid.
  The CTA inside uses position:sticky to lock to the viewport as user scrolls.
  CRITICAL: overflow must NOT be hidden on any ancestor for sticky to work.
*/
.content-sidebar-col {
  position: relative !important;
  overflow: visible !important; /* sticky breaks with overflow:hidden */
  align-self: start; /* don't stretch — let the aside be as tall as content column */
}

/* Override: make the grid stretch the aside to match article height */
.content-wrap {
  align-items: stretch !important;
}
.content-sidebar-col {
  align-self: stretch !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Scrollable part flows normally, takes only the space it needs */
.sidebar-scrollable {
  flex: 0 0 auto;
}

/* CTA sticks to viewport top as the user scrolls past it */
.sidebar-cta-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 80px;
  z-index: 10;
  flex: 0 0 auto;
  margin-top: 24px;
}

/* Legacy sticky class — used on templates that haven't switched to the new layout */
.sidebar-sticky {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 4px;
}

@media (max-width: 1024px) {
  .sidebar-cta-sticky {
    position: static !important;
    margin-top: 24px;
  }
  .content-sidebar-col {
    display: block !important;
    overflow: visible !important;
  }
}
/* Custom scrollbar for sidebar */
.sidebar-sticky::-webkit-scrollbar {
  width: 4px;
}
.sidebar-sticky::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar-sticky::-webkit-scrollbar-thumb {
  background: rgba(14,42,71,.12);
  border-radius: 4px;
}
.sidebar-sticky::-webkit-scrollbar-thumb:hover {
  background: rgba(14,42,71,.25);
}
/* Firefox scrollbar */
.sidebar-sticky {
  scrollbar-width: thin;
  scrollbar-color: rgba(14,42,71,.12) transparent;
}

/* ====== INLINE CTA (mid-content) ====== */
.inline-cta {
  background: var(--navy-deep);
  color: var(--ivory);
  padding: 40px 32px;
  border-radius: 4px;
  margin: 48px 0 32px;
  position: relative;
  overflow: hidden;
  border-left: 3px solid var(--gold);
}
.inline-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(400px 200px at 30% 50%, rgba(200,161,75,0.08), transparent 60%),
    radial-gradient(350px 200px at 80% 50%, rgba(22,54,90,0.3), transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.inline-cta > *, .inline-cta a, .inline-cta .btn { position: relative; z-index: 2; }
.inline-cta-inner {
  position: relative;
  z-index: 2;
}
.inline-cta h3, .inline-cta-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(22px, 2.5vw, 30px);
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.inline-cta p, .inline-cta-desc {
  font-size: 16px;
  color: rgba(246,241,230,.85);
  margin-bottom: 20px;
  line-height: 1.5;
}
.inline-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ====== PRACTICE AREA FEATURED IMAGE ====== */
.pa-featured-img {
  margin: 0 0 32px;
  border-radius: 4px;
  overflow: hidden;
}
.pa-featured-img img.pa-hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  aspect-ratio: 16/7;
  object-fit: cover;
}

/* ====== PRACTICE AREAS GRID (end of article) ====== */
.pa-grid-section {
  margin-top: 48px;
  padding: 40px 32px;
  background: var(--navy-deep);
  border-radius: 6px;
  color: var(--ivory);
}
.pa-grid-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px;
  color: var(--ivory);
  text-align: center;
  margin-bottom: 4px;
}
.pa-grid-subtitle {
  font-size: 14px;
  color: var(--gold-soft);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 28px;
}
.pa-grid-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 600px) { .pa-grid-cards { grid-template-columns: 1fr; } }
.pa-grid-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px;
  color: var(--ivory);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s, border-color .2s;
}
.pa-grid-card:hover { background: rgba(200,161,75,.12); border-color: rgba(200,161,75,.3); }
.pa-grid-card svg { color: var(--gold-soft); opacity: 0.5; transition: opacity .2s; }
.pa-grid-card:hover svg { opacity: 1; }
.pa-grid-card--active { background: rgba(200,161,75,.15); border-color: var(--gold); }
.pa-grid-card--active .pa-grid-label { color: var(--gold-soft); }

/* Sidebar CTA injected mid-content — reset prose link/color overrides */
.content-prose .sidebar-cta {
  margin: 36px 0;
  color: var(--ivory) !important;
}
.content-prose .sidebar-cta .sidebar-cta-avail { color: rgba(246,241,230,.65) !important; }
.content-prose .sidebar-cta .phone { color: var(--gold-soft) !important; }
.content-prose .sidebar-cta .btn { color: var(--navy-deep) !important; }

/* ====== CONTENT-WRAP RESPONSIVE ====== */
@media (max-width: 1024px) {
  .content-wrap {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .sidebar-sticky {
    position: static;
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }
  .content-sidebar-col {
    order: 2;
  }
  .sidebar-cta-sticky {
    position: static !important;
  }
}
@media (max-width: 768px) {
  .content-wrap {
    padding: 32px 16px;
  }
  /* Show mobile TOC, hide desktop TOC */
  .toc-card {
    display: none;
  }
  .toc-card-mobile {
    display: block;
  }
  /* Inline CTA responsive */
  .inline-cta {
    padding: 28px 20px;
  }
  /* CTA card responsive */
  .sidebar-cta .phone {
    font-size: 24px;
  }
  .sidebar-cta-awards {
    gap: 14px;
  }
}
@media (min-width: 769px) {
  .toc-card-mobile {
    display: none !important;
  }
}

/* ====== PRINT: hide new sidebar elements ====== */
@media print {
  .content-sidebar-col, .toc-card, .toc-card-mobile, .sidebar-cta, .sidebar-pa, .sidebar-help, .inline-cta { display: none !important; }
  .content-wrap { grid-template-columns: 1fr !important; }
}

/* ====== PRACTICE AREAS ARCHIVE ====== */
.pa-archive-section { padding: 56px 0 72px; background: var(--ivory); }
.pa-archive-intro {
  max-width: 72ch;
  font-size: 17px; line-height: 1.7;
  color: var(--slate);
  margin-bottom: 40px;
}

.pa-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) { .pa-archive-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pa-archive-grid { grid-template-columns: 1fr; } }

.pa-archive-card {
  background: #fff;
  border: 1px solid rgba(14,42,71,.08);
  border-radius: 6px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.pa-archive-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
}
.pa-archive-card:hover {
  box-shadow: 0 16px 40px -16px rgba(14,42,71,.18);
  border-color: rgba(200,161,75,.3);
}
.pa-archive-card:hover::before { transform: scaleY(1); }

/* Main clickable link area */
.pa-archive-link {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.pa-archive-link:hover { transform: translateY(-2px); }
.pa-archive-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
  border-radius: 4px;
}

.pa-archive-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(14,42,71,.06);
  border-radius: 10px;
  transition: background 0.3s ease;
}
.pa-archive-card:hover .pa-archive-icon { background: rgba(200,161,75,.1); }
.pa-archive-icon img {
  width: 36px; height: 36px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(15%) sepia(22%) saturate(1900%) hue-rotate(180deg) brightness(95%) contrast(95%);
  transition: filter 0.3s ease;
}
.pa-archive-card:hover .pa-archive-icon img {
  filter: brightness(0) saturate(100%) invert(60%) sepia(40%) saturate(700%) hue-rotate(5deg) brightness(95%) contrast(90%);
}
.pa-archive-icon svg {
  stroke: var(--navy);
  transition: stroke 0.3s ease;
}
.pa-archive-card:hover .pa-archive-icon svg { stroke: var(--gold); }

.pa-archive-card-body { flex: 1; min-width: 0; }

.pa-archive-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px; font-weight: 500;
  color: var(--navy-deep);
  line-height: 1.25;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}
.pa-archive-card:hover .pa-archive-title { color: var(--gold-deep); }

.pa-archive-subtitle {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gold-deep);
  margin-bottom: 8px;
}

.pa-archive-excerpt {
  font-size: 14px; line-height: 1.5;
  color: var(--slate);
  margin-bottom: 8px;
}

/* Sub-topics expandable section */
.pa-subtopics-wrap {
  border-top: 1px solid rgba(14,42,71,.06);
}

.pa-subtopics-toggle {
  display: flex; align-items: center; gap: 8px;
  width: 100%;
  padding: 14px 28px;
  border: none; background: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--gold-deep);
  transition: background 0.2s ease, color 0.2s ease;
}
.pa-subtopics-toggle:hover {
  background: rgba(200,161,75,.06);
  color: var(--navy-deep);
}
.pa-subtopics-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}
.pa-subtopics-icon { opacity: 0.6; }
.pa-subtopics-chevron {
  margin-left: auto;
  transition: transform 0.3s ease;
}
.pa-archive-card.subs-open .pa-subtopics-chevron { transform: rotate(180deg); }

.pa-subtopics-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.2,.7,.2,1), padding 0.3s ease;
  padding: 0 28px;
  background: rgba(14,42,71,.02);
}
.pa-archive-card.subs-open .pa-subtopics-list {
  max-height: 600px;
  padding: 8px 28px 20px;
}

.pa-subtopic-link {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--navy-deep);
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.2s ease;
}
.pa-subtopic-link:hover {
  background: rgba(200,161,75,.08);
  color: var(--gold-deep);
  padding-left: 18px;
}
.pa-subtopic-link svg {
  opacity: 0.4;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}
.pa-subtopic-link:hover svg { opacity: 1; color: var(--gold); }

.pa-subtopic-viewall {
  display: flex; align-items: center; gap: 6px;
  margin-top: 8px;
  padding: 10px 12px;
  font-size: 13px; font-weight: 600;
  color: var(--gold-deep);
  text-decoration: none;
  border-top: 1px solid rgba(14,42,71,.08);
  transition: color 0.2s ease, gap 0.2s ease;
}
.pa-subtopic-viewall:hover { color: var(--navy); gap: 10px; }

.pa-archive-arrow {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(14,42,71,.12);
  color: var(--navy);
  transition: all 0.3s ease;
  align-self: center;
}
.pa-archive-card:hover .pa-archive-arrow {
  background: var(--navy);
  color: var(--gold-soft);
  border-color: var(--navy);
  transform: translateX(4px);
}

/* ====== ATTORNEY SINGLE PAGE ====== */
.attorney-hero-photo {
  border-radius: 8px;
  max-width: 280px;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  border: 3px solid var(--gold);
}
.sidebar-attorney-avatar {
  width: 80px; height: 80px;
  border-radius: 50%; overflow: hidden;
  margin: 0 auto 12px;
  border: 2px solid var(--gold);
}
.sidebar-attorney-avatar img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.sidebar-attorney-name {
  font-family: 'Fraunces', serif;
  font-size: 16px; color: var(--ivory);
  text-align: center; margin-bottom: 4px;
}
.sidebar-attorney-role {
  font-size: 11px; color: var(--gold-soft);
  text-transform: uppercase; letter-spacing: .1em;
  text-align: center; margin-bottom: 16px;
}
/* Credentials card items */
.cred-section {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(14,42,71,.08);
}
.cred-section-last { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.cred-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--gold-deep);
  margin-bottom: 6px;
}
.cred-item {
  font-size: 14px; color: var(--ink);
  line-height: 1.5; margin-bottom: 3px;
  padding-left: 14px; position: relative;
}
.cred-item::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
}
/* Sidebar — min-width:0 prevents grid blowout. NO overflow:hidden (breaks sticky) */
.content-sidebar-col { min-width: 0; overflow: visible !important; }
.sidebar-sticky { min-width: 0; }

/* Team section (full-width below content-wrap) */
.team-section {
  padding: 56px 24px 64px; background: var(--bone);
  border-top: 2px solid var(--gold);
}
.team-section-inner {
  max-width: 1320px; margin: 0 auto; text-align: center;
}
.team-section-kicker {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--gold-deep); margin-bottom: 8px;
}
.team-section-heading {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--navy-deep); margin-bottom: 36px;
}
.team-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px; max-width: 900px; margin: 0 auto;
}
.team-mate-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.team-mate-initial {
  width: 100%; height: 100%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-family: 'Fraunces', Georgia, serif; font-size: 24px;
}
@media (max-width: 640px) {
  .team-section-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .attorney-hero-photo { max-width: 200px; }
}

/* ====== ATTORNEY TEAM CARDS ====== */
.team-mate-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; text-decoration: none;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid rgba(14,42,71,.08);
  border-radius: 8px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.team-mate-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -12px rgba(14,42,71,.18);
  border-color: rgba(200,161,75,.3);
}
.team-mate-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.team-mate-photo {
  width: 90px; height: 110px;
  overflow: hidden; border-radius: 6px;
  border: 2px solid var(--gold);
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.team-mate-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 15px; font-weight: 500;
  color: var(--navy-deep);
  margin: 0 0 4px;
  line-height: 1.3;
}
.team-mate-card:hover .team-mate-name { color: var(--gold-deep); }
.team-mate-title {
  font-size: 11px; font-weight: 600;
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0;
  line-height: 1.4;
}

/* ====== BLOG INDEX ====== */
.blog-filter-bar {
  background: var(--bone);
  border-bottom: 1px solid rgba(14,42,71,.10);
  padding: 16px 0;
}
.blog-filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
}
.blog-filter-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(14,42,71,.18);
  font-size: 13px; font-weight: 500;
  color: var(--navy-deep);
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 40px;
}
.blog-filter-pill:hover { border-color: var(--gold); color: var(--gold-deep); }
.blog-filter-pill.active { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.blog-filter-count {
  font-size: 11px; color: var(--slate); opacity: 0.7;
}
.blog-filter-pill.active .blog-filter-count { color: var(--gold-soft); opacity: 1; }

.blog-section { padding: 48px 0 64px; background: var(--ivory); }

/* Two-column blog layout: cards + sidebar */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: stretch;
}
@media (max-width: 1024px) {
  .blog-layout { grid-template-columns: 1fr; gap: 40px; align-items: start; }
}
.blog-layout-main { min-width: 0; }
.blog-sidebar { min-width: 0; overflow: visible !important; position: relative; }
.blog-sidebar-sticky {
  position: sticky;
  top: 90px;
}
@media (max-width: 1024px) {
  .blog-sidebar-sticky { position: static; }
}

/* Sidebar form card */
.sidebar-form-card {
  background: var(--bone);
  border: 1px solid rgba(14,42,71,.10);
  border-radius: 6px;
  padding: 28px 24px;
  margin-bottom: 28px;
}
.sidebar-form-card h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 26px;
  color: var(--navy-deep);
  margin-bottom: 10px;
}
.sidebar-form-card .gform_wrapper {
  margin: 0 !important;
  padding: 0 !important;
  --gf-ctrl-color: #0B1A2C !important;
  --gf-ctrl-color-hover: #0B1A2C !important;
  --gf-ctrl-color-focus: #0B1A2C !important;
  --gf-ctrl-placeholder-color: rgba(11,26,44,0.5) !important;
  --gf-ctrl-bg-color: rgba(14,42,71,0.04) !important;
  --gf-ctrl-border-color: rgba(14,42,71,0.18) !important;
  --gf-ctrl-border-color-focus: #C8A14B !important;
  --gf-ctrl-outline-color-focus: rgba(200,161,75,0.12) !important;
  --gf-color-in-ctrl-contrast: #0B1A2C !important;
}
.sidebar-form-card .gform_wrapper .gfield {
  margin-bottom: 12px !important;
}
.sidebar-form-card .gform_wrapper .ginput_container input,
.sidebar-form-card .gform_wrapper .ginput_container select,
.sidebar-form-card .gform_wrapper .ginput_container textarea {
  padding: 10px 12px !important;
  font-size: 14px !important;
}
.sidebar-form-card .gform_wrapper .ginput_container textarea {
  min-height: 70px !important;
}
.sidebar-form-card .gform_wrapper .gform_button,
.sidebar-form-card .gform_wrapper input[type="submit"] {
  width: 100% !important;
}

/* Default 3-col grid (used elsewhere) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
/* 2-col grid for blog archive with sidebar */
.blog-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 700px) { .blog-grid, .blog-grid--2col { grid-template-columns: 1fr; } }

.blog-card {
  background: #fff;
  border: 1px solid rgba(14,42,71,.08);
  border-radius: 6px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -16px rgba(14,42,71,.18);
}

.blog-card-thumb {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bone);
}
.blog-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-thumb img { transform: scale(1.04); }
.blog-card-thumb-fallback {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bone), var(--ivory-2));
}

.blog-card-body {
  padding: 24px;
  display: flex; flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
  font-size: 12px;
}
.blog-card-cat {
  background: rgba(200,161,75,.12);
  color: var(--gold-deep);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 10px;
  text-decoration: none;
}
.blog-card-cat:hover { background: rgba(200,161,75,.2); }
.blog-card-date { color: var(--slate); }

.blog-card-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(24px, 2.5vw, 28px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
  margin-bottom: 12px;
}
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a:hover { color: var(--gold-deep); }

.blog-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
  flex: 1;
  margin-bottom: 16px;
}

.blog-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  text-decoration: none;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(14,42,71,.08);
  transition: color 0.2s ease, gap 0.2s ease;
}
.blog-card-link:hover { color: var(--navy); gap: 10px; }

.blog-pagination { padding: 48px 0 16px; text-align: center; }
.blog-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.blog-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: 4px; border: 1px solid rgba(14,42,71,.18);
  font-size: 14px; color: var(--navy-deep);
  text-decoration: none;
  transition: all 0.2s ease;
}
.blog-pagination .page-numbers:hover { border-color: var(--gold); color: var(--gold-deep); }
.blog-pagination .page-numbers.current { background: var(--navy); color: var(--ivory); border-color: var(--navy); }

/* ====== SINGLE BLOG POST ====== */
.blog-single-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 14px; color: rgba(246,241,230,.7);
  margin-top: 12px;
}
.blog-single-meta .sep-dot { color: var(--gold); }
.blog-single-cat {
  color: var(--gold-soft); text-decoration: none;
  font-weight: 500;
}
.blog-single-cat:hover { color: var(--gold); }

.blog-single-featured {
  margin: 0 0 32px;
  border-radius: 6px;
  overflow: hidden;
}
.blog-single-img {
  width: 100%; height: auto;
  display: block;
  border-radius: 6px;
}

.blog-single-author {
  display: flex; align-items: center; gap: 20px;
  padding: 28px;
  background: var(--bone);
  border: 1px solid rgba(14,42,71,.08);
  border-radius: 6px;
  margin: 40px 0;
}
.blog-author-name {
  font-family: 'Fraunces', serif; font-size: 16px; font-weight: 600;
  color: var(--navy-deep); margin-bottom: 4px;
}
.blog-author-desc { font-size: 13px; color: var(--slate); line-height: 1.5; }

.blog-single-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin: 40px 0;
}
@media (max-width: 640px) { .blog-single-nav { grid-template-columns: 1fr; } }
.blog-nav-link {
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px;
  background: var(--bone);
  border: 1px solid rgba(14,42,71,.08);
  border-radius: 6px;
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.blog-nav-link:hover { border-color: var(--gold); }
.blog-nav-next { text-align: right; }
.blog-nav-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gold-deep);
}
.blog-nav-next .blog-nav-label { justify-content: flex-end; }
.blog-nav-title {
  font-family: 'Fraunces', serif; font-size: 16px;
  color: var(--navy-deep); line-height: 1.3;
}

/* Sidebar related articles */
.sidebar-related {
  background: var(--bone);
  border: 1px solid rgba(14,42,71,.10);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-related h4 {
  font-family: 'Fraunces', serif; font-size: 20px;
  color: var(--navy-deep); margin-bottom: 16px;
  padding-bottom: 0; border-bottom: none;
}
.sidebar-related-link {
  display: block; padding: 10px 0;
  border-bottom: 1px solid rgba(14,42,71,.06);
  text-decoration: none;
  transition: background 0.2s ease;
}
.sidebar-related-link:last-child { border-bottom: 0; }
.sidebar-related-link:hover { background: rgba(14,42,71,.02); }
.sidebar-related-title {
  display: block; font-size: 14px; font-weight: 500;
  color: var(--navy-deep); line-height: 1.35;
  margin-bottom: 4px;
}
.sidebar-related-date { font-size: 12px; color: var(--slate); }

/* ====== WORDPRESS SPECIFIC ====== */
.wp-block-image img { max-width: 100%; height: auto; }
.alignleft { float: left; margin: 0 24px 24px 0; }
.alignright { float: right; margin: 0 0 24px 24px; }
.aligncenter { display: block; margin: 24px auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--slate); margin-top: 8px; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); height: 1px; overflow: hidden; position: absolute; width: 1px; }

/* ====== GRAVITY FORMS STYLING ====== */
/* Match Gravity Forms inputs/labels to the existing navy/gold/bone design */

.form-card .gform_wrapper {
  margin: 0;
  padding: 0;
  /* Override Gravity Forms 2.10 framework CSS variables */
  --gf-ctrl-color: #0B1A2C !important;
  --gf-ctrl-color-hover: #0B1A2C !important;
  --gf-ctrl-color-focus: #0B1A2C !important;
  --gf-ctrl-placeholder-color: rgba(11,26,44,0.5) !important;
  --gf-ctrl-bg-color: rgba(14,42,71,0.04) !important;
  --gf-ctrl-border-color: rgba(14,42,71,0.18) !important;
  --gf-ctrl-border-color-focus: #C8A14B !important;
  --gf-ctrl-outline-color-focus: rgba(200,161,75,0.12) !important;
  --gf-color-in-ctrl-contrast: #0B1A2C !important;
}
.form-card .gform_wrapper .gform_body {
  margin: 0;
}

/* Labels */
.gform_wrapper .gfield_label,
.gform_wrapper .gfield .gfield_label,
.gform_wrapper .ginput_complex label,
.gform_wrapper .gfield_consent_label {
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: 11px !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
  margin-bottom: 6px !important;
}

/* Sub-labels (First Name / Last Name under Name field) */
.gform_wrapper .ginput_complex label,
.gform_wrapper .name_first label,
.gform_wrapper .name_last label {
  font-size: 10px !important;
  letter-spacing: .12em !important;
  margin-top: 4px !important;
  color: var(--slate) !important;
}

/* Inputs, selects, textareas */
.gform_wrapper .ginput_container input[type="text"],
.gform_wrapper .ginput_container input[type="email"],
.gform_wrapper .ginput_container input[type="tel"],
.gform_wrapper .ginput_container input[type="url"],
.gform_wrapper .ginput_container input[type="number"],
.gform_wrapper .ginput_container select,
.gform_wrapper .ginput_container textarea {
  background: rgba(14,42,71,0.04) !important;
  border: 1px solid rgba(14,42,71,.18) !important;
  border-radius: 2px !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  color: var(--ink) !important;
  font-family: 'Inter', sans-serif !important;
  transition: border-color .22s ease, background .22s ease, box-shadow .22s ease !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Focus state — gold highlight */
.gform_wrapper .ginput_container input:focus,
.gform_wrapper .ginput_container select:focus,
.gform_wrapper .ginput_container textarea:focus {
  outline: none !important;
  border-color: var(--gold) !important;
  background: rgba(200,161,75,0.04) !important;
  box-shadow: 0 0 0 3px rgba(200,161,75,0.12) !important;
}

/* Textarea */
.gform_wrapper .ginput_container textarea {
  resize: vertical !important;
  min-height: 90px !important;
}

/* Select dropdown appearance — force text visibility over GF 2.10 framework */
.gform_wrapper .ginput_container select,
.gform_wrapper select.gfield_select,
.gform-theme--framework select.gfield_select,
.form-card select#input_1_4 {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%230E2A47' stroke-width='1.5' fill='none'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  padding-right: 32px !important;
  color: #0B1A2C !important;
  -webkit-text-fill-color: #0B1A2C !important;
  --gf-local-color: #0B1A2C !important;
  --gf-ctrl-color: #0B1A2C !important;
  opacity: 1 !important;
  font-size: 15px !important;
  line-height: normal !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  height: auto !important;
  block-size: auto !important;
}
.gform_wrapper select.gfield_select option,
.gform-theme--framework select.gfield_select option {
  color: #0B1A2C !important;
  -webkit-text-fill-color: #0B1A2C !important;
}
.gform_wrapper select.gfield_select option.gf_placeholder,
.gform-theme--framework select.gfield_select option.gf_placeholder {
  color: #6B7A8D !important;
  -webkit-text-fill-color: #6B7A8D !important;
}

/* Consent / checkbox field */
.gform_wrapper .gfield_consent_description {
  display: none !important;
}
.gform_wrapper .ginput_container_consent {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin: 22px 0 28px !important;
  font-size: 13px !important;
  color: var(--slate) !important;
  line-height: 1.5 !important;
}
.gform_wrapper .ginput_container_consent input[type="checkbox"] {
  margin-top: 3px !important;
  accent-color: var(--gold) !important;
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
}
.gform_wrapper .gfield_consent_label {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  font-weight: 400 !important;
  color: var(--slate) !important;
}

/* Submit button */
.gform_wrapper .gform_footer,
.gform_wrapper .gform_page_footer {
  margin: 0 !important;
  padding: 0 !important;
}
.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  border: none !important;
  border-radius: 2px !important;
  padding: 18px 24px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background .22s ease, transform .22s ease, box-shadow .22s ease !important;
  box-shadow: 0 8px 24px -8px rgba(200,161,75,0.5) !important;
}
.gform_wrapper .gform_button:hover,
.gform_wrapper input[type="submit"]:hover {
  background: var(--gold-soft) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 18px 36px -16px rgba(200,161,75,.55) !important;
}

/* Validation — error styling */
.gform_wrapper .gfield_error .ginput_container input,
.gform_wrapper .gfield_error .ginput_container select,
.gform_wrapper .gfield_error .ginput_container textarea {
  border-color: #c0392b !important;
}
.gform_wrapper .gfield_error .gfield_label {
  color: #c0392b !important;
}
.gform_wrapper .validation_message,
.gform_wrapper .gfield_description.validation_message {
  color: #c0392b !important;
  font-size: 12px !important;
  margin-top: 4px !important;
}
.gform_wrapper .validation_error {
  border: 1px solid #c0392b !important;
  background: rgba(192,57,43,0.05) !important;
  color: #c0392b !important;
  padding: 12px 16px !important;
  border-radius: 2px !important;
  margin-bottom: 20px !important;
  font-size: 14px !important;
}

/* Confirmation message */
.gform_confirmation_message {
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: 18px !important;
  color: var(--navy) !important;
  line-height: 1.6 !important;
  text-align: center !important;
  padding: 24px 0 !important;
}

/* Required asterisk */
.gform_wrapper .gfield_required {
  color: var(--gold) !important;
}

/* Name field two-column layout */
.gform_wrapper .ginput_complex {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}
@media (max-width: 600px) {
  .gform_wrapper .ginput_complex {
    grid-template-columns: 1fr !important;
  }
}

/* Field spacing */
.gform_wrapper .gfield {
  margin-bottom: 16px !important;
}

/* Hide Gravity Forms default powered-by */
.gform_wrapper .gform_footer .gform_ajax_spinner {
  margin-left: 10px;
}

/* ====== PRINT STYLES ====== */
@media print {
  body { background: #fff !important; color: #000 !important; }
  .topbar, .site-header, .hero-ribbon, .mobile-panel, .mobile-sticky,
  .grain-dark::after, .grain-light::after, .hero-bg-texture,
  .areas-bg, .contact-bg, .cta-banner { display: none !important; }
  .hero, .practice-section, .areas-section, .contact-section,
  .inner-hero { background: #f5f5f5 !important; color: #000 !important; }
  section { page-break-inside: avoid; }
  a { color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.75em; color: #666; }
  img { max-width: 100% !important; }
  .sidebar { display: none !important; }
}
