/* Castellan Injury Law: results-first personal injury concept */
:root {
  --navy: #0E1A2B;
  --navy-2: #13233A;
  --navy-3: #1E3352;
  --navy-line: #2E4466;
  --amber: #F2A900;
  --amber-2: #FFC233;
  --amber-text: #8A5A00;
  --ink: #0E1A2B;
  --text: #2A3343;
  --muted: #566176;
  --on-dark: #CBD4E2;
  --line: #DCE1E8;
  --bg: #FFFFFF;
  --bg-2: #F3F5F8;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 24px 48px -24px rgba(14, 26, 43, .45);
  --shadow-sm: 0 8px 24px -14px rgba(14, 26, 43, .35);
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 8vw, 112px);
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01z'/%3E%3C/svg%3E");
  --font: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
p, li, dd, blockquote { text-wrap: pretty; }
ul, ol { padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }
.section.alt { background: var(--bg-2); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--amber); color: var(--navy); padding: 12px 18px; font-weight: 800; border-radius: var(--radius); text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--navy-3); outline-offset: 3px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--amber); }

/* Type helpers */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-3); }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--amber); }
.on-dark .eyebrow { color: var(--amber); }
.h2 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 900; }
.lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--muted); max-width: 40em; }
.on-dark .lead { color: var(--on-dark); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(32px, 4vw, 48px); }
.sec-head > div { max-width: 760px; }
.sec-head .h2 { margin-top: 14px; }
.sec-head .lead { margin-top: 14px; }
.fine { font-size: 14px; color: var(--muted); line-height: 1.55; }
.on-dark .fine { color: var(--on-dark); }
.tlink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.tlink:hover { text-decoration-color: var(--navy); }
.tlink .i { width: 18px; height: 18px; transition: transform .2s; }
.tlink:hover .i { transform: translateX(3px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: var(--radius); border: 2px solid transparent; font-size: 16px; font-weight: 800; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s; }
.btn:active { transform: translateY(1px); }
.btn .i { width: 20px; height: 20px; }
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: var(--amber-2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }

/* Top bar */
.topbar { background: var(--navy); color: var(--on-dark); font-size: 14px; }
.topbar .wrap { display: flex; align-items: center; gap: 24px; min-height: 42px; }
.tb-item { display: inline-flex; align-items: center; gap: 8px; }
.tb-item .i { width: 16px; height: 16px; color: var(--amber); }
.tb-item strong { color: #fff; font-weight: 700; }
.lang { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--navy-line); border-radius: 999px; }
.lang button { min-height: 32px; min-width: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--on-dark); font-size: 13px; font-weight: 800; letter-spacing: .06em; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--amber); color: var(--navy); }
.lang button:not([aria-pressed="true"]):hover { color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.logo-mark { width: 42px; height: 42px; }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-word b { font-size: 21px; font-weight: 900; letter-spacing: .12em; }
.logo-word span { margin-top: 5px; font-size: 11px; font-weight: 700; letter-spacing: .36em; color: var(--muted); }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 14px; font-size: 15px; font-weight: 700; color: var(--text); text-decoration: none; border-radius: var(--radius); }
.nav a:hover { background: var(--bg-2); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--amber); border-radius: 0; }
.hdr-phone { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.hdr-phone .ring { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--bg-2); }
.hdr-phone .ring .i { width: 20px; height: 20px; }
.hdr-phone span { display: flex; flex-direction: column; line-height: 1.15; }
.hdr-phone small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hdr-phone b { font-size: 19px; font-weight: 900; letter-spacing: -.01em; }
.hdr-phone:hover b { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hdr .btn { min-height: 48px; padding: 0 20px; }
.menu-btn { display: none; }
.call-btn { display: none; }
.mobile-menu { display: none; }

@media (max-width: 1120px) {
  .hdr-phone span small { display: none; }
}
@media (max-width: 1023px) {
  .nav, .hdr-phone, .hdr > .btn { display: none; }
  .hdr { min-height: 68px; gap: 10px; }
  .call-btn, .menu-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; border-radius: var(--radius); }
  .call-btn { margin-left: auto; background: var(--amber); color: var(--navy); text-decoration: none; }
  .call-btn .i { width: 22px; height: 22px; }
  .menu-btn { gap: 8px; padding: 0 14px; border: 2px solid var(--navy); background: #fff; color: var(--navy); font-size: 15px; font-weight: 800; cursor: pointer; }
  .menu-btn .i { width: 20px; height: 20px; }
  .mobile-menu { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px var(--pad) 24px; }
  .mobile-menu.open { display: block; }
  .mobile-menu a:not(.btn) { display: flex; align-items: center; justify-content: space-between; min-height: 54px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 800; color: var(--navy); text-decoration: none; }
  .mobile-menu a[aria-current="page"] { color: var(--amber-text); }
  .mobile-menu .btn { margin-top: 18px; }
  .mobile-menu .fine { margin-top: 14px; text-align: center; }
}
@media (max-width: 640px) {
  .tb-hide-sm { display: none; }
  .topbar .wrap { gap: 12px; }
  .logo-word b { font-size: 18px; }
  .logo-mark { width: 36px; height: 36px; }
}

/* Hero (home) */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 26, 43, .97) 0%, rgba(14, 26, 43, .92) 40%, rgba(14, 26, 43, .62) 72%, rgba(14, 26, 43, .5) 100%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 6vw, 84px) clamp(112px, 10vw, 140px); }
.hero h1 { margin-top: 18px; color: #fff; font-size: clamp(42px, 5.2vw, 70px); font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero h1[lang="es"] { font-size: clamp(38px, 4.4vw, 58px); }
.hero-sub { margin-top: 22px; max-width: 32em; font-size: clamp(18px, 1.5vw, 20px); color: var(--on-dark); }
.hero-sub strong { color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--navy-line); font-size: 15px; color: var(--on-dark); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; list-style: none; }
.hero-proof .i { color: var(--amber); width: 18px; height: 18px; }
.stars { display: inline-block; flex: none; width: 92px; height: 18px; background: var(--amber); -webkit-mask: var(--star) 0 0 / 18.4px 18px repeat-x; mask: var(--star) 0 0 / 18.4px 18px repeat-x; }

