
/* Responsive Desktop Scaling */
@media (min-width: 992px) {
    html {
        zoom: calc(100vw / 1368);
    }
}
/* Sen 2 Font Definitions */
@font-face {
    font-family: 'Sen 2';
    src: url('sen2_fonts/Sen-VariableFont_wght.ttf') format('truetype'),
         url('sen2_fonts/static/Sen-Regular.ttf') format('truetype');
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sen 2';
    src: url('sen2_fonts/static/Sen-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Color Palette */
    --bg-dark: #0F0F13;
    --bg-surface: #16161c;
    --bg-surface-light: #1f1f27;
    --text-primary: #f3f4f6;
    --text-secondary: #a1a1aa;
    
    /* Accent - Prism Theme */
    --accent-cyan: #00f2fe;
    --accent-purple: #4facfe;
    --accent-gradient: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    
    /* Glassmorphism */
    --glass-bg: rgba(20, 20, 24, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --font-main: 'Sen 2', 'Sen', sans-serif;
    --font-heading: 'Sen 2', 'Sen', sans-serif;
    
    /* Animation */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-main);
    font-size: 1.1rem;
    line-height: 1.6;
}

body, p, span, a, li, button, input, select, textarea, label {
    font-family: var(--font-main);
}

/* Strict Scroll Locking */
html.no-scroll, body.no-scroll,
html.loading-locked, body.loading-locked,
html.hero-intro-locked, body.hero-intro-locked {
    overflow: hidden !important;
    height: 100% !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    touch-action: none !important;
    -ms-touch-action: none !important;
    overscroll-behavior: none !important;
}

/* ========================================================
   Fullscreen Intro Video Loader & Transition
   ======================================================== */
.video-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    width: 100dvw;
    height: 100vh;
    height: 100dvh;
    background-color: #000000;
    z-index: 99999999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: all;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    transform: translateY(0);
    transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1), box-shadow 0.85s ease;
    will-change: transform;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95);
}

.video-loader-overlay.slide-up {
    transform: translateY(-100%) !important;
    pointer-events: none !important;
}

.video-loader-overlay.hidden-complete {
    display: none !important;
}

.loading-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    width: 100vw;
    width: 100dvw;
    height: 100vh;
    height: 100dvh;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    background-color: #000000;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    border: none;
    outline: none;
    margin: 0;
    padding: 0;
    display: block;
}

/* Typography */
h1, h2, h3, h4, .section-title, .logo-text, .hero-title {
    font-family: var(--font-heading) !important;
    font-weight: 600;
    line-height: 1.2;
}

.gradient-text {
    position: relative;
    display: inline-block;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: none !important;
}

.gradient-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 4px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 0.625rem rgba(0, 242, 254, 0.4);
}

.gradient-text.in-view::after,
.section-title.in-view .gradient-text::after {
    transform: scaleX(1);
    transition-delay: 0.3s; /* Adjusted delay to appear slightly later */
}

/* Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(0.75rem);
    -webkit-backdrop-filter: blur(0.75rem);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    box-shadow: 0 8px 2rem rgba(0, 0, 0, 0.2);
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 0.9375rem rgba(79, 172, 254, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 1.25rem rgba(79, 172, 254, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--bg-surface-light);
    border-color: var(--text-secondary);
}

/* Navbar / Taskbar */
/* Navbar / Taskbar - Top Glass Taskbar */
.navbar {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1002;
    width: max-content;
    max-width: calc(100vw - 40px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(200, 225, 235, 0.03) 40%, rgba(160, 195, 205, 0.01) 100%), rgba(10, 14, 20, 0.32);
    backdrop-filter: blur(20px) saturate(160%) contrast(1.02);
    -webkit-backdrop-filter: blur(20px) saturate(160%) contrast(1.02);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 100px;
    padding: 6.4px 8px;
    box-shadow: 
        0 20px 40px -12px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 1px 1.5px rgba(255, 255, 255, 0.4),
        inset 0 -1px 1.5px rgba(255, 255, 255, 0.1);
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(255, 255, 255, 0.12), transparent 70%);
    pointer-events: none;
    border-radius: 100px 100px 0 0;
}

.navbar.navbar-scrolled {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(200, 225, 235, 0.04) 40%, rgba(160, 195, 205, 0.02) 100%), rgba(8, 12, 16, 0.48);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 
        0 20px 40px -10px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 1.2px 1.5px rgba(255, 255, 255, 0.5);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding-right: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    user-select: none;
}

.logo-container:hover {
    transform: scale(1.04);
    opacity: 0.95;
}

.logo-img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 2.5px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    gap: 5.6px;
    position: static;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0;
    transform: none;
    overflow: visible;
}

.nav-links::before {
    display: none;
}

.nav-link {
    text-decoration: none;
    color: rgba(235, 245, 250, 0.85);
    font-weight: 500;
    font-size: 15.2px;
    letter-spacing: 0.25px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 8px 16.8px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 100px;
    background: transparent;
    border: 1px solid transparent;
    position: relative;
    z-index: 1;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.4), 0 4px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.nav-link.active {
    color: #ffffff;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%), rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 
        inset 0 1.5px 2px rgba(255, 255, 255, 0.65),
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 0 18px rgba(0, 242, 254, 0.18);
    transform: translateY(-1px);
}

.nav-icon {
    width: 17px;
    height: 17px;
    opacity: 0.8;
    stroke: rgba(235, 245, 250, 0.85);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover .nav-icon, 
.nav-link.active .nav-icon {
    opacity: 1;
    stroke: #ffffff;
    filter: drop-shadow(0 0 6px rgba(0, 242, 254, 0.5));
}

.mobile-menu-btn {
    display: none;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(200, 225, 235, 0.06) 100%), rgba(15, 22, 28, 0.52);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1.2px solid rgba(255, 255, 255, 0.38);
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.35),
        inset 0 1.5px 2px rgba(255, 255, 255, 0.75),
        inset 0 -1px 2px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn:focus,
.mobile-menu-btn:focus-visible {
    outline: none;
}

.mobile-menu-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.3), transparent 70%);
    pointer-events: none;
}

.mobile-menu-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.26) 0%, rgba(200, 225, 235, 0.12) 100%), rgba(15, 22, 28, 0.6);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.4),
        inset 0 1.5px 3px rgba(255, 255, 255, 0.9),
        0 0 15px rgba(0, 242, 254, 0.25);
    transform: scale(1.05);
}

.mobile-menu-btn span {
    width: 21.6px;
    height: 2px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Responsive Navbar Dropdown */
@media (max-width: 820px) {
    .navbar {
        top: 1rem;
        left: 1rem;
        right: auto;
        transform: none;
        width: auto;
        max-width: none;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    .navbar::before {
        display: none !important;
    }

    .navbar.navbar-scrolled {
        background: transparent !important;
        border-color: transparent !important;
        box-shadow: none !important;
    }

    .nav-container {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        width: auto;
    }

    .mobile-menu-btn {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: fixed;
        top: 4.5rem;
        left: 1rem;
        right: 1rem;
        width: auto;
        max-width: min(320px, calc(100vw - 2rem));
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(200, 225, 235, 0.08) 40%, rgba(160, 195, 205, 0.04) 100%), rgba(15, 22, 28, 0.88);
        backdrop-filter: blur(28px) saturate(190%) contrast(1.05) brightness(1.08);
        -webkit-backdrop-filter: blur(28px) saturate(190%) contrast(1.05) brightness(1.08);
        border: 1.2px solid rgba(255, 255, 255, 0.38);
        border-radius: 1.5rem;
        padding: 0.75rem;
        gap: 0.4rem;
        box-shadow: 
            0 25px 50px -10px rgba(0, 0, 0, 0.65),
            0 0 0 1px rgba(255, 255, 255, 0.08),
            inset 0 1.5px 2px rgba(255, 255, 255, 0.75),
            inset 0 -1.5px 2px rgba(255, 255, 255, 0.2);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
        transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        overflow: hidden;
    }

    .nav-links::before {
        display: block;
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 45%;
        background: radial-gradient(ellipse 90% 80% at 30% 0%, rgba(255, 255, 255, 0.22), transparent 70%);
        pointer-events: none;
        border-radius: 1.5rem 1.5rem 0 0;
    }

    .nav-links.sidebar-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 1rem;
        font-size: 1rem;
    }

    .nav-link:hover {
        transform: translateX(4px);
    }

    .nav-link.active {
        transform: translateX(2px);
    }
}

/* Sections */
main {
    flex: 1;
    position: relative;
}

.section {
    display: block;
    min-height: 100vh;
    padding: 7.5rem 2rem 4rem;
    scroll-margin-top: 85px;
}

#podcasts {
    min-height: auto !important;
    padding: 3.5rem 2rem 1.5rem !important;
}

#members-core {
    scroll-margin-top: 85px;
    padding-top: 2rem !important;
    min-height: auto;
    padding-bottom: 0.8rem;
}

.container {
    max-width: 75rem;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* Home Section */
#home-bg-video {
    display: none !important;
}

#home {
    padding: 0;
    height: 180vh;
    min-height: 100vh;
    background-color: var(--bg-dark);
    position: relative;
}

.canvas-container {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

#hero-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transform: translateZ(0);
    will-change: contents;}

/* Hero Text Overlay */
.prism-hero-text-box {
    position: absolute;
    top: 50%;
    left: 1.25vw;
    transform: translateY(-50%);
    z-index: 999;
    text-align: left;
    max-width: 46vw;
    pointer-events: none;
}

.prism-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(4.8rem, 9.5vw, 9.5rem);
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    color: #ffffff;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
    text-align: left;
}

.prism-hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(0.95rem, 1.5vw, 1.45rem);
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #e2e8f0;
    line-height: 1.55;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
    text-align: left;
}

/* Right Cinematic Panel (Desktop Default) */
.prism-hero-cinematic-right {
    display: block;
    position: absolute;
    top: 50%;
    right: 1.25vw;
    transform: translateY(-50%);
    z-index: 999;
    max-width: 400px;
    padding: 2.25rem 2rem;
    background: rgba(10, 14, 22, 0.68);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    text-align: left;
    pointer-events: auto;
}

