/* ================= Design tokens (muted grey-blue — less saturated than the original
   Meta-blue accent, still recognizably blue) ================= */
:root{
  --bg:#eef0f2;
  --bg-soft:#e6e8ec;
  --panel:#ffffff;
  --accent:#3d6d96;
  --accent-dark:#305374;
  --ink:#242c35;
  --ink-soft:rgba(36,44,53,0.72);
  --ink-faint:rgba(36,44,53,0.5);
  --line:rgba(36,44,53,0.12);
  --grid-color:rgba(74,90,105,0.06);
  --accent-yellow:#fdc500;
  --accent-yellow-dark:#e0af00;
  --accent-yellow-ink:#171717;
  --max:1700px;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink);
  background-color:var(--bg);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
button{font-family:inherit;}
h1,h2,h3{text-transform:uppercase;letter-spacing:0.01em;}

.wrap{max-width:var(--max);margin:0 auto;padding:0 20px;position:relative;z-index:1;}

/* ================= Header / Nav ================= */
header.site{background:rgba(255,255,255,0.9);backdrop-filter:saturate(140%) blur(8px);-webkit-backdrop-filter:saturate(140%) blur(8px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:40;}
header.site .wrap{max-width:1280px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:12px;padding-bottom:12px;}
.brand{flex-shrink:0;}
.brand-logo-wrap{position:relative;display:inline-block;height:44px;aspect-ratio:5199/2284;}
.brand-logo{position:absolute;top:0;left:0;width:100%;height:100%;}
.brand-logo-bold{clip-path:inset(0 0 30% 0);filter:drop-shadow(0 0 0.5px #0B2342) drop-shadow(0 0 0.5px #0B2342);}
.brand-logo-plain{clip-path:inset(70% 0 0 0);}

nav.main{display:flex;align-items:center;gap:30px;}
nav.main a.navlink{font-size:14px;font-weight:600;color:var(--ink-soft);letter-spacing:0.01em;white-space:nowrap;}
nav.main a.navlink:hover,nav.main a.navlink.active{color:var(--accent);}

.nav-dropdown{position:relative;}
.nav-dropdown > .navlink{display:inline-flex;align-items:center;gap:5px;cursor:default;}
.nav-dropdown > .navlink svg{transition:transform .15s;}
.nav-dropdown:hover > .navlink svg{transform:rotate(180deg);}
.dropdown-menu{position:absolute;top:100%;left:50%;transform:translateX(-50%);margin-top:14px;background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:0 20px 40px -20px rgba(36,44,53,0.35);padding:8px;min-width:200px;opacity:0;visibility:hidden;transform:translateX(-50%) translateY(-6px);transition:opacity .15s, transform .15s, visibility .15s;}
.nav-dropdown:hover .dropdown-menu{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);}
.dropdown-menu a{display:block;padding:10px 14px;border-radius:8px;font-size:13.5px;font-weight:600;color:var(--ink-soft);white-space:nowrap;}
.dropdown-menu a:hover{background:var(--bg-soft);color:var(--accent);}

.header-actions{display:flex;align-items:center;gap:18px;}
.header-actions .header-badge,
.mobile-menu .header-badge{background:none;border:none;border-radius:0;padding:0;}
.header-actions .header-badge{font-size:12.5px;white-space:nowrap;flex-shrink:0;}
.header-phone{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:var(--ink);}
.header-phone svg{color:var(--accent);}

.nav-toggle{display:none;background:none;border:1px solid var(--line);border-radius:8px;width:40px;height:40px;align-items:center;justify-content:center;color:var(--ink);}

.mobile-menu{display:none;flex-direction:column;gap:2px;background:var(--panel);border-top:1px solid var(--line);padding:10px 24px 18px;}
.mobile-menu.open{display:flex;}
.mobile-menu a{padding:11px 4px;font-size:14.5px;font-weight:600;color:var(--ink-soft);border-bottom:1px solid var(--line);}
.mobile-menu a:last-child{border-bottom:none;}
.mobile-menu a.btn-primary{margin-top:10px;text-align:center;border-bottom:none;color:var(--accent-yellow-ink);}
.mobile-menu-badge{align-self:flex-start;margin:8px 0;}
.m-group{border-bottom:1px solid var(--line);}
.m-group-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;padding:11px 4px;background:none;border:none;font:inherit;font-size:14.5px;font-weight:600;color:var(--ink-soft);text-align:left;cursor:pointer;}
.m-group-toggle.active{color:var(--accent);}
.m-group-toggle svg{transition:transform .15s;flex-shrink:0;}
.m-group-toggle[aria-expanded="true"] svg{transform:rotate(180deg);}
.m-sub{display:none;flex-direction:column;padding:0 0 6px 14px;}
.m-group.open .m-sub{display:flex;}
.mobile-menu .m-sub a{border-bottom:none;padding:9px 4px;font-size:14px;}

/* ================= Buttons ================= */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14.5px;font-weight:700;letter-spacing:0.01em;padding:13px 26px;border-radius:10px;border:1px solid transparent;white-space:nowrap;}
.btn-primary{background:var(--accent-yellow);color:var(--accent-yellow-ink);box-shadow:0 14px 30px -14px rgba(253,197,0,0.45);}
.btn-primary:hover{background:var(--accent-yellow-dark);}
.btn-outline{background:transparent;border-color:var(--accent);color:var(--accent);}
.btn-outline:hover{background:rgba(61,109,150,0.08);}
.btn-block{width:100%;}

