/* ═══════════════════════════════════════════
   PORTFOLIO — PREMIUM DESIGN SYSTEM
   ═══════════════════════════════════════════ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* --- CSS Custom Properties (Theme) --- */
:root {
    --nav-height: 70px;
    --bg-color: #f4f4f6;
    --bg-gradient: radial-gradient(circle at 15% 20%, rgba(16, 185, 129, 0.04) 0%, transparent 50%),
                   radial-gradient(circle at 85% 80%, rgba(37, 99, 235, 0.04) 0%, transparent 50%),
                   #f4f4f6;
    --text-primary: #0f0f11;
    --text-secondary: #555555;
    --accent-color: #2563eb;
    --accent-glow: rgba(37, 99, 235, 0.3);
    --nav-bg: rgba(244, 244, 246, 0.7);
    --card-bg: rgba(255, 255, 255, 0.06);
    --card-border: rgba(0, 0, 0, 0.08);
    --overlay-gradient: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.15) 35%,
        rgba(0, 0, 0, 0.05) 55%,
        rgba(0, 0, 0, 0.55) 100%
    );
    --grain-opacity: 0.03;
    --mosaic-gap: 3px;
    --heading-gradient: linear-gradient(135deg, #0f0f11 0%, #1d4ed8 60%, #2563eb 100%);
}

[data-theme="dark"] {
    --bg-color: #060608;
    --bg-gradient: radial-gradient(circle at 15% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
                   radial-gradient(circle at 85% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
                   #060608;
    --text-primary: #f0f0f2;
    --text-secondary: #8a8a96;
    --accent-color: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.35);
    --nav-bg: rgba(6, 6, 8, 0.65);
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.08);
    --overlay-gradient: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.15) 35%,
        rgba(0, 0, 0, 0.05) 55%,
        rgba(0, 0, 0, 0.65) 100%
    );
    --grain-opacity: 0.04;
    --heading-gradient: linear-gradient(135deg, #ffffff 0%, #a5c2f4 60%, #3b82f6 100%);
}

/* --- Global Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow: hidden !important;
    height: 100vh !important;
    width: 100vw !important;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    background-image: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    transition: background-color 0.5s ease, background-image 0.5s ease, color 0.5s ease;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════
   NAVIGATION — Glassmorphism
   ═══════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(25px) saturate(1.8);
    -webkit-backdrop-filter: blur(25px) saturate(1.8);
    background: var(--nav-bg);
    border-bottom: 1px solid var(--card-border);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo {
    position: absolute;
    left: 2.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.logo:hover { opacity: 0.7; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.4rem 0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

/* Subtle modern neon/glow underline indicator on active */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
}

.nav-link.active {
    color: var(--text-primary);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}



/* ═══════════════════════════════════════════
   SECTIONS — Snap Scroll Pages
   ═══════════════════════════════════════════ */
.section {
    width: 100vw;
    min-width: 100vw;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   PAGE 1 — HERO MEDIA MOSAIC
   Aspect-ratio-aware dynamic grid
   ═══════════════════════════════════════════ */

#hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6) contrast(1.02) saturate(0.85);
}

.mosaic-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    /* 6-column grid for flexible placement */
    grid-template-columns: repeat(6, 1fr);
    /* Force exactly 5 rows sharing the 100vh height equally - absolute zero overflow */
    grid-template-rows: repeat(5, 1fr);
    gap: var(--mosaic-gap);
    overflow: hidden; /* Lock the layout to exactly 100vh, eliminating inner scrolling */
}

.mosaic-item {
    overflow: hidden;
    position: relative;
    background-color: #000000; /* Pure black to blend seamlessly with video letterboxes */
}

.mosaic-item img,
.mosaic-item video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Back to full-bleed cover with perfect slot aspect ratios */
    display: block;
    will-change: transform, filter;
    transform: translate3d(0, 0, 0) scale(1.001);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
    filter: brightness(0.7) contrast(1.02) saturate(0.85);
}

/* Align portrait and large featured videos to the top center so subjects (headrests, etc.) are never cut off at the top */
.mosaic-item.ar-portrait img,
.mosaic-item.ar-portrait video,
.mosaic-item.ar-large img,
.mosaic-item.ar-large video {
    object-position: center top;
}

.mosaic-item:hover img,
.mosaic-item:hover video,
.mosaic-item.is-playing img,
.mosaic-item.is-playing video {
    transform: translate3d(0, 0, 0) scale(1.001);
    filter: brightness(0.85) contrast(1.03) saturate(1.05);
}



.mosaic-item:hover,
.mosaic-item.is-playing {
    z-index: 10;
}

/* Symmetrical Grid Slot Placements for 6x5 Desktop layout */
.mosaic-item[data-slot="L1"] { grid-column: 1 / 3; grid-row: 1 / 2; }
.mosaic-item[data-slot="P1"] { grid-column: 1 / 2; grid-row: 2 / 4; }
.mosaic-item[data-slot="P2"] { grid-column: 2 / 3; grid-row: 2 / 4; }
.mosaic-item[data-slot="L2"] { grid-column: 1 / 3; grid-row: 4 / 5; }
.mosaic-item[data-slot="L3"] { grid-column: 1 / 3; grid-row: 5 / 6; }

.mosaic-item[data-slot="P3"] { grid-column: 3 / 4; grid-row: 1 / 3; }
.mosaic-item[data-slot="P4"] { grid-column: 4 / 5; grid-row: 1 / 3; }
.mosaic-item[data-slot="L4"] { grid-column: 3 / 5; grid-row: 3 / 4; }
.mosaic-item[data-slot="P5"] { grid-column: 3 / 4; grid-row: 4 / 6; }
.mosaic-item[data-slot="P6"] { grid-column: 4 / 5; grid-row: 4 / 6; }

.mosaic-item[data-slot="L5"] { grid-column: 5 / 7; grid-row: 1 / 2; }
.mosaic-item[data-slot="P7"] { grid-column: 5 / 6; grid-row: 2 / 4; }
.mosaic-item[data-slot="P8"] { grid-column: 6 / 7; grid-row: 2 / 4; }
.mosaic-item[data-slot="L6"] { grid-column: 5 / 7; grid-row: 4 / 5; }
.mosaic-item[data-slot="L7"] { grid-column: 5 / 7; grid-row: 5 / 6; }

/* Overlay on top of mosaic */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-gradient);
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

/* Film grain texture overlay */
.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.4'/%3E%3C/svg%3E");
    opacity: var(--grain-opacity);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 3;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3.5rem 5rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 
                inset 0 0 25px rgba(255, 255, 255, 0.03);
    max-width: 90%;
    margin: 0 auto;
    transition: border-color 0.5s ease, box-shadow 0.5s ease, background-color 0.5s ease;
}

.hero-content:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 
                inset 0 0 35px rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }
    .hero-content {
        padding: 2.5rem 3rem;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    :root {
        --nav-height: 54px;
    }
    .hero-content {
        padding: 1.8rem 1.5rem;
        border-radius: 16px;
    }
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3.5rem, 9vw, 8rem);
    font-weight: 700;
    line-height: 0.95;
    margin-bottom: 1.2rem;
    letter-spacing: -3px;
    color: #ffffff;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    user-select: auto;
}

.hero-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.85rem, 1.6vw, 1.15rem);
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 50%;
    right: 2.5rem;
    left: auto;
    transform: translateY(50%);
    z-index: 5;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    pointer-events: auto;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.scroll-indicator:hover { opacity: 1; }

.scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(-45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(-45deg) translateX(0); opacity: 0.5; }
    50% { transform: rotate(-45deg) translateX(6px); opacity: 1; }
}

/* ═══════════════════════════════════════════
   PAGE 2 — PORTFOLIO COLLAGE GRID
   ═══════════════════════════════════════════ */
/* ═══════════════════════════════════════════
   PAGE 2 — PORTFOLIO COMPANY SWITCHER GRID
   ═══════════════════════════════════════════ */
.portfolio-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: radial-gradient(circle at 15% 20%, var(--brand-glow-color, rgba(16, 185, 129, 0.05)) 0%, var(--bg-color) 75%),
                radial-gradient(circle at 85% 80%, var(--bg-color) 0%, var(--brand-glow-color, rgba(16, 185, 129, 0.03)) 100%);
    padding: 0;
    overflow-y: auto !important;
    z-index: 5;
    transition: background 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-container {
    width: 100%;
    max-width: 1760px;
    padding: 5.5rem 2rem 3rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 0.5rem;
}

.portfolio-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin: 0.3rem 0 0.8rem;
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Brand Logo Switching Bar --- */
.portfolio-logo-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    position: sticky;
    top: var(--nav-height);
    z-index: 95;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

/* Compact Alt Tab Bar on Scroll */
.portfolio-logo-bar.compact {
    padding: 0.5rem 0;
    background: rgba(10, 10, 15, 0.92);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.portfolio-logo-bar.compact .portfolio-logo-tab {
    min-width: 140px;
    height: 55px;
    padding: 0.4rem 1rem;
    border-radius: 8px;
}

.portfolio-logo-bar.compact .portfolio-logo-tab img {
    height: 24px;
    max-width: 90px;
}

.portfolio-logo-tab {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem; /* Balanced centered padding for logo focus */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 190px; /* Wider clean card width for massive logos */
    height: 130px; /* Taller card height for massive logos */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.portfolio-logo-tab::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-logo-tab:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
}

.portfolio-logo-tab:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Custom logo branding SVGs and Images */
.portfolio-logo-tab svg {
    width: 58px;
    height: 58px;
    fill: var(--text-secondary);
    transition: all 0.4s ease;
}

.portfolio-logo-tab img {
    height: 68px; /* Gargantuan, high-fidelity logo size! */
    width: auto;
    max-width: 155px;
    object-fit: contain;
    filter: grayscale(1) brightness(0.6) opacity(0.5);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo-tab-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    height: 100%;
    width: 100%;
    transition: all 0.4s ease;
}

.logo-tab-stack img {
    height: 26px !important;
    max-width: 140px !important;
}

.portfolio-logo-bar.compact .logo-tab-stack {
    flex-direction: row;
    gap: 0.4rem;
}

.portfolio-logo-bar.compact .logo-tab-stack img {
    height: 14px !important;
    max-width: 45px !important;
}

.portfolio-logo-tab:hover img {
    filter: grayscale(0.5) brightness(0.85) opacity(0.85);
}

/* Brand specific active states with vibrant neon glow */
.portfolio-logo-tab[data-brand="hawk"].active {
    border-color: #ef4444;
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.05);
}
.portfolio-logo-tab[data-brand="hawk"].active svg { fill: #ef4444; filter: drop-shadow(0 0 5px #ef4444); }
.portfolio-logo-tab[data-brand="hawk"].active img { filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.8)); }

.portfolio-logo-tab[data-brand="base"].active {
    border-color: #3b82f6;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.35);
    background: rgba(59, 130, 246, 0.05);
}
.portfolio-logo-tab[data-brand="base"].active svg { fill: #3b82f6; filter: drop-shadow(0 0 5px #3b82f6); }
.portfolio-logo-tab[data-brand="base"].active img { filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.8)); }

.portfolio-logo-tab[data-brand="studio"].active {
    border-color: #8b5cf6;
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.35);
    background: rgba(139, 92, 246, 0.05);
}
.portfolio-logo-tab[data-brand="studio"].active svg { fill: #8b5cf6; filter: drop-shadow(0 0 5px #8b5cf6); }
.portfolio-logo-tab[data-brand="studio"].active img { filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.8)); }

.portfolio-logo-tab[data-brand="music"].active {
    border-color: #10b981;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.35);
    background: rgba(16, 185, 129, 0.05);
}
.portfolio-logo-tab[data-brand="music"].active svg { fill: #10b981; filter: drop-shadow(0 0 5px #10b981); }
.portfolio-logo-tab[data-brand="music"].active img { filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.8)); }

.portfolio-logo-tab[data-brand="gaming"].active {
    border-color: #facc15;
    box-shadow: 0 0 25px rgba(250, 204, 21, 0.35);
    background: rgba(250, 204, 21, 0.05);
}
.portfolio-logo-tab[data-brand="gaming"].active svg { fill: #facc15; filter: drop-shadow(0 0 5px #facc15); }
.portfolio-logo-tab[data-brand="gaming"].active img { filter: drop-shadow(0 0 6px rgba(250, 204, 21, 0.8)); }


/* --- Brand Panels Container --- */
.portfolio-brand-container {
    position: relative;
    width: 100%;
    transition: margin-top 0.4s ease;
}
.portfolio-logo-bar.compact + .portfolio-brand-container {
    margin-top: 91px;
}

.brand-panel {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    width: 100%;
}

.brand-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════
   nathan.tokyo-STYLE COLLAGE GRID SYSTEM
   ═══════════════════════════════════════════ */

/* Dynamic Brand-Specific Styling Variables */
[data-active-brand="hawk"] {
    --brand-accent: #e50914;
    --brand-bg-dark: #000000;
    --brand-bg-light: #ffffff;
    --brand-bg-muted: #f5f5f5;
    --brand-text-dark: #000000;
    --brand-text-light: #ffffff;
    --brand-grid-border: #111111;
    --brand-outline-glow: rgba(229, 9, 20, 0.4);
    --brand-glow-color: rgba(239, 68, 68, 0.08);
}

[data-active-brand="studio"] {
    --brand-accent: #8b5cf6;
    --brand-bg-dark: #0a0810;
    --brand-bg-light: #f2effa;
    --brand-bg-muted: #b3a2bd;
    --brand-text-dark: #130921;
    --brand-text-light: #ffffff;
    --brand-grid-border: #221c33;
    --brand-outline-glow: rgba(139, 92, 246, 0.4);
    --brand-glow-color: rgba(139, 92, 246, 0.08);
}

[data-active-brand="music"] {
    --brand-accent: #10b981;
    --brand-bg-dark: #060f0c;
    --brand-bg-light: #edfcf7;
    --brand-bg-muted: #a2bdb0;
    --brand-text-dark: #032117;
    --brand-text-light: #ffffff;
    --brand-grid-border: #152e24;
    --brand-outline-glow: rgba(16, 185, 129, 0.4);
    --brand-glow-color: rgba(16, 185, 129, 0.08);
}

[data-active-brand="gaming"] {
    --brand-accent: #facc15;
    --brand-bg-dark: #0d0d05;
    --brand-bg-light: #fefefa;
    --brand-bg-muted: #dfdbb5;
    --brand-text-dark: #2e2e05;
    --brand-text-light: #ffffff;
    --brand-grid-border: #2e2e05;
    --brand-outline-glow: rgba(250, 204, 21, 0.4);
    --brand-glow-color: rgba(250, 204, 21, 0.08);
}

[data-active-brand="base"] {
    --brand-accent: #3b82f6;
    --brand-bg-dark: #050a14;
    --brand-bg-light: #f7f6f0;
    --brand-bg-muted: #9eb7d4;
    --brand-text-dark: #061b3a;
    --brand-text-light: #ffffff;
    --brand-grid-border: #162845;
    --brand-outline-glow: rgba(59, 130, 246, 0.4);
    --brand-glow-color: rgba(59, 130, 246, 0.08);
}

/* Master Grid Container: Crisp 1px Separators */
.portfolio-collage-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-flow: row dense;
    gap: 1px;
    background: var(--brand-grid-border);
    border: 1px solid var(--brand-grid-border);
    width: 100%;
    transition: background 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.8s ease;
    overflow: hidden;
}

