/* ========================================
   EVAN HIRSCH - AI PROBLEM SOLVER
   Television-Themed Portfolio Styles
   ======================================== */

:root {
    /* Colors - Retro TV Palette */
    --color-bg: #0a0a0b;
    --color-bg-elevated: #111114;
    --color-bg-card: #1a1a1f;
    --color-text: #f5f5f7;
    --color-text-muted: #a1a1a6;
    --color-text-subtle: #7c7c80;

    /* TV Test Pattern Colors */
    --tv-white: #ffffff;
    --tv-yellow: #ffff00;
    --tv-cyan: #00ffff;
    --tv-green: #00ff00;
    --tv-magenta: #ff00ff;
    --tv-red: #ff0000;
    --tv-blue: #0000ff;

    /* Accent Colors */
    --color-accent: #6366f1;
    --color-accent-light: #818cf8;
    --color-accent-glow: rgba(99, 102, 241, 0.4);
    --color-success: #34d399;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-light: rgba(255, 255, 255, 0.12);

    /* TV Screen Effects */
    --tv-glow: rgba(99, 102, 241, 0.15);
    --tv-screen-bg: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
    --tv-bezel: #2a2a30;
    --tv-bezel-dark: #1a1a1e;

    /* Typography */
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Quantico', monospace;
    --font-retro: 'Quantico', monospace;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-2xl: 8rem;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Shadows */
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-tv: 8px;
    --radius-full: 9999px;
}

/* ========================================
   RESET & BASE
   ======================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

/* Focus States - Keyboard Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--color-accent-light);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px var(--color-accent-glow);
    border-radius: var(--radius-sm);
}

img {
    max-width: 100%;
    display: block;
}

/* ========================================
   CRT / TV EFFECTS
   ======================================== */

/* Scanlines Overlay */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
    opacity: 0.3;
}

/* Noise/Static Overlay */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
    animation: noise 0.5s steps(10) infinite;
}

@keyframes noise {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(5%, 5%); }
    30% { transform: translate(-5%, 5%); }
    40% { transform: translate(5%, -5%); }
    50% { transform: translate(-5%, 0); }
    60% { transform: translate(5%, 0); }
    70% { transform: translate(0, -5%); }
    80% { transform: translate(0, 5%); }
    90% { transform: translate(-2%, 2%); }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-retro);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent-light);
    margin-bottom: var(--space-md);
}

.broadcast-icon {
    color: var(--tv-red);
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.section-header {
    margin-bottom: var(--space-xl);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ========================================
   TV CARD COMPONENT
   ======================================== */

.tv-card {
    position: relative;
    background: var(--tv-bezel);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow:
        var(--shadow-sm),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    transition: all var(--transition-base);
}

.tv-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.5),
        0 0 30px var(--tv-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tv-card-screen {
    background: var(--tv-screen-bg);
    border-radius: var(--radius-tv);
    padding: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.tv-card-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05) 0%,
        transparent 50%
    );
    pointer-events: none;
}

.tv-card-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-tv);
    pointer-events: none;
}

.card-channel {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-family: var(--font-retro);
    font-size: 0.9rem;
    color: var(--tv-green);
    text-shadow: 0 0 10px var(--tv-green);
    opacity: 0.8;
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 11, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.tv-logo {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--font-retro);
    background: var(--tv-bezel);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.channel {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.channel-number {
    font-size: 1.5rem;
    color: var(--tv-green);
    text-shadow: 0 0 8px var(--tv-green);
}

/* Name-based logo */
.nav-name-logo {
    font-family: var(--font-sans);
    font-size: 1.8rem;
    font-weight: 100;
    letter-spacing: 0.35em;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    padding: var(--space-sm) 0;
    transition: color var(--transition-fast), text-shadow var(--transition-fast);
    color: var(--color-text);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    background: linear-gradient(
        90deg,
        var(--color-text) 0%,
        var(--color-text) 40%,
        rgba(0, 255, 255, 0.9) 50%,
        var(--color-text) 60%,
        var(--color-text) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 100% 0; }
    50% { background-position: -100% 0; }
}

.nav-name-logo:hover {
    text-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
    animation-play-state: paused;
    background-position: 50% 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(255, 255, 255, 0.05);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-links a:hover {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-links a.active {
    color: var(--tv-cyan);
    background: rgba(0, 255, 255, 0.15);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.nav-cta {
    padding: var(--space-sm) var(--space-lg) !important;
    background: linear-gradient(135deg, var(--tv-magenta), var(--color-accent)) !important;
    color: var(--color-text) !important;
    border-radius: var(--radius-sm) !important;
    transition: all var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--tv-cyan), var(--color-accent)) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 255, 255, 0.5);
}

/* Nav dropdown descriptions */
.nav-links li {
    position: relative;
}

.nav-desc {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(6px) scale(0.96);
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 255, 0.03) 2px,
            rgba(0, 255, 255, 0.03) 4px
        ),
        linear-gradient(135deg, rgba(15, 15, 26, 0.97), rgba(20, 20, 30, 0.97));
    border: 1px solid rgba(0, 255, 255, 0.25);
    border-radius: var(--radius-sm);
    padding: 0.45rem 0.85rem;
    font-family: var(--font-retro);
    font-size: 0.6rem;
    color: var(--tv-cyan);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 100;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.5),
        0 0 12px rgba(0, 255, 255, 0.08),
        inset 0 1px 0 rgba(0, 255, 255, 0.1);
    text-shadow: 0 0 6px rgba(0, 255, 255, 0.4);
}

