/*
Theme Name: Halawi Law Landing
Theme URI: https://halawilaw.com
Author: OpenAI
Author URI: https://openai.com
Description: A modern one-screen WordPress landing page for Halawi Law, focused on litigation and outside counsel services.
Version: 1.6.2
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: solo-law-firm
Tags: law, attorney, one-column, custom-logo, landing-page, accessibility-ready
*/

:root {
    --slf-black: #030303;
    --slf-charcoal: #171717;
    --slf-muted: #5d5d5d;
    --slf-soft: #f7f7f5;
    --slf-paper: #ffffff;
    --slf-line: rgba(3, 3, 3, 0.14);
    --slf-red: #f50000;
    --slf-red-soft: rgba(245, 0, 0, 0.08);
    --slf-max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100%;
    margin: 0;
    color: var(--slf-black);
    background: var(--slf-paper);
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
}

body.slf-homepage {
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(245, 0, 0, 0.045) 0 1px, transparent 1px) left 8vw top / 1px 100% no-repeat,
        radial-gradient(circle at 50% 14%, rgba(245, 0, 0, 0.045), transparent 22rem),
        linear-gradient(180deg, #ffffff 0%, #fbfbfa 100%);
}

body.admin-bar .site-header {
    top: 32px;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 20;
    pointer-events: none;
}

.header-inner {
    max-width: var(--slf-max);
    margin: 0 auto;
    padding: clamp(24px, 5vh, 44px) clamp(20px, 5vw, 54px) 0;
    display: flex;
    justify-content: center;
}

.site-branding {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    pointer-events: auto;
}

.custom-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.custom-logo,
.default-logo {
    display: block;
    width: auto;
    max-width: min(304px, 62vw);
    max-height: 74px;
}

.splash-main {
    min-height: 100vh;
    min-height: 100svh;
}

.splash-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: clamp(112px, 17vh, 154px) clamp(22px, 5vw, 54px) clamp(36px, 8vh, 76px);
}

.splash-hero::after {
    content: "";
    position: fixed;
    left: 50%;
    bottom: clamp(18px, 4vh, 38px);
    width: min(180px, 36vw);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(245, 0, 0, 0.5), transparent);
    opacity: 0.75;
}

.splash-content {
    position: relative;
    width: min(100%, var(--slf-max));
    margin: 0 auto;
    text-align: center;
}

.splash-title,
.splash-positioning,
.splash-experience,
.splash-actions {
    margin: 0;
}

.splash-title {
    color: var(--slf-charcoal);
    font-size: clamp(0.78rem, 1.25vw, 1rem);
    line-height: 1.15;
    font-weight: 750;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    white-space: nowrap;
    transform: translateY(-10px);
}

.splash-positioning {
    display: inline-block;
    margin: clamp(40px, 6vh, 60px) auto 0;
    color: var(--slf-black);
    font-size: clamp(2.25rem, 4.7vw, 4.25rem);
    line-height: 0.96;
    font-weight: 720;
    letter-spacing: -0.075em;
    text-align: left;
    text-wrap: balance;
}

.risk-line,
.lockstep-line {
    display: block;
}

.risk-line {
    white-space: pre-wrap;
}

.lockstep-line {
    margin-top: 0.12em;
    margin-left: clamp(2.2rem, 5.4vw, 5.4rem);
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
}

.rotating-slot {
    display: inline-block;
    width: 14ch;
    text-align: left;
}

.rotating-word {
    display: inline-block;
    min-width: 0;
    color: var(--slf-red);
    transition: opacity 260ms ease, transform 260ms ease, filter 260ms ease;
    white-space: nowrap;
}

.rotating-word.is-changing {
    opacity: 0;
    transform: translateY(0.18em);
    filter: blur(2px);
}

.punctuation {
    color: var(--slf-red);
}

.splash-experience {
    max-width: 840px;
    margin: clamp(24px, 4vh, 36px) auto 0;
    color: var(--slf-muted);
    font-size: clamp(1rem, 1.35vw, 1.25rem);
    line-height: 1.58;
    font-weight: 420;
    letter-spacing: -0.012em;
}

