:root {
    color-scheme: dark;
    --background: #090d13;
    --foreground: #f4f2ed;
    --muted: #aab0b7;
    --accent: #9ebfff;
    --brand-blue: #174b9b;
    --brand-light: #a8c5f4;
    --gutter: clamp(24px, 4.2vw, 72px);
    --heading-font: "Ubuntu", "Helvetica Neue", Arial, sans-serif;
    --mono: "Consolas", "Liberation Mono", monospace;
    font-family: "Helvetica Neue", "Arial", sans-serif;
    font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--foreground); }
a:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 5px; }

.page-shell {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: max(700px, 78svh);
    padding: 0 var(--gutter) 22px;
    overflow: clip;
}

.hero-art {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.hero-art img {
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
    transform: scale(1.02);
    transform-origin: center;
}

.hero-art::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 7% 60%, rgb(255 174 89 / 36%), transparent 44%);
    mix-blend-mode: screen;
    opacity: 0;
}

.hero-art::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    background:
        linear-gradient(0deg, rgb(7 11 17 / 50%) 0%, rgb(7 11 17 / 18%) 24%, transparent 62%, rgb(7 11 17 / 18%) 100%),
        linear-gradient(90deg, rgb(7 11 17 / 27%) 0%, rgb(7 11 17 / 10%) 55%, rgb(7 11 17 / 36%) 100%);
}

