*,
*::after,
*::before {
    box-sizing: border-box;
}

html {
    overflow: hidden;
    background: #000;
}

:root {
    --color-text: #fff;
    --color-bg: #000;
    --color-muted: rgba(255,255,255,0.62);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-condensed: 'Druk Wide Trial', 'Arial Narrow', Impact, sans-serif;
    --font-script: 'Ms Madi', cursive;
    --color-accent: #ee2625;
}

body {
    margin: 0;
    color: var(--color-text);
    background: var(--color-bg);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
}

.js .loading::before,
.js .loading::after {
    content: '';
    position: fixed;
    z-index: 1000;
}

.js .loading::before {
    inset: 0;
    background: var(--color-bg);
}

.js .loading::after {
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
    border-radius: 50%;
    opacity: 0.42;
    background: var(--color-text);
    animation: loaderAnim 0.7s linear infinite alternate forwards;
}

@keyframes loaderAnim {
    to {
        opacity: 1;
        transform: scale3d(0.5, 0.5, 1);
    }
}

a {
    color: inherit;
    text-decoration: none;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 1.5rem 2rem;
    pointer-events: none;
    mix-blend-mode: difference;
}

.nav__link {
    pointer-events: auto;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    text-transform: lowercase;
    color: var(--color-text);
    white-space: nowrap;
    position: relative;
}

.nav__link:not(.nav__logo)::before {
    content: '';
    position: absolute;
    top: 90%;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
}

.nav__logo {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wrapper {
    height: 100svh;
    overflow: hidden;
}

.content {
    position: relative;
}

.hero {
    position: relative;
    width: 100%;
    height: 100svh;
    overflow: hidden;
    isolation: isolate;
    background: #000;
}

.hero-link {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-image,
.hero-image img,
.hero-shade,
.curved-marquee {
    position: absolute;
    inset: 0;
}

.hero-image {
    z-index: 0;
    display: block;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.16);
    will-change: transform;
}

.hero-shade {
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.08) 45%, rgba(0,0,0,0.72)),
        radial-gradient(circle at 50% 58%, rgba(0,0,0,0.04), rgba(0,0,0,0.72));
}

.hero-copy {
    position: relative;
    z-index: 3;
    width: min(76vw, 1180px);
    height: 100%;
    margin: 0 auto;
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center;
    padding: 5rem 0;
    pointer-events: none;
}

.hero-kicker,
.hero-label {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-kicker {
    margin-bottom: 1.2rem;
}

.hero-label {
    margin-top: 1.4rem;
}

.hero h1,
.hero h2 {
    max-width: 100%;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(3.8rem, 9vw, 9rem);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: 0;
}

.hero h1 {
    font-size: clamp(4.2rem, 9.8vw, 10rem);
}

.hero em {
    font-style: italic;
    font-weight: 300;
}

.curved-marquee {
    z-index: 4;
    pointer-events: none;
    opacity: 1;
    mix-blend-mode: normal;
    will-change: transform, opacity;
}

.curved-marquee svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.curved-marquee path {
    fill: none;
    stroke: none;
}

.curved-marquee text {
    font-family: var(--font-condensed);
    font-size: clamp(2rem, 4.25vw, 5rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    word-spacing: 0.55em;
    fill: #fff;
    text-transform: uppercase;
    dominant-baseline: middle;
    white-space: pre;
}

.marquee-text--fast {
    font-family: var(--font-script);
    font-size: clamp(1.25rem, 2.75vw, 3.25rem);
    font-weight: 400;
    word-spacing: 0.4em;
    fill: var(--color-accent);
    text-transform: none;
    baseline-shift: -0.08em;
}

@media (max-width: 768px) {
    .nav {
        gap: 1.25rem;
        padding: 1rem 1.25rem;
    }

    .nav__link {
        font-size: 0.72rem;
    }

    .nav__logo {
        font-size: 0.88rem;
    }

    .hero-copy {
        width: 86vw;
        padding: 4.5rem 0;
    }

    .hero h1,
    .hero h2 {
        font-size: clamp(3.3rem, 17vw, 5.5rem);
        line-height: 0.94;
    }

    .curved-marquee {
        inset: 0 auto 0 -88vw;
        width: 276vw;
    }

    .curved-marquee text {
        font-size: clamp(1.625rem, 7.75vw, 2.5rem);
    }

    .marquee-text--fast {
        font-size: clamp(1rem, 5vw, 1.75rem);
    }
}
