:root {
    --brand-navy: #070F2B;
    --brand-gold: #cbbf83;
    --brand-maroon: #a21420;
    --brand-bronze: #b6844a;
    --brand-white: #ffffff;
    --brand-page-bg-base: #FAF3E1;
    --brand-page-bg:
        radial-gradient(circle at 12% 8%, rgba(162, 20, 32, 0.07), rgba(162, 20, 32, 0) 28%),
        radial-gradient(circle at 88% 18%, rgba(203, 191, 131, 0.24), rgba(203, 191, 131, 0) 30%),
        linear-gradient(135deg, rgba(250, 243, 225, 1) 0%, rgba(250, 243, 225, 1) 48%, rgba(162, 20, 32, 0.045) 100%),
        var(--brand-page-bg-base);
    --brand-page-panel: rgba(255, 255, 255, 0.92);
    --brand-font-family: Verdana, Geneva, Tahoma, sans-serif;
}

html,
body {
    background: var(--brand-page-bg);
    color: #1f2937;
    font-family: var(--brand-font-family);
    font-size: 0.96rem;
    line-height: 1.68;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    line-height: 1.15;
}

body {
    min-height: 100vh;
}

body.site-body {
    padding-bottom: 0;
    background: var(--brand-page-bg);
}

a {
    text-decoration: none;
}

.text-navy {
    color: var(--brand-navy);
}

.text-gold {
    color: var(--brand-gold);
}

.site-header .navbar {
    border-bottom: 1px solid rgba(162, 20, 32, 0.12);
}

.site-navbar {
    background: #fff;
    backdrop-filter: blur(10px);
}

.brand-mark {
    padding: 0.25rem 0.25rem;
}

.brand-logo-full {
    width: auto;
    height: clamp(52px, 5vw, 74px);
    max-width: min(280px, 70vw);
    object-fit: contain;
}

.brand-logo-full--footer {
    height: clamp(58px, 5vw, 82px);
    max-width: min(300px, 80vw);
}

.footer-brand-copy {
    max-width: 18rem;
    font-size: 0.9rem;
    line-height: 1.65;
}

.site-footer {
    background: #fff;
}

.site-footer a {
    color: var(--brand-navy);
}

.site-footer a:hover {
    color: var(--brand-maroon);
}

.navbar .nav-link {
    color: var(--brand-navy);
    font-weight: 500;
    font-size: 0.84rem;
    letter-spacing: 0.03em;
    text-transform: lowercase;
}

.navbar .nav-link::first-letter {
    text-transform: uppercase;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--brand-gold);
}

.btn-brand-primary,
.btn-brand-outline {
    border-radius: 999px;
    padding: 0.7rem 1.2rem;
    font-weight: 500;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn-brand-primary {
    background-color: var(--brand-navy) !important;
    color: #fff !important;
    border: 1px solid var(--brand-navy) !important;
    box-shadow: 0 12px 30px rgba(7, 15, 43, 0.14);
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--brand-navy);
    --bs-btn-border-color: var(--brand-navy);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #171b55;
    --bs-btn-hover-border-color: #171b55;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #171b55;
    --bs-btn-active-border-color: #171b55;
}

.btn-brand-primary:hover {
    background-color: #171b55 !important;
    border-color: #171b55 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.btn-header-consultation {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.48rem 0.9rem 0.48rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(7, 15, 43, 0.12);
    background: #fff;
    color: var(--brand-navy) !important;
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    box-shadow: none;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
    --bs-btn-color: var(--brand-navy);
    --bs-btn-bg: #fff;
    --bs-btn-border-color: rgba(7, 15, 43, 0.12);
    --bs-btn-hover-color: var(--brand-navy);
    --bs-btn-hover-bg: #f8fafc;
    --bs-btn-hover-border-color: rgba(7, 15, 43, 0.2);
    --bs-btn-active-color: var(--brand-navy);
    --bs-btn-active-bg: #f8fafc;
    --bs-btn-active-border-color: rgba(7, 15, 43, 0.2);
}

.site-header .navbar .container {
    max-width: 1320px;
    padding-top: clamp(0.35rem, 0.8vw, 0.8rem);
    padding-bottom: clamp(0.35rem, 0.8vw, 0.8rem);
    padding-left: clamp(3.5rem, 5vw, 7rem);
    padding-right: clamp(3.5rem, 5vw, 7rem);
}

.site-main .container {
    max-width: 1320px;
    padding-left: clamp(3.5rem, 5vw, 7rem);
    padding-right: clamp(3.5rem, 5vw, 7rem);
}

.btn-header-consultation:hover,
.btn-header-consultation:focus,
.btn-header-consultation:active {
    background: #f8fafc;
    border-color: rgba(7, 15, 43, 0.2);
    color: var(--brand-navy);
}

.btn-brand-outline {
    border: 1px solid var(--brand-navy);
    color: var(--brand-navy);
    background: #fff;
}

.btn-brand-outline:hover {
    background: var(--brand-navy);
    border-color: var(--brand-navy);
    color: #fff;
    transform: translateY(-1px);
}

.site-main {
    overflow: hidden;
    background: var(--brand-page-bg);
}

.legacy-hero-section {
    --legacy-maroon: var(--brand-maroon);
    --legacy-blue: #070F2B;
    --legacy-bronze: #b6844a;
    --legacy-ink: #111827;
    --legacy-muted: #5e6b7d;
    position: relative;
    overflow: hidden;
    min-height: calc(100svh - 5.5rem);
    padding: 0 0 clamp(3.5rem, 6vw, 5.4rem);
    background: var(--legacy-blue);
}

.legacy-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.legacy-hero-background__slide {
    position: absolute;
    inset: 0;
    background-color: var(--legacy-blue);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% auto;
    opacity: 0;
    transform: none;
    transition: opacity 900ms ease;
}

.legacy-hero-background__slide.is-active {
    opacity: 1;
    transform: none;
}

.legacy-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(5, 8, 22, 0.66) 0%, rgba(5, 8, 22, 0.32) 50%, rgba(5, 8, 22, 0.66) 100%),
        linear-gradient(180deg, rgba(7, 15, 43, 0.22) 0%, rgba(7, 15, 43, 0.18) 44%, rgba(5, 8, 22, 0.4) 100%);
}

.legacy-hero-section .container {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    padding-left: clamp(1.25rem, 4vw, 4.5rem);
    padding-right: clamp(1.25rem, 4vw, 4.5rem);
}

.legacy-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    place-items: center;
    min-height: calc(100svh - 5.5rem);
    padding: clamp(4rem, 10vw, 7.5rem) 0;
}

.legacy-hero-copy {
    min-width: 0;
    width: min(100%, 52rem);
    max-width: 52rem;
    margin-inline: auto;
    text-align: center;
}

.legacy-hero-eyebrow {
    margin: 0 0 0.9rem;
    color: #d9b27c;
    font-size: clamp(0.8rem, 1.2vw, 0.95rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.legacy-hero-kicker {
    margin: 0 0 1rem;
    color: var(--legacy-bronze);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.35;
    text-transform: uppercase;
}

.legacy-hero-title {
    max-width: none;
    margin: 0 auto;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.75rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: normal;
    white-space: normal;
}

.legacy-hero-title span {
    display: block;
}

.legacy-hero-subtitle {
    margin: 1.1rem 0 0;
    color: #d9b27c;
    font-size: clamp(1.08rem, 2vw, 1.55rem);
    font-weight: 400;
    line-height: 1.35;
}

.legacy-hero-text {
    max-width: 42rem;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(0.95rem, 1.2vw, 1.04rem);
    font-weight: 400;
    line-height: 1.8;
    overflow-wrap: break-word;
}

.legacy-hero-rotator {
    position: relative;
    width: min(100%, 42rem);
    height: 6.2rem;
    margin: 1.3rem auto 0;
}

.legacy-hero-rotator .legacy-hero-text {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(0.45rem);
    transition: opacity 350ms ease, transform 350ms ease;
}

.legacy-hero-rotator .legacy-hero-text.is-active {
    opacity: 1;
    transform: translateY(0);
}

.legacy-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1.7rem;
}

.legacy-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.78rem 1.2rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.legacy-hero-button--primary {
    border: 1px solid #fff;
    background: #fff;
    color: var(--legacy-blue);
    box-shadow: 0 16px 34px rgba(23, 32, 95, 0.16);
}

.legacy-hero-button--ghost {
    border: 1px solid rgba(255, 255, 255, 0.52);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.legacy-hero-button:hover,
.legacy-hero-button:focus {
    transform: translateY(-2px);
}

.legacy-hero-button--primary:hover,
.legacy-hero-button--primary:focus {
    border-color: var(--legacy-maroon);
    background: var(--legacy-maroon);
    color: #fff;
    box-shadow: 0 18px 38px rgba(111, 29, 46, 0.18);
}

.legacy-hero-button--ghost:hover,
.legacy-hero-button--ghost:focus {
    border-color: var(--legacy-bronze);
    background: rgba(182, 132, 74, 0.16);
    color: #fff;
}

.legacy-ecosystem {
    position: relative;
    width: min(100%, 28rem);
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(23, 32, 95, 0.1);
    border-radius: 0.5rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.96)),
        linear-gradient(135deg, rgba(111, 29, 46, 0.08), rgba(182, 132, 74, 0.1));
    box-shadow: 0 26px 70px rgba(17, 24, 39, 0.09);
    animation: legacyFloat 6s ease-in-out infinite;
}

.legacy-orbit {
    position: absolute;
    border: 1px solid rgba(182, 132, 74, 0.28);
    border-radius: 50%;
    inset: 12%;
}

.legacy-orbit--inner {
    inset: 24%;
    border-color: rgba(23, 32, 95, 0.13);
}

.legacy-core {
    position: absolute;
    left: 50%;
    top: 18%;
    z-index: 2;
    width: 7.2rem;
    height: 7.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(182, 132, 74, 0.52);
    border-radius: 50%;
    background: var(--legacy-blue);
    color: #fff;
    box-shadow: 0 20px 38px rgba(23, 32, 95, 0.2);
    transform: translateX(-50%);
}

.legacy-core span {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.75rem;
    line-height: 1;
}

.legacy-core small {
    margin-top: 0.25rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.72rem;
    letter-spacing: 0;
}

.legacy-tree {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.legacy-tree__trunk,
.legacy-tree__branch {
    position: absolute;
    left: 50%;
    top: 43%;
    display: block;
    height: 2px;
    background: linear-gradient(90deg, rgba(182, 132, 74, 0), var(--legacy-bronze), rgba(182, 132, 74, 0));
    transform-origin: left center;
}

.legacy-tree__trunk {
    --legacy-line-transform: translateX(-50%) rotate(90deg);
    width: 27%;
    transform: translateX(-50%) rotate(90deg) scaleX(0);
    animation: legacyLineDraw 1100ms ease 260ms forwards;
}

.legacy-tree__branch--left {
    --legacy-line-transform: rotate(146deg);
    width: 30%;
    transform: rotate(146deg) scaleX(0);
    animation: legacyLineDraw 1100ms ease 520ms forwards;
}

.legacy-tree__branch--right {
    --legacy-line-transform: rotate(34deg);
    width: 30%;
    transform: rotate(34deg) scaleX(0);
    animation: legacyLineDraw 1100ms ease 520ms forwards;
}

.legacy-tree__node {
    position: absolute;
    z-index: 2;
    width: 0.9rem;
    height: 0.9rem;
    display: block;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(23, 32, 95, 0.12), 0 10px 18px rgba(17, 24, 39, 0.12);
}

.legacy-tree__node--consult {
    left: 47.5%;
    top: 67%;
    background: var(--legacy-blue);
}

.legacy-tree__node--tax {
    left: 26%;
    top: 56%;
    background: var(--legacy-maroon);
}

.legacy-tree__node--finance {
    right: 26%;
    top: 56%;
    background: var(--legacy-bronze);
}

.legacy-pillars {
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: 14%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
    gap: 1.1rem;
}

.legacy-pillar {
    position: relative;
    display: block;
    height: 7rem;
    border-radius: 0.35rem 0.35rem 0.18rem 0.18rem;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.08), 0 18px 26px rgba(17, 24, 39, 0.08);
}

.legacy-pillar::before,
.legacy-pillar::after {
    content: "";
    position: absolute;
    left: -0.28rem;
    right: -0.28rem;
    height: 0.5rem;
    border-radius: 0.18rem;
    background: currentColor;
}

.legacy-pillar::before {
    top: -0.42rem;
}

.legacy-pillar::after {
    bottom: -0.42rem;
}