.cinematic-headline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin-bottom: 1.1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cinematic-divider {
    width: 3rem;
    height: 2.5px;
    background: rgba(255, 255, 255, 0.28);
    margin-bottom: 1.1rem;
}

.cinematic-body {
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 1.3rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.cinematic-motto {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #94a3b8;
}

.cinematic-motto .motto-dot {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 400;
}

@media (max-width: 1200px) {
    .prism-hero-cinematic-right {
        max-width: 340px;
        padding: 1.8rem 1.6rem;
        right: 1.25vw;
    }
    .cinematic-headline {
        font-size: 1.3rem;
    }
    .cinematic-body {
        font-size: 0.92rem;
    }
}

@media (max-width: 900px) {
    #hero-canvas {
        object-position: center 46%;
    
    transform: translateZ(0);
    will-change: contents;}

    .prism-hero-text-box {
        position: absolute;
        top: 4.6rem;
        left: 1.25rem;
        right: 1.25rem;
        transform: none;
        max-width: calc(100vw - 2.5rem);
        text-align: left;
        z-index: 10;
    }
    .prism-hero-title {
        font-size: clamp(2.8rem, 11vw, 4rem);
        line-height: 0.95;
        margin-bottom: 0.35rem;
        letter-spacing: -0.5px;
    }
    .prism-hero-subtitle {
        font-size: clamp(0.72rem, 3vw, 0.85rem);
        letter-spacing: 2px;
        line-height: 1.35;
        white-space: normal;
        color: rgba(226, 232, 240, 0.9);
    }

    .prism-hero-cinematic-right {
        display: block;
        position: absolute;
        top: auto;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 2.5rem);
        left: 1.25rem;
        right: 1.25rem;
        transform: none;
        max-width: calc(100vw - 2.5rem);
        padding: 1.6rem 1.8rem;
        background: rgba(10, 14, 22, 0.82);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 1.4rem;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.18);
        z-index: 10;
        pointer-events: auto;
    }

    .cinematic-headline {
        font-size: clamp(1.5rem, 5.8vw, 1.8rem);
        line-height: 1.28;
        margin-bottom: 0.75rem;
        font-weight: 700;
    }

    .cinematic-divider {
        width: 3.6rem;
        height: 2.5px;
        margin-bottom: 0.8rem;
        background: rgba(255, 255, 255, 0.28);
    }

    .cinematic-body {
        font-size: clamp(1.1rem, 4.2vw, 1.25rem);
        line-height: 1.6;
        margin-bottom: 0.9rem;
        color: #d1d5db;
    }

    .cinematic-motto {
        font-size: clamp(0.82rem, 3.1vw, 0.95rem);
        gap: 0.55rem;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 600px) {
    .prism-hero-text-box {
        top: 4.4rem;
        left: 1rem;
        right: 1rem;
        max-width: calc(100vw - 2rem);
    }
    .prism-hero-title {
        font-size: clamp(2.5rem, 11vw, 3.4rem);
        margin-bottom: 0.3rem;
    }
    .prism-hero-subtitle {
        font-size: 0.72rem;
        letter-spacing: 1.6px;
    }
    .prism-hero-cinematic-right {
        bottom: calc(env(safe-area-inset-bottom, 0px) + 2.2rem);
        left: 0.9rem;
        right: 0.9rem;
        max-width: calc(100vw - 1.8rem);
        padding: 1.45rem 1.55rem;
    }
    .cinematic-headline {
        font-size: clamp(1.38rem, 5.4vw, 1.6rem);
        margin-bottom: 0.65rem;
    }
    .cinematic-divider {
        width: 3rem;
        margin-bottom: 0.65rem;
    }
    .cinematic-body {
        font-size: clamp(1.02rem, 3.9vw, 1.15rem);
        line-height: 1.55;
        margin-bottom: 0.8rem;
    }
    .cinematic-motto {
        font-size: 0.82rem;
    }
}

@media (max-height: 700px) and (max-width: 600px) {
    .prism-hero-text-box {
        top: 3.8rem;
    }
    .prism-hero-title {
        font-size: 2.2rem;
    }
    .prism-hero-subtitle {
        font-size: 0.65rem;
    }
    .prism-hero-cinematic-right {
        bottom: calc(env(safe-area-inset-bottom, 0px) + 1.8rem);
        padding: 1.2rem 1.3rem;
    }
    .cinematic-headline {
        font-size: 1.2rem;
        margin-bottom: 0.45rem;
    }
    .cinematic-divider {
        margin-bottom: 0.45rem;
    }
    .cinematic-body {
        font-size: 0.95rem;
        line-height: 1.45;
        margin-bottom: 0.55rem;
    }
    .cinematic-motto {
        display: none;
    }
}

.hero {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    padding: 0;
}

.hero-glass-wrapper {
    position: absolute;
    top: 4.375rem;
    bottom: 4.375rem;
    left: 4.375rem;
    right: 4.375rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(1rem);
    -webkit-backdrop-filter: blur(1rem);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.875rem;
    box-shadow: 0 1.875rem 3.75rem rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

@media (max-width: 900px) {
    .hero-glass-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
        top: 3.75rem;
        bottom: 3.75rem;
        left: 3.75rem;
        right: 3.75rem;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    text-shadow: 0px 2px 0.625rem rgba(0, 0, 0, 0.8), 0px 0px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 31.25rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 100%;
    max-width: 62.5rem;
    height: auto;
    max-height: 45vh;
    object-fit: contain;
    filter: drop-shadow(0 0.9375rem 2.1875rem rgba(0, 242, 254, 0.2));
    transform: scale(1.12);
    transition: transform 0.5s ease;
}

.hero-logo:hover {
    transform: scale(1.17);
}

.glow-orb {
    position: absolute;
    width: 18.75rem;
    height: 18.75rem;
    background: var(--accent-gradient);
    border-radius: 50%;
    filter: blur(5rem);
    opacity: 0.2;
    animation: pulse 4s ease-in-out infinite alternate;
}

/* Marquee wrapper and slanted text track */
.marquee-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
}

.hero-marquee {
    position: absolute;
    width: 140%;
    background: linear-gradient(90deg, rgba(79, 172, 254, 0.15) 0%, rgba(0, 242, 254, 0.15) 100%);
    border-top: 1px solid rgba(0, 242, 254, 0.3);
    border-bottom: 1px solid rgba(79, 172, 254, 0.3);
    padding: 0.625rem 0;
    transform: rotate(-12deg);
    display: flex;
    white-space: nowrap;
    box-shadow: 0 0 2.1875rem rgba(0, 242, 254, 0.1);
}

.marquee-inner {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: marquee-scroll 18s linear infinite;
}

.marquee-inner span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--text-primary);
    text-transform: uppercase;
    padding-right: 1.5rem;
}

@keyframes marquee-scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.featured-issue {
    position: relative;
    z-index: 10;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 21.25rem;
    transform: perspective(62.5rem) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-smooth);
}

.featured-issue:hover {
    transform: perspective(62.5rem) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.issue-cover {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 0.625rem 1.875rem rgba(0,0,0,0.5);
}

.issue-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge {
    align-self: flex-start;
    background: var(--bg-surface-light);
    color: var(--accent-cyan);
    padding: 4px 0.625rem;
    border-radius: 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.download-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    margin-top: 0.5rem;
    transition: var(--transition-fast);
}

.download-link:hover {
    color: var(--accent-cyan);
}

/* Vision Section - Sticky Scroll Gather Animation */
.vision-scroll-section {
    view-timeline-name: --vision-timeline;
    view-timeline-axis: block;
    height: 300vh; /* creates 200vh of scrollable space while pinned */
    position: relative;
    padding: 0; /* Override section padding */
    margin-top: 3.125rem;
}

.vision-sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(10, 10, 20, 0.2) 0%, rgba(5, 5, 10, 0) 100%);
}

.vision-center-text {
    font-size: clamp(3rem, 5.85vw, 15rem);
    font-weight: 800;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 10;
    position: relative;
    /* Reduced text size so images are clearly visible */
    font-size: clamp(2rem, 4vw, 3.5rem);
    filter: drop-shadow(0 0 0.625rem rgba(0,0,0,0.8));
}

.vision-icon {
    position: absolute;
    /* Creating an oval path instead of a circle */
    offset-path: ellipse(40vw 25vh at 50% 50%);
    offset-rotate: 0deg; /* Ensure images stay perfectly straight */
    width: clamp(6.25rem, 14.64vw, 31.25rem); /* Responsive proportional scaling based on 1366px reference */
    height: auto;
    object-fit: contain;
    z-index: 5;
    animation-timeline: --vision-timeline;
    /* Use the entire pinned scroll duration for the slow orbit */
    animation-range: contain 0% contain 100%;
    animation-fill-mode: both;
    filter: drop-shadow(0 0 0.9375rem rgba(0, 242, 254, 0.4));
}

/* Individual Icon Starting Positions and Keyframes */
.icon-1 { animation-name: orbit-1; }
.icon-2 { animation-name: orbit-2; }
.icon-3 { animation-name: orbit-3; }
.icon-4 { animation-name: orbit-4; }
.icon-5 { animation-name: orbit-5; }
.icon-6 { animation-name: orbit-6; }
.icon-7 { animation-name: orbit-7; }
.icon-8 { animation-name: orbit-8; }

/* Let images appear slowly as a scroll and move around the oval */
@keyframes orbit-1 {
    0%   { offset-distance: 0%; opacity: 0; transform: scale(0.5); }
    15%  { opacity: 1; transform: scale(1); }
    100% { offset-distance: 100%; opacity: 1; transform: scale(1); }
}

@keyframes orbit-2 {
    0%   { offset-distance: 12.5%; opacity: 0; transform: scale(0.5); }
    5%   { opacity: 0; transform: scale(0.5); }
    20%  { opacity: 1; transform: scale(1); }
    100% { offset-distance: 112.5%; opacity: 1; transform: scale(1); }
}

