/* DUI-RICH site styles ("Veteran Standard" design) */
:root {
  --field: #1E2620;
  --field-2: #263027;
  --field-3: #2F3B30;
  --line-d: #3A473B;
  --sand: #F1E4C7;
  --sand-2: #F8F1E0;
  --sand-line: #BFB8A6;
  --gold: #FFCC02;
  --gold-2: #FFDA47;
  --gold-ink: #5C4700;
  --ink: #161B17;
  --muted-d: #BFB8A6;
  --quiet-d: #9AA394;
  --muted-l: #45493F;
  --alert: #E0703A;
  --good: #8FBF7A;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --sans: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--field); color: var(--sand); font-family: var(--sans); font-size: 17.5px; line-height: 1.6; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-2); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 0.95; letter-spacing: 0; text-wrap: balance; }
p, ul, ol, dl, dd { margin: 0; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--ink); padding: 12px 18px; z-index: 20; }
.skip-link:focus { left: 16px; top: 16px; }
.tag { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.no-js-hide { display: none; }
.js .no-js-hide { display: flex; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 2px; font: 700 18px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold, .btn-primary { background: var(--gold); color: var(--ink); }
.btn-gold:hover, .btn-primary:hover { background: var(--gold-2); color: var(--ink); }
.btn-line { background: transparent; color: var(--sand); border-color: #6F7C6B; }
.btn-line:hover { border-color: var(--sand); color: #fff; }
.btn-dark { background: var(--ink); color: var(--sand); }
.btn-dark:hover { background: #000; color: #fff; }

/* Alert + header (shared markup) */
.alertbar { background: var(--gold); color: var(--ink); font: 600 14px var(--sans); }
.alertbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-block: 8px; }
.alertbar span { display: inline-flex; align-items: center; gap: 10px; }
.alertbar strong { font: 700 15px var(--display); letter-spacing: 0.12em; text-transform: uppercase; }
.alertbar a { color: var(--ink); font-weight: 700; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #8A2A0A; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(30,38,32,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-d); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; padding-block: 14px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--sand); line-height: 1; }
.brand:hover { color: var(--sand); }
.brand-mark { font: 800 30px/1 var(--display); letter-spacing: 0.04em; }
.brand-mark b { color: var(--gold); }
.brand-sub { font: 600 12px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.site-nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0 22px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; font: 700 16px var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-d); text-decoration: none; }
.site-nav a:hover { color: var(--sand); }
.site-nav a[aria-current] { color: var(--gold); box-shadow: inset 0 -3px 0 var(--gold); }
.header-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; margin-left: auto; background: transparent; border: 1px solid var(--line-d); border-radius: 2px; color: var(--sand); font: 700 16px var(--display); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.nav-toggle:hover { border-color: var(--gold); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: var(--gold); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.header-actions .btn { min-height: 44px; padding: 10px 16px; font-size: 16px; }

/* Hero */
.hero { position: relative; padding-block: 72px 0; border-bottom: 1px solid var(--line-d); background:
  repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,204,2,.05) 39px 40px),
  repeating-linear-gradient(90deg, transparent 0 39px, rgba(255,204,2,.05) 39px 40px); }
.hero-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; padding-bottom: 72px; }
.badge-line { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; border: 1.5px solid var(--gold); padding: 7px 14px; font: 700 15px var(--display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.badge-line svg { width: 18px; height: 18px; }
.hero h1 { font-size: clamp(56px, 9vw, 112px); line-height: 0.88; }
.hero h1 span { color: var(--gold); display: block; }
.hero .lead { font-size: 19.5px; color: var(--muted-d); max-width: 600px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { flex: 0 1 440px; min-width: 0; position: relative; padding-top: var(--badge-offset, 62px); }
.hero-photo::before { content: ""; position: absolute; left: -24px; right: 40px; top: calc(var(--badge-offset, 62px) + 40px); bottom: 0; background: var(--field-3); }
.hero-photo img { position: relative; width: 100%; height: 100%; min-height: 560px; object-fit: cover; object-position: center top; filter: grayscale(1) contrast(1.05); -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
.nameplate { position: absolute; left: -16px; bottom: 36px; background: var(--sand); color: var(--ink); padding: 12px 18px; border-left: 6px solid var(--gold); }
.nameplate strong { display: block; font: 800 22px/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.nameplate span { font: 600 13px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-l); }

/* AO strip */
.ao { background: var(--gold); color: var(--ink); overflow: hidden; }
.ao ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; padding-block: 16px; font: 700 18px var(--display); letter-spacing: 0.12em; text-transform: uppercase; }
.ao li:first-child { opacity: .75; }
.ao li + li:not(:nth-child(2))::before { content: "◆"; font-size: 9px; margin-right: 26px; vertical-align: middle; opacity: .6; }

/* Section frame */
.sec { padding-block: 96px; border-bottom: 1px solid var(--line-d); scroll-margin-top: 80px; }
.sec-sand { background: var(--sand); color: var(--ink); border-bottom: 0; }
.sec-sand .tag { color: var(--gold-ink); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 44px; }
.sec-head > div { display: flex; flex-direction: column; gap: 14px; flex: 1 1 520px; max-width: 760px; }
.sec-head h2 { font-size: clamp(42px, 5.6vw, 72px); }
.sec-head > p { flex: 0 1 400px; color: var(--muted-d); font-size: 17.5px; }
.sec-sand .sec-head > p { color: var(--muted-l); }

/* Mission clock (LegalRetain license tool sits in .console) */
.mission { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.console { flex: 1.5 1 520px; min-width: 0; background: var(--field-2); border: 1px solid var(--line-d); position: relative; }
.console::before, .console::after { content: ""; position: absolute; width: 22px; height: 22px; border-color: var(--gold); border-style: solid; }
.console::before { top: -1px; left: -1px; border-width: 3px 0 0 3px; }
.console::after { bottom: -1px; right: -1px; border-width: 0 3px 3px 0; }
.brief { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 28px; border: 1px solid var(--line-d); }
.brief h3 { font-size: 30px; color: var(--gold); }
.brief p { color: var(--muted-d); }
.fine { font-size: 13.5px; color: var(--quiet-d); }

/* Orders (checklist) */
.orders-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.checklist { flex: 999 1 540px; min-width: 0; list-style: none; padding: 0; display: flex; flex-direction: column; gap: 2px; counter-reset: ord; }
.checklist li { counter-increment: ord; }
.check { display: flex; gap: 18px; align-items: center; background: var(--sand-2); border-left: 6px solid var(--sand-line); padding: 16px 20px; cursor: pointer; }
.check::before { content: "0" counter(ord); font: 800 30px/1 var(--display); color: var(--sand-line); width: 34px; flex: none; }
.check input { order: 3; margin-left: auto; appearance: none; -webkit-appearance: none; flex: none; width: 30px; height: 30px; border: 2px solid var(--ink); border-radius: 2px; background: #fff; display: grid; place-items: center; cursor: pointer; }
.check input::after { content: ""; width: 13px; height: 7px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(-45deg) translate(1px, -2px); opacity: 0; }
.check input:checked { background: var(--gold); }
.check input:checked::after { opacity: 1; }
.check-text { display: flex; flex-direction: column; gap: 2px; }
.check-text strong { font: 700 22px/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.check-text span { font-size: 15.5px; color: var(--muted-l); }
.check:has(input:checked) { border-left-color: var(--gold); }
.check:has(input:checked)::before { color: var(--gold-ink); }
.check:has(input:checked) strong { text-decoration: line-through; text-decoration-thickness: 2px; }
.status-card { flex: 1 1 300px; min-width: 0; position: sticky; top: 100px; background: var(--field); color: var(--sand); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.status-card .tag { color: var(--gold); }
.status-card .count { font: 800 76px/0.9 var(--display); }
.status-card .of { font-size: 36px; color: var(--quiet-d); }
.progress-bar { display: block; height: 12px; background: var(--field-3); }
.progress-bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .4s ease; }
.status-card p { color: var(--muted-d); font-size: 15px; }

/* Phases (protocol) */
.phases { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 2px solid var(--gold); counter-reset: ph; }
.phases li { counter-increment: ph; position: relative; padding: 30px 26px 8px 0; display: flex; flex-direction: column; gap: 10px; }
.phases li::before { content: ""; position: absolute; top: -9px; left: 0; width: 16px; height: 16px; background: var(--gold); transform: rotate(45deg); }
.phases .when { font: 700 15px var(--display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.phases .when::before { content: "Phase " counter(ph) " · "; color: var(--quiet-d); }
.phases h3 { font-size: 30px; }
.phases p { color: var(--muted-d); font-size: 16px; }

/* Service record */
.record-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.record-photo { flex: 1 1 320px; max-width: 420px; position: relative; }
.record-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.record-photo .stamp { position: absolute; left: -12px; top: 22px; background: var(--ink); color: var(--gold); font: 800 18px/1.1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; padding: 12px 16px; }
.record-body { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.record-body > p { font-size: 18.5px; color: var(--muted-l); }
.service { list-style: none; padding: 0; display: flex; flex-direction: column; }
.service li { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 4px 20px; padding: 16px 0; border-top: 1px solid var(--sand-line); }
.service li:last-child { border-bottom: 1px solid var(--sand-line); }
.service .yr { font: 800 22px/1.1 var(--display); color: var(--gold-ink); text-transform: uppercase; }
.service strong { display: block; font: 700 22px/1.15 var(--display); text-transform: uppercase; }
.service span { font-size: 15.5px; color: var(--muted-l); }
.service li.now .yr { color: var(--ink); background: var(--gold); justify-self: start; padding: 2px 8px; }
.ribbons { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.ribbon { background: var(--ink); color: var(--sand); padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.ribbon b { font: 800 30px/1 var(--display); color: var(--gold); text-transform: uppercase; }
.ribbon span { font-size: 13.5px; color: var(--muted-d); line-height: 1.35; }

/* Debrief (deconstructor) */
.decon { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.report { flex: 999 1 560px; min-width: 0; background: var(--sand-2); color: #23201A; padding: 30px; border-top: 8px solid var(--gold); }
.report-head { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; font: 700 14px var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: #6B6355; border-bottom: 1px solid var(--sand-line); padding-bottom: 12px; margin-bottom: 16px; }
.report-body { font: 15.5px/2 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.flag { font: inherit; color: inherit; background: #FFF0A8; border: 0; border-bottom: 2px solid var(--gold-ink); padding: 1px 3px; cursor: pointer; }
.flag:hover { background: var(--gold-2); }
.flag[aria-pressed="true"] { background: var(--ink); color: var(--gold); border-bottom-color: var(--gold); }
.flag.found:not([aria-pressed="true"]) { background: #DCE6D2; border-bottom-color: #3D6B2E; }
.decon-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.decon-score { display: flex; justify-content: space-between; align-items: baseline; font: 700 15px var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--quiet-d); border-bottom: 1px solid var(--line-d); padding-bottom: 10px; }
.decon-score strong { font: 800 34px var(--display); color: var(--gold); }
.note-empty { color: var(--muted-d); }
.note { background: var(--field-2); border-left: 4px solid var(--gold); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.note h3 { font-size: 28px; text-transform: none; font-weight: 700; }
.note dl { display: flex; flex-direction: column; gap: 10px; }
.note dt { font: 700 14px var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.note dd { font-size: 15.5px; color: var(--muted-d); line-height: 1.55; }
.decon-disclaimer { font-size: 13px; color: var(--quiet-d); }

/* Protect + charges */
.protect { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2px; background: var(--line-d); border: 2px solid var(--line-d); }
.protect div { background: var(--field); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.protect .icon { width: 46px; height: 46px; border: 2px solid var(--gold); color: var(--gold); display: grid; place-items: center; transform: rotate(45deg); margin: 6px 0 12px 6px; }
.protect .icon svg { width: 22px; height: 22px; transform: rotate(-45deg); }
.protect h3 { font-size: 30px; }
.protect p { color: var(--muted-d); font-size: 16px; }
.charges { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px; }
.charges a { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--sand-2); color: var(--ink); text-decoration: none; padding: 16px 18px; border-left: 4px solid var(--gold); font: 700 21px var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.charges a::after { content: "›"; font-size: 28px; line-height: 1; color: var(--gold-ink); }
.charges a:hover { background: var(--ink); color: var(--sand); }
.charges a:hover::after { color: var(--gold); }

/* FAQ */
.faq { max-width: 920px; border-top: 2px solid var(--gold); }
.faq details { border-bottom: 1px solid var(--line-d); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 700 26px/1.15 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; border: 2px solid var(--gold); color: var(--gold); display: grid; place-items: center; font: 700 22px/1 var(--sans); }
.faq details[open] summary::after { content: "–"; background: var(--gold); color: var(--ink); }
.faq .answer { padding: 0 0 24px; color: var(--muted-d); font-size: 17.5px; max-width: 760px; }

/* Result + office */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.panel { background: var(--sand-2); color: var(--ink); display: flex; flex-direction: column; }
.panel-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.panel h3 { font-size: 36px; }
.panel p { color: var(--muted-l); }
.panel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.result-tag { align-self: flex-start; background: var(--ink); color: var(--gold); font: 700 14px var(--display); letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 12px; }
.areas { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.areas li { font: 700 15px var(--display); letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; background: var(--sand); border: 1px solid var(--sand-line); }
.panel a { color: var(--gold-ink); font-weight: 600; }

/* CTA band + footer (shared markup) */
.cta-band { background: var(--gold); color: var(--ink); }
.cta-band .wrap { padding-block: 64px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.cta-band h2 { font-size: clamp(44px, 6vw, 80px); }
.cta-band p { color: #3E3519; font-size: 18px; margin-top: 10px; }
.cta-band .header-actions { display: flex !important; }
.cta-band .btn-white { background: var(--ink); color: var(--gold); font-size: 19px; padding: 16px 26px; }
.cta-band .btn-white:hover { background: #000; color: var(--gold-2); }
.cta-band .btn-on-orange { color: var(--ink); border-color: var(--ink); font-size: 19px; padding: 16px 26px; }
.cta-band .btn-on-orange:hover { background: var(--ink); color: var(--gold); }
.site-footer { background: #161C17; color: var(--muted-d); font-size: 15px; }
.site-footer .wrap { padding-block: 56px 40px; display: flex; flex-direction: column; gap: 32px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; }
.site-footer address { font-style: normal; line-height: 1.7; margin-top: 14px; }
.site-footer h2 { font-size: 16px; letter-spacing: 0.16em; color: var(--gold); margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.site-footer a { color: var(--muted-d); }
.site-footer a:hover { color: #fff; }
.footer-phone { font: 800 40px/1 var(--display); color: var(--gold) !important; text-decoration: none; letter-spacing: 0.02em; }
.disclaimer { font-size: 13px; color: var(--quiet-d); border-top: 1px solid var(--line-d); padding-top: 22px; }
.call-bar { display: none; }

@media (max-width: 860px) {
  :root { --gutter: 16px; }
  .alertbar a { display: none; }
  .site-header .wrap { padding-block: 10px; gap: 8px 16px; }
  .header-actions { display: none; }
  /* Phones: slim header; the menu opens from the Menu button (without JS the links stay visible). */
  .brand-mark { font-size: 26px; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; flex-basis: 100%; }
  .js .site-header.nav-open .site-nav { display: block; }
  .site-nav ul { gap: 0 18px; }
  .js .site-nav ul { flex-direction: column; padding-bottom: 6px; }
  .site-nav a { font-size: 15px; min-height: 40px; letter-spacing: 0.05em; }
  .js .site-nav a { display: flex; min-height: 48px; font-size: 17px; border-top: 1px solid var(--line-d); }
  .js .site-nav a[aria-current] { box-shadow: inset 3px 0 0 var(--gold); padding-left: 12px; }
  .hero { padding-top: 40px; }
  .hero-copy { padding-bottom: 8px; }
  .hero-photo { padding-top: 0; flex-basis: 100%; }
  .hero-photo::before { top: 40px; left: -8px; }
  .hero-photo img { height: 440px; min-height: 0; }
  .nameplate { left: 0; }
  .sec { padding-block: 64px; }
  .status-card { position: static; }
  .service li { grid-template-columns: 1fr; }
  .record-photo .stamp { left: 8px; }
  .report { padding: 20px 16px; }
  .report-body { font-size: 14.5px; }
  body { padding-bottom: 72px; }
  .call-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; gap: 8px; padding: 10px 16px; background: var(--field); border-top: 2px solid var(--gold); }
  .call-bar .btn { flex: 1; }
  .call-bar .btn-line { color: var(--sand); }
}

@media (max-width: 1260px) { .site-header .header-actions .btn-line { display: none; } }

/* ---------- Inner pages ---------- */
.page-hero { border-bottom: 1px solid var(--line-d); background:
  repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,204,2,.05) 39px 40px),
  repeating-linear-gradient(90deg, transparent 0 39px, rgba(255,204,2,.05) 39px 40px); }
.page-hero .wrap { padding-block: 56px 64px; display: flex; flex-direction: column; gap: 18px; }
.page-hero h1 { font-size: clamp(48px, 7vw, 88px); max-width: 980px; }
.page-hero .lead { font-size: 19.5px; color: var(--muted-d); max-width: 760px; }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font: 700 15px var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--quiet-d); }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--gold); }
.breadcrumb a { color: var(--quiet-d); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--gold); }

.page-body { background: var(--sand); color: var(--ink); }
.page-body a { color: var(--gold-ink); font-weight: 600; }
.page-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-block: 64px 96px; }
.prose { flex: 999 1 520px; min-width: 0; max-width: 780px; display: flex; flex-direction: column; gap: 18px; font-size: 18.5px; color: var(--muted-l); }
.prose h2 { font-size: clamp(32px, 3.6vw, 44px); color: var(--ink); margin-top: 26px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.prose li { position: relative; padding-left: 26px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: 0.6em; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.prose img { border: 1px solid var(--sand-line); }
.callout { background: var(--ink); color: var(--sand); border-left: 6px solid var(--gold); padding: 20px 24px; font-size: 17px; }
.callout strong { color: var(--gold); font-family: var(--display); font-size: 20px; letter-spacing: 0.04em; text-transform: uppercase; }

.sidebar { flex: 1 1 320px; min-width: 0; position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }
.call-card { background: var(--field); color: var(--sand); padding: 26px; border-top: 4px solid var(--gold); display: flex; flex-direction: column; gap: 10px; }
.call-card .footer-phone { font-size: 40px; }
.call-card p { color: var(--muted-d); font-size: 15.5px; }
.sidebar img { width: 100%; border: 1px solid var(--sand-line); }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 18px; background: var(--sand-2); border-top: 6px solid var(--gold); padding: 30px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.field label, .field legend { font: 700 16px var(--display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); padding: 0; }
.field input, .field select, .field textarea { font: 500 17px var(--sans); color: var(--ink); background: #fff; border: 1.5px solid var(--sand-line); border-radius: 2px; padding: 11px 14px; min-height: 50px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--ink); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.seg label { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 16px; border: 1.5px solid var(--sand-line); background: #fff; cursor: pointer; font: 700 17px var(--display); letter-spacing: 0.06em; text-transform: uppercase; }
.seg label:has(input:checked) { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.seg input { accent-color: var(--gold); }
.form-note { font-size: 14.5px; color: var(--muted-l); }
.contact-form .btn-primary { font-size: 19px; padding: 16px 28px; }

@media (max-width: 860px) {
  .page-hero .wrap { padding-block: 36px 44px; }
  .page-layout { padding-block: 40px 64px; }
  .sidebar { position: static; }
  .contact-form { padding: 22px 18px; }
}

/* Header fit: brand + 4 nav links + 2 buttons on one row inside the 1200px wrap */
.site-header .wrap { gap: 10px 22px; }
.site-nav ul { gap: 0 20px; }
.brand-sub { letter-spacing: 0.12em; }

/* Radio buttons inside segmented choices are not text fields */
.seg input { width: auto; min-height: 0; padding: 0; margin: 0; border: 0; }

/* ---------- Full-width layout (trial) ----------
   Content spans the window; gutters scale with screen width.
   Revert by deleting this block. */
.wrap { max-width: none; padding-inline: min(96px, max(var(--gutter), 5vw)); }
.hero-photo { flex: 0 1 clamp(380px, 26vw, 500px); }
.hero-photo img { min-height: 520px; }
.hero .lead { max-width: 680px; }
.checklist { max-width: 1100px; }
.prose { max-width: 820px; }
@media (max-width: 860px) { .hero-photo { flex-basis: 100%; } .hero-photo img { min-height: 0; } }

/* Phones: Richard's photo sits right under the H1, then the lead paragraph and buttons. */
@media (max-width: 860px) {
  .hero { padding-bottom: 48px; }
  .hero-grid { flex-direction: column; flex-wrap: nowrap; gap: 24px; }
  .hero-copy { display: contents; }
  .hero-photo { flex: none; order: 1; }
  .hero .lead, .hero .actions { order: 2; }
}
.record-photo { flex: 0 0 clamp(320px, 28vw, 480px); max-width: none; }
.record-body > p, .dossier-body > p { max-width: 760px; }
.faq { max-width: 1040px; }
@media (max-width: 860px) { .record-photo { flex: 1 1 100%; max-width: 420px; } }
.sidebar { flex: 0 1 400px; }
.page-layout { justify-content: space-between; }
@media (max-width: 860px) { .sidebar { flex: 1 1 100%; } }

/* ======================================================================
   Content templates: shared prose elements
   ====================================================================== */
.prose h3 { font-size: 26px; color: var(--ink); margin-top: 10px; }
.prose a { color: var(--gold-ink); text-decoration-thickness: 1px; }
.prose strong { color: var(--ink); }
.prose ol { padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.prose ol li { padding-left: 4px; }
.prose ol li::before { display: none; }
.prose ol li::marker { font: 800 18px var(--display); color: var(--gold-ink); }
.prose h2[id] { scroll-margin-top: 96px; }
.prose blockquote { margin: 6px 0; padding: 22px 26px; background: var(--ink); color: var(--sand); border-left: 6px solid var(--gold); font-size: 19px; line-height: 1.55; }
.prose blockquote strong { color: var(--gold); }
.prose blockquote p { margin: 0; }
.table-box { overflow-x: auto; margin: 6px 0; border: 1px solid var(--sand-line); background: var(--sand-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 560px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--sand-line); }
.prose thead th { background: var(--ink); color: var(--gold); font: 700 15px var(--display); letter-spacing: 0.08em; text-transform: uppercase; }
.prose tbody td:first-child { font: 700 17px var(--display); text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink); width: 26%; }
.prose tbody tr:nth-child(even) td { background: rgba(211,201,176,.25); }
.prose details { border-top: 1px solid var(--sand-line); background: transparent; }
.prose details:last-of-type { border-bottom: 1px solid var(--sand-line); }
.prose summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font: 700 22px/1.2 var(--display); text-transform: uppercase; color: var(--ink); }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: "+"; flex: none; width: 32px; height: 32px; border: 2px solid var(--ink); display: grid; place-items: center; font: 700 20px/1 var(--sans); }
.prose details[open] summary::after { content: "–"; background: var(--ink); color: var(--gold); }
.prose details > p { padding: 0 0 20px; }

/* ======================================================================
   Service page template
   ====================================================================== */
.svc-hero h1 { font-size: clamp(44px, 6vw, 80px); max-width: 1100px; }
.svc-hero .lead { max-width: 820px; }
.reviewed { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.reviewed img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: center 15%; border: 2px solid var(--gold); }
.reviewed p { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--muted-d); line-height: 1.35; }
.reviewed strong { color: var(--sand); font-weight: 600; }
.reviewed a { color: var(--gold); }
.svc-prose { max-width: 820px; }
.svc-prose > p:first-child { font-size: 21px; line-height: 1.55; color: var(--ink); }
.svc-side { top: 96px; max-height: calc(100vh - 116px); overflow-y: auto; }
.toc { background: var(--sand-2); border-top: 4px solid var(--ink); padding: 22px 22px 18px; }
.toc .tag { color: var(--gold-ink); margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 0; border-top: 1px solid var(--sand-line); color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.35; }
.toc a::before { content: counter(toc, decimal-leading-zero); font: 800 14px/1.5 var(--display); color: var(--gold-ink); flex: none; }
.toc a:hover { color: var(--gold-ink); }
.call-card .btn { margin-top: 6px; }
.related-sec .sec-head h2 { font-size: clamp(36px, 4vw, 56px); }

/* ======================================================================
   Article template
   ====================================================================== */
.post-hero .wrap { padding-bottom: 120px; }
.post-hero h1 { font-size: clamp(40px, 5.4vw, 72px); max-width: 1000px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 0; font: 600 15px var(--sans); color: var(--muted-d); }
.post-meta span + span::before { content: "·"; margin: 0 12px; color: var(--gold); }
.post-body .wrap { padding-block: 0 96px; }
.post-col { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.post-figure { margin: -88px 0 0; position: relative; }
.post-figure img { width: 100%; aspect-ratio: 950 / 562; object-fit: cover; border: 6px solid var(--sand-2); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.quick-answer { background: var(--ink); color: var(--sand); padding: 24px 28px; border-left: 6px solid var(--gold); display: flex; flex-direction: column; gap: 8px; }
.quick-answer p:last-child { font-size: 20px; line-height: 1.5; }
.post-prose { max-width: none; }
.post-prose > p:first-child { font-size: 21px; line-height: 1.6; color: var(--ink); }
.post-prose > p:first-child::first-letter { float: left; font: 800 76px/0.82 var(--display); color: var(--gold-ink); margin: 6px 12px 0 0; }
.post-cta { display: flex; flex-wrap: wrap; gap: 0; background: var(--field); color: var(--sand); border-top: 6px solid var(--gold); }
.post-cta img { flex: 0 0 210px; width: 210px; object-fit: cover; object-position: center top; filter: grayscale(1); }
.post-cta > div { flex: 1 1 320px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.post-cta h2 { font-size: 34px; }
.post-cta p { color: var(--muted-d); }
.post-cta .btn-dark { background: transparent; border-color: #6F7C6B; color: var(--sand); }
.post-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.post-cards a { height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 26px; background: var(--field-2); border: 1px solid var(--line-d); border-top: 4px solid var(--gold); color: var(--sand); text-decoration: none; }
.post-cards strong { font: 700 26px/1.1 var(--display); text-transform: uppercase; }
.post-cards .more { margin-top: auto; font: 700 15px var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.post-cards a:hover { background: var(--field-3); }

@media (max-width: 860px) {
  .svc-side { max-height: none; overflow: visible; }
  .post-hero .wrap { padding-bottom: 88px; }
  .post-figure { margin-top: -64px; }
  .post-cta img { flex-basis: 100%; width: 100%; height: 260px; }
  .post-prose > p:first-child::first-letter { font-size: 60px; }
}

/* Legal citations must keep their case, e.g. O.C.G.A. § 40-6-391(a)(1).
   Content-page headings render as written instead of all caps. */
.svc-hero h1, .post-hero h1, .prose h2, .prose h3, .prose summary, .prose thead th, .post-cards strong { text-transform: none; }
.svc-hero h1, .post-hero h1 { letter-spacing: -0.005em; line-height: 0.98; }
.prose h2 { letter-spacing: -0.005em; }
.prose thead th { letter-spacing: 0.02em; font-size: 16px; }

.cite { white-space: nowrap; }
@media (max-width: 860px) {
  .post-meta { flex-direction: column; gap: 2px; }
  .post-meta span + span::before { content: none; }
}

.post-col.no-figure { padding-top: 48px; }
.post-console { margin: 0; flex: none; }

.hub-children .hub-group { font-size: 24px; color: var(--gold-ink); margin: 26px 0 12px; }
.hub-children .hub-group:first-of-type { margin-top: 0; }

/* ======================================================================
   Trust pages: case results and reviews
   ====================================================================== */
.case-facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: 6px; border: 1px solid var(--line-d); align-self: flex-start; max-width: 100%; }
.case-facts > div { padding: 14px 22px; border-right: 1px solid var(--line-d); display: flex; flex-direction: column; gap: 2px; }
.case-facts > div:last-child { border-right: 0; }
.case-facts dt { font: 700 13px var(--display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--quiet-d); }
.case-facts dd { font: 700 21px/1.15 var(--display); text-transform: uppercase; color: var(--sand); }
.case-facts > div:first-child dd { color: var(--gold); }
.result-disclaimer { font-size: 15px; color: var(--muted-l); border-top: 1px solid var(--sand-line); padding-top: 14px; }
.results-wrap { padding-block: 64px 96px; display: flex; flex-direction: column; gap: 32px; }
.result-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.result-card { height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 26px; background: var(--sand-2); border: 1px solid var(--sand-line); border-top: 4px solid var(--gold); color: var(--ink); text-decoration: none; }
.page-body .result-card { color: var(--ink); font-weight: 400; }
.result-card strong { font: 700 27px/1.05 var(--display); color: var(--ink); }
.result-card .where { color: var(--muted-l); font-size: 16px; }
.result-card .more { margin-top: auto; font: 700 15px var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-ink); }
.result-card:hover { background: #fff; border-color: var(--gold); }
.more-results .sec-head > p a, .trust .sec .sec-head > p a { font: 700 17px var(--display); letter-spacing: 0.12em; text-transform: uppercase; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; }
.reviews { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; align-items: start; }
.reviews-all { columns: 3 340px; column-gap: 16px; display: block; }
.reviews-all .review { break-inside: avoid; margin-bottom: 16px; }
.review figure { margin: 0; padding: 26px; display: flex; flex-direction: column; gap: 14px; background: var(--field-2); border: 1px solid var(--line-d); border-left: 4px solid var(--gold); }
.review blockquote { margin: 0; font-size: 18px; line-height: 1.55; color: var(--sand); }
.review figcaption { display: flex; flex-direction: column; gap: 2px; }
.review figcaption strong { font: 700 20px var(--display); text-transform: uppercase; letter-spacing: 0.04em; color: var(--gold); }
.review figcaption span { font-size: 14.5px; color: var(--quiet-d); }
.page-body .review figure { background: var(--sand-2); border-color: var(--sand-line); border-left-color: var(--gold); }
.page-body .review blockquote { color: var(--ink); }
.page-body .review figcaption strong { color: var(--ink); }
.page-body .review figcaption span { color: var(--muted-l); }
.page-body .stars { color: var(--gold-ink); }
.rating-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.rating-line b { font: 800 44px/1 var(--display); color: var(--gold); }
.rating-line .stars svg { width: 24px; height: 24px; }
.rating-line > span:last-child { font: 700 16px var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-d); }
.reviews-intro { max-width: 820px; flex: none; }
.trust .prose h2 { margin-top: 10px; }
.result-card strong, .trust .svc-hero h1 { text-transform: none; }
@media (max-width: 860px) {
  .case-facts { flex-direction: column; align-self: stretch; }
  .case-facts > div { border-right: 0; border-bottom: 1px solid var(--line-d); }
  .case-facts > div:last-child { border-bottom: 0; }
  .results-wrap { padding-block: 40px 64px; }
}

/* LegalRetain: the outline "Request a callback" button inherits the dark accent text; make it readable on the dark card. */
.lr-wrap .license-calc .license-calc-cta--form { color: var(--sand) !important; border-color: rgba(241,228,199,.5); }
.lr-wrap .license-calc .license-calc-cta--form:hover, .lr-wrap .license-calc .license-calc-cta--form:focus { color: var(--sand) !important; }

/* Deadline card: the LegalRetain license calculator, leading the sidebar */
.deadline-card { background: #211F20; border: 2px solid var(--alert); color: var(--sand); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.deadline-alert { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 18px; background: var(--alert); color: var(--ink); font: 700 14px var(--display); letter-spacing: 0.14em; text-transform: uppercase; }
.deadline-alert .pulse { flex: none; width: 10px; height: 10px; background: var(--ink); }
.deadline-card .lr-wrap { margin: 0; }
.deadline-card .lr-wrap .license-calc { background: transparent; box-shadow: none; border-radius: 0; padding: 20px 20px 18px; }
.deadline-card .lr-wrap .license-calc-header h3 { font: 800 34px/1 var(--display); text-transform: uppercase; color: var(--sand); margin: 0 0 8px; }
.deadline-card .lr-wrap .license-calc-header p { font-size: 15px; color: var(--muted-d); margin-bottom: 18px; }
.deadline-card .lr-wrap .license-calc-input label { font: 700 15px var(--display); letter-spacing: 0.14em; color: var(--gold); }
.deadline-card .lr-wrap .license-calc-input input[type="date"] { max-width: none; min-height: 54px; font: 600 18px var(--sans); border: 2px solid var(--gold); border-radius: 2px; background: var(--sand-2); color: var(--ink); }
.deadline-card .lr-wrap .license-calc-input input[type="date"]:focus { outline: 3px solid var(--alert); outline-offset: 2px; }
.deadline-card .lr-wrap .license-calc-results { padding: 2px 14px; }
.deadline-card .lr-wrap .license-calc-row { flex-direction: row; align-items: center; padding: 10px 0; font-size: 14.5px; gap: 12px; }
.deadline-card .lr-wrap .license-calc-row > span:last-child { text-align: right; font-size: 15.5px; }
.deadline-card .lr-wrap .license-calc-row--days > span:last-child { font: 800 30px/1 var(--display); }
.deadline-card .lr-wrap .license-calc-ctaactions .license-calc-cta { flex: 1 1 100%; justify-content: center; }
.svc-side .deadline-card + .toc { margin-top: 0; }
@media (max-width: 860px) {
  /* Phones: the deadline card moves up under the page title; the rest of the sidebar stays after the content. */
  .sidebar:has(.deadline-card) { display: contents; }
  .sidebar:has(.deadline-card) > * { flex: 1 1 100%; }
  .page-layout > .sidebar > .deadline-card { order: -1; }
  .deadline-card .lr-wrap .license-calc-header h3 { font-size: 30px; }
}

/* ===== LegalRetain tools: readability fixes (the plugin files stay untouched) =====
   Selectors start with .lr-kit-dui.lr-wrap so they outrank the plugin's own rules,
   which load after this stylesheet. */

/* All sizes: buttons use the site font, not the browser default (Arial). */
.lr-kit-dui.lr-wrap button { font-family: var(--sans); }
/* Blueprint quick picks: gold text on white was hard to read. */
.lr-kit-dui.lr-wrap .bp-chip { color: var(--ink); background: #fff; }
.lr-kit-dui.lr-wrap .bp-chip:hover, .lr-kit-dui.lr-wrap .bp-chip:focus-visible { background: var(--gold); color: var(--ink); }
/* Citation tool: grey-on-black charge text and a near-invisible arrow. */
.lr-kit-dui.lr-wrap .ted-line-text { color: #F1E4C7; }
.lr-kit-dui.lr-wrap .ted-line-badge { color: #B8B8B8; }
/* Dark widget surfaces use the brand charcoal #211F20 instead of the plugin's blue-black greys. */
.lr-kit-dui.lr-wrap .license-calc,
.lr-kit-dui.lr-wrap .ted-title-bar,
.lr-kit-dui.lr-wrap .ted-doc-header,
.lr-kit-dui.lr-wrap .ted-card-front,
.lr-kit-dui.lr-wrap .ted-tracker,
.lr-kit-dui.lr-wrap .ted-cta { background: #211F20; border-color: #161415; }
.lr-kit-dui.lr-wrap .ted-dot { background: #3A3637; }

/* Phones: no text under 14px, labels readable at arm's length, taps at least 44px. */
@media (max-width: 640px) {
  /* License calculator */
  .lr-kit-dui.lr-wrap .license-calc-input label { font-size: 15px; }
  .lr-kit-dui.lr-wrap .license-calc-header p { font-size: 16px; }
  .lr-kit-dui.lr-wrap .license-calc-row { font-size: 15px; }
  .lr-kit-dui.lr-wrap .license-calc-row > span:last-child { font-size: 16px; }
  .lr-kit-dui.lr-wrap .license-calc-ctahead { font-size: 16px; }
  .lr-kit-dui.lr-wrap .license-calc-warning { font-size: 15px; }
  .lr-kit-dui.lr-wrap .license-calc-cta { font-size: 15px; min-height: 50px; }
  .lr-kit-dui.lr-wrap .license-calc-footer { font-size: 14px; color: rgba(255,255,255,.72); }

  /* Blueprint */
  .lr-kit-dui.lr-wrap .bp-time { font-size: 14px; color: #546E7A; }
  .lr-kit-dui.lr-wrap .bp-badge { font-size: 14px; }
  .lr-kit-dui.lr-wrap .bp-change { font-size: 15px; min-height: 44px; }
  .lr-kit-dui.lr-wrap .bp-privacy { font-size: 14px; color: #546E7A; }
  .lr-kit-dui.lr-wrap .bp-footer { font-size: 14px; color: #546E7A; }
  .lr-kit-dui.lr-wrap .lr-snapshot-row dt { font-size: 15px; }
  .lr-kit-dui.lr-wrap .lr-snapshot-badge { font-size: 13.5px; }
  .lr-kit-dui.lr-wrap .lr-snapshot-disclaimer { font-size: 14px; }

  /* BAC simulator */
  .lr-kit-dui.lr-wrap .bac-display-label { font-size: 14px; color: #5F6368; }
  .lr-kit-dui.lr-wrap .bac-labels span { font-size: 14px; color: #5F6368; }
  .lr-kit-dui.lr-wrap .bac-labels span:nth-child(2) { color: #C24400; }
  .lr-kit-dui.lr-wrap .bac-range { height: 44px; }
  .lr-kit-dui.lr-wrap .bac-card-title { font-size: 14.5px; color: #3C4043; }
  .lr-kit-dui.lr-wrap .bac-card { min-height: 52px; }
  .lr-kit-dui.lr-wrap .bac-est-field label { font-size: 15px; }
  .lr-kit-dui.lr-wrap .bac-est-note { font-size: 15px; }
  .lr-kit-dui.lr-wrap .bac-sim-footer { font-size: 14px; color: #5F6368; }

  /* Citation deconstructor */
  .lr-kit-dui.lr-wrap .ted-tool h3 { font-size: 15px; }
  .lr-kit-dui.lr-wrap .ted-tracker-label { font-size: 14px; }
  .lr-kit-dui.lr-wrap .ted-line-label { font-size: 13.5px; }
  .lr-kit-dui.lr-wrap .ted-line-status { font-size: 15px; }
  .lr-kit-dui.lr-wrap .ted-unfold-label { font-size: 14.5px; }
  .lr-kit-dui.lr-wrap .ted-step-hint { font-size: 15px; }
}

/* Phone header (kept last so it wins over the desktop header-fit rules above) */
@media (max-width: 860px) {
  .site-header .wrap { padding-block: 8px; gap: 8px 12px; }
  .brand { flex: 1 1 0; min-width: 0; }
  .brand-sub { font-size: 10.5px; letter-spacing: 0.04em; margin-top: 4px; line-height: 1.25; }
  .nav-toggle { flex: none; padding: 0 12px; }
}

/* Contact form: honeypot field (hidden from people) and the send-failed alert */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { background: #FDECEA; border-left: 4px solid #C62828; color: #5B1111; padding: 12px 16px; font-weight: 600; }
.form-alert a { color: #8E1B1B; }

/* Hub pages (/legal-blog/, /tools/, /service-locations/, /practice-areas/) */
.hub-body { max-width: none; gap: 40px; }
.hub-sec h2 { margin-bottom: 16px; }
.hub-cards { margin: 0; }
.hub-blurb { display: block; font-size: 15.5px; line-height: 1.5; color: var(--muted-d); font-weight: 400; }
.prose .hub-cards li { padding-left: 0; }
.prose .hub-cards li::before { display: none; }
.prose .hub-cards a { color: var(--sand); }
.prose .hub-cards strong { color: var(--sand); font-size: 22px; }

/* Quick case-evaluation form (sidebars and under articles) */
.quick-form-card { background: var(--sand-2); border-top: 4px solid var(--gold); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.quick-form-card .qf-head { font: 800 26px/1.05 var(--display); text-transform: uppercase; color: var(--ink); margin: 0; }
.quick-form { display: flex; flex-direction: column; gap: 12px; }
.quick-form .field label { font-size: 14px; }
.quick-form .field input, .quick-form .field select, .quick-form .field textarea { min-height: 48px; font-size: 16px; }
.quick-form .field textarea { min-height: 84px; }
.quick-form .btn { width: 100%; justify-content: center; min-height: 52px; }
.quick-form .form-note { font-size: 14px; color: var(--muted-l); margin: 0; }
.post-col > .quick-form-card { margin-top: 28px; }

/* ---------- Hero flag: faint waving US flag behind the headline ----------
   Columns move with transform/opacity only (compositor), so no JS and no repaint.
   Reduced motion: the global rule above stops the animation (still flag). */
.hero > .wrap { position: relative; z-index: 1; }
.hero-flag { position: absolute; z-index: 0; top: 28px; left: min(96px, max(var(--gutter), 5vw)); width: min(940px, 60%); aspect-ratio: 1235 / 650; padding-block: 16px; opacity: 0.17; pointer-events: none; overflow: clip;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 35% 45%, #000 40%, transparent 78%); mask-image: radial-gradient(ellipse 75% 70% at 35% 45%, #000 40%, transparent 78%); }
.hero-flag-cloth { display: flex; height: 100%; }
.hero-flag-cloth span { position: relative; flex: 1 1 0; min-width: 0; margin-right: -1px; animation: hf-wave 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * 0.14s - 3.6s); will-change: transform; }
.hero-flag-cloth span::after { content: ""; position: absolute; inset: 0; background: #000; opacity: 0; animation: hf-shade 3.6s ease-in-out infinite; animation-delay: inherit; will-change: opacity; }
.hero-flag-cloth svg { display: block; width: 100%; height: 100%; }
@keyframes hf-wave { 0%, 100% { transform: translateY(calc(var(--i) * -0.6px)); } 50% { transform: translateY(calc(var(--i) * 0.6px)); } }
@keyframes hf-shade { 0%, 100% { opacity: 0; } 50% { opacity: 0.4; } }
@media (max-width: 860px) { .hero-flag { top: 70px; left: 0; width: 100%; } }

/* ---------- Hero accent: olive #727365 instead of the bright gold (hero only) ----------
   Scoped token override; the rest of the site keeps --gold. White button text, since dark ink
   on #727365 is too low-contrast to read. */
.hero { --gold: #727365; --gold-2: #85867A; }
.hero .btn-gold, .hero .btn-gold:hover { color: #fff; }

/* ---------- Olive bars: alert bar (every page) and homepage "Areas of operation" strip ----------
   Same #727365 as the hero accent; white text for contrast. */
.alertbar, .ao { background: #727365; color: #fff; }
.alertbar a { color: #fff; }
.alertbar .pulse { background: var(--sand); }