.legacy-pillar--maroon {
    height: 5.7rem;
    color: var(--legacy-maroon);
}

.legacy-pillar--blue {
    height: 7.6rem;
    color: var(--legacy-blue);
}

.legacy-pillar--bronze {
    height: 6.4rem;
    color: var(--legacy-bronze);
}

.legacy-growth-mark {
    position: absolute;
    right: 10%;
    top: 10%;
    display: flex;
    align-items: end;
    gap: 0.32rem;
}

.legacy-growth-mark span {
    display: block;
    width: 0.36rem;
    border-radius: 999px;
    background: var(--legacy-bronze);
    opacity: 0.85;
}

.legacy-growth-mark span:nth-child(1) {
    height: 1.4rem;
}

.legacy-growth-mark span:nth-child(2) {
    height: 2rem;
    background: var(--legacy-maroon);
}

.legacy-growth-mark span:nth-child(3) {
    height: 2.75rem;
    background: var(--legacy-blue);
}

.legacy-card-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.18fr repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: clamp(2rem, 4vw, 3.2rem);
    padding-top: 1.7rem;
}

.legacy-card-heading {
    max-width: 48rem;
    margin: clamp(3rem, 6vw, 5rem) auto 0;
    text-align: center;
}

.legacy-card-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 400;
    line-height: 1.12;
}

.legacy-card-heading p {
    margin: 0.85rem 0 0;
    color: #d9b27c;
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    line-height: 1.4;
}

.legacy-card-heading + .legacy-card-grid {
    margin-top: 1.35rem;
}

.legacy-card-grid::before {
    content: "";
    position: absolute;
    top: 0.55rem;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, rgba(111, 29, 46, 0), rgba(111, 29, 46, 0.45), rgba(182, 132, 74, 0.7), rgba(23, 32, 95, 0.45), rgba(23, 32, 95, 0));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
    animation: legacyConnectionDraw 900ms cubic-bezier(0.22, 1, 0.36, 1) 620ms forwards;
}

.legacy-card-grid.is-visible::before {
    transform: scaleX(1);
}

.legacy-firm-card {
    position: relative;
    min-height: 16rem;
    display: flex;
    flex-direction: column;
    padding: clamp(1.35rem, 2vw, 1.8rem);
    border: 1px solid rgba(23, 32, 95, 0.1);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.055);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.legacy-firm-card__media {
    position: relative;
    overflow: hidden;
    display: block;
    margin-bottom: 1rem;
    border-radius: 0.35rem;
    background: linear-gradient(135deg, rgba(7, 15, 43, 0.1), rgba(182, 132, 74, 0.16));
}

.legacy-firm-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 15, 43, 0.02) 0%, rgba(7, 15, 43, 0.18) 100%);
}

.legacy-firm-card__media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.legacy-firm-card__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.legacy-firm-card::before {
    content: "";
    position: absolute;
    left: 1.35rem;
    right: 1.35rem;
    top: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--legacy-blue);
}

.legacy-firm-card:hover {
    transform: translateY(-5px);
    border-color: rgba(182, 132, 74, 0.36);
    box-shadow: 0 24px 55px rgba(17, 24, 39, 0.095);
}

.legacy-firm-card__label {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 1rem;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    background: rgba(23, 32, 95, 0.07);
    color: var(--legacy-blue);
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.legacy-firm-card h2 {
    margin: 0 0 0.9rem;
    color: var(--legacy-ink);
    font-size: clamp(1.18rem, 1.5vw, 1.45rem);
    font-weight: 500;
    line-height: 1.22;
    letter-spacing: 0;
}

.legacy-firm-card p {
    margin: 0;
    color: var(--legacy-muted);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.72;
}

.legacy-firm-card a {
    display: inline-flex;
    width: fit-content;
    margin-top: auto;
    padding-top: 1.1rem;
    color: var(--legacy-blue);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0;
}

.legacy-firm-card a:hover {
    color: var(--legacy-maroon);
}

.legacy-firm-card__button {
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    padding: 0.72rem 1rem !important;
    border: 1px solid rgba(23, 32, 95, 0.16);
    border-radius: 999px;
    background: var(--legacy-blue);
    color: #fff !important;
    font-size: 0.8rem !important;
    line-height: 1;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.legacy-firm-card__button:hover,
.legacy-firm-card__button:focus {
    border-color: var(--legacy-maroon);
    background: var(--legacy-maroon);
    color: #fff !important;
    transform: translateY(-1px);
}

.legacy-firm-card--primary {
    background: linear-gradient(180deg, var(--legacy-blue), #111746);
    color: #fff;
    border-color: rgba(23, 32, 95, 0.18);
    box-shadow: 0 24px 65px rgba(23, 32, 95, 0.18);
}

.legacy-firm-card--primary::before {
    background: var(--legacy-bronze);
}

.legacy-firm-card--primary .legacy-firm-card__label {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
}

.legacy-firm-card--primary h2,
.legacy-firm-card--primary p,
.legacy-firm-card--primary a {
    color: #fff;
}

.legacy-firm-card--primary p {
    color: rgba(255, 255, 255, 0.82);
}

.legacy-firm-card--tax::before {
    background: var(--legacy-maroon);
}

.legacy-firm-card--tax .legacy-firm-card__label {
    background: rgba(111, 29, 46, 0.08);
    color: var(--legacy-maroon);
}

.legacy-firm-card--finance::before,
.legacy-firm-card--solution::before {
    background: var(--legacy-bronze);
}

.legacy-firm-card--finance .legacy-firm-card__label,
.legacy-firm-card--solution .legacy-firm-card__label {
    background: rgba(182, 132, 74, 0.12);
    color: #7b552b;
}

.legacy-story-section {
    position: relative;
    overflow: hidden;
    padding: clamp(5rem, 8vw, 7.5rem) 0;
    background:
        linear-gradient(135deg, rgba(182, 132, 74, 0.06) 25%, transparent 25%) 0 0 / 8rem 8rem,
        linear-gradient(315deg, rgba(7, 15, 43, 0.035) 25%, transparent 25%) 0 0 / 8rem 8rem,
        #f7f5ef;
}

.legacy-story-heading {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.legacy-story-eyebrow {
    margin: 0 0 0.55rem;
    color: var(--brand-bronze);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.legacy-story-heading h2 {
    margin: 0;
    color: var(--brand-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4.2vw, 3.7rem);
    font-weight: 400;
    line-height: 1.1;
}

.legacy-story-heading__line {
    display: block;
    width: 4.5rem;
    height: 2px;
    margin: 1.25rem auto 0;
    background: linear-gradient(90deg, transparent, var(--brand-bronze), transparent);
}

.legacy-story-book {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 70rem);
    margin: clamp(4.25rem, 7vw, 5.75rem) auto 0;
    border: 1px solid rgba(182, 132, 74, 0.28);
    border-radius: 1.2rem;
    background: #fffdf6;
    box-shadow: 0 2.2rem 5rem rgba(7, 15, 43, 0.14), 0 0.5rem 1.2rem rgba(7, 15, 43, 0.08);
}

.legacy-story-book::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 1.5rem;
    bottom: 1.5rem;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(182, 132, 74, 0.48) 14%, rgba(7, 15, 43, 0.15) 50%, rgba(182, 132, 74, 0.48) 86%, transparent);
    box-shadow: -0.65rem 0 1.2rem rgba(7, 15, 43, 0.07), 0.65rem 0 1.2rem rgba(7, 15, 43, 0.05);
}

.legacy-story-book::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0.65rem -0.55rem -0.65rem;
    border: 1px solid rgba(182, 132, 74, 0.2);
    border-radius: 1.25rem;
    background: #ece6d8;
}

.legacy-story-medallion {
    position: absolute;
    z-index: 4;
    top: 0;
    left: 50%;
    display: grid;
    width: 5.6rem;
    height: 5.6rem;
    padding: 0.6rem;
    place-items: center;
    border: 1px solid rgba(182, 132, 74, 0.5);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0.9rem 2.2rem rgba(7, 15, 43, 0.18);
    transform: translate(-50%, -50%);
}

.legacy-story-medallion img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.legacy-story-page {
    position: relative;
    min-width: 0;
    padding: clamp(3.8rem, 6vw, 5.2rem) clamp(2rem, 4vw, 3.8rem) clamp(2.8rem, 4vw, 3.8rem);
    color: #313846;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(0.95rem, 1.12vw, 1.04rem);
    line-height: 1.85;
}

.legacy-story-page--left {
    border-radius: 1.15rem 0 0 1.15rem;
    background: linear-gradient(90deg, #fffdf7 0%, #fffdf7 74%, #f3eee2 100%);
}

.legacy-story-page--right {
    border-radius: 0 1.15rem 1.15rem 0;
    background: linear-gradient(90deg, #f3eee2 0%, #fffdf7 26%, #fffdf7 100%);
}

.legacy-story-page__label {
    display: inline-flex;
    margin-bottom: 1.3rem;
    color: #92662f;
    font-family: var(--brand-font-family);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.legacy-story-page p {
    margin: 0 0 1.3rem;
}

.legacy-story-page p:last-child {
    margin-bottom: 0;
}

.legacy-story-page strong {
    color: var(--brand-navy);
    font-weight: 700;
}

.legacy-story-opening {
    color: var(--brand-navy);
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    font-style: italic;
    line-height: 1.45;
}

.legacy-story-opening::first-letter {
    float: left;
    margin: 0.08em 0.08em 0 0;
    color: var(--brand-maroon);
    font-size: 3.4em;
    font-style: normal;
    line-height: 0.78;
}

.legacy-story-promise {
    margin: 2rem 0;
    padding: 1.2rem 1.4rem;
    border-left: 3px solid var(--brand-bronze);
    background: rgba(182, 132, 74, 0.1);
    color: var(--brand-navy);
    font-size: clamp(1.08rem, 1.6vw, 1.3rem);
    font-style: italic;
}

.legacy-story-promise p {
    margin: 0;
}

.legacy-story-signature {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    margin-top: 1.8rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(7, 15, 43, 0.1);
    font-family: var(--brand-font-family);
}

.legacy-story-signature strong {
    color: var(--brand-navy);
    font-size: 0.92rem;
    letter-spacing: 0.04em;
}

.legacy-story-signature span {
    color: #92662f;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@media (max-width: 991.98px) {
    .legacy-story-book {
        grid-template-columns: 1fr;
        width: min(100%, 43rem);
    }

    .legacy-story-book::before {
        top: 50%;
        right: 1.5rem;
        bottom: auto;
        left: 1.5rem;
        width: auto;
        height: 1px;
        box-shadow: 0 -0.55rem 1rem rgba(7, 15, 43, 0.05), 0 0.55rem 1rem rgba(7, 15, 43, 0.05);
    }

    .legacy-story-page--left {
        border-radius: 1.15rem 1.15rem 0 0;
        background: linear-gradient(180deg, #fffdf7 0%, #fffdf7 88%, #f3eee2 100%);
    }

    .legacy-story-page--right {
        border-radius: 0 0 1.15rem 1.15rem;
        background: linear-gradient(180deg, #f3eee2 0%, #fffdf7 12%, #fffdf7 100%);
    }
}

@media (max-width: 575.98px) {
    .legacy-story-section {
        padding: 4rem 0;
    }

    .legacy-story-book {
        margin-top: 4.5rem;
        border-radius: 0.85rem;
    }

    .legacy-story-book::after {
        inset: 0.4rem -0.25rem -0.4rem;
        border-radius: 0.95rem;
    }

    .legacy-story-medallion {
        width: 4.8rem;
        height: 4.8rem;
    }

    .legacy-story-page {
        padding: 3.4rem 1.35rem 2.25rem;
        font-size: 0.93rem;
        line-height: 1.75;
    }

    .legacy-story-opening {
        font-size: 1.25rem;
    }
}

.section-block {
    padding: 2rem 0 4rem;
}

.section-heading {
    margin-bottom: 1.5rem;
}

.section-heading h2 {
    color: #0f172a;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.section-heading p {
    color: #475569;
    max-width: 50rem;
}

.section-eyebrow {
    color: var(--brand-gold);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.about-home-section {
    padding: 2rem 0 3.5rem;
    background: var(--brand-navy) !important;
    background-color: var(--brand-navy) !important;
    position: relative;
    overflow: hidden;
}

.about-home-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(2.2rem, 4vw, 4.1rem);
    text-align: center;
    color: #fff;
}

.about-home-eyebrow {
    color: var(--brand-gold);
}

.about-home-divider {
    width: 5rem;
    height: 2px;
    background: var(--brand-gold);
    border-radius: 999px;
    opacity: 0.9;
}

.about-home-title {
    color: #fff;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -0.04em;
    max-width: 20ch;
}

.about-home-text {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.85;
    max-width: 34rem;
}

.about-home-button {
    border: 1px solid rgba(255, 255, 255, 0.75);
    color: #fff;
    background: transparent;
    border-radius: 999px;
    padding: 0.82rem 1.5rem;
    box-shadow: none;
    font-weight: 500;
    --bs-btn-color: #fff;
    --bs-btn-bg: transparent;
    --bs-btn-border-color: rgba(255, 255, 255, 0.75);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--brand-gold);
    --bs-btn-hover-border-color: var(--brand-gold);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #b6a767;
    --bs-btn-active-border-color: #b6a767;
}

.about-home-button:hover,
.about-home-button:focus,
.about-home-button:active {
    color: #fff !important;
    background: var(--brand-gold) !important;
    border-color: var(--brand-gold) !important;
}

.about-home-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    border-radius: 0.35rem;
}

.home-services-section {
    margin-top: 4rem;
    padding-top: 1.5rem;
}

.home-articles-section {
    margin-top: 4.25rem;
    padding-top: 1.25rem;
}

.home-articles-section .articles-showcase__intro {
    max-width: 28rem;
}

.home-articles-section .articles-showcase__title {
    font-size: clamp(1.55rem, 2.9vw, 2.75rem);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -0.035em;
    text-align: left;
}

.home-articles-section .articles-showcase__subtitle {
    font-size: 0.88rem;
    line-height: 1.7;
    max-width: 25rem;
    text-align: left;
}

.home-articles-section .article-card__date {
    font-size: 0.74rem;
}

.home-articles-section .article-card__title {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.home-articles-section .article-card__excerpt {
    font-size: 0.86rem;
    line-height: 1.6;
    text-align: left;
}

.home-articles-section .article-card__tags {
    gap: 0.4rem;
}

.home-articles-section .article-tag {
    font-size: 0.72rem;
    padding: 0.32rem 0.7rem;
}

.home-cta-section {
    margin-top: 4rem;
    background: #070F2B !important;
    color: #fff;
}

.home-cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(2rem, 4vw, 3.25rem) 0;
}

.home-cta-copy {
    max-width: 40rem;
}

.home-cta-eyebrow {
    color: #CBBF83;
    font-size: 0.74rem;
    line-height: 1.2;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
}

.home-cta-title {
    color: #fff;
    font-size: clamp(1.55rem, 3vw, 2.55rem);
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.035em;
}

.home-cta-text {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 32rem;
}

.home-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.88rem 1.5rem;
    border-radius: 999px;
    border: 1px solid #fff !important;
    background: #fff !important;
    color: #070F2B !important;
    box-shadow: none !important;
    font-weight: 500;
    white-space: nowrap;
    --bs-btn-color: #070F2B;
    --bs-btn-bg: #fff;
    --bs-btn-border-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #CBBF83;
    --bs-btn-hover-border-color: #CBBF83;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #b6a767;
    --bs-btn-active-border-color: #b6a767;
}

.home-cta-button:hover,
.home-cta-button:focus,
.home-cta-button:active {
    background: #CBBF83 !important;
    border-color: #CBBF83 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.practice-home-section {
    padding: 4.25rem 0 4.5rem;
    background: var(--brand-navy);
    color: #fff;
    font-family: var(--brand-font-family);
}

.practice-home-intro {
    max-width: 52rem;
    margin: 0 auto 2.4rem;
    text-align: center;
}

.practice-home-title {
    color: #fff;
    font-size: clamp(1.55rem, 3vw, 2.55rem);
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.practice-home-subtitle {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    line-height: 1.75;
    max-width: 38rem;
    margin: 0 auto;
}

.practice-home-list {
    max-width: 920px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.practice-home-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    color: inherit;
    transition: background-color 160ms ease, transform 160ms ease;
}

.practice-home-item:hover {
    color: inherit;
    transform: translateY(-1px);
}

.practice-home-item__body {
    min-width: 0;
}

.practice-home-item__title {
    color: #fff;
    font-size: 1.02rem;
    line-height: 1.35;
    font-weight: 500;
    margin: 0;
}

.practice-home-item__text {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 44rem;
}

.practice-home-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.practice-home-item:hover .practice-home-item__icon {
    background: var(--brand-gold);
    border-color: var(--brand-gold);
    color: var(--brand-navy);
}

.practice-home-button {
    border: 1px solid rgba(255, 255, 255, 0.75);
    color: #fff;
    background: transparent;
    border-radius: 999px;
    padding: 0.82rem 1.5rem;
    box-shadow: none;
    font-weight: 500;
    --bs-btn-color: #fff;
    --bs-btn-bg: transparent;
    --bs-btn-border-color: rgba(255, 255, 255, 0.75);
    --bs-btn-hover-color: var(--brand-navy);
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: #fff;
    --bs-btn-active-color: var(--brand-navy);
    --bs-btn-active-bg: #fff;
    --bs-btn-active-border-color: #fff;
}

.practice-home-button:hover,
.practice-home-button:focus,
.practice-home-button:active {
    color: var(--brand-navy) !important;
    background: #fff !important;
    border-color: #fff !important;
}

.practice-home-empty {
    padding: 1.25rem 0;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.articles-showcase {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.42fr);
    gap: 2.5rem;
    align-items: start;
}

.articles-showcase--page {
    padding-top: 1rem;
}

.articles-showcase__intro {
    max-width: 31rem;
}

.articles-showcase__title {
    color: #0f172a;
    font-size: clamp(2.1rem, 4vw, 4rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.articles-showcase__subtitle {
    color: #64748b;
    line-height: 1.85;
    font-size: 1rem;
    max-width: 28rem;
}

.articles-showcase__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.articles-listing__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.article-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}

.article-card__media {
    position: relative;
    margin-bottom: 1rem;
}

.article-card__accent {
    position: absolute;
    left: -0.45rem;
    bottom: -0.5rem;
    width: 5.4rem;
    height: 4rem;
    border-radius: 1.25rem;
    background: rgba(7, 15, 43, 0.26);
}

.article-card__image {
    position: relative;
    height: 215px;
    border-radius: 1.4rem;
    background-size: cover;
    background-position: center;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.07);
}

.article-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding-right: 0.25rem;
}

.article-card__date {
    color: #7b8494;
    font-size: 0.82rem;
    line-height: 1.4;
}

.article-card__title {
    color: #0f172a;
    font-size: clamp(1.14rem, 1.6vw, 1.55rem);
    line-height: 1.25;
    font-weight: 400;
    margin-bottom: 0.8rem;
}

.article-card__title a {
    color: inherit;
    transition: color 180ms ease;
}

.article-card__title a:hover,
.article-card__title a:focus {
    color: var(--brand-maroon);
}

.article-card__excerpt {
    color: #64748b;
    line-height: 1.75;
}

.article-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.article-card__read-more {
    display: inline-flex;
    width: fit-content;
    min-height: 2.65rem;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1.25rem;
    padding: 0.68rem 0.9rem 0.68rem 1.05rem;
    border: 1px solid var(--brand-navy);
    border-radius: 999px;
    background: var(--brand-navy);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.article-card__read-more-icon {
    display: inline-grid;
    width: 1.55rem;
    height: 1.55rem;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.92rem;
    transition: transform 180ms ease;
}

.article-card__read-more:hover,
.article-card__read-more:focus {
    border-color: var(--brand-maroon);
    background: var(--brand-maroon);
    color: #fff;
    box-shadow: 0 12px 25px rgba(7, 15, 43, 0.14);
    transform: translateY(-2px);
}

.article-card__read-more:hover .article-card__read-more-icon,
.article-card__read-more:focus .article-card__read-more-icon {
    transform: translateX(2px);
}

.article-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: #e4ecf7;
    color: #51657f;
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 400;
}

.article-card--compact .article-card__image {
    height: 185px;
}

.article-card--compact .article-card__accent {
    width: 4.9rem;
    height: 3.6rem;
}

.article-card--compact .article-card__title {
    font-size: 1.23rem;
}

.article-detail-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(4rem, 7vw, 6.5rem);
    background:
        radial-gradient(circle at 8% 15%, rgba(182, 132, 74, 0.15), transparent 26%),
        radial-gradient(circle at 92% 84%, rgba(7, 15, 43, 0.08), transparent 30%),
        #f8f5ed;
}

.article-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
    color: var(--brand-navy);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.article-detail-back:hover,
.article-detail-back:focus {
    color: var(--brand-maroon);
}

.article-detail-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(24rem, 0.82fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 6.5rem);
}

.article-detail-hero__copy {
    width: 100%;
    min-width: 0;
    max-width: 47rem;
}

.article-detail-eyebrow {
    margin: 0 0 1rem;
    color: #92662f;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.article-detail-hero h1 {
    margin: 0;
    color: var(--brand-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 5.4vw, 5.4rem);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.035em;
    overflow-wrap: anywhere;
}

.article-detail-summary {
    width: 100%;
    min-width: 0;
    max-width: 42rem;
    margin: 1.5rem 0 0;
    color: #536072;
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.75;
    overflow-wrap: break-word;
}

.article-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.8rem;
}

