:root {
    --header-height: 180px;
    --logo-height: 150px;
    --accent: #ffffff;
    --enter-bg: rgba(0, 0, 0, 0.55);
    --transition: 0.5s ease;
}

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

html,
body {
    height: 100%;
    overflow: hidden;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, #2b2b2b 0%, #555555 100%);
    color: #fff;
}

/* Intro splash */

.intro {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #2b2b2b 0%, #555555 100%);
    pointer-events: none;
    transition: opacity 1.4s ease, visibility 1.4s ease;
}

.intro-logo {
    height: 300px;
    max-height: 55vh;
    max-width: 85vw;
    width: auto;
    object-fit: contain;
    transform: scale(1);
    transition: transform 1.4s ease;
}

body.loaded .intro-logo {
    transform: scale(1.6);
}

div.intro-logo.logo-text {
    height: auto;
    font-size: 56px;
    letter-spacing: 12px;
}

div.intro-logo.logo-text span {
    font-size: 24px;
    letter-spacing: 8px;
    margin-top: 12px;
}

body.loaded .intro {
    opacity: 0;
    visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .intro,
    .intro-logo {
        transition: none;
    }

    body.loaded .intro-logo {
        transform: scale(1);
    }
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background: transparent;
    pointer-events: none;
}

.logo-link {
    pointer-events: auto;
    text-decoration: none;
    color: #fff;
}

.logo {
    height: var(--logo-height);
    max-height: 22vh;
    max-width: 80vw;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 28px;
    letter-spacing: 6px;
    font-weight: 300;
    text-align: center;
    line-height: 1;
}

.logo-text span {
    display: block;
    font-size: 13px;
    letter-spacing: 4px;
    margin-top: 6px;
    opacity: 0.85;
}

.split-screen {
    display: flex;
    height: 100vh;
    width: 100vw;
}

.split {
    position: relative;
    flex: 1 1 50%;
    height: 100%;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    display: block;
}

.media-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.split-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    opacity: 1;
}

.overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 2;
    transition: background var(--transition);
    background: rgba(0, 0, 0, 0.35);
}

.school-label {
    font-family: 'Playfair Display', 'Didot', 'Bodoni 72', Garamond, 'Times New Roman', serif;
    font-size: clamp(32px, 4.5vw, 58px);
    font-weight: 400;
    letter-spacing: 6px;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
    transition: transform var(--transition);
}

.enter-box {
    display: inline-block;
    padding: 14px 48px;
    border: 2px solid #fff;
    background: var(--enter-bg);
    font-size: 16px;
    letter-spacing: 6px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    transition: all var(--transition);
}

.split-left::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    z-index: 3;
}

/* Desktop hover effects */

@media (hover: hover) and (pointer: fine) {

    .enter-box {
        opacity: 0;
        transform: translateY(20px);
    }

    .split:hover .overlay {
        background: rgba(0, 0, 0, 0.25);
    }

    .split:hover .enter-box {
        opacity: 1;
        transform: translateY(0);
    }

    .split:hover .school-label {
        transform: translateY(-10px);
    }
}

/* Touch devices */

@media (hover: none), (pointer: coarse) {

    .enter-box {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Large tablet / small laptop */

@media (max-width: 1024px) {
    :root {
        --header-height: 150px;
        --logo-height: 120px;
    }
}

/* Tablet portrait */

@media (max-width: 768px) {
    :root {
        --header-height: 120px;
        --logo-height: 90px;
    }

    html,
    body {
        overflow-y: auto;
    }

    .split-screen {
        flex-direction: column;
        height: auto;
    }

    .split {
        height: 50vh;
        min-height: 400px;
    }

    .split-left::after {
        top: auto;
        bottom: 0;
        width: 100%;
        height: 1px;
    }
}

@media (max-width: 600px) {
    :root {
        --header-height: 100px;
        --logo-height: 70px;
    }
}

@media (max-width: 400px) {
    :root {
        --header-height: 80px;
        --logo-height: 55px;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    :root {
        --header-height: 70px;
        --logo-height: 50px;
    }
}