/* ==========================================================================
   DUI Lawyers Shield Firm: brand tokens and photo free components
   Load order: style.css (shell), cine.css (rbr-cinematic-site, unedited), brand.css
   Rule for this site: no photos of David Cannady and no office photos, ever.
   The cinematic look comes from type, motion and gold line art on navy.
   ========================================================================== */

:root {
  --cx-ink: #0A1D3C;
  --cx-ink-2: #06132A;
  --cx-accent: #C89B3C;
  --cx-accent-deep: #7A5A17;     /* small gold text on light grounds: 5.4:1 on #F2EEE4 */
  --cx-accent-soft: #E5C97A;     /* small gold text on navy */
  --cx-fill: #C89B3C;            /* gold buttons with navy text: 6.5:1 */
  --cx-on-fill: #0A1D3C;
  --cx-ground: #FBFAF6;
  --cx-ground-2: #F2EEE4;
  --cx-surface: #ffffff;
  --cx-line: #E3DDCE;
  --cx-heading: #0A1D3C;
  --cx-text: #3B4152;
  --cx-on-ink: #ffffff;
  --cx-on-ink-muted: #C3CBDA;
  --cx-font-display: "Playfair Display", Georgia, serif;
  --cx-font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --cx-font-script: var(--cx-font-display);
  --cx-header-h: 82px;
  --cx-radius: 3px;
  --dui-gold-text: #A67C25;      /* large gold display text on light grounds: 3.8:1 */
}