.nav-desc::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: rgba(15, 15, 26, 0.97);
    border-top: 1px solid rgba(0, 255, 255, 0.25);
    border-left: 1px solid rgba(0, 255, 255, 0.25);
}

.nav-desc::after {
    content: '▸';
    margin-left: 0.4em;
    opacity: 0.5;
}

.nav-links li:hover .nav-desc {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-fast);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl) var(--space-lg);
    position: relative;
    overflow: hidden;
}

.hero-tv-frame {
    position: relative;
    z-index: 1;
}

.tv-outer {
    background:
        linear-gradient(180deg,
            #5c4a3a 0%,
            #4a3c2e 15%,
            #3d3228 50%,
            #2e2620 85%,
            #1a1614 100%
        );
    border-radius: 20px;
    padding: 24px 24px 80px 24px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.1),
        inset 0 -2px 0 rgba(0, 0, 0, 0.4),
        inset 2px 0 0 rgba(255, 255, 255, 0.05),
        inset -2px 0 0 rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Wood grain texture overlay */
.tv-outer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            rgba(255, 255, 255, 0.02) 100px,
            transparent 200px
        );
    border-radius: 20px;
    pointer-events: none;
}

/* Brand badge/logo area */
.tv-outer::after {
    content: '';
    position: absolute;
    bottom: 58px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 8px;
    background: linear-gradient(180deg, #8b7355 0%, #6b5a48 100%);
    border-radius: 2px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 1px 2px rgba(0, 0, 0, 0.3);
}

.tv-screen {
    width: min(800px, 80vw);
    background: var(--tv-screen-bg);
    border-radius: 20px / 18px;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 0 100px rgba(0, 0, 0, 0.7),
        inset 0 0 40px rgba(0, 0, 0, 0.5),
        0 0 30px var(--tv-glow);
    border: 4px solid #1a1a1a;
}

/* TV Static Snow Effect */
.tv-static {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    opacity: 0.6;
    z-index: 10;
    pointer-events: none;
    animation: staticNoise 0.08s steps(8) infinite;
}

.tv-static::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise2)'/%3E%3C/svg%3E");
    background-size: 100px 100px;
    opacity: 0.5;
    animation: staticShift 0.06s steps(6) infinite;
}

.tv-static::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    pointer-events: none;
}

.tv-static.fade-out {
    animation: staticFadeOut 1.5s ease-out forwards;
}

.tv-static.fade-out::before {
    animation: staticFadeOut 1.5s ease-out forwards;
}

@keyframes staticNoise {
    0% { background-position: 0 0; }
    20% { background-position: 100px 50px; }
    40% { background-position: -50px 100px; }
    60% { background-position: 150px -50px; }
    80% { background-position: -100px 150px; }
    100% { background-position: 50px -100px; }
}

@keyframes staticShift {
    0% { background-position: 0 0; }
    25% { background-position: 50px 25px; }
    50% { background-position: -25px 75px; }
    75% { background-position: 75px -50px; }
    100% { background-position: -50px 100px; }
}

@keyframes staticFadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

.tv-content {
    position: relative;
    z-index: 2;
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease-in;
}

.tv-content.revealed {
    opacity: 1;
}

.tv-vignette {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow:
        inset 0 0 150px rgba(0, 0, 0, 0.7),
        inset 0 0 60px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    border-radius: 16px;
}

.tv-glare {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.05) 20%,
            transparent 50%
        ),
        radial-gradient(
            ellipse at 20% 20%,
            rgba(255, 255, 255, 0.08) 0%,
            transparent 50%
        );
    pointer-events: none;
    border-radius: 16px;
}

.tv-controls {
    position: absolute;
    bottom: 18px;
    left: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.tv-dial {
    width: 36px;
    height: 36px;
    background:
        radial-gradient(circle at 30% 30%, #7a6a5a 0%, #4a3c2e 40%, #2a2420 100%);
    border-radius: 50%;
    box-shadow:
        0 3px 6px rgba(0, 0, 0, 0.4),
        0 1px 2px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.15),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 2px solid #3a3028;
}

/* Channel numbers around dial */
.tv-dial::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 1px solid rgba(139, 115, 85, 0.3);
    border-radius: 50%;
}