@keyframes orbit-3 {
    0%   { offset-distance: 25%; opacity: 0; transform: scale(0.5); }
    10%  { opacity: 0; transform: scale(0.5); }
    25%  { opacity: 1; transform: scale(1); }
    100% { offset-distance: 125%; opacity: 1; transform: scale(1); }
}

@keyframes orbit-4 {
    0%   { offset-distance: 37.5%; opacity: 0; transform: scale(0.5); }
    15%  { opacity: 0; transform: scale(0.5); }
    30%  { opacity: 1; transform: scale(1); }
    100% { offset-distance: 137.5%; opacity: 1; transform: scale(1); }
}

@keyframes orbit-5 {
    0%   { offset-distance: 50%; opacity: 0; transform: scale(0.5); }
    20%  { opacity: 0; transform: scale(0.5); }
    35%  { opacity: 1; transform: scale(1); }
    100% { offset-distance: 150%; opacity: 1; transform: scale(1); }
}

@keyframes orbit-6 {
    0%   { offset-distance: 62.5%; opacity: 0; transform: scale(0.5); }
    25%  { opacity: 0; transform: scale(0.5); }
    40%  { opacity: 1; transform: scale(1); }
    100% { offset-distance: 162.5%; opacity: 1; transform: scale(1); }
}

@keyframes orbit-7 {
    0%   { offset-distance: 75%; opacity: 0; transform: scale(0.5); }
    30%  { opacity: 0; transform: scale(0.5); }
    45%  { opacity: 1; transform: scale(1); }
    100% { offset-distance: 175%; opacity: 1; transform: scale(1); }
}

@keyframes orbit-8 {
    0%   { offset-distance: 87.5%; opacity: 0; transform: scale(0.5); }
    35%  { opacity: 0; transform: scale(0.5); }
    50%  { opacity: 1; transform: scale(1); }
    100% { offset-distance: 187.5%; opacity: 1; transform: scale(1); }
}

/* Mobile Vision Animation Override */
@media (max-width: 767px) {
    .vision-scroll-section {
        height: 100vh !important; /* Standard height */
        margin-top: 0 !important;
        margin-bottom: 5rem !important; /* Extra space to buffer the magazine color transition */
        overflow: hidden !important;
    }

    .vision-icon {
        offset-path: none !important; /* Remove oval path for straight lines */
        animation-timeline: auto !important; /* Disconnect from scroll */
        animation-duration: 7.06s !important; /* Increased speed by 50% */
        animation-timing-function: linear !important;
        animation-iteration-count: infinite !important;
        opacity: 1 !important; /* Always fully visible */
        width: 13.5rem !important; /* Reduced by 20% from 270px */
        z-index: 20 !important;
        
        /* Start from center so translations are perfectly symmetrical */
        left: 50% !important;
        margin-left: -6.75rem !important; /* Offset by half the width */
    }

    /* Top row - moving right */
    .icon-1, .icon-2, .icon-3, .icon-4 {
        bottom: calc(50% + 4.375rem) !important; /* Safely positioned just above the center text */
        top: auto !important;
        animation-name: mobile-slide-right-continuous !important;
    }
    
    .icon-1 { animation-delay: 0s !important; }
    .icon-2 { animation-delay: -1.765s !important; }
    .icon-3 { animation-delay: -3.53s !important; }
    .icon-4 { animation-delay: -5.295s !important; }

    /* Bottom row - moving left */
    .icon-5, .icon-6, .icon-7, .icon-8 {
        top: calc(50% + 4.375rem) !important; /* Safely positioned just below the center text */
        bottom: auto !important;
        animation-name: mobile-slide-left-continuous !important;
    }

    .icon-5 { animation-delay: 0s !important; }
    .icon-6 { animation-delay: -1.765s !important; }
    .icon-7 { animation-delay: -3.53s !important; }
    .icon-8 { animation-delay: -5.295s !important; }

    @keyframes mobile-slide-right-continuous {
        0% { transform: translateX(-27.25rem); } /* Total 872px track = exactly 2px gap */
        100% { transform: translateX(27.25rem); }
    }

    @keyframes mobile-slide-left-continuous {
        0% { transform: translateX(27.25rem); }
        100% { transform: translateX(-27.25rem); }
    }

    /* Specific override to reduce Quantum Computing icon size by 20% on mobile */
    .icon-7 {
        width: 13.125rem !important;
        margin-left: -6.5625rem !important;
    }
}

/* Magazines Section */
#magazines {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 5.5rem 2rem 2.5rem !important;
    box-sizing: border-box;
    background-image: linear-gradient(180deg, rgba(8, 9, 13, 0.72) 0%, rgba(10, 12, 18, 0.8) 100%), url('mag back.webp') !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-attachment: scroll;
    position: relative;
    width: 100%;
}

#magazines .container {
    width: 100%;
    max-width: 82rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

#magazines .section-title {
    margin-top: 0 !important;
    margin-bottom: 2.75rem !important;
    text-align: center;
    position: relative;
    z-index: 10;
}

.magazine-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: clamp(1.5rem, 2.5vw, 2.5rem);
    width: 100%;
}

.magazine-card {
    width: 100%;
    max-width: 21.25rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative; /* Anchor for page curl pseudo-element */
    backface-visibility: hidden;
    transform: none;
    border: 1px solid rgba(255,255,255,0.05);
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* Page curl corner shadow/fold element */
.magazine-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, rgba(10, 10, 20, 0) 45%, rgba(0, 242, 254, 0.4) 50%, #ffffff 56%);
    box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.4);
    z-index: 12;
    pointer-events: none;
}

/* Scroll reveal state */
.magazine-card.in-view {
    opacity: 1;
    filter: none;
    transform: none;
}

.magazine-card:hover {
    transform: translateY(-0.9375rem) scale(1.03);
    box-shadow: 0 1.25rem 2.5rem rgba(0, 242, 254, 0.15), 0 0 1.875rem rgba(157, 138, 255, 0.15);
    border-color: rgba(0, 242, 254, 0.4);
    /* Cut bottom-right corner to allow fold look */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.875rem), calc(100% - 1.875rem) 100%, 0 100%);
}

.magazine-card:hover::after {
    width: 1.875rem;
    height: 1.875rem;
}

.magazine-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
}

/* Premium Shine Sweep Effect */
.magazine-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: -150%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: all 0.7s ease;
    z-index: 2;
    pointer-events: none;
}

.magazine-card:hover .magazine-image-wrapper::after {
    left: 150%;
}

.magazine-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease;
}

.magazine-card:hover .magazine-cover {
    transform: scale(1.1);
    filter: saturate(1.2) contrast(1.1);
}

.magazine-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.magazine-card:hover .magazine-overlay {
    opacity: 1;
}

.placeholder-cover {
    width: 100%;
    height: 100%;
    background: var(--bg-surface-light);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.magazine-details {
    padding: 1.5rem;
}

.magazine-details .date {
    font-size: 0.85rem;
    color: var(--accent-purple);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.magazine-details h3 {
    margin: 0.5rem 0;
    font-size: 1.3rem;
}

.magazine-details p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Magazine Marquee Banner Styling */
.magazine-marquee-wrapper {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    background: rgba(0, 242, 254, 0.05);
    color: var(--accent-cyan);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.6rem 0;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: calc(100% + 3rem); /* Escape parent padding */
    margin-left: -1.5rem;
    margin-bottom: -1.5rem; /* Flush to bottom */
}

.magazine-marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: flex-start;
    min-width: 100%;
    animation: magazine-marquee-anim 10s linear infinite;
}

.magazine-marquee-content span {
    display: inline-block;
    padding-right: 0;
}

@keyframes magazine-marquee-anim {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

/* Magazine Actions Button Group */
.magazine-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0 0.5rem 0;
    width: 100%;
    align-items: center; /* Center aligned */
}

.magazine-actions .btn {
    width: 100%;
    max-width: 18.75rem; /* Perfect width for desktop/mobile consistency */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem; /* Taller and wider padding */
    font-size: 1rem; /* Larger font size */
    font-weight: 600;
    border-radius: 8px; /* Slightly rounder edges */
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Responsive styles for magazine card row layout */
@media (min-width: 992px) {
    #magazines {
        height: 100vh;
        max-height: 100vh;
        padding-top: 5.25rem !important;
        padding-bottom: 2rem !important;
        justify-content: flex-start !important;
        overflow: hidden;
    }

    #magazines .section-title {
        margin-top: 0 !important;
        margin-bottom: 2.75rem !important;
    }

    .magazine-grid {
        gap: clamp(1.5rem, 3vw, 2.75rem);
        max-height: 56vh;
    }

    .magazine-card {
        max-width: 36.5rem !important;
        flex: 1 1 0px !important;
        height: clamp(300px, 46vh, 400px) !important;
        flex-direction: row !important;
        align-items: stretch;
        border-radius: 1.25rem;
    }
    
    .magazine-image-wrapper {
        width: clamp(13rem, 16vw, 17.5rem) !important;
        height: 100% !important;
        flex-shrink: 0;
        aspect-ratio: auto !important;
    }

    .magazine-cover {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .magazine-details {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: clamp(1.25rem, 2vh, 1.85rem);
    }

    .magazine-details .date {
        font-size: 0.9rem;
    }

    .magazine-details h3 {
        font-size: clamp(1.35rem, 1.6vw, 1.75rem);
        margin: 0.35rem 0;
    }

    .magazine-actions {
        margin-top: auto !important;
        gap: 0.6rem;
        width: 100%;
    }

    .magazine-actions .btn {
        max-width: 100%;
        padding: clamp(0.65rem, 1.2vh, 0.85rem) 1.25rem;
        font-size: 0.95rem;
    }

    .magazine-marquee-wrapper {
        width: calc(100% + 3rem) !important;
        margin-left: -1.5rem !important;
        margin-bottom: -1.5rem !important;
        margin-top: 1.25rem !important;
    }
}

/* =============================================
   PODCAST BANNER (clickable entry box)
   ============================================= */
/* =============================================
   PODCAST TRIGGER BOX (Rectangular Box on Page)
   ============================================= */
.podcast-trigger-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 3rem 3.5rem;
    background-image: linear-gradient(135deg, rgba(16, 18, 29, 0.65), rgba(10, 12, 20, 0.72)), url('podcast.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.podcast-trigger-box:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 242, 254, 0.5);
    box-shadow: 0 1.25rem 3.125rem rgba(0, 242, 254, 0.18), inset 0 1px 0 rgba(255,255,255,0.08);
    background-image: linear-gradient(135deg, rgba(22, 26, 42, 0.65), rgba(14, 17, 28, 0.72)), url('podcast.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.podcast-trigger-tag {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 0.75rem;
    display: block;
    opacity: 0.9;
}

.podcast-trigger-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #fff;
    line-height: 1.2;
}

.podcast-trigger-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.podcast-trigger-arrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #050510;
    font-weight: 700;
    font-size: 1.05rem;
    white-space: nowrap;
    margin-left: 2.5rem;
    flex-shrink: 0;
    padding: 0.9rem 1.8rem;
    border-radius: 3.125rem;
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 1.25rem rgba(0, 242, 254, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.podcast-trigger-box:hover .podcast-trigger-arrow {
    background: linear-gradient(135deg, #00f2fe 0%, #00c6ff 100%);
    color: #050510;
    gap: 1.1rem;
    transform: translateY(-2px);
    box-shadow: 0 8px 1.875rem rgba(0, 242, 254, 0.55), 0 0 1rem rgba(79, 172, 254, 0.4);
}

.podcast-trigger-box:hover .podcast-trigger-arrow svg {
    transform: translateX(4px);
    transition: transform 0.3s ease;
}

/* =============================================
   FULLSCREEN PODCAST OVERLAY MODAL (WINDOW)
   ============================================= */
.podcast-overlay-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background-image: url('podcast.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: scroll;
    overflow-y: auto;
    display: none;
    opacity: 0;
    transition: opacity 0.35s ease;
    padding: 3rem 1.5rem 6rem;
    --podcast-darkness: 0;
}

/* Base persistent overlay for initial top state (darkened very slightly for clear contrast) */
.podcast-overlay-modal::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 9, 14, 0.48) 0%, rgba(8, 9, 14, 0.32) 35%, rgba(8, 9, 14, 0.40) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Dynamic dark overlay that fades in as user scrolls down towards the cards */
.podcast-overlay-modal::after {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 9, 14, 0.70) 0%, rgba(8, 9, 14, 0.76) 100%);
    opacity: var(--podcast-darkness, 0);
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.08s ease-out;
}

