:root {
    --black: #0d0d0d;
    --dark: #111111;
    --white: #f3f1ec;
    --muted: #8a8a8a;
    --line-dark: rgba(255, 255, 255, 0.16);
    --line-light: rgba(0, 0, 0, 0.14);
    --header-height: 84px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--black);
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
}

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

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

.section {
    position: relative;
    padding: 120px 5vw;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 70px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-label span:first-child {
    opacity: 0.4;
}

.section-label.light {
    color: var(--white);
}

.section-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(58px, 9vw, 150px);
    font-weight: 600;
    line-height: 0.83;
    letter-spacing: -0.07em;
}

.section-title span {
    color: transparent;
    -webkit-text-stroke: 1px currentColor;
}

.section-note {
    max-width: 300px;
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.55;
}

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

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


/* HEADER */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;

    width: 100%;
    height: var(--header-height);

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

    padding: 0 5vw;

    color: #fff;
    mix-blend-mode: difference;
}

.site-logo {
    font-family: "Space Grotesk", sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.site-nav a,
.header-book {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-nav a {
    transition: opacity 0.3s ease;
}

.site-nav a:hover {
    opacity: 0.5;
}

.header-book {
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
}


/* HERO */

.hero {
    min-height: 100svh;
    padding: 0 5vw;

    display: flex;
    align-items: flex-end;

    color: #fff;
    background: #111;
}

.hero-background {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.18) 0%,
            rgba(0, 0, 0, 0.28) 35%,
            rgba(0, 0, 0, 0.78) 100%
        ),
        url("../assets/images/kwm_1.jpg");

    background-size: cover;
    background-position: center center;

    transform: scale(1.02);

    z-index: 0;

    filter: saturate(0.85);
}

.hero-background::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            transparent 20%,
            rgba(0, 0, 0, 0.35) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 1;

    width: 100%;
    padding-bottom: 7vh;
}

.hero-eyebrow {
    margin-bottom: 30px;
    margin-top: 10px;

    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-title {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(75px, 15vw, 230px);
    font-weight: 600;

    line-height: 0.78;
    letter-spacing: -0.09em;
}

.hero-title span {
    color: transparent;
    -webkit-text-stroke: 1px #fff;
}

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

    margin-top: 70px;
}

.hero-bottom p {
    max-width: 330px;

    font-size: 13px;
    line-height: 1.6;

    opacity: 0.7;
}

.hero-link {
    display: flex;
    align-items: center;
    gap: 15px;

    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-link span {
    font-size: 18px;
}

.scroll-indicator {
    position: absolute;
    right: 5vw;
    bottom: 7vh;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 15px;

    font-size: 9px;
    letter-spacing: 0.15em;
    writing-mode: vertical-rl;

    opacity: 0.5;
}

.scroll-line {
    width: 1px;
    height: 45px;
    background: currentColor;
}


/* ABOUT */

.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr;
    gap: 8vw;
    align-items: end;
}

.about-text {
    max-width: 360px;
}

.about-text p {
    margin-bottom: 25px;

    font-size: 15px;
    line-height: 1.7;
}

.about-text p:last-child {
    margin-bottom: 0;
}


/* MUSIC */

.music {
    background: var(--dark);
    color: var(--white);
}

.music-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.music-player {
    margin-top: 80px;
}

.player-eyebrow {
    margin-bottom: 18px;

    font-size: 10px;
    letter-spacing: 0.2em;
    opacity: 0.5;
}

.player-hint {
    margin-top: 22px;

    font-size: 11px;
    letter-spacing: 0.06em;
    opacity: 0.4;
}

.youtube-fallback {
    position: absolute;
    inset: 0;

    z-index: 3;

    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 22px;

    background: #111;

    text-align: center;
}

.youtube-fallback.visible {
    display: flex;
}

.youtube-fallback span {
    font-size: 10px;
    letter-spacing: 0.16em;
    opacity: 0.45;
}

.youtube-fallback a {
    padding-bottom: 5px;

    border-bottom: 1px solid currentColor;

    font-size: 11px;
    letter-spacing: 0.1em;
}

.music-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin: 40px 0 20px;

    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.music-caption span {
    opacity: 0.45;
}