.article-detail-meta span {
    display: inline-flex;
    min-height: 2.15rem;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border: 1px solid rgba(7, 15, 43, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--brand-navy);
    font-size: 0.76rem;
    font-weight: 600;
}

.article-detail-visual {
    position: relative;
    padding: 0 0 1.3rem 1.3rem;
}

.article-detail-visual__accent {
    position: absolute;
    right: -1rem;
    bottom: 0;
    width: 65%;
    height: 58%;
    border-radius: 1.8rem;
    background: var(--brand-navy);
}

.article-detail-visual img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 1.6rem;
    object-fit: cover;
    box-shadow: 0 2rem 4rem rgba(7, 15, 43, 0.18);
}

.article-detail-section {
    padding: clamp(4rem, 7vw, 7rem) 0;
    background: #fff;
}

.article-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem);
    align-items: start;
    gap: clamp(2.5rem, 6vw, 6rem);
    max-width: 74rem;
    margin: 0 auto;
}

.article-detail-content {
    min-width: 0;
}

.article-detail-lead {
    margin: 0 0 2.3rem;
    padding-left: 1.4rem;
    border-left: 3px solid var(--brand-bronze);
    color: var(--brand-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.65;
}

.article-detail-prose {
    color: #384456;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.04rem, 1.4vw, 1.16rem);
    line-height: 1.95;
}

.article-detail-prose p {
    margin: 0 0 1.55rem;
}

.article-detail-prose p:first-child::first-letter {
    float: left;
    margin: 0.1em 0.1em 0 0;
    color: var(--brand-maroon);
    font-size: 4.1em;
    line-height: 0.75;
}

.article-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(7, 15, 43, 0.1);
}

.article-detail-tags span {
    padding: 0.48rem 0.75rem;
    border-radius: 999px;
    background: rgba(7, 15, 43, 0.06);
    color: var(--brand-navy);
    font-size: 0.73rem;
    font-weight: 700;
}

.article-detail-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: clamp(3rem, 6vw, 5rem);
    padding: clamp(1.5rem, 3vw, 2.2rem);
    border-radius: 1.2rem;
    background: var(--brand-navy);
    color: #fff;
    box-shadow: 0 1.5rem 3.5rem rgba(7, 15, 43, 0.18);
}

.article-detail-cta__eyebrow {
    margin: 0 0 0.35rem;
    color: #d9b27c;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.article-detail-cta h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.article-detail-cta p:not(.article-detail-cta__eyebrow) {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
}

.article-detail-cta__button {
    display: inline-flex;
    min-height: 2.9rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.1rem;
    border-radius: 999px;
    background: #fff;
    color: var(--brand-navy);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
}

.article-detail-cta__button:hover,
.article-detail-cta__button:focus {
    background: #d9b27c;
    color: var(--brand-navy);
}

.article-detail-sidebar__inner {
    position: sticky;
    top: 7.5rem;
    padding: 1.6rem;
    border: 1px solid rgba(7, 15, 43, 0.09);
    border-radius: 1.2rem;
    background: #f8f5ed;
    box-shadow: 0 1.2rem 2.8rem rgba(7, 15, 43, 0.08);
}

