:root {
    color-scheme: light;
    --page-bg: #ffffff;
    --surface: #ffffff;
    --surface-soft: #f5f7fa;
    --surface-warm: #f8f7f4;
    --text: #172033;
    --text-muted: #5d6675;
    --navy: #14233b;
    --navy-soft: #273a55;
    --border: #dce2e9;
    --border-strong: #cbd4de;
    --accent: #9a7540;
    --accent-soft: #efe7dc;
    --focus: #365f8c;
    --shadow: 0 18px 48px rgba(20, 35, 59, 0.07);
    --content-width: 1040px;
    --radius: 12px;
    --font-sans: Inter, "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--page-bg);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: var(--page-bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 9px 13px;
    transform: translateY(-150%);
    border-radius: 8px;
    background: var(--navy);
    color: #ffffff;
    text-decoration: none;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-shell {
    width: min(100%, var(--content-width));
    margin-inline: auto;
    padding-inline: 24px;
}

.site-header {
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.98);
}

.site-header__inner {
    padding-block: 25px 17px;
}

.site-brand {
    display: inline-block;
    color: var(--navy);
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    font-weight: 650;
    line-height: 1.22;
    letter-spacing: -0.025em;
    text-decoration: none;
}

.site-brand:hover {
    color: var(--navy-soft);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-top: 15px;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 7px 10px;
    border-radius: 7px;
    color: #344054;
    font-size: 0.94rem;
    font-weight: 550;
    text-decoration: none;
    transition: background-color 150ms ease, color 150ms ease;
}

.site-nav a:hover {
    background: var(--surface-soft);
    color: var(--navy);
}

.site-nav a[aria-current="page"] {
    background: #edf1f6;
    color: var(--navy);
    box-shadow: inset 0 -2px 0 var(--accent);
}

.site-main {
    width: min(100%, var(--content-width));
    min-height: 60vh;
    margin-inline: auto;
    padding: 46px 24px 68px;
    flex: 1;
}

h1,
h2,
h3 {
    color: var(--navy);
    line-height: 1.3;
    text-wrap: balance;
}

h1,
h2 {
    margin: 0 0 26px;
    font-size: clamp(1.75rem, 3.2vw, 2.25rem);
    font-weight: 680;
    letter-spacing: -0.025em;
}

h3 {
    margin: 0 0 10px;
    font-size: 1.12rem;
    font-weight: 650;
}

p {
    margin: 0 0 1em;
}

a {
    color: var(--navy-soft);
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--navy);
}

:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--focus) 55%, transparent);
    outline-offset: 3px;
}

.hero {
    max-width: 840px;
    margin-bottom: 48px;
    padding: 7px 0 38px;
    border-bottom: 1px solid var(--border);
}

.hero::before {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: var(--accent);
}

.hero h1 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    font-weight: 680;
    letter-spacing: -0.04em;
}

.hero p {
    max-width: 740px;
    color: #3e4858;
    font-size: 1.08rem;
}

.hero-quote {
    color: var(--text-muted);
    font-style: italic;
}

.section-title {
    margin-bottom: 18px;
}

.years-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 24px;
    padding: 0 0 22px;
    border-bottom: 1px solid var(--border);
}

.years-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    min-height: 36px;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--navy-soft);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.years-nav a:hover {
    border-color: var(--border-strong);
    background: var(--surface-soft);
}

.years-nav a.active {
    border-color: var(--navy);
    background: var(--navy);
    color: #ffffff;
}

.news-item {
    max-width: 850px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border);
}

.news-item:last-child {
    border-bottom: 0;
}

.news-date {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.news-title {
    margin: 7px 0 8px;
    color: var(--navy);
    font-size: 1.25rem;
    font-weight: 680;
    line-height: 1.38;
}

.news-desc {
    color: #3f4958;
}

.news-link {
    display: inline-flex;
    margin-top: 10px;
    color: var(--navy-soft);
    font-weight: 650;
    text-decoration: none;
}

.news-link:hover {
    text-decoration: underline;
}

.news-empty {
    max-width: 760px;
    padding: 20px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-soft);
    color: var(--text-muted);
}

.service-intro {
    max-width: 850px;
    margin-bottom: 30px;
    padding: 20px 22px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--surface-warm);
}

.service-intro p {
    margin: 0;
}

