@font-face {
    font-family: "Inter";
    src: url("../fonts/InterVariable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --navy: #142b48;
    --blue: #24599e;
    --blue-light: #6297dc;
    --orange: #fb642e;
    --paper: #f3f7fa;
    --white: #ffffff;
    --text: #172b43;
    --muted: #64748b;
    --border: #dce5ed;
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--paper);
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 5px;
}

::selection {
    color: var(--white);
    background: var(--blue);
}

.container {
    width: min(1240px, calc(100% - 48px));
    margin-inline: auto;
}

.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    font-size: 31px;
    font-weight: 750;
    letter-spacing: -1.5px;
    line-height: 1;
}

.brand-mark {
    width: 39px;
    height: 39px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
}

.nav-link:hover {
    color: var(--blue);
}

.button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 14px 22px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.3;
    transition:
        background-color 180ms ease,
        transform 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-dark {
    color: var(--white);
    background: var(--navy);
}

.button-dark:hover {
    background: #24446b;
}

.button-orange {
    color: #142437;
    background: var(--orange);
}

.button-orange:hover {
    background: #ff855a;
}

.button-arrow {
    font-size: 24px;
    line-height: 1;
}

.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.16) 1px,
            transparent 1px
        ) 0 0 / 28px 28px,
        linear-gradient(
            125deg,
            #194d90 0%,
            #326bb4 55%,
            #6297dc 100%
        );
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 44px;
    padding-block: 90px 72px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 25px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--orange);
}

.hero h1 {
    margin: 0;
    max-width: 800px;
    font-size: clamp(40px, 4.5vw, 65px);
    font-weight: 550;
    line-height: 1.08;
    letter-spacing: -3px;
    text-wrap: balance;
}

.hero-description {
    max-width: 610px;
    margin: 29px 0 32px;
    color: #e1ecfc;
    font-size: 17px;
    line-height: 1.8;
}

.hero-visual {
    position: relative;
    min-width: 0;
    aspect-ratio: 1;
}

.hero-visual svg {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 44px;
    margin: 0;
    padding: 25px 0 29px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    list-style: none;
}

.hero-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #edf4ff;
    font-size: 13px;
}

.hero-highlights li::before {
    content: "↗";
    color: #ffb18e;
    font-size: 18px;
}

.contact-section {
    padding-block: 100px;
    background:
        radial-gradient(
            circle,
            #dce5ed 0.8px,
            transparent 0.8px
        ) 0 0 / 28px 28px,
        var(--paper);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 90px;
}

.contact-intro {
    padding-top: 20px;
}

.contact-intro .eyebrow {
    color: var(--blue);
}

.contact-intro h2 {
    margin: 0 0 22px;
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 550;
    line-height: 1.1;
    letter-spacing: -2px;
}

.contact-intro > p:last-child {
    max-width: 420px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.contact-details {
    padding: 12px 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
}

.contact-item {
    padding-block: 25px;
}

.contact-item + .contact-item {
    border-top: 1px solid var(--border);
}

.contact-label {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.contact-person {
    margin: 0 0 7px;
    font-size: 14px;
}

.contact-value {
    display: block;
    width: fit-content;
    max-width: 100%;
    font-size: 18px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

a.contact-value:hover {
    color: var(--blue);
}

.contact-item address {
    font-size: 16px;
    font-style: normal;
    line-height: 1.8;
}

.site-footer {
    padding-block: 27px;
    color: #d8e2ef;
    background: var(--navy);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px 30px;
    font-size: 12px;
}

.footer-inner p {
    margin: 0;
}

.footer-inner a:hover {
    color: var(--white);
}

@media (min-width: 1600px) {
    .hero-grid {
        padding-block: 110px 95px;
    }
}

@media (max-width: 1000px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
        gap: 20px;
        padding-block: 70px 60px;
    }

    .hero h1 {
        font-size: 49px;
        letter-spacing: -2px;
    }

    .contact-layout {
        gap: 40px;
    }
}

@media (max-width: 760px) {
    .container {
        width: calc(100% - 36px);
    }

    .header-inner {
        min-height: 82px;
    }

    .brand {
        font-size: 27px;
    }

    .brand-mark {
        width: 33px;
        height: 33px;
    }

    .main-nav {
        gap: 18px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-block: 60px 35px;
    }

    .hero h1 {
        max-width: 650px;
        font-size: clamp(38px, 7.5vw, 54px);
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-visual {
        width: min(100%, 360px);
        margin-inline: auto;
    }

    .hero-highlights {
        gap: 12px 25px;
    }

    .contact-section {
        padding-block: 65px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-intro {
        padding-top: 0;
    }

    .contact-intro > p:last-child {
        max-width: 600px;
    }

    .contact-details {
        padding-inline: 24px;
    }
}

@media (max-width: 420px) {
    .nav-link {
        display: none;
    }

    .main-nav .button {
        min-height: 46px;
        gap: 12px;
        padding: 12px 14px;
        font-size: 12px;
    }

    .hero h1 {
        font-size: 38px;
        letter-spacing: -1.7px;
    }

    .contact-value {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button {
        transition: none;
    }

    .button:hover {
        transform: none;
    }
}

/* Shared navigation */

.nav-link[aria-current="page"] {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 7px;
}

.mobile-menu {
    display: none;
    position: relative;
}

.mobile-menu summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--white);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
    display: none;
}

.mobile-menu summary:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 4px;
}

.mobile-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 20;
    width: 230px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 15px 35px rgba(20, 43, 72, 0.12);
}

.mobile-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
}

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
    color: var(--blue);
    background: var(--paper);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Inner page introduction */

