/* ============================================================
   Burden & Associates, LLC — Site Stylesheet
   Aesthetic: Legal authority / editorial refinement
   Palette: Deep navy, warm white, copper accent
   Typography: Cormorant Garamond (display) + Source Sans 3 (body)
   ============================================================ */

/* --- CUSTOM PROPERTIES --- */
:root {
    --navy-deep:    #0d1b2a;
    --navy:         #1b2a41;
    --navy-mid:     #243447;
    --navy-bar:     #3d5a7f;
    --slate:        #3a4f66;
    --steel:        #5c7184;
    --copper:       #c17a3a;
    --copper-light: #d4955c;
    --copper-dark:  #a5652e;
    --cream:        #f5f1eb;
    --white:        #ffffff;
    --offwhite:     #faf9f7;
    --text:         #2c3e50;
    --text-light:   #5a6a7a;
    --text-on-dark: #d6dde4;
    --border:       #ddd5ca;
    --shadow-sm:    0 1px 3px rgba(13,27,42,0.08);
    --shadow-md:    0 4px 16px rgba(13,27,42,0.10);
    --shadow-lg:    0 8px 30px rgba(13,27,42,0.12);
    --radius:       6px;
    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body:    'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
    --max-w:        1140px;
    --header-h:     80px;
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--offwhite);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper); text-decoration: none; transition: color 0.25s, border-color 0.25s; }
a:hover { color: var(--copper-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--navy-deep); }
ul { list-style: none; }

/* --- UTILITY --- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--copper); color: #fff; padding: 0.5rem 1.5rem; font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* --- SCROLL-FADE ANIMATIONS --- */
.fade-target { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease-out, transform 0.65s ease-out; }
.fade-target.visible { opacity: 1; transform: translateY(0); }
.fade-target:nth-child(2) { transition-delay: 0.08s; }
.fade-target:nth-child(3) { transition-delay: 0.16s; }
.fade-target:nth-child(4) { transition-delay: 0.24s; }

/* ============================================================
   HEADER
   ============================================================ */
header {
    background: var(--navy-bar);
    position: sticky; top: 0; z-index: 200;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: var(--header-h);
}
.logo-wrapper { display: flex; align-items: center; }
.logo-link { display: flex; align-items: center; text-decoration: none; gap: 0.75rem; }
.logo-link:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; }
.logo-link img { height: 58px; width: auto; }
.company-name {
    font-family: var(--font-display); font-size: 1.45rem; font-weight: 700;
    color: var(--white); letter-spacing: 0.3px;
}
.llc { font-weight: 400; opacity: 0.65; font-size: 0.9em; }

/* Nav */
#main-nav { display: flex; align-items: center; gap: 0.25rem; }
#main-nav a {
    color: rgba(255,255,255,0.78); font-size: 0.88rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.06em;
    padding: 0.4rem 0.85rem; border-radius: 4px;
    transition: color 0.2s, background 0.2s;
    text-decoration: none;
}
#main-nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
#main-nav a.current { color: var(--copper-light); }

/* Hamburger */
.hamburger {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px;
    background: transparent; border: 1px solid rgba(255,255,255,0.25);
    border-radius: 4px; cursor: pointer; color: #fff;
}
.hamburger span { display: block; width: 100%; height: 2px; background: currentColor; border-radius: 1px; transition: transform 0.3s, opacity 0.3s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative; overflow: hidden;
    background: var(--navy-deep);
    padding: 7rem 0 8.5rem;
    color: var(--white);
}
.hero-overlay {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(13,27,42,0.96) 0%, rgba(13,27,42,0.88) 38%, rgba(13,27,42,0.52) 55%, rgba(13,27,42,0.14) 72%, rgba(13,27,42,0.02) 100%),
        url('./img/BKGD.jpg');
    background-position: center center, right -30px top -145px;
    background-size: auto, auto 148%;
    background-repeat: no-repeat;
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-eyebrow {
    font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.12em; color: var(--copper-light);
    margin-bottom: 1.25rem;
}
.hero h1 {
    font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 700; color: var(--white); line-height: 1.12;
    margin-bottom: 1.5rem;
}
.hero-sub {
    font-size: 1.15rem; line-height: 1.65; color: rgba(255,255,255,0.85);
    margin-bottom: 2.25rem; max-width: 600px;
}

