/* Legal Edge Advisors · site styles (from the V2 design boards: desktop 1440px, phone 390px).
   Breakpoints: 960px header collapses (logo, menu, Contact); 900px grids stack; 600px = the phone boards. */

:root {
  --navy: #0F2342;
  --navy-hover: #24396A;
  --brass: #7C5E28;
  --brass-dark: #5E4619;
  --gilt: #C9A764;
  --gilt-light: #D9BD84;
  --mist: #EEF0F3;
  --rule: #DDE1E7;
  --ink: #39404D;
  --slate: #5A6170;
  --cream: #F7F5F0;
  --cream-warm: #FBF4EC;
  --sand-rule: #C9BBA8;
  --on-navy: #CDD3DD;
  --field-line: #868C98;
  --alert: #B3261E;
  --white: #FFFFFF;
  --font: Archivo, system-ui, sans-serif;
  --gutter: 40px;
  --max: 1320px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--navy); font: 400 17px/1.6 var(--font); }
img { max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 3px solid var(--gilt); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--gilt); color: var(--navy); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.navy { background: var(--navy); color: var(--white); }
.gilt { color: var(--gilt); }
.brass { color: var(--brass); }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.m-only { display: none !important; }

/* Condensed display type (headings) and light type (About). */
.c { font-family: var(--font); font-stretch: 72%; font-weight: 700; letter-spacing: -.005em; margin: 0; }
.lt { font-family: var(--font); font-weight: 300; font-stretch: 100%; letter-spacing: -.02em; line-height: 1.08; margin: 0; color: var(--navy); }
.kicker { margin: 0 0 14px; font-size: 24px; font-stretch: 85%; color: var(--on-navy); }
.lbl { margin: 0 0 10px; font: 700 14px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--brass); }
.eyebrow { margin: 0 0 14px; font: 600 13px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--brass); }

.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 700 15px var(--font); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--brass); }
.more svg { transition: transform .15s ease; }
.more:hover svg { transform: translateX(4px); }
.more.w { color: var(--white); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border-radius: 6px; background: var(--navy); color: var(--white); text-decoration: none; font: 600 16px var(--font); transition: background .15s ease; }
.btn:hover { background: var(--navy-hover); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--navy); box-shadow: 0 1px 0 rgba(201,167,100,.55); }
.hdr { height: var(--header-h); padding: 0 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 60px; width: auto; }
.tn { justify-self: end; display: flex; gap: 26px; align-items: center; }
.tn a { font: 600 15px var(--font); text-decoration: none; color: var(--white); padding: 12px 0; }
.tn a:hover { color: var(--gilt); }
.tn a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gilt); }
.tn a.more { color: var(--gilt); font-size: 14px; }

.menu { justify-self: start; }
.menu-btn { list-style: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--white); cursor: pointer; border-radius: 4px; }
.menu-btn::-webkit-details-marker { display: none; }
.menu-btn:hover { color: var(--gilt); }
.menu .i-close, .menu[open] .i-open { display: none; }
.menu[open] .i-close { display: block; }
.menu-panel { position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--navy); border-top: 1px solid rgba(201,167,100,.55); box-shadow: 0 24px 40px -20px rgba(15,35,66,.6); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.menu-in { max-width: var(--max); margin: 0 auto; padding: 36px var(--gutter) 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu-main a { display: flex; align-items: center; min-height: 52px; font: 700 34px/1.1 var(--font); font-stretch: 72%; color: var(--white); text-decoration: none; }
.menu-main a:hover, .menu-sub a:hover { color: var(--gilt); }
.menu-main a[aria-current="page"] { color: var(--gilt); }
.menu-h { margin: 6px 0 8px; font: 700 13px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--gilt); }
.menu-sub a { display: flex; align-items: center; min-height: 44px; color: var(--on-navy); text-decoration: none; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.12); }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream); color: var(--ink); border-top: 3px solid var(--gilt); }
.ft-cols { max-width: var(--max); margin: 0 auto; padding: 64px var(--gutter) 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px 40px; }
.ft-logo img { display: block; height: 64px; width: auto; }
.ft-h { margin: 0 0 10px; font-weight: 700; color: var(--navy); }
.fl a, .fl span { display: block; color: var(--ink); text-decoration: none; font-size: 15px; padding: 5px 0; }
.fl a { min-height: 34px; }
.fl a:hover { color: var(--brass); }
.ft-base { max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter) 100px; /* room for the fixed assistant button */ border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; font-size: 13px; }
.ft-legal { display: flex !important; gap: 20px; padding: 0 !important; }
.ft-legal a { font-size: 13px; padding: 0; min-height: 0; }