/* Base Collage Card */
.collage-card {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    transition: background-color 0.5s ease, color 0.5s ease, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.4s ease;
}

.collage-card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px var(--brand-outline-glow);
    border-color: var(--brand-accent);
    z-index: 10;
    outline: none;
}

/* Background Utility Classes mapped to active Brand colors */
.collage-card.bg-dark {
    background-color: var(--brand-bg-dark);
    color: var(--brand-text-light);
}
.collage-card.bg-light {
    background-color: var(--brand-bg-light);
    color: var(--brand-text-dark);
}
.collage-card.bg-muted {
    background-color: var(--brand-bg-muted);
    color: var(--brand-text-dark);
}
.collage-card.bg-accent {
    background-color: var(--brand-accent);
    color: #ffffff;
}

/* Grid Cell Column Spans */
.col-span-1  { grid-column: span 1; }
.col-span-2  { grid-column: span 2; }
.col-span-3  { grid-column: span 3; }
.col-span-4  { grid-column: span 4; }
.col-span-5  { grid-column: span 5; }
.col-span-6  { grid-column: span 6; }
.col-span-7  { grid-column: span 7; }
.col-span-8  { grid-column: span 8; }
.col-span-9  { grid-column: span 9; }
.col-span-10 { grid-column: span 10; }
.col-span-11 { grid-column: span 11; }
.col-span-12 { grid-column: span 12; }

/* Grid Cell Row Spans */
.row-span-1 { grid-row: span 1; }
.row-span-2 { grid-row: span 2; }
.row-span-3 { grid-row: span 3; }
.row-span-4 { grid-row: span 4; }

/* Cell Content Styling Elements */
.collage-role-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-accent);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: color 0.4s ease;
}

.collage-role-statement {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.4rem, 2.8vw, 2.2rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -1.2px;
    margin: 0;
}

/* Minimalist Horizontal Marquee Card */
.collage-card.marquee-card {
    padding: 0;
    height: 60px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: transparent;
    padding: 0;
    white-space: nowrap;
}

.ticker {
    display: inline-block;
    animation: ticker-animation 24s linear infinite;
    white-space: nowrap;
    padding-right: 2rem;
}

.ticker-item {
    display: inline-block;
    padding: 0 2rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-text-light);
}

[data-active-brand="base"] .ticker-item {
    color: var(--brand-text-dark);
}

@keyframes ticker-animation {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Widescreen Slanted/Tilted Visual Card Mockup */
.collage-card.tilted-mockup-card {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    position: relative;
    height: 100%;
    min-height: 480px;
}

.tilted-mockup-container {
    width: 90%;
    height: 85%;
    position: relative;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    overflow: hidden;
    transform: rotate(-1.5deg) scale(0.96);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.collage-card.tilted-mockup-card:hover .tilted-mockup-container {
    transform: rotate(0deg) scale(1);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px var(--brand-outline-glow);
    border-color: var(--brand-accent);
}

.tilted-mockup-container iframe {
    width: 250%;
    height: 250%;
    border: none;
    pointer-events: auto;
    transform: scale(0.4);
    transform-origin: top left;
}

.mockup-launch-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--brand-accent);
    color: #ffffff;
    padding: 8px 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 15;
    transition: all 0.3s ease;
}

.mockup-launch-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--brand-accent);
}

/* Card 3: Date Block */
.collage-date-value {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5.5vw, 3.8rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
    margin: 0;
    color: var(--brand-accent);
}

.collage-date-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-text-dark);
    margin-top: 1rem;
}

.collage-card.bg-dark .collage-date-label {
    color: rgba(255, 255, 255, 0.5);
}

/* Card 5: Spec List inside grid */
.collage-spec-list {
    list-style: none;
    padding: 0;
    margin: auto 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.collage-spec-list li {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.9rem, 1.8vw, 1.15rem);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.collage-spec-list li span {
    font-size: 0.65rem;
    color: var(--brand-accent);
    opacity: 0.8;
}

/* Card 6: Tech Stack tags grid */
.collage-tags-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin-top: auto;
}

.collage-tag {
    background: rgba(128, 128, 128, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    color: var(--brand-text-light);
    transition: all 0.3s ease;
}

.collage-card.bg-light .collage-tag {
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--brand-text-dark);
}

.collage-tag:hover {
    border-color: var(--brand-accent);
    background: rgba(255, 255, 255, 0.03);
    color: var(--brand-accent);
}

/* ═══════════════════════════════════════════
   CUSTOM WIDGETS
   ═══════════════════════════════════════════ */

/* Card 4: Chat Simulator widget in collage (Hawk) */
.collage-chat-widget {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 280px;
}

.collage-chat-terminal {
    flex: 1;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.72rem;
    color: #ef4444;
    background: #000000;
    padding: 1rem;
    border: 1px solid rgba(239, 68, 68, 0.2);
    margin-bottom: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.collage-chat-input-row {
    display: flex;
    gap: 0.5rem;
}

.collage-chat-input {
    flex: 1;
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    padding: 8px 12px;
}

.collage-chat-input:focus {
    border-color: #ef4444;
    outline: none;
}

.collage-chat-btn {
    background: #ef4444;
    color: #ffffff;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.collage-chat-btn:hover {
    background: #f43f5e;
}

/* Card 4: Game Publisher Clicker Mini-Game (Studio) */
.publisher-clicker-widget {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 280px;
    justify-content: space-between;
}

.clicker-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.clicker-stat-box {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.clicker-stat-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-accent);
}

.clicker-stat-lbl {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brand-text-dark);
    opacity: 0.7;
}

.clicker-main-btn {
    background: var(--brand-accent);
    color: #ffffff;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 12px var(--brand-outline-glow);
}

.clicker-main-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--brand-outline-glow);
}

.clicker-main-btn:active {
    transform: translateY(0);
}

.clicker-upgrades-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-text-dark);
    margin: 0.6rem 0 0.4rem;
    opacity: 0.8;
}

.clicker-upgrades-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.clicker-upgrade-btn {
    background: transparent;
    border: 1px solid var(--brand-accent);
    color: var(--brand-text-dark);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.65rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.clicker-upgrade-btn:hover:not(:disabled) {
    background: var(--brand-accent);
    color: #ffffff;
}

.clicker-upgrade-btn:disabled {
    border-color: rgba(0, 0, 0, 0.15);
    color: rgba(0, 0, 0, 0.3);
    cursor: not-allowed;
}

.clicker-log {
    font-family: 'Courier New', monospace;
    font-size: 0.55rem;
    color: var(--brand-text-dark);
    opacity: 0.8;
    background: rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 0.4rem;
    margin-top: 0.6rem;
    height: 38px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Card 4: AR Testing & Spatial Engine Module (BASE) */
.ar-testing-widget {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 280px;
    justify-content: space-between;
}

.ar-widget-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-text-dark);
    margin: 0.5rem 0 0.2rem 0;
}