/* Page hero (about, contact) */
.page-hero { position: relative; padding: 5rem 0 4rem; color: #fff; background: var(--navy-deep); }
.page-hero--short { padding: 4rem 0 3rem; }
.page-hero .hero-overlay {
    background: linear-gradient(to right, rgba(13,27,42,0.88) 0%, rgba(13,27,42,0.62) 48%, rgba(13,27,42,0.18) 76%, rgba(13,27,42,0.05) 100%),
                url('./img/BKGD.jpg') right top / auto 135% no-repeat;
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 0.5rem; }
.page-hero .hero-sub { color: rgba(255,255,255,0.8); margin-bottom: 0; }

/* CTA Buttons */
.cta-group { display: flex; flex-wrap: wrap; gap: 1rem; }
.cta-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.85rem 2rem; font-size: 0.95rem; font-weight: 700;
    border-radius: var(--radius); border: 2px solid transparent;
    text-decoration: none; cursor: pointer;
    transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.15s;
}
.cta-btn:active { transform: scale(0.98); }
.cta-primary { background: var(--copper); color: #fff; border-color: var(--copper); }
.cta-primary:hover { background: var(--copper-dark); border-color: var(--copper-dark); color: #fff; }
.cta-secondary { background: transparent; color: var(--navy-deep); border-color: var(--navy-deep); }
.cta-secondary:hover { background: var(--navy-deep); color: #fff; }
.cta-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.cta-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.07); }

/* ============================================================
   CREDENTIALS BAR
   ============================================================ */
.credentials-bar {
    background: var(--navy-bar); border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 1.25rem 0 1rem;
}
.credentials-inner {
    display: flex; align-items: center; justify-content: center;
    gap: 0.8rem 2.6rem; flex-wrap: wrap;
}
.credential-item img { height: 82px; width: auto; max-width: min(42vw, 300px); opacity: 0.98; }
.credential-copy {
    flex: 0 0 100%; display: flex; align-items: center; justify-content: center;
    gap: 0.6rem 1.75rem; flex-wrap: wrap; padding-top: 0.75rem; margin-top: 0.1rem;
    border-top: 1px solid rgba(255,255,255,0.11);
}
.credential-text { color: rgba(255,255,255,0.74); font-size: 0.88rem; letter-spacing: 0.02em; }
.credential-text strong { color: rgba(255,255,255,0.95); }

/* ============================================================
   SECTION STYLES (shared)
   ============================================================ */
.section-eyebrow {
    font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.14em; color: var(--copper); margin-bottom: 0.6rem;
}
.section-intro {
    font-size: 1.05rem; color: var(--text-light); max-width: 680px;
    margin-bottom: 3rem; line-height: 1.75;
}
section > .container > h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.75rem;
}

/* ============================================================
   BIO / ABOUT PREVIEW
   ============================================================ */
.bio-section {
    padding: 5.5rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}
.bio-grid {
    display: grid; grid-template-columns: 320px 1fr; gap: 4rem;
    align-items: start;
}
.bio-headshot {
    width: 100%; border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1/1; object-fit: cover; object-position: top;
}
.bio-text-col h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 1.25rem; }
.bio-text-col p { margin-bottom: 1rem; color: var(--text); }
.bio-highlights {
    margin: 1.5rem 0 2rem; display: grid; gap: 0.65rem;
}
.bio-highlights li {
    display: flex; align-items: flex-start; gap: 0.6rem;
    font-weight: 500; font-size: 0.95rem; color: var(--navy);
}
.bio-highlights svg { color: var(--copper); flex-shrink: 0; margin-top: 2px; }
.text-link {
    display: inline-flex; align-items: center; gap: 0.3rem;
    font-weight: 700; font-size: 0.92rem; color: var(--copper);
    border-bottom: 1px solid transparent;
}
.text-link:hover { border-bottom-color: var(--copper); }

/* ============================================================
   SERVICES
   ============================================================ */
.services-section {
    padding: 5.5rem 0 4rem;
    background: var(--offwhite);
}
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem; margin-bottom: 3.5rem;
}
.service-card {
    background: var(--white); padding: 2.25rem 2rem; border-radius: var(--radius);
    box-shadow: var(--shadow-sm); border: 1px solid var(--border);
    transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-icon-wrap {
    width: 100%; max-width: 200px; margin-bottom: 1.25rem;
}
.service-icon { width: 100%; height: auto; }
.service-card h3 {
    font-family: var(--font-display); font-size: 1.35rem; color: var(--navy-deep);
    margin-bottom: 0.6rem;
}
.service-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* Extra services */
.services-extra {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 2.5rem; box-shadow: var(--shadow-sm);
}
.services-extra h3 {
    font-family: var(--font-display); font-size: 1.4rem; color: var(--navy-deep);
    margin-bottom: 1.5rem; padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--copper);
}
.extra-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.extra-item strong { display: block; font-size: 1rem; color: var(--navy); margin-bottom: 0.35rem; }
.extra-item p { font-size: 0.92rem; color: var(--text-light); line-height: 1.65; }

/* ============================================================
   CASE TYPES
   ============================================================ */
