:root {
    --navy: #061b35;
    --navy-raised: #0b2848;
    --navy-soft: #0e2e50;
    --gold: #c7a667;
    --white: #f7f8fa;
    --text: #cbd2db;
    --text-soft: #8998a9;
    --line: rgba(76, 133, 170, 0.34);
    --line-strong: rgba(94, 153, 188, 0.48);
    --header-height: 92px;
    --footer-height: 78px;
    --page-x: clamp(24px, 6vw, 92px);
    --content-max: 1440px;
    --ease-out: cubic-bezier(.2, .75, .2, 1);
    --ease-soft: cubic-bezier(.25, .8, .25, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--navy);
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--navy);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: .24em;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 8px;
    left: 8px;
    padding: 10px 14px;
    transform: translateY(-150%);
    border: 1px solid var(--gold);
    background: var(--navy);
    color: var(--white);
}

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

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    height: var(--header-height);
    border-bottom: 1px solid var(--line);
    background: rgba(6, 27, 53, .96);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .12);
}

/* The header deliberately keeps its settled/scrolled appearance at all times. */
.site-header--scrolled {
    border-bottom-color: var(--line);
    background: rgba(6, 27, 53, .96);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .12);
}

@supports (backdrop-filter: blur(14px)) {
    .site-header,
    .site-header--scrolled {
        background: rgba(6, 27, 53, .9);
        backdrop-filter: blur(14px);
    }
}

.site-header__inner {
    width: min(100%, calc(var(--content-max) + (2 * var(--page-x))));
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--page-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand img {
    width: clamp(168px, 17vw, 244px);
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(28px, 4.8vw, 76px);
}

.site-nav a,
.site-nav__legal {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--text-soft);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 180ms ease;
}

.site-nav a::after {
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 2px;
    content: '';
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 360ms var(--ease-out);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
    color: var(--white);
}

.site-nav a.is-active::after {
    transform: scaleX(1);
}

.site-nav__legal {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.mobile-nav {
    display: none;
}

.menu-toggle {
    display: none;
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--white);
    font: inherit;
    font-weight: 700;
}

.panel-stack {
    padding-top: var(--header-height);
}

.panel {
    position: relative;
    min-height: calc(100svh - var(--header-height));
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 84% 22%, rgba(33, 78, 116, .11), transparent 32%),
        var(--navy);
}

.panel__inner {
    position: relative;
    z-index: 1;
    width: min(100%, calc(var(--content-max) + (2 * var(--page-x))));
    min-height: calc(100svh - var(--header-height));
    margin: 0 auto;
    padding: clamp(56px, 7vh, 92px) var(--page-x);
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(310px, .9fr);
    align-items: center;
    gap: clamp(56px, 8vw, 128px);
}

.panel__content {
    max-width: 850px;
}

.eyebrow,
.legal-kicker {
    margin: 0 0 clamp(30px, 4.2vh, 46px);
    color: var(--gold);
    font-size: clamp(.76rem, .8vw, .9rem);
    font-weight: 700;
    letter-spacing: .015em;
}

.panel__title {
    max-width: 950px;
    margin: 0;
    color: var(--white);
    font-size: clamp(2.35rem, 3.3vw, 4rem);
    font-weight: 700;
    line-height: 1.11;
    letter-spacing: -.028em;
    text-transform: uppercase;
    text-wrap: balance;
}

.panel__body {
    max-width: 850px;
    margin-top: clamp(42px, 7vh, 76px);
    color: var(--text);
    font-size: clamp(1.08rem, 1.38vw, 1.52rem);
    line-height: 1.35;
}

.panel__body p {
    margin: 0;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
}

.panel__body p + p {
    margin-top: 1.45em;
}

.panel__visual {
    justify-self: end;
    width: min(100%, 470px);
    margin: 0;
}

.image-frame {
    position: relative;
    padding: 14px;
    border: 1px solid rgba(110, 163, 195, .34);
    border-radius: 14px;
    background: rgba(14, 46, 80, .68);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .12);
}

.image-frame::after {
    position: absolute;
    right: 14px;
    bottom: -11px;
    left: 14px;
    height: 3px;
    content: '';
    border-radius: 99px;
    background: var(--gold);
}

