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

:root {
    --black: #070707;
    --dark: #0d0d0d;
    --dark2: #121212;
    --red: #ff1744;
    --orange: #ff5a00;
    --white: #ffffff;
    --gray: #999999;
    --border: #292929;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--black);
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}


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

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;

    padding: 22px 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    transition: 0.35s;
}

.navbar.scrolled {
    position: fixed;

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

    backdrop-filter: blur(15px);

    padding-top: 14px;
    padding-bottom: 14px;

    border-bottom: 1px solid #222;
}

.logo {
    width: 90px;

    transition: 0.35s;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--red);
}


/* ========================================
   BUTTONS
======================================== */

.primary-btn {
    border: 0;

    background: var(--red);

    color: white;

    padding: 15px 28px;

    border-radius: 3px;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    transition: 0.35s;
}

.primary-btn:hover {
    background: white;

    color: black;

    transform: translateY(-3px);

    box-shadow: 0 12px 35px rgba(255, 23, 68, 0.25);
}


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

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    background: #000;
}

.hero-video {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.88),
            rgba(0,0,0,.42),
            rgba(0,0,0,.7)
        );
}

.hero-content {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 1000px;

    padding: 40px 30px;

    text-align: center;
}

.eyebrow,
.section-label {
    display: block;

    color: var(--red);

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.hero h1 {
    margin-top: 12px;

    font-size: clamp(75px, 15vw, 180px);

    line-height: .78;

    letter-spacing: -8px;

    font-weight: 950;

    text-transform: uppercase;

    animation: heroIn 1s ease;
}

.hero h1 span {
    display: block;

    color: var(--red);

    margin-left: 70px;
}

.hero-title {
    margin-top: 12px;
    text-align: center;
    font-size: clamp(75px, 15vw, 180px);
    line-height: .78;
    letter-spacing: -8px;
    font-weight: 950;
    text-transform: uppercase;
}

.hero-title .udc {
    color: white;
}

.hero-title .year {
    color: var(--red);
    font-size: 0.3em;
    letter-spacing: 3px;
    margin-top: 12px;
}

.hero-description {
    max-width: 580px;

    margin: 35px auto;

    color: #d4d4d4;

    font-size: 17px;
}

.scroll-indicator {
    position: absolute;

    bottom: 30px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    align-items: center;

    gap: 12px;

    color: #777;

    font-size: 9px;

    letter-spacing: 2px;

    white-space: nowrap;
}

.scroll-line {
    width: 45px;

    height: 1px;

    background: var(--red);

    animation: scrollLine 1.5s infinite;
}

@keyframes scrollLine {

    0%,
    100% {
        width: 10px;
    }

    50% {
        width: 45px;
    }
}

@keyframes heroIn {

    from {
        opacity: 0;

        transform: translateY(30px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }
}


/* ========================================
   GENERAL SECTIONS
======================================== */

section {
    padding: 110px 7%;
}

.section-heading {
    max-width: 700px;

    margin-bottom: 60px;
}

.section-heading h2 {
    margin-top: 12px;

    font-size: clamp(42px, 6vw, 78px);

    line-height: .92;

    letter-spacing: -3px;

    text-transform: uppercase;
}

.section-heading p {
    margin-top: 24px;

    max-width: 600px;

    color: var(--gray);
}


/* ========================================
   PROCESS
======================================== */

.process {
    background: var(--dark);
}

.steps {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.step {
    position: relative;

    min-height: 300px;

    padding: 35px;

    background: var(--dark2);

    border: 1px solid var(--border);

    overflow: hidden;

    transition: .35s;
}

.step::after {
    content: "";

    position: absolute;

    bottom: 0;
    left: 0;

    width: 0;
    height: 3px;

    background: var(--red);

    transition: .5s;
}

.step:hover {
    transform: translateY(-8px);

    border-color: #444;
}

.step:hover::after {
    width: 100%;
}

.step-number {
    font-size: 78px;

    line-height: 1;

    font-weight: 950;

    color: #292929;

    transition: .35s;
}

.step:hover .step-number {
    color: var(--red);
}

.step h3 {
    margin-top: 28px;

    font-size: 23px;

    text-transform: uppercase;
}

.step p {
    margin-top: 10px;

    color: var(--gray);

    font-size: 14px;
}


/* ========================================
   GALLERY
======================================== */

.gallery {
    background: #000;
}

.image-grid {
    display: grid;

    grid-template-columns: 2fr 1fr;

    gap: 15px;
}

.image-grid img {
    width: 100%;

    height: 530px;

    object-fit: cover;

    filter: grayscale(100%);

    transition: .7s;
}

.image-grid img:hover {
    filter: grayscale(0);

    transform: scale(1.025);
}

.image-stack {
    display: grid;

    gap: 15px;
}

.image-stack img {
    height: 257px;
}


/* ========================================
   CTA
======================================== */

.cta {
    position: relative;

    background:
        linear-gradient(
            130deg,
            var(--red),
            var(--orange)
        );

    overflow: hidden;

    text-align: center;
}

.cta::before {
    content: "UDC";

    position: absolute;

    font-size: 30vw;

    font-weight: 950;

    color: rgba(0,0,0,.07);

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);
}

.cta-inner {
    position: relative;

    z-index: 1;
}

.cta .section-label {
    color: #000;
}

.cta h2 {
    margin-top: 15px;

    font-size: clamp(55px, 9vw, 110px);

    line-height: .85;

    letter-spacing: -5px;

    text-transform: uppercase;
}

.cta p {
    max-width: 550px;

    margin: 25px auto;

    color: rgba(0,0,0,.75);
}

.cta-btn {
    background: #000;
}

.cta-btn:hover {
    background: white;

    color: black;
}


/* ========================================
   INSTRUCTIONS
======================================== */

.instructions {
    background: #0b0b0b;

    text-align: center;
}

.instruction-box {
    max-width: 850px;

    margin: auto;

    padding: 65px 35px;

    border: 1px solid var(--border);

    background: #101010;
}

.instruction-box h2 {
    margin-top: 12px;

    font-size: clamp(40px, 6vw, 70px);

    line-height: .95;

    text-transform: uppercase;
}

.instruction-box > p {
    max-width: 600px;

    margin: 22px auto 0;

    color: var(--gray);
}

.instruction-highlight {
    color: white !important;

    font-weight: 800;
}

.hashtags {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 30px;
}

.hashtags span {
    padding: 9px 16px;

    background: #1b1b1b;

    border: 1px solid #2a2a2a;

    border-radius: 50px;

    color: var(--red);

    font-size: 13px;

    font-weight: 800;

    transition: .35s;
}

.hashtags span:hover {
    background: var(--red);

    color: white;

    transform: translateY(-3px);
}


/* ========================================
   FOOTER
======================================== */

.site-footer {
    background: #050505;

    padding: 65px 7% 25px;

    border-top: 1px solid #1d1d1d;
}

.footer-top {
    display: grid;

    grid-template-columns: 1.4fr 1fr auto;

    align-items: center;

    gap: 50px;

    padding-bottom: 55px;

    border-bottom: 1px solid #1c1c1c;
}

.footer-logo {
    width: 85px;

    margin-bottom: 15px;
}

.footer-brand p {
    color: #777;

    font-size: 13px;
}

.footer-label {
    display: block;

    margin-bottom: 12px;

    color: var(--red);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;
}

.footer-contact {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 5px;
}

.footer-contact a {
    color: #bbb;

    font-size: 14px;

    transition: .35s;
}

.footer-contact a:hover {
    color: var(--red);

    transform: translateX(4px);
}

.footer-register {
    border: 1px solid #333;

    background: transparent;

    color: white;

    padding: 15px 20px;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 1.5px;

    transition: .35s;
}

.footer-register span {
    display: inline-block;

    margin-left: 15px;

    color: var(--red);

    transition: .35s;
}

.footer-register:hover {
    background: var(--red);

    border-color: var(--red);
}

.footer-register:hover span {
    color: white;

    transform: translate(4px, -4px);
}

.footer-bottom {
    padding-top: 25px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    color: #555;

    font-size: 11px;
}

.built-by strong {
    color: #999;

    transition: .35s;
}

.built-by:hover strong {
    color: var(--red);
}


/* ========================================
   MODAL
======================================== */

.modal {
    position: fixed;

    inset: 0;

    z-index: 100;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background: rgba(0,0,0,.88);

    backdrop-filter: blur(10px);
}

.modal.active {
    display: flex;

    animation: modalFade .25s ease;
}

@keyframes modalFade {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;

    width: min(650px, 100%);

    max-height: 92vh;

    overflow-y: auto;

    padding: 42px;

    background: #111;

    border: 1px solid #333;

    box-shadow:
        0 30px 100px rgba(0,0,0,.8);

    animation: modalUp .35s ease;
}

@keyframes modalUp {

    from {
        opacity: 0;

        transform:
            translateY(25px)
            scale(.98);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}

.close-modal {
    position: absolute;

    top: 14px;
    right: 18px;

    width: 35px;
    height: 35px;

    border: 0;

    background: transparent;

    color: #aaa;

    font-size: 30px;

    transition: .35s;
}

.close-modal:hover {
    color: var(--red);

    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 28px;
}

.modal-header h2 {
    margin-top: 8px;

    font-size: 43px;

    line-height: .95;

    text-transform: uppercase;
}

.modal-header p {
    margin-top: 10px;

    color: var(--gray);

    font-size: 14px;
}


/* ========================================
   FORM
======================================== */

.form-group {
    margin-bottom: 19px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    font-size: 11px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: .7px;
}

.form-group label span {
    color: var(--red);
}

.form-group input,
.form-group select {
    width: 100%;

    padding: 14px 15px;

    background: #1a1a1a;

    color: white;

    border: 1px solid #333;

    border-radius: 2px;

    outline: 0;

    transition: .35s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--red);

    box-shadow:
        0 0 0 2px
        rgba(255,23,68,.08);
}

.form-group small {
    display: block;

    margin-top: 5px;

    color: #666;

    font-size: 10px;
}

.crew-number {
    display: none;
}

.crew-number.show {
    display: block;

    animation: fadeUp .3s ease;
}

@keyframes fadeUp {

    from {
        opacity: 0;

        transform: translateY(10px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }
}


/* ========================================
   PHOTO UPLOAD
======================================== */

.photo-upload {
    position: relative;

    padding: 25px 15px;

    text-align: center;

    border: 1px dashed #444;

    background: #171717;

    transition: .35s;
}

.photo-upload:hover {
    border-color: var(--red);
}

.upload-icon {
    width: 38px;
    height: 38px;

    margin: 0 auto 8px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #444;

    color: var(--red);

    font-size: 22px;
}

.photo-upload p {
    color: #bbb;

    font-size: 12px;

    font-weight: 700;
}

.photo-upload small {
    color: #666;

    font-size: 10px;
}

.photo-upload input {
    margin-top: 15px;

    max-width: 100%;

    font-size: 11px;
}

.file-name {
    margin-top: 10px;

    color: var(--red);

    font-size: 11px;

    word-break: break-all;
}

.submit-btn {
    width: 100%;

    padding: 17px;

    border: 0;

    background: var(--red);

    color: white;

    font-size: 12px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 1px;

    transition: .35s;
}

.submit-btn:hover {
    background: white;

    color: black;
}

.submit-btn.loading {
    pointer-events: none;

    opacity: .75;
}

.loading-spinner {
    display: none;

    width: 16px;
    height: 16px;

    margin-left: 8px;

    vertical-align: middle;

    border: 2px solid rgba(255,255,255,.3);

    border-top-color: white;

    border-radius: 50%;

    animation: spin .7s linear infinite;
}

.submit-btn.loading .loading-spinner {
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-note {
    margin-top: 13px;

    color: #555;

    text-align: center;

    font-size: 9px;
}

.honeypot {
    position: absolute;

    left: -9999px;

    width: 1px;
    height: 1px;

    overflow: hidden;
}


/* ========================================
   SONG MODAL
======================================== */

.song-modal {
    width: min(750px, 100%);
}

.songs {
    display: grid;

    gap: 13px;
}

.song {
    padding: 20px;

    background: #181818;

    border: 1px solid #303030;

    transition: .35s;
}

.song.selected {
    border-color: var(--red);

    box-shadow:
        inset 3px 0 0 var(--red);
}

.track-number {
    color: var(--red);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 2px;
}

.song h3 {
    margin-top: 4px;

    font-size: 17px;

    text-transform: uppercase;
}

.song audio {
    display: block;

    width: 100%;

    margin: 15px 0;

    height: 35px;
}

.song-actions {
    display: flex;

    gap: 8px;
}

.song-select,
.download-btn {
    padding: 10px 15px;

    border: 0;

    font-size: 10px;

    font-weight: 900;

    text-transform: uppercase;

    transition: .35s;
}

.song-select {
    background: white;

    color: black;
}

.song-select:hover {
    background: var(--red);

    color: white;
}

.download-btn {
    background: var(--red);

    color: white;
}

.download-btn:hover {
    background: white;

    color: black;
}


/* ========================================
   DANCE INSTRUCTIONS
======================================== */

.dance-instructions {
    display: flex;

    gap: 15px;

    margin-top: 25px;

    padding: 20px;

    background: #181818;

    border-left: 3px solid var(--red);
}

.instruction-icon {
    flex: 0 0 28px;

    width: 28px;
    height: 28px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--red);

    color: white;

    font-size: 13px;

    font-weight: 900;
}

.dance-instructions strong {
    color: var(--red);

    font-size: 11px;
}

.dance-instructions p {
    margin-top: 5px;

    color: #aaa;

    font-size: 12px;
}

.tag-line {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}

.tag-line strong {
    color: white;
}


/* ========================================
   TOAST
======================================== */

.toast {
    position: fixed;

    z-index: 300;

    right: 25px;
    bottom: 25px;

    max-width: 350px;

    padding: 15px 20px;

    background: #171717;

    border-left: 3px solid var(--red);

    color: white;

    font-size: 12px;

    box-shadow:
        0 15px 50px rgba(0,0,0,.5);

    transform: translateY(30px);

    opacity: 0;

    pointer-events: none;

    transition: .4s;
}

.toast.show {
    transform: translateY(0);

    opacity: 1;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 850px) {

    .nav-links {
        display: none;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-action {
        grid-column: 1 / -1;
    }

    .footer-register {
        width: 100%;
    }

}


@media (max-width: 650px) {

    section {
        padding: 75px 5%;
    }

    .navbar {
        padding: 18px 5%;
    }

    .navbar .logo {
        width: 70px;
    }

    .nav-register {
        padding: 11px 17px;
    }

    .hero h1 {
        letter-spacing: -5px;
    }

    .hero h1 span {
        margin-left: 25px;
    }

    .scroll-indicator {
        display: none;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }

    .image-grid img {
        height: 350px;
    }

    .image-stack {
        grid-template-columns: 1fr 1fr;
    }

    .image-stack img {
        height: 190px;
    }

    .modal {
        padding: 10px;
    }

    .modal-content {
        padding: 35px 20px 25px;
    }

    .modal-header h2 {
        font-size: 35px;
    }

    .song-actions {
        flex-direction: column;
    }

    .song-select,
    .download-btn {
        width: 100%;

        text-align: center;
    }

    .dance-instructions {
        flex-direction: column;
    }

    .footer-top {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-action {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;
    }

    .site-footer {
        padding: 55px 5% 22px;
    }

}


/* ========================================
   UDC SOCIAL MEDIA
======================================== */

.instruction-box .social-links {
    width: 100%;

    max-width: 600px;

    margin: 40px auto 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.instruction-box .social-links a {
    width: 52px;

    height: 52px;

    min-width: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0;

    padding: 0;

    background: #171717;

    border: 1px solid #303030;

    border-radius: 50%;

    color: #999;

    font-size: 18px;

    line-height: 1;

    text-align: center;

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

.instruction-box .social-links a:hover {
    background: var(--red);

    border-color: var(--red);

    color: #ffffff;

    transform: translateY(-5px);
}


/* ========================================
   SOCIAL MEDIA MOBILE
======================================== */

@media (max-width: 650px) {

    .instruction-box .social-links {
        width: 100%;

        max-width: 100%;

        margin-top: 32px;

        gap: 8px;
    }

    .instruction-box .social-links a {
        width: 44px;

        height: 44px;

        min-width: 44px;

        font-size: 15px;
    }

}


/* ========================================
   SOCIAL MEDIA SMALL PHONES
======================================== */

@media (max-width: 380px) {

    .instruction-box .social-links {
        gap: 4px;
    }

    .instruction-box .social-links a {
        width: 40px;

        height: 40px;

        min-width: 40px;

        font-size: 14px;
    }

}