/* IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Archivo:ital,wght@0,100..900;1,100..900&family=Unbounded:wght@200..900&display=swap');


/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

p, h1, h2, h3, h4, span {
    cursor: default;
}


/* VARIABLES */
:root {
    /* colors */
    --primary: #090909;
    --secondary: #FFCB28;
    --white: #F6EFE4;

    /* fonts */
    --numbers: Anton;
    --texts: Archivo;
    --hero: Unbounded;

    /* weights */
    --semiBold: 600;
    --black: 900;
}


/* HTML */
html {
  font-size: 62.5%;
  background-color: var(--primary);
}


/* LOADER */
.loader {
    position: fixed;
    inset: 0;
    z-index: 999;
    overflow: hidden;
}

.loader .screen {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(2rem, 6vw, 6rem);
    font-weight: 900;
    text-transform: uppercase;
}

.loader .screen:nth-child(1) {
    background-color: var(--secondary);
    z-index: 999;
}

.loader .screen:nth-child(2) {
    background-color: var(--primary);
    z-index: 998;
}

.loader .screen:nth-child(3) {
    background-color: var(--secondary);
    z-index: 997;
}

.loader .screen img,
.loader .screen svg {
    display: block;
    width: 30rem;
    height: auto;
    opacity: 0;
    transform: scale(1.15);
}


/* NAVIGATION */
nav {
    padding: 2.4rem 2.4rem 0 2.4rem;
}

ul {
    display: flex;
    font-size: 2.8rem;
    align-items: center;
    justify-content: end;
    list-style: none;
    gap: 6.4rem;
    text-transform: uppercase;
}

li:first-child {
    position: absolute;
    left: 2.4rem;
}

li:last-child a {
    display: flex;
    align-items: center;
    background-color: var(--secondary);
    padding: 2rem 3.2rem;
    color: var(--primary);
}

nav li {
    visibility: hidden;
    cursor: pointer;
}

nav li a {
    text-decoration: none;
    color: var(--white);
    font-family: var(--texts);
    font-weight: var(--semiBold);
}

nav li span {
    cursor: pointer;
}

nav li svg:first-child {
    width: 12rem;
    height: auto;
}

.tickets {
    background-color: var(--secondary);
    color: var(--primary);
    transition: transform 0.2s ease;
    animation: buttonPulse 2.5s infinite;
}

@keyframes buttonPulse {
    0%, 65%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }

    72% {
        transform: scale(1.07);
        filter: brightness(1.2);
    }

    79% {
        transform: scale(1);
        filter: brightness(1);
    }

    86% {
        transform: scale(1.04);
        filter: brightness(1.1);
    }

    93% {
        transform: scale(1);
        filter: brightness(1);
    }
}

.tickets:hover {
    animation-play-state: paused;
    transform: scale(1.04);
}

.tickets svg {
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.tickets:hover svg {
    transform: translate(4px, -4px) rotate(5deg);
}

nav .nav-text {
    display: inline-block;
    position: relative;
    overflow: hidden;
    vertical-align: middle;
    line-height: 1.15;
}

nav .nav-text-original,
nav .nav-text-hover {
    display: block;
    white-space: nowrap;
}

nav .nav-text-hover {
    position: absolute;
    top: 100%;
    left: 0;
}

/* HAMBURGER MENU */
.mobile-logo {
    visibility: hidden;
}

.mobile-logo svg {
    display: none;
    height: 5.6rem;
    width: auto;
    z-index: 999;
}

.menu-toggle,
.mobile-menu {
    display: none;
}


/* HERO SECTION */
.hero {
    height: 100vh;
    align-content: center;
}

.hero h1 {
    position: absolute;
    top: 55%;
    left: 50%;
    display: flex;
    flex-direction: column;
    font-family: var(--hero);
    font-weight: var(--black);
    font-size: 18vw;
    line-height: .8;
    letter-spacing: -3%;
    color: var(--white);
    text-align: center;
    text-transform: uppercase;
    transform: translate(-50%, -50%);
}

.hero h1 span {
    color: var(--secondary);
}

.hero .reveal-text.first-text {
    color: var(--white);
}

.hero .reveal {
    position: relative;
    display: block;
    width: 100%;
    padding: 0 .05em;
}

.hero .reveal.first-reveal {
    padding-top: .25em;
}

.hero .reveal-text {
    display: block;
    visibility: hidden;
}

.hero .reveal-block {
    position: absolute;
    inset: 0;
    background-color: var(--secondary);
    z-index: 2;
    transform: scaleX(0);
    transform-origin: left;
}

.hero .reveal-block.first-block {
    background-color: var(--white);
}


/* SAVE THE DATE SECTION */
.std {
    background-color: var(--secondary);
    padding: 0 2.5vw 12rem 2.5vw;
    text-align: center;
}

.std h2 {
    font-family: var(--numbers);
    color: var(--primary);
    display: flex;
    flex-direction: row;
    text-transform: uppercase;
}

.std .reveal {
    position: relative;
    display: block;
    width: fit-content;
    margin-inline: auto;
    overflow: hidden;
    z-index: 200;
}

.std .reveal-text {
    display: block;
    font-size: 16vw;
    z-index: 200;
}

.std .reveal-block {
    position: absolute;
    inset: 0;
    background-color: var(--secondary);
    z-index: 201;
    transform: translateY(0);
}

.fill-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary);
}