/* ---------- Shell touch ups ---------- */
.header { background: rgba(251, 250, 246, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cx-script { font-style: italic; }
.cx-page h3 { font-family: var(--cx-font-display); font-weight: 500; letter-spacing: 0; }
.cx-page .cx-section:not(.is-ink) h2 .cx-accent,
.cx-page .cx-statement .cx-accent { color: var(--dui-gold-text); }
.cx-page .cx-step-num { color: var(--dui-gold-text); }
.cx-page .cx-card-kicker { font-size: 20px; }
:where(.cx-page) p { color: inherit; }
.is-ink .cx-head-row p, .cx-contact p { color: var(--cx-on-ink-muted); }
.cx-aside-card .cx-eyebrow, .cx-contact .cx-eyebrow, .cx-page-hero .cx-eyebrow, .dui-feature .cx-eyebrow { color: var(--cx-accent-soft); }
.cx-btn > span svg:first-child:not(:only-child) { margin-right: 4px; }
@media (max-width: 1023px) { body:has(.cx-callbar) { padding-bottom: 58px; } }
.cx-callbar a { gap: 10px; }
.cx-callbar a svg { opacity: .9; }

.foot p { color: rgba(255, 255, 255, .7); }

/* ---------- Line art (shared) ---------- */
.dui-scene { display: block; width: min(80%, 540px); height: auto; overflow: visible; }
.dui-scene .draw, .dui-flmap .draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.dui-scene .dui-gold { fill: none; stroke: var(--cx-accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.dui-scene .dui-faint { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1.5; }
.dui-scene .dui-seg { fill: none; stroke: var(--cx-accent); stroke-width: 13; }
.dui-scene text { font-family: var(--cx-font-display); fill: #fff; }
.dui-scene .dui-big { font-size: 150px; fill: var(--cx-accent); }
.dui-scene .dui-big-sm { font-size: 112px; }
.dui-scene .dui-lbl { font-family: var(--cx-font-body); font-size: 17px; font-weight: 700; letter-spacing: 6px; }
.dui-scene .dui-sub { font-family: var(--cx-font-body); font-size: 15px; fill: var(--cx-on-ink-muted); }
@keyframes dui-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes dui-fade { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   Homepage hero: split wipe hero with line art scenes in place of photos
   ========================================================================== */
.dui-hero .cx-hero-copy {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 80px 80px,
    radial-gradient(900px 520px at 0% 100%, rgba(200, 155, 60, .12), transparent 60%),
    var(--cx-ink);
}
.dui-h1 { font-family: var(--cx-font-body); max-width: 560px; margin-bottom: 24px; font-size: 13px; color: var(--cx-accent-soft); }
.dui-h1::before { align-self: center; }
.dui-h1 > span { display: block; }
.dui-h1 > span > span { color: #fff; }
.dui-hero { grid-template-columns: 6fr 5fr; }
.dui-hero .cx-hero-copy { padding-top: 64px; padding-bottom: 104px; }
.dui-hero .cx-hero-inner { max-width: 600px; }
.dui-hero .cx-titles { min-height: 3.7em; font-size: clamp(40px, 4.6vw, 68px); }
.dui-hero .cx-counter { bottom: 40px; }
.dui-hero .cx-tag { font-family: var(--cx-font-display); font-style: italic; font-size: .3em; letter-spacing: .01em; }
.dui-hero .cx-lede { max-width: 560px; margin: 22px 0 30px; }
.dui-hero-trust { display: flex; gap: 34px; margin: 30px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .12); }
.dui-hero-trust li { display: flex; flex-direction: column; }
.dui-hero-trust strong { font-family: var(--cx-font-display); font-weight: 400; font-size: 32px; line-height: 1; color: var(--cx-accent); }
.dui-hero-trust span { margin-top: 8px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cx-on-ink-muted); }

.dui-hero-art { background: var(--cx-ink-2); }
.dui-hero-art::after { display: none; }
.dui-hero-art .cx-shot {
  display: grid; place-items: center;
  background:
    radial-gradient(55% 50% at 52% 48%, rgba(200, 155, 60, .17), transparent 72%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--cx-ink-2);
}
.dui-hero-art .cx-shot.is-active .draw { animation: dui-draw 1.6s var(--cx-ease) var(--d, 0s) both; }
.dui-hero-art .cx-shot.is-active .dui-fade { animation: dui-fade 1s var(--cx-ease) var(--d, 0s) both; }
.dui-hero-art .cx-badge { z-index: 4; }
.dui-hero-art .cx-badge.a { left: 30px; top: 30px; }
.dui-hero-art .cx-badge.b { right: 30px; left: auto; bottom: 110px; top: auto; }
.dui-badge-ic { flex: 0 0 auto; color: var(--cx-accent-deep); }
.dui-hero-art .cx-badge span { color: var(--cx-text); }
.dui-hero-art .cx-hero-card { max-width: 70%; }
.dui-hero-art .cx-pause { top: auto; bottom: 76px; right: 18px; }

/* ==========================================================================
   Inner page hero (photo free): navy, grid lines, faint line art on the right
   ========================================================================== */
.cx-page .dui-page-hero {
  min-height: 0; align-items: center; padding: 76px 0 70px;
  background:
    radial-gradient(760px 420px at 82% 40%, rgba(200, 155, 60, .13), transparent 65%),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 80px 80px,
    var(--cx-ink);
}
.cx-page .dui-page-hero.dui-ph-short { padding: 60px 0 56px; }
.cx-page-hero .dui-ph-art { position: absolute; z-index: 0; top: 50%; right: max(-40px, calc((100vw - 1248px) / 2 - 20px)); width: min(460px, 40vw); transform: translateY(-50%); opacity: .5; pointer-events: none; }
.cx-page-hero .dui-ph-art .dui-scene { width: 100%; }
.cx-page-hero .dui-ph-art .draw { animation: dui-draw 2.2s var(--cx-ease) var(--d, 0s) both; }
.cx-page-hero .dui-ph-art .dui-fade { animation: dui-fade 1.2s var(--cx-ease) var(--d, 0s) both; }
.cx-page .dui-page-hero h1 { font-size: clamp(34px, 4.4vw, 58px); max-width: 780px; letter-spacing: -.005em; }
.cx-page .dui-page-hero .dui-ph-lede { max-width: 660px; margin: 0 0 30px; font-size: 18px; line-height: 1.7; color: var(--cx-on-ink-muted); }
.dui-inline-phone { color: var(--cx-accent-soft); font-weight: 700; white-space: nowrap; text-decoration: none; border-bottom: 1px solid rgba(229, 201, 122, .45); }
.dui-inline-phone:hover { color: #fff; }
.dui-ph-chips { margin: -8px 0 28px; }
.dui-chip { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px 8px 8px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .06); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; transition: background .3s, border-color .3s; }
.dui-chip:hover { background: rgba(255, 255, 255, .12); border-color: var(--cx-accent); color: #fff; }
.dui-chip strong { font-size: 15px; }
.dui-chip .dui-g { width: 26px; height: 26px; padding: 4px; }
.dui-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 28px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cx-accent-soft); }
.dui-meta span + span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 22px; vertical-align: middle; transform: rotate(45deg); background: var(--cx-accent); }

/* ==========================================================================
   Press: compact strip under heroes and logo cards in the trust section
   ========================================================================== */
.dui-press-strip { padding: 30px 0 28px; background: var(--cx-ink-2); border-top: 1px solid rgba(255, 255, 255, .07); }
.dui-press-strip.is-light { background: var(--cx-surface); border-top: 0; border-bottom: 1px solid var(--cx-line); }
.dui-press-label { margin: 0 0 18px; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--cx-accent-soft); }
.is-light .dui-press-label { color: var(--cx-accent-deep); }
.dui-press-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 30px; margin: 0; padding: 0; list-style: none; }
.dui-press-row img { opacity: .72; transition: opacity .3s, transform .3s var(--cx-ease); }
.dui-press-row li:hover img { opacity: 1; transform: translateY(-2px); }

.dui-trust-grid { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 24px; align-items: stretch; }
.dui-ratings { display: grid; gap: 18px; align-content: start; }
.dui-press-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.dui-press-title { display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 22px 20px; background: var(--cx-ink); }
.dui-press-title .cx-eyebrow { margin-bottom: 10px; color: var(--cx-accent-soft); font-size: 10.5px; }
.dui-press-title .cx-eyebrow::before { width: 24px; }
.dui-press-title p { margin: 0; font-family: var(--cx-font-display); font-size: 22px; line-height: 1.2; color: #fff; }
.dui-press-title em { color: var(--cx-accent); }
.dui-press-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; min-height: 132px; padding: 22px 14px 14px; overflow: hidden; background: var(--cx-surface); box-shadow: 0 0 0 1px var(--cx-line); transition: transform .5s var(--cx-ease), box-shadow .5s var(--cx-ease); }
.dui-press-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--cx-accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--cx-ease); }
.dui-press-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--cx-accent), var(--cx-shadow); }
.dui-press-card:hover::after { transform: scaleX(1); }
.dui-press-logo { flex: 1; display: grid; place-items: center; width: 100%; }
.dui-press-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #5A6172; }

