/* ========================================
   ALTITUDE - Aerial Portfolio Theme
   ======================================== */

/* CSS Variables */
:root {
    /* Colors - Dark Mode (default) */
    --bg-deep: #050505;
    --bg-primary: #0a0a0a;
    --bg-elevated: #111111;
    --bg-card: #161616;

    --accent-primary: #00e5ff;
    --accent-secondary: #ff3d00;
    --accent-glow: rgba(0, 229, 255, 0.15);

    --text-primary: #f0f0f0;
    --text-secondary: #888888;
    --text-muted: #555555;
    --pricing-muted: #aaaaaa;

    --border-subtle: rgba(255, 255, 255, 0.15);
    --border-accent: rgba(0, 229, 255, 0.3);

    --grid-color: rgba(0, 229, 255, 0.02);
    --scanline-color: rgba(0, 0, 0, 0.03);

    /* Typography */
    --font-display: 'Bebas Neue', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

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

    /* Animation */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 600ms;
}

/* Light Mode */
[data-theme="light"] {
    --bg-deep: #f8f9fa;
    --bg-primary: #ffffff;
    --bg-elevated: #f0f1f2;
    --bg-card: #e9ecef;

    --accent-primary: #0088aa;
    --accent-secondary: #d63200;
    --accent-glow: rgba(0, 136, 170, 0.15);

    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-muted: #888888;
    --pricing-muted: #666666;

    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-accent: rgba(0, 136, 170, 0.3);

    --grid-color: rgba(0, 136, 170, 0.03);
    --scanline-color: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .hero-gradient {
    background:
        linear-gradient(to bottom, rgba(248, 249, 250, 0.15) 0%, rgba(248, 249, 250, 0.15) 50%, rgba(248, 249, 250, 0.15) 100%),
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 136, 170, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(214, 50, 0, 0.06) 0%, transparent 50%);
}

[data-theme="light"] .hero-subtitle {
    color: #000;
}

[data-theme="light"] .hero-scroll span {
    color: #fff;
}

[data-theme="light"] .scroll-indicator {
    border-color: #fff;
}

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

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

body {
    font-family: var(--font-mono);
    font-weight: 300;
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Selection */
::selection {
    background: var(--accent-primary);
    color: var(--bg-deep);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* ========================================
   Grid Overlay & Effects
   ======================================== */
.grid-overlay {
    display: none; /* Disabled for performance */
}

.scanlines {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        var(--scanline-color) 2px,
        var(--scanline-color) 4px
    );
}

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-xl);
    background: transparent;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: background var(--duration-normal), border-color var(--duration-normal);
}

.nav.scrolled {
    background: rgba(5, 5, 5, 0.85);
    border-bottom-color: var(--border-subtle);
}

[data-theme="light"] .nav.scrolled {
    background: rgba(248, 249, 250, 0.85);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: 0.1em;
}

.brand-prefix {
    color: var(--accent-primary);
}

.brand-divider {
    color: var(--text-muted);
}

.brand-text {
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
}

.nav-link {
    position: relative;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color var(--duration-normal) var(--ease-out-quart);
}

.nav-link::before {
    content: attr(data-index);
    position: absolute;
    top: -0.75rem;
    left: 0;
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--accent-primary);
    opacity: 0;
    transform: translateY(4px);
    transition: all var(--duration-normal) var(--ease-out-quart);
}

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

.nav-link:hover::before {
    opacity: 1;
    transform: translateY(0);
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--duration-normal) var(--ease-out-quart);
}