.article-detail-sidebar__eyebrow {
    margin: 0 0 0.35rem;
    color: #92662f;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.article-detail-sidebar h2 {
    margin: 0 0 1.25rem;
    color: var(--brand-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
}

.article-related-list {
    display: grid;
    gap: 0.75rem;
}

.article-related-card {
    display: grid;
    grid-template-columns: 4.6rem minmax(0, 1fr);
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem;
    border-radius: 0.85rem;
    background: #fff;
    color: #293548;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.article-related-card:hover,
.article-related-card:focus {
    color: var(--brand-navy);
    box-shadow: 0 0.8rem 1.8rem rgba(7, 15, 43, 0.1);
    transform: translateY(-2px);
}

.article-related-card img {
    width: 4.6rem;
    height: 4.6rem;
    border-radius: 0.65rem;
    object-fit: cover;
}

.article-related-card__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.2rem;
}

.article-related-card__copy small {
    color: #7a8494;
    font-size: 0.66rem;
}

.article-related-card__copy strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--brand-navy);
    font-size: 0.8rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.article-related-card__copy > span {
    color: #92662f;
    font-size: 0.68rem;
    font-weight: 700;
}

.article-related-empty {
    margin: 0;
    color: #64748b;
    font-size: 0.86rem;
}

.article-detail-all-link {
    display: inline-flex;
    margin-top: 1.4rem;
    color: var(--brand-navy);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.article-detail-all-link:hover,
.article-detail-all-link:focus {
    color: var(--brand-maroon);
}

@media (max-width: 991.98px) {
    .article-detail-hero__grid,
    .article-detail-layout {
        grid-template-columns: 1fr;
    }

    .article-detail-visual {
        width: min(100%, 38rem);
    }

    .article-detail-visual img {
        aspect-ratio: 16 / 10;
    }

    .article-detail-sidebar__inner {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .article-detail-hero {
        padding-top: 2rem;
    }

    .article-detail-hero__copy {
        width: 17rem;
        max-width: 100%;
    }

    .article-detail-hero h1 {
        font-size: clamp(2rem, 9.5vw, 2.65rem);
        line-height: 1.08;
    }

    .article-detail-meta {
        gap: 0.45rem;
    }

    .article-detail-visual {
        padding: 0 0 0.8rem 0.7rem;
    }

    .article-detail-visual__accent {
        right: -0.4rem;
    }

    .article-detail-section {
        padding: 3.5rem 0;
    }

    .article-detail-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .article-detail-cta__button {
        width: 100%;
    }

    .article-detail-sidebar__inner {
        padding: 1.2rem;
    }
}

.card-soft {
    background: #fff;
    border: 1px solid rgba(7, 15, 43, 0.08);
    border-radius: 1.5rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.card-soft .card-body {
    padding: 1.5rem;
}

.solution-card {
    height: 100%;
}

.solution-card .card-image {
    height: 230px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.solution-card .card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 15, 43, 0.08) 0%, rgba(7, 15, 43, 0.55) 100%);
}

.solution-card .card-body h3,
.solution-card .card-body h4,
.solution-card .card-body h5 {
    color: #0f172a;
    font-weight: 500;
}

.solution-card .muted,
.practice-card .muted {
    color: #64748b;
}

.practice-card {
    height: 100%;
}

.practice-card .practice-image {
    height: 260px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.practice-card .practice-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.12) 0%, rgba(15, 23, 42, 0.64) 100%);
}

.practice-card .practice-overlay {
    position: relative;
    z-index: 1;
    margin-top: -4rem;
    padding: 1.25rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
}

.practice-detail-page {
    background: #fff;
}

.practice-detail-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3.4rem, 7vw, 5.8rem) 0 clamp(2.6rem, 5vw, 4.2rem);
    color: #fff;
    background:
        linear-gradient(90deg, rgba(10, 15, 45, 0.96) 0%, rgba(10, 15, 45, 0.88) 28%, rgba(10, 15, 45, 0.66) 52%, rgba(10, 15, 45, 0.22) 78%, rgba(10, 15, 45, 0.08) 100%),
        var(--practice-detail-image);
    background-size: cover;
    background-position: center;
}

.practice-detail-hero::before,
.practice-detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.practice-detail-hero::before {
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 92px 100%, 100% 88px;
    opacity: 0.3;
}

.practice-detail-hero::after {
    background:
        linear-gradient(90deg, rgba(10, 15, 45, 0.18) 0%, rgba(10, 15, 45, 0.06) 34%, rgba(10, 15, 45, 0) 74%),
        linear-gradient(135deg, rgba(203, 191, 131, 0.06) 0%, rgba(255, 255, 255, 0) 48%);
}

.practice-detail-hero .container,
.practice-detail-section .container,
.practice-detail-band .container,
.practice-detail-cta .container {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    padding-left: clamp(1.25rem, 4vw, 4.5rem);
    padding-right: clamp(1.25rem, 4vw, 4.5rem);
}

.practice-detail-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
}

.practice-detail-hero__copy {
    max-width: 48rem;
    padding: clamp(0.75rem, 1.2vw, 1.25rem) 0;
}

.practice-detail-hero__eyebrow {
    margin: 0;
    color: var(--brand-gold);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.25;
    text-transform: uppercase;
}

.practice-detail-hero__title {
    margin: 0;
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: 0;
}

.practice-detail-hero__subtitle {
    max-width: 38rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.98rem;
    line-height: 1.8;
}

.practice-detail-hero__body {
    max-width: 42rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    line-height: 1.8;
}

.practice-detail-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.practice-detail-hero__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.65rem;
}

.practice-detail-hero__meta-card {
    padding: 0.95rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
}

.practice-detail-hero__meta-card span {
    display: block;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.practice-detail-hero__meta-card strong {
    display: block;
    margin-top: 0.4rem;
    color: #fff;
    font-size: 0.93rem;
    font-weight: 500;
    line-height: 1.4;
}

.practice-detail-section {
    padding: clamp(2.6rem, 5vw, 4.8rem) 0;
    background: #fff;
}

.practice-detail-section__heading {
    max-width: 48rem;
    margin: 0 auto 2.2rem;
    text-align: center;
}

.practice-detail-section__heading h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 500;
    line-height: 1.12;
}

.practice-detail-section__lead {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    color: #64748b;
    font-size: 0.93rem;
    line-height: 1.75;
}

.practice-detail-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.2rem;
}

.practice-detail-card {
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    border: 1px solid rgba(7, 15, 43, 0.1);
    border-radius: 0.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbf7 100%);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.practice-detail-card:hover {
    transform: translateY(-4px);
    border-color: rgba(7, 15, 43, 0.18);
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.08);
}

.practice-detail-card--lead {
    border-top: 3px solid var(--brand-gold);
}

.practice-detail-card__media {
    position: relative;
    height: 11.75rem;
    background-size: cover;
    background-position: center;
}

.practice-detail-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 12, 35, 0.08) 0%, rgba(7, 12, 35, 0.48) 100%);
}

.practice-detail-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.15rem 1.15rem 1.2rem;
}

.practice-detail-card__eyebrow {
    margin: 0;
    color: var(--brand-gold);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.25;
    text-transform: uppercase;
}

.practice-detail-card__title {
    margin: 0;
    color: var(--brand-navy);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.28;
}

.practice-detail-card__text {
    margin: 0;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.75;
}

.practice-detail-card__list {
    display: grid;
    gap: 0.52rem;
    margin: 0;
    padding: 0;
}

.practice-detail-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: #334155;
    font-size: 0.84rem;
    line-height: 1.5;
}

.practice-detail-card__list li::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    margin-top: 0.42rem;
    border-radius: 50%;
    background: var(--brand-gold);
    flex: 0 0 auto;
}

.practice-detail-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: auto;
    padding-top: 0.35rem;
}

.practice-detail-card__actions .btn {
    white-space: nowrap;
}

.practice-detail-band {
    padding: clamp(2.8rem, 5vw, 4.8rem) 0;
    background: linear-gradient(180deg, #0f1a4b 0%, #111c52 100%);
    color: #fff;
}

.practice-detail-band__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.14fr);
    gap: 2rem;
    align-items: stretch;
}

.practice-detail-band__intro {
    max-width: 42rem;
}

.practice-detail-band__title {
    margin: 0;
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.75rem);
    font-weight: 500;
    line-height: 1.12;
}

.practice-detail-band__text {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.8;
}

.practice-detail-band__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    align-items: stretch;
}

.practice-detail-band__stat {
    padding: 1.1rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.practice-detail-band__stat span {
    display: block;
    color: var(--brand-gold);
    font-size: 1.55rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
}

.practice-detail-band__stat small {
    display: block;
    margin-top: 0.48rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.practice-detail-cta {
    padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3.5rem, 6vw, 5.4rem);
    background: #fff;
}

.practice-detail-cta__panel {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(1.4rem, 3vw, 2.2rem);
    border: 1px solid rgba(7, 15, 43, 0.1);
    border-radius: 0.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbf7 100%);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}

.practice-detail-cta__copy {
    max-width: 46rem;
}

.practice-detail-cta__title {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.5rem, 2.6vw, 2.25rem);
    font-weight: 500;
    line-height: 1.15;
}

.practice-detail-cta__text {
    margin-top: 0.8rem;
    color: #475569;
    font-size: 0.93rem;
    line-height: 1.8;
}

.practice-detail-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
}

.practice-detail-hero [data-reveal],
.practice-detail-section [data-reveal],
.practice-detail-band [data-reveal],
.practice-detail-cta [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    animation: practiceDetailFadeUp 760ms ease var(--reveal-delay, 0ms) forwards;
}

@keyframes practiceDetailFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes practiceDetailFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.team-avatar {
    width: 100%;
    height: 270px;
    object-fit: cover;
    background: linear-gradient(180deg, rgba(7, 15, 43, 0.12), rgba(203, 191, 131, 0.12));
}

.about-story-hero {
    position: relative;
    min-height: clamp(36rem, 76vh, 45rem);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    background-image:
        linear-gradient(90deg, rgba(5, 8, 22, 0.68) 0%, rgba(5, 8, 22, 0.34) 50%, rgba(5, 8, 22, 0.68) 100%),
        linear-gradient(180deg, rgba(7, 15, 43, 0.26) 0%, rgba(7, 15, 43, 0.2) 44%, rgba(5, 8, 22, 0.38) 100%),
        var(--about-hero-image);
    background-size: cover;
    background-position: center;
}

.about-story-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.about-story-hero__content {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: min(100%, 1320px);
    padding: clamp(5.5rem, 10vh, 7.5rem) clamp(1.25rem, 5vw, 7rem) clamp(12rem, 22vh, 15rem);
    text-align: center;
}

.about-story-hero__breadcrumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.95rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    font-weight: 700;
}

.about-story-hero__breadcrumb a {
    color: #fff;
}

.about-story-hero__breadcrumb a:hover {
    color: var(--brand-gold);
}