.tv-dial::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 12px;
    background: linear-gradient(180deg, #d4c4b0 0%, #8b7355 100%);
    transform: translate(-50%, -90%);
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.dial-2 {
    width: 28px;
    height: 28px;
}

.dial-2::before {
    display: none;
}

.dial-2::after {
    height: 9px;
    transform: translate(-50%, -90%) rotate(135deg);
}

.tv-speaker {
    display: flex;
    gap: 3px;
    padding: 8px 12px;
    background: linear-gradient(180deg, #2a2420 0%, #1a1614 100%);
    border-radius: 4px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.tv-speaker span {
    width: 2px;
    height: 24px;
    background: linear-gradient(180deg, #4a3c2e 0%, #1a1614 50%, #4a3c2e 100%);
    border-radius: 1px;
}

/* Hero Content */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-full);
    font-family: var(--font-retro);
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    width: fit-content;
}

.rec-dot {
    width: 10px;
    height: 10px;
    background: var(--tv-red);
    border-radius: 50%;
    animation: rec-pulse 1s ease-in-out infinite;
    box-shadow: 0 0 10px var(--tv-red);
}

@keyframes rec-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-lg);
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: linear-gradient(90deg, var(--tv-cyan) 0%, var(--tv-magenta) 50%, var(--tv-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    opacity: 0;
    transform: translateY(-0.5em);
    animation: dropIn 2.5s cubic-bezier(0.22, 1, 0.36, 1) 3.5s forwards;
}

@keyframes dropIn {
    0% { opacity: 0; transform: translateY(-0.5em); }
    100% { opacity: 1; transform: translateY(0); }
}

.animated-underline {
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, var(--tv-magenta) 0%, var(--tv-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--tv-cyan), var(--tv-magenta), var(--tv-yellow));
    background-size: 200% 100%;
    border-radius: 2px;
    animation: underlineGrow 1s ease-out 6.5s forwards, underlineShimmer 2s ease-in-out 7.5s infinite;
}

@keyframes underlineGrow {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes underlineShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Highlighted words in headers */
.word-highlight {
    background: linear-gradient(90deg, var(--tv-cyan), var(--tv-magenta), var(--tv-yellow), var(--tv-cyan));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: wordShimmer 3s ease-in-out infinite;
}

@keyframes wordShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--color-text-muted);
    line-height: 1.8;
    letter-spacing: 0.01em;
    margin-bottom: var(--space-xl);
    max-width: 680px;
}

.hero-subtitle u {
    text-decoration: none;
    background-image: linear-gradient(90deg, var(--tv-cyan), var(--tv-magenta));
    background-size: 100% 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    padding-bottom: 2px;
    color: var(--color-text);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-text);
}

.btn-primary:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px var(--color-accent-glow);
}

.btn-primary svg {
    transition: transform var(--transition-fast);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border-light);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-text-muted);
}

/* Floating Channels */
.floating-channels {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.channel-card {
    position: absolute;
    background: var(--tv-bezel);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-retro);
    font-size: 1.2rem;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.ch-1 {
    top: 15%;
    left: 10%;
    color: var(--tv-cyan);
    text-shadow: 0 0 10px var(--tv-cyan);
    animation-delay: 0s;
}

.ch-2 {
    top: 25%;
    right: 8%;
    color: var(--tv-magenta);
    text-shadow: 0 0 10px var(--tv-magenta);
    animation-delay: 2s;
}

.ch-3 {
    bottom: 20%;
    left: 15%;
    color: var(--tv-yellow);
    text-shadow: 0 0 10px var(--tv-yellow);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    padding: var(--space-2xl) 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-visual {
    position: relative;
}

.retro-tv-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.retro-tv-image img {
    width: 100%;
    height: auto;
    display: block;
}

.tv-static-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    mix-blend-mode: overlay;
}

.test-pattern-bars {
    display: flex;
    height: 20px;
    margin-top: var(--space-md);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.test-pattern-bars span {
    flex: 1;
    background: var(--bar-color);
}

.about-intro h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
    line-height: 1.3;
}

.about-intro h2 .glow-text {
    display: block;
    background: linear-gradient(135deg, var(--tv-cyan) 0%, var(--tv-magenta) 50%, var(--color-accent-light) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerGlow 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.3));
}

.about-intro .lead {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.about-intro p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: var(--space-lg);
}

.about-intro strong {
    color: var(--tv-cyan);
}

.about-stats {
    display: flex;
    gap: var(--space-lg);
}

.stat {
    padding: var(--space-md);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 140px;
}

.stat-number {
    display: block;
    font-family: var(--font-retro);
    font-size: 2.5rem;
    color: var(--tv-green);
    text-shadow: 0 0 15px var(--tv-green);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ========================================
   CAPABILITIES SECTION (NEW)
   ======================================== */

.capabilities-new {
    padding: var(--space-2xl) 0;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.capabilities-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.section-header.centered {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.capabilities-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--tv-cyan) 50%, var(--tv-magenta) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 4s ease-in-out infinite;
}

.value-props {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}

.value-prop {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl);
    background: linear-gradient(135deg, rgba(26, 26, 30, 0.8) 0%, rgba(17, 17, 20, 0.9) 100%);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.value-prop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.02), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.value-prop:hover {
    transform: translateX(8px);
    border-color: var(--accent);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 30px color-mix(in srgb, var(--accent) 20%, transparent);
}

.value-prop:hover::before {
    transform: translateX(100%);
}

.value-number {
    font-family: var(--font-retro);
    font-size: 4rem;
    line-height: 1;
    color: var(--accent);
    text-shadow: 0 0 30px var(--accent);
    opacity: 0.8;
    animation: numberPulse 3s ease-in-out infinite;
}

@keyframes numberPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.value-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
    line-height: 1.3;
}

.value-content p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.value-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.value-link:hover {
    gap: var(--space-sm);
    text-shadow: 0 0 10px var(--accent);
}

@media (max-width: 768px) {
    .value-prop {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        padding: var(--space-lg);
    }

    .value-number {
        font-size: 2.5rem;
    }

    .value-content h3 {
        font-size: 1.25rem;
    }

    .value-content p {
        font-size: 1rem;
    }
}

/* OLD CAPABILITIES (keeping for compatibility) */
.capabilities {
    padding: var(--space-2xl) 0;
    background: var(--color-bg-elevated);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.capability-card .tv-card-screen {
    min-height: 280px;
}

.capability-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(129, 140, 248, 0.1));
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.capability-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-accent-light);
}