.case-types-section {
    padding: 5.5rem 0;
    background: var(--white);
    border-top: 1px solid var(--border);
}
.cases-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}
.case-item {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.1rem 1.25rem; border-radius: var(--radius);
    background: var(--offwhite); border: 1px solid var(--border);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.case-item:hover { border-color: var(--copper); box-shadow: var(--shadow-sm); }
.case-icon-circle {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--navy-deep); color: var(--copper-light);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.case-item h3 { font-family: var(--font-body); font-size: 0.92rem; font-weight: 600; color: var(--navy); }

/* ============================================================
   PROCESS / HOW IT WORKS
   ============================================================ */
.process-section {
    padding: 5.5rem 0;
    background: var(--navy-deep);
    color: var(--white);
}
.process-section .section-eyebrow { color: var(--copper-light); }
.process-section h2 { color: var(--white); margin-bottom: 2.5rem; }
.process-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
}
.process-step {
    padding: 2rem 1.75rem; border-radius: var(--radius);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: border-color 0.25s;
}
.process-step:hover { border-color: var(--copper); }
.step-number {
    display: block; font-family: var(--font-display); font-size: 2.2rem;
    font-weight: 700; color: var(--copper); margin-bottom: 0.75rem; line-height: 1;
}
.process-step h3 {
    font-family: var(--font-display); font-size: 1.2rem; color: #fff;
    margin-bottom: 0.6rem;
}
.process-step p { font-size: 0.92rem; color: var(--text-on-dark); line-height: 1.65; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    padding: 4.5rem 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: var(--white); text-align: center;
}
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: #fff; margin-bottom: 0.75rem; text-align: left; }
.cta-inner > p { color: rgba(255,255,255,0.78); margin-bottom: 2rem; font-size: 1.05rem; text-align: left; }
.cta-inner .cta-group { justify-content: center; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-detail { padding: 5rem 0; background: var(--white); }
.bio-grid--about { grid-template-columns: 300px 1fr; gap: 3.5rem; }
.about-certs-block {
    display: flex; gap: 1.5rem; align-items: center; justify-content: center;
    margin-top: 1.5rem; padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.about-certs-block img { height: 45px; width: auto; }
.bio-text-col h3 {
    font-family: var(--font-display); font-size: 1.15rem; color: var(--navy-deep);
    margin: 2rem 0 0.75rem; padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}
.bio-text-col h3:first-of-type { border-top: none; padding-top: 0; margin-top: 0.5rem; }
.about-list {
    margin: 0 0 0.5rem 0; padding: 0;
}
.about-list li {
    padding: 0.35rem 0 0.35rem 1.5rem; font-size: 0.95rem; color: var(--text);
    position: relative; line-height: 1.6;
}
.about-list li::before {
    content: ''; position: absolute; left: 0; top: 0.7rem;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--copper); opacity: 0.7;
}
.about-cv-block {
    margin-top: 2rem; padding: 2rem; border-radius: var(--radius);
    background: var(--offwhite); border: 1px solid var(--border);
}
.about-cv-block h3 { border-top: none; padding-top: 0; margin-top: 0; }
.about-cv-block p { margin-bottom: 1.25rem; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { padding: 4.5rem 0; background: var(--offwhite); }
.contact-layout {
    display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem;
    align-items: start;
}
.contact-info-col h2 { font-size: 1.7rem; margin-bottom: 0.75rem; }
.contact-info-col > p { color: var(--text-light); margin-bottom: 2rem; }
.contact-detail {
    display: flex; align-items: flex-start; gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-detail svg { color: var(--copper); flex-shrink: 0; margin-top: 3px; }
.contact-detail strong { font-size: 0.85rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-detail a { color: var(--navy-deep); font-weight: 600; font-size: 1rem; }
.contact-detail a:hover { color: var(--copper); }
.offices-heading {
    font-family: var(--font-display); font-size: 1.2rem;
    margin: 2.5rem 0 1rem; padding-top: 1.5rem;
    border-top: 1px solid var(--border); color: var(--navy-deep);
}
.offices-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.office-item h4 { font-family: var(--font-body); font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 0.2rem; }
.hq-badge {
    display: inline-block; font-size: 0.65rem; font-weight: 700;
    background: var(--copper); color: #fff;
    padding: 0.1rem 0.45rem; border-radius: 3px;
    text-transform: uppercase; letter-spacing: 0.04em; vertical-align: middle;
    margin-left: 0.35rem;
}
.office-item p { font-size: 0.88rem; color: var(--text-light); line-height: 1.5; }

/* Contact Form */
.form-card {
    background: var(--white); padding: 2.5rem; border-radius: var(--radius);
    border: 1px solid var(--border); box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.form-note { font-size: 0.88rem; color: var(--text-light); margin-bottom: 2rem; }
.contact-form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-row { display: flex; flex-direction: column; }
.form-row--full { grid-column: 1 / -1; }
.form-row label {
    font-size: 0.82rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.04em; color: var(--slate); margin-bottom: 0.35rem;
}
.req { color: var(--copper); }
.form-row input, .form-row select, .form-row textarea {
    font-family: var(--font-body); font-size: 0.95rem; color: var(--text);
    padding: 0.7rem 0.9rem; border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--offwhite); transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(193,122,58,0.15);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-submit-btn { width: 100%; justify-content: center; font-size: 1rem; padding: 1rem; }

/* Single-office variant + travel & engagement note */
.offices-list--single { grid-template-columns: 1fr !important; max-width: 360px; }
.travel-note {
    margin-top: 2rem; padding: 1.25rem 1.5rem;
    background: var(--cream); border-left: 3px solid var(--copper);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.travel-note h4 {
    font-family: var(--font-body); font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--copper-dark); margin-bottom: 0.5rem;
}
.travel-note p {
    font-size: 0.92rem; line-height: 1.6; color: var(--text); margin: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: var(--navy-bar); color: var(--text-on-dark);
    padding: 4rem 0 2rem; font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
    display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 2.5rem; padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { height: 58px; width: auto; margin-bottom: 0.75rem; opacity: 1; }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.72); line-height: 1.5; }
footer h3 {
    font-family: var(--font-body); font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: rgba(255,255,255,0.62); margin-bottom: 0.75rem;
}
footer p { margin-bottom: 0.3rem; }
footer a { color: var(--text-on-dark); }
footer a:hover { color: var(--copper-light); }
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 2rem; flex-wrap: wrap; gap: 1rem;
}
.footer-certs { display: flex; gap: 1.5rem; align-items: center; }
.footer-certs img { height: 36px; width: auto; opacity: 0.9; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.54); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .header-inner { flex-wrap: wrap; height: auto; padding: 0.75rem 0; }
    .hamburger { display: flex; }
    #main-nav {
        width: 100%; flex-direction: column; align-items: stretch;
        max-height: 0; overflow: hidden; transition: max-height 0.35s ease-out;
        order: 10;
    }
    header.nav-open #main-nav { max-height: 320px; transition: max-height 0.35s ease-in; }
    #main-nav a {
        display: block; padding: 0.75rem 0; margin: 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        border-radius: 0; text-align: left;
    }
    #main-nav a:last-child { border-bottom: none; }

    .bio-grid, .bio-grid--about { grid-template-columns: 1fr; gap: 2rem; }
    .bio-image-col { max-width: 360px; }
    .hero { padding: 5rem 0 6rem; }
    .services-grid { grid-template-columns: 1fr; }
    .extra-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .cases-grid { grid-template-columns: 1fr 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .offices-list { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .credentials-inner { gap: 1.5rem; }
}

@media (max-width: 600px) {
    :root { --header-h: auto; }
    .container { padding: 0 1.25rem; }

    /* Extra breathing room below the nav bar on mobile */
    .header-inner { padding: 0.75rem 0 1.25rem; }

    /* Mobile hero: switch from a left-to-right gradient (desktop) to a
       top-to-bottom one so Lady Justice reveals cleanly behind the text */
    .hero { padding: 3.5rem 0 22rem; }
    .hero-overlay {
        background-image:
            linear-gradient(to bottom, rgba(13,27,42,0.96) 0%, rgba(13,27,42,0.88) 35%, rgba(13,27,42,0.45) 60%, rgba(13,27,42,0.10) 100%),
            url('./img/BKGD.jpg');
        background-position: center top, center bottom;
        background-size: auto, cover;
    }
    .page-hero .hero-overlay {
        background-image:
            linear-gradient(to bottom, rgba(13,27,42,0.92) 0%, rgba(13,27,42,0.78) 60%, rgba(13,27,42,0.45) 100%),
            url('./img/BKGD.jpg');
        background-position: center top, center bottom;
        background-size: auto, cover;
    }

    .hero h1 { font-size: 1.75rem; }
    .hero-sub { font-size: 1rem; }
    .hero-eyebrow { font-size: 0.72rem; }
    .cta-btn { padding: 0.75rem 1.5rem; font-size: 0.9rem; }
    .logo-link img { height: 44px; }
    .company-name { font-size: 1.15rem; }
    .process-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .offices-list { grid-template-columns: 1fr; }
    .contact-form-fields { grid-template-columns: 1fr; }
    .form-card { padding: 1.75rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .credentials-inner { flex-direction: column; gap: 0.75rem; text-align: center; }
    .bio-section, .services-section, .case-types-section, .about-detail, .contact-section { padding: 3.5rem 0; }
    .process-section { padding: 3.5rem 0; }
}

@media (max-width: 380px) {
    .hero h1 { font-size: 1.45rem; }
    .company-name { font-size: 1.05rem; }
    .logo-link img { height: 38px; }
}

/* Scroll targets */
#services, #case-types, #contact { scroll-margin-top: calc(var(--header-h) + 1rem); }
