/* ============================================================================
   McCown, Fisher & Cremeans LPA — OVI Defense
   Bold Modern Sans · Navy + Electric Gold · 2026 Build
   ============================================================================ */

:root {
  /* Brand palette */
  --ink:          #0A1628;
  --navy:         #0d2240;
  --navy-2:       #14305a;
  --blue:         #1e3a6f;
  --blue-soft:    #2a4d8b;
  --gold:         #d4a437;
  --gold-bright:  #f0c050;
  --gold-deep:    #a07e1f;
  --alarm:        #c0392b;
  --alarm-soft:   #e8746a;
  --ivory:        #f7f3ea;
  --paper:        #ffffff;
  --slate:        #5a6476;
  --slate-light:  #8a93a6;
  --rule:         #dce4f0;
  --rule-dark:    #1f3358;

  /* Type scale */
  --font-display: 'Oswald', 'Arial Narrow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container:     1200px;
  --container-rd:  1080px;
  --container-nrw: 880px;

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* Effects */
  --radius:    6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(10,22,40,0.06), 0 1px 3px rgba(10,22,40,0.08);
  --shadow:    0 4px 12px rgba(10,22,40,0.08), 0 2px 4px rgba(10,22,40,0.06);
  --shadow-lg: 0 18px 40px rgba(10,22,40,0.18), 0 6px 12px rgba(10,22,40,0.10);
  --transition: 200ms cubic-bezier(.2,.8,.2,1);
}

/* ----------------------------------- Reset --------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-deep); }
ul, ol { padding-left: 1.25rem; }
figure { margin: 0; }

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  border-radius: var(--radius);
  z-index: 9999;
}

/* Visually-hidden helper */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------------------------- Typography ----------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--ink);
  margin: 0 0 var(--sp-4);
  line-height: 1.15;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.005em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 var(--sp-4); }
strong { font-weight: 700; color: var(--ink); }
em { font-style: italic; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--sp-3);
}
.eyebrow-on-light { color: var(--gold-deep); }

.lead {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--slate);
  font-weight: 400;
}
.lead-on-dark { color: rgba(255,255,255,0.85); }
.muted { color: var(--slate); }
.caption { font-size: 0.85rem; color: var(--slate); }

.section-title {
  font-family: var(--font-display);
  margin-bottom: var(--sp-5);
}
.section-title-center { text-align: center; }
.section-rule {
  width: 56px; height: 4px; background: var(--gold);
  margin: 0 0 var(--sp-5); border-radius: 2px;
}
.section-rule-center { margin-left: auto; margin-right: auto; }

/* --------------------------------- Layout ---------------------------------- */

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-5); }
.container-narrow { max-width: var(--container-nrw); }
.container-reading { max-width: var(--container-rd); }

.section          { padding: var(--sp-9) 0; }
.section-tight    { padding: var(--sp-7) 0; }
.section-light    { background: var(--paper); }
.section-ivory    { background: var(--ivory); }
.section-rule-top { border-top: 1px solid var(--rule); }
.section-dark {
  background: linear-gradient(180deg, var(--navy) 0%, var(--ink) 100%);
  color: rgba(255,255,255,0.92);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--paper); }
.section-dark .lead { color: rgba(255,255,255,0.85); }
.section-dark .muted { color: rgba(255,255,255,0.65); }
.section-dark .section-rule { background: var(--gold-bright); }
.section-dark a { color: var(--gold-bright); }
.section-dark a:hover { color: var(--paper); }
.section-dark strong { color: var(--paper); }
.section-dark p { color: rgba(255,255,255,0.88); }

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.grid-2-1 { grid-template-columns: 1fr; }
.grid-1-2 { grid-template-columns: 1fr; }
.grid-gap-lg { gap: var(--sp-7); }
.grid-gap-sm { gap: var(--sp-4); }

.flex-between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--sp-4); }
.flex-row     { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; }
.flex-col     { display: flex; flex-direction: column; gap: var(--sp-4); }

@media (min-width: 768px) {
  .grid-2  { grid-template-columns: 1fr 1fr; }
  .grid-3  { grid-template-columns: repeat(3, 1fr); }
  .grid-4  { grid-template-columns: repeat(2, 1fr); }
  .grid-2-1 { grid-template-columns: 2fr 1fr; }
  .grid-1-2 { grid-template-columns: 1fr 2fr; }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------- Buttons --------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 26px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(212,164,55,0.35);
}
.btn-primary:hover {
  background: var(--gold-bright);
  color: var(--ink);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(212,164,55,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--paper);
}
.btn-alarm {
  background: var(--alarm);
  color: var(--paper);
  border-color: var(--alarm);
}
.btn-alarm:hover {
  background: #a82e21;
  border-color: #a82e21;
  color: var(--paper);
}
.btn-large { padding: 18px 36px; font-size: 1.15rem; }
.btn-block { display: flex; width: 100%; }

.btn .icon { width: 18px; height: 18px; flex-shrink: 0; }

/* --------------------------------- Header ---------------------------------- */

.topbar {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.topbar a {
  color: rgba(255,255,255,0.85);
}
.topbar a:hover { color: var(--gold-bright); }
.topbar-locations {
  display: flex; gap: var(--sp-5); flex-wrap: wrap; align-items: center;
}
.topbar-locations span { color: rgba(255,255,255,0.6); font-weight: 500; letter-spacing: 0.04em; }

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-4) 0;
  gap: var(--sp-5);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: var(--ink);
}
.brand-logo-img {
  height: 56px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.brand-tag-line {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--slate);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 6px;
  display: none;
}
@media (min-width: 1024px) {
  .brand-tag-line { display: block; }
  .brand-logo-img { height: 60px; }
}

/* Primary nav */
.primary-nav { display: none; }
.primary-nav-list {
  display: flex;
  gap: var(--sp-5);
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.primary-nav-link:hover,
.primary-nav-link[aria-current="page"] {
  color: var(--gold-deep);
  border-bottom-color: var(--gold);
}

/* Header CTA */
.header-cta {
  display: none;
  align-items: center;
  gap: var(--sp-4);
}
.header-phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.header-phone-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate);
  display: block;
  margin-bottom: 1px;
}

/* Mobile menu toggle */
.menu-toggle {
  background: transparent;
  border: 0;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.menu-toggle svg { width: 28px; height: 28px; }

@media (min-width: 1024px) {
  .primary-nav { display: block; }
  .header-cta { display: flex; }
  .menu-toggle { display: none; }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding: var(--sp-5) 0;
}
.mobile-menu.is-open { display: block; }
.mobile-menu .primary-nav-list {
  flex-direction: column;
  gap: var(--sp-2);
}
.mobile-menu .primary-nav-link {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}
.mobile-menu-cta { margin-top: var(--sp-4); display: flex; gap: var(--sp-3); flex-direction: column; }

/* --------------------------- Sticky mobile call bar ------------------------ */

.mobile-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 14px var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 99;
  box-shadow: 0 -4px 12px rgba(10,22,40,0.20);
  text-decoration: none;
  text-align: center;
}
.mobile-call-bar:hover { background: var(--gold-bright); color: var(--ink); }
.mobile-call-bar svg { width: 22px; height: 22px; }
@media (min-width: 1024px) {
  .mobile-call-bar { display: none; }
  body { padding-bottom: 0; }
}