/* ================= Badge / pill ================= */
.badge{display:inline-flex;align-items:center;gap:9px;font-size:13.5px;font-weight:700;letter-spacing:0.02em;color:var(--accent);border:1px solid rgba(61,109,150,0.4);background:rgba(61,109,150,0.06);border-radius:999px;padding:9px 18px;}
.badge svg{color:var(--accent);}

/* ================= Scroll reveal ================= */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .7s cubic-bezier(.16,1,.3,1),transform .7s cubic-bezier(.16,1,.3,1);}
.reveal.in{opacity:1;transform:translateY(0);}
.reveal-1{transition-delay:.06s;}
.reveal-2{transition-delay:.12s;}
.reveal-3{transition-delay:.18s;}
.reveal-4{transition-delay:.24s;}
.reveal-5{transition-delay:.3s;}
.reveal-6{transition-delay:.36s;}
.reveal-7{transition-delay:.42s;}
.reveal-8{transition-delay:.48s;}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none;}
  .photo-reveal{transform:none;transition:none;}
}

/* Photo-card reveal: applied alongside (not instead of) .reveal on photo cards
   site-wide. Driven by the same reversible IntersectionObserver toggle as .reveal
   (see site.js) — the photo grows in slightly from just-under-full-size to its
   normal size as it scrolls into view, and eases back down the same way if
   scrolled past in either direction, so a second pass replays it like the fade
   does. Deliberately subtle (an 8% scale change) rather than a spin or flip. */
.photo-reveal{transition:transform 0.9s cubic-bezier(.16,1,.3,1);transform:scale(0.94);}
.photo-reveal.in{transform:scale(1);}

/* ================= Picture placeholders ================= */
.img-placeholder{border-radius:18px;background:linear-gradient(135deg,rgba(61,109,150,0.09),rgba(61,109,150,0.02));border:1px dashed rgba(61,109,150,0.3);box-shadow:0 24px 50px -28px rgba(36,44,53,0.3);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;text-align:center;}
.img-placeholder-icon{width:56px;height:56px;border-radius:50%;background:rgba(61,109,150,0.12);color:var(--accent);display:flex;align-items:center;justify-content:center;}
.img-placeholder-label{font-size:13px;font-weight:700;color:var(--ink-soft);line-height:1.35;}
.img-placeholder-sub{font-size:11px;font-weight:600;letter-spacing:0.04em;text-transform:uppercase;color:var(--ink-faint);}

