:root {
    --primary-red: #c62127;
    --deep-navy: #1a2433;
    --off-white: #f5f5f6;
    --light-gray: #eceef1;
    --white: #ffffff;
    --text-dark: #1f2732;
    --text-muted: #5d6673;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
    --border-radius: 8px;
    --shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    --soft-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    --transition: all 0.28s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.65;
}

p {
    text-align: justify;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--heading-font);
    line-height: 1.1;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: min(1200px, 92vw);
    margin-inline: auto;
}

.section {
    padding: 4rem 0;
}

.bg-light {
    background: var(--off-white);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 0.82rem 1.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background: #aa171d;
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--deep-navy);
}

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-outline {
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--deep-navy);
}

.btn-ghost-red {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.btn-ghost-red:hover {
    background: var(--primary-red);
    color: var(--white);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    transition: var(--transition);
    background: linear-gradient(95deg, rgba(146, 17, 24, 0.9) 0%, rgba(30, 16, 19, 0.95) 70%);
}

.site-header.scrolled,
.site-header.solid {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.header-container {
    min-height: 82px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.site-header.scrolled .mobile-nav-toggle,
.site-header.solid .mobile-nav-toggle {
    color: var(--text-dark);
}

.logo img {
    width: 80px;
    height: 80px;
    display: block;
    transition: var(--transition);
}




.nav-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.95);
    border-bottom: 2px solid transparent;
    padding-bottom: 0.2rem;
}

.nav-link.active,
.nav-link:hover {
    color: var(--primary-red);
    border-bottom-color: color-mix(in srgb, var(--primary-red), transparent 40%);
}

.site-header.solid .nav-link,
.site-header.scrolled .nav-link {
    color: #4a4f57;
}

.site-header.solid .nav-link.active,
.site-header.solid .nav-link:hover,
.site-header.scrolled .nav-link.active,
.site-header.scrolled .nav-link:hover {
    color: var(--primary-red);
}

.hero {
    min-height: 82vh;
    background: url('https://placehold.co/1920x1080?text=Professional+Legal+Gavel+and+Scales+Background') center/cover no-repeat;
    color: var(--white);
    position: relative;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(95deg, rgba(146, 17, 24, 0.9) 0%, rgba(30, 16, 19, 0.95) 70%);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 370px;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 5.2rem 0 3.5rem;
}


.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: var(--soft-shadow);
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
    min-width: 220px;
    z-index: 1000;
    border-top: 3px solid var(--primary-red);
}

/* Bridge the gap between trigger and menu to maintain hover */
.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

@media (min-width: 701px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--primary-red);
    font-size: 0.85rem;
    font-family: var(--body-font);
}

.dropdown-menu a:hover {
    background-color: rgba(198, 33, 39, 0.05);
    color: var(--primary-red);
}


@media (max-width: 700px) {
    .dropdown-menu {
        position: static;
        display: none;
        background: transparent;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }
}
.hero-tagline {
    display: flex; /* Changed to flex to align spans easily */
    gap: 0.9rem;   /* Space between the line and the previous word */
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.74rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}


.hero-tagline span {
    display: inline-block;
    border-left: 3px solid var(--white);
    padding-left: 0.9rem;
    line-height: 1.5; /* Ensures the height of the line matches the text height */
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.15rem);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-support-card {
    background: rgba(255, 255, 255, 0.97);
    color: var(--text-dark);
    border-top: 3px solid var(--primary-red);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.45rem;
}

.hero-support-card h2 {
    color: var(--primary-red);
    text-transform: uppercase;
    font-size: 1.08rem;
    margin-bottom: 0.7rem;
}

.hero-support-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
}

.hero-support-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    margin-bottom: 0.4rem;
}

.hero-support-list li::before {
    content: '•';
    color: var(--primary-red);
}

.hero-support-image {
    width: 100%;
    border-radius: var(--border-radius);
    margin-top: 1.2rem;
    display: block;
    box-shadow: var(--soft-shadow);
}