/* Add bottom padding so sticky bar doesn't cover content on mobile */
@media (max-width: 1023px) {
  body { padding-bottom: 60px; }
}

/* ----------------------------------- Hero ---------------------------------- */

.hero {
  position: relative;
  background:
    linear-gradient(110deg, rgba(10,22,40,0.86) 0%, rgba(10,22,40,0.55) 55%, rgba(13,34,64,0.40) 100%),
    url('images/hero-bg.jpg') center/cover no-repeat,
    linear-gradient(135deg, var(--ink) 0%, var(--navy) 50%, var(--blue) 100%);
  color: var(--paper);
  overflow: hidden;
  padding: var(--sp-8) 0;
  border-bottom: 4px solid var(--gold);
}
.hero-art {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 0%, rgba(240,192,80,0.22) 0%, transparent 55%),
    linear-gradient(180deg, rgba(10,22,40,0.0) 0%, rgba(10,22,40,0.4) 100%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero { padding: var(--sp-9) 0; }
  .hero-grid { grid-template-columns: 1.5fr 1fr; gap: var(--sp-8); }
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.hero-eyebrow::before {
  content: ''; width: 38px; height: 2px; background: var(--gold);
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.6vw, 4rem);
  line-height: 1.05;
  color: var(--paper);
  margin: 0 0 var(--sp-5);
  letter-spacing: -0.005em;
}
.hero-headline .gold { color: var(--gold-bright); }
.hero-subhead {
  font-size: 1.2rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
  margin: 0 0 var(--sp-6);
  max-width: 56ch;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.hero-call-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 14px 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--paper);
  transition: all var(--transition);
}
.hero-call-pill:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--gold);
  color: var(--paper);
}
.hero-call-pill .label {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.65); font-weight: 500;
}
.hero-call-pill .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: var(--paper);
}
/* Secondary call pill for the Chesapeake office — same shape, slightly muted */
.hero-call-pill-secondary {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.12);
}
.hero-call-pill-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--gold);
}

/* Hero trust strip */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5) var(--sp-6);
  align-items: center;
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}
.hero-trust-item::before {
  content: '✓';
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Hero poster (right side — Your Line of Defense banner) */
.hero-poster {
  position: relative;
  margin: 0 auto;
  max-width: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.55),
    0 8px 16px rgba(0,0,0,0.40),
    0 0 0 1px rgba(212,164,55,0.40),
    0 0 0 6px rgba(13,34,64,0.40);
}
.hero-poster::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(240,192,80,0.50);
  border-radius: var(--radius-lg);
  z-index: 2;
  pointer-events: none;
}
.hero-poster img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}
.hero-poster-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at center, rgba(240,192,80,0.20) 0%, transparent 65%);
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}
.hero-poster-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-4) var(--sp-5);
  background: linear-gradient(180deg, transparent 0%, rgba(10,22,40,0.92) 60%);
  color: var(--paper);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 3;
}
.hero-poster-name { color: var(--gold-bright); }
.hero-poster-divider { color: rgba(255,255,255,0.5); }

@media (min-width: 1024px) {
  .hero-poster { max-width: 460px; }
}

/* Hero card (right side — kept for any other use) */
.hero-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--gold);
  position: relative;
}
.hero-card-eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: var(--sp-2);
}
.hero-card h2 {
  font-size: 1.4rem;
  margin-bottom: var(--sp-3);
  color: var(--ink);
}
.hero-card p { color: var(--slate); margin-bottom: var(--sp-5); }

/* ---------------------------------- Forms ---------------------------------- */

.form-group { margin-bottom: var(--sp-4); }
.form-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  color: var(--ink);
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,164,55,0.18);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-help {
  font-size: 0.8rem;
  color: var(--slate);
  margin-top: 6px;
  margin-bottom: 0;
}
.form-disclaimer {
  font-size: 0.75rem;
  color: var(--slate);
  line-height: 1.5;
  margin-top: var(--sp-4);
}

/* Cards */
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.card-on-dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
}
.card-on-dark:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--gold);
}
.card-on-dark h3 { color: var(--paper); }
.card-on-dark p { color: rgba(255,255,255,0.75); }

.card-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--gold-bright);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
}
.card-icon svg { width: 24px; height: 24px; }
.card-on-dark .card-icon {
  background: var(--gold);
  color: var(--ink);
}
.card h3 { font-size: 1.2rem; margin-bottom: var(--sp-3); }
.card p { color: var(--slate); margin-bottom: var(--sp-3); font-size: 0.97rem; }
.card-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.card-link:hover { color: var(--ink); }
.card-on-dark .card-link { color: var(--gold-bright); }
.card-on-dark .card-link:hover { color: var(--paper); }

/* Stat blocks */
.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
  text-align: center;
}
@media (min-width: 768px) {
  .stat-row { grid-template-columns: repeat(4, 1fr); }
}
.stat {
  padding: var(--sp-5) var(--sp-3);
  border-left: 1px solid rgba(255,255,255,0.10);
}
.stat:first-child { border-left: 0; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--gold-bright);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.stat-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin: 0;
}

/* Pillar / practice areas */
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
@media (min-width: 768px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillar-grid { grid-template-columns: repeat(3, 1fr); } }

/* Attorney cards */
.attorney-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.attorney-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.attorney-card-photo {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  position: relative;
  overflow: hidden;
}
.attorney-card-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
}
.attorney-card-body { padding: var(--sp-5); }
.attorney-card-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--ink);
  margin: 0 0 4px;
}
.attorney-card-role {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 var(--sp-3);
  font-weight: 600;
}
.attorney-card-bio { color: var(--slate); margin-bottom: var(--sp-4); font-size: 0.95rem; }
.attorney-card-creds {
  list-style: none;
  margin: 0 0 var(--sp-4);
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--ink);
}
.attorney-card-creds li {
  display: flex; align-items: flex-start; gap: 8px;
}
.attorney-card-creds li::before {
  content: '✓';
  color: var(--gold-deep);
  font-weight: 700;
  flex-shrink: 0;
  line-height: inherit;
}
.attorney-card-creds li > * { flex: 1 1 auto; min-width: 0; }
.attorney-card-creds.creds-flat li { line-height: 1.5; }

/* Badge row */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
  justify-content: center;
}
.badge-row img {
  height: 80px; width: auto;
  filter: drop-shadow(0 2px 4px rgba(10,22,40,0.10));
  transition: transform var(--transition);
}
.badge-row a:hover img { transform: scale(1.06); }
.badge-row-large img { height: 110px; }

/* Badge button — wraps a badge image as a styled link */
.badge-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 8px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.badge-button::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.badge-button:hover::after { opacity: 0.7; }
.badge-button:hover img { transform: scale(1.08); }
.badge-button img { transition: transform var(--transition); }