.page-hero {
    padding-block: 65px 80px;
    color: var(--white);
    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.15) 1px,
            transparent 1px
        ) 0 0 / 28px 28px,
        linear-gradient(125deg, #194d90, #4c83c9);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;
    margin: 0 0 30px;
    color: #d9e8fc;
    font-size: 13px;
}

.breadcrumb a:hover {
    color: var(--white);
    text-decoration: underline;
}

.page-hero h1 {
    max-width: 980px;
    margin: 0;
    font-size: clamp(38px, 4.5vw, 64px);
    font-weight: 550;
    line-height: 1.12;
    letter-spacing: -2.5px;
    text-wrap: balance;
}

/* About page */

.about-main {
    padding-block: 95px;
    background: var(--white);
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 75px;
}

.about-copy .eyebrow {
    color: var(--blue);
}

.about-copy h2 {
    margin: 0 0 25px;
    font-size: clamp(30px, 3vw, 43px);
    font-weight: 550;
    line-height: 1.16;
    letter-spacing: -1.6px;
}

.about-copy > p:not(.eyebrow) {
    margin: 0 0 30px;
    color: var(--muted);
    line-height: 1.85;
}

.about-art {
    overflow: hidden;
    border-radius: var(--radius);
    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.15) 1px,
            transparent 1px
        ) 0 0 / 24px 24px,
        linear-gradient(140deg, #24599e, #6297dc);
}

.about-art .hero-visual {
    width: 100%;
    margin: 0;
}

.about-photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.values-section {
    padding-block: 80px 95px;
}

.section-heading {
    margin: 0 0 35px;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 550;
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.value-card {
    padding: 30px 25px;
    border-radius: 18px;
    color: var(--white);
    background: linear-gradient(145deg, #24599e, #326fb8);
}

.value-index {
    display: block;
    margin-bottom: 35px;
    color: #ffc3a7;
    font-size: 14px;
    letter-spacing: 2px;
}

.value-card h3 {
    margin: 0 0 15px;
    font-size: 20px;
    font-weight: 600;
}

.value-card p {
    margin: 0;
    color: #e5efff;
    font-size: 14px;
    line-height: 1.85;
}

/* Responsive additions */

@media (max-width: 980px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .about-layout {
        gap: 35px;
    }

    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .page-hero {
        padding-block: 45px 55px;
    }

    .page-hero h1 {
        letter-spacing: -1.5px;
    }

    .about-main {
        padding-block: 60px;
    }

    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-art {
        width: min(100%, 480px);
        margin-inline: auto;
    }

    .values-section {
        padding-block: 55px 65px;
    }
}

@media (max-width: 480px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-index {
        margin-bottom: 20px;
    }
}

/* Services overview */

.services-section {
    padding-block: 90px;
}

.services-heading {
    max-width: 950px;
    margin-bottom: 45px;
}

.services-heading .eyebrow {
    color: var(--blue);
}

.services-heading h2 {
    margin: 0 0 23px;
    font-size: clamp(32px, 3.5vw, 47px);
    font-weight: 550;
    line-height: 1.16;
    letter-spacing: -1.8px;
}

.services-heading > p:last-child {
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.service-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
}

.service-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 13px;
}

.service-cover > img,
.service-main-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-fallback {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 25px;
    color: var(--white);
    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.18) 1px,
            transparent 1px
        ) 0 0 / 23px 23px,
        linear-gradient(135deg, #194d90, #5b90d3);
}

