/* Selected statement homepage, promoted from the reviewed design. */
.firm-homepage .hero { isolation:isolate; grid-template-columns:minmax(0,1.16fr) minmax(0,.55fr) minmax(0,.79fr); column-gap:24px; align-items:center; padding-top:42px; padding-bottom:38px; }
.firm-homepage .hero-identity { grid-column:1; grid-row:1 / 3; align-self:center; }
.firm-homepage .hero h1 { font-size:clamp(62px,5.8vw,78px); line-height:.98; letter-spacing:-.06em; }
.firm-homepage .hero h1 span { display:block; }
.firm-homepage .hero-role { max-width:370px; margin-top:23px; font-size:15px; line-height:1.5; }
.hero-portrait { grid-column:2; grid-row:1 / 3; align-self:end; min-width:0; width:calc(100% + 26px); max-width:370px; margin:0 -13px -24px; background:transparent; pointer-events:none; }
.hero-portrait img { display:block; width:100%; height:auto; filter:saturate(.78); }
/* The photographic cutout is wider than the former square line drawing. */
@media(min-width:1101px){
 .firm-homepage .hero-portrait { width:calc(100% + 104px); max-width:450px; margin-inline:-52px; }
}
.firm-homepage .mission { grid-column:3; grid-row:1; margin:0 0 22px; font-size:22px; line-height:1.4; letter-spacing:-.025em; }
.firm-homepage .hero-actions { grid-column:3; grid-row:2; align-self:start; gap:14px; }
.firm-homepage .tagline { max-width:260px; font-size:13px; line-height:1.5; }
.firm-homepage .firm-intro { padding-block:52px 50px; }
.firm-homepage .firm-intro h2 { font-size:40px; }
.firm-homepage .portal-invitation { padding-top:50px; }
@media(min-width:1500px){
 .firm-homepage .hero { padding-block:48px 44px; }
 .hero-portrait { width:calc(100% + 38px); max-width:380px; margin-left:-19px; margin-right:-19px; }
}
@media(max-width:1100px) and (min-width:741px){
 .firm-homepage .hero { grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); column-gap:34px; padding-block:37px; }
 .firm-homepage .hero-identity { grid-column:1; grid-row:1; }
 .firm-homepage .hero h1 { font-size:clamp(57px,7.3vw,76px); }
 .firm-homepage .hero-role { margin:18px 0 25px; }
 .firm-homepage .mission { grid-column:1; grid-row:2; max-width:490px; margin-bottom:23px; font-size:21px; }
 .firm-homepage .hero-actions { grid-column:1; grid-row:3; }
 .hero-portrait { grid-column:2; grid-row:1 / 4; width:calc(100% + 38px); margin:0 -19px -20px; max-width:460px; }
}
@media(max-width:740px){
 .firm-homepage .hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:start; gap:0 10px; padding:32px 20px 25px; overflow:hidden; }
 .firm-homepage .hero-identity { grid-column:1 / 3; grid-row:1; }
 .firm-homepage .hero h1 { font-size:clamp(44px,13.5vw,65px); line-height:.97; }
 .firm-homepage .hero-role { max-width:none; margin:17px 0 27px; font-size:14px; }
 .firm-homepage .mission { grid-column:1; grid-row:2; margin:0 0 20px; font-size:17px; line-height:1.4; letter-spacing:-.025em; }
 .firm-homepage .hero-actions { grid-column:1; grid-row:3; gap:12px; }
 .firm-homepage .hero-actions .button { padding:12px 18px; font-size:14px; }
 .firm-homepage .tagline { font-size:12px; line-height:1.45; }
 .hero-portrait { grid-column:2; grid-row:2 / 4; align-self:end; width:calc(100% + 24px); max-width:295px; margin:0 -12px -8px; }
 .firm-homepage .firm-intro { padding-block:35px; }
 .firm-homepage .firm-intro h2 { font-size:32px; }
 .firm-homepage .portal-invitation { padding-top:35px; }
}
@media(max-width:360px){
 .firm-homepage .hero { column-gap:7px; }
 .firm-homepage .mission { font-size:16px; }
 .firm-homepage .hero-role { font-size:13px; }
}