/* Nav Actions (theme toggle + mobile toggle) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out-quart);
}

.theme-toggle:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

.theme-toggle .icon-sun {
    display: none;
}

.theme-toggle .icon-moon {
    display: block;
}

[data-theme="light"] .theme-toggle .icon-sun {
    display: block;
}

[data-theme="light"] .theme-toggle .icon-moon {
    display: none;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-deep);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-slow) var(--ease-out-expo);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: color var(--duration-normal);
}

.mobile-link:hover {
    color: var(--accent-primary);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-2xl) var(--space-xl);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.35) 50%, rgba(5, 5, 5, 0.65) 100%),
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 229, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(255, 61, 0, 0.05) 0%, transparent 50%);
}

.hero-video-placeholder {
    position: absolute;
    inset: 0;
    opacity: 0.15;
}

.placeholder-grid {
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, transparent 40%, var(--accent-primary) 40%, var(--accent-primary) 40.5%, transparent 40.5%),
        linear-gradient(-135deg, transparent 40%, var(--accent-primary) 40%, var(--accent-primary) 40.5%, transparent 40.5%);
    background-size: 80px 80px;
    opacity: 0.1;
}

.hero-content {
    max-width: 900px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    animation: fadeSlideUp 0.8s var(--ease-out-expo) 0.2s both;
}

.tag-line {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--accent-primary);
}

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

.hero-title {
    margin-bottom: var(--space-lg);
}

.title-line {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 12vw, 10rem);
    line-height: 0.9;
    letter-spacing: 0.02em;
    animation: fadeSlideUp 0.8s var(--ease-out-expo) 0.4s both;
}

.title-outline {
    -webkit-text-stroke: 1px var(--text-primary);
    color: transparent;
    animation-delay: 0.5s;
}

.hero-subtitle {
    max-width: 500px;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    animation: fadeSlideUp 0.8s var(--ease-out-expo) 0.6s both;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    animation: fadeSlideUp 0.8s var(--ease-out-expo) 0.7s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out-quart);
}

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

.btn-primary:hover {
    background: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 229, 255, 0.3);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

[data-theme="light"] .btn-ghost {
    background: rgba(0, 0, 0, 0.06);
}

.btn-ghost:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Stats */
.hero-stats {
    position: absolute;
    right: var(--space-xl);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    animation: fadeSlideLeft 0.8s var(--ease-out-expo) 0.8s both;
}

.stat {
    text-align: right;
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--accent-primary);
    line-height: 1;
}

.stat-label {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #aaaaaa;
    padding: 0.25rem 0.75rem 0.25rem 1.5rem;
    margin-right: -0.75rem;
    background: linear-gradient(to left, rgba(5, 5, 5, 0.75) 0%, rgba(5, 5, 5, 0.5) 50%, transparent 100%);
    border-radius: 2px;
}

[data-theme="light"] .stat-label {
    background: linear-gradient(to left, rgba(248, 249, 250, 0.75) 0%, rgba(248, 249, 250, 0.5) 50%, transparent 100%);
    color: #000;
}

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    animation: fadeSlideUp 0.8s var(--ease-out-expo) 1s both;
}

.hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #cccccc;
}

.scroll-indicator {
    width: 20px;
    height: 32px;
    border: 1px solid #cccccc;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
}

/* HUD Elements */
.hud {
    position: absolute;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: #cccccc;
    opacity: 0.85;
}

.hud-top-left {
    top: 100px;
    left: var(--space-xl);
}

.hud-top-right {
    top: 100px;
    right: var(--space-xl);
    text-align: right;
}

.hud-bottom-left {
    bottom: var(--space-xl);
    right: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.hud-bracket {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.hud-status {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

/* Animations */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideLeft {
    from {
        opacity: 0;
        transform: translate(30px, -50%);
    }
    to {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

/* ========================================
   Sections
   ======================================== */
.section {
    padding: var(--space-2xl) var(--space-xl);
}

.section-header {
    max-width: 600px;
    margin-bottom: var(--space-xl);
}

.section-index {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--accent-primary);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: 0.02em;
    line-height: 1;
    margin-bottom: var(--space-md);
}

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

/* ========================================
   Gallery Section
   ======================================== */
.section-work {
    background: var(--bg-primary);
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.filter-btn {
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out-quart);
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    background: var(--accent-glow);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border-subtle);
    transition: all var(--duration-slow) var(--ease-out-expo);
    opacity: 0;
    transform: translateY(20px);
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item-lg {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--duration-slow) var(--ease-out-expo);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.placeholder-text {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    opacity: 0.5;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-lg);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out-quart);
}

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

.gallery-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
    color: #ffffff;
}

.gallery-meta {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
}

/* ========================================
   Reels Section
   ======================================== */
.section-reels {
    background: var(--bg-deep);
}

.featured-reel {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.reel-video {
    position: relative;
}

.video-placeholder {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.video-container {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border-subtle);
    transition: border-color var(--duration-normal) var(--ease-out-quart);
}

.video-container:hover {
    border-color: var(--accent-primary);
}

.video-container .video-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-container .play-button {
    position: absolute;
    z-index: 2;
}

.video-container .video-duration {
    z-index: 2;
}

.video-container.playing .play-button,
.video-container.playing .video-duration,
.video-container.playing .video-poster {
    display: none;
}

.video-container.playing {
    position: relative;
    z-index: 10;
}

.video-container.playing video {
    position: relative;
    z-index: 10;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 229, 255, 0.02) 2px,
            rgba(0, 229, 255, 0.02) 4px
        );
}

.video-placeholder.small,
.video-container.small {
    aspect-ratio: 16/9;
}

/* Vertical video thumbnails - crop to fit uniform grid, full aspect in lightbox */
.video-container.small.vertical {
    aspect-ratio: 16/9;
}