/* FAQ */
.faq-list { display: grid; gap: var(--sp-3); }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--sp-4) var(--sp-5);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
  transition: background var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--gold-deep);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { background: var(--ivory); }
.faq-answer {
  padding: 0 var(--sp-5) var(--sp-5);
  color: var(--slate);
  line-height: 1.7;
}
.faq-answer p:last-child { margin-bottom: 0; }

/* Penalty table */
.penalty-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.penalty-card-head {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ink) 100%);
  color: var(--paper);
  padding: var(--sp-5);
  position: relative;
}
.penalty-card-head h3 {
  color: var(--paper);
  font-size: 1.35rem;
  margin: 0 0 4px;
}
.penalty-card-head .penalty-tier {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  font-weight: 500;
}
.penalty-card-body {
  padding: var(--sp-5);
}
.penalty-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-3);
}
.penalty-list li {
  display: flex;
  gap: var(--sp-3);
  padding-left: 0;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.5;
}
.penalty-list li::before {
  content: '';
  display: inline-block;
  width: 4px;
  background: var(--alarm);
  flex-shrink: 0;
  border-radius: 2px;
}
.penalty-callout {
  margin-top: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  background: rgba(192,57,43,0.06);
  border-left: 3px solid var(--alarm);
  border-radius: 4px;
  font-size: 0.92rem;
  color: var(--ink);
}

/* Process steps */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  counter-reset: step;
}
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-step {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  position: relative;
  counter-increment: step;
}
.process-step::before {
  content: '0' counter(step);
  position: absolute;
  top: -8px;
  right: var(--sp-4);
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: var(--sp-3); }
.process-step p { font-size: 0.93rem; color: var(--slate); margin-bottom: 0; }

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  background: var(--paper);
  padding: var(--sp-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  position: relative;
}
.testimonial-stars {
  color: var(--gold);
  margin-bottom: var(--sp-3);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
}
.testimonial-quote {
  font-style: italic;
  color: var(--ink);
  margin: 0 0 var(--sp-4);
  font-size: 1.02rem;
  line-height: 1.6;
}
.testimonial-author {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}
.testimonial-source {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: rgba(66, 133, 244, 0.1);
  border: 1px solid rgba(66, 133, 244, 0.3);
  color: #4285f4;
  border-radius: 4px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: none;
  font-weight: 600;
}

/* Google rating banner */
.google-rating-banner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: var(--sp-4) auto 0;
  padding: 16px 28px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  box-shadow: 0 8px 24px -16px rgba(10,22,40,0.20);
}
.google-rating-stars {
  font-family: 'Product Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
}
.google-rating-stars .google-g { color: #4285f4; }
.google-rating-stars .google-o2 { color: #fbbc05; }
.google-rating-stars .google-l { color: #34a853; }
.google-rating-stars .google-e { color: #ea4335; }
.google-rating-stars > span:nth-child(2) { color: #ea4335; }
.google-rating-stars > span:nth-child(4) { color: #4285f4; }
.google-rating-score {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.google-rating-score .rating-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--ink);
}
.google-rating-score .rating-stars {
  color: #fbbc05;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}
.google-rating-score .rating-count {
  color: var(--slate);
  font-size: 0.9rem;
}

/* County map section */
.county-map-wrap {
  background: var(--ivory);
  padding: var(--sp-7);
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
}

/* County link grid */
.county-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}
@media (min-width: 568px) { .county-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .county-grid { grid-template-columns: repeat(3, 1fr); } }
.county-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  transition: all var(--transition);
}
.county-link:hover {
  background: var(--ivory);
  border-left-color: var(--gold-deep);
  color: var(--ink);
  transform: translateX(2px);
}
.county-link::after {
  content: '→';
  color: var(--gold-deep);
  font-weight: 600;
  transition: transform var(--transition);
}
.county-link:hover::after { transform: translateX(4px); }

/* Page hero (smaller, for inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--ink) 0%, var(--navy) 80%);
  color: var(--paper);
  padding: var(--sp-8) 0 var(--sp-7);
  position: relative;
  overflow: hidden;
}
.page-hero-art {
  position: absolute;
  inset: 0;
  opacity: 0.10;
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; max-width: 880px; }
.page-hero h1 {
  color: var(--paper);
  margin-bottom: var(--sp-4);
}
.page-hero .lead { color: rgba(255,255,255,0.88); margin: 0; max-width: 60ch; }
.page-hero strong { color: var(--paper); }
.page-hero a { color: var(--gold-bright); }
.breadcrumbs {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.60);
  margin-bottom: var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.breadcrumbs a { color: rgba(255,255,255,0.85); }
.breadcrumbs a:hover { color: var(--gold-bright); }
.breadcrumbs .sep { color: rgba(255,255,255,0.40); }
.breadcrumbs .current { color: var(--gold-bright); }

/* Article (long-form pages) */
.article {
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--ink);
}
.article h2 {
  margin-top: var(--sp-7);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--rule);
}
.article h2:first-child { margin-top: 0; }
.article h3 {
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-3);
  color: var(--navy);
}
.article p { margin-bottom: var(--sp-5); }
.article ul, .article ol {
  margin: 0 0 var(--sp-5);
  padding-left: 1.5rem;
}
.article li { margin-bottom: 6px; }
.article blockquote {
  margin: var(--sp-6) 0;
  padding: var(--sp-4) var(--sp-5);
  border-left: 4px solid var(--gold);
  background: var(--ivory);
  font-style: italic;
  color: var(--ink);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article a {
  color: var(--blue-soft);
  text-decoration: underline;
  text-decoration-color: rgba(30,58,111,0.30);
  text-underline-offset: 3px;
}
.article a:hover {
  color: var(--gold-deep);
  text-decoration-color: var(--gold-deep);
}

/* Two-column layout for inner pages */
.layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
}
@media (min-width: 1024px) {
  .layout-with-sidebar { grid-template-columns: 1fr 320px; gap: var(--sp-8); }
}
.sidebar-block {
  background: var(--paper);
  padding: var(--sp-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  margin-bottom: var(--sp-5);
}
.sidebar-block-dark {
  background: linear-gradient(160deg, var(--navy) 0%, var(--ink) 100%);
  color: var(--paper);
  border: 0;
}
.sidebar-block-dark h3 { color: var(--paper); margin-bottom: var(--sp-3); font-size: 1.15rem; }
.sidebar-block-dark p { color: rgba(255,255,255,0.85); font-size: 0.95rem; margin-bottom: var(--sp-4); }
.sidebar-block h3 { font-size: 1.1rem; margin-bottom: var(--sp-3); }
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-list li {
  border-top: 1px solid var(--rule);
  padding: 10px 0;
}
.sidebar-list li:first-child { border-top: 0; padding-top: 0; }
.sidebar-list a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sidebar-list a:hover { color: var(--gold-deep); }
.sidebar-list a::after { content: '→'; color: var(--gold-deep); }

/* CTA block (used at end of inner pages) */
.cta-block {
  background: linear-gradient(135deg, var(--ink) 0%, var(--navy) 100%);
  color: var(--paper);
  padding: var(--sp-7);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212,164,55,0.15) 0%, transparent 70%);
}
.cta-block h2 {
  color: var(--paper);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  margin-bottom: var(--sp-4);
  position: relative;
}
.cta-block p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: var(--sp-5);
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-block-actions {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* Office card */
.office-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
}
.office-card h3 { font-size: 1.2rem; margin-bottom: var(--sp-3); }
.office-card .office-line {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: 8px 0;
  border-top: 1px solid var(--rule);
  font-size: 0.95rem;
  color: var(--ink);
}
.office-card .office-line:first-of-type { border-top: 0; padding-top: 0; }
.office-card .office-line svg {
  width: 18px; height: 18px; color: var(--gold-deep); flex-shrink: 0; margin-top: 3px;
}
.office-card .office-line strong { display: block; color: var(--ink); }
.office-card .office-line span { color: var(--slate); display: block; }

