/* 
 * Anandhish Tech - 'Ethereal Light' Design System V3 (Final Polish)
 * Theme: Bright, Avant-Garde, Neural Network, Glass
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@1,300;1,500&family=Syncopate:wght@400;700&family=Inter:wght@300;400;500&display=swap');

:root {
    --bg-main: #ffffff;
    --text-primary: #1a1a1a;
    --text-accent: #6b7280;

    --font-heading: 'Syncopate', sans-serif;
    --font-serif: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    /* Fix blue shade on tap */
}

html,
body {
    width: 100%;
    min-height: 100vh;
    /* Allow growth */
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    overflow-y: auto;
    /* Enable vertical scroll */
    scroll-behavior: smooth;
    /* Enable smooth scrolling globally */
}

/* Texture Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 90;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Custom Cursor */
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid #000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.2s ease;
}

body:hover .cursor-ring {
    transform: translate(-50%, -50%) scale(1.5);
}

/* Vertical Spine Layout */
.spine-left {
    position: fixed;
    top: 0;
    left: 0;
    width: 80px;
    height: 100vh;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    z-index: 50;
    background: #ffffff;
}

.brand-v {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: 1rem;
    color: #000;
    text-transform: uppercase;
}

.year {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: #999;
}

/* Main Canvas */
.hero-canvas {
    position: relative;
    width: calc(100% - 80px);
    height: 100vh;
    margin-left: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

/* Text Stacking for Zero Layout Shift */
.hero-info {
    padding: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 10;
    min-height: 100vh;
    /* Ensure it fills height */
}

/* The Grid Stack Trick: Overlap items in the same cell */
.text-stack {
    display: grid;
    grid-template-areas: "stack";
    align-items: center;
    /* Center content vertically in the stack if needed */
    margin-bottom: 3rem;
    /* Space for button */
    position: relative;
}

.text-slide {
    grid-area: stack;
    /* All slides occupy the same space */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
    /* Prevent clicking hidden text */
}

.text-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 2;
}

.hero-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #999;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: #000;
}

/* Typography Stuff */
.title-massive {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 5.5rem);
    /* Slightly reduced clamp for safety */
    line-height: 0.95;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 2rem;
    position: relative;
    white-space: nowrap;
    /* Prevent wrapping changes */
}

.title-line {
    display: block;
}

.title-overlay {
    position: absolute;
    top: 0;
    left: 4px;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.1);
    z-index: -1;
    pointer-events: none;
}

.hero-desc {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-style: italic;
    color: #444;
    max-width: 500px;
    /* Fixed width to prevent re-flow */
    line-height: 1.5;
    height: 120px;
    /* Reserve height for description */
}

.hero-highlight {
    color: #000;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.3);
}

.btn-mag {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #000;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.3s ease;
}

.btn-circle {
    width: 60px;
    height: 60px;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn-mag:hover .btn-circle {
    background: #000;
    color: #fff;
    border-color: #000;
    transform: scale(1.1);
}

/* Progress Indicators */
.slide-indicators {
    position: absolute;
    bottom: 50px;
    left: 100px;
    display: flex;
    gap: 15px;
    z-index: 30;
}

.indicator {
    width: 60px;
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.indicator-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: #000;
}

.indicator.active .indicator-fill {
    width: 100%;
    transition: width 5s linear;
    /* Duration of slide */
}

/* Transition Classes */
.fade-out {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.img-fade-out {
    opacity: 0;
    transform: translate(-5%, -5%) scale(1.1);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.img-fade-in {
    opacity: 1;
    transform: translate(-5%, -5%) scale(1);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Visuals - Full Screen Cinematic Crossfade (Zero Movement) */
.hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
    background: #fafafa;
    overflow: visible;
}

.visual-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 115%;
    /* Full width again */
    height: 115%;
    object-fit: cover;
    /* Back to covering the canvas */
    /* Static transform, no scaling change during animation to prevent jerk */
    transform: translate(-50%, -50%);
    opacity: 0;
    filter: contrast(1.1) saturate(1.1);
    transition: opacity 2s ease-in-out;
    /* Pure opacity fade */
    will-change: opacity;
    pointer-events: none;
    z-index: 1;
}

.visual-img.active {
    opacity: 1;
    transform: translate(-50%, -50%);
    /* Matches inactive state exactly */
    z-index: 10;
}

/* Default: Hide Mobile Imgs on Desktop, Show Desktop Imgs */
.mobile-img {
    display: none;
}

.desktop-img {
    display: block;
}

/* Helper for Text smoothness */
.element-transition {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-out-up {
    opacity: 0 !important;
    transform: translateY(-15px) !important;
}


/* Stats Stack Container */
.stats-stack {
    position: absolute;
    bottom: 60px;
    left: 60px;
    width: 350px;
    /* Fixed width to contain stack */
    height: 200px;
    /* Reserve height */
    z-index: 20;
    pointer-events: none;
    /* Let clicks pass through container */
}

/* Glass Card - Updated for Stacking */
.glass-obj {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-radius: 8px;

    /* Animation State */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: auto;
    /* Enable hover on actual card */
}

.glass-obj.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
}

.glass-obj:hover {
    transform: translateY(-5px) !important;
    /* Override stack transform on hover */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px transparent inset;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #000;
}

.stat-label {
    margin-top: 10px;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

/* Nav */
.nav-top {
    position: fixed;
    top: 40px;
    right: 60px;
    display: flex;
    gap: 40px;
    z-index: 100;
}

.nav-link {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #000;
    transition: width 0.3s ease;
}

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

/* Keyframes */
@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(40px) skewY(2deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) skewY(0);
    }
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeScale {
    from {
        opacity: 0;
        transform: translate(-5%, -5%) scale(1.1);
    }

    to {
        opacity: 1;
        transform: translate(-5%, -5%) scale(1);
    }
}

/* Mobile Responsive Styles */
/* Mobile Responsive Styles - Clean Gallery Mode */
/* Mobile Responsive Styles - Unified "Desktop Essence" Vertical */
/* Mobile Responsive Styles - Text First / Visual Second */
/* Mobile Responsive Styles - Premium Poster Layout */
@media (max-width: 1024px) {
    .spine-left {
        display: none;
    }

    /* 1. Canvas - Subtle Gradient for Depth */
    .hero-canvas {
        width: 100vw;
        height: 100vh;
        margin-left: 0;
        position: relative;
        overflow: hidden;
        background: radial-gradient(circle at 50% 30%, #ffffff 0%, #f0f0f0 100%);
        /* Depth */
        display: block;
    }

    /* 2. Visual Layer - Dominant & Immersive */
    .hero-visual {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
    }

    /* Hide Desktop, Show Mobile */
    .desktop-img {
        display: none;
    }

    .mobile-img {
        display: block;
    }

    .visual-img {
        width: 100%;
        /* Full width for vertical art */
        height: auto;
        /* Maintain aspect ratio */
        min-height: 60%;
        /* Ensure coverage */
        object-fit: contain;
        position: absolute;
        top: 55%;
        left: 50%;
        transform: translate(-50%, -45%);
        opacity: 0;
        transition: opacity 1.2s ease-in-out;
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    }

    .visual-img.active {
        opacity: 1;
    }

    /* 3. Info Layer */
    .hero-info {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10;
        padding: 0;
        pointer-events: none;
    }

    /* 4. Text - Sharp & Top Aligned */
    .text-stack {
        position: absolute;
        top: 100px;
        /* Tighter to nav */
        left: 20px;
        right: 20px;
        pointer-events: auto;
        display: grid;
        grid-template-areas: "stack";
        text-align: left;
    }

    .text-slide {
        grid-area: stack;
        width: 100%;
    }

    .hero-label {
        font-size: 0.65rem;
        color: #888;
        display: flex;
        align-items: center;
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-weight: 600;
    }

    .hero-label::before {
        content: '';
        width: 15px;
        height: 2px;
        background: #000;
        margin-right: 10px;
        display: block;
    }

    .title-massive {
        font-size: clamp(2.8rem, 12vw, 4rem);
        /* Bigger Impact */
        line-height: 0.9;
        color: #000;
        margin-bottom: 8px;
        white-space: normal;
        letter-spacing: -1px;
    }

    .hero-desc {
        font-size: 0.9rem;
        color: #444;
        line-height: 1.4;
        max-width: 90%;
        display: block;
        font-weight: 400;
    }

    /* 5. Stats - Prominent Feature Layout (Magazine Style) */
    .stats-stack {
        position: absolute;
        top: auto;
        bottom: 135px;
        /* Moved down slightly from 165px to 135px */
        left: 20px;
        right: 20px;
        /* Full width minus padding */
        z-index: 20;
        display: block;
        /* Normal flow */
        max-width: 100%;
        text-align: left;
        /* Reset align */
        pointer-events: none;
    }

    .glass-obj {
        background: transparent !important;
        /* Force Transparent */
        backdrop-filter: none;
        box-shadow: none;
        border: none;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        /* Left align to match title */
        gap: 5px;
    }

    .stat-num {
        font-size: 1rem;
        color: #000;
        font-weight: 700;
        opacity: 0.5;
        /* Subtle label */
        margin-left: 5px;
    }

    .stat-label {
        display: block;
        font-family: var(--font-serif);
        /* Switch to Serif for elegance */
        font-size: 1.5rem;
        /* Large but managed */
        font-style: italic;
        color: #111;
        line-height: 1.2;
        font-weight: 400;
        text-shadow: 0 10px 30px rgba(255, 255, 255, 0.8);
        /* Readability over image */
    }

    /* Adjust Visual to sit partially BEHIND this text */
    .visual-img {
        width: 100%;
        height: 65%;
        object-fit: contain;
        position: absolute;
        top: 52%;
        /* Moved DOWN from 45% */
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0;
        transition: opacity 1.2s ease-in-out;
        z-index: 0;
    }

    .visual-img.active {
        opacity: 1;
    }

    /* 6. Nav Island (Mobile) */
    .nav-top {
        right: 50%;
        transform: translateX(50%);
        top: 25px;
        width: 90%;
        /* Wide pill */
        max-width: 400px;
        height: 50px;
        display: flex;
        justify-content: space-between;
        /* Space out Brand and Burger */
        align-items: center;
        padding: 0 25px;
        /* PERFORMANCE FIX: No blur on mobile to stop lag */
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-radius: 50px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        z-index: 100;
        border: 1px solid rgba(0, 0, 0, 0.05);
        pointer-events: auto;
    }

    .nav-brand-mobile {
        display: block;
        font-family: var(--font-heading);
        font-weight: 800;
        font-size: 0.9rem;
        color: #000;
        letter-spacing: 1px;
        border: none;
        /* Remove previous divider */
        margin: 0;
        padding: 0;
    }

    /* Hide Desktop Links on Mobile */
    .nav-links-container {
        display: none;
    }

    /* Show Hamburger (Already Global) */
    .nav-hamburger {
        /* Inherits global styles */
    }

    /* Burger Lines (Already Global) */
    .burger-line {
        /* Inherits global styles */
    }

    /* 7. Button - Solid Anchor */
    .btn-mag {
        position: absolute;
        bottom: 25px;
        left: 20px;
        width: calc(100% - 40px);
        background: #000;
        color: #fff;
        border-radius: 16px;
        padding: 18px 24px;
        justify-content: space-between;
        pointer-events: auto;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
        border: 1px solid #222;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 600;
        font-size: 0.85rem;
        z-index: 50;
    }

    .btn-circle {
        background: #fff;
        color: #000;
        border: none;
        transform: rotate(-45deg);
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .slide-indicators {
        display: none;
    }
}

/* =========================================
   10. CINEMATIC SPLIT LOADER
   ========================================= */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
    /* Blocks interaction initially */
}

/* Two panels acting as curtains */
.loader-panel {
    position: absolute;
    top: 0;
    width: 50%;
    /* Each takes half */
    height: 100%;
    background: #050505;
    /* Deepest Grey/Black */
    z-index: 1;
    transition: transform 1.2s cubic-bezier(0.8, 0, 0.1, 1);
    will-change: transform;
    /* Tech Texture */
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 20px;
    /* Scanlines */
}

.panel-left {
    left: 0;
    transform-origin: left;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.panel-right {
    right: 0;
    transform-origin: right;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.loader-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color: #fff;
    mix-blend-mode: normal;
    /* Better for reading white on black */
    text-align: center;
    width: 90%;
    max-width: 800px;
}

.loader-brand {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 4vw, 1.8rem);
    /* Responsive sizing */
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.4;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    /* Subtle Glow */
}

.loader-status {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 300px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #888;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.4s;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.loader-line-mask {
    width: 100%;
    max-width: 300px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.loader-line {
    width: 0%;
    height: 100%;
    background: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    /* Hot Glow */
    transition: width 0.1s linear;
}

/* --- LOADER EXIT STATES --- */
body.loaded .loader-container {
    pointer-events: none;
    /* Allow clicking through */
}

body.loaded .panel-left {
    transform: translateX(-100%);
    /* Slide Left */
}

body.loaded .panel-right {
    transform: translateX(100%);
    /* Slide Right */
}

body.loaded .loader-content {
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Global Nav Hamburger Styles (Now visible everywhere) */
.nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    width: 24px;
    align-items: flex-end;
}

.burger-line {
    width: 100%;
    height: 2px;
    background-color: #000;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.burger-line:last-child {
    width: 16px;
    /* Stylish uneven lines */
}

/* DESKTOP-ONLY Navigation Logic */
@media (min-width: 1025px) {
    .nav-brand-mobile {
        display: none;
    }

    /* Show hamburger, hide links as requested */
    .nav-hamburger {
        display: flex;
    }

    .nav-links-container {
        display: none;
    }
}

/* =========================================
   11. ABOUT SECTION - DECONSTRUCTED MANIFESTO
   ========================================= */
.about-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #fdfdfd;
    color: #000;
    padding: 100px 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    overflow: hidden;
    /* For watermark */
}

/* Massive Background Typography */
.bg-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 20vw;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.03);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    mix-blend-mode: multiply;
    /* Tattoo effect */
}

/* Creative Grid Layout */
.about-container-creative {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: auto auto;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* 1. The Entity Prism (Now Dark Monolith style) */
.entity-prism {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    background: #0a0a0a;
    /* Dark Background */
    /* Removed Glass Blur for a solid dark look */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    color: #fff;
}

/* Shimmer overlay (Subtle on dark) */
.entity-prism::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.entity-prism:hover::before {
    left: 100%;
    transition: left 0.8s ease;
}

.entity-prism:hover {
    transform: translateY(-5px) scale(1.01);
}

.prism-header,
.prism-footer {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #666;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.prism-footer {
    border-bottom: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    padding-bottom: 0;
}

.prism-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.2vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    word-break: normal;
    /* White Text */
    margin: 40px 0;
    transition: text-shadow 0.3s ease;
}

/* RGB Split Effect on Hover */
.entity-prism:hover .prism-title {
    text-shadow:
        2px 0 rgba(255, 0, 0, 0.4),
        -2px 0 rgba(0, 255, 255, 0.4);
}

/* 2. Philosophy Monolith (Now Light Glass Style) */
.philosophy-monolith {
    grid-column: 2 / 3;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 245, 255, 0.85) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #000;
    /* Dark Text */
    padding: 40px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.mono-text {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #111;
}

.highlight {
    color: #000;
    border-bottom: 1px solid #000;
}

.mono-sub {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
}

.code-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-top: 30px;
    font-family: monospace;
    font-size: 0.7rem;
    color: #999;
}

