/* Brand fonts: self-hosted latin subsets (Cormorant Garamond, Outfit) */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('/assets/fonts/cormorant-garamond-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('/assets/fonts/outfit-latin.woff2') format('woff2');
}

:root {
            --navy: #0B1B32;
            --gold: #C5A059;
            --paper: #F9F7F2;
            --slate: #4A5568;
            --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

        body {
            background-color: var(--paper);
            color: var(--navy);
            font-family: 'Outfit', sans-serif;
            line-height: 1.5;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        /* Texture Overlay */
        body::before {
            content: "";
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
            opacity: 0.03;
            pointer-events: none;
            z-index: 9999;
        }

        /* Typography */
        h1, h2, h3 { 
            font-family: 'Cormorant Garamond', serif; 
            font-weight: 600;
            letter-spacing: -0.01em;
        }

        /* Navigation */
        nav.site-nav {
            padding: 1.25rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            z-index: 100;
            background: white;
            border-bottom: 1px solid #eee;
            position: sticky;
            top: 0;
        }

        .logo {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.2rem;
            font-weight: 600;
            text-decoration: none;
            color: var(--navy);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo-mark {
            width: 32px;
            height: 32px;
            border: 1px solid var(--gold);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            letter-spacing: 0.1em;
            background: white;
        }

        .nav-links { display: flex; gap: 2rem; }
        .nav-links a {
            text-decoration: none;
            color: var(--navy);
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            font-weight: 600;
            transition: var(--transition);
        }

        /* Mobile Sticky CTA */
        .mobile-cta {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background: var(--navy);
            display: none;
            grid-template-columns: 1fr 1fr;
            z-index: 1000;
            box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
        }

        .mobile-cta a {
            padding: 1rem;
            text-align: center;
            color: white;
            text-decoration: none;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            border-right: 1px solid rgba(255,255,255,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .mobile-cta a.whatsapp { background: #25D366; color: white; border: none; }

        /* Hero Section */
        .hero {
            min-height: 85vh;
            display: flex;
            align-items: center;
            padding: 4rem 5%;
            position: relative;
            overflow: hidden;
            background: var(--navy);
            color: white;
        }

        /* Architectural High Court Background Overlay */
        .hero::before {
            content: "";
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background-image: linear-gradient(to right, rgba(11, 27, 50, 0.95) 30%, rgba(11, 27, 50, 0.4) 100%), 
                              url('/assets/hero.webp');
            background-size: cover;
            background-position: center;
            z-index: 1;
        }

        .hero-content {
            max-width: 900px;
            z-index: 2;
            position: relative;
        }

        .hero-tag {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.3em;
            color: var(--gold);
            margin-bottom: 1.5rem;
            display: block;
        }

        .hero h1 {
            font-size: clamp(3.5rem, 10vw, 7.5rem);
            line-height: 0.9;
            margin-bottom: 2rem;
            color: white;
        }

        .hero p {
            font-size: 1.25rem;
            max-width: 580px;
            color: rgba(255, 255, 255, 0.85);
            margin-bottom: 3rem;
        }

        .cta-group {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

        .btn {
            padding: 1.1rem 2.5rem;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.85rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            transition: var(--transition);
            border: 1px solid transparent;
            display: inline-block;
            text-align: center;
        }

        .btn-primary { background: white; color: var(--navy); }
        .btn-primary:hover { background: var(--gold); color: white; border-color: var(--gold); }
        .btn-outline { border: 1px solid rgba(255, 255, 255, 0.5); color: white; }
        .btn-outline:hover { background: white; color: var(--navy); border-color: white; }

        .legacy-stat {
            display: flex;
            gap: 4rem;
            margin-top: 4rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .stat-item h4 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 2.5rem;
            color: white;
            line-height: 1;
            margin-bottom: 0.5rem;
        }

        .stat-item p {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            color: var(--gold);
        }

        /* Practice Grid */
        .practice-areas {
            padding: 5rem 5%;
            background: #fff;
        }

        .section-header {
            margin-bottom: 3rem;
        }

        .section-header h2 { font-size: 3rem; margin-bottom: 1rem; }
        .section-header p { color: var(--slate); max-width: 400px; font-size: 0.95rem; }

        .grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1px;
            background: #eee;
            border: 1px solid #eee;
        }

        .grid-item {
            background: white;
            padding: 4rem 2.5rem;
            transition: var(--transition);
        }

        .grid-item span {
            color: var(--gold);
            font-size: 0.75rem;
            letter-spacing: 0.2em;
            display: block;
            margin-bottom: 1.5rem;
        }

        .grid-item h3 { font-size: 1.8rem; margin-bottom: 1rem; }
        .grid-item p { color: var(--slate); font-size: 1rem; line-height: 1.6; }

        /* Legacy Banner */
        .legacy {
            padding: 5rem 5%;
            text-align: center;
            background: var(--navy);
            color: white;
        }

        .legacy h2 { font-size: 3rem; margin-bottom: 1rem; }
        .legacy p { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-style: italic; opacity: 0.8; }

        /* Footer */
        footer {
            padding: 5rem 5% 6rem;
            background: var(--paper);
            border-top: 1px solid #e2e8f0;
        }

        .footer-content {
            display: grid;
            grid-template-columns: 2fr 1.5fr 1fr;
            gap: 4rem;
            margin-bottom: 4rem;
        }

        .footer-bottom {
            border-top: 1px solid #e2e8f0;
            padding-top: 2rem;
            font-size: 0.85rem;
            color: var(--slate);
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        /* Responsive Adjustments */
        @media (max-width: 1200px) {
            .grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 1024px) {
            .hero h1 { font-size: 5rem; }
            .legacy-stat { gap: 2rem; }
            .footer-content { grid-template-columns: 1fr 1fr; }
        }

        @media (max-width: 768px) {
            .nav-links { display: none; }
            .mobile-cta { display: grid; }
            .hero { min-height: 75vh; padding: 3rem 5% 5rem; }
            .hero::before { background-image: linear-gradient(to top, rgba(11, 27, 50, 0.98) 20%, rgba(11, 27, 50, 0.6) 100%), url('/assets/hero.webp'); }
            .hero h1 { font-size: 3.5rem; }
            .legacy-stat { flex-direction: column; gap: 2rem; margin-top: 3rem; }
            .grid { grid-template-columns: 1fr; }
            .footer-content { grid-template-columns: 1fr; gap: 3rem; }
            .section-header h2 { font-size: 2.5rem; }
        }

/* ------------------------------------------------------------------
   Additions: shared page shell, practice pages, chambers, hub
   ------------------------------------------------------------------ */

:root {
    --gold-dark: #8A6A2F;
}

/* Buttons on light backgrounds */
.btn-navy {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.btn-navy:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}
.btn-outline-dark {
    border: 1px solid var(--navy);
    color: var(--navy);
}
.btn-outline-dark:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

/* Navigation WhatsApp button */
.nav-links a.nav-wa {
    background: var(--navy);
    color: #fff;
    padding: 0.6rem 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.08em;
}
.nav-links a.nav-wa:hover {
    background: var(--gold);
    color: var(--navy);
}
.nav-links a.nav-wa .wa-icon {
    width: 14px;
    height: 14px;
    margin: 0;
}

/* WhatsApp icon */
.wa-icon {
    width: 18px;
    height: 18px;
    vertical-align: -3px;
    margin-right: 8px;
    flex: 0 0 auto;
}

/* Hero CTA note */
.cta-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}
.cta-note a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Stat numbers (was h4, fixed for heading order) */
.stat-item .stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Home practice cards as links */
.grid-item {
    display: block;
    text-decoration: none;
    color: inherit;
}
.grid-item:hover {
    background: var(--paper);
}
.grid-item span {
    color: var(--gold-dark);
}
.grid-item .more {
    display: block;
    margin-top: 1.25rem;
    color: var(--gold-dark);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
}
.grid-item .more::after {
    content: " \2192";
}
.view-all {
    margin-top: 2rem;
}
.view-all a {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    color: var(--gold-dark);
    text-decoration: none;
}
.view-all a:hover {
    color: var(--navy);
}

/* Page hero */
.page-hero {
    background: var(--navy);
    color: #fff;
    padding: 4.5rem 5% 4rem;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(11, 27, 50, 0.98) 30%, rgba(11, 27, 50, 0.72) 100%),
                      url('/assets/hero.webp');
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
}
.page-hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    line-height: 0.95;
    margin-bottom: 1.25rem;
    color: #fff;
}
.page-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold);
}
.breadcrumbs a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}
.breadcrumbs a:hover {
    color: #fff;
}
.breadcrumbs .current {
    color: rgba(255, 255, 255, 0.92);
}
.breadcrumbs .sep {
    color: var(--gold);
    opacity: 0.7;
}

/* Article layout */
.article-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 4rem 5%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 4rem;
    align-items: start;
}
.article-wrap.no-sidebar {
    grid-template-columns: 1fr;
}
.article-wrap.no-sidebar .article {
    max-width: 860px;
    margin: 0 auto;
}
.article h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1rem;
}
.article h2:first-child {
    margin-top: 0;
}
.article h3 {
    font-size: 1.3rem;
    margin: 1.75rem 0 0.75rem;
}
.article p,
.article li {
    color: var(--slate);
    font-size: 1rem;
    line-height: 1.75;
}
.article p {
    margin-bottom: 1rem;
}
.article ul,
.article ol {
    margin: 0 0 1.25rem 1.25rem;
}
.article li {
    margin-bottom: 0.5rem;
}
.article a {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.article strong {
    color: var(--navy);
}
.article .lede {
    font-size: 1.15rem;
    color: var(--navy);
}
.article .note {
    background: #fff;
    border-left: 3px solid var(--gold);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    color: var(--slate);
}

/* Sidebar contact card */
.sidebar {
    position: sticky;
    top: 100px;
}
.contact-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 1.75rem;
}
.contact-card h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}
.contact-card p {
    color: var(--slate);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}
