/* =========================================
   VARIABLES
========================================= */

:root {

    --background: #f4f3ef;
    --text: #111111;
    --muted: #777777;
    --line: #d8d7d2;

    --max-width: 1400px;

}


/* =========================================
   RESET
========================================= */

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


html {
    scroll-behavior: smooth;
}


body {

    background: var(--background);

    color: var(--text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.4;

}


img {
    display: block;
    width: 100%;
}


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


a:hover {
    opacity: 0.5;
}



/* =========================================
   NAVIGATION
========================================= */

.navigation {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    padding: 1.5rem 2rem;

    display: flex;

    justify-content: space-between;
    align-items: center;

    z-index: 100;

    color: white;

    mix-blend-mode: difference;

}


.nav-logo {

    font-size: 0.8rem;

    font-weight: 600;

    letter-spacing: 0.12em;

}


.nav-toggle {

    display: none;

    flex-direction: column;

    justify-content: center;

    gap: 6px;

    width: 2rem;
    height: 2rem;

    padding: 0;

    background: none;
    border: none;

    cursor: pointer;

    color: inherit;

}


.nav-toggle-bar {

    display: block;

    width: 100%;
    height: 1px;

    background: currentColor;

    transition: transform 0.25s ease, opacity 0.25s ease;

}


.nav-links {

    display: flex;

    gap: 2rem;

}


.nav-links a {

    font-size: 0.75rem;

    letter-spacing: 0.12em;

}



/* =========================================
   HERO
========================================= */

.hero {

    position: relative;

    width: 100%;

    height: 100svh;

    min-height: 600px;

    overflow: hidden;

    background: #000;

    display: flex;

    align-items: center;
    justify-content: center;

}


.hero-image {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    filter:
        grayscale(100%)
        contrast(110%)
        brightness(75%);

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.15),
            rgba(0,0,0,0.05) 50%,
            rgba(0,0,0,0.45)
        );

}


.hero-title {

    position: relative;

    z-index: 1;

    width: 100%;

    padding: 0 2rem;

    text-align: center;

    color: white;

}


.hero-title h1 {

    /* shrink-to-fit so the negative margin below trims
       only the trailing letter-spacing, not the whole
       container width — this is what was pushing the
       title past the right edge on some screens */
    display: inline-block;

    max-width: 100%;

    /* lower minimum than before so the title can keep
       shrinking on very narrow screens instead of wrapping */
    font-size:
        clamp(
            2.25rem,
            13vw,
            12rem
        );

    font-weight: 500;

    line-height: 0.78;

    letter-spacing: -0.075em;

    /* trim the trailing letter-spacing so centering
       is consistent across browsers */
    margin-right: -0.075em;

    /* never wrap to a second line, regardless of screen size */
    white-space: nowrap;

    text-wrap: balance;

}


.hero-title p {

    margin-top: 1.5rem;

    font-size: 0.8rem;

    text-transform: uppercase;

    letter-spacing: 0.2em;

    opacity: 0.8;

}



/* =========================================
   INTRO
========================================= */

.intro {

    padding:
        12rem
        max(2rem, 8vw);

}


.intro-content {

    max-width: 1100px;

}


.intro-text {

    font-size:
        clamp(
            2.5rem,
            6vw,
            6rem
        );

    line-height: 0.98;

    letter-spacing: -0.055em;

}



/* =========================================
   GENERAL SECTION
========================================= */

.section {

    max-width: var(--max-width);

    margin: 0 auto;

    padding:
        8rem
        2rem;

}


.section-header {

    display: flex;

    align-items: baseline;

    gap: 1rem;

    margin-bottom: 4rem;

    border-bottom: 1px solid var(--line);

    padding-bottom: 1rem;

}


.section-number {

    color: var(--muted);

    font-size: 0.7rem;

}


.section-header h2 {

    font-size: 0.8rem;

    font-weight: 500;

    letter-spacing: 0.15em;

}



/* =========================================
   MUSIC
========================================= */

.music-grid {

    display: grid;

    grid-template-columns:
        1.4fr
        1fr;

    gap: 4rem;

}


.album-image {

    aspect-ratio: 1 / 1;

    overflow: hidden;

}


.album-image img {

    height: 100%;

    object-fit: cover;

}


.release-info {

    margin-top: 1.5rem;

}


.release-label {

    font-size: 0.65rem;

    color: var(--muted);

    letter-spacing: 0.15em;

}


.release-info h3 {

    margin-top: 0.5rem;

    font-size: 2rem;

    font-weight: 400;

    letter-spacing: -0.03em;

}


.release-info p {

    margin-top: 0.25rem;

    color: var(--muted);

}


.text-link {

    display: inline-block;

    margin-top: 1.5rem;

    padding-bottom: 0.25rem;

    border-bottom: 1px solid var(--text);

    font-size: 0.7rem;

    letter-spacing: 0.12em;

}


