/* =============================================
   CHITRAKSHA — College Media Club
   style.css
   ============================================= */

/* ── CSS Variables ── */
:root {
    --bg: #040408;
    --surface: #0d0d14;
    --surface2: #12121c;
    --accent: #e8ff47;
    --accent2: #ff3c6e;
    --accent3: #00d4ff;
    --text: #f0eee6;
    --muted: #5a5870;
    --border: rgba(255, 255, 255, 0.06);
}

/* ── Reset ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Syne', sans-serif;
    overflow-x: hidden;
    cursor: none;
}

/* ─────────────────────────────────────────────
   PRELOADER
───────────────────────────────────────────── */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
    top: 10px;
}

.logo-container {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    filter: drop-shadow(0 0 15px rgba(232, 255, 71, 0.5));
}

.glitch-copy {
    opacity: 0.5;
    mix-blend-mode: screen;
}

.glitch-copy-1 {
    transform: translateX(-3px);
    filter: drop-shadow(0 0 10px rgba(255, 60, 110, 0.8));
    animation: glitch-anim-1 2.5s infinite linear alternate-reverse;
}

.glitch-copy-2 {
    transform: translateX(3px);
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.8));
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip-path: inset(20% 0 80% 0);
        transform: translate(-3px, 2px);
    }

    10% {
        clip-path: inset(50% 0 10% 0);
        transform: translate(2px, -1px);
    }

    20% {
        clip-path: inset(10% 0 60% 0);
        transform: translate(-2px, 3px);
    }

    30% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(3px, -2px);
    }

    40% {
        clip-path: inset(30% 0 40% 0);
        transform: translate(-1px, 1px);
    }

    50% {
        clip-path: inset(70% 0 20% 0);
        transform: translate(2px, 2px);
    }

    60% {
        clip-path: inset(5% 0 80% 0);
        transform: translate(-3px, -1px);
    }

    70% {
        clip-path: inset(40% 0 30% 0);
        transform: translate(1px, -3px);
    }

    80% {
        clip-path: inset(90% 0 5% 0);
        transform: translate(-2px, 2px);
    }

    90% {
        clip-path: inset(15% 0 70% 0);
        transform: translate(3px, 1px);
    }

    100% {
        clip-path: inset(60% 0 10% 0);
        transform: translate(-1px, -2px);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: inset(10% 0 60% 0);
        transform: translate(2px, -3px);
    }

    10% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(-2px, 1px);
    }

    20% {
        clip-path: inset(30% 0 40% 0);
        transform: translate(1px, -2px);
    }

    30% {
        clip-path: inset(70% 0 20% 0);
        transform: translate(-3px, 3px);
    }

    40% {
        clip-path: inset(5% 0 80% 0);
        transform: translate(2px, 1px);
    }

    50% {
        clip-path: inset(40% 0 30% 0);
        transform: translate(-1px, -2px);
    }

    60% {
        clip-path: inset(90% 0 5% 0);
        transform: translate(3px, 2px);
    }

    70% {
        clip-path: inset(15% 0 70% 0);
        transform: translate(-2px, -1px);
    }

    80% {
        clip-path: inset(60% 0 10% 0);
        transform: translate(1px, 3px);
    }

    90% {
        clip-path: inset(20% 0 80% 0);
        transform: translate(-3px, -2px);
    }

    100% {
        clip-path: inset(50% 0 10% 0);
        transform: translate(2px, 1px);
    }
}

.loader-circ {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 32%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.loader-circle {
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: square;
}

.loader-circle-bg {
    stroke: rgba(255, 255, 255, 0.05);
}

.loader-circle-fg {
    stroke: var(--accent);
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 0.1s linear;
    transform-origin: 50% 50%;
}

.loading-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.80rem;
    letter-spacing: 0.5em;
    color: var(--accent);
    text-transform: uppercase;
    margin-top: 4rem;
}

.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    overflow: hidden;
}

.glitch-text::before {
    left: 2px;
    text-shadow: -1px 0 var(--accent2);
    clip-path: inset(45% 0 20% 0);
    animation: noise-anim 2s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -1px 0 var(--accent3);
    clip-path: inset(65% 0 10% 0);
    animation: noise-anim-2 3s infinite linear alternate-reverse;
}

@keyframes noise-anim {
    0% {
        clip-path: inset(10% 0 81% 0);
    }

    20% {
        clip-path: inset(90% 0 2% 0);
    }

    40% {
        clip-path: inset(45% 0 35% 0);
    }

    60% {
        clip-path: inset(60% 0 15% 0);
    }

    80% {
        clip-path: inset(20% 0 70% 0);
    }

    100% {
        clip-path: inset(80% 0 5% 0);
    }
}

@keyframes noise-anim-2 {
    0% {
        clip-path: inset(50% 0 30% 0);
    }

    20% {
        clip-path: inset(15% 0 75% 0);
    }

    40% {
        clip-path: inset(80% 0 5% 0);
    }

    60% {
        clip-path: inset(30% 0 50% 0);
    }

    80% {
        clip-path: inset(5% 0 90% 0);
    }

    100% {
        clip-path: inset(65% 0 15% 0);
    }
}

.loading-progress {
    color: var(--text);
    font-size: 1.2rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.1em;
    position: relative;
    z-index: 2;
}

/* ─────────────────────────────────────────────
   CUSTOM CURSOR
───────────────────────────────────────────── */
#cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease, background 0.2s;
    mix-blend-mode: difference;
}

#cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.18s ease, width 0.25s, height 0.25s, border-color 0.2s;
    mix-blend-mode: difference;
}

body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring,
body:has(.card:hover) #cursor-ring {
    width: 64px;
    height: 64px;
    border-color: var(--accent2);
}

/* ─────────────────────────────────────────────
   NOISE OVERLAY
───────────────────────────────────────────── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9990;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

/* ─────────────────────────────────────────────
   PROGRESS BAR
───────────────────────────────────────────── */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent3));
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.1s;
}

/* ─────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 3rem;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    background: rgba(4, 4, 8, 0.7);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.nav-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.12em;
    background: linear-gradient(90deg, var(--accent), var(--accent3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2.2rem;
    list-style: none;
}

.nav-links a {
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.25s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

/* ─────────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────────── */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 3rem 4rem;
    overflow: hidden;
}

.hero-grid-bg {
    position: absolute;
    width: 200vw;
    height: 200vh;
    top: -50vh;
    left: -50vw;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(232, 255, 71, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232, 255, 71, 0.08) 1px, transparent 1px);
    background-size: 80px 80px;
    transform: perspective(1000px) rotateX(60deg) translateY(0);
    animation: grid-move 5s linear infinite;
    mask-image: radial-gradient(circle at center, black 10%, transparent 60%);
    -webkit-mask-image: radial-gradient(circle at center, black 10%, transparent 60%);
}

@keyframes grid-move {
    0% {
        transform: perspective(1000px) rotateX(60deg) translateY(0);
    }

    100% {
        transform: perspective(1000px) rotateX(60deg) translateY(80px);
    }
}

.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 30%, #040408 95%);
}

.hero-glow {
    position: absolute;
    top: -10%;
    left: 5%;
    z-index: 0;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 60, 110, 0.15) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
    animation: drift 15s ease-in-out infinite alternate;
}

.hero-glow2 {
    position: absolute;
    bottom: -15%;
    right: 0%;
    z-index: 0;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 60%);
    filter: blur(100px);
    pointer-events: none;
    animation: drift-2 18s ease-in-out infinite alternate-reverse;
}

.hero-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 255, 71, 0.1) 0%, transparent 60%);
    filter: blur(60px);
    transform: translate(-50%, -50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(15vw, 10vh) scale(1.1);
    }
}

@keyframes drift-2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-10vw, -15vh) scale(1.2);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.hero-eyebrow {
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(5rem, 14vw, 13rem);
    line-height: 0.88;
    letter-spacing: 0.03em;
    position: relative;
    z-index: 1;
}

.hero-title .line1 {
    display: block;
}

.hero-title .line2 {
    display: block;
    -webkit-text-stroke: 1.5px var(--text);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title .accent-word {
    background: linear-gradient(135deg, var(--accent), var(--accent3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

/* ─────────────────────────────────────────────
   HERO GLITCH EFFECT
───────────────────────────────────────────── */
.glitch-hero {
    position: relative;
    display: inline-block;
}

.glitch-hero::before,
.glitch-hero::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    pointer-events: none;
}

.glitch-hero::before {
    left: 4px;
    text-shadow: -2px 0 var(--accent2);
    clip-path: inset(45% 0 20% 0);
    animation: hero-noisy 3s infinite linear alternate-reverse;
}

.glitch-hero::after {
    left: -4px;
    text-shadow: 2px 0 var(--accent3);
    clip-path: inset(65% 0 10% 0);
    animation: hero-noisy-2 2.5s infinite linear alternate-reverse;
}

/* Fix for .line2 (stroked text) */
.line2.glitch-hero::before,
.line2.glitch-hero::after {
    -webkit-text-stroke: 1.5px var(--accent2);
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.line2.glitch-hero::after {
    -webkit-text-stroke: 1.5px var(--accent3);
}

/* Fix for .accent-word (gradient text) */
.accent-word.glitch-hero::before {
    background: none;
    -webkit-text-fill-color: var(--accent2);
    text-shadow: -4px 0 var(--accent);
    mix-blend-mode: color-dodge;
    left: -2px;
    animation: frame-glitch 2.5s infinite linear alternate-reverse;
}

.accent-word.glitch-hero::after {
    background: none;
    -webkit-text-fill-color: var(--accent3);
    text-shadow: 4px 0 var(--accent2);
    mix-blend-mode: color-dodge;
    left: 2px;
    animation: frame-glitch-2 3s infinite linear alternate-reverse;
}

@keyframes hero-noisy {
    0% {
        clip-path: inset(10% 0 81% 0);
        transform: translate(-2px, 1px);
    }

    20% {
        clip-path: inset(90% 0 2% 0);
        transform: translate(2px, -1px);
    }

    40% {
        clip-path: inset(45% 0 35% 0);
        transform: translate(-2px, 2px);
    }

    60% {
        clip-path: inset(60% 0 15% 0);
        transform: translate(2px, -2px);
    }

    80% {
        clip-path: inset(20% 0 70% 0);
        transform: translate(-1px, 1px);
    }

    100% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(1px, -1px);
    }
}

@keyframes hero-noisy-2 {
    0% {
        clip-path: inset(50% 0 30% 0);
        transform: translate(2px, -1px);
    }

    20% {
        clip-path: inset(15% 0 75% 0);
        transform: translate(-2px, 2px);
    }

    40% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(1px, -2px);
    }

    60% {
        clip-path: inset(30% 0 50% 0);
        transform: translate(-1px, 1px);
    }

    80% {
        clip-path: inset(5% 0 90% 0);
        transform: translate(2px, 1px);
    }

    100% {
        clip-path: inset(65% 0 15% 0);
        transform: translate(-2px, -2px);
    }
}

@keyframes frame-glitch {
    0% {
        clip-path: inset(20% 0 80% 0);
        transform: translate(-4px, 1px) skewX(10deg);
    }

    10% {
        clip-path: inset(50% 0 10% 0);
        transform: translate(4px, -1px) skewX(-10deg);
    }

    20% {
        clip-path: inset(10% 0 60% 0);
        transform: translate(-2px, 3px);
    }

    30% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(3px, -2px);
    }

    40% {
        clip-path: inset(30% 0 40% 0);
        transform: translate(-2px, 1px) skewX(20deg);
    }

    50% {
        clip-path: inset(70% 0 20% 0);
        transform: translate(2px, 2px);
    }

    60% {
        clip-path: inset(5% 0 80% 0);
        transform: translate(-3px, -1px);
    }

    70% {
        clip-path: inset(40% 0 30% 0);
        transform: translate(1px, -3px) skewX(-20deg);
    }

    80% {
        clip-path: inset(90% 0 5% 0);
        transform: translate(-2px, 2px);
    }

    90% {
        clip-path: inset(15% 0 70% 0);
        transform: translate(3px, 1px);
    }

    100% {
        clip-path: inset(60% 0 10% 0);
        transform: translate(-1px, -2px);
    }
}

@keyframes frame-glitch-2 {
    0% {
        clip-path: inset(10% 0 60% 0);
        transform: translate(2px, -3px);
    }

    10% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(-2px, 1px) skewX(15deg);
    }

    20% {
        clip-path: inset(30% 0 40% 0);
        transform: translate(1px, -2px);
    }

    30% {
        clip-path: inset(70% 0 20% 0);
        transform: translate(-3px, 3px);
    }

    40% {
        clip-path: inset(5% 0 80% 0);
        transform: translate(2px, 1px) skewX(-15deg);
    }

    50% {
        clip-path: inset(40% 0 30% 0);
        transform: translate(-1px, -2px);
    }

    60% {
        clip-path: inset(90% 0 5% 0);
        transform: translate(3px, 2px);
    }

    70% {
        clip-path: inset(15% 0 70% 0);
        transform: translate(-2px, -1px);
    }

    80% {
        clip-path: inset(60% 0 10% 0);
        transform: translate(1px, 3px) skewX(10deg);
    }

    90% {
        clip-path: inset(20% 0 80% 0);
        transform: translate(-3px, -2px);
    }

    100% {
        clip-path: inset(50% 0 10% 0);
        transform: translate(2px, 1px);
    }
}

