:root {
    --black: #111111;
    --cream: #f0ede5;
    --red: #f7005f;
    --mono: "DM Mono", monospace;
    --display: "Oswald", sans-serif;
    --serif: "Instrument Serif", serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--black);
    font-family: var(--mono);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    color: inherit;
}

::selection {
    background: var(--red);
    color: var(--cream);
}


/* CURSOR */

.cursor {
    position: fixed;
    width: 14px;
    height: 14px;
    background: var(--red);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999;
    transform: translate(-50%, -50%);
    transition:
        width 0.2s ease,
        height 0.2s ease;
}

.cursor.active {
    width: 45px;
    height: 45px;
    mix-blend-mode: difference;
}


/* HEADER */

.header {
    height: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    padding: 0 2rem;
    border-bottom: 1px solid var(--black);
    font-size: 0.75rem;
}

.logo {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.5rem;
}

.header-label {
    text-align: center;
}

.header-link {
    text-align: right;
}


/* HERO */

.hero {
    min-height: calc(100vh - 80px);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
}

.hero-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(6rem, 17vw, 18rem);
    line-height: 0.75;
    letter-spacing: -0.07em;
    text-transform: uppercase;
}

.title-line {
    display: block;
}

.title-line:last-child {
    text-align: right;
}

.title-line.outline {
    color: transparent;
    -webkit-text-stroke: 2px var(--black);
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.hero-description {
    max-width: 500px;
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    line-height: 1.5;
}

.hero-description em {
    font-family: var(--serif);
    font-size: 1.2em;
}

.scroll {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.65rem;
}

.scroll-line {
    display: block;
    width: 80px;
    height: 1px;
    background: var(--black);
}


/* TICKER */

.ticker {
    overflow: hidden;
    background: var(--red);
    color: var(--cream);
    border-top: 1px solid var(--black);
    border-bottom: 1px solid var(--black);
}

.ticker-track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
    font-family: var(--display);
    font-size: 1.5rem;
    animation: ticker 20s linear infinite;
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* SHARED */

.section-number {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
}


/* CONSTRUCTION */

.construction {
    min-height: 100vh;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 4fr;
    grid-template-rows: auto 1fr auto;
    border-bottom: 1px solid var(--black);
}

.construction-content {
    grid-column: 2;
    align-self: center;
}

.eyebrow {
    margin-bottom: 2rem;
    font-size: 0.7rem;
}

.construction h2 {
    font-family: var(--display);
    font-size: clamp(4rem, 10vw, 10rem);
    line-height: 0.85;
    letter-spacing: -0.05em;
}

.construction h2 span,
.construction h2 em {
    display: block;
}

.construction h2 span {
    color: var(--red);
}

.construction h2 em {
    font-family: var(--serif);
    font-weight: 400;
}

.construction-note {
    grid-column: 2;
    max-width: 550px;
    display: flex;
    gap: 1rem;
    line-height: 1.6;
    font-size: 0.85rem;
}

.status-dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    margin-top: 0.4rem;
    border-radius: 50%;
    background: var(--red);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    50% {
        opacity: 0.25;
    }
}


/* ABOUT */

.about {
    padding: 2rem;
    min-height: 90vh;
    border-bottom: 1px solid var(--black);
}

.about-grid {
    min-height: 75vh;
    margin-top: 5rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about h2 {
    font-family: var(--display);
    font-size: clamp(4rem, 9vw, 9rem);
    line-height: 0.85;
    letter-spacing: -0.05em;
}

.about h2 span {
    display: block;
    color: var(--red);
    font-family: var(--serif);
    font-weight: 400;
}

.about-copy {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    line-height: 1.7;
    font-size: 0.9rem;
}

.arrow-link {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--black);
}

.arrow-link span {
    transition: transform 0.2s ease;
}

.arrow-link:hover span {
    transform: translate(5px, -5px);
}


/* CONTACT */

.contact {
    min-height: 100vh;
    padding: 2rem;
    background: var(--black);
    color: var(--cream);
    display: flex;
    flex-direction: column;
}

.contact-small {
    margin-top: 5rem;
    line-height: 1.5;
    font-size: 0.7rem;
}

.contact-title {
    margin: auto 0;
    font-family: var(--display);
    font-size: clamp(5rem, 16vw, 17rem);
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -0.07em;
}

.contact-title span {
    color: var(--red);
}

.contact-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: end;
    font-size: 0.65rem;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.back-top {
    justify-self: end;
    border: 0;
    background: none;
    font-family: var(--mono);
    font-size: 0.65rem;
    cursor: pointer;
}


/* REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* RESPONSIVE */

@media (max-width: 768px) {

    .cursor {
        display: none;
    }

    .header {
        grid-template-columns: 1fr 1fr;
        padding: 0 1rem;
    }

    .header-label {
        display: none;
    }

    .hero {
        padding: 1rem;
    }

    .hero-title {
        font-size: clamp(5rem, 23vw, 9rem);
    }

    .hero-bottom {
        gap: 2rem;
    }

    .scroll {
        display: none;
    }

    .construction {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        gap: 5rem;
    }

    .construction-content {
        margin: auto 0;
    }

    .construction h2 {
        font-size: clamp(4rem, 18vw, 7rem);
    }

    .about {
        padding: 1rem;
    }

    .about-grid {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4rem;
    }

    .about h2 {
        font-size: clamp(4rem, 17vw, 7rem);
    }

    .contact {
        padding: 1rem;
    }

    .contact-title {
        font-size: clamp(5rem, 22vw, 10rem);
    }

    .contact-bottom {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .socials {
        justify-content: flex-end;
    }

    .back-top {
        display: none;
    }
}