/* ========================================================================== */
/* LU VFX CONTEMPORARY ART MODULE V2                                          */
/* ========================================================================== */

/* --- PART 1: LAYOUT & TYPOGRAPHY --- */
@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700');

@font-face {
    font-family: 'bpicons';
    src: url('../fonts/bpicons/bpicons.eot');
    src: url('../fonts/bpicons/bpicons.eot?#iefix') format('embedded-opentype'),
         url('../fonts/bpicons/bpicons.woff') format('woff'),
         url('../fonts/bpicons/bpicons.ttf') format('truetype'),
         url('../fonts/bpicons/bpicons.svg#bpicons') format('svg');
    font-weight: normal;
    font-style: normal;
}

.lufloatingtable:before, .lufloatingtable:after { content: " "; display: table; }
.lufloatingtable:after { clear: both; }

/* Scoped specifically to the ConArt container to prevent global bleeding */
.container_conart { font-family: 'Lato', Calibri, Arial, sans-serif; color: #fff; background: #222; }
.container_conart a { color: #f0f0f0; text-decoration: none; }
.container_conart a:hover { color: #000; }

.container_conart > header { width: 100%; max-width: 100%; margin: 0 auto; padding: 0 0 0; }
.container_conart > header h1 { font-size: 2.25em; line-height: 1.3; margin: 2em 2.4em 1.6em 2.48em; float: left; font-weight: 100; }
.container_conart > header > span { display: block; position: relative; z-index: 9999; font-weight: 700; text-transform: uppercase; letter-spacing: .5em; padding: 0 0 .6em .1em; }
.container_conart > header > span span:after { width: 30px; height: 30px; left: -12px; font-size: 50%; top: -8px; position: relative; }
.container_conart > header > span span:hover:before { content: attr(data-content); text-transform: none; text-indent: 0; letter-spacing: 0; font-weight: 300; font-size: 110%; padding: .8em 1em; line-height: 1.2; text-align: left; left: auto; margin-left: 4px; position: absolute; color: #47a3da; background: #fff; }

.container_conart > header nav { float: right; text-align: center; }
.container_conart > header nav a { display: inline-block; position: relative; text-align: left; width: 2.5em; height: 2.5em; background: #47a3da; border-radius: 50%; margin: 0 .1em; border: 4px solid #fff; }
.container_conart > header nav a > span { display: none; }
.container_conart > header nav a:hover:before { content: attr(data-info); color: #fff; position: absolute; width: 600%; top: 120%; text-align: right; right: 0; pointer-events: none; }
.container_conart > header nav a:hover { background: #fff; }

.bp-icon:after { font-family: 'bpicons'; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; text-align: center; color: #fff; -webkit-font-smoothing: antialiased; }
.container_conart > header nav .bp-icon:after { position: absolute; top: 0; left: 0; width: 100%; height: 100%; line-height: 2; text-indent: 0; }
.container_conart > header nav a:hover:after { color: #47a3da; }
.bp-icon-next:after { content: "\e000"; }
.bp-icon-drop:after { content: "\e001"; }
.bp-icon-archive:after { content: "\e002"; }
.bp-icon-about:after { content: "\e003"; }
.bp-icon-prev:after { content: "\e004"; }


/* --- PART 2: HARDWARE-ACCELERATED SCROLL CLASSES --- */
.lu-vfx-scroller { margin-top: 3em; overflow: hidden; }
.lu-vfx-section { margin-bottom: 10em; }
.lu-vfx-section:before, .lu-vfx-section:after { content: " "; display: table; }
.lu-vfx-section:after { clear: both; }
.lu-vfx-section h2 { font-size: 5em; font-weight: 300; line-height: 1; }
.lu-vfx-section p { font-size: 2em; font-weight: 300; }

.lu-vfx-side {
    width: 50%; 
    float: left; 
    margin: 0; 
    padding: 3em 4%; 
    overflow: hidden; 
    min-height: 12em;
    -webkit-transition: -webkit-transform .5s, opacity .5s;
    -moz-transition: -moz-transform .5s, opacity .5s;
    transition: transform .5s, opacity .5s;
    /* Forces the browser to handle this element via the GPU */
    will-change: transform, opacity;
}
.lu-vfx-side:before, .lu-vfx-side:after { content: " "; display: table; }
.lu-vfx-side:after { clear: both; }

.lu-vfx-right { text-align: left; }
.lu-vfx-left { text-align: right; }
.lu-vfx-right img { float: left; }
.lu-vfx-left img { float: right; }
.lu-vfx-side img { height: auto; }

/* YouTube artwork replacing the former AA30001 still image. */
.lu-vfx-video-trigger {
    position: relative;
    display: block;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    background: #090909;
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.42);
    cursor: pointer;
    isolation: isolate;
}

.lu-vfx-video-thumbnail {
    float: none !important;
    display: block;
    width: 100%;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.lu-vfx-video-trigger::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.68), transparent 55%, rgba(0, 0, 0, 0.12));
    pointer-events: none;
}

.lu-vfx-youtube-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: clamp(64px, 8vw, 92px);
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.lu-vfx-youtube-icon svg {
    display: block;
    width: 100%;
    height: auto;
    fill: #ff0033;
}

.lu-vfx-youtube-icon__triangle { fill: #fff; }

.lu-vfx-video-trigger__label {
    position: absolute;
    right: 24px;
    bottom: 20px;
    left: 24px;
    z-index: 2;
    color: #fff;
    font-family: 'Lato', Calibri, Arial, sans-serif;
    font-size: clamp(0.78rem, 1.3vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
}

.lu-vfx-video-trigger:hover .lu-vfx-video-thumbnail,
.lu-vfx-video-trigger:focus-visible .lu-vfx-video-thumbnail {
    transform: scale(1.035);
    filter: brightness(0.82);
}

.lu-vfx-video-trigger:hover .lu-vfx-youtube-icon,
.lu-vfx-video-trigger:focus-visible .lu-vfx-youtube-icon {
    transform: translate(-50%, -50%) scale(1.1);
    filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.62));
}

.lu-vfx-video-trigger:focus-visible {
    outline: 3px solid rgba(162, 235, 213, 0.95);
    outline-offset: 5px;
}

/* Video lightbox. The iframe has no src until the trigger is activated. */
.lu-vfx-video-modal {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: grid;
    place-items: center;
    padding: clamp(18px, 4vw, 54px);
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lu-vfx-video-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lu-vfx-video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 2, 5, 0.8);
    -webkit-backdrop-filter: blur(14px) saturate(135%);
    backdrop-filter: blur(14px) saturate(135%);
}

.lu-vfx-video-modal__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 1120px);
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    background: #000;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
    transform: translateY(24px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lu-vfx-video-modal.is-open .lu-vfx-video-modal__panel {
    transform: translateY(0) scale(1);
}

.lu-vfx-video-modal__title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.lu-vfx-video-modal__close {
    position: absolute !important;
    top: -27px;
    right: -27px;
    z-index: 3;
}

#lu-vfx-youtube-player {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: inherit;
    background: #000;
}

body.lu-vfx-video-open { overflow: hidden; }

@media (max-width: 767px) {
    .lu-vfx-video-modal { padding: 18px; }

    .lu-vfx-video-modal__panel { width: 100%; }

    .lu-vfx-video-modal__close {
        top: -22px;
        right: -12px;
    }

    .lu-vfx-video-trigger__label {
        right: 14px;
        bottom: 12px;
        left: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lu-vfx-video-trigger *,
    .lu-vfx-video-modal,
    .lu-vfx-video-modal__panel {
        transition: none !important;
    }
}

/* Initial State (Hidden & Shifted) */
.lu-vfx-init .lu-vfx-side { opacity: 0; }
.lu-vfx-init .lu-vfx-left { -webkit-transform: translateX(-80px); -moz-transform: translateX(-80px); transform: translateX(-80px); }
.lu-vfx-init .lu-vfx-right { -webkit-transform: translateX(80px); -moz-transform: translateX(80px); transform: translateX(80px); }

/* Animated State (Visible & Centered) */
.lu-vfx-section.lu-vfx-animate .lu-vfx-left,
.lu-vfx-section.lu-vfx-animate .lu-vfx-right {
    -webkit-transform: translateX(0px); -moz-transform: translateX(0px); transform: translateX(0px); opacity: 1;
}

/* --- PART 3: RESPONSIVE BREAKPOINTS --- */
@media screen and (max-width: 73.5em) {
    .lu-vfx-scroller { font-size: 65%; }
    .lu-vfx-section h2 { margin: 0; }
    .lu-vfx-side img { max-width: 120%; }
}

@media screen and (max-width: 55em) {
    .container_conart > header h1, .container_conart > header nav { float: none; }
    .container_conart > header > span, .container_conart > header h1 { text-align: center; }
    .container_conart > header nav { margin: 0 auto; }
    .container_conart > header > span { text-indent: 30px; }
}

@media screen and (max-width: 41.125em) {
    .lu-vfx-side { float: none; width: 100%; }
    .lu-vfx-side img { max-width: 100%; }
}

/* ========================================================================== */
/* LU APPEND-ONLY: SIGGRAPH AWARD BADGE LAYER                                 */
/* ========================================================================== */

/* 1. Desktop Layout (Aligns with the right-side magenta marker) */
.lu-siggraph-badge-wrapper {
    float: right;
    margin-top: 2.5em; /* Aligns visually with the center of the H1 */
    margin-right: 5%; 
    width: 100%;
    max-width: 200px; 
    position: relative;
    z-index: 50;
    
    /* Minimalist Premium Touch: Soft drop shadow to separate it from the Aurora background */
    filter: drop-shadow(0px 12px 24px rgba(0, 0, 0, 0.4));
    
    /* Hardware Acceleration */
    transform: translateZ(0);
}

.lu-siggraph-logo {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.85;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none !important; 
    -webkit-touch-callout: none !important; 
    -webkit-user-select: none !important; 
    user-select: none !important;
}

.lu-siggraph-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
}



/* 2. Tablet Layout (Scales down gracefully) */
@media (min-width: 768px) and (max-width: 991px) {
    .lu-siggraph-badge-wrapper {
        max-width: 200px;
        margin-right: 4%;
        margin-top: 3em;
    }
}

/* 3. Mobile Layout (Clears the H1 and drops below it, matching the up-right marker) */
@media (max-width: 767px) {
    .lu-siggraph-badge-wrapper {
        clear: both; /* Forces the badge to drop below the title */
        float: none; /* Overrides the desktop right-float */
        display: block; /* Takes up its own line */
        margin: 1.5em auto 2.5em auto; /* Auto left/right locks it dead center */
        max-width: 180px;
    }
}