.std h3.fill-text {
    position: relative;
    width: fit-content;
    font-family: var(--numbers);
    font-size: 35vw;
    text-align: center;
    text-transform: uppercase;
    padding: 0.1em 0.05em;
    overflow: visible;
}

.text-mask {
    display: block;
    position: relative;
    clip-path: inset(100% 0 0 0);
    -webkit-clip-path: inset(100% 0 0 0);
}

.text-base {
    display: block;
    color: var(--primary);
    opacity: 0.2;
}

.text-overlay {
    position: absolute;
    inset: 0;
    color: var(--primary);
    clip-path: inset(100% 0 0 0);
    -webkit-clip-path: inset(100% 0 0 0);
}

.fill-section .text-reveal {
    position: absolute;
    inset: 0;
    background-color: var(--secondary);
    pointer-events: none;
    z-index: 2;
    transform: translateY(0);
}


/* MARQUEE */
.marquee {
    display: flex;
    overflow: hidden;
    gap: 4.8rem;
    padding: 4.5vw 0;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    gap: 4.8rem;
    animation: marquee 10s linear infinite;
}

.marquee-content .text {
    font-family: var(--texts);
    font-weight: var(--black);
    color: var(--secondary);
    font-size: 13.5vw;
    text-transform: uppercase;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% - 4.8rem))
    }
}

.asterisk {
    width: 5vw;
    height: 5vw;
    background-color: var(--secondary);
    border-radius: 100%;
}


/* SCHEDULE */
.schedule {
    background-color: var(--secondary);
    padding: 12.8rem 6.4rem;
}

.schedule-title {
    display: flex;
    align-items: center;
    gap: 5.2rem;
}

.schedule-title h4 {
    position: relative;
    overflow: hidden;
    padding: 1.2rem 2.4rem;
    width: fit-content;
    font-family: var(--texts);
    font-weight: var(--black);
    font-size: 3.6rem;
    color: var(--white);
    text-transform: uppercase;
}

.schedule-title .title-bg {
    position: absolute;
    inset: 0;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left center;
    z-index: 0;
}

.schedule-title .title-text {
    position: relative;
    display: block;
    z-index: 1;
    overflow: hidden;
}

.schedule-title .letter {
    position: relative;
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.schedule-title .letter-text {
    display: block;
    visibility: hidden;
}

.schedule-title .letter-reveal {
    position: absolute;
    inset: 0;
    background-color: var(--primary);
    z-index: 2;
    transform: translateY(0);
    visibility: hidden;
    pointer-events: none;
}

.schedule-title .title-line {
    flex: 1;
    height: 4px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left center;
}

.schedule-wrapper .time {
    font-family: var(--numbers);
    line-height: 0.87;
    padding: 6.4rem 0 12.8rem;
    text-align: center;
}

.schedule-wrapper .time {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--numbers);
    font-size: 42.5vw;
    line-height: 0.87;
    padding: 6.4rem 0 12.8rem;
    text-align: center;
}

.time-digit {
    position: relative;
    display: inline-block;
    height: 1em;
    overflow: hidden;
}

.time-digit-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    will-change: transform;
}

.time-digit-number {
    display: block;
    height: 1em;
    line-height: 1;
}

.time-separator {
    display: inline-block;
    line-height: 1;
}


/* LINKS SECTION */
.links a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 4.7vw 1.9vw;
    font-family: var(--texts);
    font-weight: var(--black);
    font-size: 16vw;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: -4%;
}

.links a span {
    cursor: none;
}

.links a:last-child {
    font-size: 13vw;
}

.links a:first-child,
.links a:last-child {
    background-color: var(--primary);
    color: var(--white);
}

.links a:first-child svg,
.links a:last-child svg {
    width: 10vw;
    height: auto;
    transform: rotate(0);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.links a:first-child:hover svg {
    transform: rotate(-45deg);
}

.links a:nth-child(2) {
    background-color: var(--secondary);
    color: var(--primary);
}

.links a:nth-child(2) svg {
    width: 14.5vw;
    height: auto;
}

.links a svg path {
    fill: currentColor;
}

.links .link-text {
    display: inline-block;
    position: relative;
    overflow: hidden;
    line-height: 1.1;
    padding-inline: 0.03em;
}

.links .link-letter {
    display: inline-block;
    position: relative;
    overflow: hidden;
    vertical-align: bottom;
    padding-inline: 0.03em;
    margin-inline: -0.03em;
}

.links .link-letter-text {
    display: block;
}

.links .link-letter-reveal {
    position: absolute;
    inset: 0;
    z-index: 2;
    transform: translateY(0);
    pointer-events: none;
}

.links a:first-child .link-letter-reveal,
.links a:last-child .link-letter-reveal {
    background-color: var(--primary);
}

.links a:nth-child(2) .link-letter-reveal {
    background-color: var(--secondary);
}

.links a svg {
    flex-shrink: 0;
    clip-path: inset(0% 0% 100% 0%);
}

.cursor-circle {
    position: fixed;
    top: 0;
    left: 0;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--texts);
    font-size: 1.4rem;
    font-weight: 900;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 0 0 0 rgba(246, 239, 228, 0.4);
    will-change: transform;
    isolation: isolate;
}

