/* =========================================
   THE PLATFORM
========================================= */


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

.platform-hero {
    min-height: 82vh;
    min-height: 82svh;
    padding: 150px 8% 90px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.46) 58%,
            rgba(0, 0, 0, 0.28) 100%
        );
}

.platform-hero-content {
    width: min(760px, 100%);
}

.platform-hero-content .eyebrow {
    margin-bottom: 16px;
}

.platform-hero h1 {
    max-width: 850px;

    font-size: clamp(4rem, 10vw, 9rem);
    line-height: 0.86;
    letter-spacing: -0.065em;
    text-transform: uppercase;
}

.platform-hero-text {
    max-width: 650px;
    margin-top: 28px;

    color: var(--gray);
    font-size: clamp(1rem, 1.7vw, 1.25rem);
    line-height: 1.6;
}

.platform-hero .button {
    margin-top: 42px;
}


/* =========================================
   PLATFORM INTRODUCTION
========================================= */

.platform-introduction {
    position: relative;
    padding: 110px 8%;

    color: var(--black);
    background: rgba(245, 245, 242, 0.96);
}

.platform-introduction-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 9%;
}

.platform-introduction .eyebrow {
    color: var(--gray-dark);
}

.platform-introduction h2 {
    font-size: clamp(2.4rem, 5vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.platform-introduction h2 span {
    display: block;
    color: var(--gray-dark);
}

.platform-introduction-copy {
    display: flex;
    flex-direction: column;
    gap: 22px;

    color: #343432;
    font-size: 1.08rem;
}


/* =========================================
   PLATFORM DEPARTMENTS
========================================= */

.platform-departments {
    padding: 110px 8%;

    background: rgba(19, 19, 19, 0.94);

    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.department-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.department-card {
    position: relative;
    min-height: 430px;
    padding: 38px;

    display: flex;
    flex-direction: column;

    background: rgba(10, 10, 10, 0.92);
    border: 1px solid var(--border);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.department-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: var(--accent);

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.25s ease;
}

.department-card:hover {
    transform: translateY(-6px);

    background: rgba(14, 14, 14, 0.98);
    border-color: rgba(216, 255, 62, 0.65);
}

.department-card:hover::before {
    transform: scaleX(1);
}


.department-kicker {
    margin-top: 58px;
    margin-bottom: 12px;

    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.department-card h3 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.department-card > p:not(.department-kicker){
    max-width: 580px;
    margin-top: 20px;

    color: var(--gray);
}

.department-card .text-link {
    margin-top: 34px;
    align-self: flex-start;
}


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

.site-nav a[aria-current="page"] {
    color: var(--white);
}

.site-nav a[aria-current="page"]:not(.nav-shop) {
    position: relative;
}

.site-nav a[aria-current="page"]:not(.nav-shop)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -10px;
    left: 0;

    height: 2px;

    background: var(--accent);
}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
    .department-card,
    .department-card::before {
        transition: none;
    }
}