/* --------------------------- Footer --------------------------------------- */

.site-footer {
  background: linear-gradient(180deg, var(--ink) 0%, #050d18 100%);
  color: rgba(255,255,255,0.78);
  padding: var(--sp-9) 0 var(--sp-5);
  font-size: 0.92rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
  margin-bottom: var(--sp-7);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
@media (min-width: 768px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand .brand-logo-img { height: 64px; }
.footer-brand p { color: rgba(255,255,255,0.65); margin-top: var(--sp-4); max-width: 36ch; font-size: 0.92rem; }
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0 0 var(--sp-4);
}
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-list a { color: rgba(255,255,255,0.78); }
.footer-list a:hover { color: var(--gold-bright); }
.footer-office {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: var(--sp-4);
  font-size: 0.92rem;
  color: rgba(255,255,255,0.78);
}
.footer-office strong {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  font-size: 0.78rem;
  margin-bottom: 4px;
}
.footer-office a { color: rgba(255,255,255,0.78); }
.footer-office a:hover { color: var(--gold-bright); }

.footer-social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-3);
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.78);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.65); }
.footer-bottom a:hover { color: var(--gold-bright); }
.footer-disclaimer {
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}
.footer-disclaimer p { margin: 0 0 var(--sp-3); }

/* ----------------------- Misc utility classes ------------------------------ */

.text-center { text-align: center; }
.text-right { text-align: center; }
@media (min-width: 768px) { .text-right-md { text-align: right; } }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--sp-2) !important; }
.mb-2 { margin-bottom: var(--sp-4) !important; }
.mb-3 { margin-bottom: var(--sp-5) !important; }
.mb-4 { margin-bottom: var(--sp-6) !important; }
.mt-3 { margin-top: var(--sp-5) !important; }
.mt-4 { margin-top: var(--sp-6) !important; }
.mt-5 { margin-top: var(--sp-7) !important; }
.gap-3 { gap: var(--sp-5); }
.flex-wrap { flex-wrap: wrap; }
.relative { position: relative; }

.divider-gold {
  width: 60px; height: 4px; background: var(--gold);
  border-radius: 2px;
  margin: var(--sp-5) auto;
}

/* Ornamental divider (scales of justice + gold rules) */
.ornament {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--sp-3);
  margin: var(--sp-6) auto var(--sp-5);
  width: 100%;
  max-width: 420px;
  color: var(--gold);
}
.ornament-rule {
  height: 2px;
  background: linear-gradient(90deg, transparent, currentColor 30%, currentColor 70%, transparent);
  opacity: 0.85;
  border-radius: 1px;
}
.ornament-mark {
  width: 40px; height: 40px;
  display: block;
}
.ornament-mark svg {
  width: 40px; height: 40px;
  display: block;
}
.section-dark .ornament { color: var(--gold-bright); }

/* Gold corner accents on cards (decorative) */
.card-gold-corner {
  position: relative;
}
.card-gold-corner::before,
.card-gold-corner::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold);
  pointer-events: none;
}
.card-gold-corner::before {
  top: -2px; left: -2px;
  border-right: 0; border-bottom: 0;
}
.card-gold-corner::after {
  bottom: -2px; right: -2px;
  border-left: 0; border-top: 0;
}

/* Centered narrow lead text under section titles */
.lead-narrow {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--sp-6);
}
.lead-wide {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--sp-6);
}
.creds-larger { font-size: 1.02rem; }
.flex-center { justify-content: center; }

.alarm-strip {
  background: linear-gradient(90deg, var(--alarm) 0%, #8e1f12 100%);
  color: var(--paper);
  padding: var(--sp-3) 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}
.alarm-strip a { color: var(--paper); text-decoration: underline; font-weight: 600; }
.alarm-strip a:hover { color: var(--gold-bright); }

/* Reveal animation — content is visible BY DEFAULT.
   JS opts elements into the fade by adding .js-loaded to <html>,
   then the IntersectionObserver removes opacity 0 by adding .is-visible.
   This guarantees content is always visible, even if JS fails to run
   (e.g. when opening the file via file:// in some browsers). */
.reveal { opacity: 1; transform: none; }

.js-loaded .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  will-change: transform, opacity;
}
.js-loaded .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js-loaded .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Print styles */
@media print {
  .topbar, .site-header, .mobile-call-bar, .site-footer, .hero-card, .cta-block {
    display: none !important;
  }
  body { color: #000; background: #fff; padding: 0; }
  .container { max-width: none; }
}

/* Focus styles — accessibility */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* OVI Defense — NHTSA Instructor credentials section */
.instructor-credentials {
  padding: var(--sp-9) 0;
  background: linear-gradient(160deg, #0d2240 0%, #0a1628 55%, #0a1628 100%);
  position: relative;
  overflow: hidden;
}
.instructor-credentials::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  border-radius: 2px;
}
.instructor-creds-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
  align-items: stretch;
}
@media (min-width: 960px) {
  .instructor-creds-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-7); }
}

.instructor-creds-intro .eyebrow {
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: var(--sp-3);
}
.instructor-creds-headline {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.18;
  letter-spacing: -0.005em;
  margin: 0 0 var(--sp-3);
  font-weight: 600;
}
@media (min-width: 768px) {
  .instructor-creds-headline { font-size: 2.4rem; }
}
.instructor-creds-headline .gold {
  color: var(--gold-bright);
  font-weight: 700;
  display: inline-block;
}
.instructor-creds-intro .section-rule {
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 0 0 var(--sp-4);
}
.instructor-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}
.instructor-badge-card {
  text-align: center;
  padding: var(--sp-3);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,164,55,0.22);
  border-radius: 10px;
  transition: border-color var(--transition), transform var(--transition);
}
.instructor-badge-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.instructor-badge-card img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 6px 18px -8px rgba(0,0,0,0.5);
  display: block;
  margin: 0 auto var(--sp-3);
}
.instructor-name {
  color: var(--paper) !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  margin: 0 0 4px;
  letter-spacing: 0.005em;
}
.instructor-cred {
  color: var(--gold-bright) !important;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0;
  line-height: 1.35;
}
.instructor-creds-cards {
  display: grid;
  gap: var(--sp-4);
  align-content: center;
}
.instructor-card {
  background: linear-gradient(165deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(212,164,55,0.25);
  border-radius: 12px;
  padding: var(--sp-5);
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
  box-shadow: 0 8px 26px -16px rgba(0,0,0,0.45);
}
.instructor-card::before {
  content: '';
  position: absolute;
  top: 0; left: var(--sp-5);
  width: 32px;
  height: 3px;
  background: var(--gold);
  border-radius: 0 0 2px 2px;
}
.instructor-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.section-dark .instructor-card-eyebrow,
.instructor-card-eyebrow {
  color: var(--gold-bright) !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 var(--sp-2);
}
.instructor-card-rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 0 0 var(--sp-3);
  opacity: 0.6;
}
.instructor-card p:not(.instructor-card-eyebrow) {
  color: rgba(255,255,255,0.88);
  font-size: 0.97rem;
  line-height: 1.65;
  margin: 0;
}

