/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

/* Utility Classes */

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a {
    font-family: "Roboto", sans-serif;
}

p,
span:not(.ml-2, .arrow) {
    color: #757578;
    line-height: 1.5;
}

.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Skip link - visible on focus for keyboard navigation */
.sr-only:focus {
    position: fixed;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    padding: 1rem 2rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background-color: #000;
    color: #fff;
    z-index: 9999;
    text-decoration: none;
    font-weight: bold;
}

.uppercase {
    text-transform: uppercase;
}

.flex {
    display: flex;
}

.gap-2 {
    gap: .5rem;
}

.gap-4 {
    gap: 1rem;
}

.bg-black {
    background-color: black;
}

.text-white {
    color: white;
}

.text-black {
    color: black;
}

.text-blue {
    color: #31699B;
}

.underline {
    text-decoration: underline;
}

.items-center {
    align-items: center;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.b-0 {
    bottom: 0;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.block {
    display: block;
}

.max-w-2700 {
    max-width: 2700px;
}

.max-w-1920 {
    max-width: 1920px;
}

.max-w-1616 {
    max-width: 1616px;
}

.max-w-800 {
    max-width: 800px;
}

.min-h-600 {
    min-height: 600px;
}

.h-75vh {
    height: 75vh;
}

.justify-center {
    justify-content: center;
}

.self-center {
    justify-self: center;
}

.font-semibold {
    font-weight: 600;
}

.font-extrabold {
    font-weight: 800;
}

.object-cover {
    object-fit: cover;
}

.object-contain {
    object-fit: contain;
}

.w-third {
    width: 33.33%;
}

.w-half {
    width: 50%;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: .25rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: .5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.my-16 {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.mr-2 {
    margin-right: .5rem;
}

.ml-2 {
    margin-left: .5rem;
}

.ml-4 {
    margin-left: 1rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.pr-4 {
    padding-right: 1rem;
}

.pl-4 {
    padding-left: 1rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.px-2 {
    padding-left: .5rem;
    padding-right: .5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-16 {
    padding-left: 4rem;
    padding-right: 4rem;
}

.pr-2 {
    padding-right: .5rem;
}

.p-2 {
    padding: .5rem;
}

.p-4 {
    padding: 1rem;
}

.w-fit {
    width: fit-content;
}

.text-sm {
    font-size: 0.875rem;
}

.text-md {
    font-size: 1rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.z-1 {
    z-index: 1;
}

.z-10 {
    z-index: 10;
}

.border-black {
    border: 1px solid black;
}

.opacity-0 {
    opacity: 0;
}

.opacity-1 {
    opacity: 1;
}

.br-2-white {
    border-right: 2px solid white;
}

.overflow-hidden {
    overflow: hidden;
}

.t-0 {
    top: 0;
}

.l-0 {
    left: 0;
}

.flex-wrap {
    flex-wrap: wrap;
}

/* Specific Styling  */

.animated-element {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
}

.animated-element.show {
    transform: scaleY(1);
    opacity: 1;
}

header {
    background: rgba(88, 88, 88, 0.25);
    border-bottom: 1px solid #ffffff80;
}

header:after {
    content: "";
    background: rgba(88, 88, 88, 0.25);
    border-bottom: 1px solid #ffffff80;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    width: 100%;
    position: absolute;
    height: 52px;
    top: 0;
    left: 0;
    z-index: -1;
}

header ul li img {
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
}

header ul li {
    height: 20px;
}

.hero-title {
    font-size: clamp(3.5rem, 12vw, 15rem);
    line-height: 0.65;
}

.drop-logo {
    width: 160px;
}

.divider {
    width: 200px;
    height: 2px;
}

#current-collaborations img {
    aspect-ratio: 4 / 3;
}

#past-collaborations img {
    aspect-ratio: 3 / 4;
}

.hero-image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(177, 26, 26, 0.00) 59.34%, rgba(58, 9, 9, 0.75) 103.9%);
    z-index: 1;
}

/* Curtain wrapper */
.hero-curtain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Left curtain - with diagonal right edge */
.hero-curtain::before {
    transition: transform 0.5s ease-out;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 74%;
    height: 100%;
    background: white;
    transform-origin: left;
    clip-path: polygon(0 0, 85% 0, 52% 100%, 0 100%);
    transform: translateX(0px);
}

/* Right curtain - with diagonal left edge */
.hero-curtain::after {
    transition: transform 0.5s ease-out;
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 62%;
    height: 100%;
    background: white;
    transform-origin: right;
    clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
    transform: translateX(0px);
}

/* Open curtains when show class is added */
.hero-curtain.show::before {
    transform: translateX(-100%);
}

.hero-curtain.show::after {
    transform: translateX(100%);
}

li a.corsair {
    max-width: 23px;
}

li a.elgato {
    max-width: 17px;
}

li a.origin {
    max-width: 17px;
}

li a.scuf {
    max-width: 19px;
}

li a.fanatec {
    max-width: 20px;
    clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%);
}

a.border-black,
span.border-black,
.reveal-on-hover img,
a.text-blue span,
li a,
.carousel-track,
.hamburger-btn,
.animated-element,
.hamburger-line,
.brand-bar,
p.border-black {
    transition: all 0.3s ease-out;
}

li a.corsair:hover,
li a.corsair:focus-visible {
    max-width: 85px;
}

li a.elgato:hover,
li a.elgato:focus-visible {
    max-width: 70px;
}

li a.origin:hover,
li a.origin:focus-visible {
    max-width: 70px;
}

li a.scuf:hover,
li a.scuf:focus-visible {
    max-width: 60px;
}

li a.fanatec:hover,
li a.fanatec:focus-visible {
    max-width: 135px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.reveal-on-hover:focus-visible {
    outline: 2px solid #000;
    outline-offset: 4px;
}

a.border-black:hover,
a.border-black:focus-visible,
#current-collaborations a:hover .border-black,
#current-collaborations a:focus-visible .border-black {
    color: black;
    background-color: white;
    border: 1px solid black;
}

a.text-blue:hover span,
a.text-blue:focus-visible span {
    margin-left: 1rem;
}

/* Carousel Styles */
.carousel-item {
    flex: 0 0 calc(33.333% - 0.667rem);
    min-width: calc(33.333% - 0.667rem);
}

.carousel-btn {
    position: absolute;
    top: calc(33.333% * 7 / 2 / 3);
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 2rem;
    align-items: center;
    z-index: 10;
    background: #ffffffcc;
    border: 2px solid black;
    backdrop-filter: blur(2px);
    line-height: 1.5;
}

.carousel-btn:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-btn-prev {
    left: -1.5rem;
}

.carousel-btn-next {
    right: -1.5rem;
}

/* Hamburger Menu */
.hamburger-btn {
    display: none;
    position: absolute;
    top: .4rem;
    left: .4rem;
    z-index: 100;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    flex-direction: column;
    gap: 5.5px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.hamburger-btn:focus-visible {
    outline-offset: 2px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: white;
}

.hamburger-btn.open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 1650px) {
    .carousel-btn-prev {
        left: -1rem;
    }

    .carousel-btn-next {
        right: -1rem;
    }
}

@media (max-width: 1024px) {
    .carousel-item {
        flex: 0 0 calc(50% - 0.5rem);
        min-width: calc(50% - 0.5rem);
    }

    .carousel-btn {
        top: calc(50% * 4.5 / 2 / 3);
    }
}

@media (max-width: 767px) {
    .hamburger-btn {
        display: flex;
    }

    .brand-bar {
        position: fixed;
        top: 53px;
        height: calc(100vh - 53px);
        left: -100%;
        width: 250px;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        overflow-y: auto;
        z-index: 1001;
        isolation: isolate;
        background: rgba(88, 88, 88, 0.25);
        border-right: 1px solid #ffffff80;
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
    }

    .brand-bar li a {
        max-width: unset;
    }

    li a.fanatec {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .brand-bar.open {
        left: 0;
    }

    .brand-bar li {
        width: 100%;
        padding: 1rem 0 !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .brand-bar li:last-child {
        border-bottom: none;
    }

    #current-collaborations {
        flex-direction: column;
    }

    #current-collaborations .w-half {
        width: 100%;
    }

    #hero .brands-container {
        font-size: 1rem;
    }

    #current-collaborations .brands-container {
        font-size: .875rem;
    }

    .brands-logo-container {
        gap: 0;
    }

    a.bg-black {
        font-size: 1rem;
    }

    .mobile-mb-4 {
        margin-bottom: 1rem;
    }

    header.p-4 {
        padding: 1.6rem;
    }

    section.max-w-1920.mx-auto.my-16.p-4 {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 640px) {
    .carousel-item {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .carousel-btn {
        top: calc(100% * 2 / 2 / 3);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Show all content if JavaScript is disabled */
.no-js .animated-element {
    transform: scaleY(1) !important;
    opacity: 1 !important;
}

.no-js .hero-curtain {
    display: none !important;
}

.no-js .carousel-track {
    flex-wrap: wrap !important;
}

.no-js .carousel-btn {
    display: none !important;
}