@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --black: #0b0b0b;
    --white: #f5f4ef;
    --gray: #969696;
    --accent: #d8ff38;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--white);

    font-family: "Manrope", sans-serif;

    overflow-x: hidden;
}




a {
    color: inherit;
    text-decoration: none;
}

/* =========================================
   HEADER
========================================= */

header {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 20;

    padding: 28px 40px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    line-height: 0;
}

.logo img {
    width: 150px;
    height: auto;
    display: block;

    filter: brightness(0) invert(1);
}

.logo span {
    color: var(--accent);
}

.menu {
    display: flex;
    gap: 32px;

    font-size: 13px;
    font-weight: 600;

    text-transform: uppercase;

    transform: translateY(-50px);
}

.menu a {
    opacity: .7;

    transition: .2s;
}

.menu a:hover {
    opacity: 1;
}

.menu-button {
    display: none;
}



/* =========================================
   HERO
========================================= */

.hero {
    height: 100vh;
    min-height: 700px;

    position: relative;

    overflow: hidden;

    display: flex;
    align-items: flex-end;
}

.hero-video {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: .55;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background: linear-gradient(
        180deg,
        rgba(0,0,0,.35),
        rgba(0,0,0,.1) 45%,
        rgba(0,0,0,.9)
    );
        }

        


.hero-content {
    position: relative;

    z-index: 2;

    width: 100%;

    padding: 0 40px 60px;
}

.hero-small {
    font-size: 13px;

    text-transform: uppercase;

    color: var(--accent);

    font-weight: 700;

    margin-bottom: 22px;
}

.hero-title {
    font-size: clamp(80px, 13vw, 190px);

    font-weight: 800;

    line-height: .82;

    letter-spacing: -9px;

    text-transform: uppercase;
}

.hero-title div:nth-child(2) {
    margin-left: 9vw;
}

.hero-bottom {
    margin-top: 55px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    max-width: 1000px;
}

.hero-description {
    max-width: 430px;

    font-size: 17px;

    line-height: 1.6;

    color: rgba(255,255,255,.7);
}

.hero-scroll {
    color: var(--accent);

    font-size: 12px;

    text-transform: uppercase;

    font-weight: 700;
}

/* =========================================
   INTRO
========================================= */

.intro {
    padding: 180px 40px;
}

.intro-text {
    max-width: 1150px;

    font-size: clamp(42px, 6vw, 85px);

    line-height: 1.05;

    font-weight: 600;

    letter-spacing: -4px;
}

.intro-text span {
    color: var(--gray);
}

/* =========================================
   EVENTS
========================================= */

.events {
    padding: 0 40px 180px;
}

.section-label {
    display: flex;
    justify-content: space-between;

    margin-bottom: 50px;

    color: var(--gray);

    font-size: 12px;

    text-transform: uppercase;
}

/* большой event */

.event {
    position: relative;

    height: 75vh;
    min-height: 550px;

    overflow: hidden;

    margin-bottom: 80px;
}

.event-media {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 1s cubic-bezier(.2,.8,.2,1);
}

.event:hover .event-media {
    transform: scale(1.05);
}

.event::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            transparent 30%,
            rgba(0,0,0,.85)
        );
}

.event-info {
    position: absolute;

    z-index: 2;

    left: 45px;
    right: 45px;
    bottom: 40px;

    display: flex;
    justify-content: space-between;

    align-items: flex-end;
}

.event-number {
    color: var(--accent);

    font-size: 13px;

    margin-bottom: 15px;
}

.event-title {
    font-size: clamp(55px, 8vw, 120px);

    line-height: .9;

    font-weight: 800;

    letter-spacing: -6px;

    text-transform: uppercase;
}

.event-description {
    max-width: 330px;

    color: rgba(255,255,255,.7);

    font-size: 14px;

    line-height: 1.6;
}

/* =========================================
   MASONRY
========================================= */

.gallery {
    padding: 0 40px 180px;

    display: grid;

    grid-template-columns:
        1.1fr
        .8fr
        1fr;

    gap: 20px;

    align-items: start;
}

.gallery-item {
    position: relative;

    overflow: hidden;
}

.gallery-item:nth-child(2) {
    margin-top: 180px;
}

.gallery-item:nth-child(4) {
    margin-top: -80px;
}

.gallery-item img,
.gallery-item video {
    width: 100%;

    display: block;

    object-fit: cover;

    transition: transform .8s cubic-bezier(.2,.8,.2,1);
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.04);
}

.gallery-large img {
    height: 650px;
}

.gallery-medium img {
    height: 480px;
}

.gallery-small img {
    height: 350px;
}

.gallery-caption {
    padding: 18px 0;

    display: flex;
    justify-content: space-between;

    font-size: 12px;

    text-transform: uppercase;

    color: var(--gray);
}

.gallery-caption strong {
    color: var(--white);
}

/* =========================================
   VIDEO BLOCK
========================================= */

.video-section {
    position: relative;

    height: 100vh;
        min-height: 700px;

    overflow: hidden;

    margin-bottom: 180px;
}

