/* ============================================================
   Brey Law, LLC — Main Stylesheet
   ============================================================ */

/* --- Variables & Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #1a2744;
  --navy-dark:   #0f1829;
  --navy-mid:    #243357;
  --gold:        #c0902f;
  --gold-light:  #e0bd63;
  --gold-pale:   #f5eddb;
  --gold-ink:    #7e5f17;  /* darker gold for text/links on light backgrounds — WCAG AA */
  --sage:        #6f8a67;
  --sage-dark:   #5a7355;
  --sage-pale:   #eef1ea;
  --white:       #ffffff;
  --off-white:   #f8f6f1;
  --gray-100:    #f3f2ef;
  --gray-200:    #e8e5de;
  --gray-400:    #9ca3af;
  --gray-600:    #6b7280;
  --text:        #1c1c1e;
  --text-light:  #4b5563;
  --border:      #e0dbd0;
  --serif:       'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.07);
  --shadow:      0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.14);
  --radius:      3px;
  --radius-lg:   6px;
  --max:         1080px;
  --transition:  0.22s ease;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; text-wrap: balance; }
p { text-wrap: pretty; }

.section-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 16px;
}

.section-title--light {
  color: var(--white);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 580px;
  line-height: 1.8;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(184,150,46,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.65);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-top {
  background: var(--navy);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-top .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}

.header-top-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.72);
  transition: color var(--transition);
}
.header-top-link:hover { color: var(--gold-light); }
.header-top-link svg { flex-shrink: 0; }

.nav-bar .container {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  fill: var(--gold);
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}

.nav-logo-tagline {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  display: block;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  border-radius: var(--radius);
  transition: all var(--transition);
  letter-spacing: 0.02em;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.07); }

.nav-cta {
  margin-left: 8px;
  padding: 9px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--white);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav-cta:hover { background: var(--gold-light); }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy-dark);
  padding: 96px 0 88px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(26,39,68,0.0) 0%, rgba(15,24,41,0.5) 100%),
    linear-gradient(135deg, #0f1829 0%, #1a2744 45%, #1e3060 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: repeating-linear-gradient(
    45deg,
    #ffffff 0,
    #ffffff 1px,
    transparent 0,
    transparent 50%
  );
  background-size: 28px 28px;
}

.hero-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-light), var(--gold));
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184,150,46,0.15);
  border: 1px solid rgba(184,150,46,0.35);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 20px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 52px;
}

.hero-divider {
  width: 64px;
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin-bottom: 28px;
}

.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-cred {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-cred-value {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
}

.hero-cred-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.48);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--gold);
  padding: 14px 0;
}

.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 30px;
}

.trust-item {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   PRACTICE AREAS
   ============================================================ */
.practice-areas {
  padding: 88px 0;
  background: var(--white);
}

.section-header {
  margin-bottom: 52px;
}

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

.practice-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: all var(--transition);
  overflow: hidden;
}

.practice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.practice-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.practice-card:hover::before { transform: scaleX(1); }

.practice-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.practice-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.practice-tag {
  position: absolute;
  top: 44px;
  right: 32px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  background: var(--gold-pale);
  padding: 4px 10px;
  border-radius: 100px;
}

.practice-card h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 14px;
}

.practice-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

.practice-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.practice-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-light);
}

.practice-list li::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 0.6em;
}

.practice-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  margin-right: 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition);
}
.practice-more span { transition: transform var(--transition); }
.practice-more:hover { color: var(--gold-ink); }
.practice-more:hover span { transform: translateX(3px); }

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 88px 0;
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-photo-wrap {
  position: relative;
}

.about-photo-frame {
  position: relative;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.about-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-400);
  font-size: 0.85rem;
  text-align: center;
  padding: 32px;
}

.about-photo-placeholder svg {
  width: 56px;
  height: 56px;
  stroke: var(--gray-400);
  fill: none;
  stroke-width: 1.2;
}

.about-accent-box {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--navy);
  color: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
}

.about-accent-box-value {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}

.about-accent-box-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

.about-content .section-label { margin-top: 0; }

.about-bio {
  font-size: 0.97rem;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 16px;
}

.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.credential-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 2px;
}

.credential-item-text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  text-wrap: balance;
}