/* Digital Heartbeat Animation */
.code-grid span {
    animation: digitalPulse 3s infinite ease-in-out;
    opacity: 0.3;
}

.code-grid span:nth-child(odd) {
    animation-delay: 0.5s;
}

.code-grid span:nth-child(even) {
    animation-delay: 1.5s;
}

@keyframes digitalPulse {

    0%,
    100% {
        color: #999;
        opacity: 0.3;
    }

    50% {
        color: #00aa55;
        opacity: 1;
        text-shadow: none;
    }

    /* Darker green for white bg */
}

/* 3. Origin Story */
.origin-story {
    grid-column: 2 / 3;
    padding: 30px;
    border-left: 2px solid #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.origin-header {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 15px;
}

.origin-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

/* Responsive Manifesto */
@media (max-width: 1024px) {
    .about-section {
        padding: 80px 20px;
    }

    .about-container-creative {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 30px;
    }

    .entity-prism {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: auto;
        padding: 40px 15px;
        /* Reduced from 25px for more space */
    }

    .philosophy-monolith {
        grid-column: 1 / -1;
    }

    .origin-story {
        grid-column: 1 / -1;
        border-left: none;
        border-top: 2px solid #000;
        padding: 30px 0 0 0;
    }

    .bg-watermark {
        font-size: 25vw;
        /* Bigger relative to width */
        writing-mode: vertical-rl;
        /* Rotate for drama */
    }
}

/* Manifesto Buttons */
.manifesto-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.arr {
    transition: transform 0.3s ease;
}

.manifesto-btn:hover .arr {
    transform: translateX(5px);
}

/* Light Button (For Dark Card) */
.btn-light {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 25px;
    border-radius: 50px;
    width: fit-content;
    margin-bottom: 25px;
}

.btn-light:hover {
    background: #fff;
    color: #000;
}

/* Dark Button (For Light Card) */
.btn-dark {
    color: #000;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 12px 25px;
    border-radius: 50px;
    width: fit-content;
    margin-top: 25px;
}

.btn-dark:hover {
    background: #000;
    color: #fff;
}

/* Text Button (Minimal) */
.btn-text {
    color: #000;
    padding: 10px 0;
    border-bottom: 1px solid transparent;
}

.btn-text:hover {
    border-bottom: 1px solid #000;
}

/* =========================================
   12. JOURNEY MODAL (Compact Polish)
   ========================================= */
.journey-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.journey-modal.active {
    opacity: 1;
    pointer-events: auto;
}

/* Glass Backdrop */
.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
    /* Darker for focus */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: opacity 0.4s ease;
}

/* Modal Content Card - COMPACTED */
.modal-content-wrapper {
    position: relative;
    width: 90%;
    max-width: 480px;
    /* Slightly wider max for balance */
    max-height: 90vh;
    /* Prevent overflow */
    overflow-y: auto;
    /* Allow scroll if needed on tiny screens */
    background: #fff;
    padding: 40px 40px;
    /* Reduced padding */
    border-radius: 4px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    z-index: 2;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);

    /* Hide scrollbar */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.modal-content-wrapper::-webkit-scrollbar {
    display: none;
}

.journey-modal.active .modal-content-wrapper {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: fixed;
    /* Stick to top right of card */
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: #999;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
}

.modal-close:hover {
    color: #000;
    background: rgba(0, 0, 0, 0.05);
    transform: rotate(90deg);
}

/* Form Typography - TIGHTER */
.modal-header {
    text-align: center;
    margin-bottom: 30px;
    /* Reduced from 50px */
}

.modal-id {
    font-family: var(--font-body);
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: #999;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    /* Reduced from 2rem */
    line-height: 1.1;
    margin-bottom: 10px;
    color: #000;
    letter-spacing: -1px;
}

.modal-desc {
    font-family: var(--font-body);
    font-size: 0.8rem;
    /* Smaller desc */
    color: #666;
    line-height: 1.5;
    max-width: 90%;
    margin: 0 auto;
}

/* Inputs - COMPACT */
.journey-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Reduced from 35px */
}

.input-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    font-weight: 600;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.input-group:focus-within label {
    color: #000;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 8px 0;
    /* Reduced padding */
    border: none;
    border-bottom: 1px solid #e0e0e0;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    color: #000;
    outline: none;
    transition: border-color 0.4s ease, background 0.4s ease;
    background: transparent;
    border-radius: 0;
}

.input-group textarea {
    resize: none;
    height: 30px;
    /* Smaller init height */
    transition: height 0.3s ease;
}

.input-group textarea:focus {
    height: 60px;
}

.input-group input:focus,
.input-group textarea:focus {
    border-bottom-color: #000;
}