.video-section video {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.video-section::after {
    content: "";

    position: absolute;

    inset: 0;

    background: rgba(0,0,0,.35);
}

.video-content {
    position: absolute;

    z-index: 2;

    inset: 0;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;
}

.video-content h2 {
    font-size: clamp(60px, 10vw, 150px);

    line-height: .85;

    letter-spacing: -7px;

    text-transform: uppercase;

    font-weight: 800;
}

.video-content p {
    margin-top: 35px;

    max-width: 400px;

    color: rgba(255,255,255,.7);

    font-size: 15px;
}

/* =========================================
   ABOUT
========================================= */

.about {
    padding: 0 40px 180px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;
}

.about-image {
    width: 75%;
    height: 700px;

    object-fit: cover;

    justify-self: center;
}

.about-title {
    font-size: clamp(55px, 7vw, 100px);

    line-height: .9;

    letter-spacing: -5px;

    font-weight: 800;

    text-transform: uppercase;

    margin-bottom: 45px;
}

.about-text {
    max-width: 500px;

    color: var(--gray);

    font-size: 18px;

    line-height: 1.8;
}

.about-link {
    display: inline-block;

    margin-top: 45px;

    padding-bottom: 10px;

    border-bottom: 1px solid var(--accent);

    color: var(--accent);

    font-size: 13px;

    text-transform: uppercase;

    font-weight: 700;
}

/* =========================================
   CONTACT
========================================= */

.contact {
    padding: 150px 40px;

    background: var(--accent);

    color: var(--black);
}

.contact-label {
    font-size: 13px;

    text-transform: uppercase;

    font-weight: 700;

    margin-bottom: 40px;
}

.contact-title {
    font-size: clamp(60px, 11vw, 160px);

    line-height: .8;

    letter-spacing: -8px;

    text-transform: uppercase;

    font-weight: 800;
}

.contact-bottom {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    margin-top: 80px;
}

.contact-email {
    font-size: 25px;

    font-weight: 700;
}

.contact-button {
    padding: 18px 30px;

    border-radius: 100px;

    background: var(--black);

    color: white;

    font-size: 13px;

    text-transform: uppercase;

    font-weight: 700;
}

/* =========================================
   FOOTER
========================================= */

footer {
    padding: 30px 40px;

    display: flex;

    justify-content: space-between;

    color: var(--gray);

    font-size: 12px;

    text-transform: uppercase;
}

/* =========================================
   QUIZ EVENTS
========================================= */

.quiz-event {
    position: relative;

    min-height: 720px;

    display: grid;

    grid-template-columns: 1fr .65fr;

    align-items: center;

    gap: 80px;

    padding: 80px;

    margin-bottom: 80px;

        /* чуть ярче и "воздушнее" */
    background:
        radial-gradient(1300px 650px at 20% 0%, rgba(216,255,56,.34), transparent 55%),
        radial-gradient(1050px 550px at 90% 10%, rgba(79,160,255,.20), transparent 55%),
        #141414;

    overflow: hidden;
}


.quiz-event.reverse {
    grid-template-columns: .65fr 1fr;
}

.quiz-event.reverse .quiz-event-info {
    order: 2;
}

.quiz-event.reverse .quiz-poster {
    order: 1;
}

.quiz-event-info {
    position: relative;

    z-index: 2;
}

.quiz-number {
    margin-bottom: 35px;

    color: var(--accent);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;
}

.quiz-event h2 {
    margin-bottom: 35px;

    font-size: clamp(60px, 7vw, 110px);

    line-height: .82;

    letter-spacing: -5px;

    font-weight: 800;

    text-shadow: 0 10px 28px rgba(0,0,0,.35);
}


.quiz-event p {
    max-width: 430px;

    margin-bottom: 35px;

    /* чуть ярче текст, чтобы секция не выглядела "уставшей" */
    color: rgba(255,255,255,.72);

    font-size: 15px;

    line-height: 1.7;
}


.quiz-event a {
    display: inline-block;

    padding-bottom: 10px;

    border-bottom: 2px solid var(--accent);

    color: var(--accent);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: .7px;

    transition: transform .15s ease, opacity .15s ease;
}

.quiz-event a:hover{
    transform: translateY(-1px);
    opacity: .95;
}

/* Mobile fixes */
.quiz-event a.js-order-toggle{
    max-width: 100%;
    white-space: nowrap;
}


.quiz-poster {
    position: relative;

    height: 600px;

    display: flex;

    justify-content: center;

    align-items: center;
}

.quiz-poster::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background: var(--accent);

    opacity: .08;

    filter: blur(70px);
}

.quiz-poster img {
    position: relative;

    z-index: 2;

    width: auto;

    height: 580px;

    max-width: 100%;

    object-fit: contain;

    box-shadow:
        0 30px 70px rgba(0,0,0,.5);

    transition:
        transform .7s cubic-bezier(.2,.8,.2,1);
}

.quiz-event:hover .quiz-poster img {
    transform: scale(1.025) rotate(1deg);
}

/* =========================================
   LIVE ATMOSPHERE
========================================= */

.live-section {
    padding: 140px 40px 160px;
    background: #000;
}

.live-header {
    max-width: 1200px;
    margin: 0 auto 90px;
}

.live-title {
    margin-top: 50px;

    font-size: clamp(70px, 10vw, 150px);
    line-height: .82;
    letter-spacing: -7px;
    font-weight: 800;
}

.live-subtitle {
    max-width: 500px;

    margin-top: 45px;

    color: #858585;

    font-size: 18px;
    line-height: 1.6;
}


/* GALLERY */

.live-gallery {
    max-width: 1300px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1.4fr .8fr;

    grid-template-rows: 520px 420px;

    gap: 20px;
}


/* PHOTO */

.live-photo {
    position: relative;

    overflow: hidden;

    background: #111;
}

.live-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .8s cubic-bezier(.2,.8,.2,1);
}

.live-photo:hover img {
    transform: scale(1.04);
}


/* LARGE */

.live-photo-large {
    grid-row: 1 / 3;
}


/* SMALL */

.live-photo-small {
    grid-column: 2;
}


/* WIDE */

.live-photo-wide {
    grid-column: 2;
}