@font-face {
    font-family: Manrope;
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/manrope-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: Manrope;
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/manrope-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    color-scheme: light;
    --ink: #101f3d;
    --paper: #fff;
    --white: #fff;
    --blue: #1846d0;
    --blue-deep: #1436a3;
    --blue-pale: #eef3ff;
    --blue-light: #a8c7ff;
    --muted: #485872;
    --rule: #d9e2f3;
    --header-height: 5.15rem;
    --opening-text: #d5e1f6;
    --shell: 1280px;
    --gutter: clamp(1.25rem, 5vw, 5rem);
    --font: Manrope, "Segoe UI", Arial, sans-serif;
    font-family: var(--font);
    font-size: 100%;
    font-synthesis: none;
}

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

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.55; }
body, button, input, select, textarea { font-family: var(--font); }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
address { font-style: normal; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 1.5rem; }
main:focus { outline: none; }

:focus-visible {
    outline: 3px solid #1846d0;
    outline-offset: 5px;
}

.shell {
    width: min(var(--shell), calc(100% - 2 * var(--gutter)));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 10;
    top: .75rem;
    left: .75rem;
    padding: .75rem 1rem;
    transform: translateY(-200%);
    color: var(--ink);
    background: var(--blue-light);
    font-weight: 700;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    font-size: .875rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: .48rem;
    height: .48rem;
    border-radius: 50%;
    background: var(--blue);
    flex: 0 0 auto;
    content: "";
}

.button {
    min-height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    border: 1px solid transparent;
    border-radius: .35rem;
    padding: .75rem 1.2rem;
    font-size: .9375rem;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none;
    text-align: center;
    transition: background-color 180ms, border-color 180ms, color 180ms;
}

.button-primary { background: var(--blue); color: var(--white); }
.button-primary:hover { background: var(--blue-deep); }
.button-white { background: var(--white); color: var(--blue-deep); }
.button-white:hover { background: var(--blue-pale); }
.button-outline { border-color: currentColor; color: inherit; }
.button-outline:hover { background: color-mix(in srgb, currentColor 10%, transparent); }

.text-link {
    width: fit-content;
    color: var(--blue-deep);
    font-weight: 800;
    text-decoration-thickness: 1px;
    text-underline-offset: .3em;
}

.text-link:hover { text-decoration-thickness: 2px; }

.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 3;
    color: var(--white);
    background: transparent;
    border-bottom: 1px solid #d8e8ff43;
}

.page-opening {
    padding-top: var(--header-height);
    color: var(--white);
    background: radial-gradient(ellipse at 87% 2%, #204577, var(--ink) 70%);
}

.page-opening .eyebrow::before { background: var(--blue-light); }
.page-opening :focus-visible { outline-color: var(--blue-light); }

.header-content {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: .75rem;
    text-decoration: none;
    color: inherit;
}

.brand img { flex: 0 0 auto; object-fit: contain; }
.brand strong, .brand small { display: block; line-height: 1.12; }
.brand strong { font-weight: 800; font-size: 1.2rem; letter-spacing: -.045em; }
.brand small { margin-top: .24rem; color: var(--opening-text); font-size: .75rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }

.desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.25vw, 2.35rem);
}

.desktop-nav a {
    position: relative;
    padding: .5rem 0;
    color: #e7efff;
    font-size: .875rem;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition: color 180ms;
}

.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--white); }
.desktop-nav a[aria-current="page"]::after {
    position: absolute;
    right: 0;
    bottom: .15rem;
    left: 0;
    height: 1px;
    background: currentColor;
    content: "";
}

.header-contact { min-height: 2.7rem; padding: .5rem 1.12rem; border-color: #dce9ffbb; background: #132f6738; }
.header-contact:hover, .header-contact[aria-current="page"] { background: #ffffff19; border-color: var(--white); }

.mobile-nav { display: none; }
.mobile-nav summary {
    min-height: 2.75rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .35rem .75rem;
    border: 1px solid #d8e8ff70;
    border-radius: .4rem;
    font-size: .875rem;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

.mobile-nav summary::-webkit-details-marker { display: none; }

.mobile-nav summary i {
    width: 1rem;
    height: .65rem;
    border-block: 1.5px solid currentColor;
}

.mobile-nav[open] summary { border-color: var(--white); }
.mobile-nav nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    padding: .65rem var(--gutter) 1.25rem;
    background: var(--white);
    color: var(--ink);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 12px 28px #101f3d22;
}

.mobile-nav nav a {
    padding: .7rem 0;
    border-bottom: 1px solid var(--rule);
    text-decoration: none;
    font-weight: 700;
}

.mobile-nav nav a[aria-current="page"], .mobile-nav nav a:hover { color: var(--blue); }

.site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--blue-light); }
.mobile-nav nav :focus-visible { outline-color: var(--blue); }

.site-footer {
    padding-block: clamp(3rem, 6vw, 5.5rem) 1.4rem;
    background: var(--ink);
    color: var(--paper);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.15fr .9fr .75fr 1.15fr;
    gap: clamp(1.75rem, 4.5vw, 4rem);
    padding-bottom: clamp(2rem, 5vw, 4.5rem);
}

.footer-brand p, .footer-links { font-size: .9rem; color: #c2cfe6; }
.footer-brand p { margin-top: 1.1rem; max-width: 16rem; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: .62rem; }
.footer-links h2 { color: var(--paper); font-size: .95rem; font-weight: 800; margin-bottom: .3rem; }
.footer-links a { text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--blue-light); text-decoration: underline; text-underline-offset: .22em; }
.footer-links address { line-height: 1.6; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.2rem;
    border-top: 1px solid #ffffff26;
    color: #becce3;
    font-size: .8125rem;
}

.photo-credit { margin-top: .65rem; color: #becce3; font-size: .8125rem; }
.photo-credit a { text-underline-offset: .18em; }
.photo-credit a:hover { color: var(--blue-light); }

.error-page { padding-block: clamp(4rem, 10vw, 8rem); }
.error-page h1 { margin-top: .5rem; font-size: clamp(2.5rem, 7vw, 5rem); letter-spacing: -.07em; line-height: 1.1; }
.error-page > p:not(.eyebrow) { margin-block: 1rem 1.5rem; color: var(--opening-text); }

@media (max-width: 980px) {
    :root { --header-height: 4.6rem; }
    .desktop-nav, .header-contact { display: none; }
    .mobile-nav { display: block; }
}

@media (max-width: 780px) {
    .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
    .footer-main { grid-template-columns: 1fr; }
    .footer-bottom { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0s !important; }
}
