:root {
    --ink: #02080d;
    --aqua: #25d9ff;
    --blue: #087fd8;
    --white: #f0fbff;
    --muted: rgba(222, 244, 250, 0.57);
    --line: rgba(147, 226, 245, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--ink);
}

body {
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 50% 38%, rgba(4, 75, 102, 0.3), transparent 38%),
        linear-gradient(155deg, #06141c 0%, #02090e 48%, #010507 100%);
    font-family: "Manrope", sans-serif;
}

body::before {
    position: fixed;
    z-index: 10;
    inset: 0;
    pointer-events: none;
    content: "";
    opacity: 0.12;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
}

.water-canvas,
.depth-lights {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.water-canvas {
    z-index: 1;
    opacity: 0.7;
}

.depth-lights {
    z-index: 0;
    overflow: hidden;
}

.light {
    position: absolute;
    top: -35vh;
    width: 28vw;
    height: 130vh;
    opacity: 0.06;
    filter: blur(20px);
    background: linear-gradient(to bottom, rgba(48, 223, 255, 0.8), transparent 75%);
    transform: rotate(20deg);
    transform-origin: top;
    animation: current 12s ease-in-out infinite alternate;
}

.light-one {
    left: 5%;
}

.light-two {
    left: 42%;
    width: 18vw;
    animation-delay: -4s;
}

.light-three {
    right: 0;
    animation-delay: -8s;
}

.site-header,
.site-footer {
    position: fixed;
    z-index: 5;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: clamp(24px, 4.2vw, 72px);
    text-transform: uppercase;
}

.site-header {
    top: 0;
    padding-top: clamp(22px, 4vh, 46px);
}

.site-footer {
    bottom: 0;
    padding-bottom: clamp(18px, 3vh, 34px);
    color: rgba(225, 245, 250, 0.34);
    font-size: 9px;
    letter-spacing: 0.22em;
}

.site-footer a {
    color: rgba(178, 235, 248, 0.62);
    text-decoration: none;
    transition: color 200ms ease;
}

.site-footer a:hover {
    color: var(--aqua);
}

.monogram {
    position: relative;
    color: var(--white);
    font-family: "Michroma", sans-serif;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-decoration: none;
}

.monogram::after {
    position: absolute;
    right: -13px;
    bottom: 1px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--aqua);
    box-shadow: 0 0 12px var(--aqua);
    content: "";
}

.status {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(225, 245, 250, 0.55);
    font-size: 9px;
    letter-spacing: 0.24em;
}

.status span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--aqua);
    box-shadow: 0 0 9px var(--aqua);
    animation: pulse 2.5s ease-out infinite;
}

.hero {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
    place-items: center;
    padding: 100px 24px 90px;
    perspective: 1200px;
}

.hero-content {
    display: flex;
    width: min(100%, 1120px);
    align-items: center;
    flex-direction: column;
    text-align: center;
    transform-style: preserve-3d;
}

.eyebrow {
    display: flex;
    margin: 0 0 clamp(25px, 3.5vh, 42px);
    align-items: center;
    gap: 13px;
    color: rgba(205, 238, 246, 0.5);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.eyebrow span {
    color: var(--aqua);
}

.logo-wrap {
    position: relative;
    width: min(72vw, 760px);
    transform-origin: 50% 55%;
    transform-style: preserve-3d;
    transition: transform 120ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.brand-logo {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.5));
    user-select: none;
}

.logo-glow {
    position: absolute;
    inset: 20% 18%;
    border-radius: 50%;
    opacity: 0.25;
    background: var(--blue);
    filter: blur(60px);
    animation: breathe 5s ease-in-out infinite;
}

