/* =========================================================
   INVICTUS PICTURES â€” Custom Styles
   Built on top of Bootstrap 5
   ========================================================= */

:root {
    --bg: #0a0908;
    --bg-deeper: #050403;
    --ink: #f4ede4;
    --ink-muted: #a39e94;
    --ink-dim: #5c574f;
    --accent: #c8410b;
    --accent-glow: #e85d1a;
    --grain-opacity: 0.08;
    --serif: 'Fraunces', 'Times New Roman', serif;
    --sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== Base ===== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 300;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Film grain overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    opacity: var(--grain-opacity);
    mix-blend-mode: overlay;
    animation: grain 8s steps(10) infinite;
}

@keyframes grain {

    0%,
    100% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-5%, -10%);
    }

    20% {
        transform: translate(-15%, 5%);
    }

    30% {
        transform: translate(7%, -25%);
    }

    40% {
        transform: translate(-5%, 25%);
    }

    50% {
        transform: translate(-15%, 10%);
    }

    60% {
        transform: translate(15%, 0%);
    }

    70% {
        transform: translate(0%, 15%);
    }

    80% {
        transform: translate(3%, 35%);
    }

    90% {
        transform: translate(-10%, 10%);
    }
}

::selection {
    background: var(--accent);
    color: var(--ink);
}

a {
    text-decoration: none;
}

/* ===== Nav ===== */
.site-nav {
    position: fixed;
    top: 0%;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 1rem 3rem;
    mix-blend-mode: difference;
    transition:
        padding 0.35s cubic-bezier(0.77, 0, 0.175, 1),
        background-color 0.35s ease,
        backdrop-filter 0.35s ease,
        border-color 0.35s ease,
        transform 0.45s cubic-bezier(0.77, 0, 0.175, 1);
}

.site-nav.scrolled {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    background: rgba(10, 9, 8, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(244, 237, 228, 0.08);
    mix-blend-mode: normal;
}

.site-nav.nav-hidden {
    transform: translateY(-100%);
}

.site-nav>.container-fluid {
    min-height: 32px;
}

.logo {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--ink) !important;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--ink);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
    line-height: 1;
    display: inline-block;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: var(--ink);
    transition: width 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Right cluster of nav (links + menu toggle) */
.nav-right {
    gap: 1.75rem;
}

/* ===== Hamburger / Menu Toggle ===== */
.menu-toggle {
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid rgba(244, 237, 228, 0.25);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.3s ease, background 0.3s ease;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--ink);
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    transform-origin: center;
}

.menu-toggle span:nth-child(2) {
    width: 12px;
    margin-left: 6px;
}

.menu-toggle:hover {
    border-color: var(--accent);
}

.menu-toggle:hover span {
    background: var(--accent-glow);
}

.menu-toggle:hover span:nth-child(2) {
    width: 18px;
    margin-left: 0;
}

/* Active state (menu open) — Bootstrap toggles aria-expanded */
.menu-toggle[aria-expanded="true"] {
    border-color: var(--accent);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ===== Side Menu (Bootstrap Offcanvas override) ===== */
.side-menu.offcanvas {
    background: var(--bg-deeper);
    color: var(--ink);
    border-left: 1px solid rgba(244, 237, 228, 0.08);
    width: 480px;
    max-width: 92vw;
    box-shadow: -30px 0 80px rgba(0, 0, 0, 0.6);
}

.side-menu-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem 2.5rem 2.5rem;
    overflow-y: auto;
    position: relative;
}

.side-menu-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n2)' opacity='0.5'/%3E%3C/svg%3E");
    opacity: 0.06;
    mix-blend-mode: overlay;
}

.side-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(244, 237, 228, 0.08);
    margin-bottom: 2.5rem;
}

.side-menu-tag {
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.side-menu-tag::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--accent);
}