/* ================= Attorney team grid ================= */
.team-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:28px;max-width:640px;margin:0 auto;}
.team-card{padding:28px 24px 26px;text-align:center;}
.team-card .img-placeholder{aspect-ratio:4/5;margin:0 0 18px;}
.team-card .team-card-photo{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:center 20%;margin:0 0 18px;border-radius:5.5%/4.4%;}
.team-card h3{margin:0 0 4px;font-size:17px;font-weight:800;color:var(--ink);}
.team-card p{margin:0;font-size:13.5px;color:var(--ink-soft);}
/* Variant used inside the home page's split "About / Trust" teaser, where the team
   grid occupies one half-column instead of the full page width. */
.split-team{max-width:none;margin:0;gap:20px;}
.split-team .team-card{padding:22px 16px 20px;}

/* Stacks the two individual attorney cards above a wide team photo, all within the
   same left column of the split layout. */
.team-column{display:flex;flex-direction:column;gap:20px;}
.team-column .team-photo{width:100%;aspect-ratio:16/9;}
.team-column-photo{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:18px;box-shadow:0 20px 44px -22px rgba(0,0,0,0.6);}

/* ================= Generic section rhythm ================= */
section{position:relative;overflow:hidden;}
/* Every section paints its own grid texture on a masked pseudo-layer so it fades
   out near the top/bottom edges instead of hard-cutting at the section boundary —
   the grid softly dissolves and reappears as you cross from one section into the
   next, rather than just recoloring at a sharp seam. */
section::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size:64px 64px;
  background-position:center;
  -webkit-mask-image:linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image:linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
.section-pad{padding:88px 0;}
.section-head{max-width:1180px;margin:0 auto 44px;text-align:center;}
.section-head .badge{margin-bottom:18px;}
.section-head h2{font-size:clamp(28px,3.2vw,46px);font-weight:800;letter-spacing:-0.01em;margin:0 0 14px;color:var(--ink);text-wrap:balance;}
.section-head p{font-size:clamp(17.5px,1.9vw,21px);font-weight:600;line-height:1.65;color:var(--ink-soft);margin:0 auto;max-width:860px;}
.section-soft{
  background-color:var(--bg-soft);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

/* ================= Dark sections (bdj.com-style alternating rhythm) =================
   Keeps the exact same grid texture as the light sections (via the shared section::before
   layer above), just recolored so it stays visible against a dark background. All existing
   components (cards, badges, icons, forms) already key off the --ink/--panel/--line/--bg
   tokens, so overriding those tokens locally makes the whole section flip to dark
   automatically — only the handful of components using hardcoded rgba(accent) tints need
   explicit overrides. */
.section-dark{
  --bg:#1b2530;
  --bg-soft:#222d38;
  --panel:#2a343f;
  --ink:#f2f3f5;
  --ink-soft:rgba(242,243,245,0.75);
  --ink-faint:rgba(242,243,245,0.55);
  --line:rgba(255,255,255,0.14);
  --accent-pop:#9dbad8;
  --grid-color:rgba(255,255,255,0.075);
  background-color:var(--bg);
  color:var(--ink);
}
.section-dark .card{box-shadow:0 20px 44px -22px rgba(0,0,0,0.6);}
.section-dark .badge{background:rgba(255,255,255,0.08);border-color:rgba(255,255,255,0.3);color:var(--accent-pop);}
.section-dark .badge svg{color:var(--accent-pop);}
.section-dark .btn-outline{border-color:var(--accent-pop);color:var(--accent-pop);}
.section-dark .btn-outline:hover{background:rgba(255,255,255,0.08);}
.section-dark .settlement-card .amt{color:var(--accent-pop);}
.section-dark .practice-card .learn{color:var(--accent-pop);}
.section-dark .split ul li svg{color:var(--accent-pop);}
.section-dark .promise .ico,
.section-dark .info-card .ico,
.section-dark .img-placeholder-icon{background:rgba(255,255,255,0.12);color:var(--accent-pop);}
.section-dark .img-placeholder{background:linear-gradient(135deg,rgba(255,255,255,0.08),rgba(255,255,255,0.02));border-color:rgba(255,255,255,0.28);}
.section-dark .dropdown-menu{background:var(--panel);}

/* ================= Cards ================= */
.card{background:var(--panel);border:1px solid var(--line);border-radius:16px;box-shadow:0 14px 34px -26px rgba(36,44,53,0.28);}

/* Practice area cards */
.practice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;}
.practice-card{padding:32px 28px;display:flex;flex-direction:column;gap:14px;}
.practice-card .ico{width:52px;height:52px;border-radius:13px;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;}
.practice-card h3{margin:0;font-size:19px;font-weight:800;color:var(--ink);}
.practice-card p{margin:0;font-size:14.5px;line-height:1.68;color:var(--ink-soft);flex:1;}
.practice-card .learn{font-size:13.5px;font-weight:700;color:var(--accent);display:inline-flex;align-items:center;gap:6px;}