.hero-sub {
    margin-top: 2.5rem;
    max-width: 480px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--muted);
    position: relative;
    z-index: 1;
}

.hero-ctas {
    margin-top: 3rem;
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    z-index: 1;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn-primary {
    padding: 1rem 2.4rem;
    background: var(--accent);
    color: #040408;
    font-family: 'Space Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    cursor: none;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(232, 255, 71, 0.3);
}

.btn-ghost {
    padding: 1rem 2.4rem;
    background: transparent;
    color: var(--text);
    font-family: 'Space Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid var(--border);
    cursor: none;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    display: inline-block;
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ─────────────────────────────────────────────
   MARQUEE TICKER
───────────────────────────────────────────── */
.marquee-wrap {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    padding: 1.1rem 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.marquee-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: marquee 22s linear infinite;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.marquee-item {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0 3rem;
    color: var(--muted);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.marquee-item .dot {
    color: var(--accent);
    font-size: 1.4rem;
}

/* ─────────────────────────────────────────────
   SHARED SECTION STYLES
───────────────────────────────────────────── */
section {
    padding: 8rem 3rem;
}

.section-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.section-label::before {
    content: '//';
    color: var(--muted);
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: 0.92;
    letter-spacing: 0.02em;
}

/* ─────────────────────────────────────────────
   PARALLAX FLOATING TEXT
───────────────────────────────────────────── */
.parallax-float {
    position: absolute;
    pointer-events: none;
    font-family: 'Bebas Neue', sans-serif;
    color: rgba(255, 255, 255, 0.02);
    font-size: 14rem;
    letter-spacing: 0.05em;
    user-select: none;
    z-index: 0;
    will-change: transform;
}

/* ─────────────────────────────────────────────
   ABOUT SECTION
───────────────────────────────────────────── */
#about {
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-visual {
    position: relative;
    height: 520px;
}

.about-frame {
    position: absolute;
    inset: 0;
    border: 1px solid var(--border);
    background: var(--surface2);
    overflow: hidden;
}

.about-frame-inner {
    position: absolute;
    inset: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(232, 255, 71, 0.03) 0%, transparent 60%),
        linear-gradient(225deg, rgba(0, 212, 255, 0.04) 0%, transparent 60%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 7rem;
    color: rgba(0, 0, 0, 0.789);
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.848);
    /* Text boundary stroke */
    /* Increased opacity to make it more visible above the image */
    letter-spacing: 0.1em;
    pointer-events: none;
    /* Let clicks pass through if needed */
}

.about-accent-box {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.4rem;
    color: #040408;
    line-height: 1;
    text-align: center;
}

.about-corner {
    position: absolute;
    top: -12px;
    left: -12px;
    width: 50px;
    height: 50px;
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-box {
    padding: 1.4rem;
    border: 1px solid var(--border);
    background: var(--surface);
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent3));
}

.stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 0.3rem;
    letter-spacing: 0.05em;
}

/* ─────────────────────────────────────────────
   GALLERY SECTION
───────────────────────────────────────────── */
#gallery {
    background: var(--surface);
    position: relative;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 60px;
    gap: 12px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background: var(--surface2);
    border: 1px solid var(--border);
    cursor: none;
}