/* ---------- Assistant ("Ask a question") ---------- */
.lea { position: fixed; right: 24px; bottom: 24px; z-index: 50; font-family: var(--font); font-stretch: 100%; }
.lea > summary { list-style: none; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border-radius: 28px; background: var(--gilt); color: var(--navy); font: 700 15px var(--font); cursor: pointer; box-shadow: 0 0 0 2px var(--white), 0 14px 30px -10px rgba(15,35,66,.55); }
.lea > summary::-webkit-details-marker { display: none; }
.lea > summary:hover { background: var(--gilt-light); }
.lea > summary:focus-visible { outline-color: var(--navy); }
.lea .x { display: none; }
.lea[open] .x { display: inline; }
.lea[open] .o { display: none; }
.lea .pn { position: absolute; right: 0; bottom: 68px; width: 380px; max-width: calc(100vw - 32px); background: var(--white); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; color: var(--navy); box-shadow: 0 28px 60px -16px rgba(15,35,66,.4); }
.lea .ph { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--navy); color: var(--white); }
.lea .ph b { display: block; font-size: 15px; }
.lea .ph span:not(.av) { display: block; font-size: 12px; color: #C9D1DE; }
.lea .av { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--gilt); display: inline-flex; align-items: center; justify-content: center; font: 700 13px/1 Georgia, 'Times New Roman', serif; letter-spacing: .04em; color: var(--white); }
.lea .ms { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: #F7F8FA; font-size: 14px; line-height: 1.5; }
.lea .bt { align-self: flex-start; max-width: 86%; background: var(--white); border: 1px solid var(--rule); border-radius: 4px 14px 14px 14px; padding: 10px 13px; }
.lea .ch { display: flex; flex-wrap: wrap; gap: 8px; }
.lea .ch a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--brass); border-radius: 22px; color: var(--brass); text-decoration: none; font-weight: 600; font-size: 13px; background: var(--white); }
.lea .ch a:hover { background: var(--brass); color: var(--white); }
.lea .in { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--rule); }
.lea .in input { flex: 1; min-width: 0; height: 44px; border: 1px solid #C9CED6; border-radius: 22px; padding: 0 16px; font: 400 15px var(--font); color: var(--navy); }
.lea .in button { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--navy); color: var(--white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.lea .ft { margin: 0; padding: 0 16px 12px; font-size: 11.5px; line-height: 1.45; color: var(--slate); }
/* Live conversation (assets/js/site.js + /chat). */
.lea .pn { display: flex; flex-direction: column; max-height: calc(100vh - 180px); max-height: calc(100dvh - 180px); } /* clears the header */
.lea .ms { flex: 1 1 auto; min-height: 96px; max-height: 400px; overflow-y: auto; overscroll-behavior: contain; }
.lea .ph, .lea .in, .lea .ho, .lea .ft, .lea .ts { flex: none; }
.lea .ts:not(:empty) { display: flex; justify-content: center; padding: 8px 14px 0; } /* Turnstile, shown only if it needs a click */
.lea .us { align-self: flex-end; max-width: 86%; background: var(--navy); color: var(--white); border-radius: 14px 4px 14px 14px; padding: 10px 13px; white-space: pre-line; }
.lea .bt { white-space: pre-line; }
.lea .bt.err { border-color: rgba(179,38,30,.35); }
.lea .bt.wait { color: var(--slate); }
.lea .bt.wait::after { content: "…"; }
.lea .ch button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--brass); border-radius: 22px; color: var(--white); background: var(--brass); font: 600 13px var(--font); cursor: pointer; }
.lea .ch button:hover { background: var(--brass-dark); }
.lea .in button:disabled { opacity: .5; cursor: wait; }
.lea .ho { padding: 14px 16px 6px; border-top: 1px solid var(--rule); font-size: 14px; }
.lea .ho-h { margin: 0 0 8px; font-weight: 600; }
.lea .ho label { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; }
.lea .ho input { width: 100%; height: 44px; margin-top: 4px; border: 1px solid #C9CED6; border-radius: 8px; padding: 0 12px; font: 400 15px var(--font); color: var(--navy); }
.lea .ho input[aria-invalid="true"] { border-color: var(--alert); }
.lea .ho-opt { font-weight: 400; color: var(--slate); }
.lea .ho-sum { margin: 10px 0 0; padding: 8px 10px; background: var(--mist); border-radius: 8px; font-size: 13px; color: var(--ink); }
.lea .ho-err { margin: 8px 0 0; color: var(--alert); font-size: 13px; }
.lea .ho-err:empty { display: none; }
.lea .ho-b { display: flex; gap: 8px; margin-top: 12px; }
.lea .ho-b button { min-height: 44px; padding: 0 18px; border-radius: 22px; border: 1px solid var(--navy); font: 600 14px var(--font); cursor: pointer; background: var(--navy); color: var(--white); }
.lea .ho-b .ho-x { background: var(--white); color: var(--navy); }
.lea .ho-ft { margin: 10px 0 4px; font-size: 11.5px; color: var(--slate); }
.lea .ho-ft a { color: var(--brass); }

/* ---------- Shared sections ---------- */
.intro { max-width: 900px; margin: 0 auto; padding: 104px 32px 96px; text-align: center; }
.intro h2 { font-size: clamp(36px, 3.6vw, 48px); line-height: 1.05; }
.intro p { margin: 28px auto 0; max-width: 64ch; font-size: 18px; color: var(--ink); }
.intro .more { margin-top: 26px; }
.intro-last { padding-bottom: 112px; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 40px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.soon { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; background: var(--mist); color: var(--ink); font: 700 12px var(--font); letter-spacing: .05em; text-transform: uppercase; }

/* ---------- Home ---------- */
.hero { position: relative; min-height: 640px; height: 78vh; max-height: 820px; overflow: hidden; color: var(--white); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,22,42,.78) 0%, rgba(10,22,42,.35) 55%, rgba(10,22,42,.1) 100%); }
.hero-in { position: relative; z-index: 1; height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 168px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; }
.hero-k { margin: 0 0 14px; font-size: 24px; font-stretch: 85%; color: rgba(255,255,255,.88); }
.hero h1 { font-size: clamp(56px, 7vw, 100px); line-height: .95; max-width: 11ch; }
.hero .more { margin-top: 22px; }