/* Settlement strip */
.settlement-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.settlement-card{padding:24px 20px;text-align:center;}
.settlement-card .amt{font-size:26px;font-weight:800;color:var(--accent-dark);letter-spacing:-0.01em;}
.settlement-card .cat{margin-top:6px;font-size:12px;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;color:var(--ink-faint);}
.settlement-card .detail{margin-top:8px;font-size:12.5px;line-height:1.5;color:var(--ink-soft);}

/* Settlement slider (drag or arrow-button navigation, no external library).
   Card width is a percentage of the track so roughly two sit in view at once,
   with a slice of the next one peeking to signal there's more to scroll. */
.slider{position:relative;padding:0 8px;}
.slider-track{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;cursor:grab;padding:4px 4px 14px;scrollbar-width:none;-ms-overflow-style:none;}
.slider-track::-webkit-scrollbar{display:none;}
.slider-track.dragging{cursor:grabbing;scroll-snap-type:none;user-select:none;}
.slider-track.autoplaying{scroll-snap-type:none;}
.slider-track .settlement-card{flex:0 0 44%;scroll-snap-align:start;padding:44px 40px;background:#2a343f;border-color:rgba(255,255,255,0.14);box-shadow:0 20px 44px -22px rgba(0,0,0,0.6);}
.slider-track .settlement-card .amt{font-size:40px;color:var(--accent-yellow);}
.slider-track .settlement-card .cat{margin-top:10px;font-size:13.5px;color:rgba(242,243,245,0.85);}
.slider-track .settlement-card .detail{margin-top:12px;font-size:14.5px;color:rgba(242,243,245,0.9);}
.slider-arrow{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;background:var(--panel);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:var(--ink);box-shadow:0 14px 30px -18px rgba(36,44,53,0.35);z-index:2;}
.slider-arrow:hover{background:var(--accent);color:#fff;border-color:var(--accent);}
.slider-arrow.prev{left:-14px;}
.slider-arrow.next{right:-14px;}

/* Full-bleed variant: breaks the slider out of the centered `.wrap` column so cards can
   scroll flush to the real browser edges on wide screens, instead of stopping abruptly
   at the (invisible) max-width boundary. The heading above stays inside `.wrap` as normal;
   only this track spans the viewport. Falls back to the ordinary wrap gutter on narrow
   screens since the calc() naturally clamps to the max(24px, ...) floor there. */
.settlements-section{overflow-x:hidden;}
.slider-bleed{width:100vw;position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw;padding:0;}
.slider-bleed .slider-track{padding-left:max(24px, calc((100vw - var(--max)) / 2 + 24px));padding-right:max(24px, calc((100vw - var(--max)) / 2 + 24px));}
.slider-bleed .slider-arrow.prev{left:max(8px, calc((100vw - var(--max)) / 2 + 8px));}
.slider-bleed .slider-arrow.next{right:max(8px, calc((100vw - var(--max)) / 2 + 8px));}
@media (max-width:900px){
  .slider-track .settlement-card{flex-basis:64%;padding:36px 32px;}
  .slider-track .settlement-card .amt{font-size:34px;}
}
@media (max-width:640px){
  .slider-arrow{display:none;}
  .slider{padding:0;}
  .slider-track .settlement-card{flex-basis:80%;padding:32px 28px;}
}

/* Promises grid */
.promise-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
.promise{padding:20px 18px;display:flex;align-items:center;gap:12px;}
.promise .ico{flex:0 0 auto;width:36px;height:36px;border-radius:10px;background:rgba(61,109,150,0.1);color:var(--accent);display:flex;align-items:center;justify-content:center;}
.promise span{font-size:13.5px;font-weight:700;color:var(--ink);line-height:1.35;}


/* Process steps */
.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;}
.step{padding:26px 24px;}
.step .num{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:var(--accent-yellow);color:var(--accent-yellow-ink);font-weight:800;font-size:16px;margin-bottom:16px;}
.step h3{margin:0 0 7px;font-size:16px;font-weight:800;color:var(--ink);}
.step p{margin:0;font-size:13.5px;line-height:1.62;color:var(--ink-soft);}

/* ================= Generic hero ================= */
.hero{padding:74px 0 68px;background-image:radial-gradient(900px 460px at 50% -10%, rgba(61,109,150,0.10), transparent 60%);}
.hero.section-dark,.page-hero.section-dark{
  background-color:var(--bg);
  background-image:radial-gradient(900px 460px at 50% -10%, rgba(157,186,216,0.2), transparent 60%);
}
/* Video-background hero: the video itself is just footage over a plain dark navy
   background (no grid baked in) — the site's own shared grid (section::before)
   still renders on top of it here, restacked above the video/overlay instead of
   disabled, so the grid is pixel-identical to every other section at every screen
   size, since it's literally the same CSS drawing it. Stacking, bottom to top:
   video -> dark overlay (dims the footage for text legibility) -> grid -> text. */
.hero-has-video{position:relative;overflow:hidden;}
.hero-has-video::before{z-index:2;}
.hero-bg-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0;}
.hero-bg-image{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 0%;z-index:0;}
@media (max-width:900px){
  .hero-bg-image{object-position:34% 0%;}
}
/* Headroom for the team photo: the text block sits at the bottom of the hero and
   the top padding keeps it clear of the faces (they occupy roughly the top third). */