.side-menu-close {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(244, 237, 228, 0.25);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.side-menu-close:hover {
    border-color: var(--accent);
    color: var(--accent-glow);
    transform: rotate(90deg);
}

.side-menu-close svg {
    width: 16px;
    height: 16px;
}

.side-menu-nav {
    display: flex;
    flex-direction: column;
    margin-bottom: auto;
}

.side-menu-nav a {
    display: grid;
    grid-template-columns: 44px 1fr 24px;
    align-items: center;
    gap: 1.25rem;
    padding: 1.35rem 0;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    line-height: 1;
    color: var(--ink-muted);
    border-bottom: 1px solid rgba(244, 237, 228, 0.06);
    transition: color 0.4s ease, padding 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    position: relative;
}

.side-menu-nav a .num {
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.8rem;
    color: var(--ink-dim);
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.side-menu-nav a .label {
    letter-spacing: -0.01em;
}

.side-menu-nav a .arrow {
    font-size: 1.1rem;
    color: var(--ink-dim);
    transform: translateX(-8px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    justify-self: end;
}

.side-menu-nav a:hover,
.side-menu-nav a:focus-visible {
    color: var(--ink);
    padding-left: 0.5rem;
    outline: none;
}

.side-menu-nav a:hover .num,
.side-menu-nav a:focus-visible .num {
    color: var(--accent);
}

.side-menu-nav a:hover .arrow,
.side-menu-nav a:focus-visible .arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--accent);
}

.side-menu-footer {
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(244, 237, 228, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.side-menu-contact .label {
    font-size: 0.6rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--ink-dim);
    margin-bottom: 0.5rem;
}

.side-menu-contact a {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: 1.05rem;
    color: var(--ink);
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.side-menu-contact a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: rgba(244, 237, 228, 0.2);
    transition: background 0.3s ease;
}

.side-menu-contact a:hover {
    color: var(--accent);
}

.side-menu-contact a:hover::after {
    background: var(--accent);
}

.side-menu-socials {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.side-menu-socials a {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ink-muted);
    transition: color 0.3s ease;
}

.side-menu-socials a:hover {
    color: var(--accent);
}

.side-menu-meta {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ink-dim);
}

/* Backdrop styling */
.offcanvas-backdrop.show {
    background: rgba(5, 4, 3, 0.85);
    opacity: 1;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Stagger animation for menu items when shown */
.side-menu.show .side-menu-nav a {
    opacity: 0;
    animation: sideMenuItemIn 0.7s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.side-menu.show .side-menu-nav a:nth-child(1) { animation-delay: 0.15s; }
.side-menu.show .side-menu-nav a:nth-child(2) { animation-delay: 0.22s; }
.side-menu.show .side-menu-nav a:nth-child(3) { animation-delay: 0.29s; }
.side-menu.show .side-menu-nav a:nth-child(4) { animation-delay: 0.36s; }
.side-menu.show .side-menu-nav a:nth-child(5) { animation-delay: 0.43s; }

.side-menu.show .side-menu-footer {
    opacity: 0;
    animation: sideMenuItemIn 0.7s cubic-bezier(0.77, 0, 0.175, 1) 0.55s forwards;
}

@keyframes sideMenuItemIn {
    from {
        opacity: 0;
        transform: translateX(24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: var(--bg-deeper);
    display: flex;
    flex-direction: column;
}

.hero-video {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border: 0;
}

.hero-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-width: 177.78vh;
    min-height: 100vh;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg,
            rgba(10, 9, 8, 0.55) 0%,
            rgba(10, 9, 8, 0.35) 30%,
            rgba(10, 9, 8, 0.6) 70%,
            rgba(10, 9, 8, 0.95) 100%),
        linear-gradient(90deg,
            rgba(10, 9, 8, 0.75) 0%,
            rgba(10, 9, 8, 0.25) 40%,
            rgba(10, 9, 8, 0.45) 100%);
    pointer-events: none;
}

.hero-tint {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: radial-gradient(ellipse 60% 50% at 80% 20%, rgba(200, 65, 11, 0.15), transparent 60%);
    pointer-events: none;
    mix-blend-mode: screen;
    animation: tintShift 12s ease-in-out infinite alternate;
}

@keyframes tintShift {
    0% {
        opacity: 0.4;
        transform: translate(0, 0);
    }

    100% {
        opacity: 1;
        transform: translate(-15%, 10%);
    }
}

/* Letterbox bars */
.cinema-bar {
    position: absolute;
    left: 0;
    right: 0;
    height: 56px;
    background: var(--bg-deeper);
    z-index: 8;
    display: flex;
    align-items: center;
    padding: 0 3rem;
    animation: barReveal 1.4s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.cinema-bar.top {
    top: 0;
    transform: translateY(-100%);
}

.cinema-bar.bottom {
    bottom: 0;
    transform: translateY(100%);
    animation-delay: 0.1s;
    justify-content: space-between;
}

@keyframes barReveal {
    to {
        transform: translateY(0);
    }
}

.bar-meta,
.bar-rec {
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--ink-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bar-rec {
    color: var(--accent-glow);
    gap: 0.6rem;
}

.bar-rec-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* Corner registration marks */
.corner-mark {
    position: absolute;
    width: 24px;
    height: 24px;
    z-index: 6;
    border-color: rgba(244, 237, 228, 0.4);
    border-style: solid;
    border-width: 0;
}

.corner-mark.tl {
    top: 80px;
    left: 3rem;
    border-top-width: 1px;
    border-left-width: 1px;
}

.corner-mark.tr {
    top: 80px;
    right: 3rem;
    border-top-width: 1px;
    border-right-width: 1px;
}

.corner-mark.bl {
    bottom: 80px;
    left: 3rem;
    border-bottom-width: 1px;
    border-left-width: 1px;
}

.corner-mark.br {
    bottom: 80px;
    right: 3rem;
    border-bottom-width: 1px;
    border-right-width: 1px;
}

/* Hero content layout */
.hero-content {
    position: relative;
    z-index: 5;
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 140px 3rem 90px;
    gap: 2rem;
}

.hero-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 1100px;
    width: 100%;
    opacity: 0;
    animation: fadeUp 1.2s ease 0.6s forwards;
}

.hero-bottom {
    flex-shrink: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tagchip {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 1rem;
    border: 1px solid rgba(200, 65, 11, 0.45);
    background: rgba(200, 65, 11, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--accent-glow);
    margin-bottom: 1.75rem;
}

.hero-tagchip-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-glow);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-glow);
    animation: blink 1.5s ease-in-out infinite;
}

.hero-title {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(2.75rem, 8vw, 8rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
    text-shadow: 0 4px 50px rgba(0, 0, 0, 0.9);
}

.hero-title .line {
    display: block;
    
}

.hero-title .line span {
    display: block;
    transform: translateY(110%);
    animation: lineUp 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.hero-title .line:nth-child(1) span {
    animation-delay: 0.9s;
}

.hero-title .line:nth-child(2) span {
    animation-delay: 1.05s;
}

.hero-title .line:nth-child(3) span {
    animation-delay: 1.2s;
}

.hero-title em {
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}

@keyframes lineUp {
    to {
        transform: translateY(0);
    }
}

.hero-sub {
    font-size: clamp(0.95rem, 1.4vw, 1.5rem);
    color: var(--ink);
    max-width: 580px;
    margin-bottom: 2rem;
    line-height: 1.65;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.95);
    opacity: 0;
    animation: fadeUp 1s ease 1.6s forwards;
}

.hero-ctas {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 1s ease 1.85s forwards;
}

/* ===== Custom Cinematic Button (replaces Bootstrap btn) ===== */
.btn-cine {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ink);
    border: 1px solid var(--ink-dim);
    background: rgba(10, 9, 8, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    position: relative;
    overflow: hidden;
    font-family: var(--sans);
    font-weight: 400;
    text-decoration: none;
}

.btn-cine::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: -1;
}

.btn-cine:hover {
    border-color: var(--accent);
    color: var(--ink);
}

.btn-cine:hover::before {
    transform: translateY(0);
}

.btn-cine.primary {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}

.btn-cine.primary::before {
    background: var(--accent);
}

.btn-cine.primary:hover {
    color: var(--ink);
    border-color: var(--accent);
}

.btn-cine .arrow {
    display: inline-block;
    transition: transform 0.4s ease;
}

.btn-cine:hover .arrow {
    transform: translateX(4px);
}

/* Hero bottom info bar */
.hero-bottom {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.5rem 2rem;
    padding: 1.5rem 0 0;
    border-top: 1px solid rgba(244, 237, 228, 0.12);
    opacity: 0;
    animation: fadeUp 1s ease 2.1s forwards;
}

.now-playing-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.now-playing-label {
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
}

.now-playing-label::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent);
    animation: blink 1.5s ease-in-out infinite;
}