.contact-card .btn {
    width: 100%;
    margin-bottom: 0.75rem;
}
.contact-card .contact-line {
    display: block;
    font-size: 0.85rem;
    color: var(--slate);
    margin-bottom: 0.5rem;
    text-decoration: none;
}
.contact-card .contact-line:hover {
    color: var(--gold-dark);
}

/* FAQ */
.faq {
    margin-top: 3rem;
}
.faq h2 {
    font-size: 1.9rem;
    margin-bottom: 1rem;
}
.faq details {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
}
.faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--navy);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
}
.faq details[open] summary {
    margin-bottom: 0.75rem;
}
.faq p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Related practice areas */
.related {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}
.related h2 {
    font-size: 1.9rem;
    margin-bottom: 1rem;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: #eee;
    border: 1px solid #eee;
}
.related-grid a {
    background: #fff;
    padding: 1.25rem;
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
}
.related-grid a:hover {
    background: var(--paper);
}
.related-grid span {
    display: block;
    color: var(--slate);
    font-weight: 400;
    font-size: 0.8rem;
    margin-top: 0.35rem;
    line-height: 1.5;
}

/* Page disclaimer */
.disclaimer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.8rem;
    color: var(--slate);
    line-height: 1.6;
}

/* Home location strip */
.location-strip {
    padding: 4.5rem 5%;
    background: var(--paper);
    border-top: 1px solid #e2e8f0;
}
.location-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}
.location-inner h2 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
}
.location-inner > div > p {
    color: var(--slate);
    line-height: 1.7;
    max-width: 620px;
}
.location-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}
.location-details h3 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
}
.location-details p {
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.6;
    margin: 0;
}
.location-strip .cta-group {
    margin-top: 1rem;
}