.music-caption p {
    opacity: 0.4;
}

.track-list {
    border-top: 1px solid var(--line-dark);
}

.track {
    display: grid;
    grid-template-columns: 70px 1fr auto 100px;
    align-items: center;

    gap: 30px;

    width: 100%;
    padding: 30px 0;

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

    transition:
        opacity 0.3s ease,
        padding-left 0.3s ease;
}

.track:hover {
    opacity: 0.65;
    padding-left: 10px;
}

.track-number {
    font-size: 11px;
    opacity: 0.4;
    letter-spacing: 0.1em;
}

.track-info h3 {
    font-size: clamp(17px, 2vw, 27px);
    font-weight: 500;
    letter-spacing: -0.035em;
}

.track-info p {
    margin-top: 8px;

    font-size: 10px;
    line-height: 1.5;

    opacity: 0.4;
    letter-spacing: 0.04em;
}

.track-volume {
    font-size: 10px;
    letter-spacing: 0.14em;
    opacity: 0.4;
}

.track-action {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-align: right;
    opacity: 0.5;
}


/* EVENTS */

.events {
    background: var(--white);
}

.events-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.event-list {
    margin-top: 90px;

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

.event {
    display: grid;
    grid-template-columns: 100px 1fr 40px;
    align-items: center;

    gap: 30px;

    padding: 30px 0;

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

    transition:
        opacity 0.3s ease,
        padding-left 0.3s ease;
}

.event:hover {
    opacity: 0.55;
    padding-left: 10px;
}

.event-date {
    font-size: 11px;
    opacity: 0.4;
}

.event-name h3 {
    font-size: clamp(21px, 3vw, 42px);
    font-weight: 500;
    letter-spacing: -0.04em;
}

.event-name p {
    margin-top: 7px;

    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    opacity: 0.45;
}

.event-arrow {
    font-size: 20px;
    text-align: right;
}


/* GALLERY */

.gallery {
    background: var(--dark);
    color: var(--white);
}

.gallery-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 110px;
}

.gallery-event {
    scroll-margin-top: 100px;
}

.gallery-event + .gallery-event {
    margin-top: 150px;
}

.gallery-event-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 40px;

    padding-bottom: 20px;

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

.gallery-event-header > div {
    display: flex;
    align-items: baseline;
    gap: 25px;
}

.gallery-event-number {
    font-size: 10px;
    opacity: 0.4;
}

.gallery-event-header h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(28px, 4vw, 55px);
    font-weight: 500;

    letter-spacing: -0.05em;
}

.gallery-event-header > span {
    font-size: 9px;
    letter-spacing: 0.12em;
    opacity: 0.4;
}


/* MEDIA GRID */

.media-grid {
    display: grid;

    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 110px;

    gap: 12px;
}

.media-item {
    position: relative;

    overflow: hidden;

    background: #181818;

    min-height: 100%;
}

.media-item img,
.media-item video {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s cubic-bezier(0.2, 0.65, 0.25, 1),
        filter 0.6s ease;
}

.media-item:hover img,
.media-item:hover video {
    transform: scale(1.04);
}

.media-large {
    grid-column: 1 / 8;
    grid-row: span 4;
}

.media-tall {
    grid-column: 8 / 13;
    grid-row: span 4;
}

.media-wide {
    grid-column: 5 / 13;
    grid-row: span 3;
}

.media-photo-04 {
    grid-column: 1 / 7;
    grid-row: span 3;
}

.media-photo-05 {
    grid-column: 7 / 13;
    grid-row: span 3;
}

.media-full {
    grid-column: 1 / 13;
    grid-row: span 5;
}

.media-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-end;

    padding: 25px;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.65),
            transparent 50%
        );

    opacity: 0;

    transition: opacity 0.4s ease;
}

.media-item:hover .media-overlay {
    opacity: 1;
}