.podcast-overlay-content {
    position: relative;
    z-index: 1;
}

.podcast-overlay-modal.active {
    display: block;
    opacity: 1;
}

.podcast-overlay-header {
    position: sticky;
    top: 1.25rem;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 2rem;
    pointer-events: none;
}

.podcast-modal-back-btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.65rem 1.45rem;
    border-radius: 6.25rem;
    background: rgba(10, 14, 24, 0.85);
    border: 1.5px solid rgba(0, 210, 255, 0.85);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 16px rgba(0, 210, 255, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.podcast-modal-back-btn svg {
    color: #00f2fe;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.podcast-modal-back-btn:hover {
    background: rgba(0, 210, 255, 0.22);
    border-color: #00f2fe;
    color: #00f2fe;
    transform: translateY(-2px);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.7),
        0 0 24px rgba(0, 242, 254, 0.6),
        inset 0 1px 2px rgba(255, 255, 255, 0.35);
}

.podcast-modal-back-btn:hover svg {
    transform: translateX(-4px);
    color: #ffffff;
}

.podcast-modal-back-btn:active {
    transform: translateY(1px) scale(0.97);
}

.podcast-modal-back-btn:focus-visible {
    outline: 2px solid #00f2fe;
    outline-offset: 3px;
}

.podcast-overlay-intro {
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 5.5rem;
}

/* =============================================
   PODCAST TRAPEZOID SHAPE HEADER CONTAINER
   ============================================= */
.podcast-trapezoid-wrapper {
    display: inline-block;
    position: relative;
    width: fit-content;
    max-width: 92%;
    margin: 0 auto;
    filter: drop-shadow(0 0.9375rem 2.5rem rgba(0, 0, 0, 0.7)) drop-shadow(0 0 1.5625rem rgba(0, 242, 254, 0.2));
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.podcast-trapezoid-wrapper:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 1.25rem 2.8125rem rgba(0, 0, 0, 0.8)) drop-shadow(0 0 2.1875rem rgba(0, 242, 254, 0.35));
}

.podcast-trapezoid-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}

.podcast-trapezoid-content {
    position: relative;
    z-index: 1;
    padding: 2.2rem 4.5rem;
    text-align: center;
    backdrop-filter: blur(1.75rem) saturate(140%);
    -webkit-backdrop-filter: blur(1.75rem) saturate(140%);
    border-radius: 1.25rem;
}

.podcast-trapezoid-content .section-title {
    font-size: 2.6rem;
    margin-bottom: 0.6rem;
    white-space: nowrap;
    color: #ffffff;
    text-shadow: 0 2px 0.625rem rgba(0, 0, 0, 0.6);
}

.podcast-trapezoid-content .section-desc {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.5;
    white-space: nowrap;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .podcast-overlay-modal {
        padding: 1.5rem 1rem 5rem;
    }
    .podcast-overlay-header {
        top: 0.85rem;
        margin-bottom: 1.5rem;
    }
    .podcast-modal-back-btn {
        padding: 0.55rem 1.2rem;
        font-size: 0.88rem;
        gap: 0.45rem;
    }
    .podcast-trigger-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 2rem;
    }
    .podcast-trigger-arrow {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
    .podcast-overlay-intro {
        margin-bottom: 3.5rem;
    }
    .podcast-trapezoid-border,
    .podcast-trapezoid-content {
        clip-path: polygon(7% 0%, 93% 0%, 100% 100%, 0% 100%);
    }
    .podcast-trapezoid-content {
        padding: 1.8rem 3.2rem;
    }
    .podcast-trapezoid-content .section-title {
        font-size: 2.1rem;
    }
}

@media (max-width: 640px) {
    .podcast-trapezoid-wrapper {
        width: 94%;
    }
    .podcast-trapezoid-content .section-title,
    .podcast-trapezoid-content .section-desc {
        white-space: normal;
    }
    .podcast-trapezoid-border,
    .podcast-trapezoid-content {
        clip-path: polygon(5% 0%, 95% 0%, 100% 100%, 0% 100%);
    }
    .podcast-trapezoid-content {
        padding: 1.6rem 2rem;
    }
    .podcast-trapezoid-content .section-title {
        font-size: 1.8rem;
    }
    .podcast-trapezoid-content .section-desc {
        font-size: 0.95rem;
    }
}

@media (max-width: 400px) {
    .podcast-trapezoid-border,
    .podcast-trapezoid-content {
        clip-path: polygon(3% 0%, 97% 0%, 100% 100%, 0% 100%);
    }
    .podcast-trapezoid-content {
        padding: 1.4rem 1.4rem;
    }
    .podcast-trapezoid-content .section-title {
        font-size: 1.55rem;
    }
}

.podcast-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 87.5rem;
    margin: 2rem auto 0;
    padding-bottom: 5rem;
}

.podcast-item {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(1.75rem) saturate(140%);
    -webkit-backdrop-filter: blur(1.75rem) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 1.25rem 3.125rem rgba(0, 0, 0, 0.45), 
                inset 0 1.5px 1.5px rgba(255, 255, 255, 0.45),
                inset 0 -1px 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                background 0.3s ease,
                border-color 0.3s ease, 
                box-shadow 0.3s ease;
}

.podcast-item:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 100%);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 1.5625rem 3.75rem rgba(0, 0, 0, 0.55), 
                0 0 1.875rem rgba(255, 255, 255, 0.18),
                inset 0 1.5px 2px rgba(255, 255, 255, 0.6);
}

.podcast-video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.podcast-video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.podcast-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.75rem;
}

/* Badges row */
.podcast-badges {
    display: flex;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.podcast-badge {
    padding: 5px 0.875rem;
    border-radius: 3.125rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(0.625rem);
    -webkit-backdrop-filter: blur(0.625rem);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: inline-block;
}

.badge-green {
    background: rgba(0, 210, 133, 0.22);
    border-color: rgba(0, 210, 133, 0.45);
    color: #00ffaa;
}

.badge-cyan {
    background: rgba(0, 242, 254, 0.22);
    border-color: rgba(0, 242, 254, 0.45);
    color: #00f2fe;
}

.badge-purple {
    background: rgba(168, 85, 247, 0.22);
    border-color: rgba(168, 85, 247, 0.45);
    color: #d8b4fe;
}

.podcast-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.5;
    color: #ffffff;
    text-shadow: 0 2px 0.625rem rgba(0, 0, 0, 0.6);
}

.podcast-info p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.podcast-meta {
    margin-top: auto;
}

.duration {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
}

/* =============================================
   PODCAST OVERLAY CINEMATIC ANIMATIONS
   ============================================= */