.now-playing-title {
    font-family: var(--serif);
    font-size: 1rem;
    color: var(--ink-muted);
    min-width: 0;
}

.now-playing-title strong {
    font-style: italic;
    font-weight: 400;
    color: var(--ink);
    margin-right: 0.6rem;
}

.sound-toggle {
    background: rgba(10, 9, 8, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(244, 237, 228, 0.2);
    color: var(--ink);
    padding: 0.7rem 1.2rem;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    font-family: var(--sans);
}

.sound-toggle:hover {
    border-color: var(--accent);
    color: var(--accent-glow);
}

.sound-toggle svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.play-full {
    background: var(--accent);
    color: var(--ink);
    border: 1px solid var(--accent);
    padding: 0.7rem 1.2rem;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    font-family: var(--sans);
}

.play-full:hover {
    background: var(--accent-glow);
    border-color: var(--accent-glow);
}

.play-full svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
}

/* ===== Trailer Modal (Bootstrap modal overrides) ===== */
.trailer-modal {
    background: rgba(0, 0, 0, 0.96);
}

.trailer-modal .modal-dialog {
    max-width: 1400px;
    padding: 0 1rem;
}

.trailer-modal-content {
    background: transparent;
    border: 0;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}

.trailer-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: transparent;
    border: 1px solid rgba(244, 237, 228, 0.4);
    color: var(--ink);
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.trailer-close:hover {
    border-color: var(--accent);
    color: var(--accent-glow);
}

.trailer-close svg {
    width: 16px;
    height: 16px;
}

/* ===== Marquee ===== */
.marquee {
    overflow: hidden;
    padding: 2rem 0;
    background: var(--bg-deeper);
    border-bottom: 1px solid var(--ink-dim);
}

.marquee-track {
    display: flex;
    gap: 4rem;
    white-space: nowrap;
    animation: marquee 35s linear infinite;
    width: max-content;
}

.marquee-item {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--ink-muted);
    display: flex;
    align-items: center;
    gap: 4rem;
}

.marquee-item::after {
    content: '✦';
    color: var(--accent);
    font-size: 0.8em;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== Section ===== */
section {
    padding: 6rem 3rem;
    position: relative;
}

.section-tag {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    font-size: .7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent);
}

.section-tag::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--accent);
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.77, 0, 0.175, 1),
        transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== About ===== */
.about-image {
    aspect-ratio: 3/4;
    background-image:
        linear-gradient(180deg, transparent 30%, rgba(10, 9, 8, 0.8) 100%),
        url('../img/ip0.jpg');
    background-size: cover;
    background-position: center;
    filter: saturate(0.6) contrast(1.1);
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(200, 65, 11, 0.15), transparent 50%);
    mix-blend-mode: overlay;
}

.about-image-caption {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--ink);
    z-index: 2;
    border-left: 2px solid var(--accent);
    padding-left: 1rem;
}

.about-title {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
}