.video-container.small.vertical .video-poster {
    object-fit: cover;
    object-position: center;
}

.video-tag-vertical {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    padding: 0.2rem 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    font-size: 0.55rem;
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 3;
}

.play-button {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 6px; /* Optical centering for play triangle */
    background: var(--accent-primary);
    color: var(--bg-deep);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out-quart);
    z-index: 1;
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 60px rgba(0, 229, 255, 0.5);
}

.play-button.small {
    width: 48px;
    height: 48px;
}

.video-duration {
    position: absolute;
    bottom: var(--space-md);
    right: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

.reel-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reel-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: var(--accent-secondary);
    color: var(--text-primary);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    width: fit-content;
}

.reel-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-md);
}

.reel-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
}

.reel-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.meta-divider {
    color: var(--accent-primary);
}

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

.reel-card {
    cursor: pointer;
}

.reel-thumbnail {
    margin-bottom: var(--space-md);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: all var(--duration-normal) var(--ease-out-quart);
}

.reel-card:hover .reel-thumbnail {
    border-color: var(--accent-primary);
}

.reel-card-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
    margin-top: var(--space-md);
}

.reel-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: 0.05em;
}

.reel-card-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: var(--space-xs) 0;
}

.reel-card-location {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.reel-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* ========================================
   Video Lightbox
   ======================================== */
.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-slow) var(--ease-out-expo);
}

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

.video-lightbox-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    padding: var(--space-sm);
    background: none;
    border: none;
    color: #f0f0f0;
    cursor: pointer;
    transition: color var(--duration-fast);
    z-index: 10;
}

.video-lightbox-close:hover {
    color: var(--accent-primary);
}

.video-lightbox-content {
    width: 95%;
    max-width: 1600px;
    aspect-ratio: 16/9;
}

.video-lightbox-content video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.video-lightbox-content.vertical {
    aspect-ratio: auto;
    max-width: none;
    width: auto;
    height: auto;
    max-height: 85vh;
}

.video-lightbox-content.vertical video {
    width: auto;
    height: 85vh;
    max-height: 85vh;
}

/* ========================================
   About Section
   ======================================== */
.section-about {
    background: var(--bg-primary);
}

.section-about .section-header,
.section-about .about-content,
.section-about .certifications {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.about-text p {
    margin-bottom: var(--space-lg);
    color: var(--text-secondary);
}

.about-lead {
    font-size: 1.25rem;
    color: var(--text-primary) !important;
    line-height: 1.5;
}

.gear-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
    color: var(--accent-primary);
}

.gear-list {
    list-style: none;
}

.gear-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 2px solid var(--border-subtle);
}

.gear-icon {
    color: var(--accent-primary);
    font-size: 0.75rem;
}

.gear-item strong {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.gear-item span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.certifications {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    padding-top: var(--space-xl);
    border-top: 2px solid var(--border-subtle);
}

.cert {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.cert-icon {
    color: var(--accent-primary);
}

/* ========================================
   Contact Section
   ======================================== */
.section-contact {
    background: var(--bg-deep);
}

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

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

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

.form-group-full {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-md);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    transition: all var(--duration-normal) var(--ease-out-quart);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-md) center;
}

.form-group select option {
    background: var(--bg-card);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-block h4 {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.contact-block a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--duration-fast);
}

.contact-block a:hover {
    color: var(--text-primary);
}

.contact-block p {
    color: var(--text-secondary);
}

/* Pricing Block */
.pricing-block {
    grid-column: span 2;
    margin-top: var(--space-lg);
}

.pricing-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.pricing-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: baseline;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    border-bottom: 2px solid var(--border-subtle);
}

.pricing-item:last-child {
    border-bottom: none;
}

.pricing-name {
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.pricing-subtext {
    display: block;
    font-weight: 300;
    font-size: 0.75rem;
    color: var(--pricing-muted);
    margin-top: 2px;
}

.pricing-subtitle {
    font-weight: 300;
    font-size: 0.6rem;
    color: var(--text-secondary);
    text-transform: none;
    letter-spacing: 0.05em;
    margin-left: var(--space-sm);
}

.pricing-time {
    color: var(--pricing-muted);
    font-size: 0.85rem;
    text-align: right;
    white-space: nowrap;
}

.pricing-price {
    color: var(--accent-primary);
    font-weight: 500;
    font-size: 1rem;
    text-align: right;
    white-space: nowrap;
}

.pricing-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

.pricing-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 2px solid var(--border-subtle);
}

.pricing-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    font-size: 0.8rem;
    color: var(--pricing-muted);
}