/* Submit Button - Enhanced */
.btn-submit {
    margin-top: 20px;
    padding: 18px;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    /* Cosmic Gradient */
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
    /* Bolder text */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    outline: none;
    /* Remove default blue ring */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    /* Soft shadow */
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-submit:active {
    transform: translateY(1px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-submit:focus-visible {
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* Status Messages */
.form-status {
    margin-top: 15px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-align: center;
    min-height: 15px;
    opacity: 0;
}

.form-status:not(:empty) {
    opacity: 1;
}

.status-success {
    color: #00aa55;
    font-weight: 500;
}

.status-error {
    color: #ff3333;
    font-weight: 500;
}

/* Loader */
.btn-loader {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-submit.loading .btn-text {
    visibility: hidden;
}

.btn-submit.loading .btn-loader {
    display: block;
}

@keyframes spin {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Mobile Modals */
@media (max-width: 480px) {
    .modal-content-wrapper {
        padding: 30px 20px;
        width: 100%;
        height: auto;
        min-height: 100vh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* =========================================
   13. STORY PAGE - THE ORIGIN
   ========================================= */
.story-page-canvas {
    width: calc(100% - 80px);
    margin-left: 80px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    position: relative;
    z-index: 10;
}

.origin-hero-card {
    display: flex;
    gap: 40px;
    max-width: 900px;
    width: 90%;
    padding: 0 20px;
}

.origin-line {
    width: 6px;
    background: #000;
    /* Allow it to stretch with content */
    flex-shrink: 0;
}

.origin-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.origin-title-main {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
    line-height: 1.1;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.origin-text-main {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    line-height: 1.6;
    color: #333;
    max-width: 650px;
    margin-bottom: 60px;
    font-weight: 400;
}

.origin-link-main {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: gap 0.3s ease;
    width: fit-content;
}

.origin-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.origin-link-main:hover {
    gap: 25px;
}

.origin-link-main:hover .origin-arrow {
    transform: translateX(10px);
}

/* Mobile Story */
@media (max-width: 1024px) {
    .story-page-canvas {
        width: 100%;
        margin-left: 0;
        padding: 120px 20px 60px 20px;
        min-height: auto;
        align-items: flex-start;
    }

    .origin-hero-card {
        flex-direction: row;
        gap: 25px;
        width: 100%;
        padding: 0;
    }

    .origin-line {
        width: 4px;
    }

    .origin-content {
        padding-top: 0;
    }

    .origin-title-main {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .origin-text-main {
        font-size: 1rem;
        margin-bottom: 40px;
    }
}

/* =========================================
   14. TIMELINE SYSTEM
   ========================================= */

/* Timeline Container adjustments without spine */
.timeline-container {
    position: relative;
    width: 100%;
    padding: 100px 20px 200px 20px;
    background: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

@media (min-width: 1025px) {
    .timeline-container {
        padding-left: 100px;
    }
}

.timeline-spine {
    position: absolute;
    top: 0;
    left: 54%;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2) 10%, rgba(255, 255, 255, 0.2) 90%, transparent);
    transform: translateX(-50%);
    z-index: 1;
}

.time-node {
    position: relative;
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    margin-bottom: 150px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 2;
}

/* Alternating Layout */
.time-node:nth-child(odd) {
    flex-direction: row;
}

.time-node:nth-child(even) {
    flex-direction: row-reverse;
}

.time-node.visible {
    opacity: 1;
    transform: translateY(0);
}

.node-year {
    width: 50%;
    padding: 0 60px;
    text-align: right;
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.time-node:nth-child(even) .node-year {
    text-align: left;
    justify-content: flex-start;
}

.node-content {
    width: 50%;
    padding: 0 60px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.time-node:nth-child(even) .node-content {
    text-align: right;
    align-items: flex-end;
}

.node-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.node-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #999;
    line-height: 1.6;
    max-width: 350px;
}

.active-node .node-title {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.active-node .node-tag {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.6rem;
    color: #000;
    background: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Mobile Timeline - Simply Stacked */
@media (max-width: 1024px) {
    .timeline-container {
        padding: 80px 20px;
        align-items: flex-start;
    }

    .timeline-spine {
        left: 30px;
        width: 1px;
        transform: none;
    }

    .time-node {
        flex-direction: column !important;
        margin-bottom: 60px;
        padding-left: 50px;
        align-items: flex-start;
    }

    .node-year {
        width: 100%;
        text-align: left;
        justify-content: flex-start;
        padding: 0;
        font-size: 3rem;
        margin-bottom: 10px;
        order: 1;
    }

    .node-content {
        width: 100%;
        text-align: left;
        align-items: flex-start !important;
        padding: 0;
        border: none !important;
        order: 2;
    }
}

/* =========================================
   15. CEO FAVORITES (FUN SECTION)
   ========================================= */
.ceo-favorites-section {
    width: 100%;
    /* Keep it distinct from the dark timeline */
    background: #fff;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Fun Background Pattern */
    background-image: radial-gradient(#eee 15%, transparent 16%),
        radial-gradient(#eee 15%, transparent 16%);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
}

@media (min-width: 1025px) {
    .ceo-favorites-section {
        padding-left: 100px;
        /* Offset for spine if needed, though this is full width */
    }
}

.fun-container {
    text-align: center;
    max-width: 800px;
}

.fun-heading {
    font-family: 'Comic Sans MS', 'Chalkboard SE', sans-serif;
    /* Intentionally playful font */
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: #FF0055;
    margin-bottom: 20px;
    line-height: 1.3;
    transform: rotate(-2deg);
    text-shadow: 3px 3px 0px #00FFFF;
}

.fun-sub {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 50px;
    font-weight: 600;
}

.tiny-note {
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
    display: block;
    margin-top: 5px;
}

.toy-box {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.toy-item {
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 20px;
    user-select: none;
    position: relative;
}

.toy-face {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
}

.toy-label {
    font-size: 0.7rem;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.8;
}

/* Toy 1: Jelly */
.jelly {
    background: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 100%);
    box-shadow: 0 10px 20px rgba(255, 154, 158, 0.4);
}

.jelly:hover {
    transform: scale(1.1);
}

.jelly.bounce {
    animation: jellyBounce 0.6s infinite;
}

@keyframes jellyBounce {

    0%,
    100% {
        transform: scale(1, 1);
    }

    25% {
        transform: scale(0.9, 1.1);
    }

    50% {
        transform: scale(1.1, 0.9);
    }

    75% {
        transform: scale(0.95, 1.05);
    }
}

/* Toy 2: Star */
.star {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
    box-shadow: 0 10px 20px rgba(132, 250, 176, 0.4);
    border-radius: 50%;
}

.star:hover {
    transform: rotate(15deg) scale(1.1);
}

.star.spin-fast {
    animation: spinFast 1s infinite linear;
}

@keyframes spinFast {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Toy 3: Glitch */
.glitch-block {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    box-shadow: 0 10px 20px rgba(161, 140, 209, 0.4);
    border-radius: 4px;
}

.glitch-block:hover {
    transform: skewX(-5deg) scale(1.1);
}

.glitch-active {
    animation: glitchShake 0.2s infinite;
    filter: invert(1);
}

@keyframes glitchShake {
    0% {
        transform: translate(2px, 2px);
    }

    25% {
        transform: translate(-2px, -2px);
    }

    50% {
        transform: translate(-2px, 2px);
    }

    75% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@media (max-width: 768px) {
    .fun-heading {
        font-size: 1.8rem;
    }

    .toy-box {
        gap: 20px;
    }

    .toy-item {
        width: 90px;
        height: 90px;
    }

    .toy-face {
        font-size: 1.5rem;
    }
}

/* =========================================
   15. CEO'S PLAYGROUND (Fun Section)
   ========================================= */
.ceo-playground {
    position: relative;
    width: 100%;
    padding: 100px 20px;
    background: #ffeb3b;
    /* Bright Yellow Contrast */
    background-image: radial-gradient(#ff9800 20%, transparent 20%),
        radial-gradient(#ff9800 20%, transparent 20%);
    background-color: #fdf5e6;
    background-position: 0 0, 50px 50px;
    background-size: 100px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: #333;
    z-index: 10;
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Marker Felt', sans-serif;
    /* Intentionally playful */
}

.playground-content {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 10px 10px 0px #000;
    /* Retro Brutalist Shadow */
    border: 3px solid #000;
    text-align: center;
    max-width: 600px;
    z-index: 2;
    position: relative;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.playground-content:hover {
    transform: rotate(0deg) scale(1.02);
}

.fun-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ff0055;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px #000;
}

.fun-text {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 30px;
    font-weight: 600;
    color: #000;
}

/* Toys */
.toy-box {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.toy {
    font-size: 2.5rem;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s;
}

.toy:hover {
    transform: scale(1.2);
}

/* Toy Animations */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.toy.bounce {
    animation: bounce 0.5s infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.toy.spin {
    animation: spin 1s infinite linear;
}

@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

.toy.shake {
    animation: shake 0.5s infinite;
}

@keyframes jelly {
    0% {
        transform: scale(1, 1);
    }

    30% {
        transform: scale(1.25, 0.75);
    }

    40% {
        transform: scale(0.75, 1.25);
    }

    50% {
        transform: scale(1.15, 0.85);
    }

    65% {
        transform: scale(0.95, 1.05);
    }

    75% {
        transform: scale(1.05, 0.95);
    }

    100% {
        transform: scale(1, 1);
    }
}

.toy.jelly {
    animation: jelly 0.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.toy.pulse {
    animation: pulse 0.8s infinite;
}

/* Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
    opacity: 0.6;
    animation: blobFloat 10s infinite alternate;
}

.b-1 {
    width: 300px;
    height: 300px;
    background: #00ffcc;
    top: -50px;
    left: -50px;
}

.b-2 {
    width: 400px;
    height: 400px;
    background: #ff00ff;
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.b-3 {
    width: 200px;
    height: 200px;
    background: #ffff00;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

/* =========================================
   15. CEO SHOWCASE SECTION
   ========================================= */
.showcase-section {
    position: relative;
    width: 100%;
    background: #fdfdfd;
    /* Keeps the light theme flow */
    padding: 150px 80px;
    z-index: 10;
    margin-left: 80px;
    /* Offset for sidebar */
    width: calc(100% - 80px);
}

.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.showcase-header {
    margin-bottom: 80px;
    max-width: 100%;
    text-align: center;
}

.showcase-disclaimer {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 20px;
    font-weight: 600;
}

.showcase-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    color: #111;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.highlight-text {
    color: #666;
    font-style: italic;
    font-family: var(--font-serif);
    text-transform: none;
    font-weight: 400;
    display: block;
    /* Make it stand out on new line if needed, or keep inline */
}

.showcase-tags {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.tag {
    padding: 8px 16px;
    border: 1px solid #000;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: default;
}

.tag:hover {
    background: #000;
    color: #fff;
    transform: rotate(-3deg);
}

/* Grid */
.previews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Cards */
.preview-card {
    display: block;
    position: relative;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    background: #f0f0f0;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.preview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.card-visual {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 100%);
    color: #fff;
    transform: translateY(10px);
    opacity: 0.9;
    transition: all 0.4s ease;
}

.preview-card:hover .card-info {
    transform: translateY(0);
    opacity: 1;
}

.card-cat {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
    opacity: 0.8;
}

.card-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 10px;
    line-height: 1;
}

.card-status {
    font-family: var(--font-body);
    font-size: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 4px 10px;
    border-radius: 20px;
}

/* 1. Animated Card Visuals - Stronger Dark Mode */
.animated-card .card-visual {
    background: #050505;
}

.anim-blob {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 0, 85, 0.4), transparent 70%);
    border-radius: 50%;
    position: absolute;
    filter: blur(50px);
    mix-blend-mode: screen;
    animation: blobMove 6s infinite ease-in-out alternate;
}

.anim-blob:nth-child(2) {
    background: radial-gradient(circle, rgba(0, 204, 255, 0.4), transparent 70%);
    right: 10%;
    bottom: 10%;
    width: 300px;
    height: 300px;
    animation-delay: -3s;
}

@keyframes blobMove {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

/* 2. Colorful Card Visuals - Smooth Aurora Gradient */
.colorful-card .card-visual {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
}

.color-mesh {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(at 10% 10%, rgba(255, 154, 158, 0.8) 0, transparent 50%),
        radial-gradient(at 90% 90%, rgba(161, 140, 209, 0.8) 0, transparent 50%),
        radial-gradient(at 50% 50%, rgba(251, 194, 235, 0.6) 0, transparent 60%);
    opacity: 1;
    filter: blur(40px);
    animation: auroraShift 10s infinite ease-in-out alternate;
}

@keyframes auroraShift {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* Mobile Showcase */
@media (max-width: 1024px) {
    .showcase-section {
        margin-left: 0;
        width: 100%;
        padding: 80px 20px;
    }

    .previews-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .preview-card {
        height: 400px;
        /* Smaller on mobile */
    }

    .showcase-title {
        font-size: 2rem;
    }
}

/* IFRAME EMBED STYLES FOR ANIMATED PREVIEW */
.preview-card iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
    /* Let the link wrap handle the click */
    transform: scale(1.01);
    /* Slight zoom to avoid borders */
}

.click-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    background: transparent;
    cursor: pointer;
}

/* =========================================
   16. FOUNDER & VISION SECTION
   ========================================= */
.founder-section {
    position: relative;
    width: 100%;
    /* Subtle separation from white background */
    background: #0a0a0a;
    color: #fff;
    padding: 150px 80px;
    z-index: 10;
    margin-left: 80px;
    width: calc(100% - 80px);
    overflow: hidden;
}

.founder-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
}

/* Visual Side */
.founder-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.founder-portrait {
    width: 400px;
    height: 500px;
    background: #111;
    position: relative;
    overflow: hidden;
    /* Aesthetic border */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portrait-noise {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48ZmlsdGVyIGlkPSJub2lzZSI+PGZlVHVyYnVsZW5jZSB0eXBlPSJmcmFjdGFsTm9pc2UiIGJhc2VGcmVxdWVuY3k9IjAuNjUiIG51bU9jdGF2ZXM9IjMiIHN0aXRjaFRpbGVzPSJzdGl0Y2giLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWx0ZXI9InVybCgjbm9pc2UpIiBvcGFjaXR5PSIwLjEiLz48L3N2Zz4=');
    opacity: 0.15;
    animation: noiseShift 0.5s steps(3) infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes noiseShift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(10px, 10px);
    }
}

.portrait-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 10;
    /* Boost z-index */
}

.portrait-overlay img {
    position: absolute;
    /* Force absolute positioning */
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    z-index: 11;
}

.portrait-overlay span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    font-family: var(--font-heading);
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.1);
    letter-spacing: 5px;
    white-space: nowrap;
    pointer-events: none;
}

/* Content Side */
.founder-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.founder-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #666;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
}

.founder-name {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 0.9;
    color: #fff;
    margin-bottom: 0px;
    letter-spacing: -2px;
    text-transform: uppercase;
}

.founder-aim {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #999;
    font-style: italic;
    margin-bottom: 40px;
    font-weight: 300;
}

.founder-text {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    max-width: 500px;
    margin-bottom: 50px;
}

/* CTA Link */
.founder-cta {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 2px;
    transition: gap 0.3s ease;
    width: fit-content;
}

.cta-line {
    width: 30px;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
}

.cta-arrow {
    transition: transform 0.3s ease;
}

.founder-cta:hover {
    gap: 25px;
}

.founder-cta:hover .cta-line {
    width: 50px;
}

.founder-cta:hover .cta-arrow {
    transform: translateX(5px);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .founder-section {
        margin-left: 0;
        width: 100%;
        padding: 80px 20px;
        z-index: 92;
        /* Lift above global noise (z-90) for clean image */
    }

    .founder-container {
        flex-direction: column;
        gap: 40px;
    }

    /* Simplified Mobile Image */
    /* Simplified Mobile Image - IMPACT Size */
    .founder-img-main {
        width: 90% !important;
        max-width: 350px !important;
        /* Larger Impact Size */
        height: auto !important;
        aspect-ratio: 3/4;
        object-fit: cover !important;
        /* Standard portrait ratio */
        object-fit: cover !important;
        margin: 0 auto 30px auto !important;
        display: block !important;
        opacity: 1 !important;
        border-radius: 12px !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
        position: relative !important;
        z-index: 100 !important;
        /* Sits above all noise layers */
    }

    /* Cleanup old classes to be safe */
    .founder-portrait,
    .portrait-overlay,
    .portrait-noise {
        display: none !important;
    }

    .founder-aim {
        font-size: 1.2rem;
    }
}

/* =========================================
   17. THE AVANT-GARDE COLLECTION (Minimalist Editorial)
   ========================================= */
.avant-section {
    position: relative;
    width: 100%;
    /* Start White/Paper Theme */
    background: #f4f4f4;
    color: #111;
    padding: 150px 80px;
    margin-left: 80px;
    width: calc(100% - 80px);
    overflow: hidden;
}

.avant-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
.avant-header {
    margin-bottom: 80px;
    border-bottom: 2px solid #111;
    padding-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.tiny-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 10px;
    display: block;
}

.avant-title {
    font-family: var(--font-heading);
    font-size: 6rem;
    line-height: 0.85;
    color: #111;
    text-transform: uppercase;
    letter-spacing: -2px;
    text-align: right;
}

/* Service List (Editorial) */
.service-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 150px;
}

.service-item {
    position: relative;
    padding: 60px 0;
    cursor: pointer;
    transition: all 0.4s ease;
}

.service-item:hover {
    padding-left: 40px;
    /* Indent on hover */
}

.srv-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ccc;
    transition: background 0.4s ease;
}

.service-item:hover .srv-line {
    background: #111;
    height: 2px;
}

.group {
    display: grid;
    grid-template-columns: 0.4fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.srv-left {
    display: flex;
    flex-direction: column;
}

.srv-id {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: #999;
    margin-bottom: 20px;
}

.srv-label {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1;
    color: #111;
    transition: color 0.3s ease;
}

.service-item:hover .srv-label {
    color: #ff3333;
    /* International Klein Red/Orange */
}

.srv-right {
    padding-top: 10px;
    max-width: 600px;
}

.srv-desc {
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 1.5;
    color: #444;
    margin-bottom: 20px;
}

.srv-tags {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ADVANTAGE (Grid of Truth) */
.avant-truth {
    background: #111;
    color: #fff;
    padding: 80px;
    border-radius: 4px;
}

.truth-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
    border-bottom: 1px solid #333;
    padding-bottom: 30px;
}

.truth-header .tiny-tag {
    color: #666;
}

.truth-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 0.9;
    color: #fff;
    text-align: right;
}

.truth-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.truth-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.truth-icon {
    font-size: 2rem;
    color: #ff3333;
    margin-bottom: 10px;
}

.truth-item h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1;
    color: #fff;
}

.truth-item p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #999;
    line-height: 1.6;
}

/* Mobile */
@media (max-width: 1024px) {
    .avant-section {
        margin-left: 0;
        width: 100%;
        padding: 60px 20px;
    }

    .avant-header,
    .truth-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .avant-title {
        font-size: 13vw;
        /* Responsive scaling */
        text-align: left;
        line-height: 0.9;
    }

    .group {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .srv-label {
        font-size: 2rem;
    }

    .srv-desc {
        font-size: 1rem;
        /* Readable body text */
    }

    .avant-truth {
        padding: 40px 20px;
    }

    .truth-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .truth-title {
        font-size: 12vw;
        text-align: left;
    }

    .truth-item h3 {
        font-size: 1.8rem;
    }
}

/* =========================================
   18. STORY PAGE (THE AURA) - V20
   ========================================= */
.aura-body {
    background: #000;
    color: #fff;
    font-family: 'Lato', sans-serif;
    overflow-x: hidden;
    margin: 0;
    cursor: none;
    /* Custom cursor */
}

/* 1. DYNAMIC BACKGROUND (Aurora) */
.aura-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #050505;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
    animation: drift 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.orb-1 {
    width: 50vw;
    height: 50vw;
    background: #4a00e0;
    top: -10%;
    left: -10%;
    animation-duration: 25s;
}

/* Deep Purple */
.orb-2 {
    width: 40vw;
    height: 40vw;
    background: #8e2de2;
    bottom: -10%;
    right: -10%;
    animation-duration: 18s;
}

/* Violet */
.orb-3 {
    width: 30vw;
    height: 30vw;
    background: #00b4db;
    top: 40%;
    left: 40%;
    animation-duration: 30s;
}

/* Cyan */

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* 2. CURSOR */
.aura-cursor {
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 1000;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px #fff;
    mix-blend-mode: overlay;
}

/* 3. NAV */
.au-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.au-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: #fff;
    text-decoration: none;
}

.au-close {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    letter-spacing: 2px;
    transition: 0.3s;
}

.au-close:hover {
    color: #fff;
}

/* 4. LAYOUT */
.au-main {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 100px;
}

.au-section {
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
}

.au-section.intro {
    flex-direction: column;
    text-align: center;
}

.au-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 1;
    font-weight: 400;
}

.itchy {
    font-style: italic;
    color: #d4af37;
    /* Gold */
}

.glow {
    text-shadow: 0 0 30px rgba(74, 0, 224, 0.6);
}

.au-subtitle {
    margin-top: 30px;
    font-size: 0.9rem;
    letter-spacing: 5px;
    color: rgba(255, 255, 255, 0.6);
}

/* 5. CARDS (Soft Glass) */
.au-card {
    display: flex;
    align-items: center;
    gap: 50px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 1000px;
    opacity: 0;
    transform: translateY(50px);
    transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.au-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.reverse .au-card {
    flex-direction: row-reverse;
}

.au-img-wrap {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
}

.au-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    filter: grayscale(20%);
}

.au-card:hover .au-img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.au-content {
    flex: 1;
}

.au-head {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.au-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* 6. FINALE */
.au-finale {
    text-align: center;
    opacity: 0;
    transform: scale(0.9);
    transition: 1s ease;
}

.au-finale.visible {
    opacity: 1;
    transform: scale(1);
}

.au-head.large {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 50px;
}

.au-btn {
    display: inline-block;
    padding: 20px 50px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.5rem;
    border-radius: 50px;
    transition: 0.3s;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.au-btn:hover {
    transform: scale(1.05);
    background: #f0f0f0;
}

/* Responsive */
@media (max-width: 900px) {
    .au-card {
        flex-direction: column !important;
        padding: 20px;
    }

    .au-img-wrap {
        width: 100%;
        height: 250px;
    }
}

/* FIXING LINT ERRORS: Removing empty rulesets */
.creator-hub-video-container {
    /* Removed empty rule */
    position: relative;
}

@media (max-width: 768px) {
    .bi-toggle-content {
        padding: 10px;
    }
}

/* =========================================
   ANISH STORY: V7.5 THE REFINED ARCHIVE
   ========================================= */

.anish-story-body.v7-archive {
    background: #050505;
    /* Blacker than black */
    color: #e0e0e0;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Texture */
.archive-grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

.archive-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48ZmlsdGVyIGlkPSJnoiPjxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjY1IiBudW1PY3RhdmVzPSIzIiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI2cpIiBvcGFjaXR5PSIwLjAzIi8+PC9zdmc+');
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

/* Fonts */
.v7-archive h1,
.v7-archive h2,
.v7-archive h3,
.pull-quote {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
}

.mono-num,
.chapter-meta,
.nav-btn,
.frame-text,
.current-chapter,
.tile-num {
    font-family: 'Space Mono', monospace;
}

/* Archive Frame */
.archive-frame {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    pointer-events: none;
    z-index: 50;
    mix-blend-mode: exclusion;
}

.frame-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
}

.frame-line.top {
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
}

.frame-line.bottom {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
}

.frame-line.left {
    top: 0;
    left: 0;
    height: 100%;
    width: 1px;
}

.frame-line.right {
    top: 0;
    right: 0;
    height: 100%;
    width: 1px;
}

.frame-text {
    position: absolute;
    font-size: 0.6rem;
    color: #fff;
    opacity: 0.5;
}

.top-left {
    top: 10px;
    left: 0;
}

.top-right {
    top: 10px;
    right: 0;
}

.bottom-left {
    bottom: 10px;
    left: 0;
}

.bottom-right {
    bottom: 10px;
    right: 0;
}

.corner-mark {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
}

.tl {
    top: -4px;
    left: -4px;
}

.tr {
    top: -4px;
    right: -4px;
}

.bl {
    bottom: -4px;
    left: -4px;
}

.br {
    bottom: -4px;
    right: -4px;
}

/* Nav */
.archive-nav {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 100;
}

.nav-btn {
    text-decoration: none;
    color: #fff;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
}

.nav-btn:hover {
    border-color: #fff;
    background: #fff;
    color: #000;
}

/* Scroll Tracker */
.scroll-tracker {
    position: fixed;
    bottom: 40px;
    left: 40px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-bar {
    width: 100px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.fill {
    width: 0%;
    height: 100%;
    background: #fff;
}

/* Main Layout */
.archive-main {
    position: relative;
    z-index: 10;
    padding: 0 40px;
}

/* Sections */
.archive-section {
    min-height: 100vh;
    padding: 100px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Hero */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    border: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    width: 100%;
    align-items: center;
}

.main-title {
    font-size: 7vw;
    line-height: 0.9;
    color: #fff;
    margin-bottom: 2rem;
}

.reveal-text {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-text.show {
    transform: translateY(0);
    opacity: 1;
}

.hero-sub {
    max-width: 400px;
    font-size: 1rem;
    color: #888;
    border-left: 1px solid #444;
    padding-left: 20px;
}

.hero-img-box {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: grayscale(100%) contrast(1.1);
}

.img-curtain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050505;
    animation: revealCurtain 1.5s 0.5s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

@keyframes revealCurtain {
    to {
        transform: translateY(-100%);
    }
}


/* Content Splits */
.content-split {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
}

.sticky-col {
    position: sticky;
    top: 150px;
    height: fit-content;
    text-align: right;
    padding-right: 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.chapter-number {
    font-size: 4rem;
    opacity: 0.1;
    line-height: 1;
}

.chapter-name {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.chapter-meta {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.8;
}

.lead-text {
    font-size: 2.2rem;
    font-weight: 300;
    color: #e0e0e0;
    margin-bottom: 60px;
}

.body-text {
    font-size: 1.1rem;
    color: #999;
    margin-bottom: 30px;
    max-width: 650px;
}

.highlight {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
}

.pull-quote {
    font-size: 3rem;
    color: #fff;
    margin: 60px 0;
    line-height: 1.1;
    font-style: italic;
    opacity: 0.9;
}

/* Method Steps */
.method-step {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    display: flex;
    gap: 20px;
}

.step-marker {
    font-family: 'Space Mono', monospace;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    height: fit-content;
}

/* Grid Section */
.grid-section {
    display: block;
}

.grid-header {
    margin-bottom: 60px;
}

.grid-header h2 {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.1);
    line-height: 0.9;
}

.philosophy-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tile {
    padding: 60px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
}

.tile:hover {
    background: #111;
}

.tile-num {
    display: block;
    margin-bottom: 20px;
    opacity: 0.5;
}

.tile h4 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
    font-family: 'Cormorant Garamond', serif;
}

/* Footer */
.footer-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 70vh;
}

.footer-center h2 {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 40px;
}

.cta-archive {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #fff;
    color: #000;
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    transition: all 0.3s;
}

.cta-archive:hover {
    background: #fff;
    color: #000;
    letter-spacing: 2px;
}

/* ===========================
   RESPONSIVE (MOBILE/TABLET)
   =========================== */
@media (max-width: 1024px) {

    /* Layout Adjustments */
    .archive-frame {
        display: none;
    }

    /* Hide fixed borders */
    .archive-main {
        padding: 0 20px;
    }

    .archive-nav {
        top: 20px;
        right: 20px;
    }

    .scroll-tracker {
        display: none;
    }

    /* Hide tracker on small screens */

    /* Hero Section */
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 60px;
        display: block;
    }

    .hero-content {
        display: flex;
        flex-direction: column-reverse;
        /* Text below image */
        gap: 30px;
    }

    .hero-img-box {
        height: 50vh;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-title {
        font-size: 12vw;
        /* Larger relative font */
        text-align: left;
    }

    .hero-sub {
        border: none;
        padding: 0;
        text-align: left;
        font-size: 0.9rem;
    }

    /* Content Sections */
    .archive-section {
        padding: 60px 0;
        min-height: auto;
    }

    .content-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Sticky Headers become static */
    .sticky-col {
        position: relative;
        top: 0;
        text-align: left;
        padding: 0;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .chapter-number {
        font-size: 2.5rem;
        display: inline-block;
        margin-right: 15px;
        opacity: 0.3;
    }

    .chapter-name {
        font-size: 2rem;
        display: inline-block;
        margin: 0;
    }

    .chapter-meta {
        display: flex;
        gap: 15px;
        font-size: 0.6rem;
        margin-top: 10px;
        opacity: 0.6;
    }

    /* Text Adjustments */
    .lead-text {
        font-size: 1.4rem;
        line-height: 1.4;
        margin-bottom: 30px;
    }

    .body-text {
        font-size: 1rem;
    }

    .pull-quote {
        font-size: 1.8rem;
        margin: 40px 0;
        border-left: 2px solid #fff;
        padding-left: 20px;
    }

    /* Grid */
    .philosophy-tiles {
        grid-template-columns: 1fr;
    }

    .tile {
        padding: 30px;
        border-right: none;
    }

    /* Footer */
    .footer-section {
        height: auto;
        padding: 100px 0;
    }

    .footer-center h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .cta-archive {
        width: 100%;
        text-align: center;
    }
}

/* ===========================
   MODAL STYLES (Collaboration)
   =========================== */
.archive-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.archive-modal.active {
    pointer-events: auto;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-panel {
    position: relative;
    width: 90%;
    max-width: 500px;
    background: #000;
    border: 1px solid #fff;
    padding: 40px;
    z-index: 10;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.archive-modal.active .modal-panel {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-family: 'Space Mono', monospace;
}

.modal-title {
    font-family: 'Space Mono', monospace;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.modal-sub {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
}

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

.form-group label {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: #666;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    padding: 10px;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #fff;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #fff;
    color: #000;
    border: none;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #ccc;
}

/* 
   SECTION: PROCESS / ALGORITHM 
   Added for engagement model visualization 
*/
.process-section {
    position: relative;
    padding: 120px 60px;
    background: #fcfcfc;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.process-container {
    max-width: 1400px;
    margin: 0 auto;
}

.process-header {
    margin-bottom: 80px;
    text-align: center;
}

.process-tag {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    display: block;
    margin-bottom: 20px;
}

.process-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: #000;
    line-height: 1;
}

/* Timeline Grid */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.p-step {
    position: relative;
    padding: 40px 30px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.p-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.p-step-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1;
}

.p-step-icon {
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 60px;
    display: block;
}

.p-step-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.p-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Special Last Step - Connectivity */
.p-step.final {
    grid-column: span 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #000;
    color: #fff;
    margin-top: 40px;
}

.p-step.final .p-step-num {
    color: rgba(255, 255, 255, 0.1);
}

.p-step.final .p-step-title,
.p-step.final .p-text {
    color: #fff;
}

.p-step.final .p-step-title {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.p-step.final .p-text {
    color: #aaa;
    max-width: 500px;
}

.p-actions {
    display: flex;
    gap: 20px;
}

.action-btn {
    padding: 15px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.action-btn:hover {
    background: #fff;
    color: #000;
}

.action-btn.ceo {
    background: rgba(255, 255, 255, 0.1);
    border-color: transparent;
}

.action-btn.ceo:hover {
    background: #ff3333;
    color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-section {
        padding: 80px 20px;
    }

    .p-step.final {
        grid-column: span 1;
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .p-actions {
        flex-direction: column;
        width: 100%;
    }

    .action-btn {
        width: 100%;
        text-align: center;
    }
}

/* 
   SECTION: PARTNERSHIP 
*/
.partnership-section {
    padding: 120px 60px;
    background: #050505;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.partner-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.partner-text-content .partner-tag {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
}

.partner-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.1;
}

.partner-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #aaa;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 500px;
}

.partner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.partner-card {
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    border-radius: 4px;
}

.partner-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.pc-icon {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
    display: block;
}

.pc-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: #fff;
    margin-bottom: 10px;
}

.pc-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #888;
    line-height: 1.5;
}

.partner-btn {
    display: inline-block;
    margin-top: 40px;
    padding: 16px 36px;
    background: #fff;
    color: #000;
    font-family: var(--font-body);
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background 0.3s, transform 0.3s;
    border-radius: 4px;
}

.partner-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

/* 
   SECTION: CREATIVE FOOTER 
*/
.main-footer {
    background: #000;
    color: #fff;
    padding: 120px 60px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 100px;
}

.footer-brand h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-brand p {
    font-family: var(--font-serif);
    font-style: italic;
    color: #666;
    max-width: 300px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #444;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.footer-link {
    display: block;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #999;
    text-decoration: none;
    margin-bottom: 15px;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-link:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #444;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.social-link:hover {
    color: #fff;
}

/* Responsive Partnership/Footer */
@media (max-width: 1024px) {
    .partner-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .main-footer {
        padding: 80px 20px 40px;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

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

/* =========================================
   V2: ULTRA CEATIVE PARTNERSHIP & FOOTER
   ========================================= */

/* PARTNERSHIP V2 */
.partnership-v2-section {
    position: relative;
    background: #000;
    color: #fff;
    padding-bottom: 0;
    /* Integrated with Footer */
    overflow: hidden;
    margin-left: 80px;
    /* OFFSET FOR FIXED SIDEBAR */
}

/* Marquee */
.marquee-container {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #0a0a0a;
}

.marquee-content {
    white-space: nowrap;
    animation: marqueeScroll 20s linear infinite;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: #444;
    letter-spacing: 3px;
    text-transform: uppercase;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partner-v2-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 60px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
}

.p-v2-tag {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #666;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
}

.p-v2-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    /* Big */
    line-height: 1;
    margin-bottom: 60px;
    color: #fff;
}

.outline-text {
    color: transparent;
    -webkit-text-stroke: 1px #fff;
}

.highlight-text {
    color: #fff;
    font-style: italic;
    font-family: var(--font-serif);
}

.p-v2-buttons {
    margin-top: 40px;
}

.btn-creative-large {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 400px;
    padding: 30px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    transition: all 0.4s ease;
}

.btn-creative-large:hover {
    background: #fff;
    color: #000;
    transform: scale(1.02);
}

.btn-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.btn-icon {
    font-size: 1.5rem;
}

/* Right List */
.v2-list-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    transition: padding-left 0.3s ease;
}

.v2-list-item:hover {
    padding-left: 20px;
    border-color: #fff;
}

.v2-num {
    font-family: var(--font-heading);
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.v2-head {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
}

.v2-desc {
    font-family: var(--font-body);
    color: #888;
    font-size: 0.95rem;
}

/* FOOTER MONOLITH - REFINED */
.footer-monolith {
    background: #050505;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtler divider */
    padding: 100px 60px 40px;
    margin-left: 80px;
    /* OFFSET FOR FIXED SIDEBAR */
    position: relative;
    overflow: hidden;
}

/* Background Texture */
.footer-monolith::before {
    content: 'ANANDHISH';
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 15vw;
    color: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}

.footer-top-row {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 120px;
    position: relative;
    z-index: 1;
}

.ft-huge-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    color: #fff;
    margin-bottom: 30px;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ft-meta {
    font-family: var(--font-body);
    color: #666;
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: flex;
    gap: 20px;
}

.ft-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.ft-col-head {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: #444;
    margin-bottom: 30px;
    display: block;
    letter-spacing: 2px;
    font-weight: 700;
}

.ft-col a {
    display: block;
    color: #999;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 1.1rem;
    /* Larger links */
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    width: fit-content;
}

.ft-col a:hover {
    color: #fff;
    transform: translateX(10px);
}

.ft-col a::after {
    content: '→';
    position: absolute;
    right: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.ft-col a:hover::after {
    opacity: 1;
    right: -30px;
}

.footer-bottom-row {
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* Responsive V2 */
@media (max-width: 1024px) {

    .partner-v2-container,
    .footer-top-row {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .ft-huge-title {
        font-size: 5rem;
    }

    .footer-bottom-row {
        flex-direction: column;
        gap: 20px;
    }


    /* Reset Margins when Sidebar is hidden */
    .partnership-v2-section,
    .footer-monolith,
    .footer-mega {
        margin-left: 0;
        padding-left: 20px;
        padding-right: 20px;
    }

    .p-v2-title {
        font-size: 2.5rem;
        /* Smaller title on mobile */
    }

    .btn-creative-large {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .partner-v2-container {
        grid-template-columns: 1fr;
        padding: 60px 0;
    }

    .p-v2-buttons {
        width: 100%;
    }

    .btn-creative-large {
        width: 100%;
        max-width: none;
        /* Full width button */
    }

    .fm-container {
        grid-template-columns: 1fr;
        /* Stack columns */
        gap: 40px;
    }

    .footer-mega {
        padding: 60px 20px 40px;
    }
}

/* =========================================
   FOOTER MEGA (COMPREHENSIVE LAYOUT)
   ========================================= */
.footer-mega {
    background: #050505;
    color: #fff;
    padding: 80px 40px 40px;
    margin-left: 80px;
    /* Offset for sidebar */
    font-family: var(--font-body);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.fm-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
}

/* Branding Col */
.fm-brand {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 30px;
    background: linear-gradient(to right, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fm-contact-list {
    margin-bottom: 30px;
}

.fm-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.fm-flag {
    font-size: 1.2rem;
    margin-top: 2px;
}

.fm-contact-details {
    display: flex;
    flex-direction: column;
}

.fm-phone {
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 2px;
}

.fm-label {
    font-size: 0.8rem;
    color: #888;
}

.fm-email-block {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.fm-icon {
    font-size: 1.2rem;
    color: #888;
}

.fm-email-block a {
    color: #fff;
    text-decoration: none;
    font-style: italic;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Columns */
.fm-heading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.fm-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fm-list li {
    margin-bottom: 12px;
}

.fm-list a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.fm-list a:hover {
    color: #fff;
    transform: translateX(5px);
}

.fm-list a::before {
    content: '›';
    margin-right: 8px;
    color: #555;
    transition: color 0.2s;
}

.fm-list a:hover::before {
    color: #fff;
}

.fm-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 800;
    margin-left: 8px;
    text-transform: uppercase;
    vertical-align: middle;
}

.fm-badge.hot {
    background: #ffcc00;
    color: #000;
}

.fm-badge.new {
    background: #00ccff;
    color: #000;
}

/* Socials */
.fm-socials {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.soc-icon {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.soc-icon:hover {
    background: #fff;
    color: #000;
}

/* Bottom */
.fm-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.85rem;
}

.fm-links {
    display: flex;
    gap: 20px;
}

.fm-links a {
    color: #666;
    text-decoration: none;
}

.fm-links a:hover {
    color: #fff;
}

/* Responsive Footer Mega */
@media (max-width: 1024px) {
    .fm-container {
        grid-template-columns: 1fr 1fr;
    }

    .footer-mega {
        background: #050505;
        color: #fff;
        padding: 80px 40px 40px;
        margin-left: 0;
        /* Sidebar hidden on mobile/tablet */
        font-family: var(--font-body);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

}

@media (max-width: 600px) {
    .footer-mega {
        padding: 60px 20px 40px;
        margin-left: 0;
    }

    .fm-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .fm-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* =========================================
   RIGHT SIDE SECTION TRACKER
   ========================================= */
/* =========================================
   RIGHT SIDE SECTION TRACKER
   ========================================= */
.section-tracker {
    position: fixed;
    right: 40px;
    /* Fixed distance from right edge */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 75px;
    /* Comfortable spacing */
    z-index: 999;
    mix-blend-mode: difference;
    align-items: flex-end;
    /* Align lines to the right */
}

.tracker-line {
    width: 25px;
    /* Default length */
    height: 1px;
    background: #fff;
    position: relative;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
    display: block;
    opacity: 0.4;
    cursor: pointer;
}

/* Tooltip (Text BELOW the line with gap) */
.tracker-tooltip {
    position: absolute;
    right: 0;
    top: 15px;
    /* Moved BELOW the line */
    transform: translateY(10px);
    /* Start slightly lower */
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    text-align: right;
    padding-right: 5px;
    /* Slight offset from right edge */
}

/* Hover State */
.tracker-line:hover {
    width: 45px;
    opacity: 1;
}

.tracker-line:hover .tracker-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* Active State */
.tracker-line.active {
    width: 60px;
    opacity: 1;
    background: #fff;
}

.tracker-line.active .tracker-tooltip {
    opacity: 1;
    transform: translateY(0);
    font-weight: 600;
}

/* Hide on Mobile */
@media (max-width: 1024px) {
    .section-tracker {
        display: none;
    }
}

/* =========================================
   MOBILE HAMBURGER & MENU
   ========================================= */
.nav-links-container {
    display: none;
    /* Hidden on Desktop too, opting for Hamburger only */
}

.nav-hamburger {
    display: flex;
    /* Visible on Desktop */
    width: 30px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
    /* Above overlay */
}

.burger-line {
    width: 100%;
    height: 2px;
    background: #000;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Mobile Menu OVERLAY */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    /* Clean white canvas */
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    flex-direction: column;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    /* Reduced gap to fit more items */
    text-align: center;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    /* Slightly smaller font to fit comfortably */
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mobile-menu-overlay.active .mobile-link {
    transform: translateY(0);
    opacity: 1;
}

/* Close Button (Cross in Menu) */
.menu-close-btn {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #000;
    transition: transform 0.3s ease;
}

.close-line:nth-child(1) {
    transform: rotate(45deg);
}

.close-line:nth-child(2) {
    transform: rotate(-45deg);
}

.menu-close-btn:hover .close-line {
    background: #555;
    transform: rotate(135deg);
    /* Spin effect */
}

.menu-close-btn:hover .close-line:nth-child(2) {
    transform: rotate(45deg);
}

/* Staggered Delay for links */
.mobile-menu-overlay.active .mobile-link:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-link:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-menu-overlay.active .mobile-link:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-link:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-menu-overlay.active .mobile-link:nth-child(5) {
    transition-delay: 0.3s;
}

/* Hamburger Animation State */
.nav-hamburger.active .burger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-hamburger.active .burger-line:nth-child(2) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Show Hamburger on Mobile */
@media (max-width: 1024px) {
    .nav-hamburger {
        display: flex;
    }

    .nav-links-container {
        display: none;
        /* Hide desktop links */
    }
}

/* =========================================
   SERVICES PAGE STYLES
   ========================================= */
.services-body {
    background-color: #050505 !important;
    /* Force dark theme */
    color: #ffffff;
}

.services-hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 5%;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.srv-title-big {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.9;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 30px;
    opacity: 0;
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.srv-subtitle {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #888;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 60px;
    opacity: 0;
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

/* =========================================
/* =========================================
   SERVICES PAGE: STAGGERED GLASS GRID (Clean & Premium)
   ========================================= */
.services-body {
    background-color: #050505 !important;
    background-image:
        radial-gradient(circle at 50% 0%, #1a1a1a 0%, #000 60%);
    background-attachment: fixed;
}

.services-section {
    padding: 100px 5% 150px;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.srv-acc-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Column Grid */
    gap: 60px;
    /* Ample spacing */
    position: relative;
}

/* Stagger every second item to create a 'masonry' feel */
.srv-panel:nth-child(even) {
    transform: translateY(80px);
}

/* THE CARD - Clean Glass Block */
.srv-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    width: 100%;
    min-height: 500px;
    /* Consistent height */
    padding: 50px;

    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;

    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    top: auto;
}

/* Hover Effect: Lift & Glow */
.srv-panel:hover {
    transform: translateY(-10px);
    /* Override stagger on hover? No, handle carefully */
    background: rgba(25, 25, 25, 0.6);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.1);
    z-index: 10;
}

/* Maintain Stagger Hover properly */
.srv-panel:nth-child(even):hover {
    transform: translateY(70px);
    /* 80px (base) - 10px (lift) */
}


/* TOP SECTION: Number & Title */
.srv-vertical-wrapper {
    display: block;
    margin-bottom: 40px;
}

.srv-num-big {
    font-family: 'Syncopate', sans-serif;
    font-size: 3rem;
    /* Visible but balanced */
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 30px;
    right: 40px;
    margin: 0;
}

.srv-vertical-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1.1;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -1px;
    writing-mode: horizontal-tb;
    transform: none;
    text-align: left;
    white-space: normal;
    background: transparent;
    -webkit-text-fill-color: #fff;
}

/* CONTENT SECTION */
.srv-inner-content {
    opacity: 1;
    transform: none;
    padding: 0;
    pointer-events: auto;
    display: block;
}

/* Hide duplicate */
.srv-inner-head {
    display: none;
}

.srv-inner-desc {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #999;
    line-height: 1.7;
    margin-bottom: 30px;
    font-weight: 300;
}

.srv-inner-services {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border: none;
    padding: 0;
}

.srv-item-chip {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #ccc;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 18px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.srv-panel:hover .srv-item-chip {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    color: #fff;
}


/* Mobile Layout */
@media (max-width: 1024px) {
    .srv-acc-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .srv-panel:nth-child(even) {
        transform: none;
        /* Remove stagger on mobile */
    }

    .srv-panel {
        min-height: auto;
    }

    /* Correct hovers for mobile state */
    .srv-panel:hover,
    .srv-panel:nth-child(even):hover {
        transform: translateY(-5px);
    }
}

/* Approach Section */
.approach-box {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.approach-head {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.client-types {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.c-type {
    flex: 1;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.c-type h4 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 10px;
    color: #d4af37;
    /* Gold accent */
}

.c-desc {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .srv-grid {
        grid-template-columns: 1fr;
    }

    .approach-box {
        grid-template-columns: 1fr;
    }

    .client-types {
        flex-direction: column;
    }
}

/* =========================================
   CAREERS PAGE: TABBED EDITORIAL PREMIER
   ========================================= */

.avant-garde-body {
    background-color: #ffffff;
    color: #000000;
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    cursor: default;
    /* Revert to normal cursor */
    -webkit-font-smoothing: antialiased;
}

/* NAV */
.ag-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 40px 60px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    mix-blend-mode: difference;
    color: #fff;
}

.nav-spacer {
    display: block;
    /* Takes up left space */
}

.ag-logo {
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    /* Smaller to fit full name */
    text-decoration: none;
    color: inherit;
    letter-spacing: 2px;
    text-align: center;
    white-space: nowrap;
}

.ag-menu-btn {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    justify-self: end;
    /* Pushes to right */
}

/* HERO */
.ag-hero {
    height: 85vh;
    /* Increased slightly */
    display: flex;
    align-items: flex-end;
    padding: 0 60px 80px;
    border-bottom: 1px solid #000;
    position: relative;
    overflow: hidden;
}

/* Hero Background Visuals */
.ag-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.ag-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: blobFloat 20s infinite ease-in-out;
}

.b1 {
    width: 600px;
    height: 600px;
    background: #e0e0e0;
    /* Subtle grey blob */
    top: -200px;
    right: -100px;
}

.b2 {
    width: 500px;
    height: 500px;
    background: #f0f0f0;
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

@keyframes blobFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(50px, 50px);
    }

    66% {
        transform: translate(-30px, 20px);
    }
}

.ag-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("assets/noise.png");
    /* Texture */
    opacity: 0.05;
}

/* Text */
.ag-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.ag-giant-text {
    font-family: 'Italiana', serif;
    font-size: 14vw;
    line-height: 0.8;
    text-transform: uppercase;
    color: #000;
    margin: 0;
    position: relative;
}

.ag-giant-text span {
    display: block;
    position: relative;
}

/* Scroll Ind */
.hero-scroll-ind {
    position: absolute;
    bottom: 40px;
    right: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 5;
}

.hero-scroll-ind span {
    font-family: 'Syncopate', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: #000;
    animation: scrollGrow 2s infinite;
    transform-origin: top;
}

@keyframes scrollGrow {
    0% {
        transform: scaleY(0);
    }

    50% {
        transform: scaleY(1);
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* MAIN CONTENT AREA */
.ag-main-content {
    min-height: 100vh;
    background: #fff;
    position: relative;
    z-index: 10;
}

/* TAB CONTROLLER */
.ag-tab-control {
    display: flex;
    border-bottom: 1px solid #000;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 50;
}

.ag-tab-btn {
    flex: 1;
    padding: 30px 0;
    background: transparent;
    border: none;
    border-right: 1px solid #000;
    font-family: 'Syncopate', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    color: #999;
}

.ag-tab-btn:last-child {
    border-right: none;
}

.ag-tab-btn:hover {
    color: #000;
    background: #f9f9f9;
}

.ag-tab-btn.active {
    color: #000;
    background: #000;
    color: #fff;
}

.tab-num {
    font-size: 0.8rem;
    vertical-align: top;
    margin-right: 10px;
    opacity: 0.6;
}

/* TAB PANES */
.ag-tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 100px 60px;
}

.ag-tab-pane.active {
    display: block;
    opacity: 1;
    animation: fadeInSlide 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* JOBS LIST (TAB 1) */
.ag-item-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 50px 0;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.4s ease;
    cursor: pointer;
    /* Normal pointer interaction */
}

.ag-item-row:hover {
    padding-left: 20px;
    border-bottom: 1px solid #000;
}

.item-meta {
    width: 20%;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 1px;
}

.item-title {
    width: 60%;
    font-family: 'Manrope', sans-serif;
    font-size: 3.5rem;
    font-weight: 300;
    margin: 0;
    color: #000;
}

.item-action {
    width: 10%;
    text-align: right;
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: 0.4s;
}

.ag-item-row:hover .item-action {
    opacity: 1;
    transform: translateX(0);
}

/* INTERNSHIPS (TAB 2) */
.intern-hero {
    margin-bottom: 80px;
    text-align: center;
}

.intern-hero p {
    font-family: 'Italiana', serif;
    font-size: 4rem;
    margin: 0 0 20px 0;
}

.intern-hero span {
    font-family: 'Syncopate', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ag-intern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    /* Brutalist grid */
    border: 1px solid #000;
}

.intern-card-creative {
    padding: 60px 40px;
    border-right: 1px solid #000;
    position: relative;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.4s;
}

.intern-card-creative:last-child {
    border-right: none;
}

.intern-card-creative:hover {
    background: #000;
    color: #fff;
}

.ic-num {
    font-family: 'Syncopate', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.ic-content h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.ic-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.8;
}

.ic-tag {
    display: inline-block;
    border: 1px solid currentColor;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.ic-arrow {
    font-size: 2rem;
    align-self: flex-end;
}

/* APPLY MODAL (PREMIUM COMPACT) */
.apply-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 0.4s forwards;
    padding: 20px;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Much Darker */
    backdrop-filter: blur(8px);
    z-index: 1;
}

.modal-card {
    background: #fff;
    width: 100%;
    max-width: 550px;
    padding: 50px;
    position: relative;
    z-index: 2;
    border-radius: 0;
    /* Squared off for impact */
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    transform: translateY(30px);
    animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    border: 1px solid #000;
    /* Defined border */
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

/* HEADER */
.modal-header {
    text-align: center;
    margin-bottom: 40px;
}

.modal-subtitle {
    font-family: 'Syncopate', sans-serif;
    font-size: 0.7rem;
    color: #555;
    /* Darker key */
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 700;
}

.modal-title {
    font-family: 'Italiana', serif;
    font-size: 2.5rem;
    margin: 0;
    line-height: 1;
    color: #000;
}

/* FORM GRID */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

/* INPUTS */
.input-wrapper {
    position: relative;
    margin-bottom: 0;
}

/* Unified margin for single row inputs */
.form-grid+.input-wrapper,
.input-wrapper+.input-wrapper {
    margin-bottom: 30px;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 2px solid #ccc;
    /* Thicker, visible border */
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    color: #000;
    background: transparent;
    outline: none;
    transition: 0.3s;
    font-weight: 500;
}

.input-wrapper label {
    position: absolute;
    top: 12px;
    left: 0;
    font-family: 'Syncopate', sans-serif;
    font-size: 0.75rem;
    color: #555;
    /* Darker label */
    pointer-events: none;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-weight: 700;
}

/* Floating Label Logic */
.input-wrapper input:focus~label,
.input-wrapper input:not(:placeholder-shown)~label {
    top: -15px;
    font-size: 0.6rem;
    color: #000;
    font-weight: 700;
}

.input-wrapper input:focus {
    border-bottom-color: #000;
}

.input-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #000;
    transition: 0.4s;
}

.input-wrapper input:focus~.input-highlight {
    width: 100%;
}

/* FILE UPLOAD */
.upload-wrapper {
    margin-bottom: 30px;
}

/* Reduced margin */
.upload-label {
    display: block;
    font-family: 'Syncopate', sans-serif;
    font-size: 0.7rem;
    color: #000;
    margin-bottom: 10px;
    font-weight: 700;
}

.file-area {
    position: relative;
    height: 80px;
    /* Reduced height */
    border: 1px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    background: #fafafa;
}

.file-area:hover {
    border-color: #000;
    background: #fff;
}

.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-dummy {
    text-align: center;
    pointer-events: none;
}

.upload-icon {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #999;
}

.upload-text {
    font-size: 0.7rem;
    color: #555;
    letter-spacing: 1px;
}

/* MAGNETIC BUTTON */
.magnetic-btn {
    width: 100%;
    padding: 20px 0;
    /* Reduced padding */
    background: #000;
    color: #fff;
    border: none;
    font-family: 'Syncopate', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #333;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.magnetic-btn:hover .btn-fill {
    transform: translateY(0);
}

/* CLOSE BTN */
/* CLOSE BTN */
.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 9999;
    /* Force top */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    transition: all 0.3s ease;
}

.close-modal:hover {
    border-color: #000;
    transform: rotate(90deg);
    background: #f9f9f9;
}

.icon-line {
    width: 60%;
    height: 2px;
    background: #000;
    background: #000;
    position: absolute;
    transition: 0.3s;
    pointer-events: none;
    /* Allows click to pass to parent */
}

/* NEW NUCLEAR CLOSE BTN STYLES */
.close-modal-wrapper {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2147483647;
    /* Maximum Z-Index */
}

.close-modal-btn {
    width: 44px;
    height: 44px;
    background: white;
    border: 1px solid #000;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    padding: 0;
}

.close-modal-btn:hover {
    background: #f0f0f0;
    transform: rotate(90deg);
}

.close-modal-btn span {
    font-size: 28px;
    color: #000;
    line-height: 0;
    font-family: Arial, sans-serif;
    font-weight: 300;
    display: block;
    margin-top: -2px;
}

.l1 {
    transform: rotate(45deg);
}

.l2 {
    transform: rotate(-45deg);
}

.close-modal:hover .l1 {
    transform: rotate(0);
}

.close-modal:hover .l2 {
    transform: rotate(0);
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {

    /* Logo and Header */
    .ag-logo {
        font-size: 0.45rem;
        padding: 12px 15px;
        letter-spacing: 0.5px;
        line-height: 1.2;
    }

    /* Hero Section */
    .ag-hero {
        padding: 20px 15px 0 15px;
        min-height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .ag-hero-inner {
        margin: 12px 0 0 0;
    }

    /* Giant Text */
    .ag-giant-text {
        font-size: 11vw;
        margin-bottom: 0;
        line-height: 0.75;
    }

    .ag-giant-text .line-1,
    .ag-giant-text .line-2 {
        display: block;
        margin: 0;
    }

    /* Hide Scroll Indicator on Mobile */
    .hero-scroll-ind {
        display: none;
    }

    .ag-scroll-right {
        display: none;
    }

    /* Tab Navigation */
    .ag-tab-control {
        position: relative;
    }

    .ag-tab-btn {
        padding: 14px 8px;
        font-size: 0.65rem;
        letter-spacing: 0.3px;
    }

    .tab-num {
        display: block;
        margin: 0 0 3px 0;
        font-size: 0.65rem;
    }

    /* Tab Content */
    .ag-tab-pane {
        padding: 25px 15px;
    }

    /* Internship Hero */
    .intern-hero {
        margin-bottom: 25px;
    }

    .intern-hero p {
        font-size: 2rem;
        line-height: 1;
        margin-bottom: 8px;
    }

    .intern-hero span {
        font-size: 0.65rem;
        letter-spacing: 0.8px;
    }





    /* Modal Adjustments */
    .modal-card {
        width: 92%;
        max-width: none;
        padding: 22px 16px;
        margin: 0 auto;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .modal-title {
        font-size: 1.5rem;
        line-height: 1.1;
    }

    .modal-subtitle {
        font-size: 0.6rem;
        margin-bottom: 8px;
    }

    .close-modal {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }

    /* Responsive adjustment for new nuclear button */
    .close-modal-wrapper {
        top: 8px;
        right: 8px;
    }

    .close-modal-btn {
        width: 32px;
        height: 32px;
    }

    .close-modal-btn span {
        font-size: 24px;
    }

    /* Job/Intern Lists */
    .ag-item-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 0;
        gap: 15px;
    }

    .item-meta,
    .item-title,
    .item-action {
        width: 100%;
        text-align: left;
    }

    .item-title {
        font-size: 1.3rem;
        line-height: 1.1;
    }

    .item-meta {
        font-size: 0.75rem;
    }

    .item-action {
        opacity: 1;
        transform: none;
        margin-top: 8px;
        display: inline-block;
        padding: 8px 16px;
        background: #000;
        color: #fff;
        text-decoration: none;
        text-align: center;
        font-size: 0.7rem;
    }

    .ag-intern-grid {
        grid-template-columns: 1fr;
        border: none;
    }

    .intern-card-creative {
        border-right: 1px solid #000;
        border-left: 1px solid #000;
        border-bottom: 1px solid #000;
        height: auto;
        padding: 22px 18px;
    }

    .intern-card-creative:first-child {
        border-top: 1px solid #000;
    }

    /* Intern Card Content */
    .ic-num {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .ic-content h3 {
        font-size: 1.6rem;
        margin-bottom: 10px;
        line-height: 1.1;
    }

    .ic-content p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .ic-tag {
        font-size: 0.6rem;
        padding: 4px 10px;
    }

    /* Form Elements */
    .input-wrapper input {
        padding: 9px 0;
        font-size: 0.9rem;
    }

    .input-wrapper label {
        font-size: 0.68rem;
    }

    .upload-wrapper {
        margin-bottom: 18px;
    }

    .file-area {
        height: 65px;
    }

    .upload-label {
        font-size: 0.62rem;
        margin-bottom: 6px;
    }

    .upload-text {
        font-size: 0.62rem;
    }

    .magnetic-btn {
        padding: 14px 0;
        font-size: 0.75rem;
    }
}

/* FOOTER */
.ag-footer {
    display: flex;
    justify-content: space-between;
    padding: 40px 60px;
    border-top: 1px solid #000;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    background: #fff;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    padding: 12px 24px;
    border: 1px solid #000;
    text-decoration: none;
    color: #000;
    font-family: 'Syncopate', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: #fff;
}

.footer-links a:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .ag-footer {
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
        text-align: center;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .footer-links a {
        margin-left: 0;
    }
}

/* =========================================
   DESIGN TOOL SECTION (THE ARCHITECT) 
   ========================================= */
/* =========================================
   DESIGN TOOL SECTION (THE ARCHITECT - V3 UNIQUE "OBSIDIAN") 
   ========================================= */
.design-tool-section {
    position: relative;
    width: 100%;
    min-height: 95vh;
    background: #020203;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 60px 100px 160px;
    overflow: hidden;
    perspective: 2000px;
}

/* 1. The Void Grid (Floor & Ceiling) */
.void-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px);
    animation: gridMove 20s linear infinite;
    mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(60px) translateZ(-200px);
    }
}

.tool-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1600px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;
    align-items: center;
}

/* LEFT: TEXT (Clean, Swiss Style, High Contrast) */
.tool-info {
    text-align: left;
    position: relative;
}

/* Decorative vertical line */
.tool-info::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #fff, transparent);
    opacity: 0.3;
}

.tool-label {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-heading, "Courier New", monospace);
    font-size: 0.75rem;
    color: #fff;
    letter-spacing: 4px;
    margin-bottom: 40px;
    opacity: 0.8;
}

.status-indicator {
    display: flex;
    gap: 4px;
}

.status-bar {
    width: 4px;
    height: 12px;
    background: #fff;
    opacity: 0.2;
    animation: eqAnim 1s ease-in-out infinite alternate;
}

.status-bar:nth-child(2) {
    animation-delay: 0.1s;
    height: 16px;
}

.status-bar:nth-child(3) {
    animation-delay: 0.2s;
    height: 10px;
}

.tool-heading {
    font-family: var(--font-heading, sans-serif);
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    line-height: 0.95;
    color: #fff;
    margin-bottom: 40px;
    font-weight: 400;
    /* Thinner weight for elegance */
    letter-spacing: -2px;
}

.tool-highlight {
    font-style: italic;
    font-weight: 100;
    font-family: var(--font-serif, serif);
    color: #bfa15f;
    /* Gold for premium feel */
    background: linear-gradient(90deg, #d4af37, #f3e5ab, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 10px;
}

.tool-sub {
    font-family: var(--font-body, sans-serif);
    font-size: 1.1rem;
    color: #888;
    line-height: 1.8;
    max-width: 480px;
    margin-bottom: 50px;
}

/* MAGNETIC BUTTON (Minimalist) */
.tool-btn-minimal {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 280px;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-heading, sans-serif);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    cursor: pointer;
}

.btn-arr-box {
    width: 40px;
    height: 40px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    border-radius: 50%;
    transition: transform 0.4s ease, width 0.4s ease;
}

.tool-btn-minimal:hover {
    border-color: #fff;
    padding-left: 10px;
}

.tool-btn-minimal:hover .btn-arr-box {
    transform: rotate(-45deg);
    background: #d4af37;
    /* Gold */
}

/* RIGHT: ISOMETRIC DECONSTRUCTION (Slow Reveal - 5 Layers) */
.tool-visual {
    position: relative;
    width: 100%;
    height: 700px;
    perspective: 3000px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The floating stack container */
.iso-stack {
    position: relative;
    width: 600px;
    height: 450px;
    /* Default: Flat */
    transform: rotateX(60deg) rotateZ(-45deg) scale(0.9);
    transform-style: preserve-3d;
    transition: transform 2s cubic-bezier(0.19, 1, 0.22, 1);
}

.iso-stack.active {
    transform: rotateX(55deg) rotateZ(-40deg) scale(1);
}

/* Base Style for All Layers */
.iso-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
    /* SLOW TRANSITION: 2.5s duration */
    transition: transform 2.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease;
    display: flex;
    overflow: hidden;
    backface-visibility: hidden;
    will-change: transform;
    transform: translateZ(0);
    /* Start condensed */
}

/* --- LAYER STYLING & ANIMATION --- */

/* Layer 0: Shadow Foundation */
.layer-0 {
    background: #000;
    opacity: 0;
    box-shadow: 0 0 80px rgba(0, 0, 0, 1);
    border: none;
    z-index: 0;
    transition-delay: 0s;
}

.iso-stack.active .layer-0 {
    transform: translateZ(-50px) scale(0.95);
    opacity: 0.7;
}

/* Layer 1: Base Plate (Dark Metal) */
.layer-1 {
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition-delay: 0.1s;
    /* Stagger start */
}

.iso-stack.active .layer-1 {
    transform: translateZ(0px);
    /* Anchor */
}

.wire-grid {
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Layer 2: Circuitry (CYAN ACCENT) -> "Beech me color change" */
.layer-2 {
    background: rgba(0, 20, 20, 0.85);
    /* Deep Cyan/Teal Tint */
    border-color: rgba(0, 255, 255, 0.3);
    z-index: 2;
    transition-delay: 0.2s;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}

.iso-stack.active .layer-2 {
    transform: translateZ(60px);
}

.circuit-pattern {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(0, 255, 255, 0.2) 2px, transparent 2px);
    background-size: 30px 30px;
    animation: circuitPulse 4s infinite alternate;
}

/* Layer 3: Data Core (GOLD ACCENT) -> "Beech me distinct color" */
.layer-3 {
    background: rgba(30, 20, 0, 0.8);
    /* Deep Gold/Bronze Tint */
    border-color: rgba(255, 215, 0, 0.3);
    z-index: 3;
    transition-delay: 0.3s;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.15);
}

.iso-stack.active .layer-3 {
    transform: translateZ(120px);
}

.core-pulse {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseGold 3s infinite;
}

/* Layer 4: UI Interface (Dark Glass) */
.layer-4 {
    background: rgba(15, 15, 15, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 4;
    transition-delay: 0.4s;
    padding: 30px;
    display: grid;
    grid-template-rows: 40px 1fr;
    gap: 20px;
}

.iso-stack.active .layer-4 {
    transform: translateZ(180px);
}

/* Layer 5: Top Glass (Prism) */
.layer-5 {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    z-index: 5;
    transition-delay: 0.5s;
    /* Opens last */
    pointer-events: none;
    box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.1);
}

.iso-stack.active .layer-5 {
    transform: translateZ(250px);
    /* Furthest out */
}

/* Shared Elements */
.data-stream {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffaa00, transparent);
    /* Gold stream */
    width: 100px;
    opacity: 0.8;
}

.ds-1 {
    top: 40%;
    left: 10%;
    animation: streamMove 3s infinite linear;
}

.ds-2 {
    top: 70%;
    right: 20%;
    animation: streamMove 4s infinite reverse linear;
}

.holo-icon {
    position: absolute;
    font-size: 2.5rem;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
    animation: floatIcon 3s ease-in-out infinite;
}

.hi-1 {
    bottom: 30px;
    right: 30px;
    animation-delay: 0.2s;
}

.hi-2 {
    bottom: 30px;
    right: 90px;
    animation-delay: 0.6s;
}

/* Floating Tags */
.float-tag {
    position: absolute;
    padding: 12px 24px;
    background: #fff;
    color: #000;
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 6px;
    transform-style: preserve-3d;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border: 2px solid #fff;
    opacity: 0;
    /* Start hidden */
    transition: transform 2s 1s cubic-bezier(0.19, 1, 0.22, 1), opacity 1s 1s ease;
}

.ft-1 {
    top: -20px;
    right: -40px;
}

.ft-2 {
    bottom: -30px;
    left: 20px;
    background: #000;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.iso-stack.active .ft-1 {
    transform: translateZ(280px) rotateZ(10deg);
    opacity: 1;
}

.iso-stack.active .ft-2 {
    transform: translateZ(150px);
    opacity: 1;
}

/* Animations */
@keyframes streamMove {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(50px);
        opacity: 0;
    }
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes circuitPulse {
    from {
        opacity: 0.3;
    }

    to {
        opacity: 0.7;
    }
}

@keyframes pulseGold {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .tool-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .tool-info {
        text-align: center;
        padding-top: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .tool-info::before {
        display: none;
    }

    .tool-btn-minimal {
        margin: 0 auto;
        width: 100%;
        max-width: 350px;
    }

    .tool-visual {
        height: 500px;
        perspective: 1000px;
    }

    .iso-stack {
        width: 80%;
        height: 350px;
        transform: rotateX(40deg) rotateZ(-20deg);
    }

    /* Less intense expansion on mobile to fit screen */
    .iso-stack.active .layer-0 {
        transform: translateZ(-20px) scale(0.9);
    }

    .iso-stack.active .layer-2 {
        transform: translateZ(30px);
    }

    .iso-stack.active .layer-3 {
        transform: translateZ(60px);
    }

    .iso-stack.active .layer-4 {
        transform: translateZ(90px);
    }

    .iso-stack.active .layer-5 {
        transform: translateZ(120px);
    }
}

@media (max-width: 768px) {
    .design-tool-section {
        padding: 60px 20px;
        min-height: auto;
    }

    .tool-heading {
        font-size: 2.5rem;
    }

    .tool-visual {
        height: 400px;
        transform: scale(0.85);
    }

    .iso-stack {
        width: 100%;
        height: 300px;
        /* Flatter angle for mobile potentially */
        transform: rotateX(45deg) rotateZ(-15deg) scale(0.9);
    }

    /* Simplify animations or spacing further */
    .iso-stack.active .ft-1 {
        transform: translateZ(140px) rotateZ(5deg);
        right: -10px;
    }

    .iso-stack.active .ft-2 {
        transform: translateZ(80px);
        left: 0px;
    }
}
/* =========================================
   SEXY ANIMATED CARDS (REPLACEMENT)
   ========================================= */

.sexy-card {
    position: relative;
    height: 500px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.sexy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.sexy-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.8) 100%);
    pointer-events: none;
    z-index: 2;
}

.card-info.glass-mode {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    z-index: 3;
    pointer-events: none;
}

/* --- CARD 1: ZERO-POINT REACTOR --- */
.card-reactor {
    background: radial-gradient(circle at center, #111 0%, #000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.reactor-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.reactor-core {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 50px #0ff, 0 0 100px #00f;
    animation: corePulse 2s infinite alternate;
    z-index: 10;
}

.reactor-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
}

.r1 {
    width: 180px; height: 180px;
    border-top-color: #0ff;
    border-bottom-color: #0ff;
    animation: spin3D 8s infinite linear;
}

.r2 {
    width: 240px; height: 240px;
    border-left-color: #f0f;
    border-right-color: #f0f;
    animation: spin3D 12s infinite reverse linear;
}

.r3 {
    width: 280px; height: 280px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    animation: spinFlat 20s infinite linear;
}

.sexy-card:hover .r1 { animation-duration: 2s; border-color: #0ff; }
.sexy-card:hover .r2 { animation-duration: 3s; border-color: #f0f; }
.sexy-card:hover .reactor-core { box-shadow: 0 0 80px #0ff, 0 0 150px #fff; }

@keyframes spin3D {
    0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateX(360deg) rotateY(180deg) rotateZ(360deg); }
}

@keyframes spinFlat {
    0% { transform: rotateZ(0deg); }
    100% { transform: rotateZ(360deg); }
}

@keyframes corePulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; }
}

/* --- CARD 2: NEURAL LIQUID --- */
.card-fluid {
    background: #050505;
    overflow: hidden;
}

.fluid-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    filter: blur(40px) contrast(20);
    background: #000;
}

.fluid-blob {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ff88, #00ccff);
    mix-blend-mode: screen;
    opacity: 0.7;
}

.b1 {
    width: 200px; height: 200px;
    top: 30%; left: 30%;
    animation: fluidMove 10s infinite ease-in-out;
    background: #00ff88;
}

.b2 {
    width: 250px; height: 250px;
    top: 50%; left: 50%;
    animation: fluidMove 15s infinite reverse ease-in-out;
    background: #00ccff;
}

.b3 {
    width: 150px; height: 150px;
    top: 20%; right: 20%;
    animation: fluidMove 8s infinite ease-in-out;
    background: #6600ff;
}

.fluid-grid {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    opacity: 0.3;
    pointer-events: none;
    filter: none; /* Keep grid sharp */
}

@keyframes fluidMove {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.2); }
    66% { transform: translate(-20px, 20px) scale(0.8); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Mobile Adjustments for Sexy Cards */
@media (max-width: 768px) {
    .sexy-card { height: 400px; }
    .reactor-container { transform: scale(0.7); }
    .r1 { animation-duration: 4s; }
    .r2 { animation-duration: 6s; }
}

/* =========================================
   HOLOGRAPHIC CUBE SERVICES
   ========================================= */

.holo-services-section {
    position: relative;
    padding: 100px 5%;
    background: #000;
    overflow: hidden;
    text-align: center;
}

.holo-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #fff;
    margin-bottom: 80px;
    letter-spacing: 2px;
}

.holo-highlight {
    color: transparent;
    -webkit-text-stroke: 1px #0ff;
}

.cube-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    perspective: 1000px;
}

.holo-cube-wrapper {
    position: relative;
    width: 200px;
    height: 300px; /* Include label space */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.holo-cube {
    width: 100px;
    height: 100px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-20deg) rotateY(-30deg);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: cubeFloat 6s ease-in-out infinite;
}

.holo-cube-wrapper:hover .holo-cube {
    transform: rotateX(0deg) rotateY(0deg) scale(1.2);
    animation-play-state: paused;
}

.holo-cube .face {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #0ff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
    backface-visibility: visible;
}

.cube-label {
    margin-top: 60px;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: #fff;
    letter-spacing: 2px;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.holo-cube-wrapper:hover .cube-label { opacity: 1; color: #0ff; text-shadow: 0 0 10px #0ff; }

/* Face Transforms */
.face.front  { transform: translateZ(50px); }
.face.back   { transform: rotateY(180deg) translateZ(50px); }
.face.right  { transform: rotateY(90deg) translateZ(50px); }
.face.left   { transform: rotateY(-90deg) translateZ(50px); }
.face.top    { transform: rotateX(90deg) translateZ(50px); }
.face.bottom { transform: rotateX(-90deg) translateZ(50px); }

/* Inner Glow Core */
.inner-glow {
    position: absolute;
    top: 25px; left: 25px;
    width: 50px; height: 50px;
    background: #0ff;
    box-shadow: 0 0 50px #0ff;
    border-radius: 50%;
    transform: translateZ(0);
    opacity: 0.5;
    animation: corePulseCube 2s infinite alternate;
}

/* Animations */
@keyframes cubeFloat {
    0%, 100% { transform: rotateX(-20deg) rotateY(-30deg) translateY(0); }
     50% { transform: rotateX(-20deg) rotateY(-30deg) translateY(-20px); }
}

@keyframes corePulseCube {
    0% { transform: scale(0.8); opacity: 0.4; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

/* Specific Colors per Cube */
/* Mobile: Purple */
.holo-cube-wrapper:nth-child(2) .face { border-color: rgba(180, 0, 255, 0.5); color: #b400ff; background: rgba(180, 0, 255, 0.1); }
.holo-cube-wrapper:nth-child(2) .inner-glow { background: #b400ff; box-shadow: 0 0 50px #b400ff; }
.holo-cube-wrapper:nth-child(2) .holo-highlight { -webkit-text-stroke: 1px #b400ff; }
.holo-cube-wrapper:nth-child(2):hover .cube-label { color: #b400ff; text-shadow: 0 0 10px #b400ff; }

/* AI: Gold */
.holo-cube-wrapper:nth-child(3) .face { border-color: rgba(255, 215, 0, 0.5); color: #ffd700; background: rgba(255, 215, 0, 0.1); }
.holo-cube-wrapper:nth-child(3) .inner-glow { background: #ffd700; box-shadow: 0 0 50px #ffd700; }
.holo-cube-wrapper:nth-child(3) .holo-highlight { -webkit-text-stroke: 1px #ffd700; }
.holo-cube-wrapper:nth-child(3):hover .cube-label { color: #ffd700; text-shadow: 0 0 10px #ffd700; }

@media (max-width: 768px) {
    .cube-grid { flex-direction: column; gap: 60px; }
    .holo-cube-wrapper { height: 200px; width: 100%; }
}

/* =========================================
   TUNNEL VISION SHOWCASE (Windows View)
   ========================================= */

.tunnel-section {
    position: relative;
    width: 100%;
    min-height: 80vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1500px; /* Crucial for 3D depth */
    overflow: hidden;
    padding: 100px 0;
}

.tunnel-center {
    position: relative;
    z-index: 10;
    width: 400px;
    text-align: center;
}

.tunnel-wing {
    position: absolute;
    top: 50%;
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Left Wing: Tilted towards center from the left */
.left-wing {
    left: 10%;
    transform: translateY(-50%) rotateY(25deg) translateZ(-100px);
}

/* Right Wing: Tilted towards center from the right */
.right-wing {
    right: 10%;
    transform: translateY(-50%) rotateY(-25deg) translateZ(-100px);
}

/* The Cards (Windows) */
.tunnel-card {
    width: 300px;
    height: 180px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.tunnel-card:hover {
    transform: translateZ(50px) scale(1.05); /* Pop out effect */
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    z-index: 5;
}

.win-content {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.win-content span {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: #fff;
    letter-spacing: 2px;
    z-index: 2;
}

/* Gradient Visuals inside the cards */
.win-visual {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.6;
    transition: opacity 0.4s;
    z-index: 1;
}
.tunnel-card:hover .win-visual { opacity: 0.9; }

.v1 { background: linear-gradient(135deg, #FF0055, #222); }
.v2 { background: linear-gradient(135deg, #00FFCC, #000); }
.v3 { background: linear-gradient(135deg, #00CCFF, #111); }
.v4 { background: linear-gradient(135deg, #AA00FF, #222); }

/* Offset Animation for Floating Effect */
.card-1 { animation: floatY 6s infinite ease-in-out; }
.card-2 { animation: floatY 7s infinite ease-in-out reverse; margin-left: 40px; } /* Staggered */
.card-3 { animation: floatY 6s infinite ease-in-out reverse; margin-right: 40px; }
.card-4 { animation: floatY 8s infinite ease-in-out; }

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@media (max-width: 1024px) {
    .tunnel-section { perspective: none; flex-direction: column; gap: 50px; }
    .tunnel-wing { position: relative; transform: none; left: auto; right: auto; top: auto; flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .tunnel-card { width: 45%; height: 150px; margin: 0 !important; }
}