/* Google rating cards */
.dui-rate { display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 22px; background: var(--cx-ink); border-top: 3px solid var(--cx-accent); color: var(--cx-on-ink-muted); text-decoration: none; transition: transform .5s var(--cx-ease), box-shadow .5s var(--cx-ease); }
.dui-rate:hover { color: var(--cx-on-ink-muted); transform: translateY(-6px); box-shadow: var(--cx-shadow); }
.dui-rate-top { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.dui-g { flex: 0 0 auto; width: 32px; height: 32px; padding: 5px; border-radius: 50%; background: #fff; }
.dui-rate-score { display: flex; align-items: center; gap: 14px; }
.dui-rate-score strong { font-family: var(--cx-font-display); font-weight: 400; font-size: 60px; line-height: 1; color: #fff; }
.dui-stars { display: inline-flex; gap: 3px; color: var(--cx-accent); }
.dui-stars svg { fill: currentColor; stroke: currentColor; }
.dui-rate-meta { font-size: 14px; }
.dui-rate-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cx-accent-soft); }
.dui-rate-link svg { transition: transform .3s var(--cx-ease); }
.dui-rate:hover .dui-rate-link svg { transform: translateX(4px); }

/* Credentials */
.dui-creds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 40px 0 0; padding: 30px 0 0; list-style: none; border-top: 1px solid var(--cx-line); }
.dui-creds li { display: flex; align-items: flex-start; gap: 14px; font-size: 14px; line-height: 1.5; }
.dui-creds svg { flex: 0 0 auto; width: 46px; height: 46px; padding: 10px; border: 1px solid var(--cx-line); border-radius: 50%; color: var(--cx-accent-deep); background: var(--cx-surface); }
.dui-creds strong { display: block; margin-bottom: 2px; font-size: 15px; color: var(--cx-heading); }
.dui-fineprint { margin: 22px 0 0; font-size: 12.5px; line-height: 1.6; color: #5A6172; }
.dui-fineprint .cx-textlink { margin-left: 8px; font-size: 13px; }

/* Reviews */
.dui-reviews .cx-qcard .dui-stars { margin-top: 4px; }
.dui-reviews .cx-qcard blockquote, .dui-review-grid blockquote { font-size: 16.5px; line-height: 1.65; }
.cx-qcard figcaption { color: #5A6172; }
.dui-ratings-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.dui-review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.dui-center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }

/* ==========================================================================
   Homepage sections
   ========================================================================== */
.dui-intro .cx-intro-grid { align-items: center; }
.dui-statement-sub { max-width: 520px; margin: 26px 0 22px; font-size: 18px; line-height: 1.7; }
.dui-tracks { display: grid; gap: 18px; }
.dui-track { position: relative; display: block; padding: 30px 30px 26px; overflow: hidden; isolation: isolate; background: var(--cx-surface); box-shadow: 0 0 0 1px var(--cx-line); color: var(--cx-text); text-decoration: none; transition: color .5s var(--cx-ease), transform .5s var(--cx-ease), box-shadow .5s var(--cx-ease); }
.dui-track::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cx-ink); clip-path: circle(0% at 100% 0%); transition: clip-path .8s var(--cx-ease); }
.dui-track:hover, .dui-track:focus-visible { color: var(--cx-on-ink-muted); transform: translateY(-6px); box-shadow: var(--cx-shadow); }
.dui-track:hover::before, .dui-track:focus-visible::before { clip-path: circle(150% at 100% 0%); }
.dui-track-k { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cx-accent-deep); transition: color .5s; }
.dui-track h3 { margin: 10px 0; font-size: 28px; font-weight: 400; color: var(--cx-heading); transition: color .5s; }
.dui-track p { margin: 0 0 18px; font-size: 15.5px; line-height: 1.7; }
.dui-track:hover h3, .dui-track:focus-visible h3 { color: #fff; }
.dui-track:hover .dui-track-k, .dui-track:hover .cx-card-link { color: var(--cx-accent-soft); }

/* Law facts band */
.dui-facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .14); }
.dui-fact { padding: 36px 28px 8px 0; }
.dui-fact + .dui-fact { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .14); }
.dui-fact strong { display: flex; align-items: baseline; gap: 10px; font-family: var(--cx-font-display); font-weight: 400; font-size: clamp(52px, 5.6vw, 82px); line-height: 1; color: var(--cx-accent); }
.dui-fact small { font-family: var(--cx-font-body); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.dui-fact p { margin: 14px 0 0; font-size: 15px; line-height: 1.65; color: var(--cx-on-ink-muted); }

/* First 10 days timeline */
.dui-timeline { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 8px 0 0; padding: 0; list-style: none; }
.dui-timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--cx-line); }
.dui-tl { position: relative; padding: 42px 24px 0 0; }
.dui-tl::before { content: ""; position: absolute; left: 0; top: 11px; width: 0; height: 2px; background: var(--cx-accent); transition: width 1.1s var(--cx-ease) .2s; }
.dui-tl.in::before, .no-js .dui-tl::before { width: 100%; }
.dui-tl-dot { position: absolute; z-index: 1; left: 0; top: 4px; width: 16px; height: 16px; border: 2px solid var(--cx-accent); border-radius: 50%; background: var(--cx-ground-2); transition: background .5s .3s; }
.dui-tl.in .dui-tl-dot { background: var(--cx-accent); }
.dui-tl.is-key .dui-tl-dot { left: -3px; top: 1px; width: 22px; height: 22px; box-shadow: 0 0 0 7px rgba(200, 155, 60, .18); }
.dui-tl-day { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cx-accent-deep); }
.dui-tl h3 { margin: 0 0 10px; font-size: 23px; font-weight: 400; color: var(--cx-heading); }
.dui-tl.is-key h3 { color: var(--dui-gold-text); }
.dui-tl p { margin: 0; font-size: 15px; line-height: 1.7; }
.dui-tl-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 48px; }