/* Mosaic layout spans */
.gallery-item:nth-child(1) {
    grid-column: span 5;
    grid-row: span 5;
}

.gallery-item:nth-child(2) {
    grid-column: span 4;
    grid-row: span 3;
}

.gallery-item:nth-child(3) {
    grid-column: span 3;
    grid-row: span 3;
}

.gallery-item:nth-child(4) {
    grid-column: span 4;
    grid-row: span 4;
}

.gallery-item:nth-child(5) {
    grid-column: span 3;
    grid-row: span 2;
}

.gallery-item:nth-child(6) {
    grid-column: span 5;
    grid-row: span 4;
}

.gallery-item:nth-child(7) {
    grid-column: span 4;
    grid-row: span 3;
}

.gallery-item:nth-child(8) {
    grid-column: span 5;
    grid-row: span 3;
}

.gallery-item:nth-child(9) {
    grid-column: span 3;
    grid-row: span 4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s;
    filter: grayscale(20%) brightness(0.85);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: grayscale(0%) brightness(1);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 4, 8, 0.9) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.2rem;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.3rem;
}

.gallery-item-title {
    font-size: 0.9rem;
    font-weight: 700;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0.12;
    background: linear-gradient(135deg, var(--surface2), var(--bg));
}

/* Upload Zone */
.upload-zone {
    border: 2px dashed var(--border);
    padding: 3rem;
    text-align: center;
    margin-top: 2rem;
    transition: border-color 0.2s, background 0.2s;
    cursor: none;
    position: relative;
    overflow: hidden;
}

.upload-zone:hover {
    border-color: var(--accent);
    background: rgba(232, 255, 71, 0.02);
}

.upload-zone label {
    display: block;
    cursor: none;
    font-family: 'Space Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    color: var(--muted);
}

.upload-zone label span {
    color: var(--accent);
}

#fileInput {
    display: none;
}

/* ─────────────────────────────────────────────
   STORIES / REELS SECTION
───────────────────────────────────────────── */
#stories {
    position: relative;
}

.stories-intro {
    max-width: 600px;
    margin-bottom: 4rem;
}

.stories-intro p {
    color: var(--muted);
    line-height: 1.8;
    margin-top: 1.5rem;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.story-card {
    position: relative;
    aspect-ratio: 9 / 16;
    /* max-height: 480px; removed so reels form don't get vertically cut in half */
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 16px;
    /* modern rounded corners */
    overflow: hidden;
    cursor: auto;
    /* allow clicking inside the reel */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.story-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(232, 255, 71, 0.15), 0 0 25px rgba(232, 255, 71, 0.2);
    border-color: rgba(232, 255, 71, 0.4);
    /* glowing border on hover */
}

.story-card-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    opacity: 0.15;
}

.story-card-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 4, 8, 0.95) 40%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.story-card-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent2);
    margin-bottom: 0.5rem;
}

.story-card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.story-card-meta {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    color: var(--muted);
}

.story-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(232, 255, 71, 0.15);
    border: 1.5px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.story-card:hover .story-card-play {
    opacity: 1;
}

/* ─────────────────────────────────────────────
   TEAM SECTION
───────────────────────────────────────────── */
#team {
    background: var(--surface);
    position: relative;
    overflow: hidden;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.team-card {
    background: rgba(20, 20, 26, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), background 0.4s, border-color 0.4s, box-shadow 0.4s;
    cursor: auto;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform-style: preserve-3d;
    will-change: transform;
}

.team-card-inner {
    position: relative;
    z-index: 2;
    transform: translateZ(30px);
}

.team-card-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(232, 255, 71, 0.12) 0%, transparent 60%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.team-card:hover {
    border-color: rgba(232, 255, 71, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(232, 255, 71, 0.05);
}

.team-avatar-wrap {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-avatar-ring {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px dashed rgba(232, 255, 71, 0.3);
    animation: rotateRing 10s linear infinite;
    opacity: 0.5;
    transition: opacity 0.3s, border-color 0.3s;
}

.team-card:hover .team-avatar-ring {
    opacity: 1;
    border-color: rgba(232, 255, 71, 0.7);
    animation-duration: 5s;
}

@keyframes rotateRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.team-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--surface2), #1a1a24);
    box-shadow: inset 0 0 0 2px rgba(232, 255, 71, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    color: var(--accent);
    position: relative;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s, color 0.3s, background 0.3s;
}

.team-card:hover .team-avatar {
    transform: scale(1.08) translateZ(15px);
    box-shadow: inset 0 0 0 2px var(--accent3);
    background: linear-gradient(135deg, var(--accent), var(--accent3));
    color: var(--bg);
}

.team-name {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
    color: var(--text);
    transition: color 0.3s;
}

.team-card:hover .team-name {
    color: var(--accent);
}

.team-role {
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--accent2);
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.team-role::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--accent2);
    transition: width 0.3s ease;
}

.team-card:hover .team-role::after {
    width: 100%;
}