/* Case review form (multi-step) */
.review-card { position: relative; background: #fff; color: var(--text); border-radius: var(--radius-lg); border-top: 6px solid var(--amber); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 32px); }
.review-card h2 { font-size: 26px; font-weight: 900; }
.review-card .card-sub { margin-top: 6px; font-size: 15px; color: var(--muted); }
.progress { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.progress-bar { flex: 1; height: 6px; border-radius: 3px; background: var(--bg-2); overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 33.33%; background: var(--navy); transition: width .3s; }
.step { border: 0; padding: 0; margin: 20px 0 0; min-width: 0; }
.step[hidden] { display: none; }
.step legend { padding: 0; margin-bottom: 14px; font-size: 18px; font-weight: 800; color: var(--ink); }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice > span { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 10px 14px; border: 2px solid var(--line); border-radius: var(--radius); font-size: 15px; font-weight: 700; line-height: 1.25; color: var(--ink); cursor: pointer; transition: border-color .15s, background-color .15s; }
.choice > span .i { width: 20px; height: 20px; color: var(--navy-3); }
.choice:hover > span { border-color: var(--navy-3); }
.choice input:checked + span { border-color: var(--navy); background: #FFF6DE; box-shadow: inset 0 0 0 1px var(--navy); }
.choice input:focus-visible + span { outline: 3px solid var(--navy-3); outline-offset: 2px; }
.choices.one-col { grid-template-columns: 1fr; }
.field { display: grid; gap: 6px; margin-top: 14px; }
.field:first-of-type { margin-top: 0; }
.field label, .field .label { font-size: 14px; font-weight: 800; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--radius); background: #fff; font-size: 16px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(242, 169, 0, .45); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 14px; color: var(--muted); line-height: 1.45; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--navy); }
.form-actions { display: flex; gap: 10px; margin-top: 20px; }
.form-actions .btn { flex: 1; }
.form-actions .btn-back { flex: 0 0 auto; }
.form-error { margin-top: 12px; font-size: 14px; font-weight: 700; color: #B42318; }
.form-error:empty { display: none; }
.form-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.form-note .i { width: 16px; height: 16px; margin-top: 2px; color: var(--navy-3); }
.form-success { text-align: left; }
.form-success .ok { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #E7F6EC; color: #1E7B3C; }
.form-success .ok .i { width: 28px; height: 28px; }
.form-success h3 { margin-top: 16px; font-size: 24px; font-weight: 900; }
.form-success p { margin-top: 10px; color: var(--muted); }

/* Stats strip */
.stats { position: relative; z-index: 2; margin-top: -72px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.stat { padding: 26px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat { margin: 0; }
.stat b { display: block; font-size: clamp(30px, 3vw, 40px); font-weight: 900; color: var(--navy); letter-spacing: -.03em; line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.4; }

/* Results */
.results-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.result { display: flex; flex-direction: column; padding: 28px; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--amber); border-radius: var(--radius); }
.result .amt { font-size: clamp(38px, 3.6vw, 50px); font-weight: 900; color: var(--navy); letter-spacing: -.035em; line-height: 1; }
.result .meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 14px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.result .meta span { white-space: nowrap; }
.result .meta span:first-child { color: var(--amber-text); }
.result h3 { margin-top: 14px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.result p { margin-top: 10px; font-size: 16px; color: var(--muted); }
.disclaimer { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 16px 18px; background: var(--bg-2); border-radius: var(--radius); font-size: 14px; color: var(--muted); line-height: 1.5; }
.disclaimer .i { width: 18px; height: 18px; margin-top: 2px; color: var(--navy-3); }
.disclaimer strong { color: var(--ink); }
.section.alt .disclaimer { background: #fff; }

/* After-a-crash steps */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: step; list-style: none; }
.steps li { position: relative; padding: 24px 20px 22px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--amber); color: var(--navy); font-weight: 900; font-size: 18px; }
.steps h3 { margin-top: 18px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.steps p { margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.5; }

/* Practice areas grid */
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.area { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 24px; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); color: #fff; text-decoration: none; isolation: isolate; }
.area img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: transform .5s; }
.area::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 26, 43, .25) 0%, rgba(14, 26, 43, .55) 45%, rgba(14, 26, 43, .95) 100%); }
.area::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.area:hover::after, .area:focus-visible::after { transform: scaleX(1); }
.area:hover img { transform: scale(1.05); }
.area h3 { color: #fff; font-size: 24px; font-weight: 900; }
.area p { margin-top: 8px; font-size: 15px; color: var(--on-dark); max-width: 30em; }
.area .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 800; color: var(--amber); }
.area .go .i { width: 16px; height: 16px; }
.area.plain { background: var(--navy-2); }
.area.plain .big-i { position: absolute; top: 24px; left: 24px; width: 44px; height: 44px; color: var(--amber); }

/* Fee band */
.fee { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.fee::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 18px, transparent 18px 36px); }
.fee .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.fee h2 { color: #fff; }
.fee h2 em { font-style: normal; color: var(--amber); }
.fee .lead { margin-top: 18px; }
.fee .btn { margin-top: 28px; }
.fee-steps { display: grid; gap: 14px; list-style: none; }
.fee-steps li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: 22px; background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--radius-lg); }
.fee-steps .num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius); background: var(--amber); color: var(--navy); }
.fee-steps .num .i { width: 26px; height: 26px; }
.fee-steps h3 { color: #fff; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.fee-steps p { margin-top: 6px; font-size: 15px; color: var(--on-dark); }

/* Attorneys */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.atty { text-decoration: none; color: inherit; }
.atty figure { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--bg-2); aspect-ratio: 4 / 5; }
.atty img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.atty:hover img { transform: scale(1.04); }
.atty .lang-tag { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: var(--amber); color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.atty h3 { margin-top: 16px; font-size: 21px; font-weight: 900; }
.atty .role { margin-top: 4px; font-size: 15px; font-weight: 700; color: var(--amber-text); }
.atty p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* Reviews */
.reviews-head { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.score { font-size: 56px; font-weight: 900; color: var(--navy); letter-spacing: -.04em; line-height: 1; }
.score-meta { font-size: 15px; color: var(--muted); }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.review { display: flex; flex-direction: column; padding: 28px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.review blockquote { margin-top: 14px; font-size: 18px; font-weight: 500; color: var(--ink); line-height: 1.55; }
.review figcaption { margin-top: auto; padding-top: 20px; font-size: 15px; color: var(--muted); }
.review figcaption b { display: block; color: var(--ink); }

/* CTA band */
.cta-band { background: var(--amber); color: var(--navy); }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding-block: clamp(48px, 6vw, 72px); }
.cta-band h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; }
.cta-band p { margin-top: 10px; font-size: 18px; font-weight: 500; color: #3B2A00; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-outline { border-color: var(--navy); }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.page-hero .wrap { position: relative; padding-block: clamp(48px, 6vw, 80px); }
.page-hero h1 { margin-top: 16px; max-width: 18em; color: #fff; font-size: clamp(38px, 4.6vw, 60px); font-weight: 900; letter-spacing: -.03em; line-height: 1.02; }
.page-hero h1 em { font-style: normal; color: var(--amber); }
.page-hero .lead { margin-top: 18px; }
.page-hero .hero-ctas { margin-top: 28px; }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 26, 43, .97) 0%, rgba(14, 26, 43, .9) 45%, rgba(14, 26, 43, .6) 100%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--on-dark); list-style: none; }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: #fff; text-decoration: underline; text-decoration-color: var(--navy-line); text-underline-offset: 4px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--navy-line); }