.service-fallback::before,
.service-fallback::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.service-fallback::before {
    top: -95px;
    right: -45px;
}

.service-fallback::after {
    bottom: -115px;
    left: -35px;
}

.service-code {
    position: relative;
    z-index: 1;
    font-size: clamp(32px, 3.4vw, 48px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1.8px;
    text-align: center;
    text-wrap: balance;
}

.service-number {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    padding: 5px 11px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: var(--white);
    background: rgba(20, 43, 72, 0.65);
    font-size: 12px;
    letter-spacing: 1px;
}

.service-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 25px 10px 10px;
}

.service-card h3 {
    margin: 0 0 16px;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.8px;
}

.service-card-body > p {
    margin: 0 0 25px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}

.service-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    font-weight: 650;
}

.service-link:hover {
    color: var(--blue);
}

.service-link-arrow {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 7px;
    color: var(--navy);
    background: var(--orange);
    font-size: 22px;
}

/* Service detail */

.service-detail-section {
    padding-block: 80px 100px;
    background: var(--white);
}

.service-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: start;
    gap: 50px;
}

.service-article {
    min-width: 0;
}

.service-main-media {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    margin-bottom: 35px;
    border-radius: var(--radius);
}

.service-prose p {
    margin: 0 0 25px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.95;
}

.service-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 35px;
}

.service-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 13px;
    object-fit: cover;
}

.service-sidebar {
    position: sticky;
    top: 25px;
}

.service-side-box {
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--paper);
}

.service-side-box h2 {
    margin: 0 0 20px;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.service-side-nav {
    display: grid;
    gap: 7px;
}

.service-side-nav a {
    padding: 13px 14px;
    border-left: 3px solid transparent;
    border-radius: 6px;
    color: var(--text);
    background: var(--white);
    font-size: 13px;
    line-height: 1.5;
}

.service-side-nav a:hover,
.service-side-nav a[aria-current="page"] {
    border-left-color: var(--orange);
    color: var(--blue);
    background: #e5edf8;
}

.service-contact-box {
    margin-top: 22px;
    padding: 27px;
    border-radius: 18px;
    color: var(--navy);
    background: var(--orange);
}

.service-contact-box h2 {
    margin: 0 0 15px;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: -0.7px;
}

.service-contact-box > p {
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.8;
}

.service-contact-link {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.service-contact-link:hover {
    text-decoration: underline;
}

.service-contact-box .button {
    width: 100%;
    margin-top: 12px;
}

@media (max-width: 980px) {
    .service-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-sidebar {
        position: static;
    }
}

@media (max-width: 760px) {
    .services-section {
        padding-block: 60px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-section {
        padding-block: 50px 65px;
    }

    .service-code {
        font-size: 38px;
    }
}

@media (max-width: 480px) {
    .service-gallery {
        grid-template-columns: 1fr;
    }
}

/* Policies */

.policies-section {
    padding-block: 85px 95px;
}

.policies-intro {
    max-width: 850px;
    margin-bottom: 40px;
}

.policies-intro .eyebrow {
    color: var(--blue);
}

.policies-intro h2 {
    margin: 0;
    font-size: clamp(32px, 3.5vw, 46px);
    font-weight: 550;
    line-height: 1.16;
    letter-spacing: -1.7px;
}

.policy-list {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--border);
    list-style: none;
}

.policy-row {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-block: 23px;
    border-bottom: 1px solid var(--border);
}

.policy-index {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    flex-shrink: 0;
    border-radius: 8px;
    color: var(--blue);
    background: #e0eafa;
    font-size: 12px;
    font-weight: 600;
}

.policy-row h3 {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 18px;
    font-weight: 550;
    line-height: 1.5;
    letter-spacing: -0.3px;
}

.policy-row h3 a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.policy-row h3 a:hover {
    color: var(--blue);
}

.policy-row h3 a > span:last-child {
    color: var(--blue);
    font-size: 25px;
}

.policy-detail-section {
    padding-block: 80px 100px;
    background: var(--white);
}

.policy-document {
    max-width: 900px;
}

.policy-prose p {
    margin: 0 0 25px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.95;
    overflow-wrap: anywhere;
}

.policy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 35px;
}

@media (max-width: 760px) {
    .policies-section,
    .policy-detail-section {
        padding-block: 55px 65px;
    }

    .policy-row {
        gap: 15px;
        padding-block: 20px;
    }

    .policy-row h3 {
        font-size: 16px;
    }
}

/* Policy detail layout */

.policy-hero {
    position: relative;
    overflow: hidden;
}

.policy-banner {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.policy-hero.has-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        110deg,
        rgba(14, 39, 71, 0.88),
        rgba(24, 61, 106, 0.62)
    );
}

