/**
 * Massimo Vendola Portfolio
 * Design System
 */

/* CSS Custom Properties */
:root {
    --bg-primary: #141311;
    --bg-surface: rgba(26, 26, 24, 0.7);
    --bg-card: rgba(34, 34, 32, 0.6);
    --glass-bg: rgba(34, 34, 32, 0.4);
    --glass-border: rgba(250, 242, 233, 0.08);
    --glass-blur: blur(20px);
    --text-primary: #faf2e9;
    --text-secondary: #b8b0a8;
    --text-muted: #888480;
    --accent: #a0a0a0;
    --accent-hover: #c0c0c0;
    --border: rgba(250, 242, 233, 0.1);
    --border-hover: rgba(250, 242, 233, 0.2);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --container-max: 1200px;
    --container-padding: clamp(1.5rem, 5vw, 3rem);
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(20, 19, 17, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: #faf2e9;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo-text {
    background: #faf2e9;
    color: var(--bg-primary);
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1;
}

.nav-logo:hover { color: var(--accent); }
.nav-logo:hover .nav-logo-text { background: var(--accent); }

.nav-logo-img {
    height: 60px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition-base);
}

.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-toggle {
    display: none;
    width: 2rem;
    height: 2rem;
    position: relative;
    z-index: 1001;
}

.hamburger, .hamburger::before, .hamburger::after {
    display: block;
    width: 1.5rem;
    height: 2px;
    background: var(--text-primary);
    position: absolute;
    transition: var(--transition-fast);
}

.hamburger {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hamburger::before, .hamburger::after { content: ''; left: 0; }
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

.nav-toggle.active .hamburger { background: transparent; }
.nav-toggle.active .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle.active .hamburger::after { top: 0; transform: rotate(-45deg); }

/* Particle Canvas */
.particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}

/* 3D Render Background - Hero only */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('assets/i-hope-you-render.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: calc(var(--space-3xl) + 80px) var(--container-padding) 180px;
    overflow: visible;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-primary) 80%);
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding-bottom: var(--space-xl);
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1.2;
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
    color: var(--text-primary);
    padding: 0 var(--space-md);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    font-weight: 600;
    color: var(--text-primary);
    max-width: 650px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.6;
    padding: 0 var(--space-lg);
}

.hero-bio {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.9;
    padding: 0 var(--space-md);
    padding: 0 var(--space-sm);
}

.hero-bio p { margin-bottom: var(--space-md); }
.hero-bio p:last-child { margin-bottom: 0; }

.hero-ctas {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition-base);
    min-width: 160px;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    border-color: var(--border-hover);
    background: rgba(250, 242, 233, 0.05);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    opacity: 0.7;
    animation: bounce 2s infinite;
    z-index: 10;
    pointer-events: none;
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-secondary), transparent);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Page Header */
.page-header {
    padding: calc(var(--space-4xl) + 80px) 0 var(--space-2xl);
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.page-subtitle, .page-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    padding: 0 var(--space-sm);
}

/* Clients Section */
.clients-section {
    padding: var(--space-4xl) 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.clients-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-xl);
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Clients Marquee */
.clients-marquee {
    overflow: hidden;
    width: 100%;
    padding: var(--space-lg) 0;
    position: relative;
}

.clients-marquee::before,
.clients-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.clients-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

.marquee-track {
    display: flex;
    gap: var(--space-xl);
    width: fit-content;
    will-change: transform;
}

.marquee-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 180px;
    height: 120px;
    transition: var(--transition-base);
    cursor: pointer;
}

.marquee-item:hover {
    transform: translateY(-4px);
}

.marquee-logo {
    width: 140px;
    height: 100px;
    object-fit: contain;
    opacity: 0.85;
    transition: var(--transition-base);
}

.marquee-item:hover .marquee-logo {
    opacity: 1;
    filter: blur(4px);
}

.marquee-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0;
    transition: var(--transition-base);
    z-index: 10;
    text-align: center;
    padding: var(--space-sm) var(--space-md);
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
}

.marquee-item:hover .marquee-name {
    opacity: 1;
    color: var(--accent);
}