.media-overlay span,
.video-label {
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.video-label {
    position: absolute;
    top: 20px;
    right: 20px;

    opacity: 0.7;
}

.single-media-grid {
    grid-auto-rows: 100px;
}


/* BOOKING */

.booking {
    background: var(--white);
}

.booking-content {
    max-width: 1100px;
}

.booking-content .section-note {
    margin-top: 60px;
}

.contact-email {
    display: inline-block;

    margin-top: 45px;

    padding-bottom: 10px;

    border-bottom: 1px solid currentColor;

    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(20px, 3vw, 38px);

    letter-spacing: -0.04em;
}


/* FOOTER */

.site-footer {
    padding: 70px 5vw 35px;

    background: var(--dark);
    color: var(--white);
}

.footer-top,
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(30px, 5vw, 70px);
    font-weight: 700;

    letter-spacing: -0.07em;
}

.footer-role {
    font-size: 10px;
    letter-spacing: 0.15em;
    opacity: 0.4;
}

.footer-bottom {
    margin-top: 90px;

    padding-top: 20px;

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

    font-size: 9px;
    letter-spacing: 0.1em;

    opacity: 0.45;
}

.footer-social {
    display: flex;
    gap: 25px;
}

.footer-social a:hover {
    opacity: 0.6;
}


/* MOBILE */

@media (max-width: 768px) {

    :root {
        --header-height: 70px;
    }

    .section {
        padding: 85px 6vw;
    }

    .section-label {
        margin-bottom: 45px;
    }

    .site-header {
        padding: 0 6vw;
    }

    .site-nav {
        display: none;
    }

    .header-book {
        font-size: 9px;
    }

    .hero {
        min-height: 100svh;
        padding: 0 6vw;
    }

    .hero-title {
        font-size: clamp(70px, 20vw, 130px);
    }

    .hero-bottom {
        align-items: flex-start;
        gap: 30px;
        margin-top: 50px;
    }

    .hero-bottom p {
        max-width: 240px;
        font-size: 11px;
    }

    .scroll-indicator {
        display: none;
    }

    .about-content,
    .music-header,
    .events-header,
    .gallery-header {
        display: block;
    }

    .about-text {
        margin-top: 50px;
    }

    .music-header .section-note,
    .events-header .section-note,
    .gallery-header .section-note {
        margin-top: 40px;
    }

    .music-player {
        margin-top: 55px;
    }

    .youtube-player {
        aspect-ratio: 16 / 10;
    }

    .youtube-placeholder strong {
        font-size: 55px;
    }

    .music-caption {
        display: block;
        margin: 30px 0 15px;
    }

    .music-caption p {
        margin-top: 8px;
    }

    .track {
        grid-template-columns: 35px 1fr auto;
        gap: 15px;
        padding: 22px 0;
    }

    .track-volume {
        display: none;
    }

    .track-action {
        font-size: 8px;
    }

    .track-info h3 {
        font-size: 16px;
    }

    .track-info p {
        font-size: 8px;
    }

    .event-list {
        margin-top: 60px;
    }

    .event {
        grid-template-columns: 45px 1fr 25px;
        gap: 15px;
        padding: 24px 0;
    }

    .event-name h3 {
        font-size: 19px;
        line-height: 1.1;
    }

    .event-name p {
        font-size: 8px;
    }

    .gallery-header {
        margin-bottom: 70px;
    }

    .gallery-event + .gallery-event {
        margin-top: 100px;
    }

    .gallery-event-header {
        display: block;
    }

    .gallery-event-header > div {
        gap: 15px;
    }

    .gallery-event-header h3 {
        font-size: 27px;
    }

    .gallery-event-header > span {
        display: block;
        margin-top: 15px;
    }

    .media-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
        gap: 8px;
    }

    .media-large,
    .media-tall,
    .media-wide,
    .media-photo-04,
    .media-photo-05,
    .media-full {
        grid-column: auto;
        grid-row: span 2;
    }

    .media-large {
        grid-column: 1 / 3;
    }

    .media-tall {
        grid-column: 1 / 3;
    }

    .media-wide {
        grid-column: 1 / 3;
    }

    .media-full {
        grid-column: 1 / 3;
        grid-row: span 3;
    }

    .footer-top,
    .footer-bottom {
        display: block;
    }

    .footer-role {
        margin-top: 15px;
    }

    .footer-bottom {
        margin-top: 60px;
    }

    .footer-social {
        margin-top: 20px;
    }
}


@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .media-item img,
    .media-item video {
        transition: none;
    }

}