.ar-widget-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--brand-text-dark);
    opacity: 0.8;
    margin: 0 0 0.8rem 0;
}

.ar-mock-console {
    background: #000000;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 6px;
    padding: 0.8rem;
    font-family: 'Courier New', monospace;
    font-size: 0.65rem;
    color: #3b82f6; /* BASE brand blue */
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
}

.console-status-row {
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    padding-bottom: 0.3rem;
    margin-bottom: 0.2rem;
}

.console-dot-green {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 6px #10b981;
    display: inline-block;
}

.console-label {
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #10b981;
}

.console-lines {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.ar-trigger-btn {
    background: var(--brand-accent);
    color: #ffffff;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px var(--brand-outline-glow);
}

.ar-trigger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--brand-outline-glow), 0 0 15px var(--brand-accent);
}

.ar-trigger-btn:active {
    transform: translateY(0);
}

/* mint shadow: Music Collage Grid Cell */
.music-collage-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1px;
    background: var(--brand-grid-border);
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
}

.gaming-collage-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1px;
    background: var(--brand-grid-border);
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
}

/* Desktop Slots for Music and Gaming (Asymmetric Collage Layout for Gaming) */
.music-collage-item[data-slot="M1"] {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}
.gaming-collage-item[data-slot="G1"] {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.music-collage-item[data-slot="M2"] {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}
.gaming-collage-item[data-slot="G2"] {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
}

.music-collage-item[data-slot="M3"] {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}
.gaming-collage-item[data-slot="G3"] {
    grid-column: 3 / 4;
    grid-row: 2 / 4;
}

.music-collage-item[data-slot="M4"] {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}
.gaming-collage-item[data-slot="G4"] {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
}

.music-collage-item[data-slot="M5"] {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
}
.gaming-collage-item[data-slot="G5"] {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
}

.music-collage-item[data-slot="M6"] {
    grid-column: 3 / 4;
    grid-row: 3 / 4;
}
.gaming-collage-item[data-slot="G6"] {
    grid-column: 4 / 5;
    grid-row: 3 / 4;
}

.music-collage-item {
    background: var(--brand-bg-dark);
    position: relative;
    overflow: hidden;
}

.music-collage-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 3;
}

.music-collage-item:hover::after {
    border-color: var(--brand-accent);
    box-shadow: inset 0 0 15px rgba(16, 185, 129, 0.3);
}

.music-collage-item .music-embed-container {
    height: 100%;
}

.music-collage-item:hover .video-preview-overlay {
    transform: scale(1.04);
}

.music-collage-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.7);
    color: var(--brand-accent);
    padding: 3px 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    border-left: 2px solid var(--brand-accent);
}

/* Customized Social profile buttons mapped to grid layout */
.collage-social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--brand-grid-border);
    margin: auto 0 0 0;
    width: 100%;
}

.collage-social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--brand-bg-muted);
    color: var(--brand-text-dark);
    padding: 1.5rem 1rem;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.4s ease;
    text-align: center;
}

.collage-social-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--brand-text-dark);
    transition: fill 0.3s ease, transform 0.3s ease;
}

.collage-social-btn:hover {
    background: var(--brand-accent);
    color: #ffffff;
}

.collage-social-btn:hover svg {
    fill: #ffffff;
    transform: scale(1.1);
}

.role-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.4rem;
    display: inline-block;
}

[data-active-brand="hawk"] .role-badge { color: #ef4444; }
[data-active-brand="base"] .role-badge { color: #3b82f6; }
[data-active-brand="studio"] .role-badge { color: #8b5cf6; }
[data-active-brand="music"] .role-badge { color: #10b981; }
[data-active-brand="gaming"] .role-badge { color: #facc15; }

.role-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.role-dates {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}


/* --- Brand Sub-Slider (For Brands with Multiple Works) --- */
.brand-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.brand-slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
}

.brand-slider-slide {
    width: 100%;
    min-width: 100%;
    flex-shrink: 0;
}

/* Slide arrows & controls inside Slider */
.slider-arrow-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.slider-arrow {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-glow);
    transform: scale(1.08);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-secondary);
    opacity: 0.3;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.slider-dot.active {
    opacity: 1;
    background: var(--accent-color);
    transform: scale(1.3);
    box-shadow: 0 0 8px var(--accent-color);
}


/* --- Elite AI Chat Simulator Container --- */
.chat-simulator-container {
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.7);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.chat-sim-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 16px;
    border-bottom: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-sim-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-sim-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: simPulse 2s infinite ease-in-out;
}

@keyframes simPulse {
    0%, 100% { opacity: 0.5; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
}

.chat-sim-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-primary);
}

.chat-sim-sys-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    color: #ef4444;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.chat-sim-logs {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
}

/* Custom premium scrollbar for chat logs */
.chat-sim-logs::-webkit-scrollbar {
    width: 4px;
}
.chat-sim-logs::-webkit-scrollbar-track {
    background: transparent;
}
.chat-sim-logs::-webkit-scrollbar-thumb {
    background: rgba(128, 128, 128, 0.15);
    border-radius: 10px;
}
.chat-sim-logs::-webkit-scrollbar-thumb:hover {
    background: #ef4444;
}

.chat-sim-msg {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 85%;
    animation: msgFadeIn 0.4s ease forwards;
}

@keyframes msgFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-sim-msg.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-sim-msg.assistant {
    align-self: flex-start;
}

.chat-sim-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    flex-shrink: 0;
}

.chat-sim-msg.user .chat-sim-avatar {
    background-color: var(--text-primary);
    color: var(--bg-color);
}

.chat-sim-msg.assistant .chat-sim-avatar {
    background-color: #ef4444;
    color: #fff;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.chat-sim-bubble {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.8rem;
    line-height: 1.45;
}

.chat-sim-msg.user .chat-sim-bubble {
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border-top-right-radius: 0;
    border: 1px solid var(--card-border);
}

.chat-sim-msg.assistant .chat-sim-bubble {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(239, 68, 68, 0.03) 100%);
    color: #f3f4f6;
    border-top-left-radius: 0;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Typing indicator dot pulse */
.chat-sim-typing {
    display: none;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 12px;
    border-top-left-radius: 0;
    align-self: flex-start;
    margin-left: 38px;
}

.chat-sim-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    display: inline-block;
    animation: simTyping 1.4s infinite ease-in-out both;
}

.chat-sim-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-sim-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes simTyping {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1.1); opacity: 1; }
}

.chat-sim-chips-container {
    padding: 10px 15px;
    border-top: 1px solid var(--card-border);
    background: rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chat-sim-chips-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.chat-sim-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.chat-sim-chip {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    color: #f3f4f6;
    padding: 5px 12px;
    border-radius: 100px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-sim-chip:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.25);
    transform: translateY(-1px);
}

.chat-sim-input-bar {
    display: flex;
    border-top: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.02);
    padding: 10px 15px;
    align-items: center;
}

.chat-sim-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    pointer-events: none; /* Emphasize that users should use prompt chips */
}


/* --- mint shadow youtube grid layouts --- */
.music-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    width: 100%;
}

.music-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