/* Practice tabs */
.dui-tabs { margin-bottom: 54px; }
.dui-tabs .cx-tab { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 8px 20px; }
.dui-tabs .cx-tab svg { color: var(--cx-accent-deep); transition: transform .4s var(--cx-ease); }
.dui-tabs .cx-tab:hover svg, .dui-tabs .cx-tab.is-active svg { transform: translateY(-3px); }
.dui-tabpanel { grid-template-columns: 4fr 7fr; gap: 64px; }
.dui-tab-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 4px 200px 4px 4px; background: radial-gradient(circle at 50% 46%, rgba(200, 155, 60, .24), transparent 62%), var(--cx-ink); }
.dui-tab-ic { width: 44%; height: 44%; color: var(--cx-accent); stroke-width: 1; }
.dui-tab-num { position: absolute; left: 26px; bottom: 16px; font-family: var(--cx-font-display); font-size: 58px; line-height: 1; color: rgba(255, 255, 255, .12); }
.dui-tabpanel h3 { margin: 0 0 14px; font-size: clamp(30px, 3vw, 42px); font-weight: 400; color: var(--cx-heading); }
.dui-tabpanel p { font-size: 17px; line-height: 1.75; }
.dui-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; padding: 0; list-style: none; }
.dui-chips a { display: inline-block; padding: 9px 14px; border: 1px solid var(--cx-line); background: var(--cx-surface); font-size: 14px; font-weight: 600; color: var(--cx-heading); text-decoration: none; transition: border-color .3s, color .3s, transform .3s var(--cx-ease); }
.dui-chips a:hover { border-color: var(--cx-accent); color: var(--cx-accent-deep); transform: translateY(-2px); }

/* Florida map */
.dui-map-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 64px; align-items: center; }
.dui-map { position: relative; padding: 30px 30px 22px; border-radius: 3px; background: radial-gradient(70% 60% at 70% 55%, rgba(200, 155, 60, .12), transparent 70%), var(--cx-ink); }
.dui-flmap { display: block; width: 100%; height: auto; overflow: visible; }
.dui-fl-land { fill: rgba(200, 155, 60, .09); stroke: var(--cx-accent); stroke-width: 1.6; stroke-linejoin: round; }
html:not(.no-js) .dui-map:not(.in) .dui-fl-land.draw { stroke-dashoffset: 1; }
.dui-map.in .dui-fl-land.draw { animation: dui-draw 2.4s var(--cx-ease) both; }
.dui-fl-keys { fill: none; stroke: var(--cx-accent); stroke-width: 2.5; stroke-dasharray: 2 7; stroke-linecap: round; opacity: .7; }
.dui-fl-lake { fill: var(--cx-ink); stroke: rgba(200, 155, 60, .45); stroke-width: 1; }
.dui-pin .dui-dot { fill: var(--cx-ink); stroke: var(--cx-accent); stroke-width: 2; transition: fill .3s, stroke-width .3s; }
.dui-pin.is-office .dui-dot { fill: var(--cx-accent); stroke: #fff; }
.dui-pin text { font: 800 11px var(--cx-font-body); fill: var(--cx-accent); text-anchor: middle; pointer-events: none; }
.dui-pin.is-office text { fill: var(--cx-ink); }
.dui-pin.is-hot .dui-dot { fill: #fff; stroke-width: 4; }
.dui-pin.is-hot text { fill: var(--cx-ink); }
.dui-pulse { fill: none; stroke: var(--cx-accent); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: dui-pulse 2.4s ease-out 2; opacity: 0; }
.dui-pulse-2 { animation-delay: 1.2s; }
@keyframes dui-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.cx-paused .dui-pulse { animation-play-state: paused; }
.dui-map-key { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--cx-on-ink-muted); }
.dui-map-key span { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.dui-map-key .k-office { background: var(--cx-accent); }
.dui-map-key .k-region { margin-left: 12px; border: 2px solid var(--cx-accent); }
.dui-map-lede { margin: 0 0 6px; font-size: 17px; line-height: 1.75; }
.dui-region-list { margin: 26px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--cx-line); }
.dui-region-list a { display: grid; grid-template-columns: 42px minmax(0, 1fr) 20px; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--cx-line); color: var(--cx-heading); text-decoration: none; transition: padding .4s var(--cx-ease), color .3s; }
.dui-region-list a:hover, .dui-region-list a.is-hot { padding-left: 8px; color: var(--cx-ink); }
.dui-region-list a svg { color: var(--cx-accent-deep); transition: transform .3s var(--cx-ease); }
.dui-region-list a:hover svg { transform: translateX(4px); }
.dui-rl-num { font-family: var(--cx-font-display); font-size: 20px; color: var(--dui-gold-text); }
.dui-rl-txt strong { display: block; font-size: 18px; }
.dui-rl-txt small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.5; color: #5A6172; }