.hero-has-video{display:flex;align-items:flex-end;padding:max(25vw,260px) 0 56px;}
.hero-has-video .wrap{width:100%;}
.hero-has-video .hero-badge-spacer{display:none;}
.hero-bg-overlay{position:absolute;inset:0;background:rgba(27,37,48,0.6);z-index:1;}
.hero-has-video .wrap{z-index:3;}
@media (prefers-reduced-motion:reduce){
  .hero-bg-video{display:none;}
}
.hero-content{max-width:1200px;margin:0 auto;text-align:center;}
.hero-badge-spacer{height:36px;}
.hero h1{text-wrap:balance;font-size:clamp(32px,4.6vw,56px);line-height:1.1;font-weight:800;letter-spacing:-0.01em;margin:16px 0;color:var(--ink);}
.hero-linebreak{display:none;}
@media (min-width:700px){
  .hero-linebreak{display:block;}
}
.hero p.lead{font-size:clamp(18px,2.1vw,23px);font-weight:600;line-height:1.6;color:var(--ink-soft);margin:0 auto 28px;max-width:780px;}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap;justify-content:center;}
.hero-actions .btn{font-size:17px;padding:17px 34px;}

/* ================= Settlements ticker (scroll-linked, not auto-animating) =================
   Position is set directly from window.scrollY in site.js — it only moves while the
   user is actually scrolling the page, rather than looping on a timer. */