.about-title em {
    font-style: italic;
    color: var(--accent);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--ink-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text p:first-child::first-letter {
    font-family: var(--serif);
    font-size: 2.5rem;
    float: left;
    line-height: 0.85;
    margin-right: 0.5rem;
    margin-top: 0rem;
    color: var(--accent);
    font-style: italic;
}

/* ===== Featured Film ===== */
.featured {
    background: var(--bg-deeper);
    overflow: hidden;
}

.film-title-massive {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(3rem, 14vw, 3.5rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.film-title-massive em {
    font-style: italic;
    color: var(--accent);
}

.film-tagline {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--ink-muted);
    margin-bottom: 2rem;
    max-width: 700px;
    line-height: 1.4;
}

.film-poster {
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;

    cursor: pointer;
    background: var(--bg-deeper);
}

.film-poster-thumb {
    position: absolute;
    inset: 0;
    background-image: url('https://i.ytimg.com/vi/xXNNlw6n3R8/maxresdefault.jpg');
    background-size: cover;
    background-position: center;
    filter: saturate(0.9) contrast(1.1);
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1), filter 0.6s ease;
}

.film-poster:hover .film-poster-thumb {
    transform: scale(1.04);
    filter: saturate(1) contrast(1.15);
}

.film-poster::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
}

.film-poster::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 3px,
            rgba(255, 255, 255, 0.015) 3px,
            rgba(255, 255, 255, 0.015) 6px);
    pointer-events: none;
}

.poster-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3;
    text-align: center;
    padding: 2rem;
    pointer-events: none;
}

.play-icon {
    width: 90px;
    height: 90px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    position: relative;
    background: rgba(10, 9, 8, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.play-icon::before {
    content: '';
    position: absolute;
    inset: -10px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.film-poster:hover .play-icon {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1);
}

.play-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--ink);
    margin-left: 4px;
}

.poster-label {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--ink);
    letter-spacing: 0.1em;
}

.poster-corner {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 3;
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(244, 237, 228, 0.3);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.poster-corner.right {
    left: auto;
    right: 2rem;
}

.film-credits {
    padding: 3rem 0;
    border-top: 1px solid var(--ink-dim);
    border-bottom: 1px solid var(--ink-dim);
    margin: 3rem 0;
    --bs-gutter-y: 2rem;
}

.credit-item .label {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 0.5rem;
}

.credit-item .name {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.3;
}

.film-description {
    margin-top: 4rem;
    --bs-gutter-x: 5rem;
}

.film-description h3 {
    font-family: var(--serif);
    font-weight: 300;
    font-style: italic;
    font-size: 2rem;
}

.film-description p {
    color: var(--ink-muted);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.film-ctas {
    margin-top: 4rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ===== Gallery ===== */
.gallery {
    padding: 6rem 0;
    background: var(--bg);
}

.gallery-header {
    margin-bottom: 5rem;
}

.gallery-title {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    max-width: 800px;
}

.gallery-title em {
    font-style: italic;
    color: var(--accent);
}

.gallery-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 0 3rem 2rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--ink-dim) var(--bg-deeper);
    -webkit-overflow-scrolling: touch;
}

.gallery-track::-webkit-scrollbar {
    height: 4px;
}

.gallery-track::-webkit-scrollbar-track {
    background: var(--bg-deeper);
}

.gallery-track::-webkit-scrollbar-thumb {
    background: var(--ink-dim);
}

.gallery-item {
    flex: 0 0 auto;
    width: 480px;
    aspect-ratio: 4/5;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    cursor: pointer;
    border: 0;
    background: transparent;
}

.gallery-item:nth-child(even) {
    margin-top: 4rem;
}

.gallery-item-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(0.6) contrast(1.1) brightness(0.85);
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1), filter 0.6s ease;
}

.gallery-item:hover .gallery-item-img,
.gallery-item:focus-visible .gallery-item-img {
    transform: scale(1.08);
    filter: saturate(0.85) contrast(1.15) brightness(0.95);
}

.gallery-item:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.85));
    z-index: 1;
    pointer-events: none;
}

.gallery-caption {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    z-index: 2;
    pointer-events: none;
}

.gallery-caption .num {
    font-family: var(--serif);
    font-style: italic;
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: block;
}

.gallery-caption .title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.2;
}

/* ===== Lightbox Modal ===== */
.lightbox-modal {
    background: rgba(0, 0, 0, 0.97);
}

.lightbox-modal .modal-dialog {
    max-width: 1400px;
    padding: 0 1rem;
}

.lightbox-modal-content {
    background: transparent;
    border: 0;
    position: relative;
}

.lightbox-image-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    max-height: 80vh;
}

.lightbox-image-wrap img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    display: block;
    filter: saturate(0.85) contrast(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transition: opacity 0.3s ease;
}

.lightbox-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0.25rem 0;
    border-top: 1px solid rgba(244, 237, 228, 0.12);
    margin-top: 1.5rem;
}

.lightbox-counter {
    font-family: var(--serif);
    font-style: italic;
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.lightbox-caption {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--ink);
}

.lightbox-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: transparent;
    border: 1px solid rgba(244, 237, 228, 0.4);
    color: var(--ink);
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lightbox-close:hover {
    border-color: var(--accent);
    color: var(--accent-glow);
}

.lightbox-close svg {
    width: 16px;
    height: 16px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 9, 8, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(244, 237, 228, 0.2);
    color: var(--ink);
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
}

.lightbox-nav:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--ink);
}

.lightbox-nav svg {
    width: 22px;
    height: 22px;
}

.lightbox-nav.prev {
    left: -4rem;
}

