/* ALWAYS PRECISE INVESTIGATIONS — the public site's one stylesheet.

   One file for every public page's header, navigation, footer, type and colour,
   so a change to the brand is one edit rather than twelve copies drifting apart.
   The homepage adds its own layout inline; the content pages add only what is
   genuinely theirs. The case portal, /watch/ and the intake form do NOT load it.

   CACHE: `_headers` caches /assets/* for seven days, so every page links this
   file as `site.css?v=N` and the number goes up whenever this file changes — a
   stale stylesheet behind fresh markup looks exactly like a deploy that never
   ran (the card-photo lesson of 2026-08-22). A deploy test holds every page to
   the same version.

   COLOUR PAIRS ARE MEASURED, NOT CHOSEN BY EYE. Each pair below is a WCAG ratio
   computed from the two values beside it; the deploy suite recomputes them.
     --ink    on --cream   15.0:1   body text
     --muted  on --cream    6.2:1   secondary text
     --gold-ink on --cream  4.9:1   small gold labels on the light ground
     --gold   on --navy     8.4:1   gold labels and the gold button on navy
     --navy   on --gold     8.4:1   the gold button's own text
     white    on --navy    15.9:1
   Light gold (--gold) is never used as TEXT on the light ground: it measures
   about 1.8:1 there. That is what --gold-ink is for. */

:root{
  --navy:#10243b; --navy-2:#1b334d; --navy-3:#0b1a2c; --slate:#3c5369;
  --gold:#dcba7e; --gold-2:#e8ca93; --gold-ink:#7f5d21;
  --cream:#f8f6f1; --sand:#eae5dc; --paper:#ffffff;
  --ink:#1b2c41; --muted:#4f5f73; --line:#ded8cd;
  --on-navy:#d6e0e8; --on-navy-dim:#aebdcb;
  --serif:Georgia,'Iowan Old Style','Palatino Linotype',Palatino,'Times New Roman',serif;
  --sans:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  --r:12px; --wrap:1150px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{font-family:var(--sans);font-size:17px;line-height:1.65;color:var(--ink);background:var(--cream)}
/* An email address is one unbroken word, wider than a 320px column in some fonts. The
   page breaks it after the "@" with a <wbr>; this is the backstop for one that has none. */
a[href^="mailto:"]{overflow-wrap:anywhere}
h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.15;color:var(--ink)}
img{max-width:100%;display:block}
a{color:var(--navy-2)}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Skip link: off screen until focused. */
.skip{position:absolute;left:12px;top:-60px;z-index:100;background:var(--gold);color:var(--navy);
  font-weight:700;padding:10px 16px;border-radius:6px;text-decoration:none}
.skip:focus{top:10px}

/* The firm's standing notice. Kept, quietly, on every page that carried it. */
.notice{background:var(--navy-3);color:var(--on-navy);font-size:.82rem;line-height:1.5;text-align:center;padding:9px 18px}
.notice b{color:var(--gold)}

