/*
Theme Name: Valdosta Injury Lawyer Divi Child
Theme URI: https://www.valdostainjurylawyer.com/
Description: Divi child theme with the custom Valdosta Injury Lawyer homepage template.
Author: Attorney Visibility AI
Template: Divi
Version: 1.0.0
Text Domain: valdosta-divi-child
*/

:root {
            --jp-ink: #071117;
            --jp-green-950: #0B1820;
            --jp-green-900: #102631;
            --jp-green-800: #173542;
            --jp-green-700: #234957;
            --jp-gold-500: #8A682A;
            --jp-gold-400: #A37B33;
            --jp-gold-200: #D8C69E;
            --jp-cream: #F3F1EC;
            --jp-paper: #FAFAF8;
            --jp-white: #F5F5F5;
            --jp-text: #0B1820;
            --jp-muted: #66747C;
            --jp-border: rgba(11, 24, 32, .14);
            --jp-shadow-sm: 0 10px 35px rgba(11, 24, 32, .08);
            --jp-shadow-md: 0 22px 65px rgba(11, 24, 32, .14);
            --jp-shadow-lg: 0 32px 100px rgba(4, 12, 18, .30);
            --jp-radius-sm: 12px;
            --jp-radius-md: 22px;
            --jp-radius-lg: 34px;
            --jp-container: 1240px;
            --jp-serif: Georgia, 'Times New Roman', serif;
            --jp-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        }

        *, *::before, *::after { box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body.jp-modern-home {
            margin: 0;
            background: var(--jp-paper);
            color: var(--jp-text);
            font-family: var(--jp-sans);
            font-size: 16px;
            line-height: 1.65;
            overflow-x: hidden;
        }
        body.jp-modern-home.admin-bar .jp-header { top: 32px; }
        @media (max-width: 782px) {
            body.jp-modern-home.admin-bar .jp-header { top: 46px; }
        }
        .jp-site, .jp-site button, .jp-site input, .jp-site textarea, .jp-site select { font-family: var(--jp-sans); }
        .jp-site a { color: inherit; text-decoration: none; }
        .jp-site img { display: block; max-width: 100%; }
        .jp-site button { color: inherit; }
        .jp-site h1, .jp-site h2, .jp-site h3, .jp-site h4, .jp-site p { margin-top: 0; }
        .jp-site h1, .jp-site h2, .jp-site h3 { text-wrap: balance; }
        .jp-container { width: min(calc(100% - 40px), var(--jp-container)); margin-inline: auto; }
        .jp-section { position: relative; padding: 112px 0; }
        .jp-section--cream { background: var(--jp-cream); }
        .jp-section--dark { background: var(--jp-green-950); color: var(--jp-white); }
        .jp-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 18px;
            color: var(--jp-gold-500);
            font-size: .77rem;
            font-weight: 800;
            letter-spacing: .16em;
            line-height: 1.2;
            text-transform: uppercase;
        }
        .jp-eyebrow::before { content: ''; width: 34px; height: 2px; background: currentColor; }
        .jp-heading {
            margin-bottom: 22px;
            color: var(--jp-green-950);
            font-family: var(--jp-serif);
            font-size: clamp(2.25rem, 4.2vw, 4.65rem);
            font-weight: 500;
            letter-spacing: -.045em;
            line-height: .98;
        }
        .jp-heading--light { color: var(--jp-white); }
        .jp-heading--sm { font-size: clamp(2rem, 3.4vw, 3.55rem); }
        .jp-lead { max-width: 720px; margin-bottom: 0; color: var(--jp-muted); font-size: clamp(1rem, 1.45vw, 1.18rem); }
        .jp-lead--light { color: rgba(255, 255, 255, .72); }
        .jp-section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
        .jp-section-head > div:first-child { max-width: 760px; }

        .jp-btn {
            position: relative;
            display: inline-flex;
            min-height: 54px;
            align-items: center;
            justify-content: center;
            gap: 11px;
            padding: 15px 24px;
            border: 1px solid transparent;
            border-radius: 999px;
            overflow: hidden;
            font-size: .9rem;
            font-weight: 800;
            letter-spacing: .03em;
            line-height: 1.2;
            transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
        }
        .jp-btn::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.28) 48%, transparent 76%);
            transform: translateX(-120%);
            transition: transform .7s ease;
        }
        .jp-btn:hover { transform: translateY(-2px); }
        .jp-btn:hover::after { transform: translateX(120%); }
        .jp-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
        .jp-btn--gold { background: var(--jp-gold-500); color: var(--jp-green-950); box-shadow: 0 12px 30px rgba(181, 138, 59, .23); }
        .jp-btn--gold:hover { background: var(--jp-gold-400); box-shadow: 0 16px 34px rgba(181, 138, 59, .32); }
        .jp-btn--dark { background: var(--jp-green-950); color: var(--jp-white); box-shadow: var(--jp-shadow-sm); }
        .jp-btn--dark:hover { background: var(--jp-green-800); }
        .jp-btn--outline { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.04); color: var(--jp-white); backdrop-filter: blur(12px); }
        .jp-btn--outline:hover { border-color: var(--jp-gold-400); background: rgba(255,255,255,.09); }
        .jp-text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--jp-green-800); font-weight: 800; }
        .jp-text-link svg { width: 18px; transition: transform .25s ease; }
        .jp-text-link:hover svg { transform: translateX(4px); }

        .jp-topbar {
            position: relative;
            z-index: 90;
            background: var(--jp-green-950);
            color: rgba(255,255,255,.78);
            font-size: .77rem;
            font-weight: 700;
            letter-spacing: .08em;
            text-transform: uppercase;
        }
        .jp-topbar__inner { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 20px; }
        .jp-topbar__item { display: inline-flex; align-items: center; gap: 8px; }
        .jp-topbar__item svg { width: 14px; height: 14px; color: var(--jp-gold-400); }
        .jp-topbar__right { display: flex; align-items: center; gap: 24px; }

        .jp-header {
            position: sticky;
            z-index: 80;
            top: 0;
            border-bottom: 1px solid rgba(255,255,255,.08);
            background: rgba(138, 104, 42, .97);
            color: var(--jp-white);
            backdrop-filter: blur(18px);
            transition: box-shadow .25s ease, background .25s ease;
        }
        .jp-header.is-scrolled { background: rgba(138, 104, 42, .99); box-shadow: 0 12px 38px rgba(0,0,0,.22); }
        .jp-header__inner { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 28px; }
        .jp-logo { width: min(360px, 30vw); min-width: 250px; }
        .jp-logo img { width: 100%; height: auto; }
        .jp-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
        .jp-nav > a:not(.jp-btn) {
            position: relative;
            padding: 31px 0;
            color: rgba(255,255,255,.82);
            font-size: .83rem;
            font-weight: 700;
            letter-spacing: .035em;
        }
        .jp-nav > a:not(.jp-btn)::after {
            content: '';
            position: absolute;
            right: 0;
            bottom: 22px;
            left: 0;
            height: 2px;
            background: var(--jp-gold-400);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform .25s ease;
        }
        .jp-nav > a:not(.jp-btn):hover { color: var(--jp-white); }
        .jp-nav > a:not(.jp-btn):hover::after { transform: scaleX(1); }
        .jp-nav .jp-btn { min-height: 46px; padding: 12px 20px; }
        .jp-menu-toggle {
            display: none;
            width: 48px;
            height: 48px;
            place-items: center;
            border: 1px solid rgba(255,255,255,.15);
            border-radius: 50%;
            background: rgba(255,255,255,.05);
            cursor: pointer;
        }
        .jp-menu-toggle span, .jp-menu-toggle span::before, .jp-menu-toggle span::after {
            display: block;
            width: 20px;
            height: 2px;
            background: #fff;
            transition: transform .25s ease, opacity .25s ease;
        }
        .jp-menu-toggle span { position: relative; }
        .jp-menu-toggle span::before, .jp-menu-toggle span::after { content: ''; position: absolute; left: 0; }
        .jp-menu-toggle span::before { top: -7px; }
        .jp-menu-toggle span::after { top: 7px; }
        .jp-menu-toggle.is-open span { background: transparent; }
        .jp-menu-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
        .jp-menu-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

        .jp-progress { position: fixed; z-index: 120; top: 0; left: 0; width: 0; height: 3px; background: var(--jp-gold-400); box-shadow: 0 0 14px rgba(205,167,95,.75); }

        .jp-hero {
            position: relative;
            min-height: min(850px, calc(100vh - 38px));
            display: grid;
            align-items: center;
            overflow: hidden;
            background: var(--jp-green-950);
            color: var(--jp-white);
        }
        .jp-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background:
                linear-gradient(90deg, rgba(11, 24, 32, .99) 0%, rgba(11, 24, 32, .95) 43%, rgba(11, 24, 32, .62) 68%, rgba(11, 24, 32, .80) 100%),
                url('assets/images/hero-background.jpg') center/cover no-repeat;
            transform: scale(1.03);
        }
        .jp-hero::after {
            content: '';
            position: absolute;
            inset: auto -18% -36% auto;
            width: 720px;
            height: 720px;
            border: 1px solid rgba(205,167,95,.2);
            border-radius: 50%;
            box-shadow: 0 0 0 80px rgba(205,167,95,.035), 0 0 0 160px rgba(205,167,95,.025);
            animation: jpOrb 10s ease-in-out infinite alternate;
        }
        @keyframes jpOrb { to { transform: translate3d(-32px,-25px,0) scale(1.04); } }
        .jp-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(40px, 7vw, 100px); align-items: center; padding: 92px 0 100px; }
        .jp-hero__copy { max-width: 820px; }
        .jp-hero__kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--jp-gold-400); font-size: .82rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
        .jp-hero__kicker::before { content: ''; width: 44px; height: 2px; background: currentColor; }
        .jp-hero h1 { margin-bottom: 24px; font-family: var(--jp-serif); font-size: clamp(3.5rem, 7.2vw, 7.5rem); font-weight: 500; letter-spacing: -.06em; line-height: .88; }
        .jp-hero h1 em { color: var(--jp-gold-400); font-style: normal; }
        .jp-hero__intro { max-width: 720px; margin-bottom: 32px; color: rgba(255,255,255,.76); font-size: clamp(1.05rem, 1.7vw, 1.28rem); }
        .jp-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
        .jp-hero__meta { display: flex; flex-wrap: wrap; gap: 14px 28px; color: rgba(255,255,255,.68); font-size: .86rem; font-weight: 700; }
        .jp-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
        .jp-hero__meta svg { width: 17px; height: 17px; color: var(--jp-gold-400); }
        .jp-hero__portrait { position: relative; width: min(100%, 465px); margin-left: auto; }
        .jp-hero__portrait-frame {
            position: relative;
            aspect-ratio: .82;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,.13);
            border-radius: 240px 240px 28px 28px;
            background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.015));
            box-shadow: var(--jp-shadow-lg);
        }
        .jp-hero__portrait-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(5,19,15,.82) 100%); }
        .jp-hero__portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(.9) contrast(1.02); }
        .jp-hero__name { position: absolute; z-index: 2; right: 28px; bottom: 25px; left: 28px; }
        .jp-hero__name strong { display: block; margin-bottom: 3px; font-family: var(--jp-serif); font-size: 1.65rem; font-weight: 500; }
        .jp-hero__name span { color: var(--jp-gold-200); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
        .jp-float-card {
            position: absolute;
            z-index: 4;
            display: flex;
            align-items: center;
            gap: 13px;
            min-width: 190px;
            padding: 16px 18px;
            border: 1px solid rgba(255,255,255,.15);
            border-radius: 16px;
            background: rgba(11, 24, 32, .88);
            box-shadow: 0 20px 45px rgba(0,0,0,.24);
            backdrop-filter: blur(16px);
            animation: jpFloat 5s ease-in-out infinite;
        }
        .jp-float-card--one { top: 23%; left: -18%; }
        .jp-float-card--two { right: -12%; bottom: 20%; animation-delay: -2.5s; }
        @keyframes jpFloat { 50% { transform: translateY(-10px); } }
        .jp-float-card__icon { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--jp-gold-500); color: var(--jp-green-950); }
        .jp-float-card__icon svg { width: 20px; height: 20px; }
        .jp-float-card strong { display: block; color: var(--jp-white); font-family: var(--jp-serif); font-size: 1.18rem; line-height: 1; }
        .jp-float-card span { color: rgba(255,255,255,.65); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
        .jp-hero__scroll { position: absolute; z-index: 3; bottom: 23px; left: 50%; display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.45); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; transform: translateX(-50%); }
        .jp-hero__scroll::before { content: ''; width: 1px; height: 34px; background: linear-gradient(var(--jp-gold-400), transparent); animation: jpScroll 1.8s ease-in-out infinite; }
        @keyframes jpScroll { 50% { transform: scaleY(.55); transform-origin: top; } }

        .jp-trust { position: relative; z-index: 5; margin-top: -34px; }
        .jp-trust__panel {
            display: grid;
            grid-template-columns: 1.15fr repeat(4, 1fr);
            align-items: center;
            min-height: 120px;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,.55);
            border-radius: 22px;
            background: rgba(255,255,255,.94);
            box-shadow: var(--jp-shadow-md);
            backdrop-filter: blur(12px);
        }
        .jp-trust__intro { height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 25px 30px; background: var(--jp-green-900); color: var(--jp-white); }
        .jp-trust__intro strong { font-family: var(--jp-serif); font-size: 1.25rem; font-weight: 500; }
        .jp-trust__intro span { color: rgba(255,255,255,.58); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
        .jp-trust__badge { display: grid; min-height: 112px; place-items: center; padding: 16px; border-right: 1px solid var(--jp-border); }
        .jp-trust__badge:last-child { border-right: 0; }
        .jp-trust__badge img { max-width: 138px; max-height: 76px; object-fit: contain; filter: saturate(.9); transition: transform .25s ease, filter .25s ease; }
        .jp-trust__badge:hover img { transform: scale(1.06); filter: saturate(1.1); }

        .jp-practice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
        .jp-practice-card {
            position: relative;
            min-height: 275px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            overflow: hidden;
            padding: 28px;
            border: 1px solid var(--jp-border);
            border-radius: var(--jp-radius-md);
            background: var(--jp-white);
            box-shadow: 0 8px 28px rgba(11,24,32,.04);
            transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
        }
        .jp-practice-card::before {
            content: '';
            position: absolute;
            inset: auto -55px -70px auto;
            width: 180px;
            height: 180px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(181,138,59,.18), transparent 68%);
            transition: transform .4s ease;
        }
        .jp-practice-card:hover { transform: translateY(-8px); border-color: rgba(181,138,59,.5); box-shadow: var(--jp-shadow-md); }
        .jp-practice-card:hover::before { transform: scale(1.35); }
        .jp-practice-card__icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 15px; background: var(--jp-cream); color: var(--jp-gold-500); }
        .jp-practice-card__icon svg { width: 27px; height: 27px; }
        .jp-practice-card h3 { position: relative; margin: 40px 0 10px; color: var(--jp-green-950); font-family: var(--jp-serif); font-size: 1.65rem; font-weight: 500; line-height: 1.05; }
        .jp-practice-card p { position: relative; margin-bottom: 22px; color: var(--jp-muted); font-size: .9rem; line-height: 1.6; }
        .jp-practice-card__arrow { position: relative; display: inline-flex; align-items: center; gap: 8px; color: var(--jp-green-800); font-size: .8rem; font-weight: 800; letter-spacing: .03em; }
        .jp-practice-card__arrow svg { width: 17px; transition: transform .25s ease; }
        .jp-practice-card:hover .jp-practice-card__arrow svg { transform: translateX(4px); }

        .jp-about-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(45px, 7vw, 96px); align-items: center; }
        .jp-about-visual { position: relative; min-height: 620px; }
        .jp-about-visual__main { position: absolute; inset: 0 60px 70px 0; overflow: hidden; border-radius: 260px 260px 28px 28px; box-shadow: var(--jp-shadow-md); }
        .jp-about-visual__main img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
        .jp-about-visual__main::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 70%, rgba(11,24,32,.32)); }
        .jp-about-visual__accent { position: absolute; right: 0; bottom: 0; width: 52%; padding: 26px; border-radius: 22px; background: var(--jp-green-900); color: var(--jp-white); box-shadow: var(--jp-shadow-md); }
        .jp-about-visual__accent strong { display: block; margin-bottom: 8px; color: var(--jp-gold-400); font-family: var(--jp-serif); font-size: 3.4rem; font-weight: 500; line-height: .8; }
        .jp-about-visual__accent span { color: rgba(255,255,255,.7); font-size: .82rem; font-weight: 700; }
        .jp-about-visual__seal { position: absolute; top: 54px; right: 3px; display: grid; width: 112px; height: 112px; place-items: center; border: 1px solid rgba(181,138,59,.45); border-radius: 50%; background: var(--jp-paper); box-shadow: var(--jp-shadow-sm); color: var(--jp-green-900); text-align: center; }
        .jp-about-visual__seal::before { content: ''; position: absolute; inset: 7px; border: 1px dashed var(--jp-gold-500); border-radius: 50%; animation: jpSpin 20s linear infinite; }
        @keyframes jpSpin { to { transform: rotate(360deg); } }
        .jp-about-visual__seal span { position: relative; max-width: 75px; font-family: var(--jp-serif); font-size: .8rem; font-weight: 700; line-height: 1.15; }
        .jp-check-list { display: grid; gap: 15px; margin: 28px 0 34px; padding: 0; list-style: none; }
        .jp-check-list li { display: flex; align-items: flex-start; gap: 13px; color: var(--jp-text); font-weight: 650; }
        .jp-check-list svg { width: 21px; height: 21px; flex: 0 0 auto; margin-top: 2px; color: var(--jp-gold-500); }
        .jp-about-actions { display: flex; flex-wrap: wrap; gap: 15px 22px; align-items: center; }

        .jp-stats { overflow: hidden; background: var(--jp-green-950); color: var(--jp-white); }
        .jp-stats::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 18% 15%, rgba(181,138,59,.17), transparent 32%), linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: auto, 62px 62px, 62px 62px; }
        .jp-stats-grid { position: relative; display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 1px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--jp-radius-md); overflow: hidden; background: rgba(255,255,255,.1); }
        .jp-stats__intro, .jp-stat { background: rgba(11,24,32,.94); }
        .jp-stats__intro { padding: 42px; }
        .jp-stats__intro h2 { margin-bottom: 14px; font-family: var(--jp-serif); font-size: clamp(2rem, 3vw, 3.3rem); font-weight: 500; line-height: 1; }
        .jp-stats__intro p { margin-bottom: 0; color: rgba(255,255,255,.64); }
        .jp-stat { display: flex; min-height: 240px; flex-direction: column; justify-content: center; padding: 34px; }
        .jp-stat strong { display: block; margin-bottom: 12px; color: var(--jp-gold-400); font-family: var(--jp-serif); font-size: clamp(3rem, 5vw, 5.2rem); font-weight: 500; letter-spacing: -.05em; line-height: .8; }
        .jp-stat span { color: rgba(255,255,255,.72); font-size: .83rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

        .jp-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
        .jp-team-card { position: relative; overflow: hidden; border-radius: var(--jp-radius-md); background: var(--jp-green-900); box-shadow: var(--jp-shadow-sm); }
        .jp-team-card__image { position: relative; aspect-ratio: .86; overflow: hidden; }
        .jp-team-card__image::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(11,24,32,.96)); }
        .jp-team-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
        .jp-team-card:hover .jp-team-card__image img { transform: scale(1.055); }
        .jp-team-card__content { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; padding: 28px; color: var(--jp-white); }
        .jp-team-card__content h3 { margin-bottom: 4px; font-family: var(--jp-serif); font-size: 2rem; font-weight: 500; }
        .jp-team-card__content p { margin-bottom: 16px; color: var(--jp-gold-200); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
        .jp-team-card__content a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.8); font-size: .82rem; font-weight: 800; }
        .jp-team-card__content svg { width: 16px; transition: transform .25s ease; }
        .jp-team-card:hover .jp-team-card__content svg { transform: translateX(4px); }

        .jp-method-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(50px, 8vw, 110px); align-items: center; }
        .jp-method-card { position: relative; padding: 46px; border-radius: var(--jp-radius-lg); background: var(--jp-green-900); color: var(--jp-white); box-shadow: var(--jp-shadow-md); }
        .jp-method-card::after { content: 'TRIAL READY'; position: absolute; right: -36px; bottom: 55px; color: rgba(255,255,255,.045); font-family: var(--jp-serif); font-size: 6.5rem; font-weight: 700; line-height: .75; transform: rotate(-90deg); transform-origin: center; white-space: nowrap; pointer-events: none; }
        .jp-method-card blockquote { position: relative; z-index: 2; margin: 0 0 32px; font-family: var(--jp-serif); font-size: clamp(1.9rem, 3vw, 3.2rem); font-weight: 500; line-height: 1.1; }
        .jp-method-card blockquote span { color: var(--jp-gold-400); }
        .jp-method-card p { position: relative; z-index: 2; max-width: 620px; margin-bottom: 0; color: rgba(255,255,255,.68); }
        .jp-timeline { display: grid; gap: 0; }
        .jp-timeline__item { position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding-bottom: 34px; }
        .jp-timeline__item:last-child { padding-bottom: 0; }
        .jp-timeline__item::before { content: ''; position: absolute; top: 50px; bottom: 0; left: 26px; width: 1px; background: linear-gradient(var(--jp-gold-500), rgba(181,138,59,.08)); }
        .jp-timeline__item:last-child::before { display: none; }
        .jp-timeline__number { display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid rgba(181,138,59,.45); border-radius: 50%; background: var(--jp-paper); color: var(--jp-gold-500); font-family: var(--jp-serif); font-size: 1.1rem; font-weight: 700; }
        .jp-timeline__item h3 { margin: 3px 0 7px; color: var(--jp-green-950); font-family: var(--jp-serif); font-size: 1.45rem; font-weight: 500; }
        .jp-timeline__item p { margin: 0; color: var(--jp-muted); font-size: .92rem; }

        .jp-testimonials { overflow: hidden; }
        .jp-testimonials::before { content: '“'; position: absolute; top: 28px; left: max(20px, calc((100vw - var(--jp-container))/2 - 80px)); color: rgba(181,138,59,.09); font-family: var(--jp-serif); font-size: 25rem; line-height: .7; pointer-events: none; }
        .jp-slider { position: relative; }
        .jp-slider__viewport { overflow: hidden; }
        .jp-slider__track { display: flex; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
        .jp-testimonial { min-width: 100%; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr); gap: clamp(40px, 7vw, 95px); align-items: end; }
        .jp-testimonial__quote { margin: 0; color: var(--jp-green-950); font-family: var(--jp-serif); font-size: clamp(1.85rem, 3.3vw, 3.65rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.13; }
        .jp-testimonial__meta { padding: 28px; border-left: 1px solid var(--jp-border); }
        .jp-stars { margin-bottom: 18px; color: var(--jp-gold-500); font-size: 1rem; letter-spacing: .18em; }
        .jp-testimonial__meta strong { display: block; margin-bottom: 4px; color: var(--jp-green-950); }
        .jp-testimonial__meta span { color: var(--jp-muted); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
        .jp-slider__controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 44px; }
        .jp-slider__buttons { display: flex; gap: 10px; }
        .jp-slider__button { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid var(--jp-border); border-radius: 50%; background: transparent; color: var(--jp-green-950); cursor: pointer; transition: background .25s ease, color .25s ease, transform .25s ease; }
        .jp-slider__button:hover { background: var(--jp-green-950); color: #fff; transform: translateY(-2px); }
        .jp-slider__button svg { width: 19px; height: 19px; }
        .jp-slider__dots { display: flex; gap: 8px; }
        .jp-slider__dot { width: 26px; height: 4px; padding: 0; border: 0; border-radius: 999px; background: rgba(11,24,32,.18); cursor: pointer; transition: width .25s ease, background .25s ease; }
        .jp-slider__dot.is-active { width: 52px; background: var(--jp-gold-500); }

        .jp-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
        .jp-post-card { overflow: hidden; border: 1px solid var(--jp-border); border-radius: var(--jp-radius-md); background: var(--jp-white); box-shadow: 0 8px 28px rgba(11,24,32,.045); transition: transform .35s ease, box-shadow .35s ease; }
        .jp-post-card:hover { transform: translateY(-7px); box-shadow: var(--jp-shadow-md); }
        .jp-post-card__image { position: relative; aspect-ratio: 1.55; overflow: hidden; background: linear-gradient(145deg, var(--jp-green-700), var(--jp-green-950)); }
        .jp-post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
        .jp-post-card:hover .jp-post-card__image img { transform: scale(1.06); }
        .jp-post-card__image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11,24,32,.32)); }
        .jp-post-card__content { padding: 26px; }
        .jp-post-card__date { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 13px; color: var(--jp-gold-500); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
        .jp-post-card h3 { margin-bottom: 14px; color: var(--jp-green-950); font-family: var(--jp-serif); font-size: 1.55rem; font-weight: 500; line-height: 1.12; }
        .jp-post-card p { margin-bottom: 20px; color: var(--jp-muted); font-size: .9rem; }
        .jp-post-card .jp-text-link { font-size: .82rem; }

        .jp-faq-grid { display: grid; grid-template-columns: minmax(280px, .6fr) minmax(0, 1.4fr); gap: clamp(45px, 8vw, 105px); align-items: start; }
        .jp-faq-aside { position: sticky; top: 130px; }
        .jp-faq-list { border-top: 1px solid rgba(255,255,255,.15); }
        .jp-faq details { border-bottom: 1px solid rgba(255,255,255,.15); }
        .jp-faq summary { position: relative; display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 58px 22px 0; color: var(--jp-white); font-family: var(--jp-serif); font-size: clamp(1.25rem, 2vw, 1.65rem); cursor: pointer; list-style: none; }
        .jp-faq summary::-webkit-details-marker { display: none; }
        .jp-faq summary::before, .jp-faq summary::after { content: ''; position: absolute; top: 50%; right: 4px; width: 20px; height: 2px; background: var(--jp-gold-400); transition: transform .25s ease; }
        .jp-faq summary::after { transform: rotate(90deg); }
        .jp-faq details[open] summary::after { transform: rotate(0); }
        .jp-faq__answer { max-width: 800px; padding: 0 65px 28px 0; color: rgba(255,255,255,.67); }
        .jp-faq__answer p:last-child { margin-bottom: 0; }

        .jp-cta { padding: 0 0 112px; background: var(--jp-cream); }
        .jp-cta__panel {
            position: relative;
            display: grid;
            grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
            gap: 50px;
            align-items: center;
            overflow: hidden;
            padding: clamp(44px, 7vw, 82px);
            border-radius: var(--jp-radius-lg);
            background: var(--jp-green-900);
            color: var(--jp-white);
            box-shadow: var(--jp-shadow-lg);
        }
        .jp-cta__panel::before { content: ''; position: absolute; top: -50%; right: -10%; width: 570px; height: 570px; border: 1px solid rgba(205,167,95,.22); border-radius: 50%; box-shadow: 0 0 0 80px rgba(205,167,95,.045), 0 0 0 160px rgba(205,167,95,.028); }
        .jp-cta__copy { position: relative; z-index: 2; }
        .jp-cta__copy h2 { margin-bottom: 18px; font-family: var(--jp-serif); font-size: clamp(2.5rem, 5vw, 5.5rem); font-weight: 500; letter-spacing: -.05em; line-height: .92; }
        .jp-cta__copy p { max-width: 750px; margin-bottom: 0; color: rgba(255,255,255,.7); font-size: 1.05rem; }
        .jp-cta__contact { position: relative; z-index: 2; display: grid; gap: 14px; }
        .jp-cta__phone { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: rgba(255,255,255,.06); backdrop-filter: blur(12px); }
        .jp-cta__phone svg { width: 26px; height: 26px; color: var(--jp-gold-400); }
        .jp-cta__phone span { display: block; color: rgba(255,255,255,.58); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
        .jp-cta__phone strong { display: block; font-family: var(--jp-serif); font-size: clamp(1.45rem, 2.5vw, 2.1rem); font-weight: 500; line-height: 1.15; }
        .jp-cta__contact .jp-btn { width: 100%; }

        .jp-footer { background: var(--jp-green-950); color: rgba(255,255,255,.68); }
        .jp-footer__main { display: grid; grid-template-columns: 1.3fr .7fr .8fr 1fr; gap: 55px; padding: 78px 0 58px; }
        .jp-footer__logo { width: min(100%, 360px); margin-bottom: 22px; }
        .jp-footer__brand p { max-width: 420px; margin-bottom: 24px; }
        .jp-footer__social { display: flex; gap: 10px; }
        .jp-footer__social a { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; transition: background .25s ease, color .25s ease; }
        .jp-footer__social a:hover { background: var(--jp-gold-500); color: var(--jp-green-950); }
        .jp-footer__social svg { width: 18px; height: 18px; }
        .jp-footer h3 { margin-bottom: 20px; color: var(--jp-white); font-family: var(--jp-serif); font-size: 1.25rem; font-weight: 500; }
        .jp-footer__links { display: grid; gap: 10px; }
        .jp-footer__links a:hover { color: var(--jp-gold-400); }
        .jp-footer__contact { display: grid; gap: 16px; }
        .jp-footer__contact a, .jp-footer__contact div { display: flex; align-items: flex-start; gap: 11px; }
        .jp-footer__contact svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 4px; color: var(--jp-gold-400); }
        .jp-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }
        .jp-footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }
        .jp-footer__legal a:hover { color: var(--jp-white); }

        .jp-mobile-bar { position: fixed; z-index: 75; right: 12px; bottom: 12px; left: 12px; display: none; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: rgba(11,24,32,.94); box-shadow: 0 18px 45px rgba(0,0,0,.26); backdrop-filter: blur(16px); }
        .jp-mobile-bar a { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; font-size: .8rem; font-weight: 800; }
        .jp-mobile-bar__call { background: var(--jp-gold-500); color: var(--jp-green-950); }
        .jp-mobile-bar__contact { background: rgba(255,255,255,.09); color: var(--jp-white); }
        .jp-mobile-bar svg { width: 17px; height: 17px; }

        .jp-reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s ease; }
        .jp-reveal.is-visible { opacity: 1; transform: none; }
        .jp-reveal[data-delay="1"] { transition-delay: .08s; }
        .jp-reveal[data-delay="2"] { transition-delay: .16s; }
        .jp-reveal[data-delay="3"] { transition-delay: .24s; }
        .jp-reveal[data-delay="4"] { transition-delay: .32s; }

        @media (max-width: 1100px) {
            .jp-nav { gap: 16px; }
            .jp-nav > a:not(.jp-btn) { font-size: .75rem; }
            .jp-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(320px, .65fr); gap: 45px; }
            .jp-float-card--one { left: -7%; }
            .jp-float-card--two { right: -3%; }
            .jp-practice-grid { grid-template-columns: repeat(2, 1fr); }
            .jp-stats-grid { grid-template-columns: repeat(3, 1fr); }
            .jp-stats__intro { grid-column: 1 / -1; }
            .jp-footer__main { grid-template-columns: 1.4fr .8fr .8fr; }
            .jp-footer__brand { grid-column: 1 / -1; }
        }

        @media (max-width: 900px) {
            .jp-section { padding: 88px 0; }
            .jp-topbar__right .jp-topbar__item:first-child { display: none; }
            .jp-menu-toggle { display: grid; }
            .jp-header__inner { min-height: 74px; }
            .jp-logo { width: 290px; min-width: 0; }
            .jp-nav {
                position: absolute;
                top: calc(100% + 1px);
                right: 0;
                left: 0;
                display: grid;
                gap: 0;
                max-height: 0;
                overflow: hidden;
                padding: 0 20px;
                background: rgba(138,104,42,.99);
                box-shadow: 0 20px 40px rgba(0,0,0,.22);
                opacity: 0;
                transition: max-height .35s ease, opacity .25s ease, padding .35s ease;
            }
            .jp-nav.is-open { max-height: 560px; padding-top: 14px; padding-bottom: 22px; opacity: 1; }
            .jp-nav > a:not(.jp-btn) { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .87rem; }
            .jp-nav > a:not(.jp-btn)::after { display: none; }
            .jp-nav .jp-btn { margin-top: 15px; }
            .jp-hero { min-height: auto; }
            .jp-hero__grid { grid-template-columns: 1fr; padding: 75px 0 92px; }
            .jp-hero__copy { max-width: none; }
            .jp-hero__portrait { width: min(78%, 450px); margin: 10px auto 0; }
            .jp-trust__panel { grid-template-columns: repeat(2, 1fr); }
            .jp-trust__intro { grid-column: 1 / -1; min-height: 105px; }
            .jp-trust__badge { border-bottom: 1px solid var(--jp-border); }
            .jp-trust__badge:nth-child(odd) { border-right: 0; }
            .jp-section-head { align-items: start; flex-direction: column; }
            .jp-about-grid, .jp-method-grid, .jp-faq-grid, .jp-cta__panel { grid-template-columns: 1fr; }
            .jp-faq-aside { position: static; }
            .jp-team-grid, .jp-blog-grid { grid-template-columns: repeat(2, 1fr); }
            .jp-team-card:last-child, .jp-post-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 11px); margin-inline: auto; width: 100%; }
            .jp-testimonial { grid-template-columns: 1fr; gap: 32px; }
            .jp-testimonial__meta { padding: 0; border-left: 0; }
            .jp-cta__contact { max-width: 460px; }
        }

        @media (max-width: 680px) {
            .jp-container { width: min(calc(100% - 28px), var(--jp-container)); }
            .jp-section { padding: 74px 0; }
            .jp-topbar__inner { justify-content: center; }
            .jp-topbar__right { display: none; }
            .jp-logo { width: 245px; }
            .jp-hero::before { background: linear-gradient(180deg, rgba(11,24,32,.96), rgba(11,24,32,.98)), url('assets/images/hero-background.jpg') center/cover no-repeat; }
            .jp-hero__grid { padding: 62px 0 82px; }
            .jp-hero h1 { font-size: clamp(3.15rem, 17vw, 5rem); }
            .jp-hero__actions { display: grid; }
            .jp-hero__actions .jp-btn { width: 100%; }
            .jp-hero__portrait { width: min(90%, 390px); }
            .jp-float-card { min-width: 165px; padding: 13px; }
            .jp-float-card--one { top: 18%; left: -7%; }
            .jp-float-card--two { right: -7%; bottom: 17%; }
            .jp-hero__scroll { display: none; }
            .jp-trust { margin-top: -24px; }
            .jp-trust__panel { grid-template-columns: 1fr 1fr; }
            .jp-trust__badge { min-height: 98px; padding: 11px; }
            .jp-trust__badge img { max-width: 110px; max-height: 62px; }
            .jp-practice-grid, .jp-team-grid, .jp-blog-grid, .jp-stats-grid { grid-template-columns: 1fr; }
            .jp-team-card:last-child, .jp-post-card:last-child { grid-column: auto; max-width: none; }
            .jp-practice-card { min-height: 245px; }
            .jp-about-visual { min-height: 510px; }
            .jp-about-visual__main { right: 25px; bottom: 64px; }
            .jp-about-visual__accent { width: 68%; padding: 20px; }
            .jp-about-visual__seal { top: 24px; width: 95px; height: 95px; }
            .jp-stats-grid { gap: 1px; }
            .jp-stat { min-height: 170px; }
            .jp-method-card { padding: 34px 27px; }
            .jp-method-card::after { display: none; }
            .jp-testimonials::before { font-size: 15rem; }
            .jp-slider__controls { align-items: flex-end; }
            .jp-faq summary { min-height: 82px; padding-right: 42px; }
            .jp-cta { padding-bottom: 88px; }
            .jp-cta__panel { padding: 42px 25px; }
            .jp-footer__main { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
            .jp-footer__brand { grid-column: auto; }
            .jp-footer__bottom { align-items: flex-start; flex-direction: column; padding-bottom: 92px; }
            .jp-mobile-bar { display: grid; }
        }

        @media (prefers-reduced-motion: reduce) {
            html { scroll-behavior: auto; }
            *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
            .jp-reveal { opacity: 1; transform: none; }
        }


        /* ===== Requested layout corrections ===== */
        .jp-site .jp-btn,
        .jp-site a.jp-btn,
        .jp-site button.jp-btn {
            isolation: isolate;
            z-index: 1;
            color: inherit !important;
            text-decoration: none !important;
            opacity: 1 !important;
        }
        .jp-site .jp-btn > * { position: relative; z-index: 2; }
        .jp-site .jp-btn--gold,
        .jp-site a.jp-btn--gold {
            border-color: var(--jp-gold-500) !important;
            background: var(--jp-gold-500) !important;
            color: var(--jp-green-950) !important;
        }
        .jp-site .jp-btn--dark,
        .jp-site a.jp-btn--dark {
            border-color: var(--jp-green-950) !important;
            background: var(--jp-green-950) !important;
            color: var(--jp-white) !important;
        }
        .jp-site .jp-btn--outline,
        .jp-site a.jp-btn--outline {
            border-color: rgba(255,255,255,.42) !important;
            background: rgba(255,255,255,.055) !important;
            color: var(--jp-white) !important;
        }
        .jp-site .jp-btn svg { color: currentColor !important; }
        .jp-site .jp-text-link { color: var(--jp-green-900) !important; }
        .jp-site .jp-section--dark .jp-text-link,
        .jp-site .jp-footer .jp-text-link { color: var(--jp-white) !important; }

        /* More editorial, professional treatment for the lead attorney portrait. */
        .jp-hero__portrait { width: min(100%, 430px); }
        .jp-hero__portrait::before {
            content: '';
            position: absolute;
            inset: -18px 24px 18px -18px;
            border: 1px solid rgba(163,123,51,.48);
            border-radius: 34px;
            pointer-events: none;
        }
        .jp-hero__portrait-frame {
            aspect-ratio: 4 / 5;
            border: 1px solid rgba(163,123,51,.54);
            border-radius: 30px;
            background: linear-gradient(160deg, #173542, #0B1820 72%);
            box-shadow: 0 30px 90px rgba(0,0,0,.38);
        }
        .jp-hero__portrait-frame::before {
            content: '';
            position: absolute;
            inset: 0;
            z-index: 1;
            background: linear-gradient(130deg, rgba(255,255,255,.08), transparent 35%);
            pointer-events: none;
        }
        .jp-hero__portrait-frame img {
            object-position: center 16%;
            filter: saturate(.88) contrast(1.08) brightness(.98);
            transform: scale(1.015);
        }
        .jp-hero__name {
            right: 22px;
            bottom: 20px;
            left: 22px;
            padding: 17px 18px;
            border: 1px solid rgba(255,255,255,.15);
            border-radius: 15px;
            background: rgba(11,24,32,.88);
            backdrop-filter: blur(12px);
        }
        .jp-hero__name strong { font-size: 1.48rem; }

        /* Practice cards: intentionally shorter and denser. */
        .jp-practice-grid { align-items: stretch; gap: 16px; }
        .jp-practice-card {
            min-height: 218px !important;
            height: auto !important;
            padding: 23px !important;
            justify-content: flex-start;
        }
        .jp-practice-card__icon { width: 46px; height: 46px; border-radius: 13px; }
        .jp-practice-card__icon svg { width: 24px; height: 24px; }
        .jp-practice-card h3 { margin: 24px 0 8px; font-size: 1.42rem; }
        .jp-practice-card p { margin-bottom: 18px; font-size: .87rem; line-height: 1.52; }
        .jp-practice-card__arrow { margin-top: auto; }

        /* Counter bug: the generic span rule was shrinking only the digits. */
        .jp-stat strong {
            margin-bottom: 18px;
            color: var(--jp-gold-400) !important;
            font-size: clamp(4rem, 6.2vw, 6.65rem) !important;
            line-height: .78;
        }
        .jp-stat .jp-counter {
            display: inline !important;
            color: inherit !important;
            font: inherit !important;
            font-size: 1em !important;
            font-weight: inherit !important;
            letter-spacing: inherit !important;
            line-height: inherit !important;
            text-transform: none !important;
        }
        .jp-stat > span {
            color: rgba(255,255,255,.78) !important;
            font-size: .82rem !important;
            font-weight: 800 !important;
            letter-spacing: .1em !important;
            line-height: 1.45;
            text-transform: uppercase !important;
        }

        /* Attorney names and links now sit below the portraits, not across faces. */
        .jp-team-grid { gap: 22px; align-items: stretch; }
        .jp-team-card {
            display: flex;
            min-width: 0;
            flex-direction: column;
            border: 1px solid var(--jp-border);
            background: var(--jp-white);
        }
        .jp-team-card__image {
            aspect-ratio: 1.18 / 1;
            background: #dde0dc;
        }
        .jp-team-card__image::after { display: none; }
        .jp-team-card__image img { object-position: center 16%; }
        .jp-team-card:nth-child(2) .jp-team-card__image img { object-position: center 18%; }
        .jp-team-card:nth-child(3) .jp-team-card__image img { object-position: center 15%; }
        .jp-team-card__content {
            position: static;
            display: flex;
            min-height: 156px;
            flex: 1;
            flex-direction: column;
            align-items: flex-start;
            padding: 24px 26px 26px;
            background: var(--jp-white);
            color: var(--jp-green-950);
        }
        .jp-team-card__content h3 {
            margin-bottom: 5px;
            color: var(--jp-green-950);
            font-size: clamp(1.42rem, 2vw, 1.75rem);
            line-height: 1.08;
        }
        .jp-team-card__content p { margin-bottom: 17px; color: var(--jp-gold-500); }
        .jp-team-card__content a {
            margin-top: auto;
            color: var(--jp-green-900) !important;
        }

        /* Blog cards: force the image link to be a block so aspect-ratio works. */
        .jp-blog-grid { align-items: stretch; }
        .jp-post-card { display: flex; min-width: 0; flex-direction: column; }
        .jp-post-card__image {
            display: block !important;
            width: 100%;
            aspect-ratio: 16 / 9 !important;
            min-height: 0 !important;
            max-height: 245px;
        }
        .jp-post-card__image img { display: block; width: 100%; height: 100%; }
        .jp-post-card__image--graphic {
            background: linear-gradient(135deg, var(--jp-green-900), var(--jp-green-950));
        }
        .jp-post-card__image--graphic img {
            width: 66%;
            height: 82%;
            margin: auto;
            object-fit: contain;
            opacity: .9;
            filter: saturate(.9) brightness(1.15);
        }
        .jp-post-card__image--portrait {
            background: linear-gradient(135deg, #cfd3ce, #ebeee9);
        }
        .jp-post-card__image--portrait img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center bottom;
            filter: saturate(.88) contrast(1.04);
        }
        .jp-post-card__content { display: flex; flex: 1; flex-direction: column; padding: 25px; }
        .jp-post-card__date { flex-wrap: wrap; gap: 7px; }
        .jp-post-card h3 { font-size: 1.47rem; }
        .jp-post-card p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
        .jp-post-card .jp-text-link { margin-top: auto; }

        /* Full legal-firm footer and desktop quick-contact rail. */
        .jp-footer__cta { border-bottom: 1px solid rgba(255,255,255,.11); background: var(--jp-green-900); }
        .jp-footer__cta-inner {
            display: grid;
            grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
            gap: 50px;
            align-items: center;
            padding: 64px 0;
        }
        .jp-footer__cta h2 {
            max-width: 760px;
            margin-bottom: 14px;
            color: var(--jp-white);
            font-family: var(--jp-serif);
            font-size: clamp(2.2rem, 4vw, 4.45rem);
            font-weight: 500;
            letter-spacing: -.04em;
            line-height: .98;
        }
        .jp-footer__cta p { max-width: 760px; margin-bottom: 0; color: rgba(255,255,255,.67); }
        .jp-footer__cta-actions { display: grid; gap: 12px; }
        .jp-footer__cta-actions .jp-btn { width: 100%; }
        .jp-footer__main { padding-top: 66px; }
        .jp-footer__bottom { padding-bottom: 34px; }

        .jp-contact-rail {
            position: fixed;
            z-index: 115;
            right: 22px;
            bottom: 22px;
            display: grid;
            grid-template-columns: repeat(4, 86px);
            overflow: hidden;
            border: 1px solid rgba(163,123,51,.38);
            border-radius: 14px;
            background: rgba(11,24,32,.97);
            box-shadow: 0 20px 55px rgba(0,0,0,.34);
            backdrop-filter: blur(16px);
        }
        .jp-contact-rail a {
            display: flex;
            min-height: 72px;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 5px;
            border-right: 1px solid rgba(255,255,255,.13);
            color: var(--jp-white) !important;
            font-size: .68rem;
            font-weight: 850;
            letter-spacing: .05em;
            line-height: 1;
            text-transform: uppercase;
            transition: background .25s ease, color .25s ease;
        }
        .jp-contact-rail a:last-child { border-right: 0; }
        .jp-contact-rail a:hover { background: var(--jp-gold-500); color: var(--jp-green-950) !important; }
        .jp-contact-rail svg { width: 20px; height: 20px; }

        @media (max-width: 1100px) {
            .jp-practice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .jp-footer__cta-inner { grid-template-columns: 1fr; }
            .jp-footer__cta-actions { max-width: 460px; }
        }
        @media (max-width: 900px) {
            .jp-team-card__image { aspect-ratio: 1.1 / 1; }
            .jp-contact-rail { display: none; }
        }
        @media (max-width: 680px) {
            .jp-practice-grid { grid-template-columns: 1fr; }
            .jp-practice-card { min-height: 205px !important; }
            .jp-team-card__image { aspect-ratio: 1.08 / 1; }
            .jp-footer__cta-inner { padding: 52px 0; }
        }


        /* Official site palette: petroleum blue, bronze navigation and off-white text. */
        .jp-header,
        .jp-header.is-scrolled {
            background: #8A682A !important;
            border-bottom-color: rgba(245,245,245,.18);
        }
        .jp-nav > a:not(.jp-btn) { color: #F5F5F5; }
        .jp-nav > a:not(.jp-btn)::after { background: #F5F5F5; }
        .jp-nav > a:not(.jp-btn):hover { color: #F5F5F5; }
        .jp-header .jp-btn--gold,
        .jp-header a.jp-btn--gold {
            border-color: #0B1820 !important;
            background: #0B1820 !important;
            color: #F5F5F5 !important;
            box-shadow: 0 12px 28px rgba(11,24,32,.26);
        }
        .jp-header .jp-btn--gold:hover,
        .jp-header a.jp-btn--gold:hover {
            border-color: #102631 !important;
            background: #102631 !important;
        }
        .jp-topbar,
        .jp-hero,
        .jp-stats,
        .jp-footer,
        .jp-section--dark { background-color: #0B1820; }
        .jp-hero h1,
        .jp-heading--light,
        .jp-footer h2,
        .jp-footer h3 { color: #F5F5F5; }
        .jp-btn--gold,
        .jp-site a.jp-btn--gold {
            background: #8A682A !important;
            border-color: #8A682A !important;
            color: #F5F5F5 !important;
        }
        .jp-btn--gold:hover,
        .jp-site a.jp-btn--gold:hover {
            background: #A37B33 !important;
            border-color: #A37B33 !important;
            color: #F5F5F5 !important;
        }
        .jp-float-card__icon,
        .jp-mobile-bar__call { background: #8A682A; color: #F5F5F5; }
        .jp-contact-rail a:hover { background: #A37B33; color: #F5F5F5 !important; }

        /* Keep the consultation CTA visible against the bronze navigation. */
        .jp-header .jp-btn--gold,
        .jp-header a.jp-btn--gold,
        .jp-header .jp-btn--gold:hover,
        .jp-header a.jp-btn--gold:hover {
            border-color: #0B1820 !important;
            background: #0B1820 !important;
            color: #F5F5F5 !important;
        }

        @media (max-width: 900px) {
            .jp-nav { background: #8A682A; }
            .jp-menu-toggle { border-color: rgba(245,245,245,.28); }
            .jp-menu-toggle span,
            .jp-menu-toggle span::before,
            .jp-menu-toggle span::after { background: #F5F5F5; }
            .jp-menu-toggle.is-open span { background: transparent; }
        }

    

        /* FINAL REFINEMENTS — compact attorney cards, current firm content, one CTA and a complete intake form. */
        .jp-hero__portrait-frame img,
        .jp-about-visual__main img { object-position: center 12% !important; }
        .jp-hero__portrait-frame { aspect-ratio: .84; }

        .jp-team-grid { gap: 20px !important; align-items: start !important; }
        .jp-team-card {
            height: auto !important;
            min-height: 0 !important;
            align-self: start !important;
            border-radius: 20px !important;
        }
        .jp-team-card__image {
            aspect-ratio: 1.28 / 1 !important;
            min-height: 0 !important;
            flex: none !important;
        }
        .jp-team-card__image img { object-position: center 20% !important; }
        .jp-team-card:first-child .jp-team-card__image img { object-position: center 26% !important; }
        .jp-team-card:nth-child(2) .jp-team-card__image img { object-position: center 15% !important; }
        .jp-team-card:nth-child(3) .jp-team-card__image img { object-position: center 16% !important; }
        .jp-team-card__content {
            min-height: 0 !important;
            flex: none !important;
            gap: 0 !important;
            padding: 20px 22px 22px !important;
        }
        .jp-team-card__content h3 { margin: 0 0 4px !important; font-size: clamp(1.38rem, 1.8vw, 1.72rem) !important; }
        .jp-team-card__content .jp-team-card__role { margin: 0 0 10px !important; }
        .jp-team-card__bio {
            margin-bottom: 14px;
            color: var(--jp-muted);
            font-size: .85rem;
            line-height: 1.48;
        }
        .jp-team-card__content a { margin-top: 0 !important; }

        .jp-focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
        .jp-focus-card {
            display: flex;
            min-height: 350px;
            flex-direction: column;
            padding: 30px;
            border: 1px solid rgba(11,24,32,.12);
            border-radius: 22px;
            background: #fff;
            box-shadow: 0 14px 38px rgba(11,24,32,.06);
        }
        .jp-focus-card__number {
            margin-bottom: 28px;
            color: #8A682A;
            font-family: var(--jp-serif);
            font-size: 2rem;
            line-height: 1;
        }
        .jp-focus-card h3 { margin-bottom: 13px; color: #0B1820; font-family: var(--jp-serif); font-size: 1.62rem; font-weight: 500; line-height: 1.08; }
        .jp-focus-card p { margin-bottom: 22px; color: var(--jp-muted); font-size: .91rem; line-height: 1.62; }
        .jp-focus-card .jp-text-link { margin-top: auto; font-size: .8rem; }

        .jp-contact-section {
            position: relative;
            overflow: hidden;
            padding: 108px 0;
            background: #0B1820;
            color: #F5F5F5;
        }
        .jp-contact-section::before {
            content: '';
            position: absolute;
            top: -280px;
            left: -220px;
            width: 620px;
            height: 620px;
            border: 1px solid rgba(163,123,51,.2);
            border-radius: 50%;
            box-shadow: 0 0 0 85px rgba(163,123,51,.035), 0 0 0 170px rgba(163,123,51,.02);
        }
        .jp-contact-grid {
            position: relative;
            display: grid;
            grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
            gap: clamp(48px, 7vw, 96px);
            align-items: start;
        }
        .jp-contact-copy { position: sticky; top: 130px; }
        .jp-contact-copy h2 {
            margin-bottom: 22px;
            color: #F5F5F5;
            font-family: var(--jp-serif);
            font-size: clamp(3rem, 5.2vw, 5.6rem);
            font-weight: 500;
            letter-spacing: -.05em;
            line-height: .92;
        }
        .jp-contact-copy > p { max-width: 610px; color: rgba(245,245,245,.7); font-size: 1.02rem; }
        .jp-contact-copy > p a { color: #d6b36c; font-weight: 800; }
        .jp-contact-details { display: grid; gap: 12px; margin-top: 34px; }
        .jp-contact-details a {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            padding: 17px 18px;
            border: 1px solid rgba(245,245,245,.14);
            border-radius: 16px;
            background: rgba(245,245,245,.045);
        }
        .jp-contact-details svg { width: 23px; height: 23px; flex: 0 0 auto; margin-top: 4px; color: #A37B33; }
        .jp-contact-details small { display: block; margin-bottom: 2px; color: rgba(245,245,245,.52); font-size: .66rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
        .jp-contact-details strong { color: #F5F5F5; font-family: var(--jp-serif); font-size: 1.18rem; font-weight: 500; line-height: 1.35; }
        .jp-contact-form-wrap {
            padding: clamp(28px, 4vw, 48px);
            border: 1px solid rgba(245,245,245,.12);
            border-radius: 26px;
            background: #F5F5F5;
            box-shadow: 0 28px 70px rgba(0,0,0,.25);
        }
        .jp-contact-form { display: grid; gap: 17px; color: #0B1820; }
        .jp-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
        .jp-contact-form label:not(.jp-form-consent) { display: grid; gap: 7px; color: #0B1820; font-size: .78rem; font-weight: 800; letter-spacing: .025em; }
        .jp-contact-form label > span[aria-hidden="true"] { margin-left: 3px; color: #8A682A; }
        .jp-contact-form input,
        .jp-contact-form select,
        .jp-contact-form textarea {
            width: 100%;
            border: 1px solid rgba(11,24,32,.19);
            border-radius: 11px;
            outline: 0;
            background: #fff;
            color: #0B1820;
            font: inherit;
            font-size: .93rem;
            font-weight: 500;
            transition: border-color .2s ease, box-shadow .2s ease;
        }
        .jp-contact-form input,
        .jp-contact-form select { min-height: 50px; padding: 11px 13px; }
        .jp-contact-form textarea { min-height: 128px; padding: 13px; resize: vertical; }
        .jp-contact-form input:focus,
        .jp-contact-form select:focus,
        .jp-contact-form textarea:focus { border-color: #8A682A; box-shadow: 0 0 0 3px rgba(138,104,42,.13); }
        .jp-form-consent { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; color: #59635f; font-size: .72rem; line-height: 1.48; }
        .jp-form-consent input { width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; accent-color: #8A682A; }
        .jp-contact-form .jp-btn { width: 100%; cursor: pointer; }
        .jp-form-note { margin: -5px 0 0; color: #747d79; font-size: .7rem; text-align: center; }

        .jp-footer__main { padding-top: 72px !important; }

        @media (max-width: 1000px) {
            .jp-focus-grid { grid-template-columns: 1fr; }
            .jp-focus-card { min-height: 0; }
            .jp-contact-grid { grid-template-columns: 1fr; }
            .jp-contact-copy { position: static; }
        }
        @media (max-width: 900px) {
            .jp-team-grid { grid-template-columns: 1fr !important; }
            .jp-team-card:last-child { grid-column: auto !important; max-width: none !important; }
            .jp-team-card { display: grid !important; grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr); align-items: stretch !important; }
            .jp-team-card__image { height: 100%; aspect-ratio: auto !important; min-height: 260px !important; }
            .jp-team-card__content { justify-content: center; }
        }
        @media (max-width: 680px) {
            .jp-contact-section { padding: 78px 0 92px; }
            .jp-contact-form-wrap { padding: 24px 18px; border-radius: 20px; }
            .jp-form-row { grid-template-columns: 1fr; }
            .jp-team-card { display: flex !important; }
            .jp-team-card__image { min-height: 0 !important; aspect-ratio: 1.15 / 1 !important; }
        }


        /* LAWYER CARDS — final compact override */
        #attorneys .jp-team-grid {
            display: grid !important;
            grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
            grid-auto-rows: max-content !important;
            align-items: start !important;
            gap: 20px !important;
        }
        #attorneys .jp-team-card {
            display: block !important;
            height: max-content !important;
            min-height: 0 !important;
            max-height: none !important;
            align-self: start !important;
            overflow: hidden !important;
            background: #ffffff !important;
        }
        #attorneys .jp-team-card__image {
            display: block !important;
            width: 100% !important;
            height: auto !important;
            min-height: 0 !important;
            aspect-ratio: 1.32 / 1 !important;
            overflow: hidden !important;
        }
        #attorneys .jp-team-card__image img {
            display: block !important;
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
        }
        #attorneys .jp-team-card__content {
            position: static !important;
            display: block !important;
            width: 100% !important;
            height: auto !important;
            min-height: 0 !important;
            max-height: none !important;
            padding: 18px 22px 20px !important;
            background: #ffffff !important;
        }
        #attorneys .jp-team-card__content h3 {
            margin: 0 0 4px !important;
            line-height: 1.08 !important;
        }
        #attorneys .jp-team-card__role {
            margin: 0 0 9px !important;
        }
        #attorneys .jp-team-card__bio {
            margin: 0 0 13px !important;
            min-height: 0 !important;
            line-height: 1.45 !important;
        }
        #attorneys .jp-team-card__content a {
            display: inline-flex !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        @media (max-width: 900px) {
            #attorneys .jp-team-grid {
                grid-template-columns: 1fr !important;
            }
            #attorneys .jp-team-card {
                display: grid !important;
                grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr) !important;
            }
            #attorneys .jp-team-card__image {
                height: 100% !important;
                aspect-ratio: auto !important;
                min-height: 250px !important;
            }
            #attorneys .jp-team-card__content {
                align-self: center !important;
                padding: 24px !important;
            }
        }

        @media (max-width: 620px) {
            #attorneys .jp-team-card {
                display: block !important;
            }
            #attorneys .jp-team-card__image {
                height: auto !important;
                min-height: 0 !important;
                aspect-ratio: 1.18 / 1 !important;
            }
        }


        /* Final practice-area spacing correction. */
        .jp-practice-grid {
            gap: 16px !important;
            align-items: start !important;
        }
        .jp-practice-card {
            height: 280px !important;
            min-height: 0 !important;
            padding: 22px !important;
            justify-content: flex-start !important;
            align-self: start !important;
        }
        .jp-practice-card > div:last-child {
            display: flex;
            min-height: 0;
            flex-direction: column;
            align-items: flex-start;
        }
        .jp-practice-card__icon {
            width: 44px !important;
            height: 44px !important;
            border-radius: 12px !important;
        }
        .jp-practice-card__icon svg {
            width: 22px !important;
            height: 22px !important;
        }
        .jp-practice-card h3 {
            margin: 17px 0 6px !important;
            font-size: 1.38rem !important;
            line-height: 1.08 !important;
        }
        .jp-practice-card p {
            margin: 0 0 15px !important;
            font-size: .86rem !important;
            line-height: 1.48 !important;
        }
        .jp-practice-card__arrow {
            margin-top: 0 !important;
            font-size: .78rem !important;
        }

        @media (max-width: 1100px) {
            .jp-practice-card {
                height: 250px !important;
            }
        }
        @media (max-width: 680px) {
            .jp-practice-card {
                height: auto !important;
                min-height: 0 !important;
                padding: 21px !important;
            }
        }

    

        /* WordPress / Divi child-theme compatibility. */
        body.jp-modern-home #page-container,
        body.jp-modern-home #et-main-area,
        body.jp-modern-home #main-content { padding: 0 !important; margin: 0 !important; }
        body.jp-modern-home .jp-site { width: 100%; max-width: none; }
        body.jp-modern-home #wpadminbar { z-index: 999999; }
        .jp-hp { position: absolute !important; left: -99999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
        .jp-form-alert { padding: 13px 15px; border-radius: 12px; font-size: .9rem; font-weight: 750; line-height: 1.45; }
        .jp-form-alert--success { border: 1px solid rgba(36, 117, 72, .25); background: rgba(36, 117, 72, .10); color: #184d31; }
        .jp-form-alert--error { border: 1px solid rgba(164, 52, 52, .25); background: rgba(164, 52, 52, .09); color: #7a2727; }