.client-logo {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.client-logo:hover {
    border-color: var(--accent);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.client-logo img, .client-logo svg {
    height: 20px;
    width: auto;
    max-width: 80px;
}

/* About Section */
.about-section {
    padding: var(--space-4xl) 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.about-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-primary);
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
}

.about-content {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-image {
    flex: 0 0 420px;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .about-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 420px;
    }
}

/* Contact Section */
.contact-section {
    padding: var(--space-2xl) 0 var(--space-3xl);
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
}

.contact-location {
    font-size: 1rem;
    color: var(--text-secondary);
}

.contact-social {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-social a {
    color: var(--accent);
    transition: var(--transition-fast);
}

.contact-social a:hover { color: var(--accent-hover); }

/* ============================================
   CAROUSEL STYLES
   ============================================ */
.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto var(--space-xl);
}

.carousel {
    display: flex;
    overflow: hidden;
    border-radius: 12px;
    background: var(--bg-card);
    width: 100%;
    position: relative;
}

.carousel-container[data-carousel="video"] {
    max-width: 900px;
}

.carousel-container[data-carousel="video"] .carousel {
    height: 500px;
}

.carousel-track {
    display: flex;
    transition: transform 0.25s ease;
    height: 100%;
    width: 100%;
}

.carousel-slide {
    flex: 1 0 100%;
    min-width: 100%;
    width: 100%;
    height: 100%;
    padding: 0;
    flex-shrink: 0;
}

.carousel-slide .video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bg-surface);
    overflow: hidden;
}

.carousel-slide .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

/* Video Grid Layout */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.video-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
}

.video-card .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

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

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}

.carousel-btn.prev { left: -24px; }
.carousel-btn.next { right: -24px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-md);
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
}

.carousel-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* Reels Carousel */
.reels-carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto var(--space-xl);
    padding: 0 30px;
}

.reels-carousel {
    display: flex;
    overflow: hidden;
    gap: var(--space-lg);
    width: 100%;
}

.reels-track {
    display: flex;
    gap: var(--space-lg);
    transition: transform 0.25s ease;
    position: relative;
}

.reel-slide {
    min-width: calc(33.333% - 1rem);
    flex-shrink: 0;
    padding: 0;  /* Ensure no extra padding */
}

.instagram-wrapper {
    width: 100%;
    max-width: 100%;
}

.reel-slide .instagram-wrapper {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    min-height: 580px;
}

.reel-slide blockquote {
    margin: 0 !important;
    width: 100% !important;
}

.reels-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    pointer-events: auto;
}

.reels-carousel-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}

.reels-carousel-btn.prev { left: 0; }
.reels-carousel-btn.next { right: 0; }

/* ============================================
   SECTION TITLES FOR CAROUSELS
   ============================================ */
.carousel-section {
    margin-bottom: var(--space-2xl);
}

.carousel-section-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    text-align: center;
}

/* ============================================
   EXHIBITED WORK
   ============================================ */
.exhibited-section {
    padding: 0 0 var(--space-xl);
    text-align: center;
}