.section-header {
    max-width: 760px;
    margin-inline: auto;
    margin-bottom: 2.5rem;
    text-align: center;
}

.section-tag {
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.71rem;
    font-weight: 700;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    margin: 0.7rem 0;
}

.section-header p {
    color: var(--text-muted);
}

.expertise-grid,
.practice-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
}

.expertise-card,
.practice-card {
    background: var(--white);
    border: 1px solid #ebedf0;
    border-radius: var(--border-radius);
    box-shadow: var(--soft-shadow);
    padding: 1.4rem 1.2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.expertise-card:hover,
.practice-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.expertise-icon,
.practice-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #fde9ea;
    color: var(--primary-red);
    margin-bottom: 0.95rem;
}

.expertise-card h3,
.practice-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.55rem;
}

.expertise-card p,
.practice-card p {
    color: var(--text-muted);
    font-size: 0.86rem;
    margin-bottom: 0.75rem;
}

.learn-more {
    color: var(--primary-red);
    font-size: 0.82rem;
    font-weight: 700;
}

.leadership-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.3rem;
    align-items: center;
}

.leadership-image-wrap {
    position: relative;
}

.leadership-image-wrap::before {
    content: '';
    position: absolute;
    inset: -16px 30% -16px -16px;
    z-index: -1;
    background: linear-gradient(180deg, #f9dfe0, transparent);
    border-radius: var(--border-radius);
}

.leadership-image {
    width: 100%;
    display: block;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.portrait-caption {
    position: absolute;
    left: 1rem;
    bottom: 0.8rem;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.portrait-caption h3 {
    font-size: 1.35rem;
}

.portrait-caption p {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.leadership-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.leadership-content > p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.value-box {
    border-left: 3px solid var(--primary-red);
    background: #f7f7f8;
    border-radius: var(--border-radius);
    padding: 1.15rem;
    margin-bottom: 1rem;
}

.value-box h4 {
    margin-bottom: 0.7rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-bottom: 0.4rem;
    font-size: 0.87rem;
}

.check-list i {
    color: var(--primary-red);
    margin-top: 0.22rem;
}

.stats-strip {
    background: var(--primary-red);
    color: var(--white);
    padding: 2.6rem 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-item {
    text-align: center;
    padding: 0 0.75rem;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.stat-item:last-child {
    border-right: 0;
}

.stat-item i {
    font-size: 1.28rem;
    margin-bottom: 0.7rem;
}

.stat-item h3 {
    font-size: 1.9rem;
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.86rem;
}

.page-hero {
    padding: 3.5rem 0 2rem;
    background: linear-gradient(165deg, #f4f4f5 0%, #eceff2 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 0.8rem;
    color: var(--deep-navy);
}

.page-hero p {
    color: var(--text-muted);
    max-width: 700px;
    margin-inline: auto;
}

.breadcrumb-locations {
    margin-top: 1.2rem;
    color: var(--primary-red);
    letter-spacing: 0.04em;
    font-size: 0.92rem;
}

.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.about-copy {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--soft-shadow);
    padding: 2rem;
}

.about-copy h2 {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    margin-bottom: 0.8rem;
}

.about-copy h2 span {
    color: var(--primary-red);
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-grid {
    display: grid;
    gap: 1.5rem;
}

.team-card {
    display: grid;
    grid-template-columns: 260px 1fr;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #ececec;
    box-shadow: var(--soft-shadow);
}

.team-card.reverse {
    grid-template-columns: 1fr 260px;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-content {
    padding: 1.2rem 1.5rem;
}

.team-content h3 {
    color: var(--primary-red);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.team-role {
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}

.law-box {
    background: #f8efef;
    border-left: 3px solid var(--primary-red);
    border-radius: 12px;
    padding: 0.8rem;
}

.law-box h4 {
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.law-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 1.2rem;
}

.law-columns li {
    font-size: 0.85rem;
    color: #444f5d;
}

.law-columns li::before,
.practice-list li::before {
    content: '•';
    color: var(--primary-red);
    margin-right: 0.45rem;
}

.practice-card {
    border-top: 3px solid var(--primary-red);
    min-height: 290px;
}

.practice-watermark {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 4.2rem;
    color: rgba(198, 33, 39, 0.1);
}

.practice-list li {
    font-size: 0.84rem;
    color: #3f4a58;
}

.cta-band {
    background: linear-gradient(90deg, #ba1218, #d3161d);
    color: var(--white);
    border-radius: 14px;
    padding: 2.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cta-band h3 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.contact-hero {
    background: linear-gradient(rgba(198, 33, 39, 0.95), rgba(198, 33, 39, 0.95)),
        url('https://placehold.co/1920x700?text=Legal+Consultation+Background') center/cover no-repeat;
    color: var(--white);
    text-align: center;
    padding: 4rem 0 5rem;
}

.contact-hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 0.8rem;
}

.contact-layout {
    margin-top: -3.5rem;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
}

.contact-info,
.contact-form-wrap {
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 1.4rem;
}

.contact-info h2,
.contact-form-wrap h2 {
    margin-bottom: 0.8rem;
}

.info-item {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.info-item i {
    color: var(--primary-red);
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fdecec;
}

.office-badges {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
}

.office-badge {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-align: center;
    padding: 0.7rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-red);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid #d8dce3;
    border-radius: 7px;
    padding: 0.72rem 0.78rem;
    font: inherit;
    font-size: 0.88rem;
}

.contact-form textarea {
    min-height: 100px;
    resize: vertical;
}

.form-span {
    grid-column: 1 / -1;
}

.site-footer {
    background: var(--deep-navy);
    color: var(--white);
    padding: 3.2rem 0 1.4rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 1.8rem;
    margin-bottom: 1.7rem;
}

.footer-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 0.9rem;
}

.footer-col h4 {
    margin-bottom: 0.8rem;
}

.footer-col p,
.footer-links a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.85rem;
}

.footer-links li {
    margin-bottom: 0.55rem;
}

.footer-links a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 0.65rem;
}

.social-link {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.14);
}

.social-link:hover {
    background: var(--primary-red);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 0.9rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1024px) {
    .header-container {
        grid-template-columns: auto 1fr;
    }

    .header-container .btn {
        display: none;
    }

    .hero-layout,
    .leadership-section,
    .about-split,
    .contact-layout,
    .footer-grid,
    .stats-container,
    .team-card,
    .team-card.reverse {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 78vh;
    }

    .expertise-grid,
    .practice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-card.reverse .team-photo {
        order: -1;
    }
}

@media (max-width: 700px) {
    .mobile-nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        inset: 82px 0 0 0;
        background: var(--deep-navy);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        z-index: 100;
        text-align: center;
    }

    .site-header.scrolled .nav-links,
    .site-header.solid .nav-links {
        background: var(--white);
        top: 82px;
    }

    .site-header.scrolled .nav-link,
    .site-header.solid .nav-link {
        color: var(--text-dark);
    }

    .nav-open .nav-links {
        display: flex;
    }

    .nav-open {
        overflow: hidden;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .hero {
        min-height: 72vh;
    }

    .hero-layout {
        padding: 4.8rem 0 3rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: flex-start;
    }

    .expertise-grid,
    .practice-grid,
    .office-badges,
    .form-grid,
    .law-columns {
        grid-template-columns: 1fr;
    }

    .cta-band {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.35rem;
    }

    .stat-item {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
        padding: 1rem 0.4rem;
    }

    .stat-item:last-child {
        border-bottom: 0;
    }
}


.associates-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 320px)) !important;
    justify-content: center !important; /* Centering for Pupil/Intern with single items */
    gap: 1.8rem !important;
    margin-top: 1.5rem;
    max-width: 1200px; /* Constrain grid width on desktop */
    margin-inline: auto;
}

.associate-card {
    transition: var(--transition);
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%; /* Take up the grid cell width */
}

.team-photo img, 
.associate-image-wrap img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top;
    display: block;
}

.team-card:hover, .associate-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.team-card, .associate-card {
    position: relative;
    cursor: pointer;
}

.view-bio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(156, 17, 24, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 2;
}

.team-card:hover .view-bio-overlay, 
.associate-card:hover .view-bio-overlay {
    opacity: 1;
}

.associate-info-mobile {
    padding: 1rem;
    text-align: left; /* Aligned left to match red accent style */
    background: #f8efef; /* Light red background like law-box */
    border-left: 3px solid var(--primary-red); /* Red accent vertical line */
    flex-grow: 1;
}

.associate-info-mobile h4 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
    font-family: var(--heading-font);
}

.associate-info-mobile p {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    color: var(--text-muted);
}

/* Bio Page Specifics */
.bio-prestige-layout {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 4rem;
    align-items: start;
}

.bio-image-wrap {
    position: sticky;
    top: 120px;
}

.bio-image {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.bio-content {
    line-height: 1.8;
}

.bio-content h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-red);
}

