:root {
    color-scheme: dark;
    --gold: #f2c400;
    --silver: #f4f4f2;
    --page-bg: #030607;
}

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

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    overflow: hidden;
    background: var(--page-bg);
}

body {
    min-height: 100vh;
    min-height: 100svh;
    color: var(--silver);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

.coming-soon {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background: var(--page-bg);
}

@supports (height: 100dvh) {
    .coming-soon {
        height: 100dvh;
        min-height: 100dvh;
    }
}

.scene,
.scene img,
.atmosphere {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.scene {
    z-index: -3;
    overflow: hidden;
}

.scene img {
    display: block;
    object-fit: cover;
    object-position: 50% 50%;
    user-select: none;
}

.atmosphere {
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(ellipse 48% 38% at 50% 33%, rgba(2, 4, 5, 0.72) 0%, rgba(2, 4, 5, 0.40) 46%, rgba(2, 4, 5, 0) 78%),
        linear-gradient(180deg, rgba(1, 3, 4, 0.24) 0%, rgba(1, 3, 4, 0) 45%, rgba(1, 3, 4, 0.28) 100%),
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 44%, rgba(0, 0, 0, 0.28) 100%);
}

.hero {
    position: absolute;
    z-index: 1;
    top: max(18vh, calc(env(safe-area-inset-top) + 4rem));
    left: 50%;
    width: min(90vw, 780px);
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.brand {
    display: block;
    width: min(48vw, 650px);
    height: auto;
    margin: 0;
    filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.46));
}

.hero h1 {
    margin: clamp(0.6rem, 1.1vh, 1rem) 0 0;
    padding-left: 0.28em;
    color: #f5f5f3;
    font-size: clamp(2rem, 3.55vw, 3.25rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.28em;
    white-space: nowrap;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.74);
}

.gold-line {
    width: 58px;
    height: 2px;
    margin-top: clamp(1.3rem, 2.6vh, 1.9rem);
    background: var(--gold);
    box-shadow: 0 0 14px rgba(242, 196, 0, 0.18);
}

.hero p {
    margin: clamp(1.15rem, 2.3vh, 1.7rem) 0 0;
    padding-left: 0.42em;
    color: rgba(245, 245, 243, 0.82);
    font-size: clamp(0.68rem, 1.12vw, 0.93rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.42em;
    white-space: nowrap;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.8);
}

.edge-detail {
    position: absolute;
    z-index: 2;
    width: clamp(92px, 13vw, 190px);
    height: 26px;
    opacity: 0.55;
    pointer-events: none;
}

.edge-detail::before,
.edge-detail::after {
    content: "";
    position: absolute;
    background: rgba(234, 236, 232, 0.72);
}

.edge-detail::before {
    top: 12px;
    left: 0;
    width: 100%;
    height: 1px;
}

.edge-detail::after {
    top: 0;
    width: 1px;
    height: 26px;
}

.edge-detail--top-left,
.edge-detail--bottom-left {
    left: max(2.25vw, 20px);
}

.edge-detail--top-right,
.edge-detail--bottom-right {
    right: max(2.25vw, 20px);
    transform: scaleX(-1);
}

.edge-detail--top-left,
.edge-detail--top-right {
    top: max(3vh, calc(env(safe-area-inset-top) + 18px));
}

.edge-detail--bottom-left,
.edge-detail--bottom-right {
    bottom: max(3vh, calc(env(safe-area-inset-bottom) + 18px));
}

@media (max-width: 700px) {
    .scene img {
        object-position: 50% 50%;
    }

    .atmosphere {
        background:
            radial-gradient(ellipse 72% 31% at 50% 33%, rgba(2, 4, 5, 0.74) 0%, rgba(2, 4, 5, 0.42) 52%, rgba(2, 4, 5, 0) 82%),
            linear-gradient(180deg, rgba(1, 3, 4, 0.12) 0%, rgba(1, 3, 4, 0) 52%, rgba(1, 3, 4, 0.22) 100%),
            radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.22) 100%);
    }

    .hero {
        top: max(20.5vh, calc(env(safe-area-inset-top) + 6.5rem));
        width: min(92vw, 600px);
    }

    .brand {
        width: min(75vw, 520px);
    }

    .hero h1 {
        margin-top: clamp(0.4rem, 0.8vh, 0.75rem);
        padding-left: 0.20em;
        font-size: clamp(1.65rem, 7.4vw, 3.5rem);
        letter-spacing: 0.20em;
    }

    .gold-line {
        width: 44px;
        margin-top: clamp(1.1rem, 2.1vh, 1.65rem);
    }

    .hero p {
        margin-top: clamp(1rem, 2vh, 1.5rem);
        padding-left: 0.34em;
        font-size: clamp(0.58rem, 2.45vw, 1rem);
        letter-spacing: 0.34em;
    }

    .edge-detail {
        width: clamp(68px, 23vw, 150px);
        opacity: 0.44;
    }
}

@media (max-height: 620px) and (orientation: landscape) {
    .hero {
        top: max(10vh, calc(env(safe-area-inset-top) + 1rem));
    }

    .brand {
        width: min(38vw, 470px);
    }

    .hero h1 {
        font-size: clamp(1.6rem, 4.4vh, 2.35rem);
    }

    .gold-line {
        margin-top: 0.85rem;
    }

    .hero p {
        margin-top: 0.85rem;
    }
}

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