.about-story-hero__title {
    margin: 0;
    color: #fff;
    font-size: clamp(3.2rem, 7vw, 5.75rem);
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.about-story-hero__play {
    width: clamp(5rem, 8vw, 7.25rem);
    height: clamp(5rem, 8vw, 7.25rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: clamp(2.3rem, 5vw, 4rem);
    border: 5px solid rgba(255, 255, 255, 0.78);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
    transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.about-story-hero__play span {
    width: 0;
    height: 0;
    margin-left: 0.35rem;
    border-top: 0.82rem solid transparent;
    border-bottom: 0.82rem solid transparent;
    border-left: 1.18rem solid var(--brand-navy);
}

.about-story-hero__play:hover,
.about-story-hero__play:focus {
    background: #fff;
    border-color: var(--brand-gold);
    transform: translateY(-2px);
}

.about-story-hero__cta {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    padding: clamp(1.35rem, 3vw, 2.2rem) 0;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(3px);
}

.about-story-hero__cta-inner {
    box-sizing: border-box;
    width: min(100%, 1320px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 0 auto;
    padding-right: clamp(1.25rem, 5vw, 7rem);
    padding-left: clamp(1.25rem, 5vw, 7rem);
}

.about-story-hero__cta-inner > div {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
}

.about-story-hero__cta h2 {
    max-width: min(62rem, 100%);
    margin: 0 0 0.45rem;
    color: #fff;
    font-size: clamp(1.55rem, 2.65vw, 2.3rem);
    font-weight: 700;
    line-height: 1.18;
}

.about-story-hero__cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 1.5vw, 1.35rem);
    line-height: 1.45;
}

.about-story-hero__cta-button {
    box-sizing: border-box;
    min-width: 16rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0.95rem 2.2rem;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.about-story-hero__cta-button:hover,
.about-story-hero__cta-button:focus {
    border-color: var(--brand-gold);
    background: var(--brand-gold);
    color: var(--brand-navy);
    transform: translateY(-1px);
}

.about-page-container {
    box-sizing: border-box;
    width: min(calc(100% - clamp(2rem, 5vw, 6rem)), 1700px);
    margin: 0 auto;
}

.about-page-container *,
.about-page-container *::before,
.about-page-container *::after {
    box-sizing: border-box;
}

.about-pillars-section {
    position: relative;
    z-index: 3;
    margin-top: -2.25rem;
    padding: clamp(5.25rem, 6.2vw, 5.85rem) 0 clamp(3rem, 5vw, 4.25rem);
    background: #fff;
}

.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.6rem, 3vw, 3.15rem);
    align-items: stretch;
}

.about-pillar-card {
    --card-bg: #070F2B;
    --card-fg: #fff;
    --icon-bg: #CBBF83;
    --icon-fg: #070F2B;
    position: relative;
    min-width: 0;
    min-height: 18.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(2rem, 3vw, 2.65rem);
    border-radius: 0.25rem;
    background-color: var(--card-bg);
    color: var(--card-fg);
    box-shadow: 0 26px 54px rgba(7, 15, 43, 0.12);
}

.about-pillar-card::before {
    content: "";
    position: absolute;
    right: 5.6rem;
    bottom: 100%;
    left: 0;
    height: 4.5rem;
    border-radius: 0.25rem 0 0 0;
    background-color: var(--card-bg);
}

.about-pillar-card__icon {
    position: absolute;
    right: 0;
    bottom: 100%;
    width: 5.6rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0.25rem 0 0;
    background-color: var(--icon-bg);
    color: var(--icon-fg);
}

.about-pillar-card__icon span {
    position: relative;
    display: block;
    width: 2.05rem;
    height: 2.05rem;
}

.about-pillar-card__icon--mission span::before {
    content: "";
    position: absolute;
    top: 0.15rem;
    left: 0.45rem;
    width: 1.15rem;
    height: 1.15rem;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.about-pillar-card__icon--mission span::after {
    content: "";
    position: absolute;
    top: 1.38rem;
    left: 0.86rem;
    width: 0.34rem;
    height: 0.62rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.about-pillar-card__icon--values span::before,
.about-pillar-card__icon--values span::after {
    content: "";
    position: absolute;
    border: 2px solid currentColor;
    transform: rotate(45deg);
}

.about-pillar-card__icon--values span::before {
    top: 0.18rem;
    left: 0.55rem;
    width: 0.98rem;
    height: 0.98rem;
}

.about-pillar-card__icon--values span::after {
    right: 0.2rem;
    bottom: 0.16rem;
    width: 1.1rem;
    height: 1.1rem;
}

.about-pillar-card__icon--promise span::before {
    content: "";
    position: absolute;
    inset: 0.1rem;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.about-pillar-card__icon--promise span::after {
    content: "";
    position: absolute;
    top: 0.62rem;
    left: 0.55rem;
    width: 0.9rem;
    height: 0.5rem;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
}

.about-pillar-card--gold {
    --card-bg: #CBBF83;
    --card-fg: #070F2B;
    --icon-bg: #070F2B;
    --icon-fg: #fff;
}

.about-pillar-card--navy {
    background-color: #070F2B !important;
    color: #fff !important;
}

.about-pillar-card--navy::before {
    background-color: #070F2B !important;
}

.about-pillar-card--gold {
    background-color: #CBBF83 !important;
    color: #070F2B !important;
}

.about-pillar-card--gold::before {
    background-color: #CBBF83 !important;
}

.about-pillar-card h2 {
    margin: 0 0 1rem;
    color: inherit;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    font-weight: 500;
    line-height: 1.12;
}

.about-pillar-card p {
    margin: 0;
    color: inherit;
    font-size: clamp(0.95rem, 1.35vw, 1.08rem);
    line-height: 1.68;
    overflow-wrap: break-word;
}

.about-journey-section {
    position: relative;
    padding: clamp(3.75rem, 6vw, 6rem) 0 clamp(4.25rem, 7vw, 6.75rem);
    background:
        linear-gradient(90deg, #070F2B 0%, #070F2B 38%, #f7f8fc 38%, #f7f8fc 100%);
    overflow: hidden;
}

.about-journey-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%),
        radial-gradient(circle at 10% 12%, rgba(203, 191, 131, 0.2), transparent 28%);
    pointer-events: none;
}

.about-journey-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(2rem, 4.5vw, 5.5rem);
    align-items: start;
}

.about-journey-layout[data-reveal] {
    opacity: 1;
    transform: none;
    animation: aboutJourneyIn 720ms ease both;
}

.about-journey-layout[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes aboutJourneyIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-journey-intro {
    color: #fff;
    padding: clamp(0.5rem, 2vw, 1.5rem) 0;
}

.about-journey-eyebrow {
    margin: 0 0 1rem;
    color: var(--brand-gold);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.about-journey-intro h2 {
    max-width: 30rem;
    margin: 0 0 1.25rem;
    color: #fff;
    font-size: clamp(1.75rem, 2.7vw, 2.65rem);
    font-weight: 400;
    line-height: 1.15;
}

.about-journey-intro p:last-child {
    max-width: 35rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(0.92rem, 1.05vw, 1rem);
    line-height: 1.85;
}

.about-journey-accordion {
    position: relative;
    display: grid;
    gap: 1rem;
}

.about-journey-accordion::before {
    content: "";
    position: absolute;
    top: 1.1rem;
    bottom: 1.1rem;
    left: 2.25rem;
    width: 1px;
    background: linear-gradient(180deg, rgba(7, 15, 43, 0), rgba(7, 15, 43, 0.24), rgba(7, 15, 43, 0));
}

.about-journey-item {
    position: relative;
    z-index: 1;
    border: 1px solid rgba(7, 15, 43, 0.1);
    border-radius: 0.35rem;
    background: #fff;
    box-shadow: 0 22px 52px rgba(7, 15, 43, 0.1);
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.about-journey-item:hover {
    border-color: rgba(7, 15, 43, 0.2);
    box-shadow: 0 28px 58px rgba(7, 15, 43, 0.14);
    transform: translateY(-2px);
}

.about-journey-heading {
    margin: 0;
}

.about-journey-button {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1rem, 2vw, 1.6rem);
    padding: clamp(1rem, 2vw, 1.35rem) clamp(1rem, 2.5vw, 1.65rem);
    border: 0;
    background: transparent;
    color: #172033;
    text-align: left;
}

.about-journey-button:focus-visible {
    outline: 3px solid rgba(203, 191, 131, 0.65);
    outline-offset: -4px;
}

.about-journey-year {
    width: 4.25rem;
    height: 4.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(7, 15, 43, 0.16);
    background: #fff;
    color: #070F2B;
    font-size: 0.84rem;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(7, 15, 43, 0.08);
    transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.about-journey-title {
    min-width: 0;
    display: grid;
    gap: 0.25rem;
}

.about-journey-title > span {
    color: #111827;
    font-size: clamp(0.98rem, 1.3vw, 1.16rem);
    font-weight: 400;
    line-height: 1.35;
}

.about-journey-title small {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-journey-toggle {
    position: relative;
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(7, 15, 43, 0.08);
    color: #070F2B;
    transition: background-color 180ms ease, transform 180ms ease, color 180ms ease;
}

.about-journey-toggle::before,
.about-journey-toggle::after {
    content: "";
    position: absolute;
    width: 0.86rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.about-journey-toggle::after {
    transform: rotate(90deg);
    transition: transform 180ms ease;
}

.about-journey-button[aria-expanded="true"] .about-journey-year {
    border-color: #070F2B;
    background: #070F2B;
    color: #fff;
    box-shadow: 0 14px 30px rgba(7, 15, 43, 0.22);
}

.about-journey-button[aria-expanded="true"] .about-journey-toggle {
    background: #CBBF83;
    color: #070F2B;
    transform: rotate(45deg);
}

.about-journey-button[aria-expanded="true"] .about-journey-toggle::after {
    transform: rotate(90deg) scaleX(0);
}

.about-journey-body {
    padding: 0 clamp(1rem, 2.5vw, 1.65rem) clamp(1.25rem, 2vw, 1.6rem) calc(clamp(1rem, 2.5vw, 1.65rem) + 5.85rem);
    color: #475569;
}

.about-journey-body p {
    max-width: 62rem;
    margin: 0;
    padding-top: 0.2rem;
    font-size: clamp(0.9rem, 1vw, 0.98rem);
    line-height: 1.8;
}

.about-solicitors-section {
    padding: clamp(3.5rem, 6vw, 5.75rem) 0 clamp(4.5rem, 7vw, 6.5rem);
    background: #fff;
}

.about-solicitors-title {
    margin: 0 0 clamp(2rem, 4vw, 3.2rem);
    color: #111827;
    text-align: center;
    font-size: clamp(1.65rem, 2.8vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
}

.about-solicitors-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
}

.about-solicitor-card {
    min-height: clamp(24rem, 32vw, 32rem);
    display: flex;
    flex-direction: column;
    padding: clamp(2rem, 4vw, 3.2rem);
    border: 1px solid rgba(7, 15, 43, 0.06);
    border-radius: 0.45rem;
    background: #f7f8fa;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.05);
}

.about-solicitor-card__quote {
    color: #070F2B;
    font-size: clamp(3.8rem, 6vw, 5.4rem);
    font-weight: 400;
    line-height: 0.7;
}

.about-solicitor-card__text {
    margin: clamp(1.2rem, 3vw, 2.4rem) 0 auto;
    color: #2f3542;
    font-size: clamp(1rem, 1.5vw, 1.28rem);
    font-weight: 400;
    line-height: 1.72;
}

.about-solicitor-card__person {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: clamp(2rem, 4vw, 3.2rem);
}

.about-solicitor-card__avatar {
    width: clamp(4.4rem, 6vw, 5.5rem);
    height: clamp(4.4rem, 6vw, 5.5rem);
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 14px 30px rgba(7, 15, 43, 0.1);
}

.about-solicitor-card__person h3 {
    margin: 0 0 0.25rem;
    color: #111827;
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    font-weight: 500;
    line-height: 1.25;
}

.about-solicitor-card__person p {
    margin: 0;
    color: #2f3542;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.45;
}

.page-hero {
    padding: 2.2rem 0 1rem;
    background: #fff;
}

.page-hero-panel {
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(7, 15, 43, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #fbfbf8 100%);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.05);
}

.page-hero-title {
    color: #0f172a;
    font-weight: 500;
    letter-spacing: -0.03em;
    font-size: clamp(2rem, 5vw, 3.8rem);
}

.page-hero-subtitle {
    color: #475569;
    line-height: 1.8;
    max-width: 58rem;
}

.contact-page {
    padding: 3.8rem 0 2.8rem;
    background: #fff;
}

.contact-page .container,
.contact-map-section .container {
    max-width: 1440px;
    padding-left: clamp(1.25rem, 4vw, 4.5rem);
    padding-right: clamp(1.25rem, 4vw, 4.5rem);
}

.contact-page__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    align-items: stretch;
    min-height: 40rem;
}

.contact-page__details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.5rem 4.5rem 3.5rem 0;
}

.contact-page__eyebrow {
    margin: 0 0 1.25rem;
    color: var(--brand-gold);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.contact-page__title {
    max-width: 46rem;
    margin: 0 0 3.6rem;
    color: var(--brand-navy);
    font-size: 3.2rem;
    font-weight: 400;
    line-height: 1.16;
    letter-spacing: 0;
}

.contact-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.2rem 3.2rem;
}

.contact-detail-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 1.15rem;
    min-width: 0;
}

.contact-detail-item > div {
    min-width: 0;
}

.contact-detail-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.85rem;
    height: 3.85rem;
    flex: 0 0 auto;
    border-radius: 0.25rem;
    background: var(--brand-navy);
    color: #fff;
    box-shadow: 0 14px 28px rgba(7, 15, 43, 0.16);
}

.contact-detail-item__icon svg {
    width: 1.65rem;
    height: 1.65rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-detail-item h2 {
    margin: 0 0 0.45rem;
    color: var(--brand-gold);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.contact-detail-item p {
    margin: 0 0 0.35rem;
    color: #111827;
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1.6;
    overflow-wrap: break-word;
}

.contact-detail-item a {
    color: inherit;
    overflow-wrap: break-word;
}

.contact-detail-item a:hover {
    color: var(--brand-navy);
}

.contact-detail-item__meta {
    color: #64748b !important;
    font-size: 0.86rem !important;
}

.contact-page__form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.8rem 3.8rem;
    background: #eef0f3;
}

.contact-page__form-title {
    margin: 0 0 2rem;
    color: #111827;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.45rem 0.7rem;
}

.contact-form-field {
    min-width: 0;
}

.contact-form-field--wide {
    grid-column: 1 / -1;
}

.contact-form-field input,
.contact-form-field textarea {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 0;
    background: #fff;
    color: #111827;
    font-size: 0.95rem;
    font-weight: 400;
    outline: none;
    box-shadow: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.contact-form-field input {
    min-height: 4.6rem;
    padding: 0 1.1rem;
}

.contact-form-field textarea {
    min-height: 7.4rem;
    padding: 1.1rem;
    resize: vertical;
}

.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
    color: #8b8f98;
    opacity: 1;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
    border-color: rgba(7, 15, 43, 0.55);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(7, 15, 43, 0.08);
}

.contact-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 8rem;
    min-height: 3.7rem;
    padding: 0.85rem 1.7rem;
    border: 1px solid var(--brand-navy) !important;
    border-radius: 0;
    background: var(--brand-navy) !important;
    color: #fff !important;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1;
    box-shadow: none;
    text-transform: uppercase;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.contact-submit-button:hover,
.contact-submit-button:focus,
.contact-submit-button:active {
    border-color: #171b55 !important;
    background: #171b55 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.contact-map-section {
    padding: 0 0 5.5rem;
    background: #fff;
}

.contact-map-intro {
    max-width: 34rem;
    margin-bottom: 1.5rem;
}

.contact-map-intro h2 {
    margin: 0;
    color: #111827;
    font-size: 2.15rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
}

.contact-map-card {
    overflow: hidden;
    border: 1px solid rgba(7, 15, 43, 0.08);
    border-radius: 0.45rem;
    background: #f8fafc;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
}

.contact-map-card iframe {
    width: 100%;
    height: 28rem;
    border: 0;
}

.contact-map-card__bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fff;
    color: #475569;
    font-size: 0.9rem;
}

.contact-map-card__bar strong {
    color: #111827;
    font-weight: 500;
}

.contact-map-card__bar a {
    margin-left: auto;
    color: var(--brand-navy);
    font-weight: 500;
}

.contact-map-card__bar a:hover {
    color: var(--brand-gold);
}

.footer-heading {
    color: var(--brand-navy);
    font-weight: 500;
    margin-bottom: 1rem;
}

.services-showcase {
    max-width: 56rem;
    margin: 0 auto 2.5rem;
}

.services-showcase__title {
    color: #0f172a;
    font-size: clamp(2rem, 3.8vw, 3.35rem);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.services-showcase__subtitle {
    color: #64748b;
    max-width: 38rem;
    font-size: 1rem;
    line-height: 1.75;
}

.services-showcase__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.7rem;
    align-items: start;
}

.service-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-feature-card__media {
    width: 100%;
    height: 290px;
    border-radius: 0.25rem;
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.service-feature-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.2) 100%);
}

.service-feature-card__panel {
    width: calc(100% - 2rem);
    margin-top: -3.8rem;
    padding: 1.6rem 1.4rem 1.5rem;
    background: #fff;
    border: 1px solid rgba(7, 15, 43, 0.08);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.06);
    text-align: center;
    position: relative;
    z-index: 1;
}

.service-feature-card__title {
    color: #0f172a;
    font-size: clamp(1.25rem, 1.7vw, 1.7rem);
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.service-feature-card__button {
    min-width: 9.75rem;
    background-color: var(--brand-navy) !important;
    border-color: var(--brand-navy) !important;
    color: #fff !important;
    box-shadow: none !important;
    opacity: 1;
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--brand-navy);
    --bs-btn-border-color: var(--brand-navy);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #171b55;
    --bs-btn-hover-border-color: #171b55;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #171b55;
    --bs-btn-active-border-color: #171b55;
}

.service-feature-card__button:hover,
.service-feature-card__button:focus,
.service-feature-card__button:active {
    background-color: #171b55 !important;
    border-color: #171b55 !important;
    color: #fff !important;
    box-shadow: none !important;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.65rem;
    color: #475569;
}

.footer-links a {
    color: #475569;
}

.footer-links a:hover {
    color: var(--brand-gold);
}

.footer-contact a {
    color: inherit;
}

.footer-contact a:hover {
    color: var(--brand-gold);
}

.support-float {
    position: fixed;
    left: 50%;
    bottom: clamp(0.85rem, 2vw, 1.35rem);
    z-index: 1040;
    width: min(64rem, calc(100vw - 2rem));
    transform: translateX(-50%);
    pointer-events: none;
}

.support-float__panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(0.85rem, 2vw, 1.25rem);
    min-height: 4.6rem;
    padding: 0.72rem 0.9rem 0.72rem 1rem;
    border: 1px solid rgba(7, 15, 43, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(14px);
    pointer-events: auto;
}

.support-float__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.35rem;
    height: 3.35rem;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 50%;
    background: #f8fafc;
    border: 2px solid var(--brand-gold);
    box-shadow: 0 8px 20px rgba(7, 15, 43, 0.12);
}