/* If there are 5 items, the 5th spans both columns elegantly */
.music-card:nth-child(5):last-child {
    grid-column: 1 / -1;
}

.music-card:hover {
    transform: translateY(-3px);
    border-color: #10b981;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3), 0 0 20px rgba(16, 185, 129, 0.12);
}

.music-embed-container {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000;
    overflow: hidden; /* Mask internal scaling on hover */
    position: relative;
}

.music-embed-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-preview-overlay {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.music-card:hover .video-preview-overlay {
    transform: scale(1.05); /* Smooth panning effect */
}

/* Glassmorphic Play button */
.play-btn-circle {
    width: 54px;
    height: 54px;
    background: rgba(16, 185, 129, 0.85); /* Glowing mint green */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4), 0 0 0 4px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
}

.play-btn-circle svg {
    width: 22px;
    height: 22px;
    fill: #ffffff;
    margin-left: 3px; /* Visual optical alignment for play icon */
    transition: transform 0.3s ease;
}

.video-preview-overlay:hover .play-btn-circle {
    transform: scale(1.15);
    background: #10b981;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.7), 0 0 0 6px rgba(16, 185, 129, 0.2);
}

.video-preview-overlay:hover .play-btn-circle svg {
    transform: scale(1.05);
}

.music-card-info {
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.music-card-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #10b981;
}

.music-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

.music-card-desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

}

}

/* ═══════════════════════════════════════════
   PAGE 3 — AI PRODUCTION & CHAT LAB
   A snapping futuristic AI playground & video collage
   ═══════════════════════════════════════════ */
.ai-lab-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: var(--bg-color);
    position: relative;
    padding: 5.5rem 2.5rem 1.5rem;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    z-index: 5;
}

.ai-glow-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.12) 0%, rgba(59, 130, 246, 0) 70%);
    opacity: 0.8;
    filter: blur(100px);
    pointer-events: none;
    z-index: 1;
}

.ai-lab-container {
    width: 100%;
    max-width: 1400px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    z-index: 2;
}

.ai-lab-header {
    width: 100%;
    text-align: center;
    flex-shrink: 0;
}

.ai-lab-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
    color: var(--text-primary);
    max-width: 700px;
    margin: 0 auto 0.2rem;
}

.ai-lab-tagline {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.75rem, 1.2vw, 0.92rem);
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.ai-lab-content {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
    align-self: center;
    padding-bottom: 1.2rem;
}

/* ─── Left Column: AI Chatbox ─── */
.ai-chat-column {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.chat-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(25px) saturate(1.8);
    -webkit-backdrop-filter: blur(25px) saturate(1.8);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.chat-container.minimized {
    height: 48px !important;
}

.chat-container.minimized .chat-window,
.chat-container.minimized .chat-input-wrapper,
.chat-container.minimized .chat-typing {
    display: none !important;
}

.chat-header {
    padding: 12px 18px;
    background: rgba(128, 128, 128, 0.04);
    border-bottom: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-led-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: chatLedPulse 1.8s infinite ease-in-out;
}

@keyframes chatLedPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; box-shadow: 0 0 4px #10b981; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 10px #10b981; }
}

.chat-header-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.chat-header-status {
    font-family: 'Outfit', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    color: #9333ea;
    letter-spacing: 0.5px;
    border: 1px solid rgba(147, 51, 234, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(147, 51, 234, 0.1);
}

[data-theme="light"] .chat-header-status {
    color: #7c3aed;
    border-color: rgba(124, 58, 237, 0.15);
    background: rgba(124, 58, 237, 0.05);
}

.chat-window {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    scroll-behavior: smooth;
}

.chat-window::-webkit-scrollbar {
    width: 4px;
}
.chat-window::-webkit-scrollbar-track {
    background: transparent;
}
.chat-window::-webkit-scrollbar-thumb {
    background: rgba(128, 128, 128, 0.15);
    border-radius: 4px;
}
.chat-window::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

.chat-msg {
    display: flex;
    gap: 0.8rem;
    max-width: 88%;
    animation: chatMsgFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes chatMsgFadeIn {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-msg.assistant {
    align-self: flex-start;
}

.chat-msg.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    flex-shrink: 0;
}

.chat-msg.assistant .msg-avatar {
    background: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(147, 51, 234, 0.3);
}

.chat-msg.user .msg-avatar {
    background: var(--text-primary);
    color: var(--bg-color);
}

.msg-bubble {
    padding: 10px 16px;
    border-radius: 16px;
    font-size: 0.85rem;
    line-height: 1.45;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.chat-msg.assistant .msg-bubble {
    background: rgba(128, 128, 128, 0.08);
    color: var(--text-primary);
    border-top-left-radius: 4px;
    border: 1px solid var(--card-border);
}

.chat-msg.user .msg-bubble {
    background: var(--accent-color);
    color: #ffffff;
    border-top-right-radius: 4px;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.msg-time {
    font-size: 0.62rem;
    color: var(--text-secondary);
    margin-top: 4px;
    text-align: right;
}

.chat-msg.user .msg-time {
    color: rgba(255, 255, 255, 0.7);
}

.chat-typing {
    padding: 0 1.5rem 1rem;
    align-self: flex-start;
    display: none; /* Controlled via JS */
}

.typing-bubble {
    display: inline-flex;
    gap: 4px;
    padding: 10px 16px;
    background: rgba(128, 128, 128, 0.08);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    border-top-left-radius: 4px;
    align-items: center;
}

.typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--text-secondary);
    opacity: 0.4;
    animation: typingIndicatorBounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingIndicatorBounce {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(-4px); opacity: 1; }
}

.chat-input-wrapper {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--card-border);
    background: rgba(128, 128, 128, 0.02);
    display: flex;
    gap: 0.8rem;
    align-items: center;
    flex-shrink: 0;
}

#chat-input {
    flex: 1;
    background: rgba(128, 128, 128, 0.06);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 0.75rem 1.2rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
    transition: all 0.3s ease;
}

#chat-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
    background: rgba(128, 128, 128, 0.08);
}

#chat-submit-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--accent-color);
    border: none;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px var(--accent-glow);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#chat-submit-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 18px var(--accent-glow);
    background: #3b82f6;
}

#chat-submit-btn:active {
    transform: translateY(0) scale(0.98);
}

/* ─── Right Column: AI Collage ─── */
.ai-collage-column {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.collage-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    gap: 1rem;
}

.collage-filters {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-start;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 0.6rem;
    flex-shrink: 0;
}

.collage-filter-btn {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    background: none;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0.4rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.collage-filter-btn:hover {
    color: var(--text-primary);
}

.collage-filter-btn.active {
    color: #ffffff;
    background: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-glow);
}

.ai-collage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.collage-item {
    overflow: hidden;
    position: relative;
    border-radius: 14px;
    background: #000;
    border: 1px solid var(--card-border);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.collage-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    will-change: transform, filter;
    transform: translate3d(0, 0, 0) scale(1.001);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
    filter: brightness(0.62) contrast(1.02);
}

.collage-item:hover video {
    transform: translate3d(0, 0, 0) scale(1.035);
    filter: brightness(0.95) contrast(1.05);
}

.collage-item.collage-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.collage-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.2) 65%,
        rgba(0, 0, 0, 0.05) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 1.2rem;
    opacity: 0.95;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.collage-item:hover .collage-item-overlay {
    opacity: 1;
}

.collage-item-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
}