.capability-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.capability-card p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    line-height: 1.7;
    font-size: 0.95rem;
}

.capability-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.capability-tags li {
    padding: var(--space-xs) var(--space-sm);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--tv-cyan);
}

/* ========================================
   COLOR BARS DIVIDER
   ======================================== */

.color-bars-divider {
    display: flex;
    height: 30px;
}

.color-bars-divider span {
    flex: 1;
}

.color-bars-divider span:nth-child(1) { background: var(--tv-white); }
.color-bars-divider span:nth-child(2) { background: var(--tv-yellow); }
.color-bars-divider span:nth-child(3) { background: var(--tv-cyan); }
.color-bars-divider span:nth-child(4) { background: var(--tv-green); }
.color-bars-divider span:nth-child(5) { background: var(--tv-magenta); }
.color-bars-divider span:nth-child(6) { background: var(--tv-red); }
.color-bars-divider span:nth-child(7) { background: var(--tv-blue); }

/* ========================================
   PROJECTS SECTION
   ======================================== */

.projects {
    padding: var(--space-2xl) 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.project-card.project-featured {
    grid-column: span 2;
}

.project-card .tv-card-screen {
    display: flex;
    gap: var(--space-lg);
}

.project-featured .tv-card-screen {
    flex-direction: row;
    align-items: stretch;
}

.project-card:not(.project-featured) .tv-card-screen {
    flex-direction: column;
}

.project-thumbnail {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e, #0f0f1a);
    border-radius: var(--radius-sm);
    overflow: hidden;
    min-height: 200px;
    flex: 0 0 40%;
}

.project-thumbnail.small {
    min-height: 120px;
    flex: none;
}

.thumbnail-static {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        );
    animation: static-shift 0.1s steps(10) infinite;
}

@keyframes static-shift {
    0% { background-position: 0 0; }
    100% { background-position: 0 100px; }
}

.project-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: 4px 10px;
    background: var(--tv-red);
    font-family: var(--font-retro);
    font-size: 0.9rem;
    color: white;
    border-radius: var(--radius-sm);
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.project-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-category {
    font-family: var(--font-retro);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tv-magenta);
    margin-bottom: var(--space-sm);
}

.project-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.project-card p {
    color: var(--color-text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: auto;
    padding-top: var(--space-md);
}

.project-meta span {
    padding: var(--space-xs) var(--space-sm);
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ========================================
   PROCESS SECTION
   ======================================== */

.process {
    padding: var(--space-2xl) 0;
    background: var(--color-bg-elevated);
}

.process-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.timeline-track {
    position: absolute;
    left: 45px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        180deg,
        var(--tv-cyan) 0%,
        var(--tv-magenta) 50%,
        var(--tv-yellow) 100%
    );
}

.process-step {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.step-marker {
    position: relative;
    z-index: 1;
    width: 90px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.step-time {
    font-family: var(--font-retro);
    font-size: 1.1rem;
    color: var(--tv-green);
    text-shadow: 0 0 10px var(--tv-green);
    background: var(--color-bg-elevated);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
}

.step-content {
    flex: 1;
}

.step-content .tv-card-screen {
    padding: var(--space-lg);
}

.step-number {
    font-family: var(--font-retro);
    font-size: 2.5rem;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.process-step p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    padding: var(--space-2xl) 0;
}

.contact-tv-frame {
    background: var(--tv-bezel);
    border-radius: var(--radius-lg);
    padding: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.emergency-broadcast {
    background: var(--tv-yellow);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-tv) var(--radius-tv) 0 0;
}

.broadcast-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    font-family: var(--font-retro);
    font-size: 1.1rem;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.alert-icon {
    color: var(--tv-red);
    animation: blink 0.5s ease-in-out infinite;
}

.contact-content {
    background: var(--tv-screen-bg);
    padding: var(--space-xl);
    border-radius: 0 0 var(--radius-tv) var(--radius-tv);
    text-align: center;
}

.contact h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.contact p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: var(--space-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.contact-card {
    min-width: 140px;
}

.contact-card .tv-card-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
}

.contact-card svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-accent-light);
}

.contact-card span {
    font-weight: 500;
}

.contact-card:hover svg {
    stroke: var(--tv-cyan);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    gap: var(--space-md);
}

.footer-content > p:last-child {
    width: 100%;
    text-align: center;
    margin-top: var(--space-sm);
}

.footer-signoff {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.signoff-bars {
    display: flex;
    gap: 3px;
}

.signoff-bars span {
    width: 4px;
    height: 20px;
    border-radius: 2px;
}

.signoff-bars span:nth-child(1) { background: var(--tv-cyan); }
.signoff-bars span:nth-child(2) { background: var(--tv-magenta); }
.signoff-bars span:nth-child(3) { background: var(--tv-yellow); }

.footer p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-tagline {
    font-style: italic;
}

.footer-static {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--tv-white) 0px,
        var(--tv-white) 2px,
        transparent 2px,
        transparent 4px
    );
    opacity: 0.1;
    animation: footer-static 0.2s steps(10) infinite;
}