.pricing-col-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: var(--space-xl);
    background: var(--bg-primary);
    border-top: 2px solid var(--border-subtle);
}

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

.footer-copy,
.footer-note {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ========================================
   Lightbox
   ======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-slow) var(--ease-out-expo);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    padding: var(--space-sm);
    background: none;
    border: none;
    color: #f0f0f0;
    cursor: pointer;
    transition: color var(--duration-fast);
    z-index: 10;
}

.lightbox-close:hover {
    color: var(--accent-primary);
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: calc(100vw - 100px);
    max-height: calc(100vh - 60px);
    padding: 0 var(--space-md);
}

.lightbox-content img {
    max-width: 100%;
    max-height: calc(100vh - 120px);
    object-fit: contain;
}

.lightbox-info {
    text-align: center;
    margin-top: 1rem;
    flex-shrink: 0;
}

.lightbox-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: #f0f0f0;
}

.lightbox-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    padding: var(--space-lg);
    background: none;
    border: none;
    color: #f0f0f0;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out-quart);
    z-index: 10;
}

.lightbox-nav:hover {
    color: var(--accent-primary);
}

.lightbox-prev {
    left: 0;
}

.lightbox-next {
    right: 0;
}

/* Lightbox responsive - snap to overlay mode */
@media (max-width: 900px) {
    .lightbox-content {
        max-width: 100vw;
        padding: 0;
    }

    .lightbox-content img {
        max-width: 100vw;
        max-height: calc(100vh - 120px);
    }

    .lightbox-nav {
        background: rgba(0, 0, 0, 0.6);
        padding: var(--space-md);
    }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    :root {
        --space-xl: 3rem;
        --space-2xl: 6rem;
    }

    .nav {
        padding: var(--space-md) var(--space-lg);
    }

    .nav-links {
        gap: var(--space-lg);
    }

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

    .featured-reel {
        grid-template-columns: 1fr;
    }

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

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .hero-stats {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: var(--space-lg);
        margin-top: var(--space-xl);
        animation: fadeSlideUp 0.8s var(--ease-out-expo) 0.8s both;
    }

    .stat {
        text-align: left;
    }

    .hero {
        padding: var(--space-2xl) var(--space-lg);
    }

    .section {
        padding: var(--space-xl) var(--space-lg);
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 1.5rem;
        --space-2xl: 3rem;
    }

    .nav {
        padding: var(--space-sm) var(--space-md);
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:first-child {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active span:last-child {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-brand {
        font-size: 1rem;
    }

    .hero {
        min-height: auto;
        padding: calc(80px + var(--space-xl)) var(--space-md) var(--space-xl);
    }

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

    .hero-subtitle {
        font-size: 0.9rem;
        margin-top: 6rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .gallery-item-lg {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: var(--space-sm);
        margin-bottom: var(--space-lg);
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        flex-shrink: 0;
    }

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

    .featured-reel {
        margin-bottom: var(--space-xl);
        padding-bottom: var(--space-xl);
        border-bottom: 2px solid var(--border-subtle);
    }

    .reel-card {
        padding: var(--space-md);
        background: var(--bg-card);
        border: 1px solid var(--border-subtle);
    }

    .reel-title {
        font-size: 1.5rem;
    }

    .reel-desc {
        font-size: 0.85rem;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group-full {
        grid-column: span 1;
    }

    .hero-scroll {
        display: none;
    }

    .hud {
        display: none;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--space-md);
    }

    .stat {
        flex: 1 1 calc(50% - var(--space-md));
        min-width: 100px;
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.6rem;
    }

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

    .section-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .about-lead {
        font-size: 1.1rem;
    }

    .gear-list {
        font-size: 0.9rem;
    }

    .certifications {
        flex-direction: column;
        gap: var(--space-md);
    }

    .footer {
        padding: var(--space-lg) var(--space-md);
    }

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

    .mobile-link {
        font-size: 2rem;
    }

    .pricing-block {
        grid-column: span 1;
    }

    .pricing-item {
        grid-template-columns: 1fr auto auto;
        gap: var(--space-sm);
    }

    .pricing-footer {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .hero-bg {
        background-position: 60% center;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    :root {
        --space-lg: 1.25rem;
        --space-xl: 1.25rem;
        --space-2xl: 2.5rem;
    }

    .title-line {
        font-size: clamp(2.5rem, 14vw, 4rem);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .stat {
        flex: 1 1 100%;
        display: flex;
        align-items: baseline;
        gap: var(--space-sm);
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button svg {
        width: 36px;
        height: 36px;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
    }
}

/* ========================================
   Scroll Animations
   ======================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out-expo);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