.support-float__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 24%;
}

.support-float__message {
    display: block;
    color: #1f2937;
    font-size: clamp(0.92rem, 1.7vw, 1.05rem);
    line-height: 1.35;
    font-weight: 500;
    letter-spacing: 0;
}

.support-float__message strong {
    color: var(--brand-navy);
    font-weight: 700;
}

.support-float__message span {
    color: #1f2937;
}

.support-float__question-rotator {
    display: inline-grid;
    width: 12.5rem;
    vertical-align: bottom;
    white-space: nowrap;
}

.support-float__question-rotator .support-float__question {
    grid-area: 1 / 1;
    color: var(--brand-navy);
    opacity: 0;
    transform: translateY(0.25rem);
    transition: opacity 250ms ease, transform 250ms ease;
}

.support-float__question-rotator .support-float__question.is-active {
    opacity: 1;
    transform: translateY(0);
}

.support-float__answer {
    display: block;
    margin-top: 0.12rem;
    white-space: nowrap;
}

.support-float__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.support-float__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 3.2rem;
    gap: 0.45rem;
    padding: 0.78rem 1.25rem;
    border-radius: 999px;
    border: 1px solid var(--brand-navy) !important;
    background-color: var(--brand-navy) !important;
    color: #fff !important;
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 12px 26px rgba(7, 15, 43, 0.2);
    transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.support-float__button svg {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    fill: currentColor;
}

.support-float__button:hover,
.support-float__button:focus,
.support-float__button:active,
.support-float__button:visited {
    border-color: #171b55 !important;
    background-color: #171b55 !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 15px 28px rgba(7, 15, 43, 0.26);
}

.support-float__button--whatsapp {
    border-color: #1f9d55 !important;
    background-color: #1f9d55 !important;
    box-shadow: 0 12px 26px rgba(31, 157, 85, 0.18);
    letter-spacing: 0;
    text-transform: none;
}

.support-float__button--whatsapp:hover,
.support-float__button--whatsapp:focus,
.support-float__button--whatsapp:active,
.support-float__button--whatsapp:visited {
    border-color: #168244 !important;
    background-color: #168244 !important;
    color: #fff !important;
    box-shadow: 0 15px 28px rgba(31, 157, 85, 0.24);
}

.animate-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 720ms ease var(--reveal-delay, 0ms), transform 720ms ease var(--reveal-delay, 0ms);
}

.animate-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.legacy-hero-section [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    animation: legacyFadeUp 760ms ease var(--reveal-delay, 0ms) forwards;
}

