:root {
    color-scheme: dark;
    --gold: #f2d48b;
    --ink: #050505;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
}

::selection {
    background: rgba(242, 212, 139, 0.85);
    color: #050505;
}

.site-header {
    transition: background-color 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
    background: rgba(0, 0, 0, 0.88);
    border-color: rgba(255, 255, 255, 0.16);
}

.nav-link {
    position: relative;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(244, 244, 245, 0.72);
    transition: color 180ms ease;
}

.nav-link::after {
    position: absolute;
    right: 0;
    bottom: -0.55rem;
    left: 0;
    height: 1px;
    content: "";
    background: var(--gold);
    opacity: 0;
    transform: scaleX(0.3);
    transition: opacity 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #fff;
}

.nav-link:hover::after,
.nav-link.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-0.5rem);
    transition: max-height 260ms ease, opacity 220ms ease, transform 220ms ease;
}

.mobile-menu.is-open {
    max-height: 30rem;
    opacity: 1;
    transform: translateY(0);
}

.hero-media {
    background:
        radial-gradient(circle at 18% 22%, rgba(242, 212, 139, 0.2), transparent 28%),
        radial-gradient(circle at 82% 34%, rgba(148, 163, 184, 0.14), transparent 30%),
        linear-gradient(135deg, #050505 0%, #14110d 44%, #050505 100%);
}

.hero-poster {
    background-image: url("../img/hero-cinematic.webp");
    background-position: center center;
    background-size: cover;
    filter: saturate(0.88) contrast(1.16) brightness(0.78);
    opacity: 0.82;
    transform: scale(1.04);
    animation: heroPosterDrift 22s ease-in-out infinite alternate;
}

.hero-video {
    filter: saturate(0.94) contrast(1.08) brightness(0.74);
}

.hero-visual {
    overflow: hidden;
    background:
        linear-gradient(105deg, rgba(242, 212, 139, 0.12), transparent 28%, rgba(255, 255, 255, 0.06) 46%, transparent 64%),
        radial-gradient(circle at 72% 18%, rgba(242, 212, 139, 0.18), transparent 24%),
        radial-gradient(circle at 16% 72%, rgba(148, 163, 184, 0.13), transparent 30%);
    mix-blend-mode: screen;
    opacity: 0.48;
}

.hero-visual::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 78%);
    opacity: 0.18;
}

.hero-visual::after {
    position: absolute;
    top: -18%;
    bottom: -18%;
    left: -28%;
    width: min(34rem, 58vw);
    content: "";
    background: linear-gradient(90deg, transparent, rgba(242, 212, 139, 0.13), rgba(255, 255, 255, 0.11), transparent);
    filter: blur(10px);
    transform: skewX(-18deg);
    animation: heroLightSweep 10s ease-in-out infinite;
}

@keyframes heroPosterDrift {
    from {
        transform: scale(1.04) translate3d(-1.2%, -0.6%, 0);
    }

    to {
        transform: scale(1.11) translate3d(1.2%, 0.8%, 0);
    }
}

@keyframes heroLightSweep {
    0%,
    28% {
        transform: translateX(0) skewX(-18deg);
        opacity: 0;
    }

    52% {
        opacity: 1;
    }

    82%,
    100% {
        transform: translateX(185vw) skewX(-18deg);
        opacity: 0;
    }
}

.production-archive-visual {
    background:
        radial-gradient(circle at 18% 16%, rgba(242, 212, 139, 0.18), transparent 28%),
        radial-gradient(circle at 84% 10%, rgba(120, 113, 108, 0.22), transparent 32%),
        linear-gradient(135deg, #050505 0%, #18181b 48%, #050505 100%);
}

.production-archive-visual::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 90px 90px;
    opacity: 0.16;
}

.production-detail-visual {
    background:
        radial-gradient(circle at 12% 22%, rgba(242, 212, 139, 0.2), transparent 26%),
        radial-gradient(circle at 82% 26%, rgba(255, 255, 255, 0.11), transparent 24%),
        linear-gradient(120deg, #050505 0%, #181512 44%, #050505 100%);
}

.production-detail-visual::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.14;
}

.about-visual,
.team-visual,
.contact-visual,
.news-visual {
    background:
        radial-gradient(circle at 18% 18%, rgba(242, 212, 139, 0.19), transparent 28%),
        radial-gradient(circle at 82% 22%, rgba(148, 163, 184, 0.13), transparent 30%),
        linear-gradient(135deg, #050505 0%, #171717 48%, #080605 100%);
}

.team-visual {
    background:
        radial-gradient(circle at 20% 16%, rgba(242, 212, 139, 0.16), transparent 26%),
        radial-gradient(circle at 80% 20%, rgba(113, 113, 122, 0.2), transparent 28%),
        linear-gradient(135deg, #050505 0%, #111827 42%, #050505 100%);
}

.about-visual::before,
.team-visual::before,
.contact-visual::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 84px 84px;
    opacity: 0.15;
}

.contact-visual {
    background:
        radial-gradient(circle at 18% 20%, rgba(242, 212, 139, 0.18), transparent 28%),
        radial-gradient(circle at 82% 24%, rgba(148, 163, 184, 0.16), transparent 28%),
        linear-gradient(135deg, #050505 0%, #15110b 46%, #050505 100%);
}

.news-visual {
    background:
        radial-gradient(circle at 18% 18%, rgba(242, 212, 139, 0.16), transparent 27%),
        radial-gradient(circle at 82% 18%, rgba(120, 113, 108, 0.2), transparent 30%),
        linear-gradient(135deg, #050505 0%, #18181b 46%, #050505 100%);
}

.news-visual::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 88px 88px;
    opacity: 0.14;
}

.detail-poster {
    transform: perspective(1200px) rotateY(-2deg);
}

.info-panel {
    min-height: 20rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg, rgba(39, 39, 42, 0.88), rgba(5, 5, 5, 0.96));
    padding: 1.5rem;
    transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.info-panel:hover,
.team-card:hover {
    border-color: rgba(242, 212, 139, 0.5);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    transform: translateY(-0.3rem);
}

.team-card {
    transform: translateY(0);
    transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.contact-panel,
.contact-card {
    transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.contact-panel:hover,
.contact-card:hover {
    border-color: rgba(242, 212, 139, 0.45);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.contact-card {
    min-height: 16rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg, rgba(39, 39, 42, 0.88), rgba(5, 5, 5, 0.96));
    padding: 1.5rem;
}

.field-label {
    display: grid;
    gap: 0.65rem;
}

.field-label span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(242, 212, 139, 0.82);
}

.field-control {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.38);
    padding: 0.95rem 1rem;
    color: #fff;
    outline: none;
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.field-control::placeholder {
    color: rgba(161, 161, 170, 0.68);
}

.field-control:focus {
    border-color: rgba(242, 212, 139, 0.72);
    background: rgba(0, 0, 0, 0.55);
    box-shadow: 0 0 0 3px rgba(242, 212, 139, 0.12);
}

.texture-grid {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 36px 36px;
}

.production-card {
    transform: translateY(0);
    transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.production-card:hover {
    border-color: rgba(242, 212, 139, 0.55);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
    transform: translateY(-0.35rem);
}

.news-card {
    transform: translateY(0);
    transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.news-card:hover {
    border-color: rgba(242, 212, 139, 0.5);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    transform: translateY(-0.35rem);
}

.social-link {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.72);
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.social-link:hover {
    color: #050505;
    border-color: var(--gold);
    background: var(--gold);
    transform: translateY(-0.15rem);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(1.4rem);
    transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .hero-poster,
    .hero-visual::after {
        animation: none;
    }
}