.policy-hero-content {
    position: relative;
    z-index: 2;
}

.policy-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: start;
    gap: 55px;
}

.policy-content {
    min-width: 0;
}

.policy-content > .eyebrow {
    color: var(--blue);
}

.policy-body-title {
    margin: 0 0 30px;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 550;
    line-height: 1.2;
    letter-spacing: -1.3px;
}

.policy-sidebar {
    position: sticky;
    top: 25px;
}

.policy-content .policy-prose p {
    color: var(--muted);
}

@media (max-width: 980px) {
    .policy-detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .policy-sidebar {
        position: static;
    }
}

@media (max-width: 760px) {
    .policy-body-title {
        letter-spacing: -0.8px;
    }
}

/* Navdex wordmark */

.brand {
    font-size: 32px;
    font-weight: 750;
    letter-spacing: -1.5px;
}

.brand-dot {
    display: inline-block;
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    border-radius: 4px;
    background: var(--orange);
}

/* Hero background layers */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(
        125deg,
        #194d90 0%,
        #326bb4 55%,
        #6297dc 100%
    );
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.45;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        110deg,
        rgba(25, 77, 144, 0.78) 0%,
        rgba(50, 107, 180, 0.62) 55%,
        rgba(98, 151, 220, 0.52) 100%
    );
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.16) 1px,
        transparent 1px
    ) 0 0 / 28px 28px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
}

/* Existing N illustration animation */

.hero .hero-visual {
    animation: navdex-float 9s ease-in-out infinite;
}

.hero .hero-visual svg > g:first-of-type {
    transform-box: view-box;
    transform-origin: center;
    animation: navdex-orbit 80s linear infinite;
}

.hero .hero-visual svg > path[stroke-dasharray] {
    animation: navdex-route 8s linear infinite;
}

.hero .hero-visual svg > g[fill="white"] > circle {
    animation: navdex-node-pulse 4s ease-in-out infinite;
}

.hero .hero-visual svg > g[fill="white"] > circle:nth-child(2n) {
    animation-delay: -1.5s;
}

@keyframes navdex-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes navdex-orbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes navdex-route {
    from {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: -160;
    }
}

@keyframes navdex-node-pulse {
    0%,
    100% {
        opacity: 0.55;
    }

    50% {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero .hero-visual,
    .hero .hero-visual svg * {
        animation: none !important;
    }
}

/* Pointer-following water ripples */

.hero .hero-ripple {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: none;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(-999px, -999px, 0);
    transition: opacity 350ms ease;
}

.hero .hero-ripple::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(219, 240, 255, 0.09) 0%,
        rgba(219, 240, 255, 0.035) 40%,
        transparent 70%
    );
}

.hero .hero-ripple-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(225, 240, 255, 0.45);
    border-radius: 50%;
    opacity: 0;
    animation: navdex-water-ring 3s linear infinite;
    animation-play-state: paused;
}

.hero .hero-ripple-ring:nth-child(2) {
    animation-delay: -1s;
}

.hero .hero-ripple-ring:nth-child(3) {
    animation-delay: -2s;
}

.hero.is-pointer-active .hero-ripple {
    opacity: 1;
}

.hero.is-pointer-active .hero-ripple-ring {
    animation-play-state: running;
}

