/* ==========================================================================
   OG STUDIO - GOTHAM / INTER BLACK VISUAL IDENTITY THEME
   Black & White Ultra-Clean Aesthetic
   ========================================================================== */

:root {
    --bg-black: #060709;
    --bg-surface: #0b0d11;
    --bg-card: #101217;
    --text-white: #ffffff;
    --text-silver: #c5cad3;
    --text-muted: #757c8a;
    --border-light: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.2);
    --card-gap: 2px;
    
    /* Premium Gotham / Inter Black Typography */
    --font-headline: 'Montserrat', 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --card-aspect: 9 / 16;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-black);
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* --- Studio Header --- */
.studio-header {
    width: 100%;
    padding: 16px 24px;
    position: sticky;
    top: 0;
    z-index: 500;
    background: rgba(6, 7, 9, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.studio-header.header-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 0;
}

.studio-brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
}

.brand-logo-img {
    height: 75px;
    width: auto;
    max-width: 330px;
    object-fit: contain;
    display: block;
    margin: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.studio-brand:hover .brand-logo-img {
    transform: scale(1.02);
    opacity: 0.95;
}

/* --- Hero Section --- */
.hero-section {
    padding: 70px 24px 50px;
    border-bottom: 1px solid var(--border-light);
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
}

/* Service Tag Above Headline */
.hero-service-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--text-silver);
    text-transform: uppercase;
}

.tag-dot {
    color: #ffffff;
    font-size: 1.1rem;
    opacity: 0.6;
}

/* Main Impactful Headline (Gotham / Inter Black Typography) */
.hero-headline {
    font-family: var(--font-headline);
    font-weight: 900;
    font-size: clamp(3rem, 7.8vw, 6.2rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    max-width: 1100px;
    margin-bottom: 24px;
    color: #ffffff;
    text-transform: uppercase;
}

.headline-highlight {
    color: #ffffff;
    position: relative;
    display: inline-block;
}

.hero-lead {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.35vw, 1.22rem);
    font-weight: 400;
    color: var(--text-silver);
    max-width: 720px;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Hero CTA Buttons Above Filter */
.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 12px 24px;
    border-radius: 999px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.hero-cta-btn.primary-cta {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.hero-cta-btn.primary-cta:hover {
    background: #e2e5ea;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.35);
}

.hero-cta-btn.secondary-cta {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(8px);
}

.hero-cta-btn.secondary-cta:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Video Navigation & Filter Buttons */
.video-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 10px;
}

.nav-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-lead {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-right: 6px;
}

.filter-pill {
    background: transparent;
    color: var(--text-silver);
    border: 1px solid var(--border-light);
    padding: 8px 18px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-pill:hover {
    color: #ffffff;
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.05);
}

.filter-pill.active {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

.scroll-down-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--text-silver);
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.scroll-down-btn:hover {
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(2px);
}

/* --- Video Showcase Grid Section --- */
.portfolio-section {
    padding: 40px 0 70px;
}

.portfolio-wrapper {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 16px;
}

.video-grid-canvas {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--card-gap);
    background-color: var(--bg-black);
}

.video-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background-color: #000000;
    transition: opacity 0.3s ease, transform 0.3s ease;
    width: 100%;
}

.video-card.is-hidden {
    display: none !important;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: var(--card-aspect);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
}

.card-embed-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
    background: #000000;
    transform: scale(1.02);
}

.card-click-mask {
    position: absolute;
    inset: 0;
    z-index: 5;
    cursor: pointer;
}

.card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.video-card:hover .card-thumb {
    transform: scale(1.025);
    filter: brightness(1.08);
}

/* Play Overlay */
.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease, background-color 0.25s ease;
    z-index: 5;
}

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

.play-btn-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transform: scale(0.85);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease;
}

.play-btn-circle svg {
    margin-left: 3px;
}

.video-card:hover .play-btn-circle {
    transform: scale(1);
    background: #ffffff;
}

/* Card Caption Overlay */
.card-caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 10px 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88), transparent);
    z-index: 6;
    pointer-events: none;
    opacity: 0.95;
    transition: opacity 0.25s ease;
    display: flex;
    justify-content: flex-start;
}

.card-tag {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-block;
    white-space: nowrap;
}

/* --- Contact Section --- */
.contact-section {
    padding: 80px 24px 100px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-surface);
}

.contact-container {
    max-width: 1300px;
    margin: 0 auto;
}

.contact-header {
    margin-bottom: 44px;
}