.credential-item-text span {
  display: block;
  font-size: 0.72rem;
  color: var(--gray-600);
  text-wrap: balance;
}

/* ============================================================
   COUNTIES
   ============================================================ */
.counties {
  padding: 88px 0;
  background: var(--navy);
}

.counties .section-title--light {
  margin-bottom: 8px;
}

.counties .section-intro {
  color: rgba(255,255,255,0.6);
  margin-bottom: 48px;
}


/* City landing-page links beneath the county cards */
.city-links {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.city-links-title {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.city-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.city-links-list a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  transition: all var(--transition);
}
.city-links-list a:hover {
  color: var(--navy);
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 88px 0;
  background: var(--off-white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: flex-start;
}

.faq-sidebar .section-title {
  font-size: 2rem;
  margin-bottom: 20px;
}

.faq-sidebar p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 28px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item:hover { box-shadow: var(--shadow-sm); }

.faq-question {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--navy);
  background: none;
  transition: background var(--transition);
  cursor: pointer;
}

.faq-question:hover { background: var(--off-white); }

.faq-question[aria-expanded="true"] {
  color: var(--gold-ink);
  background: var(--off-white);
}

.faq-chevron {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.8;
  border-top: 1px solid var(--border);
}

.faq-answer.open { display: block; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 88px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info { }

.contact-info .section-label { margin-bottom: 8px; }
.contact-info .section-title { margin-bottom: 20px; }

.contact-info p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-detail-body strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 3px;
}

.contact-detail-body a,
.contact-detail-body span {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  display: block;
}

.contact-detail-body a:hover { color: var(--gold-ink); }

.contact-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  color: var(--white);
}

.contact-card h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
}

.contact-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.62);
  margin-bottom: 28px;
  line-height: 1.75;
}

.contact-card-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-card-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition);
}

.contact-card-link:hover {
  background: rgba(255,255,255,0.13);
  border-color: var(--gold);
}

.contact-card-link svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold-light);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.contact-hours {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.contact-hours-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.62);
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hours-row:last-child { border-bottom: none; }
.hours-row strong { color: rgba(255,255,255,0.85); font-weight: 500; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}

.footer-brand .nav-logo { margin-bottom: 16px; }

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.75;
  max-width: 280px;
}

/* Inline About/FAQ/Contact links under the brand blurb */
.footer-links--inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
}
.footer-links--inline a { font-weight: 600; color: rgba(255,255,255,0.62); }

/* Two-up city list so 11 links stay compact */
.footer-links--cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 20px;
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.52);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.32);
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .container { padding: 0 20px; }

  .practice-grid { grid-template-columns: 1fr 1fr; }

  .about-grid,
  .faq-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 40px; }

  .about-photo-wrap { max-width: 440px; }
  .about-accent-box { right: 0; }

  .faq-sidebar .btn { display: none; }
}

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

  .credentials-grid { grid-template-columns: 1fr; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    padding: 12px 20px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .nav-cta { margin-left: 0; width: 100%; justify-content: center; text-align: center; }

  .hero { padding: 60px 0 56px; }
  .hero-credentials { gap: 16px; }

  .trust-bar .container { flex-direction: column; gap: 6px; }
  .trust-dot { display: none; }
  .trust-item { padding: 0; }

  .contact-card { padding: 28px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: 1; }

  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.65rem; }
}

/* ============================================================
   SKIP LINK (Accessibility)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 8px;
  padding: 8px 16px;
  background: var(--gold);
  color: var(--white);
  font-weight: 600;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 999;
}
.skip-link:focus { top: 0; }

/* ============================================================
   TYPOGRAPHY — prevent awkward line breaks / orphan words
   (text-wrap: pretty avoids single-word last lines;
    balance evens short multi-line headings & labels)
   ============================================================ */
.hero-sub, .section-intro, .about-bio, .practice-card p,
.county-section p, .faq-answer, .contact-info p, .footer-brand p {
  text-wrap: pretty;
}
.hero-cred-label, .about-accent-box-label, .credential-item-text {
  text-wrap: balance;
}