/* === Mobile accessibility — tap-target sizing & legibility === */
/* Ensure key interactive elements meet 36×36 minimum tap target */
.topbar-locations a,
.card-link,
.footer-office a,
.footer-col a,
.sidebar-block a,
.sidebar-list a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 0;
}
/* Bump tiny on-page text on mobile */
@media (max-width: 720px) {
  .form-disclaimer { font-size: 0.82rem; }
  .penalty-tier { font-size: 0.85rem; }
  .testimonial-source { font-size: 0.78rem; }
  .topbar a { min-height: 38px; }
  .footer-col a { min-height: 40px; padding: 4px 0; }
}
/* Generally larger penalty tier label */
.penalty-tier { font-size: 0.85rem; letter-spacing: 0.08em; }
/* Larger disclaimer */
.form-disclaimer { font-size: 0.82rem; line-height: 1.55; }

/* Final tiny-text bumps for mobile legibility — high specificity */
.hero-card .hero-card-eyebrow { font-size: 0.85rem; }
.penalty-card .penalty-tier { font-size: 0.85rem; letter-spacing: 0.08em; }
.testimonial .testimonial-source { font-size: 0.78rem; }
@media (max-width: 720px) {
  form .form-disclaimer { font-size: 0.85rem; line-height: 1.55; }
  .penalty-card .penalty-tier { font-size: 0.85rem; letter-spacing: 0.08em; }
}

/* === MFCDUI Final — surreal/cinematic photo styling === */
.scene-figure {
  margin: var(--sp-6) 0 var(--sp-6);
  position: relative;
}
.scene-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  border: 1px solid var(--rule);
  filter: contrast(1.05) saturate(0.95);
  box-shadow: 0 24px 50px -28px rgba(10,22,40,0.55), 0 6px 14px -8px rgba(10,22,40,0.18);
}
.scene-figure::before {
  content: '';
  position: absolute;
  inset: -10px;
  border: 1px solid var(--gold);
  border-radius: 10px;
  pointer-events: none;
  opacity: 0.5;
}
.scene-figure figcaption {
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--slate);
  font-style: italic;
  padding-left: 12px;
  border-left: 2px solid var(--gold);
  line-height: 1.55;
}

/* Cinematic dark hero-style figure with deep vignette */
.scene-figure-dramatic {
  margin: var(--sp-6) 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.scene-figure-dramatic::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(10,22,40,0.50) 100%);
  pointer-events: none;
}
.scene-figure-dramatic img {
  width: 100%;
  height: auto;
  display: block;
  filter: contrast(1.08) saturate(0.92) brightness(0.92);
}

/* "Your Line of Defense" decorative inline graphic */
.line-of-defense-inline {
  display: block;
  margin: var(--sp-6) auto;
  max-width: 320px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 18px 36px -16px rgba(0,0,0,0.6);
  overflow: hidden;
}
.line-of-defense-inline img {
  width: 100%;
  height: auto;
  display: block;
}
.line-of-defense-frame {
  text-align: center;
  margin: var(--sp-7) auto;
}
.line-of-defense-frame .frame-caption {
  margin-top: var(--sp-3);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
}

/* Surreal lights/highway hero-strip for section dividers */
.dramatic-strip {
  position: relative;
  margin: var(--sp-7) 0;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7);
}
.dramatic-strip img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: contrast(1.1) brightness(0.78) saturate(1.05);
}
.dramatic-strip .strip-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(90deg, rgba(10,22,40,0.65) 0%, rgba(10,22,40,0.35) 50%, rgba(10,22,40,0.75) 100%);
}
.dramatic-strip .strip-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: 0.04em;
  text-align: center;
  text-shadow: 0 4px 14px rgba(0,0,0,0.8);
  padding: 0 var(--sp-5);
  z-index: 2;
  pointer-events: none;
}
.dramatic-strip .strip-text .gold {
  color: var(--gold-bright);
}
@media (max-width: 720px) {
  .dramatic-strip img { height: 160px; }
  .dramatic-strip .strip-text { font-size: 1.2rem; }
}