.hero-art--aerial::before { display: none; }
.hero-art--aerial::after {
    background:
        linear-gradient(180deg, rgb(5 10 18 / 42%) 0%, rgb(5 10 18 / 46%) 44%, rgb(5 10 18 / 60%) 100%),
        radial-gradient(ellipse at 50% 44%, rgb(4 9 17 / 44%) 0%, rgb(4 9 17 / 22%) 48%, transparent 82%);
}
.hero-art--midnight::before { display: none; }
.hero-art--midnight::after {
    background:
        linear-gradient(180deg, rgb(4 11 20 / 18%) 0%, rgb(4 11 20 / 15%) 46%, rgb(4 11 20 / 32%) 100%),
        radial-gradient(ellipse at 50% 44%, rgb(3 9 17 / 28%) 0%, rgb(3 9 17 / 13%) 48%, transparent 78%);
}
.header-contours {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: .13;
    pointer-events: none;
}
.header-contours path {
    fill: none;
    stroke: #b3c5df;
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.site-header {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1480px;
    min-height: 82px;
    margin-inline: auto;
    border-bottom: 1px solid rgb(255 255 255 / 19%);
}

.brand, .site-nav { position: relative; z-index: 1; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo {
    display: block;
    width: min(306px, 54vw);
    height: auto;
}

.site-nav { display: flex; align-items: center; gap: clamp(26px, 4vw, 64px); }
.nav-link {
    color: rgb(255 255 255 / 84%);
    font-size: 16px;
    text-decoration: none;
    transition: color .18s ease;
}
.nav-link:hover { color: #fff; }

.hero-coordinate {
    position: absolute;
    z-index: 4;
    top: clamp(130px, 19%, 205px);
    right: var(--gutter);
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgb(255 255 255 / 76%);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .16em;
    line-height: 1.7;
}
.coordinate-crosshair {
    color: rgb(255 255 255 / 74%);
    font-family: Arial, sans-serif;
    font-size: 26px;
    font-weight: 200;
    line-height: 1;
}

.hero {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: min(100%, 1480px);
    margin-inline: auto;
    padding-block: clamp(42px, 7vh, 86px) clamp(84px, 13vh, 138px);
}

.hero-copy {
    width: min(100%, 980px);
    text-align: center;
}

.hero h1 {
    margin: 0;
    color: #fff6eb;
    font-family: var(--heading-font);
    font-size: clamp(58px, 6.3vw, 100px);
    font-weight: 400;
    line-height: .88;
    letter-spacing: -.052em;
    text-shadow: 0 2px 30px rgb(0 0 0 / 25%);
}

.hero h1 > span { display: block; }
.hero h1 em { color: #c8cdd5; font-style: normal; }

.hero-intro {
    max-width: 42rem;
    margin: 21px auto 0;
    color: rgb(255 255 255 / 92%);
    font-size: clamp(17px, 1.7vw, 22px);
    line-height: 1.55;
    letter-spacing: -.01em;
    text-shadow: 0 1px 16px rgb(0 0 0 / 55%);
}

.hero-booking-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
    width: min(100%, 850px);
    margin: 30px auto 0;
    text-align: left;
}
.hero-form-field { display: grid; min-width: 0; gap: 6px; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
    border: 0;
}
.hero-form-field input {
    width: 100%;
    min-height: 54px;
    padding: 0 15px;
    border: 1px solid rgb(255 255 255 / 48%);
    border-radius: 4px;
    background: rgb(8 13 21 / 45%);
    color: #fff;
    font: inherit;
    font-size: 14px;
    transition: border-color .18s ease, background-color .18s ease;
}
.hero-form-field input::placeholder { color: rgb(255 255 255 / 76%); opacity: 1; }
.hero-form-field input:focus-visible { border-color: #fff; outline: 3px solid rgb(168 197 244 / 55%); outline-offset: 2px; }
.hero-form-field input[aria-invalid="true"] { border-color: #ff9387; }
.hero-form-error { margin: 0; color: #ffc1b9; font-size: 12px; line-height: 1.35; }

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    min-width: 168px;
    padding: 0 21px;
    border: 1px solid #225db3;
    border-radius: 4px;
    background: #1d5cb6;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 8px 26px rgb(0 0 0 / 18%);
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.hero-cta:hover { transform: translateY(-2px); border-color: #6596df; background: #276bc7; }
.hero-form-privacy { margin: 12px 0 0; color: rgb(255 255 255 / 68%); font-size: 12px; line-height: 1.5; }
.hero-form-status {
    width: fit-content;
    max-width: 100%;
    margin: 22px auto 0;
    padding: 11px 15px;
    border: 1px solid rgb(183 213 192 / 55%);
    border-radius: 4px;
    background: rgb(22 65 38 / 66%);
    color: #e7f5e9;
    font-size: 14px;
    line-height: 1.45;
}

.hero-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100%, 1480px);
    margin-inline: auto;
    padding-top: 0;
    color: rgb(255 255 255 / 80%);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .1em;
    line-height: 1.5;
    text-transform: uppercase;
}
.hero-footer > span { display: grid; grid-template-columns: 18px auto; column-gap: 10px; }
.hero-footer > span > span { grid-column: 2; color: rgb(255 255 255 / 69%); }
.hero-footer i { grid-column: 1; grid-row: 1 / span 2; color: #fff; font-family: Arial, sans-serif; font-size: 23px; font-style: normal; line-height: 1; }
.hero-footer a { display: inline-flex; align-items: center; gap: 13px; color: inherit; text-decoration: none; }
.hero-footer a span:last-child { color: var(--brand-light); font-size: 16px; }
.hero-footer a:hover { color: #fff; }

.capabilities-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #0b111a;
    color: #f4f2ed;
}
.capabilities-section::before {
    position: absolute;
    z-index: -1;
    inset: auto 0 0;
    height: 58%;
    background-image:
        repeating-radial-gradient(ellipse at 4% 145%, transparent 0 47px, rgb(143 165 195 / 3%) 48px 49px, transparent 50px 89px),
        repeating-radial-gradient(ellipse at 100% 100%, transparent 0 56px, rgb(143 165 195 / 2%) 57px 58px, transparent 59px 104px);
    content: "";
    pointer-events: none;
}
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 1480px);
    margin-inline: auto;
    padding: clamp(48px, 5vw, 72px) var(--gutter) clamp(54px, 5.5vw, 82px);
}
.capability { min-height: 120px; padding-right: clamp(22px, 4vw, 62px); }
.capability + .capability { padding-left: clamp(22px, 4vw, 62px); border-left: 1px solid rgb(255 255 255 / 28%); }
.capability h2 {
    margin: 0;
    color: #f6f0e6;
    font-family: var(--heading-font);
    font-size: clamp(25px, 2.7vw, 40px);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: 1.14;
}
.capability p { max-width: 360px; margin: 13px 0 0; color: rgb(242 244 246 / 88%); font-size: 18px; line-height: 1.5; }

.page-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    padding: 18px var(--gutter) 20px;
    border-top: 1px solid rgb(255 255 255 / 14%);
    background: #0b111a;
    color: rgb(255 255 255 / 58%);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.footer-brand { color: #f1f3f6; font-family: "Helvetica Neue", Arial, sans-serif; font-size: 13px; font-weight: 800; letter-spacing: -.035em; text-decoration: none; }
.footer-brand span { color: rgb(255 255 255 / 58%); font-weight: 500; }
.back-to-top { display: inline-flex; align-items: center; gap: 9px; color: rgb(255 255 255 / 66%); text-decoration: none; }
.back-to-top:hover { color: var(--brand-light); }

@media (max-width: 700px) {
    .page-shell { min-height: max(700px, 88svh); padding-bottom: 18px; }
    .hero-art img { object-position: 16% center; }
    .hero-art--aerial img { object-position: 50% 47%; }
    .hero-art--midnight img { object-position: center 50%; }
    .hero-art::after {
        background:
            linear-gradient(0deg, rgb(7 11 17 / 78%) 0%, rgb(7 11 17 / 30%) 36%, rgb(7 11 17 / 25%) 100%),
            linear-gradient(90deg, rgb(7 11 17 / 28%), rgb(7 11 17 / 8%));
    }
    .hero-art--midnight::after {
        background:
            linear-gradient(180deg, rgb(4 11 20 / 12%) 0%, rgb(4 11 20 / 18%) 54%, rgb(4 11 20 / 32%) 100%),
            radial-gradient(ellipse at 50% 50%, rgb(3 9 17 / 18%) 0%, rgb(3 9 17 / 8%) 50%, transparent 80%);
    }
    .header-contours { opacity: .1; }
    .site-header { min-height: 68px; }
    .brand-logo { width: min(205px, 48vw); }
    .site-nav { gap: 18px; }
    .nav-link:not(:last-child) { display: none; }
    .nav-link { font-size: 14px; }
    .hero-coordinate { display: none; }
    .hero { align-items: center; justify-content: center; padding-block: 38px 64px; }
    .hero-copy { width: min(100%, 720px); }
    .hero h1 { font-size: clamp(50px, 11vw, 72px); }
    .hero-intro { max-width: 30rem; margin-top: 18px; font-size: clamp(16px, 4vw, 19px); }
    .hero-booking-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 24px; }
    .hero-booking-form .hero-cta { grid-column: 1 / -1; justify-self: center; width: min(100%, 250px); min-height: 50px; }
    .hero-form-field input { min-height: 50px; padding-inline: 12px; font-size: 13px; }
    .hero-form-privacy { font-size: 11px; }
    .hero-footer { font-size: 9px; }
    .hero-footer a { gap: 7px; }
    .capabilities-grid { grid-template-columns: 1fr; padding-block: 25px 40px; }
    .capability { min-height: auto; padding: 20px 0 22px; }
    .capability:first-child { padding-top: 5px; }
    .capability + .capability { padding-left: 0; border-top: 1px solid rgb(255 255 255 / 22%); border-left: 0; }
    .capability h2 { font-size: 30px; }
    .capability p { margin-top: 8px; font-size: 15px; }
    .page-footer { flex-wrap: wrap; font-size: 9px; }
}

@media (max-width: 390px) {
    .page-shell { padding-inline: 18px; }
    .brand-logo { width: min(170px, 46vw); }
    .hero h1 { font-size: clamp(45px, 11vw, 52px); }
    .hero-booking-form { gap: 8px; }
    .hero-form-field input { padding-inline: 9px; font-size: 12px; }
    .hero-booking-form .hero-cta { min-height: 48px; }
    .hero-footer { font-size: 8px; letter-spacing: .07em; }
    .hero-footer a { font-size: 8px; }
    .capabilities-grid { padding-inline: 18px; }
    .page-footer { gap: 12px; }
    .page-footer > span { order: 3; flex-basis: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
    .hero-art img { animation: dawn-image 3s cubic-bezier(.2, .65, .3, 1) both; }
    .hero-art::before { animation: dawn-glow 2.8s ease-out .2s both; }
    .hero-art--aerial img { animation: aerial-dawn 3s cubic-bezier(.2, .65, .3, 1) both; }
    .brand-logo { animation: arrive .8s cubic-bezier(.2, .65, .3, 1) .25s both; }
    .hero-copy { animation: arrive .9s cubic-bezier(.2, .65, .3, 1) .65s both; }
    .hero-footer { animation: footer-arrive .7s ease-out 1.05s both; }

    @keyframes dawn-image {
        0% { filter: brightness(.34) saturate(.7); transform: scale(1.09); }
        58% { filter: brightness(.78) saturate(.9); transform: scale(1.045); }
        100% { filter: brightness(1.02) saturate(1.02); transform: scale(1.02); }
    }

    @keyframes aerial-dawn {
        0% { filter: brightness(.3) saturate(.65); transform: scale(1.08); }
        58% { filter: brightness(.62) saturate(.82); transform: scale(1.04); }
        100% { filter: brightness(.84) saturate(.92); transform: scale(1.02); }
    }

    @keyframes dawn-glow {
        0% { opacity: 0; transform: scale(.94); }
        65% { opacity: .52; transform: scale(1.04); }
        100% { opacity: .36; transform: scale(1); }
    }

    @keyframes arrive {
        from { opacity: 0; transform: translateY(12px); }
        to { opacity: 1; transform: translateY(0); }
    }

    @keyframes footer-arrive {
        from { opacity: 0; transform: translateY(6px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

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

.contact-page {
    min-height: 100svh;
    background: #fff;
    color: #17212b;
    color-scheme: light;
}

.contact-shell {
    display: flex;
    flex-direction: column;
    width: min(100%, 1120px);
    min-height: 100svh;
    margin: 0 auto;
    padding: 30px clamp(24px, 5vw, 72px) 28px;
}

.contact-header { display: flex; align-items: center; min-height: 58px; }
.contact-brand { display: inline-flex; }
.contact-logo { display: block; width: min(270px, 72vw); height: auto; }

.contact-main {
    display: grid;
    flex: 1;
    place-items: center;
    padding-block: 52px;
}

.contact-content { width: min(100%, 420px); }

.contact-title {
    margin: 0;
    color: #17212b;
    font-family: var(--heading-font);
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -.05em;
    text-shadow: none;
    white-space: normal;
}

.contact-description {
    margin: 16px 0 30px;
    color: #626d77;
    font-size: 17px;
    line-height: 1.55;
}

.contact-form { display: grid; gap: 20px; }
.form-field { display: grid; gap: 8px; }

.form-field label {
    color: #29343e;
    font-size: 14px;
    font-weight: 600;
}

.form-field input {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid #d4dce3;
    border-radius: 4px;
    background: #fff;
    color: #17212b;
    font: inherit;
}

.form-field input:focus-visible {
    border-color: var(--brand-blue);
    outline: 3px solid rgb(23 75 155 / 16%);
    outline-offset: 1px;
}

.form-field input[aria-invalid="true"] { border-color: #b42318; }
.form-error { margin: 0; color: #b42318; font-size: 13px; }

.form-submit {
    justify-self: start;
    min-height: 48px;
    margin-top: 2px;
    padding: 0 22px;
    border: 0;
    border-radius: 4px;
    background: var(--brand-blue);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.form-submit:hover { background: #205db2; }
.form-submit:focus-visible { outline: 3px solid rgb(23 75 155 / 35%); outline-offset: 3px; }

.form-privacy {
    margin: 14px 0 0;
    color: #65717c;
    font-size: 13px;
    line-height: 1.5;
}

.form-status {
    margin: 0 0 22px;
    padding: 13px 15px;
    border: 1px solid #b7d5c0;
    border-radius: 4px;
    background: #f1f8f2;
    color: #225432;
    font-size: 14px;
    line-height: 1.5;
}

.contact-footer { padding-top: 24px; }
.contact-footer a { color: #596570; font-size: 14px; text-decoration: none; }
.contact-footer a:hover { color: var(--brand-blue); text-decoration: underline; }

@media (max-width: 520px) {
    .contact-shell { padding-top: 22px; padding-bottom: 22px; }
    .contact-main { padding-block: 40px; }
}