/* Founder band (text only, no photo) */
.dui-feature { position: relative; overflow: hidden; }
.dui-feature .dui-feature-art { position: absolute; z-index: 0; top: 50%; right: -90px; width: 640px; transform: translateY(-50%); opacity: .18; pointer-events: none; }
.dui-feature .dui-feature-art .dui-scene { width: 100%; }
.dui-feature-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 70px; align-items: center; }
.dui-feature .cx-quote { margin-top: 4px; }
.dui-quote-attr { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--cx-accent-soft); }
.dui-founder-card { padding: 34px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); }
.dui-founder-card h3 { margin: 0 0 6px; font-size: 32px; font-weight: 400; color: #fff; }
.dui-founder-kicker { margin: 0; font-size: 14px; color: var(--cx-accent-soft); }

/* FAQ, steps */
.dui-faq .cx-faq-side p { margin: 0 0 26px; }
.cx-faq-a p { line-height: 1.75; }
.cx-step h3 { margin: 0 0 10px; font-size: 25px; font-weight: 400; }
.cx-step p { margin: 0; line-height: 1.7; }

/* Closing contact band */
.cx-contact-phone .phone-display { font-variant-numeric: tabular-nums; }
.dui-contact-card { padding: 34px; border-top: 4px solid var(--cx-accent); background: var(--cx-surface); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); color: var(--cx-text); }
.dui-checks { display: grid; gap: 14px; margin: 0 0 24px; padding: 0; list-style: none; }
.dui-checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--cx-heading); }
.dui-checks svg { flex: 0 0 auto; color: var(--cx-accent-deep); }
.dui-offices-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 22px; border-top: 1px solid var(--cx-line); }
.dui-offices-mini a { display: flex; gap: 10px; padding: 14px; background: var(--cx-ground); color: var(--cx-text); font-size: 13.5px; line-height: 1.5; text-decoration: none; transition: background .3s, transform .3s var(--cx-ease); }
.dui-offices-mini a:hover { background: var(--cx-ground-2); color: var(--cx-text); transform: translateY(-2px); }
.dui-offices-mini svg { flex: 0 0 auto; margin-top: 2px; color: var(--cx-accent-deep); }
.dui-offices-mini strong { display: block; color: var(--cx-heading); font-size: 14.5px; }
.cx-contact .dui-contact-note { margin: 16px 0 0; font-size: 13px; color: #5A6172; }

/* ==========================================================================
   Inner page body: prose, aside, cards
   ========================================================================== */
.cx-prose > :first-child { margin-top: 0; }
.cx-prose p { margin: 0 0 1.1em; }
.cx-prose h2 { scroll-margin-top: calc(var(--cx-header-h) + 20px); }
.cx-prose h3 { font-weight: 600; }
.cx-prose a { color: var(--cx-accent-deep); text-decoration: underline; text-decoration-color: rgba(200, 155, 60, .55); text-underline-offset: 3px; }
.cx-prose a:hover { color: var(--cx-ink); }
.cx-prose .callout { margin: 32px 0; padding: 22px 24px; background: var(--cx-ground-2); border-left: 3px solid var(--cx-accent); }
.cx-prose .callout ul { margin: 12px 0 0; }
.cx-prose .callout li:last-child { margin-bottom: 0; }
.cx-prose .prose__lede { font-size: 20px; line-height: 1.65; color: var(--cx-heading); }
.cx-prose .prose__note { margin-top: 32px; font-size: 13px; color: #5A6172; }
.cx-prose table { font-size: 15px; }
.cx-prose td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--cx-line); vertical-align: top; }
.dui-narrow { max-width: 760px; margin: 0 auto; }
.cx-split { grid-template-columns: minmax(0, 1fr) 340px; }
.cx-aside-card h3 { margin: 0; }
.dui-aside-phone { display: flex; align-items: center; gap: 10px; margin: 14px 0 18px; font-size: 25px; font-weight: 800; color: #fff; text-decoration: none; white-space: nowrap; }
.dui-aside-phone svg { color: var(--cx-accent); }
.dui-aside-phone:hover { color: var(--cx-accent-soft); }
.dui-aside-note { margin: 14px 0 0; font-size: 13px; color: var(--cx-on-ink-muted); }
.dui-aside-box { padding: 24px 24px 18px; background: var(--cx-surface); box-shadow: 0 0 0 1px var(--cx-line); }
.dui-aside-box h3 { margin: 0 0 10px; font-family: var(--cx-font-body); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cx-accent-deep); }
.dui-linklist { margin: 0; padding: 0; list-style: none; }
.dui-linklist a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--cx-line); font-size: 15px; font-weight: 600; color: var(--cx-heading); text-decoration: none; transition: color .3s; }
.dui-linklist li:last-child a { border-bottom: 0; }
.dui-linklist a svg { flex: 0 0 auto; color: var(--cx-accent-deep); transition: transform .3s var(--cx-ease); }
.dui-linklist a:hover { color: var(--cx-accent-deep); }
.dui-linklist a:hover svg { transform: translateX(4px); }
.dui-facts-list { margin: 0; padding: 0; list-style: none; }
.dui-facts-list li { display: grid; gap: 3px; padding: 11px 0; border-bottom: 1px solid var(--cx-line); font-size: 14.5px; line-height: 1.55; }
.dui-facts-list li:last-child { border-bottom: 0; }
.dui-facts-list span { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #5A6172; }
.dui-facts-list strong { font-weight: 500; color: var(--cx-heading); }
.dui-facts-list a { color: var(--cx-accent-deep); }
.dui-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.dui-toc li { counter-increment: toc; }
.dui-toc a { display: grid; grid-template-columns: 30px 1fr; padding: 8px 0; font-size: 14px; line-height: 1.5; color: var(--cx-heading); text-decoration: none; border-bottom: 1px solid var(--cx-line); }
.dui-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--cx-font-display); color: var(--dui-gold-text); }
.dui-toc a:hover { color: var(--cx-accent-deep); }