.team-bio {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--muted);
    opacity: 0;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.team-card:hover .team-bio {
    opacity: 1;
    max-height: 80px;
    margin-bottom: 1.5rem;
    transform: translateY(0);
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0.1s;
}

.team-card:hover .team-socials {
    opacity: 1;
    transform: translateY(0);
}

.team-socials a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s, transform 0.2s, border-color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
}

.team-socials a:hover {
    color: var(--bg);
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-4px);
}

/* ─────────────────────────────────────────────
   CONTACT SECTION
───────────────────────────────────────────── */
#contact {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(232, 255, 71, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.contact-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.contact-big {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 9vw, 8rem);
    line-height: 0.9;
    letter-spacing: 0.02em;
    margin: 1.5rem 0;
}

.contact-big .outline {
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.2);
    color: transparent;
}

.contact-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.social-link {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    text-decoration: none;
    font-size: 1.1rem;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(232, 255, 71, 0.05);
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
footer {
    border-top: 1px solid var(--border);
    padding: 2rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.12em;
    background: linear-gradient(90deg, var(--accent), var(--accent3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

footer p {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: var(--muted);
    letter-spacing: 0.08em;
}

/* ─────────────────────────────────────────────
   SCROLL REVEAL ANIMATION
───────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
        transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ─────────────────────────────────────────────
   GLITCH ANIMATION
───────────────────────────────────────────── */
.glitch {
    animation: glitch 5s infinite;
}

@keyframes glitch {

    0%,
    94%,
    100% {
        text-shadow: none;
    }

    95% {
        text-shadow: 3px 0 var(--accent2), -3px 0 var(--accent3);
    }

    96% {
        text-shadow: -3px 0 var(--accent2), 3px 0 var(--accent3);
    }

    97% {
        text-shadow: 3px 0 var(--accent2), -3px 0 var(--accent3);
    }
}

/* ─────────────────────────────────────────────
   SPLIT CHARACTER ANIMATION
───────────────────────────────────────────── */
.split-char {
    display: inline-block;
    animation: charReveal 0.7s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@keyframes charReveal {
    from {
        opacity: 0;
        transform: translateY(30px) rotate(4deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotate(0);
    }
}

/* ─────────────────────────────────────────────
   MOBILE MENU TOGGLE
───────────────────────────────────────────── */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1000;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    margin: 4px auto;
    background-color: var(--text);
    transition: all 0.3s ease-in-out;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 900px) {
    nav {
        padding: 1rem 1.5rem;
    }

    section {
        padding: 5rem 1.5rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: flex;
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 70%;
        background-color: var(--surface2);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
        border-left: 1px solid var(--border);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 2rem 0;
    }

    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    .about-frame-inner {
        font-size: 5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stories-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }

    .gallery-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .parallax-float {
        display: none;
        /* Hide massive text that breaks layouts on smaller tablets */
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .hero-title {
        font-size: clamp(3.2rem, 12vw, 4.5rem);
        /* Tweak hero title to fit beautifully on small phones */
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .hero-ctas a {
        text-align: center;
        padding: 1.2rem;
    }

    .about-frame-inner {
        font-size: 3.5rem;
    }

    .story-card {
        border-radius: 12px;
        min-height: 550px;
    }

    .stat-box {
        padding: 1rem;
    }

    .stat-num {
        font-size: 2.2rem;
    }
}
/* =============================================
   CHITRAKSHA — 3D DEPTH CAMERA PARALLAX
   parallax3d.css  — add AFTER style.css
   ============================================= */

/* ── Hero becomes the 3D stage ── */
#hero {
    perspective: 1200px;
    perspective-origin: 50% 50%;
    transform-style: preserve-3d;
}

/* ── Scene wrapper that rotates as one unit ── */
#hero-3d-scene {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    will-change: transform;
    pointer-events: none;
    z-index: 0;
}

/* ── Individual depth layers ── */

/* Layer -4 (deepest): grid background */
.depth-grid {
    position: absolute;
    inset: -20%;
    transform: translateZ(-120px) scale(1.3);
    transform-origin: center center;
    will-change: transform;
    pointer-events: none;
}

/* Layer -3: glows */
.depth-glows {
    position: absolute;
    inset: 0;
    transform: translateZ(-80px) scale(1.15);
    transform-origin: center center;
    will-change: transform;
    pointer-events: none;
}

/* Layer -2: floating text (चित्रक्ष / LENS) */
.depth-float {
    position: absolute;
    inset: 0;
    transform: translateZ(-40px) scale(1.06);
    transform-origin: center center;
    will-change: transform;
    pointer-events: none;
}

/* Layer -1: eyebrow + scroll hint */
.depth-mid {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 3rem 4rem;
    transform: translateZ(-10px) scale(1.01);
    will-change: transform;
    pointer-events: none;
}

/* Layer 0 (base): hero title — no translateZ, natural position */
.depth-title {
    position: relative;
    z-index: 2;
    will-change: transform;
    transform-origin: left center;
    transition: transform 0.05s linear;
    pointer-events: none;
}

/* Layer +1: subtitle — floats slightly in front */
.depth-sub {
    position: relative;
    z-index: 2;
    will-change: transform;
    transform-origin: left center;
    transition: transform 0.05s linear;
    pointer-events: auto;
}

/* Layer +2 (closest): CTAs pop right out of the screen */
.depth-ctas {
    position: relative;
    z-index: 3;
    will-change: transform;
    transform-origin: left center;
    transition: transform 0.05s linear;
    pointer-events: auto;
}

/* ── Depth fog: subtle vignette that shifts with mouse ── */
#hero-depth-fog {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(
        ellipse 80% 80% at var(--fog-x, 50%) var(--fog-y, 50%),
        transparent 30%,
        rgba(4, 4, 8, 0.55) 100%
    );
    transition: background 0.12s ease;
}

/* ── Crosshair reticle that follows cursor ── */
#hero-reticle {
    position: absolute;
    width: 60px;
    height: 60px;
    pointer-events: none;
    z-index: 5;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
}

#hero:hover #hero-reticle {
    opacity: 1;
}

#hero-reticle::before,
#hero-reticle::after {
    content: '';
    position: absolute;
    background: rgba(232, 255, 71, 0.35);
}