/* === Contact-form status messages === */
.form-status { margin-top: var(--sp-3); font-size: 0.95rem; line-height: 1.55; font-weight: 500; }
.form-status:empty { display: none; }
.form-status-success { background: rgba(46,134,90,0.12); border-left: 4px solid #2f855a; color: #1a4d34; padding: 12px 16px; border-radius: 4px; }
.form-status-error { background: rgba(197,48,48,0.10); border-left: 4px solid #c53030; color: #7a1a1a; padding: 12px 16px; border-radius: 4px; }

/* ============================================================
   V7 AUDIT ADDITIONS — 2026-05-24
   - Sticky mobile CTA bar (5b)
   - Trust signal bar (6c)
   - Quick Facts AI-citation aside (5h)
   - "The Short Version" AI summary block (7a)
   - County-faq, county-courts, county-history, county-contact
   - Counsel link cluster (offense ↔ county internal linking)
   ============================================================ */

/* ----- 5b Sticky mobile CTA bar ----- */
.mobile-sticky-cta { display: none; }
@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 999; background: var(--navy, #0B2545);
    padding: 10px 8px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.22);
    border-top: 2px solid var(--gold-bright, #C9A227);
  }
  .mobile-sticky-cta a {
    flex: 1; text-align: center; margin: 0 4px; padding: 14px 4px;
    font-weight: bold; color: #fff !important; text-decoration: none;
    border-radius: 6px; font-size: 15px; letter-spacing: 0.02em;
    text-transform: uppercase;
  }
  .mobile-sticky-cta a.call { background: var(--gold-bright, #C9A227); color: #0B2545 !important; }
  .mobile-sticky-cta a.text { background: #1E4FAF; }
  body { padding-bottom: 80px; }
}

/* ----- 6c Trust signal bar ----- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--sp-4, 1rem);
  margin: var(--sp-4, 1rem) auto var(--sp-5, 1.5rem);
  padding: var(--sp-4, 1rem) var(--sp-5, 1.5rem);
  background: linear-gradient(135deg, #F7F4EC 0%, #FFF 100%);
  border-top: 3px solid var(--gold-bright, #C9A227);
  border-bottom: 1px solid #E7E2D2;
  border-radius: 4px;
  max-width: 1100px;
  text-align: center;
}
.trust-bar > div {
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--navy, #0B2545);
  padding: 4px 6px;
}
.trust-bar > div strong {
  display: block;
  font-family: var(--font-display, Georgia, serif);
  font-size: 1.65rem;
  color: var(--gold-bright, #C9A227);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}

/* ----- 5h Quick Facts (AI/GEO citation aside) ----- */
.quick-facts {
  background: #F8F4E7;
  border-left: 5px solid var(--gold-bright, #C9A227);
  padding: var(--sp-4, 1rem) var(--sp-5, 1.5rem);
  margin: var(--sp-5, 1.5rem) 0;
  border-radius: 0 4px 4px 0;
}
.quick-facts h3 {
  margin: 0 0 var(--sp-3, 0.75rem);
  font-family: var(--font-display, Georgia, serif);
  font-size: 1.25rem;
  color: var(--navy, #0B2545);
}
.quick-facts ul {
  list-style: none;
  margin: 0; padding: 0;
}
.quick-facts li {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(11, 37, 69, 0.15);
  font-size: 0.96rem;
  line-height: 1.5;
}
.quick-facts li:last-child { border-bottom: none; }
.quick-facts li strong { color: var(--navy, #0B2545); }
.quick-facts .last-updated {
  margin-top: var(--sp-3, 0.75rem);
  font-size: 0.82rem;
  color: #5a5a5a;
  font-style: italic;
}

/* ----- 7a AI summary / "Short Version" block ----- */
.ai-summary {
  background: var(--navy, #0B2545);
  color: #fff;
  padding: var(--sp-5, 1.5rem);
  margin: var(--sp-6, 2rem) 0 var(--sp-5, 1.5rem);
  border-radius: 6px;
  border-left: 5px solid var(--gold-bright, #C9A227);
}
.ai-summary h2 {
  color: var(--gold-bright, #C9A227);
  font-family: var(--font-display, Georgia, serif);
  margin: 0 0 var(--sp-3, 0.75rem);
  font-size: 1.45rem;
  letter-spacing: 0.01em;
}
.ai-summary p { margin: 0 0 0.6rem; line-height: 1.55; font-size: 0.97rem; }
.ai-summary p:last-child { margin-bottom: 0; }
.ai-summary strong { color: var(--gold-bright, #C9A227); }
.ai-summary a { color: #FFE9A3; text-decoration: underline; }

/* ----- County section helpers ----- */
.county-courts, .county-faq-section, .county-history, .county-contact, .county-counsel-links {
  margin: var(--sp-5, 1.5rem) 0;
}
.county-counsel-links {
  background: #F4F1E8;
  padding: var(--sp-4, 1rem) var(--sp-5, 1.5rem);
  border-radius: 4px;
  border-left: 4px solid var(--navy, #0B2545);
}
.county-counsel-links h3 {
  margin: 0 0 var(--sp-3, 0.75rem);
  color: var(--navy, #0B2545);
  font-size: 1.15rem;
}
.county-counsel-links ul {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 6px 18px; margin: 0; padding: 0; list-style: none;
}
.county-counsel-links li { padding: 3px 0; }
.county-counsel-links a {
  color: var(--navy, #0B2545); text-decoration: none; border-bottom: 1px dotted currentColor;
}
.county-counsel-links a:hover { color: var(--gold-bright, #C9A227); }

/* ----- Friction-reduced 3-field form ----- */
.intake-3field { max-width: 520px; margin: 1rem 0; }
.intake-3field label {
  display: block; margin-bottom: 14px; font-weight: 600;
  color: var(--navy, #0B2545); font-size: 0.95rem;
}
.intake-3field input, .intake-3field select {
  display: block; width: 100%; padding: 10px 12px;
  margin-top: 6px; border: 1px solid #C9C2AC; border-radius: 4px;
  font-size: 1rem; font-family: inherit; background: #fff;
}
.intake-3field button {
  width: 100%; padding: 14px 18px; background: var(--gold-bright, #C9A227);
  color: var(--navy, #0B2545); border: none; border-radius: 4px;
  font-size: 1.1rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; cursor: pointer;
}
.intake-3field button:hover { background: #B6901E; }
.intake-3field .form-note {
  margin-top: 10px; font-size: 0.82rem; color: #555; line-height: 1.4;
}

/* ============================================================
   V7 AUDIT — CONTRAST FIXES (2026-05-24)
   The new hero copy and the .cta-block on /first-24-hours.html
   contained <a> and <strong> tags that fell back to the default
   blue (var(--blue)) on dark navy backgrounds. Force gold/white.
   ============================================================ */

/* Hero sub-hero links + bolds */
.hero-subhead a,
.hero-subhead a:link,
.hero-subhead a:visited,
.sub-hero a,
.sub-hero a:link,
.sub-hero a:visited {
  color: var(--gold-bright, #C9A227);
  text-decoration: underline;
  text-decoration-color: rgba(201,162,39,0.55);
}
.hero-subhead a:hover,
.sub-hero a:hover { color: #FFE9A3; text-decoration-color: #FFE9A3; }
.hero-subhead strong,
.sub-hero strong { color: #fff; }

/* CTA-block (dark navy gradient) — fix missing h3, a, strong, ul/li colors */
.cta-block h3 {
  color: var(--paper, #fff);
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  margin: 0 0 var(--sp-3, 0.75rem);
}
.cta-block a,
.cta-block a:link,
.cta-block a:visited {
  color: var(--gold-bright, #C9A227);
  text-decoration: underline;
  text-decoration-color: rgba(201,162,39,0.55);
}
.cta-block a:hover { color: #FFE9A3; text-decoration-color: #FFE9A3; }
.cta-block strong { color: #fff; }
.cta-block ul, .cta-block ol { color: rgba(255,255,255,0.85); }
.cta-block li { color: rgba(255,255,255,0.88); }

/* .page-hero default <a> is already gold per existing rule (line 1248),
   but make sure breadcrumbs links stay light enough */
.page-hero .breadcrumbs a {
  color: rgba(255,255,255,0.82);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.35);
}
.page-hero .breadcrumbs a:hover { color: var(--gold-bright, #C9A227); }
.page-hero .breadcrumbs .current { color: rgba(255,255,255,0.95); font-weight: 600; }

/* On the new /first-24-hours.html, the "What Comes Next" link list
   sits inside <article class="article"> on light bg — confirm dark color */
.article ul li a,
.article ol li a { color: var(--blue, #1E4FAF); }
.article ul li a:hover { color: var(--gold-deep, #B6901E); }

/* ============================================================
   V7 AUDIT — HARDENED CONTRAST LAYER (2026-05-24)
   First contrast pass didn't fully resolve the reported dark-on-dark
   text on the homepage hero. This layer uses high-specificity and
   !important fallbacks so the hero stays readable regardless of
   cascade conflicts from the legacy .hero rules.
   ============================================================ */

/* 1. Homepage hero: force every text element to be light. The .hero
      section has a dark navy gradient background. Override every
      inheritor that might fall back to a dark color. */
section.hero,
section.hero p,
section.hero li,
section.hero span,
section.hero em { color: rgba(255,255,255,0.92) !important; }

section.hero .hero-headline,
section.hero h1,
section.hero h2:not(.hero-card h2) { color: #ffffff !important; }

section.hero .hero-headline .gold,
section.hero .gold { color: var(--gold-bright, #f0c050) !important; }

section.hero .hero-eyebrow { color: var(--gold-bright, #f0c050) !important; }

section.hero .hero-subhead,
section.hero p.sub-hero { color: rgba(255,255,255,0.92) !important; }

section.hero .hero-subhead strong,
section.hero p.sub-hero strong { color: #ffffff !important; }

section.hero .hero-subhead a,
section.hero .hero-subhead a:link,
section.hero .hero-subhead a:visited,
section.hero p.sub-hero a,
section.hero p.sub-hero a:link,
section.hero p.sub-hero a:visited {
  color: var(--gold-bright, #f0c050) !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(240,192,80,0.55) !important;
}
section.hero .hero-subhead a:hover,
section.hero p.sub-hero a:hover { color: #FFE9A3 !important; }

/* 2. Trust bar: it sits INSIDE the dark hero. The cream gradient
      background MUST render. Add a solid-color fallback before the
      gradient so older renderers still get a readable card, and
      force the navy text color to win against any cascade. */
section.hero .trust-bar,
.trust-bar {
  background-color: #F7F4EC !important;
  background-image: linear-gradient(135deg, #F7F4EC 0%, #FFFFFF 100%) !important;
  color: var(--navy, #0d2240) !important;
  border-top: 3px solid var(--gold-bright, #f0c050) !important;
}
section.hero .trust-bar > div,
.trust-bar > div { color: var(--navy, #0d2240) !important; }
section.hero .trust-bar > div strong,
.trust-bar > div strong { color: var(--gold-deep, #a07e1f) !important; }

/* 3. Hero-trust list items (the small bullet row under the CTA pills) */
section.hero .hero-trust,
section.hero .hero-trust-item { color: rgba(255,255,255,0.90) !important; }

/* 4. Hero-card (the white card on the right): its text stays dark
      because the card itself is white. Force that. */
.hero-card,
.hero-card * { color: var(--ink, #0A1628); }
.hero-card .hero-card-eyebrow { color: var(--gold-deep, #a07e1f) !important; }
.hero-card h2 { color: var(--ink, #0A1628) !important; }
.hero-card p { color: var(--slate, #5a6476) !important; }
.hero-card .form-label { color: var(--ink, #0A1628) !important; }
.hero-card .form-input,
.hero-card .form-select,
.hero-card .form-textarea {
  background: #fff !important;
  color: var(--ink, #0A1628) !important;
}
.hero-card .form-disclaimer { color: var(--slate, #5a6476) !important; }

/* 5. AI summary (navy gradient block) — already styled but lock it
      to white text with gold accents in case of inheritance issues */
section.ai-summary,
section.ai-summary p,
section.ai-summary li { color: #ffffff !important; }
section.ai-summary h2,
section.ai-summary strong { color: var(--gold-bright, #f0c050) !important; }
section.ai-summary a,
section.ai-summary a:link,
section.ai-summary a:visited { color: #FFE9A3 !important; text-decoration: underline !important; }
section.ai-summary a:hover { color: #ffffff !important; }

/* 6. CTA block (navy gradient on first-24-hours and elsewhere) */
aside.cta-block,
.cta-block,
.cta-block p,
.cta-block li { color: rgba(255,255,255,0.92) !important; }
.cta-block h2,
.cta-block h3,
.cta-block strong { color: #ffffff !important; }
.cta-block a,
.cta-block a:link,
.cta-block a:visited { color: var(--gold-bright, #f0c050) !important; text-decoration: underline !important; }
.cta-block a strong { color: var(--gold-bright, #f0c050) !important; }
.cta-block a:hover { color: #FFE9A3 !important; }

/* 7. Page-hero (the dark hero on inner pages like first-24-hours) */
section.page-hero,
section.page-hero p,
section.page-hero li { color: rgba(255,255,255,0.92) !important; }
section.page-hero h1,
section.page-hero h2 { color: #ffffff !important; }
section.page-hero .lead { color: rgba(255,255,255,0.95) !important; }
section.page-hero .lead strong { color: #ffffff !important; }
section.page-hero a,
section.page-hero a:link,
section.page-hero a:visited { color: var(--gold-bright, #f0c050) !important; }
section.page-hero .breadcrumbs,
section.page-hero .breadcrumbs span,
section.page-hero .breadcrumbs .sep { color: rgba(255,255,255,0.65) !important; }
section.page-hero .breadcrumbs a { color: rgba(255,255,255,0.85) !important; text-decoration: underline !important; }
section.page-hero .breadcrumbs .current { color: rgba(255,255,255,0.95) !important; }

/* ===========================================================================
   MFC CRIMINAL DEFENSE — additive components (charge tables, ORC tags, etc.)
   Appended to the shared OVI design system; reuses the same tokens.
   =========================================================================== */
.topbar-links { display:flex; gap:.6rem; align-items:center; flex-wrap:wrap; }
.topbar-links a { color:var(--gold-bright); font-weight:600; }
.topbar-links a:hover { color:#fff; }

.orc-cite {
  display:inline-flex; align-items:center; gap:.5rem;
  font-family:var(--font-display); font-weight:600; letter-spacing:.03em;
  font-size:.82rem; text-transform:uppercase; color:var(--gold-deep);
  background:rgba(212,164,55,.12); border:1px solid rgba(212,164,55,.4);
  padding:.35rem .7rem; border-radius:999px; margin-bottom:1rem;
}

/* Charge classification table */
.charge-table { width:100%; border-collapse:collapse; margin:1.25rem 0 1rem; font-size:.97rem; }
.charge-table caption { text-align:left; font-family:var(--font-display); font-weight:600; color:var(--navy); margin-bottom:.5rem; font-size:1.05rem; }
.charge-table th, .charge-table td { text-align:left; padding:.7rem .85rem; border-bottom:1px solid var(--rule); vertical-align:top; }
.charge-table thead th { background:var(--navy); color:#fff; font-family:var(--font-display); font-weight:600; letter-spacing:.02em; border-bottom:none; }
.charge-table thead th:first-child { border-top-left-radius:var(--radius); }
.charge-table thead th:last-child { border-top-right-radius:var(--radius); }
.charge-table tbody tr:nth-child(even) { background:var(--ivory); }
.charge-table td:nth-child(2) { font-weight:600; color:var(--alarm); white-space:nowrap; }
.charge-table .tnote { font-size:.88rem; color:var(--slate); margin:.35rem 0 0; }
@media (max-width:640px){
  .charge-table, .charge-table thead, .charge-table tbody, .charge-table th, .charge-table td, .charge-table tr { display:block; }
  .charge-table thead { display:none; }
  .charge-table tr { border:1px solid var(--rule); border-radius:var(--radius); margin-bottom:.75rem; padding:.4rem .2rem; background:#fff; }
  .charge-table td { border-bottom:1px dashed var(--rule); }
  .charge-table tr td:last-child { border-bottom:none; }
  .charge-table td::before { content:attr(data-label); display:block; font-size:.72rem; text-transform:uppercase; letter-spacing:.04em; color:var(--slate-light); font-weight:600; }
}

.law-note {
  margin-top:1.5rem; padding:1rem 1.15rem; border-left:4px solid var(--gold);
  background:var(--ivory); border-radius:0 var(--radius) var(--radius) 0;
  font-size:.9rem; color:var(--slate);
}
.defense-list li { margin-bottom:.55rem; }
.offense-card-orc { display:block; font-size:.78rem; text-transform:uppercase; letter-spacing:.04em; color:var(--gold-deep); font-weight:600; margin-bottom:.3rem; font-family:var(--font-display); }

/* ===========================================================================
   MFC CRIMINAL DEFENSE — interior-page boldness pass
   Strengthens hero + article heading hierarchy on offense, county, hub &
   core pages so they read as boldly as the homepage.
   =========================================================================== */
.page-hero h1 {
  font-weight: 700;
  font-size: clamp(2.15rem, 4.8vw, 3.3rem);
  letter-spacing: -0.01em;
  line-height: 1.08;
}
.page-hero .hero-eyebrow { color: var(--gold-bright); font-weight: 600; }
.page-hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 4px; background: var(--gold); z-index: 2;
}
/* Bolder, gold-ruled section headings inside long-form articles */
.article h2 {
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  border-bottom: 2px solid var(--gold);
  padding-bottom: var(--sp-3);
  letter-spacing: 0.005em;
}
.article h3 {
  font-weight: 600;
  color: var(--ink);
  font-size: 1.32rem;
}
/* Make the section eyebrows on light sections punchier */
.eyebrow, .eyebrow-on-light {
  font-weight: 700;
  color: var(--gold-deep);
}
/* Section titles on interior/category pages */
.section-title { font-weight: 700; color: var(--navy); }
/* Hub/offense cards: stronger heading */
.card h3 { font-weight: 600; color: var(--navy); }
.offense-card-orc { color: var(--gold-deep); }
/* Homepage hero: use the rich gradient only (no external hero photo dependency) */
.hero {
  background:
    radial-gradient(ellipse at 78% 0%, rgba(212,164,55,0.18) 0%, transparent 55%),
    linear-gradient(135deg, var(--ink) 0%, var(--navy) 55%, var(--blue) 100%);
}

/* ===========================================================================
   MFC CRIMINAL DEFENSE — button contrast fixes
   Outline buttons default to white text (for dark backgrounds); on light
   sections give them dark text. Ghost buttons default to navy text (for light
   backgrounds); on dark heroes/sections give them white text.
   =========================================================================== */
.section-light .btn-outline,
.section-ivory .btn-outline {
  color: var(--navy);
  border-color: var(--navy);
  background: transparent;
}
.section-light .btn-outline:hover,
.section-ivory .btn-outline:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.hero .btn-ghost,
.page-hero .btn-ghost,
.section-dark .btn-ghost,
.cta-block .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.65);
  background: transparent;
}
.hero .btn-ghost:hover,
.page-hero .btn-ghost:hover,
.section-dark .btn-ghost:hover,
.cta-block .btn-ghost:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
/* Slightly stronger weight on all buttons for legibility */
.btn { font-weight: 600; }

/* ===========================================================================
   MFC CRIMINAL DEFENSE — SOLID secondary buttons (max legibility)
   Replaces the transparent outline/ghost look with high-contrast solid fills.
   Appended last so these rules win the cascade.
   =========================================================================== */
.btn-outline, .btn-ghost {
  background: var(--navy) !important;
  color: #ffffff !important;
  border-color: var(--navy) !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
}
.btn-outline:hover, .btn-ghost:hover {
  background: var(--gold) !important;
  color: var(--ink) !important;
  border-color: var(--gold) !important;
}
/* On dark backgrounds: solid WHITE button with navy text for strong contrast */
.hero .btn-outline, .hero .btn-ghost,
.page-hero .btn-outline, .page-hero .btn-ghost,
.section-dark .btn-outline, .section-dark .btn-ghost,
.cta-block .btn-outline, .cta-block .btn-ghost,
.sidebar-block-dark .btn-outline, .sidebar-block-dark .btn-ghost {
  background: #ffffff !important;
  color: var(--navy) !important;
  border-color: #ffffff !important;
}
.hero .btn-outline:hover, .hero .btn-ghost:hover,
.page-hero .btn-outline:hover, .page-hero .btn-ghost:hover,
.section-dark .btn-outline:hover, .section-dark .btn-ghost:hover,
.cta-block .btn-outline:hover, .cta-block .btn-ghost:hover,
.sidebar-block-dark .btn-outline:hover, .sidebar-block-dark .btn-ghost:hover {
  background: var(--gold) !important;
  color: var(--ink) !important;
  border-color: var(--gold) !important;
}
/* Gold primary: ensure dark, heavy text */
.btn-primary { color: var(--ink) !important; font-weight: 700 !important; }

/* ===========================================================================
   MFC CRIMINAL DEFENSE — dark-card text contrast fix
   Cards on dark sections must have light headings/text (an earlier rule forced
   all .card h3 to navy, making them invisible on dark cards).
   =========================================================================== */
.card-on-dark h3,
.section-dark .card h3,
.section-dark .card-on-dark h3 {
  color: #ffffff !important;
}
.card-on-dark p,
.section-dark .card p,
.section-dark .card-on-dark p {
  color: rgba(255,255,255,0.86) !important;
}
.card-on-dark,
.section-dark .card {
  border-color: rgba(255,255,255,0.14);
}

/* ============================================================
   AFTER-HOURS TEXT-NOW BUTTON (2026-07) — mirrors mfcdui.com
   Desktop: floating pill bottom-right. Mobile: hidden (the
   sticky CTA bar's TEXT NOW button covers mobile).
   ============================================================ */
.text-fab {
  display: none;
}
@media (min-width: 769px) {
  .text-fab {
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 998;
    background: #1E4FAF;
    color: #fff !important;
    text-decoration: none !important;
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(10, 22, 40, 0.35);
    max-width: 290px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  }
  .text-fab:hover {
    background: #163C8C;
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(10, 22, 40, 0.45);
    color: #fff !important;
  }
  .text-fab-main {
    font-family: var(--font-display, Oswald, sans-serif);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    color: #fff !important;
  }
  .text-fab-sub {
    margin-top: 4px;
    font-size: 0.78rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.85) !important;
  }
}
/* Keep the FAB clear of the print layout */
@media print { .text-fab { display: none !important; } }

/* Mobile sticky TEXT NOW button — stacked label + after-hours note */
.mobile-sticky-cta a.text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
}
.mobile-sticky-cta a.text small {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  opacity: 0.85;
  text-transform: none;
}

/* 2026-10-19 SEO/GEO: reviewed-by line under page H1 */
.page-byline { margin-top: .75rem; font-size: .9rem; opacity: .85; }
.page-byline a { color: inherit; text-decoration: underline; }