.lightbox-nav.next {
    right: -4rem;
}

/* ===== Create (What We Do) ===== */
.create-header {
    max-width: 700px;
    margin-bottom: 5rem;
}

.create-header h2 {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.create-header h2 em {
    font-style: italic;
    color: var(--accent);
}

.create-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.create-list li {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 3rem;
    align-items: center;
    padding: 2.5rem 0;
    border-top: 1px solid var(--ink-dim);
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    position: relative;
}

.create-list li:last-child {
    border-bottom: 1px solid var(--ink-dim);
}

.create-list li::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200, 65, 11, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.create-list li:hover {
    padding-left: 2rem;
}

.create-list li:hover::before {
    opacity: 1;
}

.create-list li:hover .create-num {
    color: var(--accent);
}

.create-list li:hover .create-title {
    color: var(--ink);
}

.create-num {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--ink-dim);
    transition: color 0.4s ease;
}

.create-title {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--ink-muted);
    transition: color 0.4s ease;
}

.create-arrow {
    color: var(--ink-dim);
    font-size: 1.5rem;
    transition: all 0.4s ease;
}

.create-list li:hover .create-arrow {
    color: var(--accent);
    transform: rotate(-45deg);
}

/* ===== Quote ===== */
.quote-section {
    text-align: center;
    padding: 12rem 3rem;
    background:
        linear-gradient(180deg, rgba(5, 4, 3, 0.92), rgba(5, 4, 3, 0.97)),
        url('https://i.ytimg.com/vi/xXNNlw6n3R8/maxresdefault.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.quote-section blockquote {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.2;
    max-width: 1100px;
    margin: 0 auto 3rem;
    letter-spacing: -0.02em;
}

.quote-section blockquote::before,
.quote-section blockquote::after {
    color: var(--accent);
    font-size: 1.2em;
}

.quote-section blockquote::before {
    content: '"';
}

.quote-section blockquote::after {
    content: '"';
}

.quote-author {
    font-family: var(--sans);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

/* ===== Festival ===== */
.festival-title {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
}

.festival-title em {
    font-style: italic;
    color: var(--accent);
}

.festival-text p {
    font-size: 1rem;
    color: var(--ink-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.festival-image {
    aspect-ratio: 4/5;
    background-image:
        linear-gradient(135deg, rgba(200, 65, 11, 0.2), transparent 60%),
        url('../img/ip1.jpg');
    background-size: cover;
    background-position: center;
    filter: saturate(0.6) contrast(1.1);
    position: relative;
    overflow: hidden;
}

.festival-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 3px,
            rgba(0, 0, 0, 0.05) 3px,
            rgba(0, 0, 0, 0.05) 6px);
}

/* ===== Contact ===== */
.contact {
    background: var(--bg-deeper);
    padding: 6rem 3rem;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 65, 11, 0.12), transparent 70%);
    pointer-events: none;
}

.contact-inner {
    position: relative;
}

.contact-title {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(3rem, 8vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 4rem;
}

.contact-title em {
    font-style: italic;
    color: var(--accent);
}

.contact-grid {
    margin-bottom: 5rem;
}

.contact-block .label {
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 1.5rem;
}

.contact-block a {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    color: var(--ink);
    position: relative;
    display: inline-block;
    transition: color 0.4s ease;
}

.contact-block a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--ink-dim);
    transition: background 0.4s ease;
}

.contact-block a:hover {
    color: var(--accent);
}

.contact-block a:hover::after {
    background: var(--accent);
}

.socials {
    display: flex;
    gap: 3rem;
    padding-top: 4rem;
    border-top: 1px solid var(--ink-dim);
}

.socials a {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ink-muted);
    transition: color 0.3s ease;
}