.service-intro p + p {
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 0.94rem;
    font-style: italic;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.service {
    min-height: 100%;
    padding: 21px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 8px 24px rgba(20, 35, 59, 0.035);
}

.service::before {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    margin-bottom: 15px;
    background: var(--accent);
}

.service p,
.about-section p,
.contact-block p,
.privacy-section p,
.privacy-section li {
    color: #414b5a;
}

.about-section {
    max-width: 850px;
    padding: 26px 0;
    border-bottom: 1px solid var(--border);
}

.about-section:first-of-type {
    padding-top: 0;
}

.about-section:last-child {
    border-bottom: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-block {
    min-height: 100%;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.contact-block h2 {
    margin: 0 0 10px;
    font-size: 1.12rem;
    font-weight: 650;
    letter-spacing: 0;
}

.contact-block--wide {
    grid-column: 1 / -1;
}

.contact-block a {
    color: var(--navy);
    font-weight: 620;
    text-decoration: none;
}

.contact-block a:hover {
    text-decoration: underline;
}

.contact-note {
    margin-top: 7px;
    color: var(--text-muted) !important;
    font-size: 0.9rem;
}

.privacy-section {
    max-width: 850px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}

.privacy-section:last-child {
    border-bottom: 0;
}

.privacy-section ul {
    padding-left: 1.25rem;
}

.site-footer {
    border-top: 1px solid var(--border);
    background: var(--surface-soft);
    color: var(--text-muted);
    font-size: 0.86rem;
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
    padding-block: 20px;
}

.site-footer p {
    margin: 0;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.site-footer a,
.analytics-settings-button {
    border: 0;
    padding: 0;
    background: none;
    color: var(--navy-soft);
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.consent-banner {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 900;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px 22px;
    width: min(720px, calc(100vw - 40px));
    padding: 15px 16px 15px 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 28px rgba(20, 35, 59, 0.09);
}

.consent-banner[hidden] {
    display: none;
}

.consent-copy {
    min-width: 0;
}

.consent-banner h2 {
    margin: 0 0 3px;
    font-size: 0.98rem;
    font-weight: 680;
}

.consent-banner p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.48;
}

.consent-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid var(--navy);
    border-radius: 8px;
    background: var(--navy);
    color: #ffffff;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 650;
    cursor: pointer;
}

.button:hover {
    background: var(--navy-soft);
}

.button--secondary {
    border-color: var(--border-strong);
    background: #ffffff;
    color: var(--navy);
}

.button--secondary:hover {
    background: var(--surface-soft);
}

.hero-actions,
.practice-actions,
.practice-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-actions {
    margin-top: 23px;
}

.service-link {
    display: inline-flex;
    margin-top: 9px;
    color: var(--navy-soft);
    font-weight: 650;
    text-decoration: none;
}

.service-link:hover {
    text-decoration: underline;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 30px;
    color: var(--text-muted);
    font-size: 0.86rem;
}

.breadcrumbs a {
    color: var(--navy-soft);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.practice-page {
    max-width: var(--content-width);
}

.practice-hero {
    max-width: 920px;
    padding: 2px 0 42px;
    border-bottom: 1px solid var(--border);
}

.practice-eyebrow {
    margin-bottom: 10px;
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.practice-hero h1 {
    max-width: 850px;
    margin-bottom: 18px;
    font-size: clamp(2rem, 4vw, 3.05rem);
    letter-spacing: -0.04em;
}

.practice-lead {
    max-width: 850px;
    color: #394555;
    font-size: 1.08rem;
    line-height: 1.72;
}

.practice-principle {
    max-width: 850px;
    margin: 22px 0 0;
    padding: 17px 19px;
    border-left: 4px solid var(--accent);
    background: var(--surface-warm);
    color: #384454;
    font-weight: 620;
}

.practice-actions {
    margin-top: 24px;
}

.practice-section {
    max-width: 1000px;
    padding: 44px 0;
    border-bottom: 1px solid var(--border);
}

.practice-section__heading {
    max-width: 780px;
    margin-bottom: 24px;
}

.practice-section__heading h2,
.practice-section > h2 {
    margin-bottom: 10px;
}

.practice-section__heading p {
    color: var(--text-muted);
}

.practice-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.practice-tag-list li {
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--navy-soft);
    font-size: 0.9rem;
    font-weight: 620;
}

.practice-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.practice-card {
    min-height: 100%;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.practice-card h3,
.practice-steps h3,
.practice-evidence-card h3 {
    margin-bottom: 8px;
}

.practice-card p,
.practice-steps p,
.practice-evidence-card p,
.practice-related-grid span,
.practice-cta p {
    color: #414b5a;
}

.practice-steps {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.practice-steps li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 19px 0;
    border-bottom: 1px solid var(--border);
}

.practice-steps li:last-child {
    border-bottom: 0;
}

.practice-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--navy);
    color: #ffffff;
    font-weight: 720;
}

.practice-evidence-list {
    display: grid;
    gap: 14px;
}

.practice-evidence-card {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-soft);
}

.practice-evidence-meta {
    margin-bottom: 6px !important;
    color: var(--text-muted) !important;
    font-size: 0.82rem;
    font-weight: 650;
}

.practice-evidence-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 11px;
}

.practice-evidence-links a {
    color: var(--navy-soft);
    font-weight: 650;
    text-decoration: none;
}

.practice-evidence-links a:hover {
    text-decoration: underline;
}

.practice-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.practice-related-grid a {
    display: grid;
    gap: 7px;
    padding: 18px 19px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--navy);
    text-decoration: none;
}