/* ---------------------------------------------------------------- header */
.site-head{background:var(--navy);color:#fff;position:sticky;top:0;z-index:40;border-bottom:1px solid rgba(255,255,255,.08)}
.head-in{max-width:var(--wrap);margin:0 auto;padding:10px 20px;display:flex;align-items:center;gap:18px}
/* THE LOGO IS THE ONE THE LIVE SITE'S HEADER ALREADY SHOWS (owner, 2026-10-10,
   chosen from a side-by-side): assets/logo-lockup.svg, the navy and red scales
   of justice, in the same white rounded badge it has worn since 2026-08-02 —
   the file is drawn for a light ground, so the badge is part of how it is shown.
   The badge's colour, radius, padding and shadow are the live header's. Only the
   image's HEIGHT is set; its width follows from the file's own 240x68, so the
   proportions are the file's. No filter, recolour or crop — a deploy test pins
   the file's SHA-256 and every public header's use of it. */
.brand{display:inline-flex;align-items:center;flex:none;background:#fff;border-radius:12px;padding:9px 16px;
  box-shadow:0 1px 6px rgba(0,0,0,.35);min-height:44px}
.brand img{height:58px;width:auto;max-width:none}
.site-nav{display:flex;align-items:center;gap:22px;margin-left:auto}
.site-nav a{color:#fff;text-decoration:none;font-size:.9rem;font-weight:600;letter-spacing:.01em;
  padding:10px 0;border-bottom:2px solid transparent}
.site-nav a:hover{border-bottom-color:var(--gold)}
.site-nav a[aria-current="page"]{border-bottom-color:var(--gold)}
.site-nav a.nav-cta{background:var(--gold);color:var(--navy);padding:10px 16px;border-radius:7px;border:0}
.site-nav a.nav-cta:hover{background:var(--gold-2)}
/* THE PRINTED NUMBER (owner, 2026-11-07; docs/SEO-AUDIT-2026-11.md). Outside the
   nav, which stays the brief's six. Light text with a gold icon, so it reads as
   a second, quieter action beside the gold Contact / Intake. Shown from 721px
   up; below that the sticky phone bar prints the digits instead. */
.head-call{display:inline-flex;align-items:center;gap:8px;flex:none;min-height:44px;padding:8px 12px;
  color:#fff;text-decoration:none;font-weight:700;font-size:.98rem;white-space:nowrap;
  border:1px solid rgba(255,255,255,.35);border-radius:8px}
.head-call:hover{border-color:var(--gold)}
.head-call svg{width:18px;height:18px;flex:none;color:var(--gold)}
/* THE PHONE MENU IS A <details>, so it opens and closes with no script and is a
   real button to a keyboard and a screen reader. The desktop row is the same
   six links; exactly one of the two is displayed at any width, and a hidden
   element is out of the accessibility tree, so there is one set of tab stops. */
.menu{display:none;margin-left:auto;position:relative}
.menu>summary{list-style:none;cursor:pointer;color:#fff;font-weight:700;font-size:.95rem;
  min-height:44px;min-width:44px;padding:10px 14px;border:1px solid rgba(255,255,255,.35);border-radius:8px;
  display:flex;align-items:center;gap:8px}
.menu>summary::-webkit-details-marker{display:none}
.menu>summary .bars{width:18px;height:12px;position:relative;border-top:2px solid #fff;border-bottom:2px solid #fff}
.menu>summary .bars::after{content:"";position:absolute;left:0;right:0;top:3px;border-top:2px solid #fff}
.menu[open]>summary{background:var(--navy-2)}
.menu nav{position:absolute;right:0;top:calc(100% + 8px);width:min(300px,calc(100vw - 32px));background:var(--navy-2);
  border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:8px;box-shadow:0 14px 34px rgba(0,0,0,.35);
  display:flex;flex-direction:column}
.menu nav a{color:#fff;text-decoration:none;font-weight:600;padding:12px 14px;border-radius:8px;min-height:44px}
.menu nav a:hover{background:rgba(255,255,255,.08)}
.menu nav a.nav-cta{background:var(--gold);color:var(--navy);margin-top:6px;text-align:center}

/* THE LANDING PAGE'S OWN ACTIONS (same audit): Call with the digits, and the
   page's own intake door. One writer, hero_actions() in build-locations.py. */
.pg .hero .hero-acts{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.pg .hero .hero-acts .btn{min-height:52px}

/* --------------------------------------------------------------- buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:13px 20px;
  border-radius:8px;font-family:var(--sans);font-weight:700;font-size:1rem;line-height:1.2;text-decoration:none;
  border:0;cursor:pointer;transition:background .15s,transform .15s}
.btn-gold{background:var(--gold);color:var(--navy)}
.btn-gold:hover{background:var(--gold-2)}
.btn-light{background:#fff;color:var(--navy)}
.btn-light:hover{background:var(--sand)}
.btn-navy{background:var(--navy);color:#fff}
.btn-navy:hover{background:var(--navy-2)}
.btn-ghost{background:transparent;color:var(--navy);border:1.5px solid var(--navy)}
.btn-ghost:hover{background:rgba(16,36,59,.06)}
.btn svg{width:18px;height:18px;flex:none}

/* ---------------------------------------------------------- shared type */
.kicker{font-family:var(--sans);font-size:.76rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-ink);margin-bottom:12px}
.on-navy .kicker{color:var(--gold)}

/* ------------------------------------------------------- content pages */
/* The service, area and policy pages share one shape — a title band, plain
   sections, a card grid, a call to action, an FAQ and a row of area chips —
   and these rules give it the redesign's look. Scoped to `body.pg` so the
   homepage's own layout can never inherit them by accident. */
.pg .hero{background:radial-gradient(ellipse at 88% 10%,rgba(60,83,105,.9) 0%,transparent 60%),linear-gradient(130deg,var(--navy-2),var(--navy-3));
  color:#fff;padding:56px 0 46px}
.pg .hero .wrap{max-width:920px}
.pg .hero h1{color:#fff;font-size:clamp(30px,5vw,46px);margin-bottom:14px}
.pg .hero .eyebrow{font-size:.76rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);margin-bottom:12px}
.pg .hero .lede{color:var(--on-navy);font-size:1.08rem;max-width:720px}
.pg .hero .lede a{color:var(--gold)}
.pg main>section,.pg section{padding:40px 0;border-bottom:1px solid var(--line)}
.pg section .wrap{max-width:920px}
.pg h2{font-size:clamp(25px,3.6vw,32px);margin-bottom:14px}
.pg h3{font-size:1.2rem;margin-bottom:6px}
.pg p{margin-bottom:14px}
.pg ul,.pg ol{margin:0 0 14px 22px}
.pg li{margin-bottom:8px}
.pg .eyebrow{font-size:.76rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-ink);margin-bottom:10px}
.pg .lede{color:var(--muted)}
.pg .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:18px}
.pg .card{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:20px}
.pg .card h3{color:var(--ink)}
.pg .card p{color:var(--muted);margin:0;font-size:.98rem}
.pg .cta{background:var(--navy);color:var(--on-navy);border-radius:14px;padding:30px 24px;margin-top:24px;text-align:center}
.pg .cta h2{color:#fff}
.pg .cta p{color:var(--on-navy)}
.pg .cta a{color:var(--gold)}
.pg .cta a.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;background:var(--gold);color:var(--navy);
  text-decoration:none;font-weight:700;padding:13px 24px;border-radius:8px;margin:8px 5px 0}
.pg .cta a.btn:hover{background:var(--gold-2)}
.pg .faq h3{margin-top:22px}
.pg .faq p{color:var(--muted)}
.pg .near{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.pg .near a{background:var(--paper);border:1px solid var(--line);border-radius:999px;padding:9px 16px;min-height:44px;
  display:inline-flex;align-items:center;text-decoration:none;font-size:.92rem;color:var(--navy-2);font-weight:600}
.pg .near a:hover{border-color:var(--gold-ink)}
.pg .disclaim{color:var(--muted);font-size:.92rem;font-style:italic}

/* The three business pages — Legal, Insurance and its Vendor page — carry a
   centred title band and a few components of their own. `body.b2b` scopes them,
   so the consumer pages cannot pick them up. Light grounds, the same navy band
   and gold actions as everywhere else; the ratios above cover every pair here. */
body.b2b .hero{text-align:center;padding-left:20px;padding-right:20px}
.b2b .hero .tag{font-size:.76rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);margin-bottom:14px}
.b2b .hero h1{max-width:900px;margin-left:auto;margin-right:auto}
.b2b .hero .sub{color:var(--gold);font-weight:600;font-size:clamp(1rem,2.4vw,1.15rem);max-width:820px;margin:0 auto 18px}
.b2b .hero p{color:var(--on-navy);max-width:700px;margin:0 auto 28px;font-size:1.06rem}
.b2b .hero p a{color:var(--gold)}
.b2b section .wrap{max-width:1040px}
.b2b section{padding:52px 0}
.b2b .lede{max-width:780px;margin-bottom:28px}
.b2b .band{background:var(--sand)}
.pg .btn-row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.pg .btn-gold,.pg .btn-outline{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 26px;
  border-radius:8px;font-weight:700;font-size:1.02rem;line-height:1.2;text-decoration:none;cursor:pointer}
.pg .btn-gold{background:var(--gold);color:var(--navy);border:0}
.pg .btn-gold:hover{background:var(--gold-2)}
.pg .btn-outline{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.8)}
.pg .btn-outline:hover{background:rgba(255,255,255,.12)}
/* `.pg .cta a` paints links gold; a button inside the band keeps its own ink. */
.pg .cta a.btn-gold{color:var(--navy)}
.pg .cta a.btn-outline{color:#fff}
.b2b .svc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(232px,1fr));gap:16px}
.b2b .svc{background:var(--paper);border:1px solid var(--line);border-top:3px solid var(--gold-ink);border-radius:var(--r);padding:20px}
.b2b .svc svg{width:30px;height:30px;stroke:var(--gold-ink);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;margin-bottom:12px}
.b2b .svc h3,.b2b .val h3{font-family:var(--sans);font-weight:700;font-size:1.02rem;color:var(--ink);margin-bottom:6px}
.b2b .svc p,.b2b .val p{color:var(--muted);font-size:.95rem;line-height:1.6;margin:0}
.b2b .val-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.b2b .val{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:20px}
.b2b .who ul,.b2b .areas{list-style:none;display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 0}
.b2b .who li,.b2b .areas li{background:var(--paper);border:1px solid var(--line);border-radius:999px;padding:8px 16px;margin:0;font-size:.92rem;color:var(--ink)}
.b2b .faq h3{font-size:1.15rem;margin:22px 0 6px}
.b2b .faq p{max-width:820px}
.b2b section.cta{background:var(--navy);border-radius:0;margin:0;padding:56px 0;text-align:center;border-bottom:0}
.b2b section.cta .eyebrow{color:var(--gold)}
.b2b section.cta p{max-width:640px;margin:0 auto 24px}
.b2b section.cta .note{font-size:.9rem;color:var(--on-navy-dim);margin:24px auto 0;max-width:660px}
.b2b .vtab{width:100%;border-collapse:collapse;background:var(--paper);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.b2b .vtab th,.b2b .vtab td{text-align:left;padding:13px 18px;border-bottom:1px solid var(--line);font-size:.97rem;vertical-align:top}
.b2b .vtab tr:last-child th,.b2b .vtab tr:last-child td{border-bottom:0}
.b2b .vtab th{color:var(--muted);font-weight:600;width:38%}
.b2b .vtab td{color:var(--ink)}
.b2b .packet{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;margin:20px 0 0}
.b2b .packet li{background:var(--paper);border:1px solid var(--line);border-left:3px solid var(--gold-ink);border-radius:var(--r);
  padding:14px 18px;font-size:.95rem;color:var(--ink);margin:0}
.b2b .packet li span{display:block;color:var(--muted);font-size:.88rem;margin-top:3px}
.b2b .fine{margin-top:20px;color:var(--muted);font-size:.95rem}
@media (max-width:600px){
  /* The table and its rows stack too, not only the cells: a block cell inside a
     table-row still sizes the TABLE to its content, which put the vendor table
     32px past a 320px screen. */
  .b2b .vtab,.b2b .vtab tbody,.b2b .vtab tr{display:block;width:100%}
  .b2b .vtab th,.b2b .vtab td{display:block;width:100%}
  .b2b .vtab th{border-bottom:0;padding-bottom:2px}
  .b2b .vtab td{padding-top:0}
}

/* The policy and not-found pages. */
.pg .updated{color:var(--on-navy-dim);font-size:.9rem;margin-top:10px}
.pg .callout p:last-child{margin-bottom:0}
.pg .callout{background:var(--paper);border:1px solid var(--line);border-left:3px solid var(--gold-ink);border-radius:var(--r);padding:16px 18px;margin:0 0 16px}
.nf{padding:56px 0 64px}
.nf .wrap{max-width:680px}
.nf .code{font-size:.76rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-ink);margin-bottom:10px}
.nf h1{font-size:clamp(28px,4.5vw,38px);margin-bottom:14px}
.nf .lede{color:var(--muted);font-size:1.06rem;margin-bottom:26px}
.nf .links{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:28px}
.nf .links a{background:var(--paper);border:1px solid var(--line);border-radius:999px;padding:9px 16px;min-height:44px;
  display:inline-flex;align-items:center;text-decoration:none;font-size:.92rem;color:var(--navy-2);font-weight:600}
.nf .links a:hover{border-color:var(--gold-ink)}
.nf .phone{font-size:clamp(1.5rem,4.5vw,2rem);font-weight:800;margin:4px 0 6px}
.nf .phone a{color:var(--ink);text-decoration:none}

/* ---------------------------------------------------------------- footer */
.site-foot{background:var(--navy);color:var(--on-navy-dim);font-size:.92rem;padding:44px 0 36px}
.site-foot .wrap{display:grid;grid-template-columns:1.3fr 1fr;gap:28px}
.site-foot .fname{font-family:var(--serif);color:#fff;font-size:1.25rem;margin-bottom:6px}
.site-foot a{color:#fff;text-decoration:none}
.site-foot a:hover{text-decoration:underline;text-decoration-color:var(--gold)}
.site-foot .row{margin-bottom:6px}
.site-foot .lic{color:var(--gold)}
.site-foot nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 18px;align-content:start}
.site-foot nav a{padding:8px 0;min-height:40px;display:flex;align-items:center}
.site-foot .base{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.12);padding-top:16px;font-size:.85rem}

/* ------------------------------------------- sticky phone actions (phones) */
/* Two actions, pinned to the bottom of the screen on a phone. THE BOTTOM PADDING
   IS max(), NOT calc(): env(safe-area-inset-bottom) reads ZERO on iOS unless the
   viewport meta carries viewport-fit=cover, which these pages do not — so
   calc(0px + env(...)) would add nothing and the bar would sit on the home
   indicator. The body gains the bar's height at the same width, so the footer's
   last line is never underneath it. The intake form does not load this file, so
   the bar can never cover a form field, a consent box or a Submit button. */
.mobile-actions{display:none}

@media (max-width:1060px){
  .site-nav{display:none}
  .menu{display:block;margin-left:0}
  .head-call{margin-left:auto}
}
@media (max-width:720px){
  body{font-size:16px}
  .head-in{padding:8px 16px;gap:12px}
  .brand{padding:6px 14px}
  .brand img{height:46px}
  .notice{font-size:.74rem;padding:7px 14px;line-height:1.4}
  .wrap{padding:0 16px}
  .site-foot .wrap{grid-template-columns:minmax(0,1fr)}
  .mobile-actions{display:grid;grid-template-columns:1fr 1fr;position:fixed;left:0;right:0;bottom:0;z-index:45;
    background:var(--navy);border-top:1px solid rgba(255,255,255,.14);padding-bottom:max(0px,env(safe-area-inset-bottom))}
  .mobile-actions a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:56px;padding:10px 6px;
    color:#fff;font-weight:800;font-size:.98rem;text-decoration:none}
  .mobile-actions a.ma-intake{background:var(--gold);color:var(--navy)}
  .mobile-actions svg{width:18px;height:18px;flex:none}
  /* The digits under "Call Privately", so a phone visitor sees the number the
     header no longer has room for. Two lines inside the same 56px row. */
  .mobile-actions .ma-call{display:flex;flex-direction:column;align-items:flex-start;line-height:1.15}
  .mobile-actions .ma-num{font-size:.8rem;font-weight:600;color:var(--on-navy);margin-top:2px;white-space:nowrap}
  .head-call{display:none}
  .menu{margin-left:auto}
  .pg .hero .hero-acts{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
  /* 57 = the 56px row plus the bar's 1px top border; measured, because 56 left
     the page's last pixel row underneath the bar. */
  body.has-actions{padding-bottom:calc(57px + max(0px,env(safe-area-inset-bottom)))}
  .pg .hero{padding:40px 0 34px}
  .pg section{padding:32px 0}
}
/* At the narrowest phones the badge steps down once more, so it and the Menu
   button share the row without the page scrolling sideways. Same file, same
   proportions — only the height. */
@media (max-width:360px){.brand{padding:5px 10px}.brand img{height:38px}}
@media (prefers-reduced-motion:reduce){.btn{transition:none}}