.socials a::after {
    content: '↗';
    margin-left: 0.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.socials a:hover {
    color: var(--accent);
}

.socials a:hover::after {
    transform: translate(2px, -2px);
}

/* ===== Footer ===== */
.site-footer {
    padding: 3rem;
    border-top: 1px solid var(--ink-dim);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.9rem;
    color: var(--ink-muted);
}

.footer-meta {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

/* ===== Responsive ===== */

/* ---- Short viewports (laptops at 100% zoom, 768-900px height) ---- */
@media (max-height: 850px) and (min-width: 768px) {
    .hero-content {
        padding: 95px 3rem 70px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 6.5vw, 5.5rem);
    }

    .hero-tagchip {
        margin-bottom: 1.25rem;
    }

    .hero-sub {
        margin-bottom: 1.5rem;
    }

    .cinema-bar {
        height: 40px;
    }

    .site-nav {
        top: 0px;
        padding: 1rem 3rem;
    }

    .corner-mark.tl,
    .corner-mark.tr {
        top: 100px;
    }

    .corner-mark.bl,
    .corner-mark.br {
        bottom: 60px;
    }
}

@media (max-height: 720px) and (min-width: 768px) {
    .hero-title {
        font-size: clamp(2.25rem, 5.5vw, 4.5rem);
        margin-bottom: 1.25rem;
    }

    .hero-sub {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .hero-content {
        padding: 85px 3rem 60px;
    }
}

@media screen and (max-width: 1366px) and (min-width: 1280px) {
    section {
        padding: 6rem 3rem;
    }
}

/* ---- Large tablets / small desktops ---- */
@media (max-width: 1199.98px) {
    section {
        padding: 8rem 2.5rem;
    }

    .hero-content {
        padding: 100px 2.5rem 80px;
    }

    .hero-bottom {
        grid-template-columns: 1fr auto;
        gap: 1.25rem;
    }

    .now-playing-info {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .quote-section {
        padding: 10rem 2.5rem;
    }

    .contact {
        padding: 8rem 2.5rem;
    }
}

/* ---- Tablets ---- */
@media (max-width: 991.98px) {
    .site-nav {
        top: 0px;
        padding: 1rem 1.5rem;
    }

    section {
        padding: 6rem 1.5rem;
    }

    .hero-content {
        padding: 90px 1.5rem 70px;
    }

    .cinema-bar {
        padding: 0 1.5rem;
        height: 40px;
    }

    .bar-meta,
    .bar-rec {
        font-size: 0.55rem;
        letter-spacing: 0.3em;
    }

    .corner-mark.tl,
    .corner-mark.tr {
        top: 100px;
    }

    .corner-mark.bl,
    .corner-mark.br {
        bottom: 56px;
    }

    .corner-mark.tl,
    .corner-mark.bl {
        left: 1.5rem;
    }

    .corner-mark.tr,
    .corner-mark.br {
        right: 1.5rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 5rem);
    }

    .hero-sub {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-bottom {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .hero-bottom .play-full {
        justify-self: start;
    }

    .now-playing-info {
        flex-wrap: wrap;
        gap: 0.75rem 1.25rem;
    }

    .now-playing-title {
        font-size: 0.95rem;
        white-space: normal;
    }

    /* About */
    .about-title {
        margin-bottom: 2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    /* Featured film */
    .film-title-massive {
        font-size: clamp(2.5rem, 12vw, 3rem);
    }

    .film-tagline {
        margin-bottom: 2.5rem;
    }

    .film-poster {
        margin: 2.5rem 0;
    }

    .play-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }

    .play-icon svg {
        width: 22px;
        height: 22px;
    }

    .poster-label {
        font-size: 0.95rem;
    }

    .poster-corner {
        font-size: 0.6rem;
        padding: 0.4rem 0.75rem;
        top: 1.25rem;
        left: 1.25rem;
    }

    .poster-corner.right {
        left: auto;
        right: 1.25rem;
    }

    .film-description h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .film-description {
        --bs-gutter-x: 2rem;
    }

    .create-list li {
        grid-template-columns: 50px 1fr auto;
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .create-list li:hover {
        padding-left: 1rem;
    }

    /* Quote */
    .quote-section {
        padding: 6rem 1.5rem;
        background-attachment: scroll;
    }

    .quote-section blockquote {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        margin-bottom: 2rem;
    }

    /* Festival */
    .festival-image {
        aspect-ratio: 16/10;
    }

    /* Contact */
    .contact {
        padding: 6rem 1.5rem;
    }

    .contact-title {
        margin-bottom: 2.5rem;
    }

    .contact-grid {
        margin-bottom: 3rem;
    }

    .site-footer {
        padding: 2rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .socials {
        gap: 1.5rem;
        flex-wrap: wrap;
        padding-top: 2.5rem;
    }

    .hero-ctas {
        gap: 1rem;
    }

    .btn-cine {
        padding: 0.85rem 1.5rem;
        font-size: 0.7rem;
    }

    .sound-toggle,
    .play-full {
        padding: 0.6rem 1rem;
        font-size: 0.6rem;
    }

    /* Gallery */
    .gallery {
        padding: 6rem 0;
    }

    .gallery-header {
        padding: 0 1.5rem;
        margin-bottom: 3rem;
    }

    .gallery-track {
        padding: 0 1.5rem 2rem;
        gap: 1rem;
    }

    .gallery-item {
        width: 320px;
    }

    .gallery-item:nth-child(even) {
        margin-top: 2rem;
    }

    .gallery-caption .title {
        font-size: 1.15rem;
    }

    /* Lightbox */
    .lightbox-nav.prev {
        left: 0.5rem;
    }

    .lightbox-nav.next {
        right: 0.5rem;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .lightbox-nav svg {
        width: 18px;
        height: 18px;
    }

    .lightbox-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .lightbox-caption {
        font-size: 0.95rem;
    }

    .marquee {
        padding: 1.5rem 0;
    }

    .marquee-track {
        gap: 2.5rem;
    }

    .marquee-item {
        gap: 2.5rem;
    }
}

/* ---- Mobile (phones landscape / small tablets) ---- */
@media (max-width: 767.98px) {
    .site-nav {
        top: 0px;
        padding: 0.85rem 1.25rem;
    }

    .logo {
        font-size: 0.95rem;
        letter-spacing: 0.25em;
    }

    .nav-right { gap: 1rem; }

    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .menu-toggle span { width: 16px; }
    .menu-toggle span:nth-child(2) { width: 10px; margin-left: 6px; }
    .menu-toggle:hover span:nth-child(2),
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { width: 16px; margin-left: 0; }

    .side-menu.offcanvas {
        width: 100% !important;
        max-width: 100%;
    }

    .side-menu-inner { padding: 1.5rem 1.5rem 2rem; }

    .side-menu-header {
        margin-bottom: 1.75rem;
        padding-bottom: 1.25rem;
    }

    .side-menu-nav a {
        grid-template-columns: 34px 1fr 20px;
        gap: 0.85rem;
        padding: 1.1rem 0;
        font-size: clamp(1.4rem, 6vw, 1.7rem);
    }

    .side-menu-nav a .num { font-size: 0.7rem; }
    .side-menu-footer { margin-top: 2rem; gap: 1.25rem; }
    .side-menu-contact a { font-size: 0.95rem; }
    .side-menu-socials { gap: 1rem 1.25rem; }
    .side-menu-socials a { font-size: 0.6rem; letter-spacing: 0.25em; }

    section {
        padding: 5rem 1.25rem;
    }

    .hero {
        min-height: 100vh;
    }

    .hero-content {
        padding: 80px 1.25rem 60px;
    }

    .cinema-bar {
        height: 36px;
        padding: 0 1.25rem;
    }

    .corner-mark {
        width: 18px;
        height: 18px;
    }

    .corner-mark.tl,
    .corner-mark.tr {
        top: 90px;
    }

    .corner-mark.bl,
    .corner-mark.br {
        bottom: 50px;
    }

    .corner-mark.tl,
    .corner-mark.bl {
        left: 1.25rem;
    }

    .corner-mark.tr,
    .corner-mark.br {
        right: 1.25rem;
    }

    .hero-tagchip {
        font-size: 0.6rem;
        padding: 0.4rem 0.85rem;
        letter-spacing: 0.3em;
        margin-bottom: 1.25rem;
    }

    .hero-title {
        font-size: clamp(2.25rem, 11vw, 3.5rem);
        line-height: 1;
        margin-bottom: 1.25rem;
    }

    .hero-sub {
        font-size: 1rem;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    .hero-bottom {
        gap: 1rem;
        padding-top: 1.25rem;
    }

    .hero-bottom .play-full {
        width: fit-content;
    }

    .now-playing-info {
        gap: 0.5rem 1rem;
    }

    .now-playing-title {
        font-size: 0.9rem;
        white-space: normal;
        line-height: 1.4;
    }

    .now-playing-label {
        font-size: 0.6rem;
        letter-spacing: 0.3em;
    }

    /* About */
    .about-title {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
        margin-bottom: 1.5rem;
    }

    .about-text p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .about-text p:first-child::first-letter {
        font-size: 3rem;
    }

    .about-image {
        aspect-ratio: 4/5;
    }

    .about-image-caption {
        bottom: 1.25rem;
        left: 1.25rem;
        right: 1.25rem;
        font-size: 0.85rem;
    }

    /* Featured */
    .featured .container-xxl {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .film-title-massive {
        font-size: clamp(2.75rem, 14vw, 3.5rem);
        margin-bottom: 0.75rem;
    }

    .film-tagline {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .film-poster {
        aspect-ratio: 4/3;
        margin: 2rem 0;
    }

    .play-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1rem;
    }

    .play-icon svg {
        width: 18px;
        height: 18px;
    }

    .poster-corner {
        display: none;
    }

    .poster-label {
        font-size: 0.85rem;
    }

    .film-credits {
        padding: 2rem 0;
        margin: 2rem 0;
        --bs-gutter-y: 1.5rem;
    }

    .credit-item .label {
        font-size: 0.6rem;
        letter-spacing: 0.25em;
    }

    .credit-item .name {
        font-size: 1.05rem;
    }

    .film-description {
        margin-top: 2.5rem;
    }

    .film-description h3 {
        font-size: 1.4rem;
    }

    .film-description p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .film-ctas {
        margin-top: 2.5rem;
        gap: 0.75rem;
    }

    .btn-cine {
        width: 100%;
        justify-content: space-between;
        padding: 0.95rem 1.25rem;
    }

    /* Gallery */
    .gallery-title {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }

    .gallery-item {
        width: 80vw;
        max-width: 320px;
    }

    .gallery-track {
        padding: 0 1.25rem 1.5rem;
    }

    /* Create */
    .create-header h2 {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        margin-bottom: 1.5rem;
    }

    .create-header {
        margin-bottom: 3rem;
    }

    .create-list li {
        grid-template-columns: 36px 1fr 20px;
        gap: 0.75rem;
        padding: 1.25rem 0;
    }

    .create-list li:hover {
        padding-left: 0.5rem;
    }

    .create-num {
        font-size: 1.05rem;
    }

    .create-title {
        font-size: clamp(1.05rem, 4.5vw, 1.5rem);
    }

    .create-arrow {
        font-size: 1.1rem;
    }

    /* Quote */
    .quote-section {
        padding: 5rem 1.25rem;
    }

    .quote-section blockquote {
        font-size: clamp(1.35rem, 5.5vw, 2rem);
        margin-bottom: 1.5rem;
    }

    /* Festival */
    .festival-title {
        font-size: clamp(1.85rem, 7vw, 2.5rem);
        margin-bottom: 1.5rem;
    }

    .festival-text p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Contact */
    .contact {
        padding: 5rem 1.25rem;
    }

    .contact-title {
        font-size: clamp(2.25rem, 11vw, 3.5rem);
        margin-bottom: 2.5rem;
    }

    .contact-block .label {
        font-size: 0.6rem;
        letter-spacing: 0.3em;
        margin-bottom: 0.85rem;
    }

    .contact-block a {
        font-size: clamp(1.15rem, 5vw, 1.6rem);
        word-break: break-word;
    }

    .contact-grid {
        margin-bottom: 2.5rem;
    }

    .socials {
        gap: 1rem 1.5rem;
        padding-top: 2rem;
    }

    .socials a {
        font-size: 0.7rem;
        letter-spacing: 0.25em;
    }

    /* Footer */
    .site-footer {
        padding: 1.75rem 1.25rem;
        gap: 0.5rem;
    }

    .footer-brand {
        font-size: 0.8rem;
    }

    .footer-meta {
        font-size: 0.6rem;
        letter-spacing: 0.25em;
    }

    /* Trailer modal */
    .trailer-close {
        top: -2.5rem;
        width: 36px;
        height: 36px;
    }

    .trailer-close svg {
        width: 14px;
        height: 14px;
    }

    /* Lightbox */
    .lightbox-close {
        top: -2.5rem;
        width: 36px;
        height: 36px;
    }

    .lightbox-nav {
        width: 36px;
        height: 36px;
    }

    .lightbox-image-wrap {
        min-height: 40vh;
        max-height: 60vh;
    }

    /* Marquee */
    .marquee {
        padding: 1.25rem 0;
    }

    .marquee-track {
        gap: 2rem;
    }

    .marquee-item {
        gap: 2rem;
        font-size: clamp(1.15rem, 4.5vw, 1.6rem);
    }

    /* Side menu mobile */
    .nav-right { gap: 1rem; }
    .menu-toggle { width: 40px; height: 40px; }
    .menu-toggle span { width: 16px; }
    .menu-toggle span:nth-child(2) { width: 10px; margin-left: 6px; }

    .side-menu-inner { padding: 1.5rem 1.5rem 2rem; }
    .side-menu-header { padding-bottom: 1.25rem; margin-bottom: 2rem; }
    .side-menu-tag { font-size: 0.6rem; letter-spacing: 0.3em; }
    .side-menu-tag::before { width: 20px; }
    .side-menu-close { width: 36px; height: 36px; }

    .side-menu-nav a {
        grid-template-columns: 36px 1fr 22px;
        gap: 1rem;
        padding: 1.15rem 0;
        font-size: clamp(1.35rem, 5.5vw, 1.65rem);
    }
    .side-menu-nav a .num { font-size: 0.7rem; }

    .side-menu-footer { margin-top: 2rem; padding-top: 1.5rem; gap: 1.25rem; }
    .side-menu-contact a { font-size: 1rem; }
}

/* ---- Small phones ---- */
@media (max-width: 480px) {
    .site-nav {
        top: 0px;
        padding: 0.7rem 1rem;
        mix-blend-mode: normal;
        background: linear-gradient(180deg, rgba(10, 9, 8, 0.85), transparent);
    }

    .logo {
        font-size: 0.85rem;
        letter-spacing: 0.22em;
    }

    section {
        padding: 4.5rem 1rem;
    }

    .hero-content {
        padding: 80px 1rem 56px;
    }

    .cinema-bar {
        padding: 0 1rem;
        height: 32px;
    }

    .corner-mark.tl,
    .corner-mark.bl {
        left: 1rem;
    }

    .corner-mark.tr,
    .corner-mark.br {
        right: 1rem;
    }

    .corner-mark.tl,
    .corner-mark.tr {
        top: 80px;
    }

    .corner-mark.bl,
    .corner-mark.br {
        bottom: 44px;
    }

    .bar-meta,
    .bar-rec {
        font-size: 0.5rem;
        letter-spacing: 0.25em;
    }

    .hero-tagchip {
        font-size: 0.55rem;
        padding: 0.35rem 0.7rem;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 2.75rem);
    }

    .hero-sub {
        font-size: 1rem;
    }

    .featured .container-xxl,
    .about .container-xxl,
    .create .container-xxl,
    .festival .container-xxl,
    .contact .container-xxl,
    .gallery-header {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .film-poster {
        aspect-ratio: 5/4;
    }

    .play-icon {
        width: 48px;
        height: 48px;
    }

    .play-icon svg {
        width: 15px;
        height: 15px;
    }

    .play-icon::before {
        inset: -6px;
    }

    .gallery-track {
        padding: 0 1rem 1.5rem;
    }

    .gallery-item {
        width: 85vw;
    }

    .create-list li {
        grid-template-columns: 30px 1fr 18px;
        gap: 0.6rem;
        padding: 1.1rem 0;
    }

    .create-num {
        font-size: 0.95rem;
    }

    .quote-section {
        padding: 4.5rem 1rem;
    }

    .contact {
        padding: 4.5rem 1rem;
    }

    .site-footer {
        padding: 1.5rem 1rem;
    }

    .socials {
        gap: 0.75rem 1.25rem;
    }
}

/* ---- Very small phones (<360px) ---- */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.85rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .hero-tagchip {
        letter-spacing: 0.25em;
    }

    .now-playing-title {
        font-size: 0.85rem;
    }

    .play-full {
        padding: 0.6rem 0.85rem;
        font-size: 0.55rem;
        letter-spacing: 0.25em;
    }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {

    .hero-main,
    .hero-sub,
    .hero-ctas,
    .hero-bottom,
    .cinema-bar,
    .hero-title .line span {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}