.who { position: relative; z-index: 2; margin-top: -120px; display: flex; flex-wrap: wrap; align-items: stretch; }
.who-h { flex: 0 0 26%; min-width: 220px; padding: 52px 24px 0 var(--gutter); color: var(--white); }
.who-h h2 { font: 700 17px var(--font); letter-spacing: .06em; text-transform: uppercase; }
.who-p { flex: 1 1 640px; padding: 52px 48px 60px; }
.who-k { margin: 0 0 8px; font-size: 14px; color: var(--gilt); }
.who-p .c { font-size: 27px; line-height: 1.12; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.tile { position: relative; display: block; min-height: 360px; overflow: hidden; text-decoration: none; color: var(--white); border-right: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.04); }
.tile .sh { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,35,66,.05) 30%, rgba(15,35,66,.8) 100%); }
.tile .tt { position: absolute; left: 28px; right: 28px; bottom: 26px; font-size: 30px; line-height: 1.05; text-align: right; }
.tile-lead { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 40px 36px; }
.tl-h { font-size: 44px; line-height: 1; }
.tl-p { font-size: 17px; color: var(--on-navy); max-width: 34ch; }

.stats .g3 { max-width: 1180px; margin: 0 auto; padding: 72px 32px 76px; text-align: center; }
.stats .c { font-size: clamp(64px, 7vw, 104px); line-height: 1; }
.st-l { margin-top: 6px; font-size: 20px; font-weight: 600; font-stretch: 85%; }

/* ---------- About ---------- */
.ab-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--cream-warm); min-height: 600px; }
.ab-hero-t { padding: 96px 64px 96px var(--gutter); max-width: 640px; width: 100%; margin-left: auto; display: flex; flex-direction: column; justify-content: center; }
.ab-hero h1 { font-size: clamp(56px, 6vw, 88px); }
.ab-hero-t p { margin-top: 28px; font-size: 19px; line-height: 1.65; color: var(--ink); }
.ab-hero-i { position: relative; overflow: hidden; border-bottom-left-radius: 24px; min-height: 420px; }
.ab-hero-i img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.story { position: relative; padding: 112px 0 96px; }
.story-bg { position: absolute; top: 72px; bottom: 56px; left: 30%; right: 0; background: var(--mist); border-radius: 20px 0 0 20px; }
.story-in { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px 96px; align-items: center; }
.portrait { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 16px; box-shadow: 0 24px 48px -24px rgba(15,35,66,.35); }
.story-t { padding: 24px 24px 24px 0; }
.story h2 { font-size: clamp(44px, 4.4vw, 64px); }
.story-t p { margin-top: 18px; font-size: 18px; line-height: 1.7; color: var(--ink); }
.story-t h2 + p { margin-top: 28px; }

.phil { background: var(--cream-warm); }
.phil .wrap { padding-top: 104px; padding-bottom: 104px; }
.phil h2 { font-size: clamp(44px, 5vw, 72px); max-width: 16ch; }
.phil .g4 { margin-top: 56px; }
.pv { border-top: 1px solid var(--sand-rule); padding-top: 22px; }
.pv h3 { font-size: 26px; font-weight: 400; }
.pv p, .step .sd { margin-top: 12px; font-size: 16px; color: var(--ink); }