.splash-actions {
    margin-top: clamp(26px, 4.5vh, 42px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 10px;
    column-gap: clamp(12px, 2vw, 20px);
    color: var(--slf-charcoal);
    font-size: 0.76rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: lowercase;
}

.splash-actions a {
    position: relative;
    text-decoration: none;
    transition: color 160ms ease, opacity 160ms ease;
}

.splash-actions a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.45em;
    height: 1px;
    background: var(--slf-red);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.splash-actions a:hover,
.splash-actions a:focus-visible {
    color: var(--slf-red);
}

.splash-actions a:hover::after,
.splash-actions a:focus-visible::after {
    transform: scaleX(1);
}

.splash-actions a + a::before {
    content: "|";
    display: inline-block;
    margin-right: clamp(12px, 2vw, 20px);
    color: rgba(3, 3, 3, 0.28);
    font-weight: 500;
    letter-spacing: 0;
}

.site-main:not(.splash-main) {
    min-height: 72vh;
    padding: 140px clamp(20px, 5vw, 54px) 80px;
}

.entry-content,
.footer-inner {
    max-width: 900px;
    margin: 0 auto;
}

.entry-title,
.page-title,
.entry-content h1 {
    margin-top: 0;
    color: var(--slf-black);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -0.055em;
}

.entry-content {
    color: var(--slf-charcoal);
}

.entry-content a {
    color: var(--slf-red);
    text-underline-offset: 0.2em;
}

.post-meta,
.disclaimer {
    color: var(--slf-muted);
    font-size: 0.9rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid var(--slf-black);
    border-radius: 999px;
    color: var(--slf-black);
    text-decoration: none;
}

.site-footer {
    padding: 42px clamp(20px, 5vw, 54px);
    border-top: 1px solid var(--slf-line);
    background: var(--slf-soft);
}

@media (max-width: 900px) {
    .splash-positioning {
        font-size: clamp(2rem, 7.2vw, 3.6rem);
    }

    .risk-line {
        white-space: pre-wrap;
    }
}

@media (max-width: 680px) {
    body.slf-homepage {
        background:
            linear-gradient(90deg, rgba(245, 0, 0, 0.055) 0 1px, transparent 1px) left 22px top / 1px 100% no-repeat,
            linear-gradient(180deg, #ffffff 0%, #fbfbfa 100%);
    }

    .header-inner {
        padding-top: 22px;
    }

    .custom-logo,
    .default-logo {
        max-width: min(244px, 70vw);
        max-height: 58px;
    }

    .splash-hero {
        padding-top: 98px;
        padding-bottom: 32px;
    }

    .splash-title {
        font-size: clamp(0.68rem, 2.65vw, 0.82rem);
        letter-spacing: 0.16em;
        transform: translateY(-6px);
    }

    .splash-positioning {
        margin-top: 32px;
        font-size: clamp(1.92rem, 10.8vw, 3.2rem);
        line-height: 0.98;
        letter-spacing: -0.07em;
        text-align: left;
    }

    .lockstep-line {
        margin-left: clamp(1rem, 6vw, 2rem);
        display: inline-flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        white-space: normal;
    }

    .rotating-slot {
        width: 13ch;
    }

    .rotating-word {
        min-width: 0;
    }

    .splash-experience {
        max-width: 34rem;
        font-size: clamp(0.88rem, 3.7vw, 1.02rem);
        line-height: 1.48;
    }

    .splash-actions {
        margin-top: 28px;
        font-size: 0.68rem;
        letter-spacing: 0.17em;
    }
}

@media (max-height: 720px) {
    .header-inner {
        padding-top: 18px;
    }

    .custom-logo,
    .default-logo {
        max-height: 52px;
    }

    .splash-hero {
        padding-top: 88px;
        padding-bottom: 24px;
    }

    .splash-positioning {
        margin-top: 28px;
        font-size: clamp(1.9rem, 4.25vw, 3.45rem);
        text-align: left;
    }

    .splash-experience {
        margin-top: 18px;
        font-size: clamp(0.84rem, 1.15vw, 1rem);
        line-height: 1.44;
    }

    .splash-actions {
        margin-top: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}


/* Inner pages */
body:not(.slf-homepage) {
    background:
        linear-gradient(90deg, rgba(245, 0, 0, 0.035) 0 1px, transparent 1px) left 8vw top / 1px 100% no-repeat,
        linear-gradient(180deg, #ffffff 0%, #fbfbfa 100%);
}

.inner-page-main {
    min-height: 100vh;
    padding: clamp(126px, 18vh, 170px) clamp(22px, 5vw, 54px) clamp(52px, 10vh, 92px);
}

.inner-page {
    width: min(100%, 980px);
    margin: 0 auto;
}

.inner-kicker {
    margin: 0 0 18px;
    color: var(--slf-red);
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.inner-title {
    max-width: 940px;
    margin: 0;
    color: var(--slf-black);
    font-size: clamp(2.3rem, 6vw, 5.25rem);
    line-height: 0.95;
    font-weight: 760;
    letter-spacing: -0.075em;
}

.inner-copy {
    max-width: 820px;
    margin-top: clamp(28px, 5vh, 46px);
    color: var(--slf-charcoal);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.65;
}

.inner-copy p {
    margin: 0 0 1.1em;
}

.practice-list {
    margin: clamp(36px, 6vh, 56px) 0 0;
}

.practice-list-structured {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(28px, 5vw, 74px);
    row-gap: clamp(22px, 3.2vh, 32px);
}

.practice-single,
.practice-group {
    color: var(--slf-black);
    font-size: clamp(1rem, 1.6vw, 1.22rem);
    line-height: 1.25;
    font-weight: 720;
    letter-spacing: -0.025em;
}

.practice-group {
    grid-row: span 2;
}

.practice-group h2 {
    margin: 0;
    color: var(--slf-black);
    font-size: clamp(1.16rem, 2vw, 1.55rem);
    line-height: 1.05;
    font-weight: 780;
    letter-spacing: -0.045em;
}

.practice-group ul {
    margin: 14px 0 0;
    padding-left: 1.1em;
    color: var(--slf-muted);
}

.practice-group li {
    margin: 0.58em 0;
    font-size: clamp(0.95rem, 1.25vw, 1.05rem);
    line-height: 1.35;
    font-weight: 560;
    letter-spacing: -0.012em;
}

.review-grid {
    margin-top: clamp(30px, 5vh, 48px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 28px);
}

.review-card {
    margin: 0;
    padding: clamp(22px, 3.2vw, 32px);
    border: 1px solid var(--slf-line);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 22px 70px rgba(3, 3, 3, 0.06);
}

.review-card blockquote {
    margin: 0;
    color: var(--slf-black);
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    line-height: 1.55;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.review-card figcaption {
    margin-top: 22px;
    color: var(--slf-red);
    font-size: 0.72rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.contact-card {
    margin-top: clamp(30px, 5vh, 48px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--slf-line);
    border-bottom: 1px solid var(--slf-line);
}

.contact-card > div {
    padding: 24px clamp(18px, 3vw, 28px);
    border-right: 1px solid var(--slf-line);
}

.contact-card > div:last-child {
    border-right: 0;
}

.contact-card span {
    display: block;
    margin-bottom: 10px;
    color: var(--slf-red);
    font-size: 0.7rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.contact-card a,
.contact-card strong {
    color: var(--slf-black);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.35;
    font-weight: 720;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.form-placeholder {
    margin-top: 28px;
    padding: 26px;
    border: 1px dashed rgba(245, 0, 0, 0.35);
    background: var(--slf-red-soft);
}

.form-placeholder p {
    margin: 0 0 6px;
    color: var(--slf-black);
    font-weight: 760;
    letter-spacing: -0.02em;
}

.form-placeholder small {
    color: var(--slf-muted);
    font-size: 0.92rem;
}

.inner-nav {
    margin-top: clamp(36px, 6vh, 58px);
    padding-top: 22px;
    border-top: 1px solid var(--slf-line);
    display: flex;
    flex-wrap: wrap;
    gap: 12px clamp(16px, 2.5vw, 26px);
    color: var(--slf-charcoal);
    font-size: 0.72rem;
    line-height: 1;
    font-weight: 760;
    letter-spacing: 0.18em;
    text-transform: lowercase;
}

.inner-nav a {
    text-decoration: none;
    transition: color 160ms ease;
}

.inner-nav a + a::before {
    content: "|";
    display: inline-block;
    margin-right: clamp(16px, 2.5vw, 26px);
    color: rgba(3, 3, 3, 0.25);
    font-weight: 500;
    letter-spacing: 0;
}

.inner-nav a:hover,
.inner-nav a:focus-visible {
    color: var(--slf-red);
}

@media (max-width: 860px) {
    .practice-list-structured,
    .review-grid,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-card > div {
        border-right: 0;
        border-bottom: 1px solid var(--slf-line);
    }

    .contact-card > div:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 680px) {
    .inner-page-main {
        padding-top: 108px;
    }

    .inner-title {
        font-size: clamp(2.1rem, 13vw, 3.45rem);
    }

}

/* Homepage split redesign - requested 2026-08-01 */
.slf-homepage {
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(245, 0, 0, 0.035) 0 1px, transparent 1px) left 7.2vw top / 1px 100% no-repeat,
        linear-gradient(180deg, #ffffff 0%, #fbfbfa 100%);
}

.slf-homepage .site-footer {
    display: none;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 20;
    pointer-events: none;
}

.header-inner {
    width: min(100%, var(--slf-max));
    max-width: var(--slf-max);
    margin: 0 auto;
    padding: clamp(22px, 4.2vh, 38px) clamp(22px, 5vw, 54px) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(18px, 3vw, 34px);
}

.site-branding,
.header-nav,
.header-contact-button {
    pointer-events: auto;
}

.site-branding {
    flex: 0 0 auto;
}

.custom-logo,
.default-logo {
    display: block;
    width: auto;
    max-width: min(232px, 42vw);
    max-height: 58px;
}

.header-nav {
    margin-left: auto;
    transform: translateX(clamp(34px, 4.2vw, 70px));
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(18px, 2.6vw, 34px);
    color: var(--slf-charcoal);
    font-size: 0.76rem;
    line-height: 1;
    font-weight: 720;
    letter-spacing: 0.18em;
    text-transform: lowercase;
}

.header-nav a {
    position: relative;
    text-decoration: none;
    white-space: nowrap;
    transition: color 160ms ease;
}

.header-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.5em;
    height: 1px;
    background: var(--slf-red);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.header-nav a:hover,
.header-nav a:focus-visible {
    color: var(--slf-red);
}

.header-nav a:hover::after,
.header-nav a:focus-visible::after {
    transform: scaleX(1);
}

.header-contact-button {
    margin-left: clamp(20px, 3vw, 42px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border: 1px solid var(--slf-red);
    border-radius: 999px;
    background: var(--slf-red);
    color: #fff;
    font-size: 0.75rem;
    line-height: 1;
    font-weight: 820;
    letter-spacing: 0.16em;
    text-transform: lowercase;
    text-decoration: none;
    box-shadow: 0 16px 36px rgba(245, 0, 0, 0.14);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.header-contact-button:hover,
.header-contact-button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 20px 44px rgba(245, 0, 0, 0.19);
}

.split-main {
    min-height: 100vh;
    min-height: 100svh;
}

.split-hero {
    min-height: 100vh;
    min-height: 100svh;
    width: min(100%, var(--slf-max));
    margin: 0 auto;
    padding: clamp(120px, 17vh, 156px) clamp(22px, 5vw, 54px) clamp(42px, 7vh, 72px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(26px, 4vw, 54px);
}

.split-left,
.split-right {
    min-width: 0;
}

.split-left {
    display: flex;
    justify-content: flex-start;
}

.split-headline {
    margin: 0;
    color: var(--slf-black);
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    font-size: clamp(3.4rem, 6.45vw, 7.2rem);
    line-height: 0.88;
    font-weight: 500;
    letter-spacing: -0.082em;
    text-rendering: geometricPrecision;
}

.headline-row {
    display: block;
    white-space: nowrap;
}

.headline-row-top {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.22em;
}

.headline-row-red {
    margin-top: 0.08em;
    color: var(--slf-red);
}

.black-period {
    color: var(--slf-black);
}

.hero-divider {
    justify-self: center;
    width: 1px;
    height: min(440px, 48vh);
    background: linear-gradient(180deg, transparent 0%, rgba(3,3,3,.18) 14%, rgba(245,0,0,.82) 50%, rgba(3,3,3,.18) 86%, transparent 100%);
    opacity: 0.86;
}

.split-right {
    max-width: 540px;
    padding-left: clamp(0px, 0.8vw, 10px);
}

.flat-intro {
    margin: 0;
    color: var(--slf-charcoal);
    font-size: clamp(1.02rem, 1.45vw, 1.32rem);
    line-height: 1.45;
    font-weight: 430;
    letter-spacing: -0.018em;
}

.flat-intro span {
    display: block;
    margin-bottom: 0.22em;
    color: var(--slf-black);
    font-size: clamp(1.22rem, 1.9vw, 1.66rem);
    line-height: 1.14;
    font-weight: 780;
    letter-spacing: -0.045em;
    text-transform: lowercase;
}

.pricing-buttons {
    margin-top: clamp(22px, 3.8vh, 34px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.price-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 58px;
    padding: 0 18px 0 20px;
    border: 1px solid rgba(3,3,3,.16);
    border-radius: 16px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 18px 60px rgba(3,3,3,.055);
    color: var(--slf-black);
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.price-button:hover,
.price-button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(245, 0, 0, .42);
    box-shadow: 0 20px 68px rgba(245,0,0,.095);
}

.price-button span {
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 780;
    letter-spacing: 0.18em;
    text-transform: lowercase;
    color: var(--slf-muted);
}

.price-button strong {
    color: var(--slf-red);
    font-size: clamp(1.05rem, 1.55vw, 1.3rem);
    line-height: 1;
    font-weight: 860;
    letter-spacing: -0.035em;
    white-space: nowrap;
}

.challenge-line {
    margin: clamp(24px, 4vh, 36px) 0 0;
    color: var(--slf-black);
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -0.045em;
}

.start-line {
    margin: 0.65em 0 0;
    color: var(--slf-muted);
    font-size: 0.94rem;
    line-height: 1.35;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.red-cta {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid var(--slf-red);
    border-radius: 999px;
    background: var(--slf-red);
    color: #fff;
    font-size: 0.82rem;
    line-height: 1;
    font-weight: 840;
    letter-spacing: 0.15em;
    text-transform: lowercase;
    text-decoration: none;
    box-shadow: 0 18px 44px rgba(245, 0, 0, 0.17);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.red-cta:hover,
.red-cta:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 22px 52px rgba(245, 0, 0, 0.22);
}

@media (max-width: 980px) {
    .split-hero {
        grid-template-columns: 1fr;
        row-gap: 28px;
        align-content: center;
        padding-top: clamp(112px, 15vh, 140px);
    }

    .hero-divider {
        width: min(520px, 78vw);
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(245,0,0,.75), transparent);
    }

    .split-right {
        max-width: 720px;
        padding-left: 0;
    }
}

@media (max-width: 760px) {
    .header-inner {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 16px;
    }

    .header-nav {
        order: 3;
        width: 100%;
        margin-left: 0;
        transform: none;
        justify-content: flex-start;
        gap: 18px;
        font-size: 0.68rem;
    }

    .header-contact-button {
        margin-left: auto;
        min-height: 38px;
        padding: 0 16px;
    }

    .custom-logo,
    .default-logo {
        max-width: min(210px, 55vw);
        max-height: 48px;
    }

    .split-hero {
        padding-top: 148px;
        padding-bottom: 30px;
    }

    .split-headline {
        font-size: clamp(3rem, 14vw, 4.7rem);
    }

    .headline-row-top {
        display: block;
    }

    .headline-row-top span {
        display: block;
    }

    .flat-intro span {
        text-transform: none;
    }
}


/* Homepage split redo - minimal requested edits */
.home-redo-main {
    min-height: 100vh;
    min-height: 100svh;
}

.home-redo-hero {
    min-height: 100vh;
    min-height: 100svh;
    width: min(100%, var(--slf-max));
    margin: 0 auto;
    padding: clamp(124px, 15vh, 166px) clamp(22px, 5vw, 54px) clamp(42px, 7vh, 72px);
    display: flex;
    align-items: flex-start;
}

.home-redo-content {
    width: min(100%, 1040px);
}

.home-redo-headline {
    max-width: 1120px;
    margin: 0;
    color: var(--slf-black);
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    font-size: clamp(3.0rem, 6.2vw, 5.8rem);
    line-height: 0.88;
    font-weight: 450;
    letter-spacing: -0.075em;
    text-rendering: geometricPrecision;
}

.home-redo-headline span {
    display: block;
    white-space: nowrap;
}

.home-redo-headline em {
    color: var(--slf-red);
    font-style: normal;
}

.home-redo-copy {
    max-width: 760px;
    margin: clamp(28px, 4.2vh, 42px) 0 0;
    color: var(--slf-charcoal);
    font-size: clamp(0.96rem, 1.18vw, 1.1rem);
    line-height: 1.52;
    font-weight: 400;
    letter-spacing: -0.012em;
}

.home-redo-copy strong {
    color: var(--slf-black);
    font-weight: 760;
}

@media (max-width: 760px) {
    .home-redo-hero {
        padding-top: 128px;
        padding-bottom: 30px;
    }

    .home-redo-headline {
        max-width: 100%;
        font-size: clamp(2.35rem, 11vw, 4.2rem);
        line-height: 0.9;
    }

    .home-redo-headline span {
        white-space: normal;
    }

    .home-redo-copy {
        font-size: clamp(0.92rem, 3.8vw, 1.02rem);
    }
}


/* About hover menu and continuous About sections */
.header-nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.header-subnav {
    position: absolute;
    top: calc(100% + 0.78rem);
    left: 50%;
    min-width: max-content;
    display: grid;
    gap: 0.58rem;
    padding: 0.7rem 0.82rem;
    border: 1px solid rgba(245, 0, 0, 0.16);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 42px rgba(3, 3, 3, 0.055);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -0.2rem);
    transition: opacity 160ms ease, transform 160ms ease;
}

.header-nav-item:hover .header-subnav,
.header-nav-item:focus-within .header-subnav {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.header-subnav a {
    color: var(--slf-red);
    font-size: 0.68rem;
    font-weight: 720;
    letter-spacing: 0.16em;
    text-decoration: none;
}

.header-subnav a::after {
    display: none;
}

.about-section {
    scroll-margin-top: 8rem;
}

.about-section + .about-section {
    margin-top: clamp(64px, 12vh, 116px);
}

.about-section-title {
    margin: 0;
    color: var(--slf-black);
    font-size: clamp(2rem, 5vw, 4.35rem);
    line-height: 0.98;
    font-weight: 760;
    letter-spacing: -0.07em;
}

/* About page header readability and lawyer photo integration */
body:not(.slf-homepage) .site-header {
    isolation: isolate;
}

body:not(.slf-homepage) .site-header::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: clamp(88px, 12vh, 122px);
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 58%, rgba(255,255,255,0) 100%);
    border-bottom: 1px solid rgba(3, 3, 3, 0.045);
    z-index: -1;
    pointer-events: none;
}

.about-kicker {
    text-transform: lowercase;
}

.lawyer-photo-wrap {
    position: relative;
    margin: clamp(24px, 4vh, 42px) 0 0;
    overflow: hidden;
    background: #fff;
}

.lawyer-photo-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.62) 0%, rgba(255,255,255,0) 14%, rgba(255,255,255,0) 82%, rgba(255,255,255,0.72) 100%),
        linear-gradient(180deg, rgba(255,255,255,0) 62%, rgba(255,255,255,0.72) 100%);
}

.lawyer-photo-wrap img {
    display: block;
    width: 100%;
    height: clamp(230px, 34vw, 430px);
    object-fit: cover;
    object-position: center center;
    filter: saturate(0.92) contrast(1.03);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 92%, transparent 100%);
}

@media (max-width: 680px) {
    .lawyer-photo-wrap img {
        height: clamp(210px, 54vw, 300px);
    }
}


/* What We Do page content */
.what-we-do-list {
    margin-top: clamp(28px, 5vh, 46px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(28px, 5vw, 74px);
    row-gap: clamp(22px, 3.2vh, 32px);
}

.what-we-do-item strong {
    display: block;
    color: var(--slf-black);
    font-size: clamp(1rem, 1.55vw, 1.22rem);
    line-height: 1.25;
    font-weight: 760;
    letter-spacing: -0.025em;
}

.what-we-do-item ul {
    margin: 12px 0 0;
    padding-left: 1.05em;
    color: var(--slf-muted);
}

.what-we-do-item li {
    margin: 0.45em 0;
    font-size: clamp(0.94rem, 1.16vw, 1.05rem);
    line-height: 1.38;
    font-weight: 520;
    letter-spacing: -0.012em;
}

@media (max-width: 860px) {
    .what-we-do-list {
        grid-template-columns: 1fr;
    }
}


/* What We Do page layout refinement */
.what-we-do-list {
    margin-top: clamp(28px, 5vh, 46px);
    display: block;
    column-count: 2;
    column-gap: clamp(44px, 6vw, 92px);
}

.what-we-do-item {
    break-inside: avoid;
    page-break-inside: avoid;
    display: inline-block;
    width: 100%;
    margin: 0 0 clamp(24px, 3.2vh, 34px);
    padding-left: 18px;
    border-left: 2px solid rgba(245, 0, 0, 0.46);
}

.what-we-do-item strong {
    display: block;
    color: var(--slf-black);
    font-size: clamp(1rem, 1.55vw, 1.22rem);
    line-height: 1.25;
    font-weight: 760;
    letter-spacing: -0.025em;
}

.what-we-do-item ul {
    margin: 12px 0 0;
    padding-left: 1.05em;
    color: var(--slf-muted);
}

.what-we-do-item li {
    margin: 0.45em 0;
    font-size: clamp(0.94rem, 1.16vw, 1.05rem);
    line-height: 1.38;
    font-weight: 520;
    letter-spacing: -0.012em;
}

@media (max-width: 860px) {
    .what-we-do-list {
        column-count: 1;
    }
}


/* Dropdown hover bridge fix */
.header-nav-item {
    position: relative;
}

.header-nav-item .header-subnav {
    top: 100%;
}

.header-nav-item .header-subnav::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -16px;
    height: 16px;
}

.header-nav-item:hover .header-subnav,
.header-nav-item:focus-within .header-subnav,
.header-subnav:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}


/* Dropdown alignment fix */
.header-nav-item .header-subnav {
    left: 0;
    right: auto;
    transform-origin: top left;
}

.header-nav-item:hover .header-subnav,
.header-nav-item:focus-within .header-subnav,
.header-subnav:hover {
    transform: translateY(0);
}


/* What We Do section subheads */
.what-we-do-subhead {
    margin: 10px 0 0;
    color: var(--slf-red);
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    line-height: 1.35;
    font-style: italic;
    font-weight: 560;
    letter-spacing: -0.018em;
}


/* About credentials and experience */
.about-page-full {
    width: min(100%, 1120px);
}
.bio-cred-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .72fr);
    gap: clamp(34px, 5vw, 70px);
    align-items: start;
}
.bio-copy {
    margin-top: 28px;
}
.lawyer-photo-strip {
    margin: 32px 0 0;
    max-width: 760px;
    height: 300px;
    overflow: hidden;
}
.lawyer-photo-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 32%;
    display: block;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent);
}
.about-card,
.credentials-card {
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(3, 3, 3, .11);
    box-shadow: 0 22px 70px rgba(3, 3, 3, .055);
}
.credentials-card {
    padding: clamp(22px, 3vw, 34px);
}
.credentials-card h3,
.experience-section h3 {
    margin: 0 0 18px;
    font-size: clamp(1.3rem, 2vw, 1.85rem);
    line-height: 1;
    letter-spacing: -.045em;
    font-weight: 760;
}
.cred-group + .cred-group {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(3, 3, 3, .12);
}
.cred-group h4 {
    margin: 0 0 10px;
    color: var(--slf-red);
    font-size: .74rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.cred-group ul {
    margin: 0;
    padding-left: 1.05em;
    color: var(--slf-charcoal);
    font-size: .92rem;
    line-height: 1.42;
}
.cred-group li + li {
    margin-top: .45em;
}
.experience-section {
    margin-top: clamp(54px, 9vh, 86px);
}
.exp-list {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 18px;
}
.exp-list li {
    padding: 0 0 0 20px;
    border-left: 2px solid rgba(245, 0, 0, .42);
    color: var(--slf-charcoal);
    font-size: .95rem;
    line-height: 1.52;
}
@media (max-width: 900px) {
    .bio-cred-grid {
        grid-template-columns: 1fr;
    }
}


/* Mobile-only lawyer photo source */
.lawyer-photo-picture {
    display: block;
    width: 100%;
    height: 100%;
}