.exhibited-text {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.vertical-video-placeholder {
    max-width: 400px;
    margin: 0 auto var(--space-xl);
}

.vertical-video-wrapper {
    position: relative;
    padding-bottom: 177.78%;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

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

/* ============================================
   METRICS SECTION
   ============================================ */
.metrics-section {
    padding: var(--space-2xl) 0 var(--space-lg);
    text-align: center;
    position: relative;
    z-index: 1;
}

.metrics-grid {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.metric-number {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--accent);
    line-height: 1;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.metrics-copy {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .metrics-grid {
        gap: var(--space-lg);
    }
    
    .metric-item {
        min-width: 120px;
    }
}

/* ============================================
   BRANDED CONTENT - BRAND SECTIONS
   ============================================ */
.brands-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

.brand-section {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-base);
    padding: var(--space-xl);
}

.brand-section:hover {
    border-color: var(--border-hover);
    background: rgba(34, 34, 32, 0.5);
}

.brand-header {
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.brand-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.brand-logo-placeholder {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.lookingglass-logo {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
    color: #fff;
}

.brand-header-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    color: var(--text-primary);
    margin-bottom: 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.brand-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0;
}

.brand-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.brand-copy {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 0;
}

.brand-embed-wrapper {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.brand-embed-wrapper iframe {
    margin-top: -50px !important;
}

/* Brand Content Row Layout - Text Left, Videos Right */
.brand-content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.brand-text-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.brand-text-col .brand-header {
    margin-bottom: var(--space-sm);
}

.brand-videos-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.brand-videos-col.single {
    align-items: center;
    justify-content: center;
}

.brand-videos-col.single .instagram-card.vertical {
    max-width: 280px;
    aspect-ratio: 9/16;
}

.videos-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    align-items: stretch;
}

.videos-row.two-cols {
    grid-template-columns: repeat(2, 1fr);
}

.videos-row .video-card,
.videos-row.two-cols .video-card {
    height: 400px;
    max-height: 400px;
    min-height: 400px;
}

.videos-row.stacked-reels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.videos-row.stacked-reels .video-card {
    height: 400px;
    max-height: 400px;
    min-height: 400px;
}

.brand-videos-col.stacked {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.youtube-card-large {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
}

.youtube-card-large iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.youtube-card-below {
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 220px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    margin-top: var(--space-md);
}

.youtube-card-below iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

/* Instagram Reels - Vertical 9:16 with fixed height */
.video-card.instagram-card {
    aspect-ratio: 9/16;
    height: 400px;
    max-height: 400px;
    min-height: 400px;
}

.video-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.video-card iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* TikTok embeds - let aspect-ratio control height, no fixed height */
.video-card.tiktok-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 325px;
    margin: 0 auto;
    aspect-ratio: 9 / 16;
    height: auto;
    max-height: none;
    min-height: 0;
}

.video-card.tiktok-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    scrolling: no;
}

/* Override .videos-row fixed height for tiktok cards */
.videos-row .video-card.tiktok-card,
.videos-row.two-cols .video-card.tiktok-card {
    height: auto;
    max-height: none;
    min-height: 0;
}

/* TikTok specific responsive - stack to 1 column on smaller screens */
@media (max-width: 700px) {
    .videos-row.tiktok-row {
        grid-template-columns: 1fr;
    }
    
    .video-card.tiktok-card {
        max-width: 325px;
        margin: 0 auto;
    }
}

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

.video-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumb-img {
    transform: scale(1.05);
}

.video-card .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.video-card:hover .play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.video-card .play-overlay svg {
    width: 48px;
    height: 48px;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px;
    transition: transform 0.2s ease;
}

.video-card:hover .play-overlay svg {
    transform: scale(1.1);
}

.platform-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-primary);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
}