/* Practice areas page */
.pa-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.pa-nav { position: sticky; top: 110px; display: grid; gap: 4px; padding: 20px; background: var(--bg-2); border-radius: var(--radius-lg); }
.pa-nav p { margin-bottom: 8px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pa-nav a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: var(--radius); font-weight: 700; text-decoration: none; color: var(--text); }
.pa-nav a .i { width: 18px; height: 18px; color: var(--navy-3); }
.pa-nav a:hover { background: #fff; color: var(--navy); }
.pa-nav a[aria-current="true"] { background: #fff; color: var(--navy); box-shadow: inset 4px 0 0 var(--amber); }
.pa-nav .btn { margin-top: 12px; }
.pa { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.pa:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.pa-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.pa-top.no-img { grid-template-columns: 1fr; }
.pa-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius); background: var(--navy); color: var(--amber); }
.pa-icon .i { width: 28px; height: 28px; }
.pa h2 { margin-top: 16px; font-size: clamp(28px, 3vw, 38px); font-weight: 900; }
.pa .intro { margin-top: 14px; max-width: 46em; font-size: 18px; color: var(--text); }
.pa-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); }
.pa-img img { width: 100%; height: 100%; object-fit: cover; }
.pa-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.pa-box { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.pa-box h3 { font-size: 17px; font-weight: 800; }
.ticks { display: grid; gap: 10px; margin-top: 14px; list-style: none; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.ticks .i { width: 18px; height: 18px; margin-top: 3px; color: var(--navy-3); }
.pa-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding: 18px 22px; border-radius: var(--radius-lg); background: var(--navy); color: #fff; }
.pa-foot p { flex: 1 1 320px; font-size: 16px; color: var(--on-dark); }
.pa-foot .btn { flex: none; }
.pa-foot p b { color: #fff; }
.pa-foot .btn { min-height: 46px; }

/* Case results page */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 42px; padding: 0 16px; border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font-size: 15px; font-weight: 700; cursor: pointer; }
.chip:hover { border-color: var(--navy-3); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.sort { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: 15px; font-weight: 700; }
.sort select { min-height: 44px; padding: 0 36px 0 12px; border: 2px solid var(--line); border-radius: var(--radius); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230E1A2B' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; font-weight: 700; }
.summary { font-size: 16px; color: var(--muted); }
.summary b { color: var(--ink); }
.results-grid.full { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.result[hidden] { display: none; }
.more-wrap { display: flex; justify-content: center; margin-top: 28px; }
.more-wrap:has(> [hidden]) { display: none; }
.empty { padding: 32px; text-align: center; color: var(--muted); border: 2px dashed var(--line); border-radius: var(--radius-lg); }
.big-disclaimer { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; margin-bottom: 32px; padding: 22px 24px; border: 2px solid var(--navy); border-radius: var(--radius-lg); background: #FFFBF0; }
.big-disclaimer .i { width: 24px; height: 24px; color: var(--navy); }
.big-disclaimer h2 { font-size: 18px; font-weight: 900; letter-spacing: 0; }
.big-disclaimer p { margin-top: 6px; font-size: 15px; color: var(--text); }
.explain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.explain div { padding-top: 18px; border-top: 4px solid var(--navy); }
.explain h3 { font-size: 19px; font-weight: 800; }
.explain p { margin-top: 8px; font-size: 16px; color: var(--muted); }

/* Attorneys page */
.bio { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding-block: 48px; border-top: 1px solid var(--line); }
.bio:first-of-type { border-top: 0; padding-top: 0; }
.bio figure { overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; background: var(--bg-2); }
.bio figure img { width: 100%; height: 100%; object-fit: cover; }
.bio h2 { font-size: clamp(30px, 3vw, 40px); font-weight: 900; }
.bio .role { margin-top: 6px; font-size: 17px; font-weight: 800; color: var(--amber-text); }
.bio .quote { margin-top: 20px; padding-left: 18px; border-left: 4px solid var(--amber); font-size: 20px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.bio .body { margin-top: 18px; display: grid; gap: 14px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.facts div { padding: 16px 18px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.facts div:nth-child(-n+2) { border-top: 0; }
.facts div:nth-child(odd) { border-left: 0; }
.facts .wide { grid-column: 1 / -1; border-left: 0; }
.facts dt { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin-top: 4px; font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.intake { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.intake div { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.intake .i { width: 28px; height: 28px; color: var(--navy-3); }
.intake h3 { margin-top: 14px; font-size: 19px; font-weight: 800; }
.intake p { margin-top: 8px; font-size: 16px; color: var(--muted); }

/* Free case review page */
.review-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.review-layout .review-card { border-top-width: 8px; }
.next-steps { position: sticky; top: 110px; padding: 28px; background: var(--navy); color: #fff; border-radius: var(--radius-lg); }
.next-steps h2 { color: #fff; font-size: 24px; font-weight: 900; }
.timeline { display: grid; gap: 0; margin-top: 20px; list-style: none; }
.timeline li { position: relative; padding: 0 0 22px 36px; }
.timeline li::before { content: ""; position: absolute; left: 7px; top: 22px; bottom: 0; width: 2px; background: var(--navy-line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--amber); }
.timeline b { display: block; color: #fff; font-size: 16px; }
.timeline span { display: block; margin-top: 4px; font-size: 15px; color: var(--on-dark); line-height: 1.5; }
.next-steps .call { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--navy-line); color: #fff; text-decoration: none; }
.next-steps .call .i { width: 22px; height: 22px; color: var(--amber); }
.next-steps .call b { display: block; font-size: 20px; font-weight: 900; }
.next-steps .call small { display: block; font-size: 13px; color: var(--on-dark); }
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 22px; font-size: 18px; font-weight: 800; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 22px; height: 22px; color: var(--navy-3); transition: transform .2s; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; font-size: 16px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-dark); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 64px 40px; }
.site-footer .logo { color: #fff; }
.site-footer .logo-word span { color: var(--on-dark); }
.foot-about { margin-top: 18px; max-width: 26em; }
.foot-phone { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 22px; font-weight: 900; color: #fff; text-decoration: none; }
.foot-phone .i { color: var(--amber); }
.site-footer h2 { color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.foot-list { display: grid; gap: 4px; margin-top: 14px; list-style: none; }
.foot-list a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.foot-list a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 4px; }
.site-footer address { margin-top: 14px; font-style: normal; line-height: 1.7; }
.foot-legal { display: grid; gap: 10px; padding-block: 24px 32px; border-top: 1px solid var(--navy-line); font-size: 13px; line-height: 1.6; }
.foot-legal a { color: #fff; }
.demo-note { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; padding: 14px 16px; border-radius: var(--radius); background: var(--navy-2); color: var(--on-dark); }
.demo-note a { display: inline-flex; align-items: center; min-height: 32px; font-weight: 700; }

/* Sticky mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 767px) {
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(14, 26, 43, .35); }
  .mobile-bar .btn { min-height: 50px; padding: 0 12px; font-size: 15px; }
  body { padding-bottom: 76px; }
}

/* Responsive */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 104px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(14, 26, 43, .9) 0%, rgba(14, 26, 43, .94) 50%, rgba(14, 26, 43, .98) 100%); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .results-grid, .results-grid.full { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results-grid:not(.full) .result:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fee .wrap { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .cta-band .wrap { grid-template-columns: 1fr; }
  .pa-layout { grid-template-columns: 1fr; }
  .pa-nav { position: static; display: flex; gap: 8px; padding: 0 0 6px; background: none; overflow-x: auto; scrollbar-width: thin; }
  .pa-nav p, .pa-nav .btn { display: none; }
  .pa-nav a { flex: none; min-height: 44px; padding: 0 16px; border: 2px solid var(--line); border-radius: 999px; background: #fff; white-space: nowrap; }
  .review-layout { grid-template-columns: 1fr; }
  .next-steps { position: static; }
  .bio { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); }
  .intake, .explain { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; align-items: start; }
  .steps li::before { grid-row: span 2; }
  .steps h3 { margin-top: 6px; }
  .results-grid, .results-grid.full { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; }
  .area { min-height: 240px; }
  .pa-top { grid-template-columns: 1fr; }
  .pa-cols { grid-template-columns: 1fr; }
  .bio { grid-template-columns: 1fr; }
  .bio figure { max-width: 320px; }
  .facts div { padding: 14px; }
  .facts dd { font-size: 15px; }
  .sort { margin-left: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .choices { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .stat { padding: 18px 16px; }
  .stat b { font-size: 28px; }
  .stat span { font-size: 14px; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .atty h3 { font-size: 18px; }
  .atty p { display: none; }
  .hero-ctas .btn { width: 100%; }
  .cta-band .btns .btn { width: 100%; }
  .form-actions { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