/* Footer practice links */
.footer-practice {
    border-top: 1px solid #e2e8f0;
    padding-top: 2rem;
    margin-bottom: 2rem;
}
.footer-practice h3 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--slate);
    margin-bottom: 1rem;
}
.footer-practice ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem 1.5rem;
    padding: 0;
    margin: 0;
}
.footer-practice a {
    color: var(--navy);
    text-decoration: none;
    font-size: 0.82rem;
    line-height: 1.4;
}
.footer-practice a:hover {
    color: var(--gold-dark);
}

/* Practice areas hub */
.practice-hub {
    padding: 4.5rem 5%;
    background: #fff;
}
.practice-hub .hub-group {
    max-width: 1180px;
    margin: 0 auto 3.5rem;
}
.practice-hub .hub-group:last-child {
    margin-bottom: 0;
}
.practice-hub .hub-group h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}
.practice-hub .grid {
    grid-template-columns: repeat(2, 1fr);
}
.practice-hub .grid-item {
    padding: 2.5rem 2rem;
}
.practice-hub .grid-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}
.practice-hub .grid-item p {
    color: var(--slate);
    font-size: 0.95rem;
    line-height: 1.6;
}
.practice-hub .grid-item .more {
    color: var(--gold-dark);
}

/* Chambers page */
.office-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}
.office-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 1.75rem;
}
.office-card h2,
.office-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}
.office-card p {
    color: var(--slate);
    font-size: 0.95rem;
    line-height: 1.7;
}
.office-card a {
    color: var(--navy);
}
.office-card .btn {
    margin-top: 1rem;
}
.office-hours {
    list-style: none;
    padding: 0;
    margin: 0;
}
.office-hours li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #eee;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--slate);
}
.office-hours li:last-child {
    border-bottom: none;
}
.office-hours strong {
    color: var(--navy);
    font-weight: 600;
}