/* ============================================================
   CONTACT FORM + MAP
   ============================================================ */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.contact-form-intro {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 22px;
}
.contact-form-intro a { color: var(--gold-ink); font-weight: 600; }
.form-field { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(184,150,46,0.15);
}
.form-submit { width: 100%; justify-content: center; margin-top: 6px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { font-size: 0.9rem; margin-top: 14px; line-height: 1.5; }
.form-status.ok  { color: #1f7a45; font-weight: 600; }
.form-status.err { color: #b3261e; font-weight: 600; }
.form-disclaimer {
  font-size: 0.74rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin-top: 16px;
}
.contact-map {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
  filter: grayscale(0.15);
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICE-AREA COUNTY MAP (clickable tiles)
   ============================================================ */
.county-map-wrap { max-width: 520px; width: 100%; margin: 8px auto 44px; }
.county-map-ratio { position: relative; width: 100%; padding-bottom: 27.54%; height: 0; }
.county-map { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; }
.cm-tile { cursor: pointer; }
.cm-tile rect {
  fill: rgba(255,255,255,0.05);
  stroke: rgba(212,174,78,0.40);
  stroke-width: 1.5;
  transition: fill var(--transition), stroke var(--transition);
}
.cm-tile:hover rect, .cm-tile:focus-visible rect {
  fill: var(--gold);
  stroke: var(--gold-light);
}
.cm-tile:focus-visible { outline: none; }
.cm-name {
  fill: #fff; font-family: var(--serif); font-size: 15px; font-weight: 600;
  text-anchor: middle; pointer-events: none;
}
.cm-seat {
  fill: rgba(255,255,255,0.55); font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.04em; text-anchor: middle; pointer-events: none;
}
.cm-tile:hover .cm-name, .cm-tile:focus-visible .cm-name { fill: var(--navy-dark); }
.cm-tile:hover .cm-seat, .cm-tile:focus-visible .cm-seat { fill: rgba(15,24,41,0.72); }
.cm-label {
  fill: rgba(212,174,78,0.60); font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.18em; text-anchor: middle; text-transform: uppercase;
}
.cm-line { stroke: rgba(212,174,78,0.28); stroke-width: 1; stroke-dasharray: 4 4; }
.county-map-cap {
  text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.55);
  margin-top: 14px;
}

/* ============================================================
   WHAT TO EXPECT (process)
   ============================================================ */
.process { padding: 88px 0; background: var(--sage-pale); }
.process-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 48px;
}
.process-step {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 34px 30px;
}
.process-num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--sage); color: #fff;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.process-step h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 10px; }
.process-step p { font-size: 0.92rem; color: var(--text-light); line-height: 1.75; }
@media (max-width: 860px) { .process-grid { grid-template-columns: 1fr; } }

/* ============================================================
   MOBILE REFINEMENTS
   ============================================================ */
@media (max-width: 640px) {
  /* Top bar: hide the long hours text, center phone + email, allow wrap */
  .header-top .container { justify-content: center; gap: 14px; flex-wrap: wrap; }
  .header-top span.header-top-link { display: none; }
  .header-top-link { font-size: 0.72rem; }
  /* County/city hero buttons + contact map sizing */
  .contact-map iframe { height: 200px; }
}
@media (max-width: 480px) {
  /* Full-width, easy-to-tap primary actions */
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* media never exceeds its container (mobile safety) */
svg, img, iframe { max-width: 100%; }

/* ============================================================
   FREE CONSULTATION accents
   ============================================================ */
.hero-note {
  margin-top: -28px;
  margin-bottom: 44px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-note::before {
  content: '';
  width: 16px; height: 1px;
  background: var(--gold);
}
.trust-item--accent {
  border-left: none;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 100px;
}

/* About — LinkedIn link */
.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
}
.about-more-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  transition: color var(--transition);
}
.about-more-link:hover { color: var(--gold-ink); }
.about-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold-ink);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.about-linkedin:hover { color: var(--gold-light); }
@media (max-width: 480px) {
  .about-actions { gap: 14px; flex-direction: column; align-items: flex-start; }
  .about-actions .btn { width: 100%; justify-content: center; }
}