@keyframes podcastIntroEnter {
    0% {
        opacity: 0;
        transform: translateY(1.25rem);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.podcast-overlay-modal.active .podcast-trapezoid-wrapper {
    animation: podcastIntroEnter 0.4s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    animation-delay: 0.05s;
}

@keyframes podcastCardEnter {
    0% {
        opacity: 0;
        transform: translateY(1.25rem) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.podcast-overlay-modal.active .podcast-item {
    animation: podcastCardEnter 0.45s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

/* Fast & snappy card entrance sequence */
.podcast-overlay-modal.active .podcast-item:nth-child(1) { animation-delay: 0.08s; }
.podcast-overlay-modal.active .podcast-item:nth-child(2) { animation-delay: 0.14s; }
.podcast-overlay-modal.active .podcast-item:nth-child(3) { animation-delay: 0.20s; }
.podcast-overlay-modal.active .podcast-item:nth-child(4) { animation-delay: 0.26s; }
.podcast-overlay-modal.active .podcast-item:nth-child(5) { animation-delay: 0.32s; }
.podcast-overlay-modal.active .podcast-item:nth-child(6) { animation-delay: 0.38s; }

/* Light Sweep Effect */
.podcast-video-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    pointer-events: none;
    z-index: 10;
}

@keyframes podcastSweep {
    0% { left: -150%; }
    100% { left: 200%; }
}

/* Trigger sweeps after cards settle */
.podcast-overlay-modal.active .podcast-item:nth-child(1) .podcast-video-wrapper::after { animation: podcastSweep 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; animation-delay: 1.7s; }
.podcast-overlay-modal.active .podcast-item:nth-child(2) .podcast-video-wrapper::after { animation: podcastSweep 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; animation-delay: 1.85s; }
.podcast-overlay-modal.active .podcast-item:nth-child(3) .podcast-video-wrapper::after { animation: podcastSweep 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; animation-delay: 2.0s; }
.podcast-overlay-modal.active .podcast-item:nth-child(4) .podcast-video-wrapper::after { animation: podcastSweep 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; animation-delay: 2.15s; }
.podcast-overlay-modal.active .podcast-item:nth-child(5) .podcast-video-wrapper::after { animation: podcastSweep 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; animation-delay: 2.3s; }
.podcast-overlay-modal.active .podcast-item:nth-child(6) .podcast-video-wrapper::after { animation: podcastSweep 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; animation-delay: 2.45s; }


/* --- General Scroll Animations (IntersectionObserver) --- */
.animate-up {
    opacity: 0;
    transform: translateY(2.5rem);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade {
    opacity: 0;
    transition: opacity 1s ease;
}
.animate-fade.in-view {
    opacity: 1;
}

/* Delay classes for staggered reveals */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

@media (max-width: 992px) {
    .podcast-list {
        grid-template-columns: 1fr;
        max-width: 37.5rem;
        gap: 2rem;
    }
}

/* Members Section */
.members-scroll-section {
    height: 230vh; /* set to 230vh on desktop site */
    padding: 0;
    position: relative;
}

.members-sticky-container {
    position: sticky;
    top: 0px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(20, 20, 28, 0.4) 0%, rgba(10, 10, 12, 1) 100%);
}

#members-social .members-sticky-container {
    background-image: linear-gradient(180deg, rgba(8, 9, 13, 0.15) 0%, rgba(10, 12, 18, 0.25) 100%), url('soc back.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
}

#members-design .members-sticky-container {
    background-image: linear-gradient(180deg, rgba(8, 9, 13, 0.15) 0%, rgba(10, 12, 18, 0.25) 100%), url('des back.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
}

#members-research .members-sticky-container {
    background-image: linear-gradient(180deg, rgba(8, 9, 13, 0.15) 0%, rgba(10, 12, 18, 0.25) 100%), url('resh back.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
}

.members-sticky-container .section-title {
    position: absolute;
    top: 85px; /* Safe distance below the floating taskbar */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 100%;
    font-size: clamp(2rem, 2.8vw, 2.75rem);
    margin-bottom: 0;
    pointer-events: none;
    color: #ffffff;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.7));
}

.members-sticky-container .section-title .gradient-text {
    background: linear-gradient(135deg, #00f2fe 0%, #38ef7d 50%, #00f2fe 100%) !important;
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: none !important;
    filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.65));
}

/* Scroll Progress Bar for Members Section */
.scroll-progress-container {
    width: 64%;
    max-width: 30rem;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    z-index: 10;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: #ffffff; /* Solid white to ensure visibility */
    border-radius: 4px;
    transform-origin: left;
    will-change: width;
}

/* =========================================
   Team Categories Toggle
   ========================================= */
.team-categories-section {
    min-height: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    position: sticky;
    top: -5.625rem;
    z-index: 50;
    pointer-events: none;
}

.team-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    pointer-events: auto;
}

.team-category-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1.25rem;
    padding: 2rem;
    cursor: pointer;
    overflow: hidden;
    backdrop-filter: blur(0.625rem);
    -webkit-backdrop-filter: blur(0.625rem);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    z-index: 1;
    min-height: 11.25rem;
}

.team-category-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 120%, var(--glow-color, rgba(255,255,255,0.1)) 0%, transparent 60%);
    opacity: 0.5;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.team-category-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--glow-color, var(--glass-border));
    box-shadow: 0 -5px 1.25rem var(--glow-color, transparent);
    z-index: -1;
    transition: box-shadow 0.4s ease, height 0.4s ease;
}

.team-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.9375rem 1.875rem rgba(0,0,0,0.3);
}

.team-category-card:hover::before {
    opacity: 0.8;
}

.team-category-card:hover::after {
    height: 4px;
    box-shadow: 0 -8px 1.875rem var(--glow-color, transparent);
}

/* Specific Card Themes */
.social-card {
    --glow-color: rgba(255, 107, 0, 0.8); /* Orange */
}

.design-card {
    --glow-color: rgba(0, 157, 255, 0.8); /* Blue */
}

.research-card {
    --glow-color: rgba(0, 255, 136, 0.8); /* Green */
}

.team-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
}

.team-category-card h3 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--text-primary);
}

.card-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    height: 100%;
}

.card-right {
    position: relative;
    width: 100%;
    height: 100%;
}

.state-view, .state-collapse {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 0;
    pointer-events: none;
}

.state-view {
    opacity: 1;
    transform: translateY(0);
}

.team-category-card.is-open .state-view {
    opacity: 0;
    transform: translateY(-0.625rem);
}

.team-category-card.is-open .state-collapse {
    opacity: 1;
    transform: translateY(0);
}

.state-collapse {
    transform: translateY(0.625rem);
}

.state-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.state-arrow {
    width: 100%;
    max-height: 4rem;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.team-category-card:hover .state-view .state-arrow {
    opacity: 1;
    transform: translateY(5px);
}

.team-category-card.is-open:hover .state-collapse .state-arrow {
    opacity: 1;
    transform: translateY(-5px);
}

.team-section-visible {
    display: block !important;
    animation: fadeInSection 0.6s ease forwards;
}

@keyframes fadeInSection {
    from { opacity: 0; transform: translateY(1.25rem); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .team-categories-grid {
        grid-template-columns: 1fr;
    }
}

.members-track-container {
    perspective: 75rem;
    width: 100vw;
    display: flex;
    align-items: center;
    height: 60vh;
    margin-top: 55px; /* Shift cards down so they don't touch the section title */
}

.members-grid {
    display: flex;
    gap: 0.5rem;
    width: max-content;
    padding: 0 calc(50vw - 10rem); /* Centers the 320px card perfectly */
    transform-style: preserve-3d;
    will-change: transform;
}

.member-card {
    position: relative;
    padding: 2.5rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%), rgba(10, 13, 22, 0.50);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 1.25rem;
    overflow: hidden;
    z-index: 1;
    width: 20rem;
    min-height: 23.75rem; /* Uniform height matching Social Media team boxes */
    flex-shrink: 0;
    transform-origin: center center;
    will-change: transform, opacity;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    /* transition removed for smooth js scrub */
}

.member-card:hover {
    border-color: rgba(255, 255, 255, 0.32);
    border-top-color: rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 100%), rgba(14, 18, 30, 0.60);
    box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.5), 0 0 1.5rem rgba(0, 242, 254, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.avatar {
    width: 6.25rem;
    height: 6.25rem;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-cyan);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.member-card h3 {
    margin-bottom: 0.2rem;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.role {
    font-size: 0.9rem;
    color: #4facfe;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.35;
    display: inline-block;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.member-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.linkedin-btn {
    margin-top: auto;
    padding: 8px 1.25rem;
    font-size: 0.85rem;
    border-radius: 6px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.linkedin-btn::before {
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    background-color: #0A66C2;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14m-.5 15.5v-5.3a3.26 3.26 0 0 0-3.26-3.26c-.85 0-1.84.52-2.28 1.3v-1.11h-2.79v8.37h2.79v-4.93c0-.77.62-1.4 1.39-1.4a1.4 1.4 0 0 1 1.4 1.4v4.93h2.75M6.46 10.9v8.37H9.25V10.9H6.46M7.86 6.75a1.45 1.45 0 1 0 0 2.9 1.45 1.45 0 0 0 0-2.9z'/%3E%3C/svg%3E") no-repeat center / contain;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14m-.5 15.5v-5.3a3.26 3.26 0 0 0-3.26-3.26c-.85 0-1.84.52-2.28 1.3v-1.11h-2.79v8.37h2.79v-4.93c0-.77.62-1.4 1.39-1.4a1.4 1.4 0 0 1 1.4 1.4v4.93h2.75M6.46 10.9v8.37H9.25V10.9H6.46M7.86 6.75a1.45 1.45 0 1 0 0 2.9 1.45 1.45 0 0 0 0-2.9z'/%3E%3C/svg%3E") no-repeat center / contain;
    transition: transform 0.2s ease;
}

.linkedin-btn:hover::before {
    transform: scale(1.15);
}

.linkedin-btn::after {
    content: '↗';
    font-size: 0.9em;
    font-weight: 600;
    margin-left: 2px;
    display: inline-block;
    transition: transform 0.2s ease;
}

.linkedin-btn:hover::after {
    transform: translate(2px, -2px);
}


/* Animated Footer Section */
.animated-footer-section {
    background-color: #3b3b3b;
    padding: 2rem 2rem 1.25rem;
    position: relative;
    overflow: hidden;
    min-height: auto;
    display: flex;
    justify-content: center;
}

.footer-main-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 87.5rem;
    gap: 2rem;
}

.footer-left-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.65rem;
}

.footer-right-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.footer-logos-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.75rem;
}

.footer-mmcoe-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: clamp(8.5rem, 15vw, 13rem);
    width: auto;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
    text-decoration: none;
}

.footer-mmcoe-link:hover {
    transform: scale(1.06);
    filter: brightness(1.1);
}

.footer-mmcoe-logo,
.footer-large-logo {
    height: clamp(8.5rem, 15vw, 13rem);
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.45));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-mmcoe-logo:hover,
.footer-large-logo:hover {
    transform: scale(1.04);
}