.bio-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.bio-section-header {
    font-family: var(--heading-font);
    font-weight: 800;
    color: var(--primary-red);
    text-transform: uppercase;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.bio-narrative p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

@media (max-width: 1024px) {
    .bio-prestige-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .bio-image-wrap {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .team-card, .team-card.reverse {
        grid-template-columns: 1fr;
    }
    
    .team-photo {
        order: -1 !important;
    }

    .associates-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Judgements List & Detail Styles */
.judgments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 5px;
}

.judgment-card {
    background: var(--white);
    border: 1px solid #ebedf0;
    border-radius: var(--border-radius);
    box-shadow: var(--soft-shadow);
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.judgment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.judgment-tag {
    display: inline-block;
    background: rgba(198, 33, 39, 0.1);
    color: var(--primary-red);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 1.2rem;
    align-self: flex-start;
}

.judgment-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.judgment-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-ghost-red {
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    background: transparent;
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    display: inline-block;
    text-align: center;
}

.btn-ghost-red:hover {
    background: var(--primary-red);
    color: var(--white);
}

/* Success Grid Styles */
.success-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.success-metric {
    font-family: var(--heading-font);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--primary-red);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.success-grid .expertise-card {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.success-grid .expertise-card:nth-child(1) { animation-delay: 0.1s; }
.success-grid .expertise-card:nth-child(2) { animation-delay: 0.2s; }
.success-grid .expertise-card:nth-child(3) { animation-delay: 0.3s; }

/* Legal Brief Detail Page */
.legal-brief-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
}

.back-link:hover {
    color: var(--primary-red);
}

.legal-brief-header {
    margin-bottom: 3rem;
}

.legal-brief-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1.5rem;
    color: var(--deep-navy);
}

.legal-narrative {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.legal-narrative p {
    margin-bottom: 1.5rem;
}

.accent-box {
    background: #fdf2f2;
    border-left: 4px solid var(--primary-red);
    padding: 1.8rem;
    margin: 2.5rem 0;
    border-radius: 0 8px 8px 0;
}

.accent-box p {
    margin-bottom: 0;
    font-weight: 600;
    font-family: var(--heading-font);
    color: var(--deep-navy);
    font-size: 1.15rem;
}

.legal-quote {
    position: relative;
    padding: 3rem;
    margin: 3rem 0;
    background: var(--deep-navy);
    color: var(--white);
    border-radius: 12px;
    text-align: center;
}

.legal-quote i {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.1);
}

.legal-quote blockquote {
    font-family: var(--heading-font);
    font-size: 1.6rem;
    font-weight: 700;
    font-style: italic;
}

.takeaways-list {
    margin: 2.5rem 0;
}

.takeaway-item {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.takeaway-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.takeaway-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--primary-red);
}

@media (max-width: 900px) {
    .judgments-grid,
    .success-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .legal-brief-container {
        padding: 0 1rem;
        margin: 2.5rem auto;
    }
    
    .legal-quote {
        padding: 2rem 1.5rem;
    }
    
    .legal-quote blockquote {
        font-size: 1.3rem;
    }
}

.team-card-link { display: block; color: inherit; text-decoration: none; }