.image-frame img {
    width: 100%;
    aspect-ratio: .75;
    object-fit: cover;
    border-radius: 10px;
}

.service-groups {
    margin-top: clamp(42px, 6vh, 66px);
    display: grid;
    gap: 34px;
}

.service-group h3 {
    margin: 0 0 10px;
    color: var(--gold);
    font-size: 1rem;
}

.service-group p {
    margin: 0;
    color: var(--text);
    font-size: clamp(1rem, 1.2vw, 1.28rem);
    line-height: 1.35;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
}

.service-group p span {
    display: inline-block;
    margin: 0 .18em;
    color: var(--gold);
}

.client-columns {
    margin-top: clamp(48px, 7vh, 72px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px;
}

.client-columns ul {
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--text);
    font-size: clamp(1.05rem, 1.25vw, 1.32rem);
    line-height: 1.5;
}

.client-columns li {
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
}

.steps {
    max-width: 820px;
    margin: clamp(40px, 6vh, 64px) 0 0;
    padding: 0;
    list-style: none;
}

.steps li {
    padding: 18px 0 20px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-size: clamp(1rem, 1.24vw, 1.28rem);
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
}

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

.fact-grid {
    max-width: 820px;
    margin: clamp(40px, 6vh, 64px) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 52px;
    list-style: none;
}

.fact-grid li {
    padding: 16px 12px 11px;
    border-bottom: 1px solid var(--line-strong);
    color: var(--white);
    font-weight: 700;
}