/* horizontal bar */
#hero-reticle::before {
    top: 50%; left: 0;
    width: 100%; height: 1px;
    transform: translateY(-50%);
}

/* vertical bar */
#hero-reticle::after {
    left: 50%; top: 0;
    height: 100%; width: 1px;
    transform: translateX(-50%);
}

.reticle-corner {
    position: absolute;
    width: 8px;
    height: 8px;
    border-color: rgba(232, 255, 71, 0.6);
    border-style: solid;
}
.reticle-corner.tl { top: 0;  left: 0;  border-width: 1px 0 0 1px; }
.reticle-corner.tr { top: 0;  right: 0; border-width: 1px 1px 0 0; }
.reticle-corner.bl { bottom: 0; left: 0;  border-width: 0 0 1px 1px; }
.reticle-corner.br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

/* ── Depth indicator — right edge ── */
#depth-indicator {
    position: absolute;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
}

#hero:hover #depth-indicator {
    opacity: 1;
}

.depth-pip {
    width: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s, height 0.3s;
}

.depth-pip.p1 { height: 6px; }
.depth-pip.p2 { height: 10px; }
.depth-pip.p3 { height: 14px; }
.depth-pip.p4 { height: 10px; }
.depth-pip.p5 { height: 6px; }

.depth-pip.active {
    background: var(--accent);
    box-shadow: 0 0 6px rgba(232, 255, 71, 0.6);
}

#depth-indicator span {
    font-family: 'Space Mono', monospace;
    font-size: 0.45rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    writing-mode: vertical-rl;
    margin-top: 4px;
}

/* ── Tilt shadow on title — shifts with depth ── */
.hero-title {
    filter: drop-shadow(0 0 0px rgba(232, 255, 71, 0));
    transition: filter 0.3s;
}

#hero:hover .hero-title {
    filter: drop-shadow(
        calc(var(--tilt-x, 0) * -3px)
        calc(var(--tilt-y, 0) * -3px)
        12px rgba(232, 255, 71, 0.2)
    );
}

/* ── Disable on mobile (touch devices don't have mouse) ── */
@media (max-width: 900px) {
    #hero {
        perspective: none;
    }
    #hero-reticle,
    #depth-indicator {
        display: none;
    }
    .depth-title,
    .depth-sub,
    .depth-ctas {
        transform: none !important;
    }
}
/* =============================================
   CHITRAKSHA — SHOCKWAVE CLICK EFFECT
   shockwave.css  — add AFTER style.css
   ============================================= */

/* ── Canvas sits over the entire hero ── */
#shockwave-canvas {
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
    mix-blend-mode: screen;
}

/* ── Click burst: tiny particle sparks (DOM-based fallback dots) ── */
.shock-spark {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 7;
    animation: sparkFly var(--dur, 0.7s) ease-out forwards;
    transform-origin: center center;
    background: var(--spark-color, #e8ff47);
    box-shadow: 0 0 4px var(--spark-color, #e8ff47);
}

@keyframes sparkFly {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(0);
        opacity: 0;
    }
}

/* ── Flash vignette: the whole hero briefly brightens at edges ── */
#shockwave-flash {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    border-radius: inherit;
    background: radial-gradient(
        circle at var(--fx, 50%) var(--fy, 50%),
        transparent 20%,
        rgba(232, 255, 71, 0.06) 60%,
        transparent 100%
    );
    opacity: 0;
    transition: none;
}

#shockwave-flash.flash-active {
    animation: edgeFlash 0.5s ease-out forwards;
}

@keyframes edgeFlash {
    0%   { opacity: 1; }
    100% { opacity: 0; }
}

/* ── Screen shake ── */
@keyframes heroShake {
    0%   { transform: translate(0,    0);    }
    15%  { transform: translate(-3px, -2px); }
    30%  { transform: translate(3px,   2px); }
    45%  { transform: translate(-2px,  1px); }
    60%  { transform: translate(2px,  -1px); }
    75%  { transform: translate(-1px,  1px); }
    100% { transform: translate(0,    0);    }
}

#hero.shaking {
    animation: heroShake 0.35s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* ── Click counter stamp (top-left corner) ── */
#shock-counter {
    position: absolute;
    top: 7rem;
    left: 3rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.25em;
    color: rgba(232, 255, 71, 0.2);
    pointer-events: none;
    z-index: 8;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: color 0.3s;
}

#shock-counter.fired {
    color: rgba(232, 255, 71, 0.7);
    animation: counterPop 0.4s ease-out forwards;
}

@keyframes counterPop {
    0%   { transform: scale(1.4); }
    100% { transform: scale(1);   }
}