@keyframes navdex-water-ring {
    0% {
        transform: scale(0.12);
        opacity: 0;
    }

    18% {
        opacity: 0.32;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .hero .hero-ripple {
        display: block;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero .hero-ripple {
        display: none;
        transition: none;
    }

    .hero .hero-ripple-ring {
        animation: none;
    }
}

/* Ocean surface effect */

.hero .hero-ocean {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

.hero.is-ocean-ready .hero-background {
    opacity: 0;
}

.hero.is-ocean-ready .hero-ocean {
    opacity: var(--ocean-photo-opacity, 0.45);
}

@media (prefers-reduced-motion: reduce) {
    .hero .hero-ocean {
        display: none;
    }
}

/* Desktop dropdown navigation */

.site-header {
    position: relative;
    z-index: 30;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown > summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-block: 14px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
}

.nav-dropdown > summary::-webkit-details-marker {
    display: none;
}

.nav-dropdown > summary:hover,
.nav-dropdown.is-current > summary {
    color: var(--blue);
}

.nav-chevron {
    display: inline-block;
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 160ms ease;
}

.nav-dropdown[open] > summary .nav-chevron,
.mobile-nav-group[open] > summary .nav-chevron {
    transform: rotate(225deg);
}

.nav-dropdown-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 40;
    width: 380px;
    max-width: calc(100vw - 48px);
    padding-top: 14px;
    transform: translateX(-50%);
}

.nav-dropdown-wide .nav-dropdown-panel {
    width: 640px;
}

.nav-dropdown-content {
    max-height: min(70vh, 620px);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 18px 45px rgba(20, 43, 72, 0.13);
}

.nav-dropdown-overview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
    padding: 8px 10px 17px;
    border-bottom: 1px solid var(--border);
    color: var(--blue);
    font-size: 13px;
    font-weight: 650;
}

.nav-dropdown-list {
    display: grid;
    gap: 6px;
}

.nav-dropdown-wide .nav-dropdown-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nav-dropdown-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 12px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.5;
}

.nav-dropdown-list a > span:last-child {
    flex-shrink: 0;
    color: var(--blue);
    font-size: 19px;
}

.nav-dropdown-list a:hover,
.nav-dropdown-list a[aria-current="page"] {
    color: var(--blue);
    background: #e9f0fa;
}

.nav-dropdown > summary:focus-visible,
.mobile-nav-group > summary:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 4px;
    border-radius: 5px;
}

/* Mobile submenus */

.mobile-nav {
    width: min(310px, calc(100vw - 36px));
    max-height: min(75vh, 650px);
    overflow: auto;
    overscroll-behavior: contain;
}

.mobile-nav .mobile-nav-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 0;
    padding: 12px 14px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    list-style: none;
    cursor: pointer;
}

.mobile-nav-group[open] > summary {
    color: var(--blue);
    background: var(--paper);
}

.mobile-sub-links {
    display: grid;
    gap: 3px;
    padding: 7px 0 12px 12px;
}

.mobile-nav .mobile-sub-links a {
    padding: 9px 14px;
    font-size: 12px;
    line-height: 1.6;
}

/* Full footer */

.site-footer {
    padding: 0;
    color: #d7e4f5;
    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.05) 1px,
            transparent 1px
        ) 0 0 / 28px 28px,
        #132e50;
}

.footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-block: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-cta .eyebrow {
    margin-bottom: 18px;
    color: #afc7e7;
}

.footer-cta h2 {
    max-width: 820px;
    margin: 0;
    color: var(--white);
    font-size: clamp(28px, 3vw, 39px);
    font-weight: 500;
    line-height: 1.22;
    letter-spacing: -1.2px;
}

.footer-cta > .button {
    flex-shrink: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.7fr 1.05fr 1.1fr;
    gap: 42px;
    padding-block: 60px;
}

.footer-brand {
    margin-bottom: 24px;
    color: var(--white);
}

.footer-description {
    margin: 0;
    color: #bfcee2;
    font-size: 13px;
    line-height: 1.95;
}

.footer-column h3 {
    margin: 0 0 25px;
    color: var(--white);
    font-size: 14px;
    font-weight: 650;
    letter-spacing: 0.2px;
}

.footer-links {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    color: #bfcee2;
    font-size: 13px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-person {
    margin: 0 0 12px;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
}

.footer-address {
    margin: 0 0 22px;
    color: #bfcee2;
    font-size: 13px;
    font-style: normal;
    line-height: 1.9;
}

.footer-contact-links {
    gap: 10px;
}

.footer-social-title {
    margin: 25px 0 12px;
    color: #afc7e7;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    color: var(--white);
    font-size: 11px;
}

.footer-social-links a:hover {
    border-color: var(--orange);
    color: var(--navy);
    background: var(--orange);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 30px;
    padding-block: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: #afc2dc;
    font-size: 12px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

@media (max-width: 980px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px;
    }

    .footer-cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-block: 45px;
    }

    .footer-cta {
        padding-block: 40px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-chevron {
        transition: none;
    }
}