.facebook-card {
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

.facebook-card iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.youtube-card-large {
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 220px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

.youtube-card-large iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.videos-row.small {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.videos-row.small .video-card {
    max-height: 380px;
}

@media (max-width: 900px) {
    .brand-content-row {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .videos-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .videos-row.two-cols {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .videos-row .video-card,
    .videos-row.two-cols .video-card {
        height: 350px;
        max-height: 350px;
        min-height: 350px;
    }
    
    .brand-videos-col.single .instagram-card.vertical {
        max-width: 240px;
    }
}

@media (max-width: 600px) {
    .brand-content-row {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .videos-row,
    .videos-row.two-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
    
    .videos-row .video-card,
    .videos-row.two-cols .video-card {
        height: 280px;
        max-height: 280px;
        min-height: 280px;
    }
    
    .brand-videos-col.single {
        width: 100%;
    }
    
    .brand-videos-col.single .instagram-card.vertical {
        max-width: 200px;
        margin: 0 auto;
    }
    
    .brand-text-col {
        gap: var(--space-sm);
    }
    
    .brand-copy {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Clean video card embed */
.video-card-link {
    display: block;
    width: auto;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.video-preview-card {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    border: none;
    width: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.video-preview-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    aspect-ratio: 9/16;
    height: 100%;
    width: auto;
    max-height: 500px;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card-link:hover .video-thumbnail {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.video-card-link:hover .play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.play-overlay svg {
    width: 72px;
    height: 72px;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 16px;
    transition: transform 0.2s ease;
}

.video-card-link:hover .play-overlay svg {
    transform: scale(1.1);
}

.video-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    background: rgba(34, 34, 32, 0.6);
    border-top: 1px solid var(--glass-border);
}

.video-author {
    font-weight: 600;
    color: var(--text-primary);
}

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

.brand-embed-placeholder {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.brand-embed-wrapper blockquote {
    margin: 0 auto !important;
    width: 100% !important;
    min-width: 100% !important;
}

.brand-embed-wrapper iframe {
    width: 100% !important;
    min-width: 100% !important;
}

/* Kilo AI embed specific sizing */
.kilo-embed {
    height: 400px;
    min-height: 400px;
    padding: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
}

.custom-embed {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 400px;
    text-decoration: none;
    color: inherit;
}

.custom-embed-thumbnail {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-surface);
}

.embed-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.custom-embed:hover .embed-thumb {
    opacity: 0.6;
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
}

.video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.preview-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.preview-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.play-icon {
    width: 64px;
    height: 64px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 12px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.custom-embed:hover .play-icon {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.7);
}

.custom-embed-caption {
    padding: var(--space-md);
    text-align: center;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

.custom-embed-caption p {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.custom-embed-caption span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Exhibited Work Two-Column overrides */
.exhibited-section {
    padding-bottom: var(--space-xl);
}

.exhibited-section .brand-content-row {
    text-align: left;
    align-items: center;
    padding: var(--space-xl) 0;
}

.exhibited-text-col {
    justify-content: center;
    gap: var(--space-xl);
}

.exhibited-page-text {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.exhibited-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.exhibited-list li {
    font-size: clamp(1rem, 1.6vw, 1.1rem);
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

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

/* Exhibited Work Video */
.exhibited-video-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    aspect-ratio: 9 / 16;
    max-width: 340px;
    margin: 0 auto;
}

.exhibited-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Brand Image Styles */
.brand-image-wrapper {
    background: var(--bg-surface);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    min-height: 300px;
}

.brand-image {
    max-width: 100%;
    max-height: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .brand-section {
        padding: var(--space-lg);
    }
    
    .brand-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .brand-copy {
        font-size: 1rem;
    }
    
    .brand-embed-wrapper {
        min-height: 250px;
    }
    
    .brand-image-wrapper {
        min-height: 250px;
        padding: var(--space-md);
    }
    
    .brand-image {
        max-height: 220px;
    }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    text-align: center;
    padding: var(--space-xl) 0;
}

.link-button {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--accent);
    padding: var(--space-sm) var(--space-lg);
    border: 1px solid var(--accent);
    border-radius: 4px;
    transition: var(--transition-base);
}

.link-button:hover {
    background: var(--accent);
    color: var(--bg-primary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-surface);
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

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

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

.footer-social a {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent);
    transition: var(--transition-fast);
}

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

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
    .reel-slide {
        min-width: calc(50% - 0.75rem);
    }
    
    .carousel-btn.prev, .carousel-btn.next {
        left: 10px;
        right: auto;
    }
    
    .carousel-btn.next {
        right: 10px;
        left: auto;
    }
    
    .reels-carousel-btn.prev, .reels-carousel-btn.next {
        left: 10px;
        right: auto;
    }
    
    .reels-carousel-btn.next {
        right: 10px;
        left: auto;
    }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(20, 19, 17, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-xl);
        transition: right 0.3s ease;
        list-style: none;
        padding: 0;
    }
    
    .nav-menu.active { right: 0; }
    
    .nav-link {
        font-size: 1.5rem;
        color: var(--text-primary);
    }
    
    .hero {
        padding-top: calc(var(--space-3xl) + 40px);
    }
    
    .hero-title, .hero-subtitle, .hero-bio {
        padding: 0 var(--space-xs);
    }
    
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .reel-slide {
        min-width: 100%;
    }
    
    .carousel-btn, .reels-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .brand-header {
        padding: var(--space-md);
    }
    
    .brand-content {
        padding: var(--space-md);
    }
    
    .page-header {
        padding: calc(var(--space-3xl) + 60px) 0 var(--space-xl);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .clients-grid {
        gap: var(--space-sm);
    }
    
    .client-logo {
        font-size: 0.8rem;
        padding: var(--space-xs) var(--space-sm);
    }
}

@media (max-width: 480px) {
    .carousel-section-title {
        font-size: 1.1rem;
    }
    
    .brand-name {
        font-size: 1.1rem;
    }
    
    .brand-logo-icon {
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
    }
}

/* ============================================
   PAGE LAYOUT FIXES - Documentaries & Digital Art
   ============================================ */

/* Main page wrapper */
.page-main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding-bottom: var(--space-2xl);
}

/* Page Header Container - Fixed layout */
.page-header-container {
    padding: calc(var(--space-4xl) + 80px) 0 var(--space-2xl);
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-header-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    text-align: center;
}

.page-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    padding: 0 var(--space-sm);
    text-align: center;
}

/* Carousel Section Wrapper */
.carousel-section-wrapper {
    padding: var(--space-xl) 0;
    position: relative;
    z-index: 1;
}

.carousel-section-wrapper.reels-section {
    padding-top: var(--space-2xl);
}

/* Ensure carousel section titles are visible */
.carousel-section-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: var(--space-xl);
    text-align: center;
}



/* CTA Section Spacing */
.cta-section {
    text-align: center;
    padding: var(--space-2xl) 0 var(--space-xl);
}

@media (max-width: 768px) {
    .page-header-container {
        padding: calc(var(--space-3xl) + 60px) 0 var(--space-xl);
    }
    
    .page-subtitle {
        padding: 0 var(--space-md);
    }
    
    .carousel-section-wrapper {
        padding: var(--space-lg) 0;
    }
    
    .carousel-section-wrapper.reels-section {
        padding-top: var(--space-xl);
    }
}

@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;
    }
    
    .scroll-indicator { animation: none; }
    .reveal { opacity: 1; transform: none; }
}

/* ============================================
   DOCUMENTARY PAGE SPECIFIC STYLES
   ============================================ */

/* Documentary Header - Centered layout */
.documentary-header {
    padding: calc(var(--space-4xl) + 100px) 0 var(--space-2xl);
    text-align: center;
    position: relative;
    z-index: 1;
}

.documentary-header-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.documentary-header .page-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: -0.02em;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 0;
}

.documentary-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
    padding: 0 var(--space-md);
}

/* Documentary Carousel Section */
.documentary-carousel-section {
    padding: var(--space-xl) 0 var(--space-3xl);
    position: relative;
    z-index: 1;
}

.documentary-carousel-section .carousel-container {
    max-width: 1000px;
    margin: 0 auto var(--space-2xl);
}

/* Documentary CTA */
.documentary-cta {
    text-align: center;
    padding: var(--space-xl) 0;
}

/* Responsive adjustments for documentaries */
@media (max-width: 768px) {
    .documentary-header {
        padding: calc(var(--space-3xl) + 80px) 0 var(--space-xl);
    }
    
    .documentary-header .page-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .documentary-subtitle {
        font-size: clamp(1rem, 4vw, 1.25rem);
        padding: 0 var(--space-sm);
    }
    
    .documentary-carousel-section {
        padding: var(--space-lg) 0 var(--space-2xl);
    }
    
    .documentary-cta {
        padding: var(--space-lg) 0;
    }
}

/* Documentary featured project two-column layout */
.doc-featured {
    padding: var(--space-xl) 0 var(--space-2xl);
    align-items: center;
}

.doc-project-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-md);
    letter-spacing: -0.02em;
}

.doc-project-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: var(--space-lg);
}

.doc-project-meta p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.doc-meta-label {
    color: var(--text-primary);
    font-weight: 600;
}

.doc-featured-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
}