.collage-item-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 0.58rem;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.collage-item h5 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.85rem, 1.2vw, 1.05rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.3px;
    margin: 0;
}

.collage-item-prompt {
    font-size: clamp(0.58rem, 0.8vw, 0.7rem);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.45;
    margin: 2px 0 0 0;
}

.collage-item-prompt strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

/* responsive adjust for AI Lab */
@media (max-width: 992px) {
    .ai-lab-section {
        height: auto;
        min-height: 100vh;
        max-height: none;
        overflow-y: auto;
        padding: 5.5rem 1.5rem 3rem;
    }

    .ai-lab-container {
        height: auto;
        gap: 2rem;
    }

    .ai-lab-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 2.5rem;
        height: auto;
        width: 100%;
    }

    .chat-container {
        height: 480px; /* Locked scrolling element height on mobile */
    }

    .ai-collage-grid {
        height: 520px; /* Locked collage height on mobile */
    }
}

@media (max-width: 768px) {
    .ai-collage-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 180px);
        height: auto;
    }

    .collage-item.collage-large {
        grid-column: auto;
        grid-row: auto;
    }
    
    .chat-container {
        height: 420px;
    }
}

/* ═══════════════════════════════════════════
   PAGE 4 — CONNECT & FOOTER
   A breathtaking, snapping contact card & footer panel
   ═══════════════════════════════════════════ */
.contact-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: var(--bg-color);
    position: relative;
    padding: 6rem 2rem 3rem;
    height: auto;
    min-height: 100vh;
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    z-index: 5;
}

.contact-glow-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(59, 130, 246, 0) 70%);
    opacity: 0.8;
    filter: blur(120px);
    pointer-events: none;
    z-index: 1;
}

.contact-container {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    z-index: 2;
}

.contact-header {
    text-align: center;
}