/* Mobile CTA: WhatsApp dominant, call secondary */
.mobile-cta {
    grid-template-columns: 0.8fr 1.2fr;
}
.mobile-cta a.whatsapp {
    background: #25D366;
    color: var(--navy);
    border: none;
}
.mobile-cta a.whatsapp .wa-icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* Responsive additions */
@media (max-width: 1024px) {
    .article-wrap {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .sidebar {
        position: static;
    }
    .location-inner {
        grid-template-columns: 1fr;
    }
    .footer-practice ul {
        grid-template-columns: repeat(2, 1fr);
    }
    .practice-hub .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-links {
        gap: 1rem;
    }
    .nav-links a {
        font-size: 0.65rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 3.5rem 5% 3rem;
    }
    .page-hero h1 {
        font-size: clamp(2.2rem, 9vw, 3.2rem);
    }
    .page-hero p {
        font-size: 1rem;
    }
    .article-wrap {
        padding: 2.5rem 5%;
    }
    .article h2 {
        font-size: 1.6rem;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .location-details {
        grid-template-columns: 1fr;
    }
    .practice-hub .grid {
        grid-template-columns: 1fr;
    }
    .office-grid {
        grid-template-columns: 1fr;
    }
    .footer-practice ul {
        grid-template-columns: 1fr 1fr;
    }
    .breadcrumbs {
        font-size: 0.65rem;
    }
}

/* ------------------------------------------------------------------
   Site shell additions: mobile nav, skip link, home sections
   ------------------------------------------------------------------ */

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--gold);
    color: var(--navy);
    padding: 0.75rem 1rem;
    z-index: 2000;
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

/* Keep the hero headline readable at every width */
.hero h1 {
    font-size: clamp(3rem, 7.2vw, 6.2rem);
    max-width: 980px;
}
.hero p {
    max-width: 650px;
}

/* Mobile navigation */
.nav-mobile {
    display: none;
    position: relative;
}
.nav-mobile summary {
    list-style: none;
    cursor: pointer;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    color: var(--navy);
    border: 1px solid #e2e8f0;
    padding: 0.6rem 0.85rem;
    background: #fff;
}
.nav-mobile summary::-webkit-details-marker {
    display: none;
}
.nav-mobile summary::after {
    content: " +";
    color: var(--gold-dark);
}
.nav-mobile[open] summary::after {
    content: " \2212";
}
.nav-mobile-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.75rem);
    width: 250px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 30px rgba(11, 27, 50, 0.12);
    padding: 0.25rem 1.25rem;
    z-index: 300;
}
.nav-mobile-panel a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: var(--navy);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}
.nav-mobile-panel a:last-child {
    border-bottom: none;
}
.nav-mobile-panel a.nav-wa {
    margin: 0.75rem 0;
    text-align: center;
    background: var(--navy);
    color: #fff;
    padding: 0.85rem 0.5rem;
}