.career { padding-top: 112px; padding-bottom: 96px; }
.career h2 { font-size: clamp(44px, 4.4vw, 64px); }
.steps { list-style: none; margin: 48px 0 0; padding: 0; gap: 20px; }
.step { background: var(--mist); border-radius: 16px; padding: 28px; }
.step .eyebrow { margin: 18px 0 6px; }
.step h3 { font-size: 24px; font-weight: 400; }
.step .sd { font-size: 15px; }
.num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white); font: 600 16px var(--font); }
.step-now { background: var(--navy); color: var(--white); }
.step-now .num { background: var(--gilt); color: var(--navy); }
.step-now .eyebrow { color: var(--gilt); }
.step-now h3 { color: var(--white); }
.step-now .sd { color: var(--on-navy); }

.ab-cta-w { padding-bottom: 112px; }
.ab-cta { background: var(--cream-warm); border-radius: 20px; padding: 64px; display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: center; justify-content: space-between; }
.ab-cta h2 { font-size: 44px; }
.ab-cta p { margin-top: 12px; font-size: 18px; color: var(--ink); max-width: 52ch; }

/* ---------- Services ---------- */
.sv-hero-in { max-width: var(--max); margin: 0 auto; padding: 88px var(--gutter) 96px; gap: 48px 80px; align-items: end; }
.sv-hero h1 { font-size: clamp(52px, 5.6vw, 84px); line-height: .95; }
.sv-lede { margin-top: 28px; font-size: 18px; color: var(--on-navy); max-width: 46ch; }
.sv-tap { margin-top: 22px; font: 700 13px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--gilt); }
.ix-list { border-top: 1px solid rgba(255,255,255,.3); }
.ix { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 24px; gap: 16px; align-items: baseline; padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.3); text-decoration: none; color: var(--white); transition: background .15s ease; }
.ix:hover { background: rgba(255,255,255,.07); }
.ixn { font: 700 15px var(--font); color: var(--gilt); }
.ixt { font-family: var(--font); font-stretch: 72%; font-weight: 700; font-size: 30px; line-height: 1.05; }
.ixg { font-size: 14px; color: var(--on-navy); }

.svcgrid { max-width: var(--max); margin: 0 auto; padding: 88px var(--gutter) 104px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 48px; }
.svc { display: flex; flex-direction: column; border-top: 3px solid var(--navy); scroll-margin-top: 84px; }
.svc .ph { position: relative; overflow: hidden; aspect-ratio: 16 / 9; margin-top: 24px; }
.svc .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc .tx { padding-top: 24px; }
.svc h2 { font-size: 40px; line-height: 1; }
.svc-d { margin-top: 18px; color: var(--ink); max-width: 62ch; }
.svc ul, .acc ul { list-style: none; margin: 22px 0 0; padding: 0; }
.svc ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.svc li, .acc li { padding: 10px 0 10px 20px; border-top: 1px solid var(--rule); font-size: 15px; position: relative; }
.svc li::before, .acc li::before { content: ""; position: absolute; left: 0; top: 19px; width: 9px; height: 2px; background: var(--brass); }