/* Firm-first alternative: substantive firm copy, financing and its own introduction. */
.firm-homepage .site-header nav { gap:21px; }
.firm-homepage .firm-intro { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); align-items:center; gap:54px; padding-block:58px; }
.firm-homepage .firm-intro-copy { display:block; }
.firm-homepage .firm-intro-copy .firm-intro-kicker { margin:0 0 18px; font-size:12px; color:var(--blue); line-height:1.45; font-weight:650; letter-spacing:.015em; }
.firm-homepage .firm-intro h2 { margin:0 0 23px; max-width:550px; font-size:44px; line-height:1.06; }
.firm-homepage .firm-intro-copy > p { margin:0 0 18px; font-size:18px; line-height:1.6; }
.firm-financing { margin-top:26px; margin-bottom:23px; padding-top:21px; border-top:1px solid var(--line); }
.firm-financing-brand { display:flex; flex-wrap:wrap; align-items:center; gap:12px; width:fit-content; color:var(--blue); text-underline-offset:4px; font-size:16px; font-weight:550; }
.firm-financing-brand img { width:78px; height:auto; }
.firm-financing p { margin:8px 0 18px; color:#5a637b; font-size:12px; }
.firm-film-frame { min-width:0; margin:0; border:1px solid #dce1ed; background:#0d1740; box-shadow:0 18px 48px -25px #10266438; }
.firm-film-frame video,.firm-film-placeholder { display:block; width:100%; height:auto; aspect-ratio:16/9; }
.firm-film-frame video { background:#0d1740; }
.firm-film-placeholder { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:10%; background:#101d48; color:white; }
.firm-film-placeholder .film-wordmark { font-size:12px; font-weight:600; letter-spacing:.05em; }
.firm-film-placeholder strong { display:block; margin:20px 0; max-width:440px; font-size:clamp(23px,2.9vw,42px); line-height:1.08; letter-spacing:-.045em; }
.firm-film-placeholder span:last-child { color:#c2cbee; font-size:11px; line-height:1.5; }
.design-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; }
.firm-homepage .quiet-case-prep { padding-block:44px; grid-template-columns:minmax(0,1fr) minmax(0,.85fr); gap:65px; border-bottom:0; }
.firm-homepage .quiet-case-prep h2 { font-size:34px; }
.firm-homepage .quiet-case-prep .section-kicker { font-size:10px; }
.firm-homepage .quiet-case-prep .case-prep-benefits { gap:13px; margin:22px 0; }
.firm-homepage .quiet-case-prep .case-prep-demo { box-shadow:none; }
.firm-homepage .quiet-case-prep .portal-actions .button { background:white; color:var(--blue); }
.firm-homepage .quiet-case-prep .portal-actions .button:hover { background:#f2f6ff; }
.firm-homepage .closing-firm-offer { padding-bottom:38px; }
.firm-homepage .closing-firm-offer .financing { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:0; padding-top:28px; }
.firm-homepage .closing-firm-offer .button { flex-shrink:0; }
@media(max-width:1100px){
 .firm-homepage .site-header { gap:18px; }
 .firm-homepage .site-header nav { gap:15px; font-size:13px; }
 .firm-homepage .wordmark { font-size:21px; }
 .firm-homepage .firm-intro { gap:32px; }
 .firm-homepage .firm-intro h2 { font-size:36px; }
 .firm-homepage .firm-intro-copy > p { font-size:17px; }
}
@media(max-width:740px){
 .firm-homepage .site-header nav { gap:17px 22px; }
 .firm-homepage .firm-intro { display:flex; flex-direction:column; align-items:stretch; gap:27px; padding-block:35px; }
 .firm-homepage .firm-intro h2 { font-size:34px; }
 .firm-film-placeholder strong { font-size:28px; }
 .firm-film-placeholder .film-wordmark { font-size:10px; }
 .firm-homepage .quiet-case-prep { gap:0; padding-block:35px; }
 .firm-homepage .quiet-case-prep h2 { font-size:29px; }
 .firm-homepage .quiet-case-prep .case-prep-demo { margin-top:6px; }
 .firm-homepage .closing-firm-offer { padding-bottom:30px; }
 .firm-homepage .closing-firm-offer .financing { flex-direction:column; align-items:flex-start; gap:20px; padding-top:24px; }
}

/* The preview toolbar stays available while moving through the firm and tool sections. */
html:has(body.firm-homepage) { scroll-padding-top:var(--firm-header-offset,118px); }
.sticky-nav-shell { position:sticky; top:0; z-index:80; background:white; border-bottom:1px solid #e3e7ef; box-shadow:0 4px 15px #12244708; }
.sticky-nav-shell .site-header { min-height:91px; }
@media(max-width:740px){
 .sticky-nav-shell .site-header { min-height:0; padding-block:10px 9px; }
 .sticky-nav-shell .site-header .wordmark { font-size:16px; width:calc(100% - 112px); max-width:none; min-height:28px; line-height:1.1; }
 .sticky-nav-shell .site-header .header-button { top:10px; padding:9px 12px; }
 .sticky-nav-shell .site-header nav { margin-top:6px; gap:6px; align-items:center; font-size:11px; }
 .sticky-nav-shell .site-header .language-switch { margin-left:auto; }
 .sticky-nav-shell .site-header .language-switch { padding:1px; }
 .sticky-nav-shell .site-header .language-switch button { font-size:11px; min-height:30px; padding:4px 6px; }
 .sticky-nav-shell .site-header .language-switch button[aria-pressed="true"] { display:none; }
}

/* Verified financing offer remains in the firm sections only. */
.firm-financing .firm-credit-note { margin-top:-10px; margin-bottom:19px; }
.firm-financing-actions { display:flex; align-items:center; flex-wrap:wrap; gap:15px 20px; }
.financing-options-link { color:var(--blue); font-size:13px; text-underline-offset:4px; }
@media(min-width:741px) and (max-width:1100px){
 .sticky-nav-shell .site-header { display:flex; flex-wrap:wrap; padding-block:14px; gap:12px; }
 .sticky-nav-shell .site-header nav { width:100%; justify-content:space-between; gap:10px; }
}
@media(max-width:740px){
 .firm-financing-brand { font-size:15px; }
}

/* Four isolated blue-panel choices; all share the approved content below. */
.firm-homepage.hero-options .hero { column-gap:54px; padding-block:48px 42px; }
.firm-homepage.hero-options .hero .hero-role { max-width:none; }
.firm-homepage.hero-options .hero h1 { font-size:clamp(62px,5.5vw,76px); }
/* Substantive statement replaces the entire attorney-led hero. */
.firm-homepage.hero-statement .hero { grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); align-items:center; padding-block:59px 58px; }
.hero-kicker { margin:0 0 24px; font-size:12px; line-height:1.35; font-weight:600; letter-spacing:.09em; color:#d2dcff; }
.firm-homepage.hero-statement .hero h1 { max-width:730px; font-size:clamp(62px,6.05vw,86px); line-height:.98; letter-spacing:-.06em; }
.statement-description { max-width:420px; margin:0 0 31px; font-size:24px; line-height:1.45; letter-spacing:-.025em; }
.statement-attorney { margin-bottom:25px; padding-top:23px; border-top:1px solid #ffffff4f; }
.statement-name { margin:0; font-size:20px; line-height:1.3; font-weight:650; }
.firm-homepage .statement-attorney .hero-role { margin-top:8px; font-size:14px; }
.firm-homepage .statement-details .button { background:var(--yellow); border-color:var(--yellow); color:var(--ink); }
/* Signature is a decorative white-ink mark, with no portrait. */
.firm-homepage.hero-signature .hero { grid-template-columns:minmax(0,1.35fr) minmax(0,.9fr); }
.firm-homepage.hero-signature .hero-identity { grid-column:1; grid-row:1 / 3; }
.firm-homepage.hero-signature .mission { grid-column:2; grid-row:1; font-size:25px; }
.firm-homepage.hero-signature .hero-actions { grid-column:2; grid-row:2; }
.hero-identity img.hero-signature { display:block; width:min(410px,90%); height:auto; margin:22px 0 -8px; object-fit:contain; }
/* Full-size seated photograph. The source proportions and hands remain visible. */
.firm-homepage.hero-open .hero,.firm-homepage.hero-photo .hero { grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); align-items:center; }
.firm-homepage.hero-open .hero-identity,.firm-homepage.hero-photo .hero-identity { grid-column:1; grid-row:1; align-self:end; }
.firm-homepage.hero-open .hero-role,.firm-homepage.hero-photo .hero-role { margin:18px 0 25px; }
.firm-homepage.hero-open .mission,.firm-homepage.hero-photo .mission { grid-column:1; grid-row:2; max-width:520px; font-size:22px; margin-bottom:23px; }
.firm-homepage.hero-open .hero-actions,.firm-homepage.hero-photo .hero-actions { grid-column:1; grid-row:3; }
.firm-homepage.hero-open .hero-portrait,.firm-homepage.hero-photo .hero-portrait { grid-column:2; grid-row:1 / 4; width:100%; max-width:650px; margin:0 0 -42px; align-self:end; }
.firm-homepage.hero-open .hero-portrait img,.firm-homepage.hero-photo .hero-portrait img { width:100%; height:auto; filter:saturate(.78); }
@media(max-width:1100px) and (min-width:741px){
 .firm-homepage.hero-options .hero { column-gap:35px; padding-block:40px; }
 .firm-homepage.hero-options .hero h1 { font-size:clamp(47px,6.1vw,67px); }
 .firm-homepage.hero-statement .hero h1 { font-size:clamp(48px,6.2vw,68px); }
 .statement-description { font-size:21px; }
 .firm-homepage.hero-signature .mission { font-size:22px; }
 .firm-homepage.hero-open .hero-portrait,.firm-homepage.hero-photo .hero-portrait { margin-bottom:-40px; }
 .firm-homepage.hero-open .mission,.firm-homepage.hero-photo .mission { font-size:20px; }
}
@media(max-width:740px){
 .firm-homepage.hero-options .hero { display:grid; grid-template-columns:minmax(0,1fr); gap:0; padding:35px 20px 33px; }
 .firm-homepage.hero-options .hero h1 { font-size:clamp(44px,12.6vw,64px); line-height:.99; }
 .firm-homepage.hero-statement .hero { gap:29px; padding-block:38px; }
 .firm-homepage.hero-statement .hero h1 { font-size:clamp(48px,13.7vw,68px); }
 .hero-kicker { font-size:11px; margin-bottom:19px; }
 .statement-description { max-width:520px; margin-bottom:25px; font-size:21px; }
 .statement-attorney { margin-bottom:24px; padding-top:21px; }
 .statement-name { font-size:19px; }
 .firm-homepage.hero-signature .hero-identity { grid-column:1; grid-row:1; }
 .firm-homepage.hero-signature .mission { grid-column:1; grid-row:2; max-width:520px; margin:28px 0 23px; font-size:21px; }
 .firm-homepage.hero-signature .hero-actions { grid-column:1; grid-row:3; }
 .hero-identity img.hero-signature { width:min(355px,86%); margin:20px 0 0; }
 .firm-homepage.hero-open .hero-identity,.firm-homepage.hero-photo .hero-identity { grid-column:1; grid-row:1; }
 .firm-homepage.hero-open .mission,.firm-homepage.hero-photo .mission { grid-column:1; grid-row:2; max-width:520px; font-size:21px; }
 .firm-homepage.hero-open .hero-actions,.firm-homepage.hero-photo .hero-actions { grid-column:1; grid-row:3; }
 .firm-homepage.hero-open .hero-portrait,.firm-homepage.hero-photo .hero-portrait { grid-column:1; grid-row:4; width:min(470px,100%); max-width:none; margin:27px auto -33px; }
 .firm-homepage.hero-open .hero-role,.firm-homepage.hero-photo .hero-role { margin-bottom:24px; }
}

/* Selected statement panel, with an optional decorative signature beside the name. */
.statement-identity-row { display:flex; align-items:center; gap:14px; min-width:0; }
.statement-identity-row .statement-name { flex-shrink:0; }
.statement-identity-row img.ornate-signature { display:block; width:190px; max-width:calc(100% - 171px); height:auto; object-fit:contain; pointer-events:none; }
/* A genuine 9:16 version, fitted beside the firm introduction rather than cropped. */
.firm-homepage.video-vertical .firm-intro { grid-template-columns:minmax(0,1fr) minmax(280px,350px); gap:78px; align-items:center; }
.firm-homepage.video-vertical .firm-intro h2 { max-width:650px; }
.firm-homepage.video-vertical .firm-film-frame { width:100%; max-width:350px; justify-self:end; }
.firm-homepage.video-vertical .firm-film-frame video,.firm-homepage.video-vertical .firm-film-placeholder { aspect-ratio:9/16; width:100%; height:auto; }
.firm-homepage.video-vertical .firm-film-frame video { max-height:640px; object-fit:contain; }
@media(max-width:1100px) and (min-width:741px){
 .firm-homepage.video-vertical .firm-intro { grid-template-columns:minmax(0,1fr) minmax(235px,285px); gap:34px; }
 .firm-homepage.video-vertical .firm-film-frame { max-width:285px; }
 .statement-identity-row img.ornate-signature { width:170px; max-width:calc(100% - 157px); }
}
@media(max-width:740px){
 .statement-identity-row { gap:12px; }
 .statement-identity-row img.ornate-signature { width:180px; max-width:calc(100% - 160px); }
 .firm-homepage.video-vertical .firm-intro { display:flex; gap:28px; }
 .firm-homepage.video-vertical .firm-film-frame { width:min(350px,100%); max-width:none; align-self:center; }
}

.firm-film-frame .demo-error { margin:0; padding:16px; color:white; font-size:14px; line-height:1.5; }
.firm-homepage .skip-link { z-index:100; }
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Approved relationships-first hero, shared with the reviewed preview. */
.statement-identity-row .statement-name { flex-shrink:1; }
.firm-homepage.hero-statement .hero h1 { text-wrap:balance; }
.statement-description { text-wrap:pretty; }
.firm-homepage.hero-statement .hero { align-items:center; }
@media(max-width:740px) {
 .firm-homepage.hero-statement .hero h1 { font-size:clamp(40px,11.3vw,48px); }
}