.cx-page .cx-card { min-height: 280px; }
.cx-page .cx-card h3 { font-weight: 400; }
.cx-card-body { line-height: 1.7; }
.dui-post-cards .cx-card { min-height: 230px; }
.dui-post-cards .cx-card h3 { font-size: 22px; line-height: 1.3; }
.dui-city-cards .cx-card { min-height: 250px; }

/* Office pages and cards */
.dui-quick { background: var(--cx-surface); border-bottom: 1px solid var(--cx-line); }
.dui-quick-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 28px 0; list-style: none; }
.dui-quick-row li { display: flex; align-items: center; gap: 14px; font-size: 14px; line-height: 1.45; color: var(--cx-text); }
.dui-quick-row svg { flex: 0 0 auto; width: 48px; height: 48px; padding: 11px; border-radius: 50%; background: var(--cx-ink); color: var(--cx-accent); }
.dui-quick-row strong { display: block; font-size: 15.5px; color: var(--cx-heading); }
.dui-office-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: start; }
.dui-office-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dui-office-card { display: grid; grid-template-columns: 200px minmax(0, 1fr); overflow: hidden; background: var(--cx-surface); box-shadow: 0 0 0 1px var(--cx-line); }
.dui-office-map { display: grid; place-items: center; padding: 18px; background: radial-gradient(circle at 70% 50%, rgba(200, 155, 60, .16), transparent 70%), var(--cx-ink); }
.dui-office-body { padding: 30px 30px 24px; }
.dui-office-name { margin: 0 0 16px; font-size: 30px; font-weight: 400; color: var(--cx-heading); }
.cx-page h2.dui-office-name { font-size: clamp(30px, 3vw, 40px); }
.dui-office-rows { display: grid; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 15px; line-height: 1.5; }
.dui-office-rows li { display: flex; align-items: flex-start; gap: 10px; }
.dui-office-rows svg { flex: 0 0 auto; margin-top: 2px; color: var(--cx-accent-deep); }
.dui-office-rows a { color: var(--cx-heading); text-decoration: none; border-bottom: 1px solid var(--cx-line); }
.dui-office-rows a:hover { color: var(--cx-accent-deep); border-color: var(--cx-accent); }
.dui-office-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dui-office-links { display: flex; flex-wrap: wrap; gap: 20px; margin: 18px 0 0; font-size: 14px; }
.dui-office-links:empty { display: none; }