#shock-counter .counter-label {
    font-size: 0.45rem;
    color: rgba(255, 255, 255, 0.12);
    letter-spacing: 0.3em;
}

@media (max-width: 768px) {
    #shock-counter { display: none; }
}
/* =============================================
   CHITRAKSHA — CONTACT SECTION ENHANCEMENT
   contact-enhanced.css  — add AFTER style.css
   ============================================= */

/* ─────────────────────────────────────────────
   SECTION OVERRIDE
───────────────────────────────────────────── */
#contact {
    padding: 8rem 3rem;
    overflow: hidden;
    text-align: left;
}

/* ─────────────────────────────────────────────
   BACKGROUND ELEMENTS
───────────────────────────────────────────── */

/* Animated grid lines in background */
#contact-grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(232,255,71,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232,255,71,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
    animation: contactGridDrift 20s linear infinite;
}

@keyframes contactGridDrift {
    0%   { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

/* Large glow orbs */
.contact-glow {
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(232,255,71,0.05) 0%, transparent 65%);
    animation: glowPulse 8s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0%   { transform: translate(-50%,-50%) scale(1);   opacity: 0.6; }
    100% { transform: translate(-50%,-50%) scale(1.2); opacity: 1;   }
}

.contact-glow2 {
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(0,212,255,0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: glowPulse2 12s ease-in-out infinite alternate-reverse;
}

@keyframes glowPulse2 {
    0%   { transform: scale(1);   opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 1;   }
}

/* ─────────────────────────────────────────────
   LAYOUT: 2-COLUMN GRID
───────────────────────────────────────────── */
.contact-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

/* ─────────────────────────────────────────────
   LEFT COLUMN — BIG TEXT + SOCIALS
───────────────────────────────────────────── */
.contact-left {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Override old centred inner */
.contact-inner {
    max-width: 100%;
    margin: 0;
    text-align: left;
}

.contact-big {
    font-size: clamp(4rem, 7vw, 8.5rem);
    line-height: 0.88;
    margin: 1.2rem 0 0;
}

/* Animated gradient stroke on CREATE */
.contact-big .outline {
    -webkit-text-stroke: 2px transparent;
    background: linear-gradient(135deg, var(--accent), var(--accent3), var(--accent2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%;   }
    100% { background-position: 100% 50%; }
}

/* Info rows: email, instagram, etc. */
.contact-info-rows {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--border);
}

.contact-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--muted);
    position: relative;
    overflow: hidden;
    transition: color 0.25s;
    cursor: pointer;
}

.contact-info-row::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0; bottom: 0;
    width: 100%;
    background: rgba(232,255,71,0.03);
    transition: left 0.4s cubic-bezier(0.23,1,0.32,1);
}

.contact-info-row:hover::before { left: 0; }
.contact-info-row:hover { color: var(--text); }
.contact-info-row:hover .row-arrow { transform: translate(4px, -4px); color: var(--accent); }

.row-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
    min-width: 100px;
}

.row-value {
    font-family: 'Syne', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    flex: 1;
    padding: 0 1rem;
}

.row-arrow {
    font-size: 1rem;
    color: var(--muted);
    transition: transform 0.25s, color 0.25s;
}

/* Social icons — upgraded */
.contact-socials {
    justify-content: flex-start;
    gap: 0.8rem;
    margin-top: 0;
}

.social-link {
    width: 44px;
    height: 44px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.social-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(232,255,71,0.15);
}

/* Social SVG icons */
.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ─────────────────────────────────────────────
   RIGHT COLUMN — CONTACT FORM
───────────────────────────────────────────── */
.contact-form-wrap {
    position: relative;
}

/* Corner bracket decoration */
.contact-form-wrap::before {
    content: '';
    position: absolute;
    top: -12px; left: -12px;
    width: 28px; height: 28px;
    border-top: 1px solid rgba(232,255,71,0.35);
    border-left: 1px solid rgba(232,255,71,0.35);
    pointer-events: none;
}

.contact-form-wrap::after {
    content: '';
    position: absolute;
    bottom: -12px; right: -12px;
    width: 28px; height: 28px;
    border-bottom: 1px solid rgba(232,255,71,0.35);
    border-right: 1px solid rgba(232,255,71,0.35);
    pointer-events: none;
}

/* Form header */
.form-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.form-header-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(232,255,71,0.6);
    animation: recPulse2 1.5s ease-in-out infinite;
}

@keyframes recPulse2 {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.7); }
}

.form-header-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
}

/* Form fields */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-field {
    position: relative;
}

.form-field label {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 0.58rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.5rem;
    transition: color 0.25s;
}

.form-field:focus-within label {
    color: var(--accent);
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: 'Syne', sans-serif;
    font-size: 0.92rem;
    padding: 0.95rem 1.1rem;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    -webkit-appearance: none;
    appearance: none;
    resize: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(90,88,112,0.5);
    font-size: 0.85rem;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: rgba(232,255,71,0.4);
    background: var(--surface2);
    box-shadow: 0 0 0 3px rgba(232,255,71,0.06),
                inset 0 0 20px rgba(232,255,71,0.02);
}

/* Animated underline accent on focus */
.field-line {
    position: absolute;
    bottom: 0; left: 0;
    height: 1px;
    width: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent3));
    transition: width 0.4s cubic-bezier(0.23,1,0.32,1);
    pointer-events: none;
}

.form-field:focus-within .field-line { width: 100%; }