.eng { padding-bottom: 104px; }
.eng h2 { font-size: clamp(40px, 4.4vw, 60px); line-height: 1; margin-bottom: 36px; }
.cmp-w { overflow-x: auto; }
.cmp { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 16px; }
.cmp th, .cmp td { padding: 20px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.cmp thead th { font-family: var(--font); font-stretch: 72%; font-weight: 700; font-size: 28px; border-bottom: 3px solid var(--navy); }
.cmp tbody th { width: 160px; font: 700 13px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.cmp td { color: var(--ink); }
.cmp .hl { background: var(--mist); }
.cmp thead .hl { background: var(--navy); color: var(--white); border-bottom-color: var(--gilt); }

/* Phone accordion + engagement list (shown at <=600px). */
.acc { border-top: 3px solid var(--navy); }
.acc details { border-bottom: 1px solid var(--rule); scroll-margin-top: 72px; }
.acc summary { list-style: none; display: grid; grid-template-columns: 72px minmax(0, 1fr) 24px; gap: 14px; align-items: center; padding: 14px 20px; cursor: pointer; min-height: 44px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary img { width: 72px; height: 72px; object-fit: cover; display: block; }
.acc summary .lbl { display: block; margin: 0 0 4px; font-size: 12px; }
.acc-t { display: block; font-size: 24px; line-height: 1; }
.acc .pm { font: 400 26px/1 var(--font); color: var(--brass); transition: transform .15s ease; }
.acc details[open] .pm { transform: rotate(45deg); }
.acc details[open] summary { background: var(--mist); }
.acc summary:focus-visible { outline-offset: -3px; }
.acc .bd { padding: 6px 20px 24px; }
.acc .bd > p { font-size: 15px; color: var(--ink); }
.acc ul { margin-top: 14px; }
.acc li { padding: 9px 0 9px 20px; }
.eng-m { padding: 44px 20px; }
.eng-m .lbl { color: var(--gilt); font-size: 12px; margin-bottom: 4px; }
.eng-m h2 { font-size: 34px; line-height: 1; margin-bottom: 18px; }
.em { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.25); }
.em:last-child { padding-bottom: 0; }
.em h3 { font-size: 22px; }
.em p { margin-top: 6px; font-size: 15px; color: var(--on-navy); }

/* ---------- Insights ---------- */
.in-hero { max-width: var(--max); margin: 0 auto; padding: 80px var(--gutter) 40px; display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; border-bottom: 3px solid var(--navy); }
.in-hero .kicker { margin-bottom: 8px; font-size: 22px; color: var(--slate); }
.in-hero h1 { font-size: clamp(64px, 8vw, 128px); line-height: .88; }
.in-lede { max-width: 36ch; font-size: 18px; color: var(--ink); }
.feat { max-width: var(--max); margin: 0 auto; padding: 48px var(--gutter) 0; }
.feat .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 56px; align-items: center; }
.feat-i { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.feat-i img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feat .lbl, .recent .lbl { margin: 0; font-size: 13px; }
.feat h2 { margin-top: 14px; font-size: clamp(36px, 3.4vw, 50px); line-height: 1; }
.feat-p { margin-top: 18px; color: var(--ink); }
.feat-m { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 20px; font-size: 14px; color: var(--slate); }
.recent { max-width: var(--max); margin: 0 auto; padding: 96px var(--gutter) 104px; }
.recent-h { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.recent h2 { font-size: clamp(36px, 3.6vw, 48px); line-height: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--navy); border-radius: 2px; background: var(--white); color: var(--navy); font: 600 15px var(--font); text-decoration: none; white-space: nowrap; transition: background .15s ease, color .15s ease; }
.chip:hover { background: var(--mist); }
.chip[aria-current="true"] { background: var(--navy); color: var(--white); }
.rows { border-top: 3px solid var(--navy); }
.row { display: grid; grid-template-columns: 150px 220px minmax(0, 1fr) 120px; gap: 12px 32px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.row .lbl { padding-top: 4px; }
.rd { font: 700 15px/1.5 var(--font); }
.rd span { color: var(--slate); font-weight: 400; }
.row h3 { font-size: 30px; line-height: 1.05; }
.row-p { margin-top: 8px; font-size: 16px; color: var(--ink); max-width: 70ch; }
.row .soon { justify-self: end; }
.count { margin-top: 20px; font-size: 15px; color: var(--slate); }
.in-cta-in { max-width: var(--max); margin: 0 auto; padding: 72px var(--gutter); display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.in-cta h2 { font-size: 40px; line-height: 1; }
.in-cta p { margin-top: 10px; color: var(--on-navy); }

/* ---------- Contact ---------- */
.ct { align-items: stretch; }
.ct-stick { position: sticky; top: calc(var(--header-h) - 8px); }
.ct-img { position: relative; height: 300px; overflow: hidden; }
.ct-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ct-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,35,66,.1), var(--navy)); }
.ct-side-in { position: relative; padding: 0 48px 64px; margin-top: -72px; }
.ct-side .kicker { margin-bottom: 10px; font-size: 22px; }
.ct-side h1 { font-size: clamp(48px, 4.6vw, 72px); line-height: .95; }
.ct-lede { margin-top: 20px; font-size: 17px; color: var(--on-navy); max-width: 40ch; }
.ct-dl { margin: 36px 0 0; }
.ct-dl div { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.22); }
.ct-dl div:last-child { border-bottom: 1px solid rgba(255,255,255,.22); }
.ct-dl dt { font-size: 14px; color: var(--gilt); }
.ct-dl dd { margin: 4px 0 0; font-size: 24px; }
.ct-links { display: flex; flex-direction: column; align-items: flex-start; margin-top: 20px; }
.ct-main { padding: 80px 72px 112px; min-width: 0; font-size: 16px; }
.ct-form { max-width: 760px; }
.ct-form a { color: var(--brass); }
.ct-form a:hover { color: var(--brass-dark); }
.ct-form-h { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.ct-form-h h2 { font-size: 44px; line-height: 1; }
.ct-form-h p { font-size: 14px; color: var(--slate); }
.err-sum { margin-bottom: 8px; padding: 16px 0; border-top: 2px solid var(--alert); color: var(--alert); font-size: 16px; }
.err-sum:focus { outline: none; }
.err-sum:focus-visible { outline: 3px solid var(--gilt); }
.err-n { font-weight: 600; }
.ct-form .err-sum a { color: var(--alert); margin-left: 12px; display: inline-block; min-height: 24px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.lx-f { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; padding: 22px 0 26px; border-top: 1px solid var(--rule); }
.lx-last { border-bottom: 1px solid var(--rule); }
.lx-n { font: 700 14px var(--font); color: var(--brass); }
.lx-l { display: block; padding: 0; font: 600 15px var(--font); color: var(--navy); margin-bottom: 8px; }
.lx-l em { font-style: normal; color: var(--slate); font-weight: 400; font-size: 13px; }
.lx-h { margin: -2px 0 6px; font-size: 15px; color: var(--slate); }
.lx-in { width: 100%; min-height: 48px; padding: 6px 0 10px; background: transparent; border: 0; border-bottom: 1px solid var(--field-line); border-radius: 0; color: var(--navy); font: 500 20px/1.4 var(--font); transition: border-color .15s ease, box-shadow .15s ease; }
.lx-in:hover { border-bottom-color: var(--navy); }
.lx-in:focus { outline: none; border-bottom-color: var(--brass); box-shadow: 0 1px 0 0 var(--brass); }
.lx-in:focus-visible { outline: 3px solid var(--gilt); outline-offset: 3px; }
.lx-in[aria-invalid="true"] { border-bottom-color: var(--alert); box-shadow: 0 1px 0 0 var(--alert); }
textarea.lx-in { display: block; min-height: 132px; resize: vertical; line-height: 1.6; }
.err { margin-top: 10px; font-size: 15px; color: var(--alert); }
.lx-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); column-gap: 32px; }
.lx-f fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.lx-opts { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.lx-o { position: relative; display: inline-flex; }
.lx-o input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lx-o span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; border-bottom: 1px solid transparent; color: var(--slate); font: 400 20px var(--font); cursor: pointer; transition: color .15s ease, border-color .15s ease; }
.lx-o span:hover { color: var(--navy); }
.lx-o input:checked + span { color: var(--navy); border-bottom: 2px solid var(--navy); font-weight: 700; }
.lx-o input:focus-visible + span { outline: 3px solid var(--gilt); outline-offset: 4px; }
.ct-ts { padding-left: 72px; } /* Turnstile: no height of its own unless it needs a click */
.lx-send { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; padding-top: 32px; padding-left: 72px; }
.lx-send p { flex: 1 1 220px; font-size: 14px; color: var(--slate); }
.lx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 30px; border: 0; border-radius: 2px; background: var(--navy); color: var(--white); font: 600 15px var(--font); text-decoration: none; cursor: pointer; transition: background .2s ease; }
.lx-btn:hover { background: var(--navy-hover); }
.lx-btn span { font-size: 17px; }
.ct-form a.lx-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); margin-top: 40px; }
.ct-form a.lx-ghost:hover { background: var(--navy); color: var(--cream); }
.lx-k { font: 500 15px var(--font); color: var(--slate); }
.lx-k.brass { margin: 0 0 18px; color: var(--brass); }
.ok-h { margin: 0 0 20px; font: 400 clamp(38px, 4.6vw, 58px)/1.04 var(--font); letter-spacing: -.02em; }
.ok-p { margin: 0 0 36px; max-width: 52ch; font-size: 17px; color: var(--ink); }
.lx-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--rule); }
.lx-row.lx-last { border-bottom: 1px solid var(--rule); }
.lx-v { font: 400 20px/1.4 var(--font); color: var(--navy); }
.ok-sig { margin-top: 36px; font-weight: 700; font-size: 18px; }
.ct-ok a.lx-ghost { display: inline-flex; }