.spotify-container {

    display: flex;

    align-items: center;

}


.spotify-container iframe {

    width: 100%;

    height: 352px;

    border: none;

}



/* =========================================
   MEDIA
========================================= */

.media-grid {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 1rem;

}


.media-item {

    overflow: hidden;

}


.media-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.media-large {

    grid-row: span 2;

}


.video-wrapper {

    position: relative;

    aspect-ratio: 16 / 9;

}


.video-wrapper iframe {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: none;

}


.media-downloads {

    display: flex;

    flex-wrap: wrap;

    gap: 2rem;

    margin-top: 3rem;

}


.media-downloads a {

    font-size: 0.7rem;

    letter-spacing: 0.12em;

    border-bottom: 1px solid var(--text);

    padding-bottom: 0.3rem;

}



/* =========================================
   ABOUT
========================================= */

.about-grid {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 8rem;

}


.about-heading p {

    font-size:
        clamp(
            2rem,
            4vw,
            4rem
        );

    line-height: 1;

    letter-spacing: -0.045em;

}


.about-text {

    max-width: 600px;

}


.about-text p {

    margin-bottom: 2rem;

    font-size: 1.05rem;

    line-height: 1.6;

}



/* =========================================
   PRESS
========================================= */

.press {

    margin-top: 10rem;

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 5rem;

}


.press-quote p {

    font-size:
        clamp(
            1.5rem,
            2.5vw,
            2.5rem
        );

    line-height: 1.1;

    letter-spacing: -0.035em;

}


.press-quote span {

    display: block;

    margin-top: 1.5rem;

    color: var(--muted);

    font-size: 0.65rem;

    letter-spacing: 0.12em;

}



/* =========================================
   CONTACT
========================================= */

.contact {

    padding-bottom: 12rem;

}


.contact-content {

    max-width: 1000px;

}


.contact-heading {

    font-size:
        clamp(
            2rem,
            5vw,
            5rem
        );

    line-height: 1;

    letter-spacing: -0.05em;

}


.contact-email {

    display: inline-block;

    margin-top: 3rem;

    font-size:
        clamp(
            1.5rem,
            3vw,
            3rem
        );

    letter-spacing: -0.03em;

    border-bottom: 1px solid var(--text);

}


.social-links {

    display: flex;

    flex-wrap: wrap;

    gap: 2rem;

    margin-top: 5rem;

}


.social-links a {

    font-size: 0.7rem;

    letter-spacing: 0.15em;

}



/* =========================================
   FOOTER
========================================= */

.footer {

    border-top: 1px solid var(--line);

    padding:
        1.5rem 2rem;

    display: flex;

    justify-content: space-between;

    font-size: 0.65rem;

    letter-spacing: 0.1em;

    color: var(--muted);

}



/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {


    /* Navigation */

    .navigation {

        padding: 1.25rem;

    }


    .nav-toggle {

        display: flex;

        z-index: 101;

    }


    /* When the menu is open, drop the difference blend and use
       solid colors instead — the trick only works well over the
       hero image, not over a full opaque panel */
    .navigation.nav-open {

        mix-blend-mode: normal;

        background: var(--text);

        color: var(--background);

    }


    .navigation.nav-open .nav-toggle-bar:first-child {

        transform: translateY(3.5px) rotate(45deg);

    }


    .navigation.nav-open .nav-toggle-bar:last-child {

        transform: translateY(-3.5px) rotate(-45deg);

    }


    .nav-links {

        position: fixed;

        inset: 0;

        z-index: 100;

        isolation: isolate;

        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 2rem;

        background: var(--text);

        color: var(--background);

        transform: translateY(-100%);

        opacity: 0;

        pointer-events: none;

        transition: transform 0.3s ease, opacity 0.25s ease;

    }


    .navigation.nav-open .nav-links {

        transform: translateY(0);

        opacity: 1;

        pointer-events: auto;

    }


    .nav-links a {

        font-size: 1.1rem;

        letter-spacing: 0.1em;

    }


    /* Hero */

    /* Intro */

    .intro {

        padding:
            7rem
            1.5rem;

    }


    /* Sections */

    .section {

        padding:
            5rem 1.5rem;

    }


    .section-header {

        margin-bottom: 3rem;

    }


    /* Music */

    .music-grid {

        grid-template-columns: 1fr;

        gap: 3rem;

    }


    /* Media */

    .media-grid {

        grid-template-columns: 1fr;

    }


    .media-large {

        grid-row: auto;

    }


    /* About */

    .about-grid {

        grid-template-columns: 1fr;

        gap: 4rem;

    }


    /* Press */

    .press {

        grid-template-columns: 1fr;

        gap: 4rem;

        margin-top: 6rem;

    }


    /* Contact */

    .contact {

        padding-bottom: 8rem;

    }
    /* Footer */

    .footer {

        flex-direction: column;

        gap: 0.5rem;

    }

}