/* David page (text only) */
.dui-attorney { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 44px; align-items: center; padding: 44px; background: var(--cx-surface); box-shadow: 0 0 0 1px var(--cx-line); }
.dui-attorney-mark { display: grid; place-items: center; aspect-ratio: 1; border-radius: 4px 100px 4px 4px; background: radial-gradient(circle, rgba(200, 155, 60, .25), transparent 65%), var(--cx-ink); color: var(--cx-accent); }
.dui-attorney-mark svg { width: 46%; height: 46%; stroke-width: 1.1; }
.dui-attorney-title { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--cx-accent-deep); }
.cx-page h2.dui-attorney-name { margin: 0; font-size: clamp(36px, 4vw, 50px); }
.dui-attorney-creds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; margin: 20px 0 28px; padding: 0; list-style: none; font-size: 15px; color: var(--cx-heading); }
.dui-attorney-creds li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.dui-attorney-creds svg { flex: 0 0 auto; color: var(--cx-accent-deep); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1179px) {
  .dui-trust-grid { grid-template-columns: 1fr; }
  .dui-ratings { grid-template-columns: 1fr 1fr; }
  .dui-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .dui-timeline::before { display: none; }
  .dui-office-pair { grid-template-columns: 1fr; }
}
@media (max-width: 1023px) {
  .dui-hero { grid-template-columns: 1fr; }
  .dui-hero .cx-hero-media { order: 2; height: 400px; min-height: 0; }
  .dui-hero .cx-hero-copy { padding-bottom: 96px; }
  .dui-tabpanel, .dui-map-grid, .dui-feature-grid, .dui-office-grid { grid-template-columns: 1fr; gap: 40px; }
  .dui-tab-art { max-width: 260px; }
  .dui-creds, .dui-quick-row { grid-template-columns: 1fr 1fr; }
  .dui-facts-grid { grid-template-columns: 1fr 1fr; }
  .dui-fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .dui-fact:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .dui-review-grid { grid-template-columns: 1fr 1fr; }
  .dui-attorney { grid-template-columns: 1fr; padding: 34px 28px; }
  .dui-attorney-mark { max-width: 150px; }
  .cx-page-hero .dui-ph-art { opacity: .2; width: min(420px, 70vw); right: -12vw; }
}
@media (max-width: 767px) {
  .dui-h1 { font-size: 12px; }
  .dui-hero .cx-hero-media { height: 330px; }
  .dui-hero-art .cx-badge { padding: 10px 14px; }
  .dui-hero-art .cx-badge.b { display: none; }
  .dui-hero-art .cx-badge strong { font-size: 13px; }
  .dui-hero-trust { gap: 20px; }
  .dui-hero-trust strong { font-size: 26px; }
  .dui-hero-trust span { font-size: 10px; letter-spacing: .08em; }
  .cx-page .dui-page-hero { padding: 54px 0 52px; }
  .cx-page .dui-page-hero .dui-ph-lede { font-size: 16.5px; }
  .dui-press-row { gap: 16px 26px; }
  .dui-press-grid { grid-template-columns: 1fr 1fr; }
  .dui-press-title { grid-column: 1 / -1; }
  .dui-ratings, .dui-ratings-row, .dui-creds, .dui-quick-row, .dui-review-grid, .dui-offices-mini, .dui-attorney-creds { grid-template-columns: 1fr; }
  .dui-facts-grid { grid-template-columns: 1fr; }
  .dui-fact, .dui-fact + .dui-fact { padding: 26px 0 6px; border-left: 0; }
  .dui-fact + .dui-fact { border-top: 1px solid rgba(255, 255, 255, .14); }
  .dui-timeline { grid-template-columns: 1fr; row-gap: 0; }
  .dui-timeline::before { display: block; left: 7px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .dui-tl { padding: 0 0 30px 44px; }
  .dui-tl::before { display: none; }
  .dui-tl-dot { top: 2px; }
  .dui-tl.is-key .dui-tl-dot { left: -3px; top: 0; }
  .dui-tabs.cx-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .dui-tabs .cx-tab { padding: 16px 2px 14px; font-size: 11px; letter-spacing: .04em; }
  .dui-map { padding: 18px 16px 14px; }
  .dui-office-card { grid-template-columns: 1fr; }
  .dui-office-map { padding: 14px 40px; }
  .dui-office-map svg { max-width: 220px; }
  .dui-office-body { padding: 24px 20px 20px; }
  .dui-feature .dui-feature-art { width: 420px; right: -160px; opacity: .12; }
  .dui-contact-card { padding: 26px 20px; }
  .dui-aside-phone { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .dui-pulse { display: none; }
}

/* ---------- Google marks wherever ratings or reviews appear (2026-11-26) ---------- */
.dui-gmark { display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.dui-gmark-tb { width: 17px; height: 17px; margin: -2px 6px 0 0; padding: 2px; border-radius: 50%; background: #fff; }
.top-bar__rating { display: inline-flex; align-items: center; }
.dui-hero-trust strong { display: inline-flex; align-items: center; gap: 10px; }
.dui-hero-trust .dui-gmark { width: 28px; height: 28px; padding: 4px; border-radius: 50%; background: #fff; }
.cx-badge strong .dui-stars { margin-left: 6px; vertical-align: -2px; }
.dui-badge-g { flex: 0 0 auto; }
.dui-src { display: inline-flex; align-items: center; gap: 6px; }
.dui-chip strong { color: #fff; }
.dui-chip.is-light { border-color: var(--cx-line); background: var(--cx-surface); color: var(--cx-heading); }
.dui-chip.is-light:hover { border-color: var(--cx-accent); background: var(--cx-surface); color: var(--cx-heading); }
.dui-chip.is-light strong { color: var(--cx-heading); }
.dui-chips-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.dui-contact-card .dui-chips-row { margin: 0 0 22px; }
.dui-aside-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: var(--cx-on-ink-muted); }
.dui-aside-rating .dui-gmark { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #fff; }
.dui-aside-rating strong { color: #fff; }
.dui-btn-call { display: inline-flex; align-items: center; gap: 8px; }

/* Header on small phones: keep the number on one line */
.header__phone { white-space: nowrap; }
@media (max-width: 480px) {
  .header__wrap { gap: 10px; padding: 12px 16px; }
  .header__logo img { height: 40px; }
  .header__logo-text { font-size: 15px; }
  .header__phone { font-size: 14px; }
  .dui-hero-trust { gap: 16px; }
  .dui-hero-trust .dui-gmark { width: 24px; height: 24px; }
}

/* Tap targets of at least 24px on phones (WCAG 2.5.8) */
@media (max-width: 767px) {
  .header__phone { min-height: 40px; }
  .foot__bottom-legal a { display: inline-block; padding: 6px 2px; }
  .cx-crumbs a, .cx-crumbs span { display: inline-block; padding: 4px 0; }
  .dui-office-rows a, .dui-inline-phone { display: inline-block; padding: 3px 0; }
}

/* Review stars: one bright gold everywhere a 5 star rating appears (user request 2026-11-26) */
:root { --dui-star: #F5B400; }
.dui-stars, .cx-page .dui-stars, .tb-stars { color: var(--dui-star); }
.dui-stars svg { fill: var(--dui-star); stroke: var(--dui-star); }
.tb-stars { margin-right: 4px; letter-spacing: 1px; }

/* Practice photos: objects and places only, never people. Navy tint, slow zoom when a tab opens. */
.dui-tab-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.05); }
.dui-tab-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(205deg, rgba(10, 29, 60, .12) 15%, rgba(10, 29, 60, .9) 100%); }
.dui-tab-art .dui-tab-ic { position: absolute; z-index: 1; right: 26px; bottom: 22px; width: 58px; height: 58px; }
.dui-tab-num { z-index: 1; color: rgba(255, 255, 255, .72); }
.dui-tabpanel.is-active .dui-tab-photo { animation: dui-kb 9s var(--cx-ease) both; }
@keyframes dui-kb { from { transform: scale(1.12); } to { transform: scale(1); } }
.cx-card-media { position: relative; display: block; margin: -40px -34px 28px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--cx-ink); }
.cx-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); transition: transform 1.2s var(--cx-ease), filter .6s; }
.cx-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 29, 60, .08), rgba(10, 29, 60, .6)); transition: opacity .6s; }
.cx-card:hover .cx-card-media img { transform: scale(1.06); filter: saturate(1); }
.cx-card:hover .cx-card-media::after { opacity: .45; }
.dui-practice-cards .cx-card-num { z-index: 1; top: 14px; color: rgba(255, 255, 255, .8); }
@media (prefers-reduced-motion: reduce) {
  .dui-tabpanel.is-active .dui-tab-photo { animation: none; }
  .cx-card:hover .cx-card-media img { transform: none; }
}