.contact-eyebrow {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

.contact-title {
    font-family: var(--font-headline);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-top: 12px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.contact-sub {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-silver);
    max-width: 680px;
    line-height: 1.6;
}

/* Luxury Brutalist Frictionless Inquiry Card */
.inquiry-card {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 44px;
    position: relative;
    overflow: hidden;
}

.inquiry-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.inquiry-lead-heading {
    font-family: var(--font-headline);
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.inquiry-description {
    font-family: var(--font-body);
    font-size: 0.96rem;
    color: var(--text-silver);
    line-height: 1.65;
    margin-bottom: 28px;
}

.inquiry-perks {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.perk-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 18px;
    border-radius: 8px;
}

.perk-icon {
    font-size: 1.35rem;
    line-height: 1;
}

.perk-item strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.perk-item span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.perk-link {
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.perk-link:hover {
    opacity: 0.8;
}

/* Action Side */
.inquiry-action-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.action-box {
    background: rgba(6, 7, 9, 0.7);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.box-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

.form-field input {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 14px 16px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.92rem;
    transition: border-color 0.2s ease;
}

.form-field input:focus {
    outline: none;
    border-color: #ffffff;
}

.send-inquiry-btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #ffffff;
    color: #000000;
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    padding: 16px 24px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.12);
}

.send-inquiry-btn-large:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(255, 255, 255, 0.25);
}

.inquiry-footer-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 4px;
}

.inquiry-footer-note strong {
    color: #ffffff;
}

/* Footer Links & Alignment */
.footer-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-whatsapp-link {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-silver);
    transition: color 0.2s ease;
}

.footer-whatsapp-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* --- Studio Footer --- */
.studio-footer {
    padding: 32px 24px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-black);
}

.footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo-img {
    height: 26px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    opacity: 0.85;
}

.footer-copy {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.06em;
}

.back-top-btn {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-silver);
    transition: color 0.2s ease;
}

.back-top-btn:hover {
    color: #ffffff;
}

/* --- Video Modal with Fixed Easy-Exit Controls --- */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.video-modal.is-active {
    display: flex;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    cursor: pointer;
}

/* Fixed Top Exit Bar Pinned to Top of Screen */
.fixed-top-exit-bar {
    position: fixed;
    top: 16px;
    left: 0;
    right: 0;
    padding: 0 20px;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.fixed-modal-back-btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 12px 24px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.25);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}

.fixed-modal-back-btn:hover,
.fixed-modal-back-btn:active {
    background: #e2e5ea;
    transform: scale(1.05);
}

.fixed-modal-close-btn {
    pointer-events: auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
    transition: background 0.2s ease, transform 0.2s ease;
}

.fixed-modal-close-btn:hover,
.fixed-modal-close-btn:active {
    background: #ffffff;
    color: #000000;
    transform: scale(1.08);
}

/* Modal Dialog */
.modal-dialog {
    position: relative;
    z-index: 100000;
    width: 92vw;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding-top: 50px;
}

.sound-toggle-pill {
    background: rgba(255, 255, 255, 0.95);
    color: #000000;
    border: none;
    border-radius: 999px;
    padding: 8px 18px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    animation: pulse-sound 2s infinite ease-in-out;
}

.sound-toggle-pill:hover {
    transform: scale(1.05);
    background: #ffffff;
}

@keyframes pulse-sound {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); box-shadow: 0 6px 24px rgba(255, 255, 255, 0.3); }
}

/* Vertical 9:16 In-Site Player */
.player-container {
    position: relative;
    width: 100%;
    max-height: calc(85vh - 50px);
    aspect-ratio: 9 / 16;
    background: #000000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.15);
    margin: 0 auto;
}

.player-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1100px) {
    .video-grid-canvas {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .video-grid-canvas {
        grid-template-columns: repeat(3, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .fixed-top-exit-bar {
        top: 12px;
        padding: 0 12px;
    }
    .fixed-modal-back-btn {
        padding: 10px 18px;
        font-size: 0.82rem;
    }
    .fixed-modal-close-btn {
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
    }
    .studio-header {
        padding: 12px 16px;
    }
    .header-inner {
        max-width: 100%;
        margin: 0 auto;
        justify-content: flex-start;
    }
    .brand-logo-img {
        height: 58px;
        max-width: 260px;
        margin: 0;
    }
    .footer-brand-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .header-status {
        display: none;
    }
    .hero-section {
        padding: 45px 16px 28px;
    }
    .hero-service-tag {
        font-size: 0.72rem;
        flex-wrap: wrap;
        gap: 8px;
    }
    .hero-cta-group {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
        width: 100%;
        margin-bottom: 28px;
    }
    .hero-cta-btn {
        flex: 1 1 50%;
        justify-content: center;
        padding: 12px 14px;
        font-size: 0.84rem;
        white-space: nowrap;
        text-align: center;
        gap: 8px;
    }
    .portfolio-wrapper {
        padding: 0 8px;
    }
    .video-grid-canvas {
        grid-template-columns: repeat(2, 1fr);
        gap: 2px;
    }
    .play-btn-circle {
        width: 46px;
        height: 46px;
    }
    .inquiry-card {
        grid-template-columns: 1fr;
        padding: 26px 18px;
        gap: 28px;
    }
    .action-box {
        padding: 24px 18px;
    }
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .footer-links {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

@media (max-width: 400px) {
    .hero-cta-btn {
        font-size: 0.78rem;
        padding: 11px 8px;
        gap: 6px;
    }
}