/* Select dropdown styling */
.form-field select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a5870' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-field select option {
    background: var(--surface2);
    color: var(--text);
}

/* Two column row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Submit button */
.form-submit-wrap {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.btn-submit {
    padding: 1rem 2.4rem;
    background: var(--accent);
    color: #040408;
    font-family: 'Space Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    font-weight: 700;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.4s;
}

.btn-submit:hover::before { transform: translateX(100%); }
.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(232,255,71,0.3);
}

.btn-submit:active { transform: translateY(0); }

/* Sent state */
.btn-submit.sent {
    background: rgba(232,255,71,0.15);
    color: var(--accent);
    border: 1px solid rgba(232,255,71,0.3);
    clip-path: none;
    pointer-events: none;
}

.form-note {
    font-family: 'Space Mono', monospace;
    font-size: 0.58rem;
    color: var(--muted);
    letter-spacing: 0.1em;
}

/* Success message */
.form-success {
    display: none;
    margin-top: 1rem;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(232,255,71,0.2);
    background: rgba(232,255,71,0.04);
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--accent);
    animation: fadeInUp 0.4s ease-out;
}

.form-success.visible { display: block; }

@keyframes fadeInUp {
    from { opacity:0; transform: translateY(10px); }
    to   { opacity:1; transform: translateY(0);    }
}

/* ─────────────────────────────────────────────
   CHARACTER COUNTER on textarea
───────────────────────────────────────────── */
.char-counter {
    position: absolute;
    bottom: 10px;
    right: 12px;
    font-family: 'Space Mono', monospace;
    font-size: 0.55rem;
    color: var(--muted);
    pointer-events: none;
    transition: color 0.25s;
}

.char-counter.near-limit { color: var(--accent2); }

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    #contact { text-align: left; }
    .contact-socials { justify-content: flex-start; }
    .contact-big { font-size: clamp(3.5rem, 10vw, 6rem); }
}

@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
    .contact-big { font-size: clamp(3rem, 12vw, 5rem); }
}
/* =============================================
   CHITRAKSHA — GALLERY CMS ADDITIONS
   Add these styles to the bottom of style.css
   ============================================= */

/* ── Gallery image (replaces emoji placeholder) ─────────────── */
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.06);
}

.gallery-placeholder-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: var(--surface2);
}

/* ── Skeleton loader ─────────────────────────────────────────── */
.gallery-skeleton {
    background: var(--surface);
    overflow: hidden;
    position: relative;
    min-height: 220px;
}

.skeleton-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,255,255,0.04) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmerMove 1.4s ease-in-out infinite;
}

@keyframes shimmerMove {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Filter bar ──────────────────────────────────────────────── */
.gallery-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
}

.gallery-filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.5rem 1.1rem;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.gallery-filter-btn:hover {
    color: var(--text);
    border-color: rgba(232,255,71,0.3);
}

.gallery-filter-btn.active {
    background: var(--accent);
    color: #040408;
    border-color: var(--accent);
    font-weight: 700;
}

/* ── Video badge ─────────────────────────────────────────────── */
.gallery-video-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(4,4,8,0.85);
    border: 1px solid rgba(232,255,71,0.3);
    color: var(--accent);
    font-family: 'Space Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    padding: 0.3rem 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    z-index: 2;
    backdrop-filter: blur(4px);
}

/* ── Gallery item description (on hover overlay) ─────────────── */
.gallery-item-desc {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    color: rgba(240,238,230,0.6);
    margin-top: 0.3rem;
    letter-spacing: 0.05em;
    line-height: 1.5;
}

/* ── Empty / error states ────────────────────────────────────── */
.gallery-empty {
    color: var(--muted);
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    padding: 2rem 0;
    grid-column: 1 / -1;
}

.gallery-error {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem;
    border: 1px dashed var(--border);
    color: var(--muted);
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    text-align: center;
    line-height: 1.8;
}

.gallery-error span {
    font-size: 2rem;
    color: var(--accent2);
}

.gallery-error code {
    background: var(--surface2);
    padding: 0.1em 0.4em;
    font-size: 0.7rem;
    color: var(--accent);
}

/* ── Lightbox ────────────────────────────────────────────────── */
#galleryLightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
}

#galleryLightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4,4,8,0.94);
    backdrop-filter: blur(8px);
}

.lb-inner {
    position: relative;
    z-index: 1;
    max-width: min(90vw, 960px);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    transform: scale(0.94);
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

#galleryLightbox.active .lb-inner {
    transform: scale(1);
}

.lb-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.9rem;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, color 0.2s;
}

.lb-close:hover {
    border-color: var(--accent2);
    color: var(--accent2);
}

.lb-media {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
}

.lb-img {
    max-width: 100%;
    max-height: 72vh;
    object-fit: contain;
    display: block;
}

.lb-video {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    display: block;
}

.lb-caption {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 0.2rem;
    flex-wrap: wrap;
}

.lb-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(232,255,71,0.08);
    border: 1px solid rgba(232,255,71,0.2);
    padding: 0.25rem 0.6rem;
}

.lb-title {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.05em;
}

.lb-desc {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: var(--muted);
    width: 100%;
    margin-top: -0.5rem;
    letter-spacing: 0.05em;
    line-height: 1.6;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 600px) {
    .gallery-filter-bar { gap: 0.4rem; }
    .gallery-filter-btn { font-size: 0.6rem; padding: 0.4rem 0.8rem; }
    .lb-inner { max-width: 95vw; }
    .lb-close { top: -2rem; }
}