/* ---------- Privacy / accessibility stubs ---------- */
.doc { max-width: 860px; padding-top: 88px; padding-bottom: 112px; }
.doc .kicker { color: var(--slate); }
.doc h1 { font-size: clamp(48px, 5vw, 72px); line-height: .95; }
.doc h2 { margin-top: 40px; font-size: 32px; }
.doc p, .doc li { margin-top: 16px; color: var(--ink); }
.doc a { color: var(--brass); }
.doc-note { padding: 14px 18px; background: var(--mist); border-left: 3px solid var(--gilt); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .tn a:not(.more) { display: none; }
}

@media (max-width: 900px) {
  .split, .g3, .g4, .svcgrid, .svc ul, .row, .ab-hero, .story-in, .menu-in { grid-template-columns: 1fr !important; }
  .who-p { margin-left: 0; }
  .ixg { display: none; }
  .row .soon { justify-self: start; }
  .ab-hero-i { border-radius: 0; }
  .story-bg { left: 0; border-radius: 0; }
  .ct-stick { position: static; }
  .ct-main { padding: 56px var(--gutter) 88px; }
}

/* Phone boards (390px design). */
@media (max-width: 600px) {
  :root { --gutter: 20px; --header-h: 64px; }
  body { font-size: 16px; line-height: 1.55; }
  .d-only { display: none !important; }
  .m-only { display: revert !important; }
  .hdr { padding: 0 8px; }
  .brand img { height: 46px; }
  .tn a.more { padding: 0 12px; font-size: 13px; }
  .more { font-size: 14px; }
  .kicker { font-size: 18px; margin-bottom: 10px; }
  .menu-main a { font-size: 30px; }
  .lea { right: 16px; bottom: 16px; }
  .lea .pn { width: 358px; }

  /* Block-button CTA (the phone boards use a full-width navy button). */
  .cta-m { display: flex; justify-content: center; width: 100%; min-height: 54px; margin-top: 22px !important; border-radius: 2px; background: var(--navy); color: var(--white) !important; font: 600 16px var(--font); letter-spacing: 0; text-transform: none; }
  .cta-m svg { display: none; }

  .intro { padding: 56px 20px; }
  .intro h2 { font-size: 34px; line-height: 1.02; }
  .intro p { margin-top: 18px; font-size: 16px; }
  .intro .more { margin-top: 10px; }
  .intro-last { padding-bottom: 60px; }

  .site-footer { font-size: 13px; line-height: 1.6; }
  .ft-cols { padding: 32px 20px 0; gap: 0; }
  .ft-logo img { height: 52px; margin-bottom: 14px; }
  .ft-practice, .ft-cols > .fl:last-child, .ft-h { display: none; }
  .ft-cols > nav.fl { border-top: 1px solid var(--rule); padding: 8px 0 16px; }
  .fl a { color: var(--navy); padding: 8px 0; }
  .fl a.m-only { display: block !important; }
  .ft-base { padding: 0 20px 96px; border-top: 0; flex-direction: column; gap: 0; }
  .ft-legal { margin-top: 10px; }
  .ft-legal a { min-height: 44px; display: inline-flex; align-items: center; }

  /* Home */
  .hero { min-height: 0; height: 560px; }
  .hero-img { object-position: 40% 60%; }
  .hero::after { background: linear-gradient(180deg, rgba(10,22,42,.15) 20%, rgba(10,22,42,.85) 100%); }
  .hero-in { padding: 0 20px 36px; }
  .hero-k { font-size: 18px; margin-bottom: 10px; color: rgba(255,255,255,.9); }
  .hero h1 { font-size: 56px; max-width: none; }
  .hero .more { margin-top: 12px; }
  .who { margin-top: 0; display: block; background: var(--navy); padding: 32px 20px 36px; }
  .who-h { padding: 0; min-width: 0; margin-bottom: 22px; }
  .who-h h2 { font-size: 14px; }
  .who-p { padding: 0; }
  .who .g3 { gap: 22px; }
  .who .g3 > div + div { border-top: 1px solid rgba(255,255,255,.2); padding-top: 20px; }
  .who-k { margin-bottom: 4px; font-size: 13px; }
  .who-p .c { font-size: 23px; }
  .tile { min-height: 0; height: 200px; border-right: 0; }
  .tile .tt { left: 20px; right: 20px; bottom: 16px; font-size: 26px; text-align: left; }
  .tile-lead { height: auto; padding: 28px 20px 24px; gap: 10px; }
  .tile-lead .more { display: none; }
  .tl-h { font-size: 34px; }
  .tl-p { font-size: 15px; }
  .stats .g3 { padding: 40px 20px; gap: 26px; }
  .stats .c { font-size: 72px; }
  .st-l { margin-top: 2px; font-size: 17px; }

  /* About */
  .ab-hero { min-height: 0; display: block; }
  .ab-hero-t { padding: 40px 20px 32px; }
  .ab-hero h1 { font-size: 52px; }
  .ab-hero-t p { margin-top: 16px; font-size: 16px; }
  .ab-hero-i { min-height: 0; height: 240px; margin-left: 20px; border-radius: 20px 0 0 0; }
  .story { padding: 44px 0 40px; }
  .story-bg { top: 150px; bottom: 16px; left: 20px; border-radius: 16px 0 0 16px; }
  .story-in { gap: 0; }
  .portrait { width: 62%; border-radius: 14px; box-shadow: 0 18px 36px -20px rgba(15,35,66,.4); }
  .story-t { padding: 28px 16px 20px; }
  .story h2 { font-size: 38px; }
  .story-t p { margin-top: 12px; font-size: 15px; }
  .story-t h2 + p { margin-top: 16px; }
  .phil .wrap { padding-top: 44px; padding-bottom: 44px; }
  .eyebrow { font-size: 12px; margin-bottom: 10px; }
  .phil h2, .career h2 { font-size: 36px; }
  .phil .g4 { margin-top: 22px; gap: 0; }
  .pv { padding: 16px 0; }
  .pv h3 { font-size: 22px; }
  .pv p { margin-top: 6px; font-size: 15px; }
  .career { padding-top: 44px; padding-bottom: 40px; }
  .steps { margin-top: 22px; gap: 12px; }
  .step { border-radius: 14px; padding: 20px; }
  .step .eyebrow { margin: 12px 0 4px; }
  .step h3 { font-size: 21px; }
  .step .sd { display: none; }
  .num { width: 34px; height: 34px; font-size: 15px; }
  .ab-cta-w { padding-bottom: 48px; }
  .ab-cta { display: block; border-radius: 16px; padding: 32px 22px; }
  .ab-cta h2 { font-size: 32px; }
  .ab-cta p { margin-top: 10px; font-size: 15px; }
  .ab-cta .btn { display: flex; margin-top: 20px; }

  /* Services */
  .sv-hero-in { padding: 40px 20px 36px; }
  .sv-hero h1 { font-size: 46px; }
  .sv-lede { margin-top: 16px; font-size: 15px; }
  .acc { display: block !important; }

  /* Insights */
  .in-hero { padding: 36px 20px 22px; }
  .in-hero .kicker { font-size: 17px; margin-bottom: 6px; }
  .in-hero h1 { font-size: 54px; line-height: .9; }
  .in-lede { display: none; }
  .feat { padding: 24px 20px 8px; }
  .feat .split { gap: 16px; }
  .feat .lbl, .recent .lbl { font-size: 12px; }
  .feat h2 { margin-top: 8px; font-size: 30px; line-height: 1.02; }
  .feat-p { margin-top: 10px; font-size: 15px; }
  .feat-m { margin-top: 12px; gap: 12px; font-size: 13px; }
  .soon { min-height: 26px; padding: 0 9px; font-size: 11px; }
  .recent { padding: 44px 0 24px; }
  .recent-h { display: block; margin-bottom: 12px; }
  .recent h2 { font-size: 34px; padding: 0 20px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding: 18px 20px 6px; }
  .chip { flex: none; padding: 0 14px; font-size: 14px; }
  .rows { margin: 0 20px; }
  .row { display: block; padding: 18px 0 20px; }
  .row .lbl { padding-top: 0; }
  .row h3 { margin-top: 8px; font-size: 25px; }
  .row-p { font-size: 15px; }
  .row .soon { margin-top: 10px; }
  .count { padding: 0 20px; }
  .in-cta { background: var(--mist); color: var(--navy); }
  .in-cta-in { display: block; padding: 44px 20px 48px; text-align: center; }
  .in-cta h2 { font-size: 30px; line-height: 1.04; }

  /* Contact */
  .ct-side { background: var(--white); color: var(--navy); }
  .ct-side-in { margin-top: 0; padding: 36px 20px 28px; }
  .ct-side h1 { font-size: 52px; }
  .ct-lede { margin-top: 16px; font-size: 16px; color: var(--ink); }
  .ct-main { padding: 0; }
  .ct-form { padding: 0 20px; }
  .ct-form-h { display: block; margin-bottom: 4px; }
  .ct-form-h h2 { display: none; }
  .ct-form-h p { font-size: 13px; }
  .err-sum { font-size: 14px; padding: 12px 0; }
  .lx-f { grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; padding: 18px 0 20px; }
  .lx-l { margin-bottom: 6px; }
  .lx-l em { font-size: 14px; }
  .lx-h { margin: 0 0 4px; font-size: 14px; }
  .lx-in { min-height: 46px; padding: 4px 0 8px; font-size: 18px; }
  .lx-in[aria-invalid="true"] { border-bottom-width: 2px; box-shadow: none; }
  textarea.lx-in { min-height: 120px; font-size: 18px; }
  .err { margin-top: 8px; font-size: 14px; }
  .lx-opts { gap: 0 18px; }
  .lx-o span { font-size: 16px; }
  .ct-ts { padding-left: 0; }
  .lx-send { display: block; padding: 26px 0 0; }
  .lx-send .lx-btn { width: 100%; min-height: 54px; font-size: 16px; }
  .lx-send .lx-btn span { display: none; }
  .lx-send p { margin-top: 12px; font-size: 13px; }
  .ct-direct { margin-top: 36px; padding: 28px 20px; background: var(--mist); }
  .ct-direct .c { font-size: 26px; line-height: 1; }
  .cd-mail { margin-top: 12px; }
  .cd-hours { margin-top: 4px; color: var(--ink); }
  .ct-direct .more { margin-top: 8px; }
  .ct-ok { padding-top: 8px; padding-bottom: 8px; }
  .lx-row { grid-template-columns: 96px minmax(0, 1fr); }
  .lx-v { font-size: 17px; }

  .doc { padding-top: 48px; padding-bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