h1 {
    display: flex;
    margin: clamp(8px, 1vh, 14px) 0 0;
    align-items: baseline;
    justify-content: center;
    gap: clamp(10px, 2.3vw, 38px);
    color: #effcff;
    font-family: "Michroma", sans-serif;
    font-size: clamp(19px, 3.05vw, 49px);
    font-weight: 400;
    letter-spacing: clamp(0.16em, 1.25vw, 0.38em);
    line-height: 1.25;
    text-indent: 0.38em;
    text-shadow: 0 0 35px rgba(86, 219, 255, 0.1);
}

h1 .marine {
    color: transparent;
    background: linear-gradient(100deg, #86efff, #0b9fe7 45%, #54e6ff);
    background-clip: text;
    -webkit-background-clip: text;
}

.divider {
    position: relative;
    width: min(360px, 38vw);
    height: 1px;
    margin: clamp(23px, 3vh, 38px) 0 clamp(18px, 2.5vh, 29px);
    overflow: visible;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.divider span {
    position: absolute;
    top: -1px;
    left: 0;
    width: 24%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--aqua), transparent);
    box-shadow: 0 0 10px rgba(37, 217, 255, 0.5);
    animation: scan 4s ease-in-out infinite;
}

.intro {
    margin: 0;
    color: var(--muted);
    font-size: clamp(11px, 1vw, 14px);
    font-weight: 400;
    letter-spacing: 0.12em;
    line-height: 1.9;
}

.notify-link {
    display: inline-flex;
    margin-top: clamp(20px, 3vh, 34px);
    align-items: center;
    gap: 14px;
    color: #c9f5ff;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-decoration: none;
    text-transform: uppercase;
}

.notify-link span {
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(37, 217, 255, 0.35);
    transition: border-color 200ms ease, color 200ms ease;
}

.notify-link svg {
    width: 16px;
    fill: none;
    stroke: var(--aqua);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
    transition: transform 200ms ease;
}

.notify-link:hover span {
    color: #fff;
    border-color: var(--aqua);
}

.notify-link:hover svg {
    transform: translateX(5px);
}

.coordinates,
.scroll-cue {
    position: absolute;
    bottom: clamp(68px, 9vh, 95px);
    color: rgba(225, 245, 250, 0.24);
    font-size: 8px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.coordinates {
    left: clamp(24px, 4.2vw, 72px);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.scroll-cue {
    right: clamp(24px, 4.2vw, 72px);
    display: flex;
    align-items: center;
    gap: 12px;
    writing-mode: vertical-rl;
}

.scroll-cue i {
    width: 1px;
    height: 31px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.scroll-cue i::after {
    display: block;
    width: 100%;
    height: 12px;
    background: var(--aqua);
    content: "";
    animation: sink 2.3s ease-in-out infinite;
}

@keyframes current {
    from { transform: translateX(-5vw) rotate(18deg); }
    to { transform: translateX(7vw) rotate(25deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.45; box-shadow: 0 0 5px var(--aqua); }
    50% { opacity: 1; box-shadow: 0 0 13px var(--aqua); }
}

@keyframes breathe {
    0%, 100% { opacity: 0.18; transform: scale(0.88); }
    50% { opacity: 0.35; transform: scale(1.08); }
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    50%, 100% { transform: translateX(420%); }
}

@keyframes sink {
    from { transform: translateY(-100%); }
    to { transform: translateY(280%); }
}

@media (max-width: 700px) {
    .logo-wrap {
        width: min(94vw, 620px);
    }

    h1 {
        flex-direction: column;
        align-items: center;
        gap: 3px;
        font-size: clamp(19px, 7vw, 32px);
        letter-spacing: 0.18em;
        text-indent: 0.18em;
    }

    .divider {
        width: 64vw;
    }

    .coordinates,
    .scroll-cue,
    .site-footer p:last-child {
        display: none;
    }

    .site-footer {
        justify-content: center;
    }
}

@media (max-height: 720px) and (min-width: 701px) {
    .logo-wrap {
        width: min(60vw, 600px);
    }

    .eyebrow {
        margin-bottom: 18px;
    }

    .divider {
        margin-block: 18px 14px;
    }

    .notify-link {
        margin-top: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