.legacy-hero-section [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes legacyFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes legacyFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes legacyLineDraw {
    to {
        transform: var(--legacy-line-transform, rotate(0deg)) scaleX(1);
    }
}

@keyframes legacyConnectionDraw {
    to {
        transform: scaleX(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .animate-reveal,
    .legacy-hero-section [data-reveal],
    .practice-detail-hero [data-reveal],
    .practice-detail-section [data-reveal],
    .practice-detail-band [data-reveal],
    .practice-detail-cta [data-reveal],
    .legacy-ecosystem,
    .practice-detail-hero__frame,
    .legacy-tree__trunk,
    .legacy-tree__branch {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }

    .legacy-hero-background__slide {
        transition: none !important;
        transform: none !important;
    }

    .legacy-card-grid::before {
        transform: scaleX(1);
    }

    .legacy-hero-rotator .legacy-hero-text {
        display: none;
        position: static;
        animation: none !important;
        opacity: 0 !important;
        transform: none !important;
    }

    .legacy-hero-rotator .legacy-hero-text:first-child {
        display: block;
        opacity: 1 !important;
    }

    .about-story-hero__video {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .legacy-hero-section {
        padding-top: 0;
    }

    .legacy-hero-layout {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }

    .legacy-hero-title {
        max-width: none;
    }

    .legacy-ecosystem {
        width: min(100%, 24rem);
    }

    .legacy-card-grid {
        grid-template-columns: 1fr;
        padding-top: 0;
    }

    .legacy-card-grid::before {
        display: none;
    }

    .legacy-firm-card {
        min-height: 0;
    }

    .practice-detail-hero {
        padding-top: 3rem;
    }

    .practice-detail-hero__layout {
        grid-template-columns: 1fr;
    }

    .practice-detail-hero__meta {
        grid-template-columns: 1fr;
    }

    .practice-detail-hero__frame {
        min-height: 26rem;
    }

    .practice-detail-grid {
        grid-template-columns: 1fr;
    }

    .practice-detail-card,
    .practice-detail-card--lead {
        grid-column: span 1;
    }

    .practice-detail-band__layout {
        grid-template-columns: 1fr;
    }

    .practice-detail-band__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .practice-detail-cta__panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .practice-detail-cta__actions {
        justify-content: flex-start;
    }

    .contact-page {
        padding: 3rem 0 2.5rem;
    }

    .contact-page__grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .contact-page__details {
        padding: 1rem 0 2.75rem;
    }

    .contact-page__title {
        max-width: 42rem;
        margin-bottom: 2.6rem;
        font-size: 2.55rem;
    }

    .contact-page__form-panel {
        padding: 2.8rem;
    }

    .contact-map-card iframe {
        height: 24rem;
    }

    .about-story-hero {
        min-height: 42rem;
        background-position: center;
    }

    .about-story-hero__content {
        padding-bottom: 18rem;
    }

    .about-story-hero__cta-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.2rem;
    }

    .about-story-hero__cta-inner > div {
        width: 100%;
    }

    .about-story-hero__cta-button {
        min-width: 13rem;
    }

    .about-pillars-section {
        margin-top: -1.4rem;
        padding-top: 5.5rem;
    }

    .about-pillars-grid {
        grid-template-columns: 1fr;
        gap: 5.6rem;
        max-width: 42rem;
        margin: 0 auto;
    }

    .about-pillar-card {
        min-height: 15.5rem;
    }

    .about-journey-section {
        background: linear-gradient(180deg, #070F2B 0%, #070F2B 34%, #f7f8fc 34%, #f7f8fc 100%);
    }

    .about-journey-layout {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .about-journey-intro {
        max-width: 44rem;
        padding: 0;
    }

    .about-journey-intro h2,
    .about-journey-intro p:last-child {
        max-width: none;
    }

    .about-solicitors-grid {
        grid-template-columns: 1fr;
    }

    .about-solicitor-card {
        min-height: 0;
    }

    .articles-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .articles-showcase__cards {
        grid-template-columns: 1fr;
    }

    .articles-listing__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-showcase__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-feature-card__media {
        height: 250px;
    }

    .about-home-copy {
        padding: 2.2rem 1.6rem;
    }

    .about-home-image {
        min-height: 280px;
    }

    .home-services-section {
        margin-top: 3rem;
        padding-top: 1.25rem;
    }

    .home-articles-section {
        margin-top: 3.5rem;
        padding-top: 1rem;
    }

    .home-cta-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .practice-home-section {
        padding: 3.6rem 0 4rem;
    }

    .practice-home-title {
        font-size: clamp(1.4rem, 4vw, 2.15rem);
    }

    .practice-home-item {
        padding: 1rem 0;
    }

    .practice-home-item__title {
        font-size: 0.98rem;
    }

    .practice-home-item__text {
        font-size: 0.84rem;
    }
}

@media (max-width: 767.98px) {
    body.site-body {
        padding-bottom: 0;
    }

    .legacy-hero-section {
        padding: 0 0 3.2rem;
    }

    .legacy-hero-copy,
    .legacy-hero-text {
        width: 100%;
        max-width: 20rem;
    }

    .legacy-hero-text {
        max-width: 18.75rem;
    }

    .legacy-hero-title {
        max-width: none;
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .legacy-hero-subtitle {
        font-size: 1.08rem;
    }

    .legacy-hero-text {
        font-size: 0.92rem;
        line-height: 1.72;
    }

    .legacy-hero-rotator {
        width: 100%;
        height: 10.5rem;
    }

    .legacy-hero-actions {
        gap: 0.65rem;
    }

    .legacy-hero-button {
        min-height: 2.75rem;
        padding: 0.74rem 1rem;
        font-size: 0.78rem;
    }

    .legacy-ecosystem {
        width: min(100%, 19.5rem);
    }

    .legacy-core {
        width: 5.7rem;
        height: 5.7rem;
    }

    .legacy-core span {
        font-size: 2.1rem;
    }

    .legacy-pillars {
        left: 11%;
        right: 11%;
        gap: 0.7rem;
    }

    .legacy-pillar {
        height: 5.4rem;
    }

    .legacy-pillar--maroon {
        height: 4.6rem;
    }

    .legacy-pillar--blue {
        height: 6.1rem;
    }

    .legacy-pillar--bronze {
        height: 5rem;
    }

    .legacy-card-grid {
        gap: 0.85rem;
        margin-top: 1.7rem;
    }

    .legacy-firm-card {
        padding: 1.15rem;
    }

    .contact-page {
        padding: 2.4rem 0 2rem;
    }

    .contact-page__details {
        padding-bottom: 2.2rem;
    }

    .contact-page__eyebrow {
        margin-bottom: 0.9rem;
        font-size: 0.76rem;
    }

    .contact-page__title {
        margin-bottom: 2rem;
        font-size: 2rem;
        line-height: 1.2;
    }

    .contact-detail-grid {
        grid-template-columns: 1fr;
        gap: 1.35rem;
    }

    .contact-detail-item {
        gap: 0.95rem;
    }

    .contact-detail-item__icon {
        width: 3.25rem;
        height: 3.25rem;
    }

    .contact-detail-item__icon svg {
        width: 1.35rem;
        height: 1.35rem;
    }

    .contact-page__form-panel {
        padding: 1.45rem;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .contact-form-field input {
        min-height: 3.75rem;
    }

    .contact-submit-button {
        width: 100%;
        min-height: 3.35rem;
    }

    .contact-map-section {
        padding-bottom: 4.5rem;
    }

    .contact-map-intro h2 {
        font-size: 1.65rem;
    }

    .contact-map-card iframe {
        height: 20rem;
    }

    .contact-map-card__bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .contact-map-card__bar a {
        margin-left: 0;
    }

    .about-story-hero {
        min-height: 39rem;
        background-position: center;
    }

    .about-story-hero__content {
        padding-top: 4.25rem;
        padding-bottom: 18.5rem;
    }

    .about-story-hero__breadcrumb {
        font-size: 0.86rem;
        margin-bottom: 0.75rem;
    }

    .about-story-hero__play {
        border-width: 4px;
        margin-top: 2rem;
    }

    .about-story-hero__cta {
        padding: 1.25rem 0;
    }

    .about-story-hero__cta-inner {
        width: calc(100% - 2rem);
        padding-right: 0;
        padding-left: 0;
    }

    .about-story-hero__cta-inner > div {
        max-width: 21.5rem;
    }

    .about-story-hero__cta h2 {
        font-size: clamp(1.25rem, 6vw, 1.65rem);
    }

    .about-story-hero__cta p {
        font-size: 0.95rem;
    }

    .about-story-hero__cta-button {
        width: auto;
        max-width: 100%;
        min-width: 0;
        padding: 0.82rem 1.35rem;
        font-size: 0.78rem;
    }

    .about-pillars-section {
        margin-top: 0;
        padding-top: 4.8rem;
        padding-bottom: 3rem;
    }

    .about-pillars-grid {
        gap: 4.75rem;
        max-width: 100%;
    }

    .about-pillar-card {
        min-height: 0;
        padding: 1.65rem 1.25rem 1.8rem;
        width: 100%;
        max-width: 100%;
    }

    .about-pillar-card h2,
    .about-pillar-card p {
        max-width: 100%;
    }

    .about-pillar-card::before {
        right: 4.5rem;
        height: 3.65rem;
    }

    .about-pillar-card__icon {
        width: 4.5rem;
        height: 3.65rem;
    }

    .about-pillar-card__icon span {
        transform: scale(0.86);
    }

    .about-page-container {
        width: min(calc(100% - 2rem), 22.5rem);
    }

    .about-journey-section {
        padding: 3rem 0 4.2rem;
        background: linear-gradient(180deg, #070F2B 0%, #070F2B 30rem, #f7f8fc 30rem, #f7f8fc 100%);
    }

    .about-journey-layout {
        gap: 1.65rem;
    }

    .about-journey-intro,
    .about-journey-intro h2,
    .about-journey-intro p:last-child {
        max-width: 18.5rem;
    }

    .about-journey-intro h2 {
        font-size: clamp(1.65rem, 8vw, 2.2rem);
        overflow-wrap: break-word;
    }

    .about-solicitors-section {
        padding: 3rem 0 4.25rem;
    }

    .about-solicitors-title {
        margin-bottom: 1.75rem;
        font-size: clamp(1.45rem, 7vw, 2rem);
    }

    .about-solicitor-card {
        padding: 1.45rem;
    }

    .about-solicitor-card__text {
        font-size: 0.98rem;
        line-height: 1.72;
    }

    .about-solicitor-card__person {
        align-items: flex-start;
        gap: 0.95rem;
    }

    .about-journey-accordion {
        gap: 0.85rem;
    }

    .about-journey-accordion::before {
        left: 1.72rem;
    }

    .about-journey-button {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 0.9rem;
        padding: 0.95rem;
    }

    .about-journey-year {
        width: 3.35rem;
        height: 3.35rem;
        font-size: 0.78rem;
    }

    .about-journey-toggle {
        grid-column: 2;
        justify-self: start;
        width: 2rem;
        height: 2rem;
        margin-top: 0.35rem;
    }

    .about-journey-body {
        padding: 0 0.95rem 1.15rem 5.25rem;
    }

    .articles-showcase__title {
        font-size: clamp(1.9rem, 10vw, 2.8rem);
    }

    .articles-showcase__subtitle {
        font-size: 0.96rem;
    }

    .article-card__image {
        height: 190px;
    }

    .articles-listing__grid {
        grid-template-columns: 1fr;
    }

    .services-showcase {
        margin-bottom: 2rem;
    }

    .services-showcase__title {
        font-size: clamp(1.7rem, 9vw, 2.6rem);
    }

    .services-showcase__subtitle {
        font-size: 0.96rem;
    }

    .service-feature-card__media {
        height: 220px;
    }

    .service-feature-card__panel {
        width: calc(100% - 1rem);
        margin-top: -3.2rem;
        padding: 1.3rem 1.1rem 1.3rem;
    }

    .service-feature-card__title {
        font-size: clamp(1.1rem, 6vw, 1.45rem);
    }

    .about-home-section {
        padding-bottom: 2rem;
    }

    .about-home-title {
        font-size: clamp(1.7rem, 9vw, 2.45rem);
    }

    .about-home-text {
        font-size: 0.96rem;
    }

    .about-home-image {
        min-height: 240px;
    }

    .home-services-section {
        margin-top: 2rem;
        padding-top: 1rem;
    }

    .home-articles-section {
        margin-top: 2.75rem;
        padding-top: 0.85rem;
    }

    .home-cta-button {
        width: 100%;
    }

    .support-float {
        width: calc(100vw - 2.25rem);
        bottom: 0.7rem;
    }

    .support-float__panel {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 0.75rem;
        min-height: 4.1rem;
        padding: 0.55rem 0.62rem 0.55rem 0.65rem;
        border-radius: 1.4rem;
    }

    .support-float__avatar {
        width: 2.9rem;
        height: 2.9rem;
    }

    .support-float__message {
        display: block;
        font-size: 0.86rem;
        line-height: 1.3;
    }

    .support-float__message strong,
    .support-float__message span {
        display: block;
    }

    .support-float__question-rotator {
        width: 11rem;
    }

    .support-float__actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        gap: 0.5rem;
    }

    .support-float__button {
        min-height: 2.65rem;
        padding: 0.7rem 0.5rem;
        font-size: 0.62rem;
        letter-spacing: 0;
    }

    .support-float__button svg {
        width: 0.88rem;
        height: 0.88rem;
    }

    .practice-home-section {
        padding: 3.15rem 0 3.5rem;
    }

    .practice-home-intro {
        margin-bottom: 1.8rem;
    }

    .practice-home-item {
        align-items: flex-start;
        padding: 0.95rem 0;
    }

    .practice-home-item__icon {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 1rem;
        margin-top: 0.12rem;
    }

    .practice-detail-band__stats {
        grid-template-columns: 1fr;
    }

    .practice-detail-hero__title {
        font-size: clamp(2.15rem, 13vw, 3rem);
    }

    .practice-detail-card__media,
    .practice-detail-card--lead .practice-detail-card__media {
        height: 10.75rem;
    }
}

body.site-body .support-float .support-float__panel .support-float__button--primary,
body.site-body .support-float .support-float__panel .support-float__button--primary:link,
body.site-body .support-float .support-float__panel .support-float__button--primary:visited {
    border-color: #070F2B !important;
    background: #070F2B !important;
    background-color: #070F2B !important;
    color: #FFFFFF !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #FFFFFF;
}

body.site-body .support-float .support-float__panel .support-float__button--primary:hover,
body.site-body .support-float .support-float__panel .support-float__button--primary:focus,
body.site-body .support-float .support-float__panel .support-float__button--primary:active {
    border-color: #171B55 !important;
    background: #171B55 !important;
    background-color: #171B55 !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF;
}

body.site-body .support-float .support-float__panel .support-float__button--whatsapp,
body.site-body .support-float .support-float__panel .support-float__button--whatsapp:link,
body.site-body .support-float .support-float__panel .support-float__button--whatsapp:visited {
    border-color: #1F9D55 !important;
    background: #1F9D55 !important;
    background-color: #1F9D55 !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF;
}

body.site-body .support-float .support-float__panel .support-float__button--whatsapp:hover,
body.site-body .support-float .support-float__panel .support-float__button--whatsapp:focus,
body.site-body .support-float .support-float__panel .support-float__button--whatsapp:active {
    border-color: #168244 !important;
    background: #168244 !important;
    background-color: #168244 !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF;
}

.consultation-modal .modal-dialog {
    width: min(46rem, calc(100vw - 1.5rem));
}

.consultation-modal__content {
    border: 0;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.26);
}

.consultation-modal__header {
    align-items: flex-start;
    gap: 1rem;
    padding: clamp(1.4rem, 3vw, 2rem);
    border: 0;
    background:
        linear-gradient(135deg, rgba(203, 191, 131, 0.15), rgba(255, 255, 255, 0)),
        var(--brand-navy);
    color: #fff;
}

.consultation-modal__eyebrow {
    color: var(--brand-gold);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.consultation-modal__title {
    color: #fff;
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 1.15;
}

.consultation-modal__close {
    filter: invert(1) grayscale(1) brightness(2);
    opacity: 0.86;
}

.consultation-modal__form {
    padding: clamp(1.25rem, 3vw, 2rem);
    background: #fff;
}

.consultation-modal__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.consultation-modal__field {
    display: grid;
    gap: 0.42rem;
    min-width: 0;
    color: #293241;
    font-size: 0.82rem;
    font-weight: 500;
}

.consultation-modal__help {
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(7, 15, 43, 0.08);
    border-radius: 0.35rem;
    background: rgba(7, 15, 43, 0.03);
    color: #5b6476;
    font-size: 0.79rem;
    line-height: 1.65;
}

.consultation-modal__field--wide {
    grid-column: 1 / -1;
}

.consultation-modal__field input,
.consultation-modal__field select,
.consultation-modal__field textarea {
    width: 100%;
    border: 1px solid rgba(7, 15, 43, 0.14);
    border-radius: 0.35rem;
    background: #f8fafc;
    color: #111827;
    font-family: var(--brand-font-family);
    font-size: 0.92rem;
    line-height: 1.5;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.consultation-modal__field input,
.consultation-modal__field select {
    min-height: 3.1rem;
    padding: 0.72rem 0.86rem;
}

.consultation-modal__field textarea {
    min-height: 8.25rem;
    resize: vertical;
    padding: 0.82rem 0.86rem;
}

.consultation-modal__field input:focus,
.consultation-modal__field select:focus,
.consultation-modal__field textarea:focus {
    border-color: var(--brand-navy);
    background: #fff;
    box-shadow: 0 0 0 0.18rem rgba(7, 15, 43, 0.1);
}

.consultation-modal__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
}

.consultation-modal__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.78rem 1.35rem;
    border: 1px solid var(--brand-navy);
    border-radius: 999px;
    background: var(--brand-navy);
    color: #fff;
    font-family: var(--brand-font-family);
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.consultation-modal__submit:hover,
.consultation-modal__submit:focus {
    border-color: #171b55;
    background: #171b55;
    transform: translateY(-1px);
}

.consultation-modal__note {
    max-width: 23rem;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.55;
}

.order-progress-page {
    padding: clamp(3rem, 7vw, 5rem) 0;
    background: #f7f8fc;
}

.order-progress-card {
    width: min(100%, 54rem);
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid rgba(7, 15, 43, 0.1);
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 20px 52px rgba(15, 23, 42, 0.08);
}

.order-progress-eyebrow {
    margin: 0 0 0.45rem;
    color: var(--brand-gold);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.order-progress-card h1 {
    margin: 0;
    color: var(--brand-navy);
    font-size: clamp(1.7rem, 4vw, 2.55rem);
}

.order-progress-summary {
    max-width: 42rem;
    margin: 0.8rem 0 0;
    color: #475569;
}

.order-progress-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.2rem;
}

.order-progress-meta span {
    display: inline-flex;
    padding: 0.45rem 0.78rem;
    border-radius: 999px;
    background: rgba(7, 15, 43, 0.07);
    color: var(--brand-navy);
    font-size: 0.8rem;
}

.order-progress-timeline {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.6rem;
}

.order-progress-item {
    border-left: 3px solid var(--brand-gold);
    padding: 0.1rem 0 0.1rem 1rem;
}

.order-progress-item time {
    color: #64748b;
    font-size: 0.78rem;
}

.order-progress-item h2 {
    margin: 0.18rem 0 0.25rem;
    color: #111827;
    font-size: 1rem;
    text-transform: capitalize;
}

.order-progress-item p {
    margin: 0;
    color: #475569;
    font-size: 0.9rem;
}

.btn-header-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.55rem;
    padding: 0.48rem 0.95rem;
    border: 1px solid rgba(7, 15, 43, 0.14);
    border-radius: 999px;
    background: rgba(7, 15, 43, 0.04);
    color: var(--brand-navy);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn-header-link:hover,
.btn-header-link:focus {
    border-color: var(--brand-navy);
    background: var(--brand-navy);
    color: #fff;
}

.client-dashboard {
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.client-dashboard__hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid rgba(7, 15, 43, 0.1);
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 20px 52px rgba(15, 23, 42, 0.07);
}

.client-dashboard__hero h1 {
    margin: 0;
    color: var(--brand-navy);
    font-size: clamp(1.65rem, 3.4vw, 2.55rem);
    font-weight: 500;
}

.client-dashboard__hero p:not(.section-eyebrow) {
    color: #64748b;
}

.client-dashboard__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.client-stat {
    min-height: 7.25rem;
    padding: 1rem;
    border: 1px solid rgba(7, 15, 43, 0.09);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.86);
}

.client-stat span {
    display: block;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
}

.client-stat strong {
    display: block;
    margin-top: 0.35rem;
    color: var(--brand-navy);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 500;
    line-height: 1;
}

.client-dashboard__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.client-panel {
    min-width: 0;
    padding: clamp(1rem, 2vw, 1.35rem);
    border: 1px solid rgba(7, 15, 43, 0.09);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.client-panel--wide {
    grid-column: 1 / -1;
}

.client-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.client-panel__eyebrow {
    margin: 0 0 0.18rem;
    color: #6b5b2d;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
}

.client-panel h2 {
    margin: 0;
    color: var(--brand-navy);
    font-size: 1.08rem;
    font-weight: 500;
}

.client-list {
    display: grid;
    gap: 0.7rem;
}

.client-list-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    min-height: 4.75rem;
    padding: 0.85rem;
    border: 1px solid rgba(7, 15, 43, 0.08);
    border-radius: 0.45rem;
    background: #fff;
}

.client-list-item h3 {
    margin: 0;
    color: #111827;
    font-size: 0.96rem;
    font-weight: 500;
    line-height: 1.3;
}

.client-list-item p {
    margin: 0.2rem 0 0;
    color: #64748b;
    font-size: 0.82rem;
}

.client-list-item__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
    text-align: right;
}

.client-list-item__meta small,
.client-list-item__meta a {
    max-width: 14rem;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.35;
}

.client-list-item__meta a {
    color: var(--brand-navy);
    font-weight: 500;
}

.client-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.7rem;
    padding: 0.32rem 0.65rem;
    border-radius: 999px;
    background: rgba(7, 15, 43, 0.08);
    color: var(--brand-navy);
    font-size: 0.72rem;
    font-weight: 500;
    white-space: nowrap;
}

.client-empty {
    min-height: 4.75rem;
    display: flex;
    align-items: center;
    padding: 0.95rem;
    border: 1px dashed rgba(7, 15, 43, 0.18);
    border-radius: 0.45rem;
    color: #64748b;
    background: rgba(255, 255, 255, 0.58);
    font-size: 0.9rem;
}

body.site-body,
body.site-body .site-main,
body.site-body .legacy-hero-section,
body.site-body .section-block,
body.site-body .about-home-section,
body.site-body .home-services-section,
body.site-body .home-articles-section,
body.site-body .home-cta-section,
body.site-body .practice-home-section,
body.site-body .page-hero,
body.site-body .contact-page,
body.site-body .contact-map-section,
body.site-body .practice-detail-page,
body.site-body .practice-detail-section,
body.site-body .practice-detail-cta,
body.site-body .about-pillars-section,
body.site-body .about-journey-section,
body.site-body .about-solicitors-section,
body.site-body .order-progress-page {
    background: var(--brand-page-bg) !important;
    background-color: var(--brand-page-bg-base) !important;
}

body.site-body .about-journey-section {
    background: linear-gradient(180deg, #070F2B 0%, #0c1745 100%) !important;
    background-color: #070F2B !important;
}

body.site-body .legacy-hero-section {
    background-color: var(--legacy-blue) !important;
    background-image: none !important;
}

body.site-body .page-hero-panel,
body.site-body .card-soft,
body.site-body .practice-detail-card,
body.site-body .practice-detail-cta__panel,
body.site-body .order-progress-card {
    background: var(--brand-page-panel);
}

body.site-body .contact-page__form-panel {
    background: rgba(255, 255, 255, 0.72);
}

body.site-body .about-home-section,
body.site-body .practice-home-section,
body.site-body .home-cta-section {
    color: var(--brand-navy);
}

body.site-body .about-home-title,
body.site-body .practice-home-title,
body.site-body .home-cta-title,
body.site-body .about-home-text,
body.site-body .practice-home-subtitle,
body.site-body .home-cta-text,
body.site-body .practice-home-empty,
body.site-body .practice-home-item,
body.site-body .practice-home-item__title,
body.site-body .practice-home-item__text {
    color: var(--brand-navy) !important;
}

body.site-body .about-home-eyebrow,
body.site-body .home-cta-eyebrow {
    color: #5f4c20 !important;
}

body.site-body .about-home-divider,
body.site-body .practice-home-item:hover .practice-home-item__icon {
    background: var(--brand-navy);
    border-color: var(--brand-navy);
}

body.site-body .practice-home-list,
body.site-body .practice-home-item {
    border-color: rgba(7, 15, 43, 0.22);
}

body.site-body .about-home-button,
body.site-body .practice-home-button {
    border-color: var(--brand-navy);
    color: var(--brand-navy);
    background: transparent;
    --bs-btn-color: var(--brand-navy);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--brand-navy);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--brand-navy);
    --bs-btn-hover-border-color: var(--brand-navy);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--brand-navy);
    --bs-btn-active-border-color: var(--brand-navy);
}

body.site-body .about-home-button:hover,
body.site-body .about-home-button:focus,
body.site-body .about-home-button:active,
body.site-body .practice-home-button:hover,
body.site-body .practice-home-button:focus,
body.site-body .practice-home-button:active {
    border-color: var(--brand-navy) !important;
    background: var(--brand-navy) !important;
    color: #fff !important;
}

body.site-body .practice-home-item__icon {
    border-color: rgba(7, 15, 43, 0.48);
    color: var(--brand-navy);
}

body.site-body .practice-home-item:hover .practice-home-item__icon {
    color: #fff;
}

body.site-body .practice-home-section {
    background: var(--brand-navy) !important;
    background-color: var(--brand-navy) !important;
    color: #fff;
}

body.site-body .practice-home-section .practice-home-title,
body.site-body .practice-home-section .practice-home-subtitle,
body.site-body .practice-home-section .practice-home-empty,
body.site-body .practice-home-section .practice-home-item,
body.site-body .practice-home-section .practice-home-item__title,
body.site-body .practice-home-section .practice-home-item__text {
    color: #fff !important;
}

body.site-body .practice-home-section .practice-home-list,
body.site-body .practice-home-section .practice-home-item {
    border-color: rgba(255, 255, 255, 0.18);
}

body.site-body .practice-home-section .practice-home-item__icon {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

body.site-body .practice-home-section .practice-home-item:hover .practice-home-item__icon {
    border-color: var(--brand-gold);
    background: var(--brand-gold);
    color: var(--brand-navy);
}

body.site-body .practice-home-section .practice-home-button {
    border-color: rgba(255, 255, 255, 0.75);
    color: #fff;
    background: transparent;
    --bs-btn-color: #fff;
    --bs-btn-bg: transparent;
    --bs-btn-border-color: rgba(255, 255, 255, 0.75);
    --bs-btn-hover-color: var(--brand-navy);
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: #fff;
}

body.site-body .practice-home-section .practice-home-button:hover,
body.site-body .practice-home-section .practice-home-button:focus,
body.site-body .practice-home-section .practice-home-button:active {
    border-color: #fff !important;
    background: #fff !important;
    color: var(--brand-navy) !important;
}

body.site-body .about-home-section {
    background: var(--brand-navy) !important;
    background-color: var(--brand-navy) !important;
    color: #fff;
}

body.site-body .about-home-section .about-home-title,
body.site-body .about-home-section .about-home-text {
    color: #fff !important;
}

body.site-body .about-home-section .about-home-eyebrow {
    color: var(--brand-gold) !important;
}

body.site-body .about-home-section .about-home-divider {
    background: var(--brand-gold);
}

body.site-body .about-home-section .about-home-button {
    border-color: rgba(255, 255, 255, 0.75);
    color: #fff;
    background: transparent;
    --bs-btn-color: #fff;
    --bs-btn-bg: transparent;
    --bs-btn-border-color: rgba(255, 255, 255, 0.75);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--brand-gold);
    --bs-btn-hover-border-color: var(--brand-gold);
}

body.site-body .about-home-section .about-home-button:hover,
body.site-body .about-home-section .about-home-button:focus,
body.site-body .about-home-section .about-home-button:active {
    border-color: var(--brand-gold) !important;
    background: var(--brand-gold) !important;
    color: #fff !important;
}

body.site-body .home-cta-section {
    background: var(--brand-navy) !important;
    background-color: var(--brand-navy) !important;
    color: #fff;
}

body.site-body .home-cta-section .home-cta-title,
body.site-body .home-cta-section .home-cta-text {
    color: #fff !important;
}

body.site-body .home-cta-section .home-cta-eyebrow {
    color: var(--brand-gold) !important;
}

body.site-body .home-cta-section .home-cta-button {
    border-color: #fff !important;
    background: #fff !important;
    color: var(--brand-navy) !important;
}

body.site-body .home-cta-section .home-cta-button:hover,
body.site-body .home-cta-section .home-cta-button:focus,
body.site-body .home-cta-section .home-cta-button:active {
    border-color: var(--brand-gold) !important;
    background: var(--brand-gold) !important;
    color: #fff !important;
}

@media (max-width: 767.98px) {
    .client-dashboard__hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .client-dashboard__hero form,
    .client-dashboard__hero .btn {
        width: 100%;
    }

    .client-dashboard__stats,
    .client-dashboard__grid {
        grid-template-columns: 1fr;
    }

    .client-list-item {
        grid-template-columns: 1fr;
    }

    .client-list-item__meta {
        align-items: flex-start;
        text-align: left;
    }

    .consultation-modal__grid {
        grid-template-columns: 1fr;
    }

    .consultation-modal__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .consultation-modal__submit {
        width: 100%;
    }
}