@keyframes footer-static {
    0% { transform: translateX(0); }
    100% { transform: translateX(4px); }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .hero {
        padding: var(--space-xl) var(--space-md);
    }

    .tv-outer {
        padding: 18px 18px 70px 18px;
    }

    .tv-controls {
        bottom: 16px;
        left: 18px;
        right: 18px;
    }

    .tv-dial {
        width: 30px;
        height: 30px;
    }

    .dial-2 {
        width: 24px;
        height: 24px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .about-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-intro {
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

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

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

    .project-featured {
        grid-column: span 1;
    }

    .project-featured .tv-card-screen {
        flex-direction: column;
    }

    .project-thumbnail {
        flex: none;
        min-height: 180px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--color-bg);
        padding: var(--space-lg);
        border-bottom: 1px solid var(--color-border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-desc {
        display: none;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .floating-channels {
        display: none;
    }

    .timeline-track {
        left: 35px;
    }

    .step-marker {
        width: 70px;
    }

    .contact-methods {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        width: 100%;
        max-width: 200px;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .footer-signoff {
        flex-direction: column;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

.tv-content > * {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-badge { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.2s; }
.hero-subtitle { animation-delay: 0.3s; }
.hero-cta { animation-delay: 0.4s; }

/* Scroll animations */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   PROFILE TV FRAME (About Section)
   ======================================== */

.about-visual {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.profile-tv-frame {
    background: var(--tv-bezel);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: var(--shadow-md);
}

.profile-screen {
    position: relative;
    border-radius: var(--radius-tv);
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--tv-screen-bg);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Page Background Imagery */
.page-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.profile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.1) 0%,
        transparent 50%
    );
    pointer-events: none;
}

.profile-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 3px
    );
    pointer-events: none;
}

.profile-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: #111;
    font-family: var(--font-retro);
    font-size: 0.9rem;
    color: var(--color-text);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.label-rec {
    color: var(--tv-red);
    animation: blink 1s ease-in-out infinite;
}

.retro-tv-thumbnail {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.retro-tv-thumbnail img {
    width: 100%;
    height: auto;
}

/* ========================================
   WORK SHOWCASE SECTION
   ======================================== */

.work-showcase {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-elevated);
}

.work-showcase .section-header.centered {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.work-showcase .section-header.centered h2 {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

.showcase-card {
    display: block;
    text-decoration: none;
    position: relative;
}

.showcase-card .tv-card-screen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    padding: var(--space-xl) var(--space-2xl);
    transition: box-shadow var(--transition-base);
}

/* Accent color glow on hover */
.showcase-card[data-accent="cyan"]:hover .tv-card-screen {
    box-shadow: inset 0 0 100px rgba(0, 255, 255, 0.08);
}

.showcase-card[data-accent="magenta"]:hover .tv-card-screen {
    box-shadow: inset 0 0 100px rgba(255, 0, 255, 0.08);
}

.showcase-card[data-accent="yellow"]:hover .tv-card-screen {
    box-shadow: inset 0 0 100px rgba(255, 255, 0, 0.08);
}

.showcase-card[data-accent="green"]:hover .tv-card-screen {
    box-shadow: inset 0 0 100px rgba(0, 255, 128, 0.08);
}

/* Accent color for channel labels */
.showcase-card[data-accent="cyan"] .showcase-channel {
    color: var(--tv-cyan);
    text-shadow: 0 0 15px var(--tv-cyan);
}

.showcase-card[data-accent="magenta"] .showcase-channel {
    color: var(--tv-magenta);
    text-shadow: 0 0 15px var(--tv-magenta);
}

.showcase-card[data-accent="yellow"] .showcase-channel {
    color: var(--tv-yellow);
    text-shadow: 0 0 15px var(--tv-yellow);
}

.showcase-card[data-accent="green"] .showcase-channel {
    color: var(--tv-green);
    text-shadow: 0 0 15px var(--tv-green);
}

.showcase-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.showcase-card:hover .showcase-image img {
    transform: scale(1.05);
}

/* Design card uses contain to show full banner images */
.showcase-card[data-accent="green"] .showcase-image {
    background: linear-gradient(135deg, #0a0a12 0%, #1a1a2e 100%);
}

.showcase-card[data-accent="green"] .showcase-image img {
    object-fit: contain;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        transparent 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    pointer-events: none;
}

.showcase-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.showcase-channel {
    font-family: var(--font-retro);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-xs);
}

/* Prominent headline styling */
.showcase-headline {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: linear-gradient(135deg, var(--color-text) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-normal);
}

.headline-icon {
    font-size: 0.7em;
    -webkit-text-fill-color: var(--tv-cyan);
    opacity: 0.8;
    transition: all var(--transition-normal);
}

.showcase-card[data-accent="cyan"] .headline-icon {
    -webkit-text-fill-color: var(--tv-cyan);
}

.showcase-card[data-accent="magenta"] .headline-icon {
    -webkit-text-fill-color: var(--tv-magenta);
}

.showcase-card[data-accent="yellow"] .headline-icon {
    -webkit-text-fill-color: var(--tv-yellow);
}

.showcase-card[data-accent="green"] .headline-icon {
    -webkit-text-fill-color: var(--tv-green);
}

.showcase-card:hover .headline-icon {
    opacity: 1;
    transform: scale(1.1);
}

.showcase-card[data-accent="cyan"]:hover .showcase-headline {
    background: linear-gradient(135deg, var(--tv-cyan) 0%, var(--color-text) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.showcase-card[data-accent="magenta"]:hover .showcase-headline {
    background: linear-gradient(135deg, var(--tv-magenta) 0%, var(--color-text) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.showcase-card[data-accent="yellow"]:hover .showcase-headline {
    background: linear-gradient(135deg, var(--tv-yellow) 0%, var(--color-text) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.showcase-card[data-accent="green"]:hover .showcase-headline {
    background: linear-gradient(135deg, var(--tv-green) 0%, var(--color-text) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Image slideshow */
.showcase-slideshow {
    position: relative;
}

.showcase-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.showcase-slideshow .slide.active {
    opacity: 1;
    position: relative;
}

/* Tagline styling */
.showcase-tagline {
    font-family: var(--font-retro);
    font-size: 1.1rem;
    color: var(--color-accent-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
    opacity: 0.9;
}

/* Description styling */
.showcase-desc {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.showcase-cta {
    margin-top: auto;
    font-family: var(--font-retro);
    font-size: 1.1rem;
    color: var(--color-accent-light);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.showcase-card:hover .showcase-cta {
    letter-spacing: 0.1em;
}

.showcase-card[data-accent="cyan"]:hover .showcase-cta {
    color: var(--tv-cyan);
    text-shadow: 0 0 20px var(--tv-cyan);
}

.showcase-card[data-accent="magenta"]:hover .showcase-cta {
    color: var(--tv-magenta);
    text-shadow: 0 0 20px var(--tv-magenta);
}

.showcase-card[data-accent="yellow"]:hover .showcase-cta {
    color: var(--tv-yellow);
    text-shadow: 0 0 20px var(--tv-yellow);
}

.showcase-card[data-accent="green"]:hover .showcase-cta {
    color: var(--tv-green);
    text-shadow: 0 0 20px var(--tv-green);
}

/* ========================================
   GALLERY STRIP
   ======================================== */

.gallery-strip {
    overflow: hidden;
    padding: var(--space-lg) 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.gallery-scroll {
    display: flex;
    gap: var(--space-md);
    animation: scroll 30s linear infinite;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.gallery-item {
    flex-shrink: 0;
    width: 300px;
    height: 180px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.05) 0px,
        rgba(0, 0, 0, 0.05) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
}

/* ========================================
   PAGE HERO (Subpages)
   ======================================== */

.page-hero {
    padding: calc(var(--space-2xl) + 60px) 0 var(--space-xl);
    background: var(--color-bg);
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.page-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.page-hero-content {
    max-width: 100%;
}

/* Supersized Hero Text */
.page-hero.text-hero .page-title {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-muted) 50%, var(--color-text) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 4s ease-in-out infinite;
    margin-bottom: var(--space-lg);
}

@keyframes shimmerText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.page-hero.text-hero .page-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Glowing accent for hero titles */
.page-hero.text-hero .page-title .glow {
    display: block;
    background: linear-gradient(135deg, var(--tv-cyan) 0%, var(--tv-magenta) 50%, var(--color-accent-light) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerGlow 3s ease-in-out infinite;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.3));
}

@keyframes shimmerGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.glow-white {
    background: none;
    -webkit-text-fill-color: var(--color-text);
    animation: none;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.2));
}

.rainbow-text {
    background: linear-gradient(
        90deg,
        #ff0000, #ff8800, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbowShift 4s linear infinite;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.15));
}

@keyframes rainbowShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.broadcast-bug {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    font-family: var(--font-retro);
}

.bug-live {
    padding: 4px 10px;
    background: var(--tv-red);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    animation: blink 1s ease-in-out infinite;
}

.bug-channel {
    padding: 4px 10px;
    background: var(--tv-bezel);
    color: var(--tv-cyan);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    text-shadow: 0 0 8px var(--tv-cyan);
}

.page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
}

.page-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.page-hero-visual {
    display: flex;
    justify-content: center;
}

.tv-monitor {
    background: var(--tv-bezel);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    max-width: 450px;
}

.tv-monitor.large {
    max-width: 500px;
}

.monitor-screen {
    position: relative;
    border-radius: var(--radius-tv);
    overflow: hidden;
    background: var(--tv-screen-bg);
}

.monitor-screen img {
    width: 100%;
    height: auto;
    display: block;
}

.monitor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.timecode {
    position: absolute;
    bottom: var(--space-sm);
    right: var(--space-sm);
    font-family: var(--font-retro);
    font-size: 0.85rem;
    color: var(--tv-red);
    text-shadow: 0 0 8px var(--tv-red);
    background: rgba(0, 0, 0, 0.6);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.color-bars-divider.thin {
    height: 15px;
}

/* ========================================
   CONTENT GRID SECTION
   ======================================== */

.content-grid-section {
    padding: var(--space-2xl) 0;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin-top: var(--space-sm);
}

/* Articles Grid (Words Page) */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.article-card .tv-card-screen {
    display: flex;
    flex-direction: column;
}

.article-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.image-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15) 0px,
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 1;
    opacity: 0.7;
    mix-blend-mode: multiply;
}

.article-number {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    font-family: var(--font-retro);
    font-size: 1.5rem;
    color: var(--tv-green);
    text-shadow: 0 0 10px var(--tv-green);
    background: rgba(0, 0, 0, 0.6);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.article-content p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
}

.article-cta {
    font-family: var(--font-retro);
    font-size: 0.95rem;
    color: var(--color-accent-light);
}

.article-card:hover .article-cta {
    color: var(--tv-cyan);
}

/* Production Grid */
.production-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.production-card.featured {
    grid-column: span 2;
}

.production-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.production-card:hover {
    transform: translateY(-4px);
}

.production-card .tv-card-screen {
    padding: var(--space-xl);
    background: linear-gradient(
        135deg,
        rgba(30, 30, 40, 0.95) 0%,
        rgba(20, 20, 28, 0.98) 100%
    );
}

.production-card.featured .tv-card-screen {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    padding: var(--space-2xl);
}

.production-card:not(.featured) .tv-card-screen {
    display: flex;
    flex-direction: column;
}

.production-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.production-card.featured .production-image {
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
}

.production-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        transparent 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    pointer-events: none;
    border-radius: inherit;
}

.production-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.production-card:hover .production-image img {
    transform: scale(1.08);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.85);
    border: 3px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--color-text);
    opacity: 0;
    transition: all var(--transition-fast);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 0 4px rgba(255, 255, 255, 0.1);
    z-index: 2;
}

.production-card:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.production-content {
    padding-top: var(--space-lg);
}

.production-card.featured .production-content {
    padding-top: 0;
    padding-right: var(--space-md);
}

.production-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tv-red);
    text-shadow: 0 0 12px var(--tv-red);
    margin-bottom: var(--space-md);
    padding: 6px 12px;
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.25);
    border-radius: var(--radius-sm);
}

.production-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.production-card.featured .production-content h3 {
    font-size: 2.25rem;
}

.production-content p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.production-card.featured .production-content p {
    font-size: 1.1rem;
}

/* Design Grid */
.design-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.design-card .tv-card-screen {
    padding: var(--space-sm);
}

.design-image {
    aspect-ratio: 16/10;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.design-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #0f0f1a);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.design-title {
    font-family: var(--font-retro);
    font-size: 1rem;
    color: var(--color-text);
    text-align: center;
    padding: var(--space-sm);
    position: relative;
    z-index: 1;
}

.design-static {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.02) 2px,
        rgba(255, 255, 255, 0.02) 4px
    );
    animation: static-shift 0.1s steps(10) infinite;
}

/* Disclaimer Section */
.disclaimer-section {
    padding: var(--space-xl) 0;
}

.disclaimer-card .tv-card-screen {
    padding: var(--space-lg);
    text-align: center;
}

.disclaimer-text {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
}

/* Footer Links */
.footer-links {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent-light);
}

/* ========================================
   RESPONSIVE - SUBPAGES
   ======================================== */

@media (max-width: 1024px) {
    .page-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-hero-content {
        max-width: 100%;
    }

    .page-hero-visual {
        order: -1;
    }

    .tv-monitor {
        max-width: 400px;
    }

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

    .showcase-card .tv-card-screen {
        grid-template-columns: 1fr;
    }

    .showcase-headline {
        font-size: 2.2rem;
    }

    .showcase-tagline {
        font-size: 1rem;
    }

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

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

    .production-card.featured {
        grid-column: span 1;
    }

    .production-card.featured .tv-card-screen {
        grid-template-columns: 1fr;
    }

    .design-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }

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

    .gallery-scroll {
        animation-duration: 20s;
    }

    .gallery-item {
        width: 250px;
        height: 150px;
    }

    .footer-links {
        justify-content: center;
    }

    /* Featured Work mobile adjustments */
    .work-showcase .section-header.centered h2 {
        font-size: 2rem;
    }

    .showcase-headline {
        font-size: 1.8rem;
    }

    .showcase-tagline {
        font-size: 0.9rem;
    }

    .showcase-desc {
        font-size: 0.95rem;
    }

    .showcase-card .tv-card-screen {
        padding: var(--space-lg);
        gap: var(--space-lg);
    }
}

/* ========================================
   REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    .scanlines,
    .noise,
    .thumbnail-static,
    .footer-static,
    .design-static {
        animation: none;
    }

    .rec-dot,
    .broadcast-icon,
    .alert-icon,
    .project-badge,
    .bug-live,
    .label-rec {
        animation: none;
    }

    .channel-card {
        animation: none;
    }

    .gallery-scroll {
        animation: none;
    }

    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* ========================================
   ARTICLE PAGE STYLES
   ======================================== */

.article-page {
    padding-top: 80px;
}

.article-header {
    padding: var(--space-xl) 0;
    background: var(--color-bg);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: var(--color-accent-light);
}

.article-hero-content {
    max-width: 700px;
}

.article-category {
    font-family: var(--font-retro);
    font-size: 0.9rem;
    color: var(--tv-cyan);
    text-shadow: 0 0 10px var(--tv-cyan);
    display: block;
    margin-bottom: var(--space-sm);
}

.article-page h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.article-meta {
    font-size: 1rem;
    color: var(--color-text-muted);
}

.article-body {
    padding: var(--space-xl) 0;
}

.article-content-wrapper {
    max-width: 900px;
}

.article-text {
    margin-bottom: var(--space-xl);
}

.article-text .lead {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
}

.article-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.article-text strong {
    color: var(--color-text);
}

.article-text em {
    color: var(--color-text);
}

/* Video Embeds */
.video-embed {
    margin-bottom: var(--space-lg);
}

.video-embed .tv-card-screen {
    padding: var(--space-md);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1a1a2e, #0f0f1a);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-lg);
}

/* Image Gallery */
.image-gallery {
    margin-top: var(--space-lg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-md);
}

.gallery-image .tv-card-screen {
    padding: var(--space-sm);
}

.gallery-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* ========================================
   VIDEO MODAL
   ======================================== */

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 1000px;
    transform: scale(0.9);
    transition: transform var(--transition-base);
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-frame {
    background: var(--tv-bezel);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-modal-screen {
    background: var(--tv-screen-bg);
    border-radius: var(--radius-tv);
    overflow: hidden;
    position: relative;
}

.video-modal-screen .video-container {
    padding-bottom: 56.25%;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: var(--tv-bezel);
    border: none;
    border-radius: 50%;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.video-modal-close:hover {
    background: var(--color-accent);
    transform: scale(1.1);
}

.video-modal-title {
    text-align: center;
    padding: var(--space-md);
    font-family: var(--font-retro);
    font-size: 1.2rem;
    color: var(--tv-green);
    text-shadow: 0 0 10px var(--tv-green);
}

/* Production cards as clickable */
.production-card[data-video] {
    cursor: pointer;
}

/* ========================================
   ABOUT PAGE STYLES
   ======================================== */

.about-content-section {
    padding: var(--space-xl) 0;
}

.about-qa-grid {
    display: grid;
    gap: var(--space-lg);
    max-width: 800px;
}

.about-intro-block {
    margin-bottom: var(--space-lg);
}

.about-intro-block .lead {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--color-text);
}

.about-qa-item .tv-card-screen {
    padding: var(--space-lg);
}

.about-qa-item h3 {
    font-size: 1rem;
    color: var(--tv-cyan);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
    font-family: var(--font-retro);
}

.about-qa-item p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

.about-qa-item em {
    color: var(--color-text);
    font-style: italic;
}

/* ========================================
   AI PAGE STYLES
   ======================================== */

.coming-soon-section {
    padding: var(--space-xxl) 0;
}

.coming-soon-card {
    max-width: 600px;
    margin: 0 auto;
}

.coming-soon-card .tv-card-screen {
    padding: var(--space-xl);
}

.test-pattern {
    text-align: center;
}

.test-bars {
    display: flex;
    height: 40px;
    margin-bottom: var(--space-lg);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.test-bars span {
    flex: 1;
}

.test-bars span:nth-child(1) { background: #fff; }
.test-bars span:nth-child(2) { background: #ffff00; }
.test-bars span:nth-child(3) { background: #00ffff; }
.test-bars span:nth-child(4) { background: #00ff00; }
.test-bars span:nth-child(5) { background: #ff00ff; }
.test-bars span:nth-child(6) { background: #ff0000; }
.test-bars span:nth-child(7) { background: #0000ff; }

.test-message {
    font-family: var(--font-retro);
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.test-submessage {
    color: var(--color-text-muted);
    font-size: 1rem;
}

.coming-soon-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    background: linear-gradient(135deg, #1a1a2e, #0f0f1a);
    position: relative;
}

.coming-soon-text {
    font-family: var(--font-retro);
    font-size: 1.5rem;
    color: var(--tv-green);
    text-shadow: 0 0 20px var(--tv-green);
    animation: textBlink 2s ease-in-out infinite;
}

@keyframes textBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.static-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.1'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.3;
}

/* ========================================
   DESIGN PAGE IMAGE STYLES
   ======================================== */

.design-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.design-card .tv-card-screen {
    padding: var(--space-sm);
}

.design-card .design-image {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.design-card .design-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-base);
}

.design-card:hover .design-image img {
    transform: scale(1.02);
}

.design-card .image-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    pointer-events: none;
}

/* ========================================
   AI PAGE STYLES
   ======================================== */

.ai-hero .page-hero-content {
    max-width: 800px;
}

.ai-intro-section {
    padding: var(--space-xl) 0;
}

.ai-intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.ai-intro-content .lead {
    font-size: 1.35rem;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.ai-intro-content p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.ai-intro-content p em {
    color: var(--color-accent-light);
    font-style: italic;
}

.ai-tools-section {
    padding: var(--space-xl) 0 var(--space-2xl);
}

.ai-tool-block {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-border);
}

.ai-tool-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.ai-tool-header {
    margin-bottom: var(--space-lg);
}

.ai-tool-header h3 {
    font-family: var(--font-retro);
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tool-tagline {
    font-size: 1.2rem;
    color: var(--color-accent-light);
    font-style: italic;
}

.ai-tool-content {
    display: grid;
    gap: var(--space-xl);
}

.tool-description {
    max-width: 800px;
}

.tool-description p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.tool-description p:last-child {
    margin-bottom: 0;
}

.tool-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.stat-item .tv-card-screen {
    padding: var(--space-lg);
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-retro);
    font-size: 3rem;
    color: var(--color-accent-light);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.tool-screenshots {
    margin-top: var(--space-lg);
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.screenshot-item .tv-card-screen {
    padding: var(--space-sm);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-sm);
}

@media (max-width: 768px) {
    .ai-intro-content .lead {
        font-size: 1.2rem;
    }

    .ai-intro-content p,
    .tool-description p {
        font-size: 1rem;
    }

    .ai-tool-header h3 {
        font-size: 2rem;
    }

    .tool-tagline {
        font-size: 1.05rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

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

/* ========================================
   REDUCED MOTION - ACCESSIBILITY
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