.ticker-band{background:var(--accent-yellow);overflow:hidden;padding:16px 0;}
.ticker-track{display:flex;width:max-content;will-change:transform;}
.ticker-item{display:inline-flex;align-items:center;gap:10px;padding:0 30px;white-space:nowrap;}
.ticker-item .dot{width:5px;height:5px;border-radius:50%;background:var(--accent-yellow-ink);opacity:0.45;flex:0 0 auto;}
.ticker-item .amt{font-size:16px;font-weight:800;letter-spacing:0.01em;color:var(--accent-yellow-ink);}
.ticker-item .cat{font-size:12px;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;color:var(--accent-yellow-ink);opacity:0.7;}
@media (max-width:600px){
  .ticker-item{padding:0 20px;gap:8px;}
  .ticker-item .amt{font-size:14px;}
  .ticker-item .cat{font-size:11px;}
}

/* Simple page header (used on inner pages instead of the big split hero) */
.page-hero{padding:64px 0 54px;text-align:center;background-image:radial-gradient(900px 460px at 50% -10%, rgba(61,109,150,0.10), transparent 60%);}
.page-hero .wrap{max-width:860px;}
.page-hero h1{font-size:clamp(30px,4.2vw,50px);font-weight:800;letter-spacing:-0.01em;margin:18px 0 14px;color:var(--ink);}
.page-hero p{font-size:clamp(18px,2vw,22px);font-weight:600;line-height:1.62;color:var(--ink-soft);margin:0;}

/* ================= Two-column content block ================= */
.split{display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:center;}
.split h2{font-size:clamp(25px,3vw,40px);font-weight:800;letter-spacing:-0.01em;margin:0 0 16px;color:var(--ink);}
.split p{font-size:clamp(17px,1.7vw,20px);font-weight:600;line-height:1.65;color:var(--ink-soft);margin:0 0 14px;}
.sub{font-size:clamp(17px,1.7vw,20px);font-weight:600;line-height:1.65;}
.split ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px;}
.split ul li{display:flex;align-items:flex-start;gap:10px;font-size:14.5px;line-height:1.5;color:var(--ink-soft);}
.split ul li svg{flex:0 0 auto;margin-top:2px;color:var(--accent);}
.split .portrait{width:100%;aspect-ratio:4/5;}
.team-group-photo{display:block;width:100%;max-width:1100px;height:auto;aspect-ratio:3/2;object-fit:cover;margin:0 auto;border-radius:18px;box-shadow:0 20px 44px -22px rgba(0,0,0,0.6);}
.team-portrait{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:18px;box-shadow:0 20px 44px -22px rgba(0,0,0,0.6);}
.team-bio p{font-weight:700;}
@media (min-width:901px){
  .team-bio p{font-size:clamp(24px,3vw,31px);line-height:1.45;margin:0 0 .6em;}
}

/* Home page "Your Representation" trust teaser: on desktop .hero-trust-split is
   just an ordinary two-column .split (photos in column 1, the .hero-trust-text
   wrapper in column 2 with heading+body stacked inside it normally) — nothing
   special happens here at desktop widths. The reordering only kicks in on mobile
   (see the breakpoint below), where display:contents dissolves the wrapper so
   heading/body become independent flex items that can be reordered relative to
   the photos, without duplicating any content. An earlier version tried to do
   this with grid-template-areas and a row-spanning photos block, which caused
   CSS Grid to distribute row height unevenly between the heading and body rows,
   opening a large unwanted gap — flex+order avoids that entirely, since each
   item is sized independently instead of sharing row tracks. */

/* ================= FAQ ================= */
.faq{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:12px;}
.faq-item{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:20px 24px;}
.faq-item h3{margin:0 0 8px;font-size:15.5px;font-weight:800;color:var(--ink);}
.faq-item p{margin:0;font-size:14px;line-height:1.68;color:var(--ink-soft);}