/* Reviews marquee: two rows drifting in opposite directions, the firm name highlighted in gold */
.dui-mq { display: grid; gap: 22px; padding: 6px 0 10px; }
.dui-mq-row { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.dui-mq-track { display: flex; align-items: stretch; gap: 22px; width: max-content; padding: 8px 0; animation: cx-scroll 120s linear infinite; }
.dui-mq-row.is-rev .dui-mq-track { animation-direction: reverse; animation-duration: 135s; }
.dui-mq-card { flex: 0 0 380px; }
.dui-mq:hover .dui-mq-track, .dui-mq:focus-within .dui-mq-track, .dui-reviews.is-paused .dui-mq-track, .cx-paused .dui-mq-track { animation-play-state: paused; }
mark.dui-firm { padding: 1px 6px; border-radius: 3px; background: var(--dui-star); color: var(--cx-ink); font-weight: 600; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.dui-mq-toggle { flex: 0 0 auto; width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--cx-line); background: transparent; color: var(--cx-ink); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.dui-mq-toggle:hover, .dui-mq-toggle:focus-visible { background: var(--cx-accent); border-color: var(--cx-accent); color: #fff; }
.dui-mq-toggle .i-play, .dui-reviews.is-paused .dui-mq-toggle .i-pause { display: none; }
.dui-reviews.is-paused .dui-mq-toggle .i-play { display: block; }
@media (max-width: 700px) {
  .dui-mq-card { flex-basis: 300px; }
  .dui-mq-card blockquote { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .dui-mq-track { animation: none; }
  .dui-mq-row { overflow-x: auto; mask-image: none; }
  .dui-mq-row.is-rev, .dui-mq-track > [aria-hidden="true"], .dui-mq-toggle { display: none; }
}