.contact-actions {
    margin-top: clamp(50px, 7vh, 76px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 44px;
}

.contact-email {
    position: relative;
    color: var(--white);
    font-size: clamp(1.8rem, 2.6vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.contact-email::after {
    position: absolute;
    right: 0;
    bottom: -.48em;
    left: 0;
    height: 2px;
    content: '';
    background: var(--gold);
    transform-origin: left;
    transition: transform 300ms ease;
}

.contact-email:hover::after,
.contact-email:focus-visible::after {
    transform: scaleX(.72);
}

.button {
    min-width: min(100%, 455px);
    padding: 20px 24px;
    border: 1px solid var(--gold);
    border-radius: 8px;
    color: var(--white);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.button:hover,
.button:focus-visible {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

.contact-card {
    width: min(100%, 470px);
    min-height: 540px;
    justify-self: end;
    padding: 64px 44px;
    border: 1px solid rgba(110, 163, 195, .34);
    border-radius: 14px;
    background: rgba(14, 46, 80, .62);
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 68px;
    text-align: center;
}

.contact-card img {
    width: min(240px, 80%);
    height: auto;
    object-fit: contain;
}

.contact-card span {
    display: block;
    margin-bottom: 20px;
    color: var(--gold);
    font-weight: 700;
}

.contact-card address {
    color: var(--text);
    font-size: 1.24rem;
    font-style: normal;
    line-height: 1.35;
}

.reveal {
    transition:
        opacity 720ms var(--ease-soft) var(--reveal-delay, 0ms),
        transform 720ms var(--ease-soft) var(--reveal-delay, 0ms),
        filter 720ms var(--ease-soft) var(--reveal-delay, 0ms);
}

.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(2px);
}

.js .panel__visual.reveal,
.js .contact-card.reveal {
    transform: translate3d(28px, 14px, 0) scale(.985);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

.site-footer {
    position: relative;
    min-height: var(--footer-height);
    border-top: 1px solid var(--line);
    background: rgba(5, 24, 47, .97);
}

@supports (backdrop-filter: blur(14px)) {
    .site-footer {
        background: rgba(5, 24, 47, .9);
        backdrop-filter: blur(14px);
    }
}

.site-footer__inner {
    width: min(100%, calc(var(--content-max) + (2 * var(--page-x))));
    min-height: var(--footer-height);
    margin: 0 auto;
    padding: 10px var(--page-x);
    display: grid;
    grid-template-columns: minmax(220px, 1.15fr) minmax(360px, 1.7fr) minmax(190px, .9fr);
    align-items: center;
    gap: clamp(20px, 2.6vw, 42px);
    color: var(--text-soft);
    font-size: .76rem;
}

.site-footer__company { min-width: 0; display: block; line-height: 1.25; }
.site-footer__company strong { display: inline-block; overflow: hidden; color: var(--white); font-size: .79rem; text-overflow: ellipsis; white-space: nowrap; }
.site-footer__company span { display: inline-block; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.legal-links a, .site-footer__email { color: var(--text); text-decoration: none; transition: color 180ms ease; }
.legal-links a:hover, .legal-links a:focus-visible, .legal-links a.is-active, .site-footer__email:hover, .site-footer__email:focus-visible { color: var(--gold); }
.site-footer__email { justify-self: end; white-space: nowrap; }

/* Legal pages */
.legal-main {
    min-height: 100svh;
    padding-top: var(--header-height);
    background:
        radial-gradient(circle at 78% 3%, rgba(33, 78, 116, .15), transparent 30%),
        var(--navy);
}

.legal-shell {
    width: min(100%, calc(var(--content-max) + (2 * var(--page-x))));
    margin: 0 auto;
    padding: clamp(64px, 8vh, 100px) var(--page-x) 46px;
}

.legal-heading {
    position: relative;
    padding-bottom: 34px;
    border-bottom: 2px solid var(--gold);
}

.legal-heading .legal-kicker {
    position: absolute;
    top: 8px;
    right: 0;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.legal-heading h1 {
    margin: 0;
    color: var(--white);
    font-size: clamp(2.8rem, 4.4vw, 5rem);
    line-height: 1;
    letter-spacing: -.035em;
}

.legal-updated {
    margin: 48px 0 0;
    color: var(--text-soft);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.legal-grid {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 72px;
}

.legal-section {
    padding: 34px 0 40px;
    border-bottom: 1px solid var(--line);
}

.legal-section h2 {
    margin: 0 0 20px;
    color: var(--gold);
    font-size: .98rem;
    line-height: 1.3;
    text-transform: uppercase;
}

.legal-copy {
    color: var(--text);
    font-size: clamp(1rem, 1vw, 1.1rem);
    line-height: 1.5;
}

.legal-copy p {
    margin: 0;
}

.legal-copy h3 {
    margin: 1.7em 0 .55em;
    color: var(--gold);
    font-size: .9rem;
    line-height: 1.3;
    text-transform: uppercase;
}

.legal-copy p + p,
.legal-copy p + ul,
.legal-copy ul + p {
    margin-top: 1.45em;
}

.legal-copy ul {
    margin: 0;
    padding-left: 1.2em;
}

.legal-copy li + li {
    margin-top: .18em;
}

.legal-copy a {
    color: var(--white);
    text-decoration-color: rgba(199, 166, 103, .7);
}

.legal-copy a:hover,
.legal-copy a:focus-visible {
    color: var(--gold);
}


:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 5px;
}

@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
    html {
        scroll-snap-type: y proximity;
    }

    .panel {
        scroll-snap-align: start;
    }
}

@media (max-width: 1100px) {
    :root {
        --page-x: clamp(24px, 5vw, 58px);
    }

    .panel__inner {
        grid-template-columns: minmax(0, 1.35fr) minmax(280px, .82fr);
        gap: 52px;
    }

    .site-footer__inner {
        grid-template-columns: minmax(210px, 1fr) minmax(300px, 1.45fr) auto;
        gap: 18px;
    }

}

@media (max-width: 900px) {
    :root {
        --header-height: 78px;
        --footer-height: 86px;
        --page-x: clamp(20px, 6vw, 42px);
    }

    html {
        scroll-snap-type: none;
    }

    .site-header {
        height: var(--header-height);
    }

    .brand img {
        width: 175px;
    }

    .menu-toggle {
        position: relative;
        z-index: 1002;
        display: inline-flex;
        align-items: center;
        gap: 11px;
        min-height: 44px;
        padding: 0;
    }

    .menu-toggle__label {
        font-size: .82rem;
    }

    .menu-toggle__icon {
        position: relative;
        width: 24px;
        height: 18px;
    }

    .menu-toggle__icon i {
        position: absolute;
        right: 0;
        width: 24px;
        height: 2px;
        background: var(--gold);
        transition: transform 240ms ease, top 240ms ease;
    }

    .menu-toggle__icon i:first-child {
        top: 4px;
    }

    .menu-toggle__icon i:last-child {
        top: 12px;
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child {
        top: 8px;
        transform: rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child {
        top: 8px;
        transform: rotate(-45deg);
    }

    .site-nav--desktop {
        display: none;
    }

    .site-header,
    .site-header--scrolled,
    .menu-open .site-header {
        z-index: 1600;
        background: #061b35;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .mobile-nav {
        position: fixed;
        z-index: 1500;
        inset: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        padding: calc(var(--header-height) + 34px) var(--page-x) max(42px, env(safe-area-inset-bottom));
        overflow-y: auto;
        overscroll-behavior: contain;
        background-color: #061b35;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 220ms;
    }

    .menu-open .mobile-nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition-delay: 0s;
    }

    .mobile-nav a,
    .mobile-nav__legal {
        width: 100%;
        min-height: 72px;
        padding: 19px 0 17px;
        border-bottom: 1px solid var(--line);
        display: flex;
        align-items: center;
        color: var(--white);
        font-size: clamp(1.85rem, 8vw, 2.6rem);
        font-weight: 700;
        line-height: 1.05;
        text-decoration: none;
    }

    .mobile-nav a.is-active {
        color: var(--gold);
    }

    .mobile-nav__legal {
        margin-top: 18px;
        border-bottom: 0;
        color: var(--gold);
        font-size: .82rem;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .panel {
        min-height: auto;
        overflow: visible;
    }

    .panel__inner {
        min-height: 0;
        padding-top: clamp(62px, 10vw, 88px);
        padding-bottom: clamp(96px, 18vw, 132px);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 54px;
    }

    .panel__content {
        max-width: none;
    }

    .eyebrow {
        margin-bottom: 24px;
    }

    .panel__title {
        font-size: clamp(2.25rem, 9vw, 4rem);
        line-height: 1.05;
    }

    .panel__body {
        max-width: 700px;
        margin-top: 34px;
        font-size: clamp(1.05rem, 4.3vw, 1.28rem);
    }

    .panel__visual,
    .contact-card {
        width: min(100%, 620px);
        justify-self: auto;
        align-self: center;
    }

    .image-frame {
        padding: 10px;
    }

    .image-frame img {
        aspect-ratio: 4 / 5;
    }


    .service-groups,
    .client-columns,
    .steps,
    .fact-grid,
    .contact-actions {
        margin-top: 38px;
    }

    .service-groups {
        gap: 28px;
    }

    .client-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .client-columns ul + ul {
        margin-top: 0;
    }

    .steps li {
        padding: 18px 0;
    }

    .fact-grid {
        grid-template-columns: 1fr;
    }

    .contact-email {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .contact-card {
        min-height: 430px;
    }

    .site-footer__inner {
        padding-top: 8px;
        padding-bottom: 8px;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "company company" "links links";
        gap: 7px 16px;
    }
    .site-footer__company { grid-area: company; }
    .site-footer__company strong { font-size: .72rem; }
    .site-footer__company span { display: inline-block; font-size: .66rem; }
    .site-footer__email { display: none; }
    .legal-links { grid-area: links; flex-wrap: nowrap; justify-content: flex-start; gap: 18px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .legal-links::-webkit-scrollbar { display: none; }
    .legal-links a { flex: 0 0 auto; font-size: .69rem; white-space: nowrap; }

    .legal-shell {
        padding-top: 58px;
        padding-bottom: 34px;
    }

    .legal-heading .legal-kicker {
        position: static;
        display: block;
        margin-bottom: 24px;
    }

    .legal-heading h1 {
        font-size: clamp(2.8rem, 12vw, 4.5rem);
    }

    .legal-updated {
        margin-top: 30px;
    }

    .legal-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 520px) {
    .brand img {
        width: 154px;
    }

    .menu-toggle__label {
        display: none;
    }

    .panel__title {
        overflow-wrap: normal;
        text-wrap: pretty;
    }

    .contact-card {
        padding: 46px 28px;
    }

    .button {
        width: 100%;
        min-width: 0;
        padding: 17px 18px;
    }
}

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

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

    .js .reveal {
        opacity: 1;
        transform: none;
        filter: none;
    }
}


/* V11: keep body copy left aligned and prevent browser-generated hyphenation. */
.panel__body p,
.service-group p,
.client-columns li,
.steps li {
    text-align: left;
    text-align-last: auto;
    text-justify: auto;
    -webkit-hyphens: none;
    hyphens: none;
}