/* ================= Forms ================= */
.form-card{padding:32px;max-width:560px;}
.form-card h3{margin:0 0 6px;font-size:20px;font-weight:800;color:var(--ink);}
.form-card > p{margin:0 0 24px;font-size:14px;line-height:1.68;color:var(--ink-soft);}
.field{margin-bottom:16px;}
.field label{display:block;font-size:12.5px;font-weight:700;letter-spacing:0.03em;text-transform:uppercase;color:var(--ink-faint);margin-bottom:7px;}
.field input,.field textarea{width:100%;font-size:15px;font-family:inherit;color:var(--ink);background:var(--bg-soft);border:1px solid var(--line);border-radius:9px;padding:12px 14px;}
.field input:focus,.field textarea:focus{outline:2px solid var(--accent);outline-offset:1px;}
.field textarea{resize:vertical;min-height:110px;}
.form-note{margin:14px 0 0;font-size:11.5px;line-height:1.5;color:var(--ink-faint);}
.form-status{display:none;margin-top:14px;font-size:13.5px;font-weight:600;padding:12px 14px;border-radius:9px;}
.form-status.show{display:block;}
.form-status.err{background:rgba(200,60,60,0.08);color:#a83636;border:1px solid rgba(200,60,60,0.25);}

/* ================= Contact info blocks (contact page) ================= */
.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:8px;}
.info-card{padding:24px;text-align:center;}
.info-card .ico{width:44px;height:44px;border-radius:12px;background:rgba(61,109,150,0.1);color:var(--accent);display:flex;align-items:center;justify-content:center;margin:0 auto 14px;}
.info-card h3{margin:0 0 6px;font-size:14px;font-weight:800;color:var(--ink);}
.info-card p{margin:0;font-size:13.5px;line-height:1.6;color:var(--ink-soft);}
.info-card a:hover{color:var(--accent);text-decoration:underline;}

/* ================= Footer ================= */
footer.site{background:var(--bg-soft);color:var(--ink-soft);padding:48px 0 28px;border-top:1px solid var(--line);}
.footer-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:32px;padding-bottom:32px;border-bottom:1px solid var(--line);margin-bottom:22px;}
.footer-brand img{height:40px;width:auto;margin-bottom:12px;}
.footer-nav{display:flex;flex-wrap:wrap;gap:10px 22px;}
.footer-nav a{font-size:13.5px;font-weight:600;color:var(--ink-soft);}
.footer-nav a:hover{color:var(--accent);}
.footer-contact{display:flex;flex-wrap:wrap;gap:28px;font-size:13.5px;}
.footer-contact div strong{display:block;color:var(--accent);font-size:12px;letter-spacing:0.08em;margin-bottom:6px;font-weight:700;}
.footer-contact a:hover{text-decoration:underline;}
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;font-size:12px;color:var(--ink-faint);}
.disclaimer{max-width:820px;font-size:11.5px;line-height:1.6;color:var(--ink-faint);margin:0 0 22px;}
.footer-legal{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--ink-soft);margin:0 0 18px;}
.footer-legal a:hover{color:var(--accent);text-decoration:underline;}
.footer-legal .divider{opacity:0.4;}

/* ================= Responsive ================= */
@media (max-width:900px){
  .split{grid-template-columns:1fr;}
  .split .portrait{max-width:360px;margin:0 auto;aspect-ratio:16/10;}
  .split .team-portrait{max-width:360px;margin:0 auto;}
  .hero-trust-split{display:flex;flex-direction:column;gap:32px;}
  .hero-trust-text{display:contents;}
  .hero-trust-heading{order:-1;}
  .practice-grid{grid-template-columns:1fr;}
  .settlement-grid{grid-template-columns:repeat(2,1fr);}
  .promise-grid{grid-template-columns:repeat(2,1fr);}
  .steps-grid{grid-template-columns:1fr;gap:16px;}
  .info-grid{grid-template-columns:1fr;}
}
@media (max-width:480px){
  .team-grid{grid-template-columns:1fr;max-width:280px;}
  .split-team{margin:0 auto;}
}
@media (min-width:1200px){
  .mobile-menu{display:none !important;}
  .brand-logo-wrap{height:56px;}
  nav.main{gap:34px;}
  nav.main a.navlink{font-size:16px;}
  .header-phone{font-size:16px;}
  nav.main{margin-left:auto;}
  .header-actions{gap:24px;}
  .header-actions .btn-primary{order:1;}
  .header-actions .header-badge{order:2;}
  .header-actions .header-phone{order:3;}
  .header-actions .nav-toggle{order:4;}
}
@media (max-width:1199px){
  nav.main,.header-phone,.header-actions > .header-badge{display:none;}
  .nav-toggle{display:flex;}
}
@media (max-width:520px){
  .brand-logo-wrap{height:34px;}
  .settlement-grid{grid-template-columns:1fr 1fr;}
  .footer-top{flex-direction:column;}
}