.contact-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.contact-tagline {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* Glassmorphic Contact Card */
.contact-card {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    backdrop-filter: blur(30px) saturate(1.7);
    -webkit-backdrop-filter: blur(30px) saturate(1.7);
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.4s ease, box-shadow 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
    box-shadow: 
        0 40px 90px rgba(0, 0, 0, 0.15),
        0 0 40px var(--accent-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.card-inner {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    max-width: 580px;
    margin: 0 auto;
    gap: 2rem;
}

/* Email Block */
.email-block {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.email-label, .social-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent-color);
    text-transform: uppercase;
}

.email-field-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(128, 128, 128, 0.06);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.email-field-wrapper:hover {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(128, 128, 128, 0.1);
}

.email-text {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.copy-btn {
    background: var(--bg-color);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 0.6rem 1.2rem;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    transform: scale(1.05);
}

.copy-btn:active {
    transform: scale(0.95);
}

/* Tooltip */
.copy-tooltip {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #000;
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.copy-btn:hover .copy-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Social Block */
.social-block {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* Symmetrical Direct Connect Wrappers */
.linkedin-field-wrapper,
.github-field-wrapper,
.whatsapp-field-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(128, 128, 128, 0.06);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.linkedin-field-wrapper:hover,
.github-field-wrapper:hover,
.whatsapp-field-wrapper:hover {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(128, 128, 128, 0.1);
}

.linkedin-btn,
.github-btn,
.whatsapp-btn {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-decoration: none;
    color: inherit;
    gap: 1rem;
}

.linkedin-text,
.github-text,
.whatsapp-text {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.9rem, 2.5vw, 1.6rem);
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.linkedin-btn .social-icon,
.github-btn .social-icon,
.whatsapp-btn .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.linkedin-btn:hover .social-icon,
.github-btn:hover .social-icon,
.whatsapp-btn:hover .social-icon {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    transform: scale(1.05);
}

.linkedin-btn:active .social-icon,
.github-btn:active .social-icon,
.whatsapp-btn:active .social-icon {
    transform: scale(0.95);
}

/* Contact Layout & Form Styling */
.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Unused contact form styling removed. */

/* Detailed Footer Columns */
.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    width: 100%;
    padding: 3.5rem 0 2rem;
    border-top: 1px solid var(--card-border);
    margin-top: 2.5rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    text-align: left;
}

.footer-column-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
}

.brand-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.offerings-list, .nav-links-footer {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.offerings-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.2rem;
}

.offerings-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.nav-links-footer li a {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.nav-links-footer li a:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.location-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.8rem;
}

/* Footer Meta */
.footer-meta {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--card-border);
    padding-top: 2rem;
    margin-top: 1rem;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.back-to-top {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 0 25px var(--accent-glow);
}

.back-to-top:active {
    transform: translateY(-2px) scale(0.95);
}



/* ═══════════════════════════════════════════
   GSAP ANIMATION STATES
   ═══════════════════════════════════════════ */
.gsap-fade-up {
    opacity: 0;
    transform: translateY(60px);
}

.gsap-scale-in {
    opacity: 0;
    transform: scale(0.92);
}

@media (max-width: 1240px) and (min-width: 993px) {
    .project-details-card {
        padding: 1.6rem;
        gap: 1rem;
    }
    .brand-project-layout {
        gap: 1.5rem;
        grid-template-columns: 2.5fr 1fr;
    }
}

/* ═══════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════ */
@media (max-width: 992px) {
    .slide-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 1.5rem;
        height: auto;
        padding-top: 1rem;
    }

    .music-grid {
        grid-template-columns: 1fr !important;
    }

    .brand-project-layout {
        grid-template-columns: 1fr !important;
        gap: 1.8rem;
    }

    /* Collage Grid Responsive Styles */
    .portfolio-collage-grid {
        grid-template-columns: 1fr !important;
        gap: 1px;
    }

    .collage-card {
        grid-column: span 12 !important;
        grid-row: auto !important;
        padding: 1.6rem;
    }

    .collage-card.marquee-card {
        height: 50px;
    }

    .collage-card.tilted-mockup-card {
        min-height: 380px;
    }

    .tilted-mockup-container {
        width: 100%;
        height: 100%;
        transform: none !important;
        border-radius: 0;
        border: none;
    }

    .collage-tags-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .collage-social-grid {
        grid-template-columns: 1fr;
    }

    .details-wrapper {
        height: auto;
    }

    .slide-details {
        position: relative; /* Reverts to relative flow on mobile */
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        overflow-y: visible;
        padding: 1.8rem;
        gap: 0.6rem;
    }

    .mockup-window {
        aspect-ratio: 4 / 3; /* Taller, beautiful embed viewer on mobile/tablets */
    }

    .slide-details h3 {
        font-size: 1.3rem;
    }

    .slide-desc, .slide-features li {
        font-size: 0.85rem;
    }

    .slide-visit-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .slide-content {
        grid-template-rows: auto auto;
        height: auto;
    }

    .mockup-window {
        aspect-ratio: 4 / 3; /* Hold tall, readable aspect ratios on smaller mobile screens */
    }

    .slide-features {
        display: none;
    }

    .slide-desc {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .slide-details {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        overflow-y: visible;
        padding: 1.2rem;
        gap: 0.4rem;
    }
    .mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(15, 1fr);
        gap: 2px;
    }

    /* Symmetrical Mobile 2x15 grid slots coordinates to ensure gapless packing */
    .mosaic-item[data-slot="L1"] { grid-column: 1 / 3; grid-row: 1 / 2; }
    .mosaic-item[data-slot="P1"] { grid-column: 1 / 2; grid-row: 2 / 4; }
    .mosaic-item[data-slot="P2"] { grid-column: 2 / 3; grid-row: 2 / 4; }
    .mosaic-item[data-slot="L2"] { grid-column: 1 / 3; grid-row: 4 / 5; }
    .mosaic-item[data-slot="L3"] { grid-column: 1 / 3; grid-row: 5 / 6; }
    .mosaic-item[data-slot="P3"] { grid-column: 1 / 2; grid-row: 6 / 8; }
    .mosaic-item[data-slot="P4"] { grid-column: 2 / 3; grid-row: 6 / 8; }
    .mosaic-item[data-slot="L4"] { grid-column: 1 / 3; grid-row: 8 / 9; }
    .mosaic-item[data-slot="L5"] { grid-column: 1 / 3; grid-row: 9 / 10; }
    .mosaic-item[data-slot="P5"] { grid-column: 1 / 2; grid-row: 10 / 12; }
    .mosaic-item[data-slot="P6"] { grid-column: 2 / 3; grid-row: 10 / 12; }
    .mosaic-item[data-slot="L6"] { grid-column: 1 / 3; grid-row: 12 / 13; }
    .mosaic-item[data-slot="L7"] { grid-column: 1 / 3; grid-row: 13 / 14; }
    .mosaic-item[data-slot="P7"] { grid-column: 1 / 2; grid-row: 14 / 16; }
    .mosaic-item[data-slot="P8"] { grid-column: 2 / 3; grid-row: 14 / 16; }

    .hero-title {
        font-size: clamp(2.8rem, 12vw, 5rem);
        letter-spacing: -2px;
    }

    .navbar {
        width: 100%;
        top: 0;
        left: 0;
        transform: none;
        padding: 1rem 1.5rem;
        border: none;
        border-bottom: 1px solid var(--card-border);
        border-radius: 0;
        justify-content: space-between; /* Fallback on mobile/tablet to prevent overlaps */
    }

    .logo {
        position: static;
    }

    .carousel-arrow {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .carousel-slide {
        padding: 0 2vw;
    }

    .expertise-title {
        font-size: clamp(1.1rem, 4.5vw, 1.6rem);
    }

    .expertise-tags {
        gap: 0.4rem;
    }

    .expertise-tag {
        font-size: 0.55rem;
        padding: 0.3rem 0.7rem;
    }

    /* Section 3 Responsiveness */
    .contact-section {
        padding: 5rem 1rem 2rem;
    }

    .card-inner {
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

    .email-field-wrapper, .linkedin-field-wrapper {
        padding: 0.8rem 1rem;
    }

    .email-text, .linkedin-text {
        font-size: clamp(0.9rem, 2.8vw, 1.3rem);
    }

    .copy-btn, .linkedin-btn .social-icon {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem 0 1.5rem;
        text-align: center;
    }

    .footer-column {
        align-items: center;
        text-align: center;
    }

    .offerings-list li {
        padding-left: 0;
    }

    .offerings-list li::before {
        display: none;
    }

    .footer-meta {
        flex-direction: column-reverse;
        gap: 1.5rem;
        text-align: center;
        padding-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem 1rem;
        width: 100%;
        border-radius: 0;
        justify-content: space-between;
    }
    .logo {
        font-size: 1.2rem;
    }
    .nav-links {
        gap: 1.2rem;
    }
    .nav-link {
        font-size: 0.85rem;
    }

}

/* ═══════════════════════════════════════════
   UTILITY — SELECTION & SCROLLBAR
   ═══════════════════════════════════════════ */
::selection {
    background: var(--accent-color);
    color: #fff;
}

::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* Smooth theme transition for all elements */
*, *::before, *::after {
    transition-property: background-color, border-color, color, box-shadow;
    transition-duration: 0.4s;
    transition-timing-function: ease;
}

/* Override transition for elements that need different timing */
.mosaic-item img,
.mosaic-item video {
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease;
}

.carousel-track {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ═══════════════════════════════════════════
   HORIZONTAL VIEWPORT WRAPPER
   ═══════════════════════════════════════════ */
.horizontal-wrapper {
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.horizontal-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.section {
    width: 100vw !important;
    height: 100vh !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    flex-shrink: 0;
    overflow-y: auto !important; /* Allow internal vertical scroll if needed on short screens */
    overflow-x: hidden !important;
}

/* ═══════════════════════════════════════════
   SECTION NAVIGATION DOTS (fixed right side)
   ═══════════════════════════════════════════ */
.section-dots {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px 6px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.section-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-dot:hover {
    border-color: var(--accent-color);
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.3);
}

.section-dot.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow), 0 0 20px rgba(59, 130, 246, 0.15);
    transform: scale(1.2);
}

/* ═══════════════════════════════════════════
   REPLICA RESPONSE CARD
   ═══════════════════════════════════════════ */
.replica-response-card {
    width: 100%;
    background: rgba(6, 6, 8, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.2rem 2.2rem;
    backdrop-filter: blur(25px) saturate(1.8);
    -webkit-backdrop-filter: blur(25px) saturate(1.8);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    margin-bottom: 0.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

[data-theme="light"] .replica-response-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.replica-response-query {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    opacity: 0.85;
}

.replica-response-text {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.88rem, 1.1vw, 1.02rem);
    font-weight: 500;
    line-height: 1.5;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .replica-response-text {
    color: #0f0f11;
    text-shadow: none;
}

/* ═══════════════════════════════════════════
   PERSISTENT REPLICA AI BAR
   ═══════════════════════════════════════════ */
.replica-bar-container {
    position: fixed;
    bottom: 2.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 700px;
    z-index: 1005;
    display: none; /* Temporarily disabled */
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    pointer-events: auto;
}

.replica-input-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    background: rgba(6, 6, 8, 0.75);
    border: 1px solid var(--card-border);
    border-radius: 100px;
    padding: 0.7rem 1.6rem;
    backdrop-filter: blur(35px) saturate(1.8);
    -webkit-backdrop-filter: blur(35px) saturate(1.8);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .replica-input-wrapper {
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.replica-input-wrapper:hover,
.replica-input-wrapper:focus-within {
    border-color: var(--accent-color);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.45),
        0 0 30px var(--accent-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.replica-indicator {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 2px;
    margin-right: 0.8rem;
    white-space: nowrap;
}

#replica-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    font-weight: 500;
    padding: 0.3rem 0;
}

#replica-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

#replica-submit-btn {
    background: none;
    border: none;
    outline: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#replica-input:focus ~ #replica-submit-btn,
#replica-submit-btn:hover {
    color: var(--accent-color);
    transform: scale(1.15) translateX(2px);
    text-shadow: 0 0 10px var(--accent-glow);
}

/* Floating answer overlay */
.floating-answers-container {
    position: absolute;
    bottom: 125%;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    pointer-events: none;
    z-index: 996;
}

.floating-answer-bubble {
    background: rgba(147, 51, 234, 0.9);
    color: #ffffff;
    padding: 0.5rem 1.4rem;
    border-radius: 100px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 
        0 10px 25px rgba(147, 51, 234, 0.4),
        0 0 15px rgba(147, 51, 234, 0.3);
    backdrop-filter: blur(10px);
    animation: floatAnswerFadeUp 4.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
}

@keyframes floatAnswerFadeUp {
    0% {
        transform: translateY(20px) scale(0.9);
        opacity: 0;
    }
    10% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    85% {
        transform: translateY(-10px) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-25px) scale(0.95);
        opacity: 0;
    }
}

/* ═══════════════════════════════════════════
   EXPANDED COLLAGE COMPONENTS & GRAPHICS
   ═══════════════════════════════════════════ */

/* 1. WebGL status monitor dashboard */
.collage-dashboard-monitor {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    height: 100%;
}
.monitor-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 0.5rem;
}
.monitor-status {
    font-family: 'Outfit', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-accent);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.monitor-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-accent);
    animation: monitorPulseEffect 1.5s infinite ease-in-out;
}
@keyframes monitorPulseEffect {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.4); opacity: 1; }
}
.monitor-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}
.metric-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
[data-active-brand="hawk"] .metric-box {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255,255,255,0.06);
}
.metric-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-accent);
}
.metric-lbl {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}
[data-active-brand="hawk"] .metric-lbl {
    color: #888888;
}
.monitor-svg-chart {
    flex: 1;
    min-height: 80px;
    position: relative;
}
.monitor-svg-chart svg {
    width: 100%;
    height: 100%;
}
.chart-line {
    fill: none;
    stroke: var(--brand-accent);
    stroke-width: 2;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: drawChartLine 3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards infinite;
}
@keyframes drawChartLine {
    to { stroke-dashoffset: 0; }
}