.doc-featured-video iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Additional ATH work section */
.doc-additional {
    padding-top: var(--space-2xl);
}

.doc-additional-title {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-xl);
    letter-spacing: -0.01em;
}

/* 3-column grid for additional docs */
.doc-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
    .doc-grid {
        grid-template-columns: 1fr;
    }
    .doc-featured {
        flex-direction: column;
    }
}

/* ============================================
   BRANDED CONTENT STATS HERO
   ============================================ */
.stats-hero {
    padding: calc(var(--space-4xl) + 60px) 0 var(--space-3xl);
    text-align: center;
    position: relative;
    z-index: 1;
}

.stats-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.stats-headline {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.stats-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto var(--space-2xl);
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 16px;
    padding: var(--space-lg) var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    border: 1px solid var(--glass-border);
    transition: var(--transition-base);
}

.stat-card:hover {
    background: rgba(34, 34, 32, 0.5);
    border-color: var(--border-hover);
}

.stat-number {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-primary);
    line-height: 1;
}

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

.stats-description {
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    line-height: 1.7;
}

.stats-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.stats-button {
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.stats-button:hover {
    opacity: 0.9;
    text-decoration: underline;
}

.stats-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.stats-handle {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 1rem;
}

.stats-handle:hover {
    color: var(--text-primary);
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .stats-hero {
        padding: calc(var(--space-3xl) + 60px) 0 var(--space-2xl);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }
    
    .stat-card {
        padding: var(--space-md) var(--space-sm);
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
}
