:root {
    --ink: #141816;
    --paper: #f7f3ec;
    --cloud: #eef4f7;
    --steel: #3f5d6f;
    --navy: #172a38;
    --copper: #b47a3f;
    --wood: #7b4a24;
    --gold: #d7ac62;
    --line: rgba(20, 24, 22, .14);
    --shadow: 0 24px 70px rgba(15, 24, 32, .18);
    --title-font: "Aptos Display", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-bottom: 120px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tfa-language-switcher {
    position: fixed;
    z-index: 78;
    top: 19px;
    left: 143px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tfa-language-cabinet {
    position: relative;
}

.tfa-language-toggle {
    min-height: 37px;
    height: 37px;
    min-width: 79px;
    display: inline-grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,.29);
    border-radius: 999px;
    color: #fff;
    background: rgba(18, 30, 38, .42);
    box-shadow: 0 13px 31px rgba(3, 20, 31, .18);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    cursor: pointer;
}

.tfa-language-toggle::-webkit-details-marker {
    display: none;
}

.tfa-language-toggle i {
    color: var(--gold);
    font-size: 15px;
}

.tfa-language-menu {
    position: absolute;
    inset-block-start: calc(100% + 7px);
    inset-inline-start: 0;
    display: grid;
    grid-template-columns: repeat(3, 37px);
    gap: 7px;
    width: max-content;
    padding: 7px;
    border: 1px solid rgba(255,255,255,.29);
    border-radius: 13px;
    background: rgba(18, 30, 38, .82);
    box-shadow: 0 19px 37px rgba(3, 20, 31, .29);
    -webkit-backdrop-filter: blur(17px);
    backdrop-filter: blur(17px);
}

.tfa-language-option {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    padding: 5px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.tfa-language-menu form {
    margin: 0;
}

.tfa-language-option:hover,
.tfa-language-option:focus-visible {
    border-color: var(--gold);
    background: rgba(255,255,255,.13);
    outline: 0;
}

.tfa-language-flag,
.tfa-language-current {
    display: inline-grid;
    place-items: center;
    min-width: 29px;
    height: 27px;
    padding: 0 6px;
    border-radius: 999px;
    border: 1px solid rgba(215, 172, 98, .47);
    color: #fff;
    font-size: .73rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.27);
}

.tfa-language-flag-es,
.tfa-language-current-es {
    background: linear-gradient(180deg, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75% 100%);
    border-color: #aa151b;
    color: #17221c;
}

.tfa-language-flag-zh-CN {
    background: radial-gradient(circle at 67% 31%, #ffde00 0 9%, transparent 10%), #de2910;
    border-color: #de2910;
    color: #ffde00;
}

.tfa-language-current {
    background: linear-gradient(135deg, #102a3a, #1f4d45);
    color: #fff;
}

.tfa-language-current-zh-CN,
.tfa-language-flag-zh-CN {
    background: radial-gradient(circle at 67% 31%, #ffde00 0 9%, transparent 10%), #de2910;
    border-color: #de2910;
    color: #ffde00;
}

.side-nav {
    position: fixed;
    z-index: 40;
    top: 0;
    right: 0;
    width: 68px;
    min-height: 100vh;
    padding: 16px 12px;
    color: #fff;
    background: rgba(8, 28, 45, .28);
    border-left: 1px solid rgba(255, 255, 255, .12);
    border-radius: 34px 0 0 34px;
    box-shadow: 0 18px 42px rgba(3, 20, 31, .18);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    overflow: hidden;
    transition: width .35s ease, border-radius .35s ease;
}

.nav-toggle {
    display: none;
}

.side-nav::before,
.side-nav::after {
    content: none;
    position: absolute;
    left: 50%;
    top: 85px;
    width: 180px;
    height: 28px;
    border-radius: 999px 28px 999px 28px;
    background: linear-gradient(90deg, rgba(255,255,255,.26), rgba(91,48,18,.2), rgba(255,255,255,.12));
    transform-origin: center;
    opacity: .34;
    pointer-events: none;
}

.side-nav::before {
    transform: translateX(-50%) rotate(24deg);
}

.side-nav::after {
    transform: translateX(-50%) rotate(-24deg);
}

.side-nav:hover,
.side-nav:focus-within,
.side-nav.is-open {
    width: 260px;
    border-radius: 34px;
}

.hero-brand {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-self: center;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: start;
    min-height: 62px;
    margin-top: 4px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.hero-brand::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -10px;
    left: 50%;
    width: clamp(150px, 17vw, 230px);
    height: clamp(54px, 6vw, 86px);
    border-radius: 50%;
    background:
        radial-gradient(ellipse at center, rgba(7, 34, 52, .56) 0%, rgba(7, 34, 52, .36) 42%, rgba(92, 205, 255, .18) 68%, rgba(92, 205, 255, 0) 82%);
    filter: blur(8px);
    transform: translateX(-50%);
    pointer-events: none;
}

.hero-brand img {
    width: clamp(157px, 18vw, 257px);
    height: auto;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    padding: 0;
    filter:
        drop-shadow(0 0 18px rgba(92, 205, 255, .3))
        drop-shadow(0 12px 18px rgba(3, 20, 31, .44));
}

.hero-brand strong {
    font-size: clamp(16px, 2vw, 24px);
    line-height: 1;
    text-align: center;
    text-shadow:
        0 0 12px rgba(92, 205, 255, .62),
        0 8px 22px rgba(5, 25, 38, .42);
}

.nav-links span,
.nav-action span,
.nav-group .nav-chevron {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity .25s ease, transform .25s ease;
}

.side-nav:hover .nav-links span,
.side-nav:focus-within .nav-links span,
.side-nav.is-open .nav-links span,
.side-nav:hover .nav-action span,
.side-nav:focus-within .nav-action span,
.side-nav.is-open .nav-action span,
.side-nav:hover .nav-group .nav-chevron,
.side-nav:focus-within .nav-group .nav-chevron,
.side-nav.is-open .nav-group .nav-chevron {
    opacity: 1;
    transform: translateX(0);
}

.nav-links {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 7px;
    margin-top: 38px;
}

.nav-links a,
.nav-action,
.nav-group summary {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 999px;
    text-decoration: none;
    background: rgba(18, 30, 38, .54);
    border: 1px solid rgba(255,255,255,.16);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.side-nav:not(:hover):not(:focus-within):not(.is-open) .nav-links a,
.side-nav:not(:hover):not(:focus-within):not(.is-open) .nav-action,
.side-nav:not(:hover):not(:focus-within):not(.is-open) .nav-group summary {
    width: 44px;
    max-width: 44px;
    min-height: 44px;
    justify-content: center;
    gap: 0;
    padding: 0;
}

.side-nav:not(:hover):not(:focus-within):not(.is-open) .nav-links span,
.side-nav:not(:hover):not(:focus-within):not(.is-open) .nav-action span,
.side-nav:not(:hover):not(:focus-within):not(.is-open) .nav-group .nav-chevron {
    display: none;
    pointer-events: none;
}

.side-nav:not(:hover):not(:focus-within):not(.is-open) .submenu {
    display: none;
}

.nav-links b,
.nav-action b,
.nav-group b {
    flex: 0 0 20px;
    text-align: center;
    font-size: 14px;
    color: var(--gold);
}

.nav-links a:hover,
.nav-action:hover,
.nav-group summary:hover {
    background: rgba(255,255,255,.18);
}

.nav-group {
    display: grid;
    gap: 6px;
}

.nav-group summary {
    cursor: pointer;
    list-style: none;
}

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

.nav-group .nav-chevron {
    margin-left: auto;
    font-size: 11px;
}

.nav-group[open] .nav-chevron {
    transform: rotate(180deg);
}

.submenu {
    display: grid;
    gap: 5px;
    padding: 4px 0 8px 46px;
}

.submenu a {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    color: rgba(255,255,255,.86);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.08);
    font-size: 13px;
}

.nav-actions {
    position: absolute;
    z-index: 3;
    left: 12px;
    right: 12px;
    bottom: 128px;
    display: grid;
    gap: 8px;
    grid-template-rows: 44px 44px;
}

.nav-action {
    position: relative;
    width: 100%;
    min-height: 44px;
}

.page {
    padding-right: 0;
}

.hero {
    position: relative;
    min-height: 96vh;
    display: grid;
    grid-template-rows: auto 1fr;
    align-items: center;
    padding: 48px clamp(28px, 6vw, 88px) 36px;
    color: #fff;
    background: url("https://res.cloudinary.com/duja2smra/image/upload/Aircraft-view-1_xrtydx.webp") center center / cover no-repeat;
}

.hero-contact-button {
    position: absolute;
    z-index: 5;
    top: 19px;
    left: 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 37px;
    height: 37px;
    padding: 0 15px;
    border: 1px solid rgba(255,255,255,.29);
    border-radius: 999px;
    color: #fff;
    background: rgba(18, 30, 38, .42);
    box-shadow: 0 13px 31px rgba(3, 20, 31, .18);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .09em;
    text-decoration: none;
    text-transform: uppercase;
}

.page-hero {
    min-height: 72vh;
    display: grid;
    grid-template-rows: auto 1fr;
    align-items: end;
    padding: 48px clamp(28px, 6vw, 88px);
    color: #fff;
    background:
        linear-gradient(90deg, rgba(214,239,248,.38), rgba(214,239,248,.2) 58%, rgba(255,255,255,.08)),
        linear-gradient(0deg, rgba(214,239,248,.36), rgba(255,255,255,.05) 50%),
        var(--page-image) center / cover no-repeat;
}

.interior-brand {
    margin-bottom: 54px;
}

.page-content {
    max-width: 1080px;
    margin: 0 auto;
}

.content-row {
    display: grid;
    grid-template-columns: minmax(180px, 320px) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 72px);
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
}

.content-row h2 {
    margin: 0;
    color: var(--navy);
    font-family: var(--title-font);
    font-size: clamp(24px, 3vw, 40px);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.content-row p {
    margin: 0;
    color: #4e5d65;
    font-size: 18px;
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 38px;
}

.detail-card {
    padding: 28px;
    border: 1px solid rgba(63, 93, 111, .18);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 24, 32, .08);
}

.detail-card h3 {
    margin: 0 0 12px;
    color: var(--navy);
    font-family: var(--title-font);
    font-size: clamp(22px, 2.5vw, 32px);
    line-height: 1.05;
    letter-spacing: -.03em;
}

.detail-card p {
    margin: 0 0 14px;
    color: #566870;
}

.detail-card ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.detail-card li {
    position: relative;
    padding-left: 20px;
    color: #3f4d54;
}

.detail-card li::before {
    content: "";
    position: absolute;
    top: .72em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
}

.button.on-light {
    color: var(--navy);
    border-color: rgba(23,42,56,.22);
    background: rgba(23,42,56,.06);
}

.hero-inner {
    width: 100%;
    max-width: none;
    margin: -23vh 0 0;
    padding: 0;
    transform: none;
    text-align: center;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-shadow:
        0 0 10px rgba(92, 205, 255, .48),
        0 5px 16px rgba(5, 25, 38, .34);
}

.hero-eyebrow {
    display: inline-flex;
    width: fit-content;
    min-height: 29px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    padding: 0 10px;
    border: 1px solid rgba(214, 166, 79, .42);
    border-radius: 999px;
    background: rgba(7, 22, 33, .32);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    letter-spacing: .13em;
    white-space: nowrap;
}

.hero-title {
    width: 100%;
    margin: 0 auto;
    max-width: none;
}

.hero-title__lead,
.hero-title__trail {
    display: block;
    margin: 0 auto;
    text-shadow:
        0 0 18px rgba(92, 205, 255, .55),
        0 10px 34px rgba(5, 25, 38, .52),
        0 2px 4px rgba(5, 25, 38, .35);
}

.hero-title__lead {
    font-family: var(--title-font);
    font-size: clamp(52px, 7.5vw, 108px);
    font-weight: 900;
    line-height: .86;
    letter-spacing: -.065em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-title__trail {
    max-width: min(900px, 92vw);
    margin-top: 10px;
    font-family: "Inter", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(18px, 2.1vw, 31px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: .02em;
    white-space: normal;
}

.hero-copy {
    max-width: 680px;
    margin: 0 0 19px;
    font-size: clamp(18px, 2vw, 24px);
    color: rgba(255,255,255,.88);
    text-align: left;
    text-shadow:
        0 0 12px rgba(92, 205, 255, .44),
        0 5px 18px rgba(5, 25, 38, .48);
}

.hero-title-action {
    margin-top: 19px;
}

.hero-program-button {
    border-color: rgba(92, 205, 255, .47);
    background: linear-gradient(135deg, rgba(37, 99, 235, .92), rgba(20, 184, 166, .82));
    box-shadow: 0 13px 31px rgba(20, 184, 166, .21);
}

.hero-support {
    position: absolute;
    left: clamp(27px, 7vw, 107px);
    bottom: clamp(56px, 11vh, 124px);
    width: min(640px, calc(100vw - 54px));
    margin: 0;
    text-align: left;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.32);
    text-decoration: none;
    font-weight: 800;
}

.button.primary {
    color: #1c160f;
    background: var(--gold);
    border-color: var(--gold);
}

.button.secondary {
    color: #fff;
    background: rgba(255,255,255,.1);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border-bottom: 1px solid var(--line);
}

.metric {
    padding: 30px clamp(20px, 4vw, 42px);
    background: #fff;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}

.metric:hover,
.metric:focus-visible {
    background: #f2f8fb;
    transform: translateY(-2px);
}

.metric strong {
    display: block;
    color: var(--navy);
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1;
}

.metric span {
    display: block;
    margin-top: 8px;
    color: #60717a;
    font-weight: 700;
}

.section {
    padding: clamp(70px, 9vw, 124px) clamp(26px, 6vw, 88px);
}

.section.dark {
    color: #fff;
    background: var(--navy);
}

.section.steel {
    background: #e7eef2;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(38px, 7vw, 96px);
    align-items: start;
}

.section-title {
    margin: 0;
    max-width: 660px;
    font-family: var(--title-font);
    font-size: clamp(42px, 6vw, 76px);
    line-height: .95;
    letter-spacing: -.055em;
}

.lead {
    margin: 0 0 24px;
    font-size: clamp(18px, 2vw, 22px);
    color: #42515a;
}

.dark .lead,
.dark p {
    color: rgba(255,255,255,.78);
}

.copy p {
    margin: 0 0 18px;
}

.programs {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.training-panel-image {
    position: relative;
    margin: clamp(28px, 4vw, 44px) 0 0;
    padding: 12px 12px 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.88), rgba(232,242,247,.72)),
        radial-gradient(circle at 20% 12%, rgba(111,212,255,.22), transparent 34%);
    box-shadow: 0 28px 70px rgba(15, 34, 46, .18);
}

.training-panel-image::before {
    content: "";
    position: absolute;
    inset: 12px;
    z-index: 1;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.32);
    pointer-events: none;
}

.training-panel-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.training-panel-image figcaption {
    display: grid;
    gap: 6px;
    margin: 0 -12px;
    padding: 16px 18px 18px;
    color: #eaf8ff;
    background:
        linear-gradient(135deg, rgba(8, 28, 45, .96), rgba(17, 77, 108, .92));
}

.training-panel-image figcaption span {
    color: var(--gold);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.training-panel-image figcaption strong {
    font-size: 15px;
    line-height: 1.45;
}

.program {
    display: grid;
    grid-template-columns: minmax(160px, 280px) minmax(0, 1fr);
    gap: 30px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.program h3 {
    font-family: var(--title-font);
    letter-spacing: -.025em;
}

.fleet-item strong small {
    display: block;
    margin-top: 5px;
    color: rgba(255,255,255,.82);
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nav-toggle i {
    color: var(--gold);
    font-size: 19px;
}

.nav-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

@media (max-width: 1020px) {
    h1 {
        white-space: normal;
    }
}

@media (max-width: 640px) {
    .tfa-language-switcher {
        top: 13px;
        left: 113px;
    }

    .tfa-language-toggle {
        min-height: 31px;
        height: 31px;
        min-width: 61px;
        padding: 3px 7px;
    }

    .tfa-language-menu {
        grid-template-columns: repeat(2, 33px);
    }

    .tfa-language-option {
        width: 33px;
        height: 33px;
    }

    .hero {
        min-height: 89vh;
        align-items: center;
        padding: 73px 17px 37px;
    }

    .hero-contact-button {
        top: 13px;
        left: 13px;
        min-height: 31px;
        height: 31px;
        padding: 0 11px;
        font-size: 10px;
    }

    .hero-brand {
        margin-top: 7px;
    }

    .hero-inner {
        margin-top: -7vh;
    }

    h1 {
        font-size: clamp(31px, 9.5vw, 49px);
        letter-spacing: -.055em;
    }

    .hero-copy {
        margin-top: 19px;
        font-size: 16px;
        text-align: center;
    }

    .hero-support {
        position: static;
        margin: 27px auto 0;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
        gap: 9px;
    }

    .hero-actions .button {
        min-height: 41px;
        padding: 0 15px;
        font-size: 13px;
    }
}

@media (max-width: 640px) {
    .academy-gallery {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        align-items: stretch;
        justify-content: stretch;
        padding: 19px 9px;
        overflow: visible;
    }

    .academy-gallery .gallery-stack {
        display: contents;
    }

    .academy-gallery figure,
    .academy-gallery > .gallery-feature:first-child,
    .academy-gallery > .gallery-feature:last-child,
    .academy-gallery .gallery-stack figure,
    .academy-gallery figure:not(:first-child),
    .academy-gallery > figure.gallery-feature:last-child {
        aspect-ratio: 1 / .82;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin: 0;
        padding: 5px 5px 13px;
        border-radius: 11px 11px 17px 7px;
        transform: none;
    }

    .academy-gallery figure::after {
        inset: 5px 5px 13px;
    }

    .academy-gallery figure::before {
        width: 27px;
        height: 27px;
        border-radius: 11px 0 15px 0;
    }

    .academy-gallery img {
        border-radius: 7px;
    }
}

.program h3 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.05;
}

.program p {
    margin: 0;
    color: #52626b;
}

.program p a {
    display: inline-flex;
    margin-left: 6px;
    color: var(--copper);
    font-weight: 900;
    text-decoration: none;
}

.program p a:hover,
.program p a:focus-visible {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.dark .program {
    border-color: rgba(255,255,255,.16);
}

.dark .program h3,
.dark .program p {
    color: #fff;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.18);
}

.fleet-visual {
    background: var(--navy);
}

.fleet-visual img {
    width: 100%;
    max-height: 640px;
    object-fit: cover;
}

.academy-gallery,
.career-gallery,
.page-gallery {
    display: grid;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 18%, rgba(215, 172, 98, .2), transparent 28%),
        linear-gradient(135deg, #eef6f9, #f8f2e8 58%, #e3eef3);
}

.academy-gallery {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    min-height: 620px;
    padding: clamp(54px, 7vw, 96px) clamp(28px, 7vw, 104px);
}

.career-gallery,
.page-gallery {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    gap: 0;
    margin: 58px 0 10px;
    padding: clamp(38px, 5vw, 70px);
    border-radius: 16px;
}

.page-gallery {
    min-height: 420px;
}

.academy-gallery figure,
.career-gallery figure,
.page-gallery figure {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: visible;
    padding: 12px 12px 34px;
    border: 1px solid rgba(255,255,255,.96);
    border-radius: 18px 18px 26px 12px;
    background:
        linear-gradient(180deg, #fff, #f7f1e8);
    box-shadow:
        0 24px 70px rgba(15, 24, 32, .22),
        0 2px 0 rgba(255,255,255,.95) inset;
    transform: rotate(var(--tilt, -3deg));
    z-index: var(--stack, 1);
}

.academy-gallery figure::before,
.career-gallery figure::before,
.page-gallery figure::before {
    content: "";
    position: absolute;
    z-index: 2;
    right: -1px;
    bottom: -1px;
    width: 48px;
    height: 48px;
    border-radius: 18px 0 25px 0;
    background:
        linear-gradient(135deg, rgba(185, 198, 204, .2) 0 45%, rgba(210, 220, 224, .92) 46% 56%, #fff 57%);
    box-shadow: -8px -8px 18px rgba(15, 24, 32, .12);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.academy-gallery figure::after,
.career-gallery figure::after,
.page-gallery figure::after {
    content: "";
    position: absolute;
    inset: 12px 12px 34px;
    z-index: 1;
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.32);
    pointer-events: none;
}

.academy-gallery .gallery-stack {
    display: grid;
    grid-column: 5 / span 4;
    gap: 0;
    margin-inline: -42px;
    z-index: 3;
}

.academy-gallery > .gallery-feature:first-child {
    grid-column: 1 / span 5;
    --tilt: -5deg;
    --stack: 2;
}

.academy-gallery > .gallery-feature:last-child {
    grid-column: 8 / span 5;
    --tilt: 4deg;
    --stack: 1;
}

.gallery-stack figure:first-child {
    --tilt: 3deg;
    --stack: 4;
}

.gallery-stack figure:last-child {
    width: 82%;
    justify-self: end;
    margin-top: -38px;
    --tilt: -4deg;
    --stack: 5;
}

.page-gallery figure:nth-child(1),
.career-gallery figure:nth-child(1) {
    grid-column: 1 / span 7;
    grid-row: 1;
    --tilt: -4deg;
    --stack: 2;
}

.page-gallery figure:nth-child(2),
.career-gallery figure:nth-child(2) {
    grid-column: 6 / span 7;
    grid-row: 1;
    margin-top: 88px;
    --tilt: 5deg;
    --stack: 3;
}

.page-gallery figure:nth-child(3) {
    grid-column: 4 / span 7;
    grid-row: 1;
    margin-top: 176px;
    --tilt: -2deg;
    --stack: 4;
}

.academy-gallery img,
.career-gallery img,
.page-gallery img {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(15, 24, 32, .14) inset;
}

.gallery-feature img {
    min-height: 0;
}

.career-gallery {
    margin: 0;
    border-radius: 0;
}

.academy-gallery,
.career-gallery,
.page-gallery {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.academy-gallery {
    min-height: auto;
    padding: clamp(44px, 6vw, 76px) clamp(22px, 5vw, 72px);
}

.career-gallery,
.page-gallery {
    min-height: 0;
    padding: clamp(34px, 4vw, 56px);
}

.academy-gallery .gallery-stack {
    display: contents;
}

.academy-gallery figure,
.career-gallery figure,
.page-gallery figure,
.academy-gallery > .gallery-feature:first-child,
.academy-gallery > .gallery-feature:last-child,
.page-gallery figure:nth-child(n),
.career-gallery figure:nth-child(n),
.gallery-stack figure:last-child {
    flex: 0 0 auto;
    grid-column: auto;
    grid-row: auto;
    width: clamp(210px, 25vw, 340px);
    max-width: 38%;
    margin: 0;
}

.academy-gallery figure {
    width: clamp(190px, 21vw, 310px);
    max-width: 28%;
}

.career-gallery figure,
.page-gallery figure {
    width: clamp(220px, 30vw, 360px);
    max-width: 42%;
}

.academy-gallery figure + figure,
.career-gallery figure + figure,
.page-gallery figure + figure {
    margin-left: clamp(-86px, -7vw, -44px);
}

.page-gallery figure:nth-child(2),
.career-gallery figure:nth-child(2) {
    margin-top: 42px;
}

.page-gallery figure:nth-child(3) {
    margin-top: 82px;
}

.fleet-item {
    min-height: 160px;
    padding: 28px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.03)),
        rgba(255,255,255,.04);
}

.fleet-item strong {
    display: block;
    font-size: 28px;
    color: var(--gold);
}

.fleet-item span {
    display: block;
    margin-top: 10px;
    color: rgba(255,255,255,.72);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.quote {
    position: relative;
    min-height: 280px;
    padding: 42px 34px 34px;
    overflow: hidden;
    border: 1px solid rgba(63, 93, 111, .16);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(238,246,249,.88)),
        #fff;
    box-shadow: 0 24px 70px rgba(15, 24, 32, .1);
}

.quote::before {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 4px solid var(--gold);
    pointer-events: none;
}

.quote > i {
    position: absolute;
    right: 26px;
    top: 22px;
    color: rgba(63, 93, 111, .1);
    font-size: 76px;
    line-height: 1;
}

.quote p {
    position: relative;
    z-index: 1;
    margin: 44px 0 28px;
    color: var(--navy);
    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.12;
}

.quote strong {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--steel);
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.quote strong::before {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--gold);
}

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(34px, 6vw, 82px);
}

.contact-list {
    display: grid;
    gap: 18px;
    margin-top: 32px;
}

.contact-list a,
.contact-list div,
.masked-contact {
    display: block;
    width: 100%;
    padding: 18px 0;
    border: 0;
    border-top: 1px solid rgba(255,255,255,.16);
    color: rgba(255,255,255,.84);
    background: transparent;
    font: inherit;
    text-align: left;
    text-decoration: none;
}

.masked-contact {
    cursor: pointer;
}

.masked-contact strong,
.masked-contact span,
.masked-contact em {
    display: block;
}

.masked-contact span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.masked-contact strong {
    margin-top: 5px;
    color: rgba(255,255,255,.9);
    font-size: 17px;
}

.masked-contact em {
    margin-top: 3px;
    color: rgba(255,255,255,.56);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.masked-contact:hover strong,
.masked-contact:focus-visible strong,
.masked-contact.is-revealed:hover,
.masked-contact.is-revealed:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

form {
    display: grid;
    gap: 14px;
}

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

label {
    display: grid;
    gap: 8px;
    color: rgba(255,255,255,.82);
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    color: #fff;
    background: rgba(255,255,255,.08);
    font: inherit;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

select option {
    color: var(--ink);
}

.form-panel {
    scroll-margin-top: 88px;
}

.form-flash {
    display: grid;
    gap: 4px;
    margin-bottom: 16px;
    padding: 15px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
}

.form-flash strong,
.form-flash span {
    display: block;
}

.form-flash strong {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.form-flash span {
    font-weight: 800;
    line-height: 1.45;
}

.form-flash-success {
    border-color: rgba(70, 186, 125, .48);
    color: #eafff2;
    background: linear-gradient(135deg, rgba(23, 114, 66, .96), rgba(29, 146, 84, .86));
}

.form-flash-error {
    border-color: rgba(255, 154, 128, .52);
    color: #fff4ef;
    background: linear-gradient(135deg, rgba(142, 49, 34, .98), rgba(192, 77, 55, .9));
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px clamp(26px, 6vw, 88px) 122px;
    color: #5d6b72;
    background: #fff;
    border-top: 1px solid var(--line);
}

.footer-logo {
    width: 154px;
    height: auto;
    opacity: .72;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links a {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(63, 93, 111, .22);
    border-radius: 50%;
    color: var(--navy);
    background: rgba(231, 238, 242, .72);
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
    color: #fff;
    background: var(--steel);
    transform: translateY(-2px);
}

@media (max-width: 940px) {
    .side-nav {
        top: 0;
        right: 0;
        min-height: auto;
        height: 68px;
        width: 68px;
        border-radius: 0 0 0 34px;
        padding: 0;
        overflow: visible;
        background: rgba(8, 28, 45, .28);
        border-left: 0;
        box-shadow: 0 18px 42px rgba(3, 20, 31, .18);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }

    .side-nav:hover,
    .side-nav:focus-within {
        width: 68px;
        height: 68px;
        padding: 0;
        border-radius: 50%;
        overflow: visible;
    }

    .side-nav.is-open,
    .side-nav.is-open:hover,
    .side-nav.is-open:focus-within {
        padding: 16px 12px;
        height: auto;
        width: min(360px, 100vw);
        border-radius: 0 0 0 28px;
        overflow: hidden;
        background: rgba(8, 28, 45, .28);
        border-left: 1px solid rgba(255, 255, 255, .18);
        box-shadow: -18px 16px 42px rgba(15, 24, 32, .18);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }

    .side-nav:not(.is-open) .nav-links,
    .side-nav:not(.is-open) .nav-actions {
        display: none;
    }

    .nav-toggle {
        position: absolute;
        z-index: 4;
        top: 0;
        right: 0;
        display: grid;
        place-items: center;
        gap: 4px;
        width: 68px;
        height: 68px;
        padding: 0;
        border: 1px solid rgba(255,255,255,.22);
        border-radius: 0 0 0 34px;
        color: #fff;
        background: rgba(18, 30, 38, .7);
        box-shadow: -12px 10px 30px rgba(15, 24, 32, .18);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
    }

    .nav-toggle span:not(.nav-toggle-label) {
        display: block;
        width: 24px;
        height: 2px;
        border-radius: 999px;
        background: var(--gold);
    }

    .side-nav.is-open .nav-toggle {
        top: 16px;
        right: 12px;
        width: 44px;
        height: 44px;
        background: rgba(18, 30, 38, .64);
        box-shadow: none;
    }

    .nav-links,
    .nav-actions {
        position: relative;
        inset: auto;
    }

    .nav-links {
        margin-top: 18px;
    }

    .page {
        padding-right: 0;
        padding-top: 0;
    }

    .hero {
        min-height: 100vh;
    }

    .metrics,
    .split,
    .contact-panel,
    .testimonials,
    .fleet-grid,
    .content-row,
    .detail-grid,
    .academy-gallery,
    .career-gallery,
    .page-gallery {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 46px 24px;
    }

    .academy-gallery > .gallery-feature:first-child,
    .academy-gallery > .gallery-feature:last-child,
    .academy-gallery .gallery-stack,
    .page-gallery figure:nth-child(n),
    .career-gallery figure:nth-child(n) {
        grid-column: 1;
        grid-row: auto;
        width: min(520px, 100%);
        margin: -18px auto 0;
    }

    .academy-gallery > .gallery-feature:first-child,
    .page-gallery figure:first-child,
    .career-gallery figure:first-child {
        margin-top: 0;
    }

    .gallery-stack {
        display: contents;
    }

    .gallery-stack figure:last-child {
        width: min(520px, 100%);
    }
}

@media (max-width: 640px) {
    .hero,
    .page-hero {
        padding: 34px 22px;
    }

    .hero-inner {
        margin-top: 28px;
        text-align: left;
    }

    .hero-title {
        margin: 0;
    }

    .hero-title__lead {
        font-size: clamp(42px, 14vw, 76px);
        line-height: .88;
        white-space: normal;
    }

    .hero-title__trail {
        margin-top: 12px;
        font-size: clamp(18px, 5vw, 24px);
        line-height: 1.18;
    }

    .section {
        padding: 64px 22px;
    }

    .program,
    .field-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        display: grid;
    }

    footer {
        align-items: flex-start;
        flex-direction: column;
        padding-bottom: 156px;
    }

    .social-links {
        flex-wrap: wrap;
    }
}

.academy-gallery figure:not(:first-child),
.academy-gallery > figure.gallery-feature:last-child,
.academy-gallery .gallery-stack figure,
.career-gallery > figure:not(:first-child),
.page-gallery > figure:not(:first-child) {
    margin-left: clamp(-92px, -7vw, -48px);
}

.academy-gallery > figure.gallery-feature:first-child {
    margin-left: 0;
}

.page-gallery > figure:nth-child(2),
.career-gallery > figure:nth-child(2) {
    margin-top: 42px;
}

.page-gallery > figure:nth-child(3) {
    margin-top: 82px;
}

@media (max-width: 640px) {
    .career-gallery,
    .page-gallery {
        flex-wrap: nowrap;
        justify-content: center;
        padding: 42px 16px;
    }

    .academy-gallery {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 5px 1px !important;
        align-items: stretch !important;
        justify-content: stretch !important;
        padding: 19px 9px !important;
        overflow: hidden !important;
    }

    .academy-gallery .gallery-stack {
        display: contents !important;
    }

    .career-gallery figure,
    .page-gallery figure,
    .page-gallery figure:nth-child(n),
    .career-gallery figure:nth-child(n),
    .gallery-stack figure:last-child {
        width: min(220px, 58vw);
        max-width: 58vw;
        margin-top: 0;
    }

    .academy-gallery figure,
    .academy-gallery > .gallery-feature:first-child,
    .academy-gallery > .gallery-feature:last-child,
    .academy-gallery .gallery-stack figure,
    .academy-gallery figure:not(:first-child),
    .academy-gallery > figure.gallery-feature:last-child {
        aspect-ratio: 1 / .86 !important;
        width: 97% !important;
        min-width: 0 !important;
        max-width: 173px !important;
        justify-self: center !important;
        margin: 0 !important;
        padding: 7px 7px 17px !important;
        border-radius: 15px 15px 23px 9px !important;
        background: linear-gradient(180deg, #fff, #f7f1e8) !important;
        box-shadow:
            0 13px 31px rgba(15, 24, 32, .19),
            0 2px 0 rgba(255,255,255,.95) inset !important;
        transform: rotate(var(--mobile-tilt, -2deg)) !important;
    }

    .academy-gallery figure:nth-child(2n) {
        --mobile-tilt: 2deg;
    }

    .academy-gallery figure:nth-child(3n) {
        --mobile-tilt: -1deg;
    }

    .academy-gallery > .gallery-feature:first-child {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .academy-gallery .gallery-stack figure:first-child {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    .academy-gallery .gallery-stack figure:last-child {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }

    .academy-gallery > .gallery-feature:last-child {
        grid-column: 2 !important;
        grid-row: 2 !important;
    }

    .career-gallery > figure:not(:first-child),
    .page-gallery > figure:not(:first-child) {
        margin-left: -58px;
    }

    .academy-gallery figure::after {
        inset: 7px 7px 17px !important;
        border-radius: 8px !important;
    }

    .academy-gallery figure::before {
        width: 31px !important;
        height: 31px !important;
        border-radius: 13px 0 19px 0 !important;
        box-shadow: -5px -5px 13px rgba(15, 24, 32, .11) !important;
    }

    .academy-gallery img {
        border-radius: 8px !important;
    }

    .page-gallery > figure:nth-child(2),
    .career-gallery > figure:nth-child(2) {
        margin-top: 30px;
    }

    .page-gallery > figure:nth-child(3) {
        margin-top: 58px;
    }
}