/* Home: short introduction band */
.home-intro {
    padding: 4.5rem 5%;
    background: #fff;
}
.home-intro-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: start;
}
.home-intro h2 {
    font-size: 2.7rem;
    margin-bottom: 1rem;
}
.home-intro p {
    color: var(--slate);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}
.home-facts {
    border-left: 2px solid var(--gold);
    padding-left: 1.75rem;
}
.home-facts h3 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
}
.home-facts p {
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
}

/* Home: FAQ */
.faq-section {
    padding: 4.5rem 5%;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}
.faq-section .faq {
    max-width: 860px;
    margin: 0 auto;
}

/* Footer refinements */
.footer-content h3 {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 1.25rem;
}
.footer-content p {
    color: var(--slate);
    font-size: 0.92rem;
    line-height: 1.7;
}
.footer-content a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
}
.footer-content a:hover {
    color: var(--gold-dark);
}
.footer-bottom .legal {
    max-width: 920px;
    line-height: 1.65;
}
.footer-bottom .guard {
    font-size: 0.78rem;
    color: var(--gold-dark);
}

/* A little more air on article pages with a long sidebar */
.article .faq details p {
    color: var(--slate);
}

@media (max-width: 1024px) {
    .home-intro-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: clamp(2.5rem, 9.5vw, 3.4rem);
    }
    .home-intro {
        padding: 3rem 5%;
    }
    .home-intro h2 {
        font-size: 2.1rem;
    }
    .faq-section {
        padding: 3rem 5%;
    }
    .footer-content {
        gap: 2.25rem;
    }
    .nav-mobile-panel {
        right: 0;
    }
}

@media (max-width: 420px) {
    .nav-mobile-panel {
        width: 220px;
    }
}

/* Navigation state */
.nav-links a[aria-current="page"],
.nav-mobile-panel a[aria-current="page"] {
    color: var(--gold-dark);
}
.nav-links a.nav-wa[aria-current="page"] {
    color: #fff;
}

/* Hub introduction */
.practice-hub .lede {
    font-size: 1.1rem;
    color: var(--slate);
    line-height: 1.75;
}

/* Cards inside article pages */
.article .office-card h2,
.article .office-card h3 {
    margin-top: 0;
}

/* Keep the third hero statistic on one line */
.stat-item:nth-child(3) .stat-number {
    font-size: clamp(1.65rem, 2.6vw, 2.05rem);
    line-height: 1.15;
    margin-top: 0.35rem;
}

/* Cap the hero on very tall screens */
.hero {
    min-height: min(85vh, 900px);
}
.stat-item .stat-number {
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1;
}
.cta-note a {
    white-space: nowrap;
}
@media (max-width: 768px) {
    .hero {
        min-height: 75vh;
    }
}

/* CTA note needs to override the hero paragraph size */
.hero .cta-note,
.page-hero .cta-note {
    font-size: 0.8rem;
    line-height: 1.55;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.72);
}
.hero .cta-note a,
.page-hero .cta-note a {
    color: #fff;
}

/* Outfit gives the statistics clear lining figures */
.stat-item .stat-number {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 2.15rem;
    letter-spacing: 0.01em;
}

/* Prevent the flex hero from taking its max-content width on small screens */
.hero-content {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
}
.hero h1 {
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .site-nav {
        padding: 0.9rem 5%;
        gap: 1rem;
    }
    .logo {
        font-size: 0.98rem;
        gap: 8px;
    }
    .logo-mark {
        width: 28px;
        height: 28px;
        font-size: 0.6rem;
    }
    .nav-mobile {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-bottom: 7rem;
    }
}