.footer-logo-divider {
    width: 1.5px;
    height: clamp(6.5rem, 11vw, 10rem);
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.25) 20%, rgba(255, 255, 255, 0.25) 80%, transparent);
    border-radius: 1px;
}

.footer-copyright {
    margin-top: 0;
    font-size: 0.85rem;
    color: #9ca3af;
}

.footer-copyright p {
    margin: 0;
    padding: 0;
}

.footer-callout {
    text-align: left;
    margin: 0;
    padding: 0;
}

.footer-callout-title {
    font-family: 'Sen 2', var(--font-heading) !important;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.footer-callout-subtitle {
    font-family: 'Sen 2', var(--font-main) !important;
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    font-weight: 400;
    color: #a1a1aa;
    letter-spacing: 0.02em;
    line-height: 1.4;
    margin: 0;
}

.footer-social-grid {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.25rem;
    margin: 0.25rem 0;
}

.social-drop-zone {
    width: 5rem;
    height: 5rem;
    border-radius: 1.25rem;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    box-shadow: none;
}

.wb-footer-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    border: 2px solid white;
    border-radius: 1.25rem;
    padding: 0.75rem;
    background-color: #050505;
    width: fit-content;
    margin: 0 auto;
}

.wb-footer-title {
    font-family: var(--font-main);
    font-weight: 900;
    font-size: 1.1rem;
    line-height: 1.2;
    color: #ffffff;
    text-align: center;
    margin-bottom: 1rem;
    white-space: nowrap;
}

/* Footer Copyright */
.footer-copyright {
    margin-top: 2.5rem;
}

.footer-copyright p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-family: var(--font-main);
    margin: 0;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.2; }
    100% { transform: scale(1.1); opacity: 0.3; }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding-top: 2rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .featured-issue {
        transform: none;
    }
    
    .featured-issue:hover {
        transform: scale(1.02);
    }
}