.cursor-ring {
    position: absolute;
    inset: 0;
    border: 2px solid currentColor;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}

.cursor-text {
    position: relative;
    z-index: 1;
    text-align: center;
}

.links a.custom-cursor {
    cursor: none;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border: none;
    background-color: var(--secondary);
    color: var(--primary);
    font-family: var(--texts);
    font-weight: var(--semiBold);
    text-transform: uppercase;
    cursor: pointer;
    visibility: hidden;
    will-change: transform, opacity;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

@media only screen and (max-width: 1300px) {
    
    ul {
        display: flex;
        font-size: 2rem;
    }

    .tickets svg {
        width: 3rem;
        height: auto;
    }

    nav li svg:first-child {
        width: 12rem;
        height: auto;
    }

    .schedule-wrapper .time {
        font-size: 38vw;
    }
}

@media only screen and (max-width: 990px) {
    
    /* NAVIGATION*/
    nav ul {
        display: none;
    }

    .mobile-logo {
        display: block;
        position: relative;
        height: 6.4rem;
        width: fit-content;
        z-index: 991;
    }

    .mobile-logo svg {
        display: block;
        height: 6.4rem;
        width: auto;
    }

    .menu-toggle {
        position: absolute;
        top: 2.4rem;
        right: 2.4rem;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 991;
        width: 56px;
        height: 56px;
        padding: 0;
        background: transparent;
        border: none;
        visibility: hidden;
        cursor: pointer;
    }

    .menu-toggle svg {
        width: 100%;
        height: 100%;
    }

    .mobile-menu.is-open {
        pointer-events: auto;
    }

    .mobile-menu {
        position: fixed;
        display: flex;
        visibility: hidden;
        pointer-events: none;
        inset: 0;
        z-index: 990;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3.5rem;
        background: var(--primary);
        padding-inline: 2.4rem;

    }

    .mobile-menu a {
        display: block;
        font-family: var(--texts);
        font-size: 5rem;
        font-weight: var(--semiBold);
        text-transform: uppercase;
        text-decoration: none;
        color: var(--white);
    }

    .mobile-menu > a:not(.tickets-mobile) {
        font-family: var(--texts);
        font-size: clamp(2.4rem, 7vw, 5rem);
        font-weight: var(--semiBold);
        text-transform: uppercase;
        text-decoration: none;
        color: var(--white);
        text-align: center;
    }

    .mobile-menu .tickets-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.2rem;
        width: 100%;
        max-width: 42rem;
        min-height: 7.2rem;
        margin-top: 2rem;
        padding: 1.8rem 2.4rem;
        background-color: var(--secondary);
        color: var(--primary);
        font-family: var(--texts);
        font-size: clamp(2.4rem, 7vw, 4rem);
        font-weight: var(--semiBold);
        text-transform: uppercase;
        text-decoration: none;
        box-sizing: border-box;
    }

    .tickets-mobile svg {
        width: 3.6rem;
        height: auto;
        flex-shrink: 0;
    }

    .tickets-mobile svg path {
        fill: var(--primary);
    }


    /* HERO SECTION */
    .hero h1 {
        top: 50%;
        left: 50%;
    }


    /* SCHEDULE SECTION */
    .schedule-title h4 {
        font-size: 1.8rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
        font-size: 12px;
    }
}

@media only screen and (max-width: 720px) {

    .loader .screen img,
    .loader .screen svg {
        width: 40vw;
    }

    .mobile-logo svg {
        display: block;
        height: 3.2rem;
        width: auto;
        z-index: 1000;
    }

    .menu-toggle {
        width: 3.2rem;
        height: 3.2rem;
    }

    .menu-toggle svg {
        width: 3.2rem;
        height: 100%;
    }

    .mobile-menu a {
        font-size: 3.8rem;
    }

    .std {
        padding: 8rem 2.5vw 12rem 2.5vw;
    }

    .schedule {
        padding: 6.4rem 3.2rem 3.2rem 3.2rem;
    }

    .schedule-title {
        gap: 2.6rem;
    }

    .schedule-title h4 {
        font-size: 1rem;
    }

    .schedule-wrapper .time {
        font-size: 32vw;
        padding: 2.4rem 0 6.4rem;
    }
}

@media (hover: none) and (pointer: coarse) {
    .links a span {
        cursor: auto;
    }

    .custom-cursor {
        display: none;
    }

    .cursor-circle {
        display: none;
    }
}