/* Entropy Cat Studio - Cinematic Film Company Website */
/* Dark theme with gold/amber accents */

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --accent-gold: #d4a853;
    --accent-gold-light: #e8c87a;
    --accent-gold-dark: #b08d3c;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --border: #2a2a2a;
    --gradient-gold: linear-gradient(135deg, #d4a853 0%, #e8c87a 50%, #d4a853 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
}

/* Logo Image - Replace placeholder with your logo file */
.logo-image {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.logo-image-placeholder {
    height: 40px;
    width: 120px;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--border) 100%);
    border: 1px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-placeholder-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* Fallback text logo styles (if not using image) */
.logo-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

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

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

.nav-links .nav-cta {
    color: var(--accent-gold);
}

.nav-links .nav-cta::after {
    display: none;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212, 168, 83, 0.08) 0%, transparent 50%),
        rgba(10, 10, 10, 0.72);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 7rem);
    line-height: 0.95;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title .line {
    display: block;
}

.hero-title .accent {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent-gold);
}

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

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-gold);
    color: var(--bg-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(212, 168, 83, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Headers */
.section-header {
    margin-bottom: 4rem;
}

.section-header.light {
    color: var(--text-primary);
}

.section-tag {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    color: var(--text-primary);
}

/* About Section */
.about {
    padding: 8rem 0;
    background: var(--bg-secondary);
}

.about-content {
    max-width: 800px;
}

.about-text .lead {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about-bases {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.about-bases h4 {
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.bases-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.base {
    padding: 0.5rem 1.25rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* Gallery Section */
.gallery {
    padding: 8rem 0;
    background: var(--bg-primary);
}

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

.gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--border) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-placeholder:hover {
    border-color: var(--accent-gold);
}

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

.gallery-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Visual Showcase Section */
.showcase {
    padding: 0;
    background: var(--bg-primary);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.showcase-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.showcase-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--border) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

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

@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Edge Section */
.edge {
    padding: 8rem 0;
    background: var(--bg-primary);
    position: relative;
}

.edge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}

.edge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

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

.edge-card {
    padding: 2.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.edge-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.edge-num {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.edge-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.edge-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Portfolio Section */
.portfolio {
    padding: 8rem 0;
    background: var(--bg-secondary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ai-hybrid-grid {
        grid-template-columns: 1fr;
    }
}

.portfolio-item {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: var(--bg-tertiary);
}

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

/* ─── Poster card (replaces iframe) ─── */
.poster-link {
    display: block;
    text-decoration: none;
}

.poster-wrap {
    position: relative;
    aspect-ratio: 10 / 13;
    overflow: hidden;
    border-radius: 8px;
    background: var(--bg-tertiary);
}

.poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.4s ease;
}

.poster-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.poster-watch {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    background: rgba(0,0,0,0.55);
    padding: 0.5em 1.2em;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.3);
}

.poster-wrap:hover .poster-img {
    transform: scale(1.04);
}

.poster-wrap:hover .poster-overlay {
    background: rgba(0,0,0,0.25);
}

.poster-wrap:hover .poster-watch {
    opacity: 1;
    transform: translateY(0);
}

.watch-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--accent-gold);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: opacity 0.2s;
}

.watch-link:hover {
    opacity: 0.75;
}

.portfolio-item h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    padding: 1.5rem 1.5rem 0.5rem;
    margin: 0;
}

.portfolio-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0 1.5rem 1.5rem;
    margin: 0;
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.services-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

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

.service-phase {
    padding: 2.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.service-phase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-gold);
}

.phase-header {
    margin-bottom: 1.5rem;
}

.phase-num {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.phase-header h3 {
    font-size: 1.35rem;
    color: var(--text-primary);
}

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

.service-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.25rem;
}

.service-list li:last-child {
    border-bottom: none;
}

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

/* Team Section */
.team {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.team-grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1000px;
}

@media (max-width: 768px) {
    .team-grid,
    .team-grid-2x2 {
        grid-template-columns: 1fr;
    }
}

.team-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
}

.team-image-placeholder {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--border) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
}