/* Lemon Law page: four-up card row (collapses to 2 then 1 column) */
.practice-grid.four{grid-template-columns:repeat(4,1fr);}
@media (max-width:1100px){.practice-grid.four{grid-template-columns:repeat(2,1fr);}}
@media (max-width:640px){.practice-grid.four{grid-template-columns:1fr;}}

/* Photo hero for practice area pages (same stacking as the home hero, bottom to top:
   photo -> gradient overlay -> grid -> text). The text sits at the bottom, and the top
   padding scales with the width so it stays below the faces at every screen size. */
.page-hero.hero-photo{position:relative;overflow:hidden;display:flex;align-items:flex-end;padding:max(32vw,296px) 0 56px;}
.page-hero.hero-photo::before{z-index:2;}
.hero-photo-img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 6%;z-index:0;}
/* Flat tint like the home hero. The earlier version faded from dark at the bottom to clear at the top:
   background:linear-gradient(to top,rgba(27,37,48,0.95) 0%,rgba(27,37,48,0.88) 30%,rgba(27,37,48,0.5) 52%,rgba(27,37,48,0.12) 74%,rgba(27,37,48,0) 100%); */
.hero-photo-overlay{position:absolute;inset:0;z-index:1;background:rgba(27,37,48,0.8);}
.hero-photo-overlay.tint-60{background:rgba(27,37,48,0.6);}  /* for photos that are already dark */
.page-hero.hero-photo .wrap{position:relative;z-index:3;width:100%;}
@media (max-width:700px){
  .page-hero.hero-photo{padding-top:372px;}
}

/* Footer alternates against the last section on the page: dark footer = same tokens as .section-dark */
footer.site.section-dark .footer-contact div strong{color:var(--accent-pop);}
footer.site.section-dark .footer-nav a:hover,
footer.site.section-dark .footer-legal a:hover{color:var(--accent-pop);}

/* Legal documents (Privacy Policy, Terms of Service) */
.legal-doc{max-width:820px;margin:0 auto;}
.legal-doc .legal-updated{font-size:14px;font-weight:700;letter-spacing:0.02em;color:var(--accent);margin:0 0 28px;}
.legal-doc h2{font-size:clamp(20px,2.2vw,25px);font-weight:800;letter-spacing:-0.01em;margin:44px 0 12px;color:var(--ink);}
.legal-doc h3{font-size:17px;font-weight:800;margin:26px 0 8px;color:var(--ink);}
.legal-doc p,.legal-doc li{font-size:16.5px;line-height:1.75;color:var(--ink-soft);}
.legal-doc p{margin:0 0 14px;}
.legal-doc ul{margin:0 0 18px;padding-left:22px;}
.legal-doc li{margin:0 0 9px;}
.legal-doc a{color:var(--accent);text-decoration:underline;}
.legal-doc strong{color:var(--ink);}

/* Keep the full 4:5 photo on tablets and phones (the default there is a short 16:10 crop) */
.split .portrait.portrait-full{aspect-ratio:4/5;}

/* About page long-form copy */
.about-copy{max-width:820px;margin:0 auto;}
.about-copy h2{font-size:clamp(22px,2.8vw,32px);font-weight:800;letter-spacing:-0.01em;margin:0 0 30px;text-align:center;color:var(--ink);}
.about-copy h3{font-size:clamp(19px,2vw,23px);font-weight:800;letter-spacing:-0.01em;margin:34px 0 10px;color:var(--ink);}
.about-copy p.sub{color:var(--ink-soft);margin:0 0 16px;}