.practice-related-grid a:hover {
    border-color: var(--border-strong);
    background: var(--surface-soft);
}

.practice-related-grid span {
    font-size: 0.92rem;
}

.practice-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    max-width: 1000px;
    margin-top: 44px;
    padding: 28px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: var(--surface-warm);
}

.practice-cta h2 {
    margin-bottom: 8px;
}

.practice-cta p {
    max-width: 720px;
    margin-bottom: 0;
}

.practice-cta__actions {
    justify-content: flex-end;
}

@media (max-width: 760px) {
    .site-shell,
    .site-main {
        padding-inline: 18px;
    }

    .site-header__inner {
        padding-block: 21px 14px;
    }

    .site-main {
        padding-top: 34px;
        padding-bottom: 52px;
    }

    .site-nav {
        gap: 3px;
        margin-top: 12px;
    }

    .site-nav a {
        min-height: 35px;
        padding: 6px 8px;
        font-size: 0.88rem;
    }

    .service-list,
    .contact-grid,
    .practice-card-grid,
    .practice-related-grid,
    .practice-cta {
        grid-template-columns: 1fr;
    }

    .contact-block--wide {
        grid-column: auto;
    }

    .practice-section {
        padding-block: 34px;
    }

    .practice-cta {
        gap: 18px;
        padding: 22px;
    }

    .practice-cta__actions {
        justify-content: flex-start;
    }

    .site-footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .consent-banner {
        grid-template-columns: 1fr;
        width: min(520px, calc(100vw - 36px));
    }

    .consent-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 430px) {
    .site-shell,
    .site-main {
        padding-inline: 15px;
    }

    .site-brand {
        font-size: 1.25rem;
    }

    .site-nav a {
        font-size: 0.84rem;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .years-nav a {
        min-width: 47px;
        padding-inline: 8px;
    }

    .consent-banner {
        left: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
        padding: 14px;
    }

    .consent-actions .button {
        flex: 1 1 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

.practice-check-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.practice-check-list li {
    position: relative;
    padding: 15px 18px 15px 46px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-soft);
}

.practice-check-list li::before {
    content: "✓";
    position: absolute;
    left: 18px;
    color: var(--bronze);
    font-weight: 800;
}

.practice-faq-list {
    display: grid;
    gap: 10px;
}

.practice-faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.practice-faq-item summary {
    padding: 17px 20px;
    color: var(--navy);
    font-weight: 700;
    cursor: pointer;
}

.practice-faq-item p {
    margin: 0;
    padding: 0 20px 19px;
    color: #414b5a;
}


.contact-intake {
    max-width: 900px;
    margin-top: 42px;
    padding-top: 38px;
    border-top: 1px solid var(--border);
}

.contact-intake__intro {
    max-width: 760px;
}

.contact-intake__warning {
    padding: 14px 16px;
    border-left: 4px solid var(--accent);
    background: var(--surface-warm);
    color: #3f4855;
}

.contact-brief {
    display: grid;
    gap: 18px;
    margin-top: 24px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-soft);
}

.contact-brief__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-brief__field {
    display: grid;
    gap: 7px;
}

.contact-brief label {
    color: var(--navy);
    font-weight: 640;
}

.contact-brief input,
.contact-brief textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: #ffffff;
    color: var(--text);
    font: inherit;
}

.contact-brief textarea {
    min-height: 138px;
    resize: vertical;
}

.field-optional,
.field-help,
.contact-brief__status {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 400;
}

.field-help,
.contact-brief__status {
    margin: 0;
}

.contact-brief__actions,
.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.contact-brief-result {
    margin-top: 18px;
    padding: 20px 22px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: var(--surface-warm);
}

.contact-brief-result h3 {
    margin-bottom: 6px;
}

.contact-brief-result p {
    color: #414b5a;
}

@media (max-width: 760px) {
    .contact-brief__row {
        grid-template-columns: 1fr;
    }

    .contact-brief {
        padding: 19px;
    }

    .contact-brief__actions .button,
    .contact-brief-result .button {
        width: 100%;
        justify-content: center;
    }
}