.team-image-placeholder .placeholder-text {
    font-size: 4rem;
    color: var(--accent-gold);
    opacity: 0.3;
}

.team-info {
    padding: 2rem;
}

.team-card:hover {
    border-color: var(--accent-gold);
}

.team-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.team-role {
    display: block;
    font-size: 0.875rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.team-credits {
    margin-bottom: 1.5rem;
}

.team-credits p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.team-credits strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Alternate Team Section (Core Team) */
.team-alt {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.team-alt .team-card {
    background: var(--bg-primary);
}

.team-card-add {
    border-style: dashed;
    opacity: 0.7;
}

.team-add-placeholder {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
}

.imdb-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.imdb-link:hover {
    gap: 0.75rem;
}

/* Filmography Section */
.filmography {
    padding: 6rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.film-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.film-item {
    padding: 1rem 1.25rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: all 0.3s ease;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.film-item:hover {
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.film-link {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    text-decoration: none;
    color: var(--text-primary);
    width: 100%;
    gap: 0.75rem;
}

.film-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.film-year {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 400;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.film-link::after {
    content: '→';
    color: var(--accent-gold);
    font-size: 0.85rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.film-link:hover::after {
    transform: translateX(3px);
}

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

/* Process Section */
.process {
    padding: 8rem 0;
    background: var(--bg-secondary);
}

.process-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.process-timeline {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.process-step {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    text-align: center;
    padding: 2rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    position: relative;
}

.step-duration {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.step-content h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.step-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.process-arrow {
    font-size: 1.5rem;
    color: var(--accent-gold);
    align-self: center;
}

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

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: var(--bg-primary);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    text-align: center;
    padding: 3rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.contact-card h3 {
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 2rem;
}

.contact-person {
    margin-bottom: 2rem;
}

.contact-person strong {
    display: block;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-person span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-details .label {
    color: var(--text-muted);
    margin-right: 0.5rem;
}

/* Contact Protection Styles */
.contact-protected {
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-reveal-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--accent-gold);
    border-radius: 4px;
    color: var(--accent-gold);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-reveal-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.contact-reveal-btn span {
    font-size: 1.1rem;
}

.contact-details-hidden {
    width: 100%;
}

.contact-details a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--accent-gold-light);
}

/* Footer */
.footer {
    padding: 4rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-brand .logo-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.footer-brand .logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border);
    }

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

    .mobile-toggle {
        display: flex;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .process-timeline {
        flex-direction: column;
        align-items: center;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .process-step {
        max-width: 100%;
        width: 100%;
    }

    .edge-grid,
    .portfolio-grid,
    .services-timeline,
    .team-grid {
        grid-template-columns: 1fr;
    }

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

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

.section-header {
    animation: fadeInUp 0.8s ease forwards;
}

.edge-card,
.service-phase,
.team-card,
.process-step,
.contact-card {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: calc(var(--i, 0) * 0.1s);
}

/* ─── Team Headshots ─── */
.team-photo-wrap {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    position: relative;
    display: block;
    background: var(--bg-tertiary);
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* ─── Filmography — title links ─── */
a.film-title {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}
a.film-title:hover {
    color: var(--accent-gold);
}

/* ─── Filmography — updated layout with platform badges ─── */
.film-item {
    justify-content: space-between;
    gap: 1rem;
}

.film-info {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex: 1;
    min-width: 0;
}

.film-platform {
    font-size: 0.7rem;
    padding: 0.2rem 0.65rem;
    border: 1px solid var(--accent-gold);
    border-radius: 100px;
    color: var(--accent-gold);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.05em;
}

/* ─── AI-Hybrid Virtual Production Section ─── */
.ai-hybrid {
    padding: 8rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.ai-hybrid-desc {
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: center;
}

.ai-hybrid-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
    align-items: start;
}

.ai-hybrid-grid .video-wrapper {
    padding-bottom: 177.78%; /* 9:16 portrait ratio — both AI showcase videos are vertical */
}

/* ─── Gallery — image fit fix ─── */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── Showcase — image fit fix ─── */
.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