/* 2. Interactive node structures (Studio) */
.collage-nodes-visualizer {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.visualizer-canvas-box {
    flex: 1;
    position: relative;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    background: rgba(0,0,0,0.2);
    overflow: hidden;
    min-height: 120px;
}
.interactive-node-svg {
    width: 100%;
    height: 100%;
}
.node-circle {
    fill: var(--brand-bg-dark);
    stroke: var(--brand-accent);
    stroke-width: 2;
    transition: transform 0.3s ease, fill 0.3s ease;
    cursor: pointer;
}
.node-circle:hover {
    fill: var(--brand-accent);
    transform: scale(1.3);
}
.node-line {
    stroke: rgba(139, 92, 246, 0.2);
    stroke-width: 1;
    stroke-dasharray: 5;
    animation: animateNodeLines 15s linear infinite;
}
@keyframes animateNodeLines {
    to { stroke-dashoffset: -100; }
}

/* 3. Wave audio spectrum (mint shadow) */
.collage-audio-spectrum {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 1rem;
}
.spectrum-bars-row {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3px;
    min-height: 90px;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
}
.spectrum-bar {
    flex: 1;
    background: linear-gradient(to top, var(--brand-accent) 0%, #10b981 100%);
    opacity: 0.85;
    transition: background 0.3s ease;
}
.spectrum-bar:nth-child(even) {
    animation: bounceBarOdd 1.4s ease-in-out infinite alternate;
}
.spectrum-bar:nth-child(odd) {
    animation: bounceBarEven 1.1s ease-in-out infinite alternate;
}
@keyframes bounceBarOdd {
    0% { height: 15%; }
    100% { height: 85%; }
}
@keyframes bounceBarEven {
    0% { height: 85%; }
    100% { height: 10%; }
}
.spectrum-bar:nth-child(3n) { animation-duration: 0.9s; }
.spectrum-bar:nth-child(4n) { animation-duration: 1.5s; }

/* Releases Catalog List */
.releases-catalog-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.release-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 0.4rem;
    font-size: 0.72rem;
    font-family: 'Outfit', sans-serif;
}
.release-cat {
    font-weight: 700;
    color: var(--brand-accent);
}
.release-title {
    color: var(--brand-text-dark);
}
.release-status-badge {
    font-size: 0.55rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}
.release-status-badge.active {
    background: var(--brand-accent);
    color: #ffffff;
}
.release-status-badge.dev {
    border: 1px solid rgba(0,0,0,0.15);
    color: var(--brand-text-dark);
}

/* 4. SaaS metrics and system blueprints (BASE) */
.collage-saas-metrics {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 1rem;
}
.saas-grid-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}
.saas-stat-box {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.saas-stat-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-accent);
}
.saas-stat-lbl {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brand-text-dark);
    opacity: 0.7;
}

.collage-architecture-blueprint {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.blueprint-graphic {
    flex: 1;
    position: relative;
    border: 1px dashed rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.02);
    min-height: 100px;
    padding: 0.5rem;
}
.blueprint-svg {
    width: 100%;
    height: 100%;
}
.blueprint-node {
    fill: #ffffff;
    stroke: var(--brand-accent);
    stroke-width: 1.5;
}
.blueprint-text {
    font-family: 'Outfit', sans-serif;
    font-size: 8px;
    font-weight: 700;
    fill: var(--brand-text-dark);
    text-anchor: middle;
}
.blueprint-conn {
    stroke: var(--brand-accent);
    stroke-width: 1;
    stroke-dasharray: 4;
    animation: drawBlueprintConn 5s linear infinite;
}
@keyframes drawBlueprintConn {
    to { stroke-dashoffset: -20; }
}


/* ═══════════════════════════════════════════
   GLOBAL PERSISTENT FOOTER BAR
   ═══════════════════════════════════════════ */
.global-footer-bar {
    position: fixed;
    bottom: 1.5rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
    z-index: 1000;
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    mix-blend-mode: difference;
    pointer-events: none;
}

.global-footer-bar a {
    color: #ffffff;
    text-decoration: none;
    pointer-events: auto;
    transition: color 0.3s ease;
}

.global-footer-bar a:hover {
    color: var(--brand-accent);
}

@media (max-width: 768px) {
    .global-footer-bar {
        padding: 0 1.5rem;
        font-size: 0.55rem;
        letter-spacing: 1px;
    }
}

/* ═══════════════════════════════════════════
   HAWK GAMING VIDEO GRID (HOVER-TO-PLAY)
   ═══════════════════════════════════════════ */
/* Combined with .music-collage-wrapper above */

.gaming-collage-item {
    position: relative;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gaming-collage-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gaming-collage-item:hover video {
    transform: scale(1.05);
}

/* Glowing outline overlay matching music style */
.gaming-collage-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 5;
}

.gaming-collage-item:hover::after {
    border-color: #facc15;
    box-shadow: inset 0 0 15px rgba(250, 204, 21, 0.35);
}

/* Badge styling matching other brands */
.gaming-collage-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.75);
    color: #facc15;
    padding: 4px 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    border-left: 2px solid #facc15;
    pointer-events: none;
}

/* Unified Media Queries for Music and Gaming Collages */
@media (max-width: 992px) {
    .music-collage-wrapper,
    .gaming-collage-wrapper {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        height: auto;
        aspect-ratio: 2 / 3;
    }
    
    /* Tablet Slots - all auto to form a clean 2x3 grid of squares */
    .music-collage-item,
    .gaming-collage-item {
        grid-column: auto !important;
        grid-row: auto !important;
    }
}

@media (max-width: 480px) {
    .portfolio-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .portfolio-container .collage-card {
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
    }
    .music-collage-wrapper,
    .gaming-collage-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
        aspect-ratio: auto !important;
        gap: 8px;
    }
    .music-collage-item,
    .gaming-collage-item {
        grid-column: auto !important;
        grid-row: auto !important;
        aspect-ratio: 16 / 9 !important;
    }
}


/* Influencer Partner Card Promotion */
.partner-promo-card {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.partner-promo-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 
                inset 0 0 15px rgba(239, 68, 68, 0.05) !important;
}
@media (max-width: 768px) {
    .partner-promo-card {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1.2rem !important;
    }
}