/* ======================================================
   ABOUT / BIO PAGE
====================================================== */
.bio-hero {
  position: relative;
  background: var(--navy-dark);
  overflow: hidden;
  padding: 70px 0 64px;
}
.bio-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(26,39,68,0.0) 0%, rgba(15,24,41,0.5) 100%),
    linear-gradient(135deg, #0f1829 0%, #1a2744 45%, #1e3060 100%);
}
.bio-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.72);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span[aria-hidden] { margin: 0 8px; color: rgba(255,255,255,0.3); }
.bio-hero-title {
  font-family: var(--serif);
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  margin: 6px 0 14px;
}
.bio-hero-sub {
  color: var(--gold-light);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.bio-intro { background: var(--off-white); padding: 64px 0; }
.bio-intro-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: center;
}
.bio-photo-frame {
  position: relative;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.bio-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.bio-lead-text {
  font-family: var(--sans);
  font-size: clamp(1.18rem, 2.2vw, 1.42rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: var(--navy);
  margin-bottom: 20px;
}
.bio-lead p { color: var(--text-light); line-height: 1.85; }
.bio-lead-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
  margin-top: 30px;
}

.bio-body { padding: 72px 0; background: var(--white); }
.bio-prose { max-width: 720px; }
.bio-prose h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 1.95rem);
  color: var(--navy);
  font-weight: 700;
  margin: 48px 0 16px;
  padding-top: 4px;
}
.bio-prose h2:first-child { margin-top: 0; }
.bio-prose h2::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  background: var(--gold);
  margin-top: 14px;
  border-radius: 2px;
}
.bio-prose p {
  color: var(--text-light);
  font-size: 1.02rem;
  line-height: 1.9;
  margin-bottom: 18px;
}
.bio-edu {
  list-style: none;
  margin: 8px 0 24px;
  padding: 0;
  display: grid;
  gap: 2px;
}
.bio-edu li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0 16px 20px;
  border-left: 3px solid var(--gold);
  background: var(--off-white);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 10px;
}
.bio-edu strong { color: var(--navy); font-size: 1.02rem; }
.bio-edu span { color: var(--text-light); font-size: 0.95rem; }

.bio-cta {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 72px 0;
}
.bio-cta h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 14px;
}
.bio-cta p {
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin: 0 auto 30px;
  line-height: 1.8;
}
.bio-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

@media (max-width: 760px) {
  .bio-intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .bio-photo-frame { max-width: 340px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .bio-lead-actions { flex-direction: column; align-items: flex-start; gap: 14px; }
  .bio-lead-actions .btn { width: 100%; justify-content: center; }
  .bio-cta-actions .btn { width: 100%; justify-content: center; }
}

/* Keep phone numbers from breaking mid-number across lines */
a[href^="tel:"] { white-space: nowrap; }

/* Higher-specificity so the modifiers win over base .footer-links */
.footer-col .footer-links--cols { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; }
.footer-brand .footer-links--inline { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
@media (max-width: 640px) {
  .footer-col .footer-links--cols { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   REDUCED MOTION — honor OS "reduce motion" setting (WCAG 2.3.3)
   ============================================================ */
@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;
  }
}

/* ============================================================
   PRINT / PDF — legible black-on-white for review & clean printing
   (dark sections would otherwise print as invisible white-on-white;
    collapsed FAQ answers are forced open)
   ============================================================ */
@media print {
  @page { margin: 16mm 14mm; }

  *, *::before, *::after {
    background: transparent !important;
    color: #1a1a1a !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  html, body { background: #fff !important; }

  /* reveal collapsed accordion content */
  .faq-answer { display: block !important; }
  .faq-question { font-weight: 700; }

  /* drop interactive / decorative / non-content chrome */
  .skip-link, .nav-toggle, .hero-pattern, .hero-accent, .hero-divider,
  .county-hero-accent, .county-hero::before, .faq-chevron,
  .county-map-wrap, .contact-map, .about-accent-box { display: none !important; }

  /* un-stick fixed/sticky elements so nothing overlaps or clips */
  .site-header, .nav-bar, .header-top, .county-sidebar { position: static !important; }

  a { text-decoration: none !important; }

  /* sensible pagination */
  h1, h2, h3, h4 { page-break-after: avoid; break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
  .practice-card, .process-step, .credential-item, .faq-item,
  .county-section, .county-towns-box, .county-cta-box,
  .credentials-grid, .bio-edu li { page-break-inside: avoid; break-inside: avoid; }

  img { max-width: 100% !important; }
}