@media (max-width: 768px) {
    /* Prevent horizontal scrollbars globally on mobile */
    html, body {
        overflow-x: clip;
        width: 100%;
    }

    /* Reduce spacing between sections */
    .section {
        padding: 3.75rem 1rem 2rem;
    }

    /* Home Section Mobile: Proper scroll locking matching desktop site */
    #home {
        height: 180vh !important;
        min-height: 180vh !important;
    }

    .canvas-container {
        position: sticky !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        z-index: 0 !important;
    
    transform: translateZ(0);
    will-change: transform;}

    /* Navbar */
    /* Sidebar handles its own hiding via transform, no need to display:none here anymore */

    /* Hero Section */
    .hero {
        gap: 1.5rem;
        padding-top: 1rem;
        padding-bottom: 0.5rem;
    }
    .hero-visual {
        margin-bottom: 2rem;
    }
    .hero-logo {
        transform: scale(1.08);
        max-height: 35vh;
    }
    .hero-logo:hover {
        transform: scale(1.13);
    }
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3.2rem);
        margin-bottom: 1.5rem;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    .hero-cta {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
        gap: 1rem;
    }
    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }

    /* Vision Section - Orbital Animation */
    .vision-scroll-section {
        /* Make the pinning last much longer on mobile so they can read and watch */
        height: 500vh; 
    }
    .vision-icon {
        /* Smaller oval path to definitively prevent horizontal overflow */
        offset-path: ellipse(65vw 25vh at 50% 50%);
        /* Increased image size as requested */
        width: clamp(5rem, 20vw, 9.375rem); 
        /* Finish the animation early (at 60% of scroll) so it remains locked and fully visible */
        animation-range: contain 0% contain 60%;
    }
    .vision-center-text {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    /* Magazines */
    .magazine-grid {
        gap: 2rem;
    }
    .magazine-card {
        max-width: 100%;
    }

    #members-core {
        padding-bottom: 0.8rem !important;
    }

    /* Members Section Mobile: Unlinked sideways swipe and clearly visible progress bar */
    .members-scroll-section {
        height: auto !important;
        min-height: auto !important;
        padding: 0.8rem 0 0.6rem !important;
        position: relative !important;
        overflow: hidden !important;
    }
    .members-sticky-container {
        position: relative !important;
        top: auto !important;
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }
    .members-sticky-container .section-title {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        font-size: clamp(1.75rem, 6.5vw, 2.25rem) !important;
        margin-bottom: 0.75rem !important;
        text-align: center !important;
        pointer-events: auto !important;
    }
    .members-track-container {
        perspective: none !important;
        width: 100% !important;
        max-width: 100vw !important;
        height: auto !important;
        margin-top: 0 !important;
        display: block !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth !important;
        scroll-snap-type: x mandatory !important;
        overscroll-behavior-x: contain !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        padding: 0.5rem 0 0.75rem !important;
    }
    .members-track-container::-webkit-scrollbar {
        display: none !important;
    }
    .members-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 1.25rem !important;
        width: max-content !important;
        padding: 0 1.5rem !important;
        transform: none !important;
        transform-style: flat !important;
    }
    .member-card {
        scroll-snap-align: center !important;
        width: 17.5rem !important;
        min-height: 23rem !important;
        flex-shrink: 0 !important;
        transform: none !important;
        opacity: 1 !important;
        padding: 1.75rem 1.25rem !important;
    }
    .scroll-progress-container {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 0.6rem auto 0.2rem !important;
        width: 60% !important;
        max-width: 18rem !important;
        height: 6px !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border-radius: 4px !important;
        overflow: hidden !important;
        z-index: 10 !important;
        display: block !important;
    }
    .scroll-progress-bar {
        height: 100% !important;
        width: 0%;
        background: #ffffff !important;
        border-radius: 4px !important;
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.6) !important;
    }
    .animated-footer-section {
        padding: 1.5rem 1rem;
        min-height: 100vh; /* Fit in one screen */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-main-layout {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem; /* Reduced spacing */
        width: 100%;
    }

    .footer-left-content,
    .footer-right-content {
        display: contents;
    }

    .footer-callout {
        order: 1;
        text-align: center;
    }

    .footer-callout-title {
        font-size: 2rem !important;
    }

    .footer-callout-subtitle {
        font-size: 1rem !important;
    }

    .footer-logos-container {
        order: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(0.6rem, 2.5vw, 1rem);
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }

    .footer-mmcoe-link {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: clamp(6.5rem, 22vw, 9rem) !important;
        width: auto !important;
        flex-shrink: 0 !important;
    }

    .footer-mmcoe-logo,
    .footer-large-logo {
        height: clamp(6.5rem, 22vw, 9rem) !important;
        max-height: clamp(6.5rem, 22vw, 9rem) !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        object-fit: contain !important;
        flex-shrink: 0 !important;
    }

    .footer-logo-divider {
        height: clamp(5rem, 18vw, 7.5rem);
        width: 1.5px;
        flex-shrink: 0;
    }

    .footer-social-grid {
        order: 3;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap; /* Keep in one line */
        justify-content: center;
        align-items: center;
        gap: 0.65rem;
        margin: 0.25rem auto;
        width: 100%;
    }

    .footer-copyright {
        order: 4;
        margin-top: 0;
        font-size: 0.8rem;
        text-align: center;
    }

    .social-drop-zone {
        width: 2.85rem;
        height: 2.85rem;
        border-radius: 0.75rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
}
/* Clockwise Border Marquee Styles */
.magazine-card-marquee-wrapper {
    position: relative;
    padding: 1.5rem; /* Space for the 24px border marquee */
    background: rgba(20, 20, 24, 0.5);
    border-radius: 1.5rem;
    border: 1px solid rgba(0, 242, 254, 0.2);
    box-shadow: 0 0.9375rem 2.5rem rgba(0, 0, 0, 0.4), 0 0 1.25rem rgba(0, 242, 254, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.magazine-card-marquee-wrapper:hover {
    border-color: rgba(0, 242, 254, 0.4);
    box-shadow: 0 0.9375rem 2.5rem rgba(0, 0, 0, 0.5), 0 0 1.875rem rgba(0, 242, 254, 0.15);
    transform: translateY(-5px);
}

/* Ensure the nested card fills the wrapper nicely without its own hover animation conflicts */
.magazine-card-marquee-wrapper .magazine-card {
    margin: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}
.magazine-card-marquee-wrapper .magazine-card:hover {
    transform: none;
}

.border-marquee {
    position: absolute;
    background: var(--accent-gradient);
    color: var(--bg-dark);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    overflow: hidden;
    display: flex;
    z-index: 5;
    user-select: none;
}

/* Position strips around the edges */
.border-marquee.top {
    top: 0;
    left: 0;
    width: 100%;
    height: 1.5rem;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.border-marquee.bottom {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5rem;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.border-marquee.left {
    top: 1.5rem;
    left: 0;
    width: 1.5rem;
    height: calc(100% - 3rem);
    writing-mode: vertical-rl;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(0, 0, 0, 0.15);
}

.border-marquee.right {
    top: 1.5rem;
    right: 0;
    width: 1.5rem;
    height: calc(100% - 3rem);
    writing-mode: vertical-rl;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(0, 0, 0, 0.15);
}

/* Horizontal scrolling tracks */
.marquee-track-right {
    display: flex;
    width: max-content;
    animation: marquee-scroll-right 12s linear infinite;
}
.marquee-track-right span {
    padding-right: 2rem;
    white-space: nowrap;
}

.marquee-track-left {
    display: flex;
    width: max-content;
    animation: marquee-scroll-left 12s linear infinite;
}
.marquee-track-left span {
    padding-right: 2rem;
    white-space: nowrap;
}

/* Vertical scrolling tracks */
.marquee-track-down {
    display: flex;
    flex-direction: column;
    height: max-content;
    animation: marquee-scroll-down 12s linear infinite;
}
.marquee-track-down span {
    padding-bottom: 2rem;
    white-space: nowrap;
}

.marquee-track-up {
    display: flex;
    flex-direction: column;
    height: max-content;
    animation: marquee-scroll-up 12s linear infinite;
}
.marquee-track-up span {
    padding-bottom: 2rem;
    white-space: nowrap;
}

/* Keyframes for Clockwise Movement */
@keyframes marquee-scroll-right {
    0% { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

@keyframes marquee-scroll-left {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes marquee-scroll-down {
    0% { transform: translate3d(0, -50%, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

@keyframes marquee-scroll-up {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(0, -50%, 0); }
}

/* PDF Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    width: 95%;
    height: 95%;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    transform: scale(0.9);
    transition: transform var(--transition-smooth);
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 0.9375rem;
    right: 0.9375rem;
    z-index: 10000;
    background: rgba(10, 10, 12, 0.8);
    border: 2px solid #ff4757;
    color: #ff4757;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    font-size: 2.2rem;
    line-height: 1;
    font-weight: bold;
    transition: all 0.3s ease;
    padding: 0;
    box-shadow: 0 4px 0.9375rem rgba(0, 0, 0, 0.5);
}

.close-btn:hover {
    color: #ffffff;
    background: #ff4757;
    border-color: #ff4757;
    box-shadow: 0 4px 1.25rem rgba(255, 71, 87, 0.4);
}

.modal-body {
    flex: 1;
    width: 100%;
    background: #0f1218;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #a0aec0;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 500;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.modal-spinner {
    width: 2.75rem;
    height: 2.75rem;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top: 3px solid #00f2fe;
    border-radius: 50%;
    animation: modalSpin 0.75s linear infinite;
}

@keyframes modalSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#pdf-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    position: relative;
    z-index: 2;
    background: transparent;
}

/* --- Initial Entry Animations --- */
body:not(.app-loaded) #main-content,
body:not(.app-loaded) .navbar {
    opacity: 0;
    visibility: hidden;
}

body.app-loaded #main-content {
    animation: fadeIn 0.5s ease forwards;
}

body.app-loaded .navbar {
    animation: fadeIn 0.5s ease forwards;
}

body.app-loaded.animation-complete #main-content,
body.app-loaded.animation-complete .navbar {
    animation: none;
    opacity: 1;
}

body.is-vibrating .hero-content {
    animation: vibrate 0.15s linear infinite !important;
}

body.is-vibrating .navbar {
    animation: navbarVibrate 0.15s linear infinite !important;
}

@keyframes vibrate {
    0% { transform: translate(0.5px, 0.5px); }
    10% { transform: translate(-0.5px, -1px); }
    20% { transform: translate(-1px, 0px); }
    30% { transform: translate(1px, 1px); }
    40% { transform: translate(0.5px, -0.5px); }
    50% { transform: translate(-0.5px, 1px); }
    60% { transform: translate(-1px, 0.5px); }
    70% { transform: translate(1px, 0.5px); }
    80% { transform: translate(-0.5px, -0.5px); }
    90% { transform: translate(0.5px, 1px); }
    100% { transform: translate(0.5px, -1px); }
}

@keyframes navbarVibrate {
    0% { transform: translate(calc(-50% + 0.5px), 0.5px); }
    10% { transform: translate(calc(-50% - 0.5px), -1px); }
    20% { transform: translate(calc(-50% - 1px), 0px); }
    30% { transform: translate(calc(-50% + 1px), 1px); }
    40% { transform: translate(calc(-50% + 0.5px), -0.5px); }
    50% { transform: translate(calc(-50% - 0.5px), 1px); }
    60% { transform: translate(calc(-50% - 1px), 0.5px); }
    70% { transform: translate(calc(-50% + 1px), 0.5px); }
    80% { transform: translate(calc(-50% - 0.5px), -0.5px); }
    90% { transform: translate(calc(-50% + 0.5px), 1px); }
    100% { transform: translate(calc(-50% + 0.5px), -1px); }
}

.dud {
    color: var(--text-secondary);
    opacity: 0.7;
}

.cursor {
    display: inline-block;
    color: var(--accent-cyan);
    font-weight: bold;
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* --- Video Loader --- */
#video-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}
#video-loader video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#video-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* --- Core Team Redesign (Table Aligned - Bigger Rounded Rectangles) --- */
.core-team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 68rem;
    margin: 2.5rem auto 1.5rem;
    gap: 2.5rem 3.5rem;
    justify-items: center;
}

.core-card {
    width: 100%;
    max-width: 32rem;
    min-height: 10.5rem;
    border-radius: 1.85rem; /* Elegant modern rounded rectangle */
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1.6rem 2.25rem;
    gap: 1.85rem;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%), rgba(10, 13, 22, 0.50);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    cursor: default;
}

.core-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.32);
    border-top-color: rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 100%), rgba(14, 18, 30, 0.60);
    box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.5), 0 0 1.5rem rgba(0, 242, 254, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.core-avatar-wrapper {
    width: 6.4rem;
    height: 6.4rem;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.core-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    image-rendering: high-quality;
    image-rendering: -webkit-optimize-contrast;
    border-radius: 50%;
    transition: filter 0.35s ease;
    filter: contrast(1.02);
}

.core-card:hover .core-avatar-img,
.web-card:hover .core-avatar-img {
    transform: none;
    filter: contrast(1.04);
}

/* All individual photos have been cropped to perfect squares at the source */

.core-avatar-placeholder {
    width: 100%;
    height: 100%;
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
}

.core-card-info {
    text-align: left;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.core-name {
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #ffffff;
    line-height: 1.25;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.core-role {
    font-size: 0.98rem;
    font-weight: 600;
    margin-top: 0.3rem;
    margin-bottom: 0.75rem;
    color: #4facfe;
    display: block;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.core-linkedin-btn {
    margin-top: 0.2rem;
    padding: 0.45rem 1.25rem;
    font-size: 0.82rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.core-linkedin-btn:hover {
    background: rgba(0, 242, 254, 0.18);
    border-color: rgba(0, 242, 254, 0.45);
    color: #00f2fe;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 242, 254, 0.25);
}

/* Mobile Responsive */
@media (max-width: 850px) {
    .core-team-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        max-width: 28rem;
    }
    .core-card {
        min-height: 8.5rem;
        padding: 1.35rem 1.5rem;
        border-radius: 1.5rem;
        gap: 1.25rem;
    }
    .core-avatar-wrapper {
        width: 5.25rem;
        height: 5.25rem;
    }
    .core-name {
        font-size: 1.25rem;
    }
    .core-role {
        font-size: 0.9rem;
    }
}


/* Website Builder Card Structure - Sleek Design */
.wb-card-container {
    position: relative;
    width: 11.25rem;
    height: 15rem;
    border-radius: 0.875rem;
    background: #09090c;
    overflow: hidden;
    box-shadow: 0 0.625rem 1.25rem rgba(0,0,0,0.5);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .wb-card-container {
        margin: 0 auto;
    }
}

.wb-card-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.wb-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.wb-card-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(10,12,20,1) 0%, rgba(10,12,20,0.85) 40%, rgba(10,12,20,0) 100%);
}

.wb-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.9375rem 0.75rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.wb-card-name {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
    letter-spacing: -0.25px;
}

.wb-card-role {
    color: #a1a1aa;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.wb-card-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.wb-tag {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e5e7eb;
    padding: 4px 0.625rem;
    border-radius: 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.wb-link-tag {
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s, border-color 0.2s;
}

.wb-link-tag:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Floating Social Bar */
.social-floating-bar {
    position: fixed;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%) translateX(5rem);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.2rem;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-floating-bar.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 1rem; /* Centers 24px SVG horizontally within 56px circle (16+24+16=56) */
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(20, 20, 24, 0.6);
    backdrop-filter: blur(0.625rem);
    -webkit-backdrop-filter: blur(0.625rem);
    border: 1px solid var(--glass-border);
    border-radius: 1.75rem;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 0.9375rem rgba(0, 0, 0, 0.3);
    text-decoration: none;
    overflow: hidden;
}

.social-icon[aria-label="Amazon Music"] {
    padding-left: 0.9375rem; /* Centers 26px Amazon image horizontally within 56px circle (15+26+15=56) */
}

.social-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.social-icon svg,
.social-icon img {
    flex-shrink: 0;
}

.social-icon img {
    width: 1.625rem;
    height: 1rem;
    object-fit: contain;
    opacity: 0.95;
    transition: all 0.3s ease;
}

.social-icon:hover img {
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(0, 168, 225, 0.6));
}

.social-icon[aria-label="Amazon Music"]:hover img {
    filter: drop-shadow(0 0 6px rgba(255, 153, 0, 0.7));
}

.social-text {
    margin-left: 0.625rem;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(0.625rem);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon:not(.is-morphed):hover {
    transform: translateX(-5px);
    width: 8.75rem;
    background: var(--bg-surface);
}

.social-icon:not(.is-morphed):hover .social-text {
    opacity: 1;
    transform: translateX(0);
}

.social-icon:not(.is-morphed)[aria-label="YouTube"]:hover {
    border-color: rgba(255, 0, 0, 0.75);
    box-shadow: 0 0 2.1875rem 5px rgba(255, 0, 0, 0.55), 0 4px 1.25rem rgba(255, 0, 0, 0.4);
}

.social-icon:not(.is-morphed)[aria-label="Instagram"]:hover {
    border-color: rgba(225, 48, 108, 0.75);
    box-shadow: 0 0 2.1875rem 5px rgba(225, 48, 108, 0.55), 0 4px 1.25rem rgba(225, 48, 108, 0.4);
}

.social-icon:not(.is-morphed)[aria-label="LinkedIn"]:hover {
    border-color: rgba(0, 160, 220, 0.75);
    box-shadow: 0 0 2.1875rem 5px rgba(0, 160, 220, 0.55), 0 4px 1.25rem rgba(0, 160, 220, 0.4);
}

.social-icon:not(.is-morphed)[aria-label="Spotify"]:hover {
    border-color: rgba(29, 185, 84, 0.75);
    box-shadow: 0 0 2.1875rem 5px rgba(29, 185, 84, 0.55), 0 4px 1.25rem rgba(29, 185, 84, 0.4);
}

.social-icon:not(.is-morphed)[aria-label="Amazon Music"]:hover {
    border-color: rgba(255, 153, 0, 0.75);
    box-shadow: 0 0 2.1875rem 5px rgba(255, 153, 0, 0.55), 0 4px 1.25rem rgba(255, 153, 0, 0.4);
}

/* Invisible layout target for morphed boxes in the footer */
.social-drop-zone {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    pointer-events: none;
}

/* Hover effects for morphed portal boxes in the footer */
.social-icon.is-morphed {
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    padding-left: 0 !important;
    margin: 0 !important;
    background: rgba(14, 14, 20, 0.68) !important;
    backdrop-filter: blur(1rem);
    -webkit-backdrop-filter: blur(1rem);
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.5), 0 0 1.125rem rgba(0, 242, 254, 0.04) !important;
    transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
}

.social-icon.is-morphed[aria-label="Amazon Music"] {
    padding-left: 0 !important;
}

/* Hide text inside morphed footer portal so logo stands clean and centered */
.social-icon.is-morphed .social-text {
    display: none !important;
}

/* Light sweep animation across portal icons */
@keyframes portalLightSweep {
    0% {
        transform: translateX(-150%) rotate(25deg);
    }
    20%, 100% {
        transform: translateX(250%) rotate(25deg);
    }
}

.social-icon.is-morphed::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.02) 40%,
        rgba(0, 242, 254, 0.12) 50%,
        rgba(255, 255, 255, 0.02) 60%,
        transparent 100%
    );
    transform: translateX(-150%) rotate(25deg);
    animation: portalLightSweep 9s infinite cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 2;
}

.social-drop-zone:nth-child(1) .social-icon::before { animation-delay: 0s; }
.social-drop-zone:nth-child(2) .social-icon::before { animation-delay: 1.8s; }
.social-drop-zone:nth-child(3) .social-icon::before { animation-delay: 3.6s; }
.social-drop-zone:nth-child(4) .social-icon::before { animation-delay: 5.4s; }
.social-drop-zone:nth-child(5) .social-icon::before { animation-delay: 7.2s; }

/* SVG and Image logo styling in morphed portals */
.social-icon.is-morphed svg,
.social-icon.is-morphed img {
    display: block !important;
    margin: auto !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease, filter 0.4s ease, opacity 0.4s ease !important;
    z-index: 5;
    position: relative;
    opacity: 0.95 !important;
    color: #ffffff !important;
    filter: drop-shadow(0 0 6px rgba(0, 242, 254, 0.35)) !important;
}

.social-icon.is-morphed svg {
    width: 1.55rem !important;
    height: 1.55rem !important;
}

.social-icon.is-morphed img {
    width: 1.85rem !important;
    height: 1.15rem !important;
    filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(0, 242, 254, 0.35)) !important;
}

.social-icon.is-morphed:hover svg,
.social-icon.is-morphed:hover img {
    transform: scale(1.2) !important;
}

.social-icon.is-morphed[aria-label="YouTube"]:hover {
    border-color: rgba(255, 0, 0, 0.75) !important;
    box-shadow: 0 0.875rem 2.8125rem rgba(255, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 3.125rem 0.625rem rgba(255, 0, 0, 0.45) !important;
    background: rgba(30, 14, 18, 0.8) !important;
}

.social-icon.is-morphed[aria-label="YouTube"]:hover svg {
    color: #ff3333 !important;
    filter: drop-shadow(0 0 1.125rem rgba(255, 0, 0, 0.95)) !important;
}

.social-icon.is-morphed[aria-label="Instagram"]:hover {
    border-color: rgba(225, 48, 108, 0.75) !important;
    box-shadow: 0 0.875rem 2.8125rem rgba(225, 48, 108, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 3.125rem 0.625rem rgba(225, 48, 108, 0.45) !important;
    background: rgba(28, 14, 22, 0.8) !important;
}

.social-icon.is-morphed[aria-label="Instagram"]:hover svg {
    color: #e1306c !important;
    filter: drop-shadow(0 0 1.125rem rgba(225, 48, 108, 0.95)) !important;
}

.social-icon.is-morphed[aria-label="LinkedIn"]:hover {
    border-color: rgba(0, 160, 220, 0.75) !important;
    box-shadow: 0 0.875rem 2.8125rem rgba(0, 160, 220, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 3.125rem 0.625rem rgba(0, 160, 220, 0.45) !important;
    background: rgba(12, 20, 28, 0.8) !important;
}

.social-icon.is-morphed[aria-label="LinkedIn"]:hover svg {
    color: #00a0dc !important;
    filter: drop-shadow(0 0 1.125rem rgba(0, 160, 220, 0.95)) !important;
}

.social-icon.is-morphed[aria-label="Spotify"]:hover {
    border-color: rgba(29, 185, 84, 0.75) !important;
    box-shadow: 0 0.875rem 2.8125rem rgba(29, 185, 84, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 3.125rem 0.625rem rgba(29, 185, 84, 0.45) !important;
    background: rgba(12, 26, 18, 0.8) !important;
}

.social-icon.is-morphed[aria-label="Spotify"]:hover svg {
    color: #1db954 !important;
    filter: drop-shadow(0 0 1.125rem rgba(29, 185, 84, 0.95)) !important;
}

.social-icon.is-morphed[aria-label="Amazon Music"]:hover {
    border-color: rgba(255, 153, 0, 0.75) !important;
    box-shadow: 0 0.875rem 2.8125rem rgba(255, 153, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 3.125rem 0.625rem rgba(255, 153, 0, 0.45) !important;
    background: rgba(30, 22, 12, 0.8) !important;
}

.social-icon.is-morphed[aria-label="Amazon Music"]:hover img {
    filter: invert(61%) sepia(99%) saturate(1837%) hue-rotate(5deg) brightness(101%) contrast(101%) drop-shadow(0 0 1.125rem rgba(255, 153, 0, 0.95)) !important;
}

@media (max-width: 820px) {
    .social-floating-bar {
        display: flex;
        flex-direction: row;
        top: auto;
        bottom: 1.25rem;
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(3rem);
        align-items: center;
        justify-content: center;
        width: max-content;
        max-width: calc(100vw - 2rem);
        margin: 0 auto;
        gap: 0.55rem;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
    }
    
    .social-floating-bar.is-visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0) !important;
    }
    
    .social-floating-bar .social-icon,
    .social-floating-bar .social-icon[aria-label="Amazon Music"] {
        width: 2.8rem;
        height: 2.8rem;
        padding: 0 !important;
        padding-left: 0 !important;
        justify-content: center !important;
        align-items: center !important;
        transform: none !important;
    }

    .social-floating-bar .social-icon:hover {
        transform: none !important;
        width: 2.8rem !important;
    }

    .social-floating-bar .social-text {
        display: none !important;
    }

    .social-floating-bar .social-icon svg {
        width: 1.3rem;
        height: 1.3rem;
        margin: 0 !important;
    }

    .social-floating-bar .social-icon img {
        width: 1.4rem;
        height: 0.9rem;
        margin: 0 !important;
    }
}

/* Scroll-Driven Footer Transformation CSS */
.social-icon.animating {
    /* No transitions, it's scroll-driven! */
    z-index: 9999;
    will-change: transform, border-radius;
}

.morph-color-block {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    z-index: -1; /* Behind the icon initially if needed */
    border-radius: inherit;
    will-change: opacity;
}

/* =========================================
   Web Team Section (After Research)
   ========================================= */
.web-team-section {
    min-height: auto !important;
    padding: 3rem 1.5rem 4.5rem !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.web-team-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 2.5rem;
    width: 100%;
    max-width: 76rem;
    margin: 0 auto;
}

.web-card {
    cursor: default;
    max-width: 38.5rem;
    padding: 1.85rem 2.4rem;
    gap: 2.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.web-avatar-wrapper {
    width: 10.2rem;
    height: 10.2rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 30%, #475569 0%, #1e293b 65%, #0f172a 100%);
    border: 3.5px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 0.8rem 2.2rem rgba(0, 0, 0, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.web-card .core-name {
    font-size: 1.55rem;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.adhiraj-img {
    position: relative;
    object-position: center center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    max-width: 100%;
    transform: none;
}

.web-card:hover .adhiraj-img {
    transform: none;
}

.adway-img {
    object-position: center 10%;
    transform: none;
}

.web-card:hover .adway-img {
    transform: none;
}

.web-role {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 0.35rem;
    margin-bottom: 0.85rem;
    color: #4facfe;
    display: block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* Tablet & Mobile Responsive */
@media (max-width: 1024px) {
    .web-team-grid {
        flex-direction: column;
        align-items: center;
        max-width: 38rem;
        gap: 1.75rem;
    }
    .web-card {
        max-width: 100%;
        padding: 1.6rem 2rem;
        gap: 1.75rem;
    }
    .web-avatar-wrapper {
        width: 9rem;
        height: 9rem;
    }
}

@media (max-width: 600px) {
    .web-team-section {
        padding: 2rem 1rem 3.5rem !important;
    }
    .web-card {
        padding: 1.4rem 1.5rem;
        gap: 1.4rem;
        border-radius: 1.5rem;
    }
    .web-avatar-wrapper {
        width: 7.6rem;
        height: 7.6rem;
    }
    .web-card .core-name {
        font-size: 1.28rem;
        white-space: nowrap;
    }
    .web-role {
        font-size: 1.05rem;
        margin-bottom: 0.65rem;
    }
}

@media (max-width: 420px) {
    .web-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 1.6rem 1.2rem;
    }
    .web-card .core-card-info {
        align-items: center;
        text-align: center;
    }
    .web-avatar-wrapper {
        width: 8rem;
        height: 8rem;
        margin: 0 auto;
    }
    .web-card .core-name {
        white-space: normal;
    }
}


/* --- Mobile Performance Overrides --- */
@media (max-width: 820px) {
    * {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }
    
    /* Fallbacks for where glass was used */
    .glass-panel {
        background: rgba(15, 20, 28, 0.95) !important;
    }
    .navbar {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    .prism-hero-cinematic-right {
        background: rgba(10, 14, 22, 0.95) !important;
    }
    .mobile-menu-btn {
        background: rgba(15, 22, 28, 0.95) !important;
    }
    .nav-links {
        background: rgba(15, 22, 28, 0.98) !important;
    }
    .member-card {
        background: rgba(10, 13, 22, 0.95) !important;
    }
}
