/* =========================================
   OFFBRAND — GLOBAL STYLES
========================================= */

:root {
    --background: #111216;
    --surface: #1c1d23;
    --surface-light: #24252c;

    --text: #f2f0ec;
    --muted: #a5a3a0;

    --accent: #b65b55;
    --accent-light: #d27b72;

    /* brighter accent for text on the always-dark photo banners */
    --accent-bright: #d27b72;

    /* same colours as "r, g, b" so they can be used with transparency */
    --accent-rgb: 182, 91, 85;
    --accent-bright-rgb: 210, 123, 114;

    --border: #303139;

    --nav-background: rgba(25, 26, 32, 0.78);

    --font-heading: 'DM Sans', sans-serif;
    --font-serif: 'Playfair Display', serif;

    --transition: 0.4s cubic-bezier(.22, 1, .36, 1);
}

/* LIGHT THEME */

body.light-theme {
    --background: #f4f1eb;
    --surface: #ffffff;
    --surface-light: #eae5dd;

    --text: #242424;
    --muted: #77736d;

    --accent: #8b302d;
    --accent-light: #a94a45;

    --border: #e2ddd4;

    --nav-background: rgba(255, 255, 255, 0.82);
}

/* RESET */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: var(--font-heading);
    overflow-x: hidden;

    transition:
        background 0.5s ease,
        color 0.5s ease;
}

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

button {
    font: inherit;
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

::selection {
    background: var(--accent);
    color: white;
}

/* =========================================
   NAVIGATION
========================================= */

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;

    transform: translateX(-50%);

    width: min(1450px, calc(100% - 70px));
    min-height: 75px;
    padding: 0 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: var(--nav-background);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid var(--border);
    border-radius: 16px;

    z-index: 1000;

    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-symbol {
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    background: var(--accent);
    color: white;

    border-radius: 9px;

    font-weight: 700;
    font-size: 21px;
}

.logo-name {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: calc(3px * var(--ob-label-tracking, 1));
}

.logo-dot {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    position: relative;

    padding: 11px 12px;

    font-size: 12px;
    font-weight: 600;

    white-space: nowrap;
    color: var(--muted);

    border-radius: 8px;

    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
    background: var(--surface-light);
}

.nav-links a.active::after {
    content: "";

    position: absolute;
    bottom: 4px;
    left: 50%;

    transform: translateX(-50%);

    width: 15px;
    height: 2px;

    background: var(--accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: transparent;
    color: var(--text);

    cursor: pointer;
    font-size: 21px;

    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: rotate(25deg);
}

.menu-toggle {
    display: none;

    width: 40px;
    height: 40px;

    background: transparent;
    border: none;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 23px;
    height: 2px;

    margin: 6px auto;

    background: var(--text);

    transition: var(--transition);
}

/* =========================================
   GENERAL COMPONENTS
========================================= */

.section-padding {
    padding: 120px max(8%, calc((100% - 1400px) / 2));
}

.section-label {
    display: block;

    color: var(--accent-light);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: calc(2.5px * var(--ob-label-tracking, 1));
}

.section-side-label {
    color: var(--muted);

    font-size: 10px;
    letter-spacing: calc(2px * var(--ob-label-tracking, 1));
}

.accent,
.accent-text {
    color: var(--accent-light);
}

.serif-text {
    font-family: var(--font-serif);
    font-weight: 500;
    font-style: italic;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;

    padding: 16px 22px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: calc(1px * var(--ob-label-tracking, 1));

    border-radius: 5px;

    transition: var(--transition);
}

.button span {
    font-size: 17px;
    transition: var(--transition);
}

.button:hover span {
    transform: translate(4px, -4px);
}

.button-primary {
    background: var(--accent);
    color: white;
}

.button-primary:hover {
    background: var(--accent-light);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(var(--accent-rgb), 0.25);
}

.button-outline {
    border: 1px solid var(--border);
    color: var(--text);
}

.button-outline:hover {
    border-color: var(--accent);
    background: var(--surface);
    transform: translateY(-4px);
}

.text-button {
    display: inline-flex;
    gap: 12px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: calc(1px * var(--ob-label-tracking, 1));

    transition: var(--transition);
}

.text-button:hover {
    color: var(--accent-light);
}

.text-button span {
    transition: var(--transition);
}

.text-button:hover span {
    transform: translateX(5px);
}

.underlined-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;

    width: fit-content;
    padding-bottom: 9px;

    border-bottom: 1px solid var(--accent);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: calc(1.5px * var(--ob-label-tracking, 1));

    transition: var(--transition);
}

.underlined-link span {
    transition: var(--transition);
}

.underlined-link:hover {
    color: var(--accent-light);
}

.underlined-link:hover span {
    transform: translate(4px, -4px);
}

/* =========================================
   HERO
========================================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #111216;
}

.hero-background {
    position: absolute;
    inset: 0;

    background-image:
        url("https://images.unsplash.com/photo-1485846234645-a62644f84728?auto=format&fit=crop&w=2200&q=90");

    background-size: cover;
    background-position: center;

    transform: scale(1.05);

    animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10, 10, 13, 0.94) 0%,
            rgba(10, 10, 13, 0.72) 48%,
            rgba(10, 10, 13, 0.2) 100%
        ),
        linear-gradient(
            0deg,
            rgba(10, 10, 13, 0.7),
            transparent 35%
        );
}

/* HERO SPACING FIX */

.hero-content {
    position: relative;
    z-index: 2;

    width: min(1200px, 85%);

    margin: 0 auto;

    padding-top: 90px;
    padding-bottom: 90px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 30px;

    color: #d1cbc3;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: calc(3px * var(--ob-label-tracking, 1));
}

.eyebrow-line {
    width: 40px;
    height: 1px;

    background: var(--accent-light);
}

.hero-title {
    font-size: calc(clamp(65px, 10vw, 145px) * var(--ob-display-scale, 1));

    line-height: 0.87;

    font-weight: 700;
    letter-spacing: calc(-7px * var(--ob-tracking, 1));

    color: #f2f0ec;
}

.title-line {
    display: block;
}

.title-outline {
    color: transparent;

    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);

    padding-left: 8%;
}

.hero-description {
    display: block;

    max-width: 420px;

    margin-top: 35px;

    color: #c1bdb8;

    font-size: 15px;
    line-height: 1.9;
}

.hero-buttons {
    position: relative;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 35px;

    margin-top: 38px;
}

.hero-buttons .button {
    flex-shrink: 0;
}

.hero-bottom {
    position: absolute;

    bottom: 35px;
    left: 7.5%;
    right: 7.5%;

    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #c1bdb8;

    font-size: 9px;
    letter-spacing: calc(2px * var(--ob-label-tracking, 1));
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 15px;
}

.scroll-line {
    width: 65px;
    height: 1px;

    background: var(--accent-light);

    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: "";

    position: absolute;
    inset: 0;

    background: white;

    animation: scrollLine 2s ease-in-out infinite;
}

.hero-side-text {
    position: absolute;

    right: 35px;
    top: 50%;

    transform: rotate(90deg) translateX(50%);
    transform-origin: right;

    color: rgba(255,255,255,0.6);

    font-size: 9px;
    letter-spacing: calc(3px * var(--ob-label-tracking, 1));
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.15); }
}

@keyframes scrollLine {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

/* =========================================
   INTRODUCTION
========================================= */

.intro {
    padding-top: 150px;
    padding-bottom: 150px;
}

.intro-top {
    display: flex;
    justify-content: space-between;

    padding-bottom: 35px;

    border-bottom: 1px solid var(--border);
}

.intro-content {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;

    gap: 70px;

    align-items: end;

    padding-top: 75px;
}

.intro-heading {
    font-size: calc(clamp(50px, 7vw, 95px) * var(--ob-display-scale, 1));

    line-height: 1.05;
    letter-spacing: calc(-4px * var(--ob-tracking, 1));
}

.intro-description {
    padding-bottom: 10px;
}

.small-line {
    display: block;

    width: 45px;
    height: 2px;

    margin-bottom: 25px;

    background: var(--accent);
}

.intro-description p {
    max-width: 360px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.9;

    margin-bottom: 30px;
}

/* =========================================
   FEATURED FILMS
========================================= */

.featured {
    background: var(--surface);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;

    margin-bottom: 55px;
}

.section-heading h2 {
    margin-top: 18px;

    font-size: calc(clamp(45px, 6vw, 75px) * var(--ob-display-scale, 1));

    letter-spacing: calc(-3px * var(--ob-tracking, 1));
}

.film-grid {
    display: grid;

    grid-template-columns: 1.25fr 1fr;

    gap: 55px 35px;
}

.film-large {
    grid-row: span 2;
}

.film-image {
    position: relative;

    height: 310px;

    overflow: hidden;

    background: var(--surface-light);
}

.film-large .film-image {
    height: 690px;
}

.film-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 1s cubic-bezier(.2, 1, .3, 1);
}

.film-card:hover .film-image img {
    transform: scale(1.09);
}

.film-index {
    position: absolute;

    top: 20px;
    left: 20px;

    color: white;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: calc(2px * var(--ob-label-tracking, 1));
}

.film-play {
    position: absolute;

    bottom: 20px;
    right: 20px;

    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    background: var(--accent);
    color: white;

    border-radius: 50%;

    font-size: 18px;

    opacity: 0;
    transform: translateY(15px);

    transition: var(--transition);
}

.film-card:hover .film-play {
    opacity: 1;
    transform: translateY(0);
}

.film-info {
    display: flex;
    justify-content: space-between;

    padding-top: 20px;
}

.film-info h3 {
    font-size: 16px;
    letter-spacing: calc(1px * var(--ob-label-tracking, 1));

    margin-bottom: 8px;
}

.film-info span {
    color: var(--muted);

    font-size: 10px;
    letter-spacing: calc(1px * var(--ob-label-tracking, 1));
}

.film-year {
    padding-top: 3px;
}

.films-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 65px;
    padding-top: 25px;

    border-top: 1px solid var(--border);
}

.films-bottom > span {
    color: var(--muted);

    font-size: 10px;
    letter-spacing: calc(2px * var(--ob-label-tracking, 1));
}

/* =========================================
   ABOUT PREVIEW
========================================= */

.about-preview {
    display: grid;

    grid-template-columns: 1fr 1fr;

    min-height: 650px;
}

.about-image {
    position: relative;
    overflow: hidden;
}

.about-image img {
    height: 100%;
    min-height: 650px;
}

.image-caption {
    position: absolute;

    bottom: 30px;
    left: 35px;

    color: white;

    font-size: 10px;
    letter-spacing: calc(2px * var(--ob-label-tracking, 1));
}

.about-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    padding: 100px 12%;

    background: var(--surface);
}

.about-text h2 {
    margin-top: 30px;
    margin-bottom: 25px;

    font-size: calc(clamp(45px, 6vw, 75px) * var(--ob-display-scale, 1));

    line-height: 1.05;
    letter-spacing: calc(-3px * var(--ob-tracking, 1));
}

.about-text p {
    max-width: 430px;

    margin-bottom: 18px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.9;
}

.about-text .button {
    margin-top: 20px;
}

/* =========================================
   BEHIND THE SCENES
========================================= */

.behind-preview {
    overflow: hidden;
}

.behind-heading {
    max-width: 750px;
}

.behind-heading h2 {
    margin-top: 25px;

    font-size: calc(clamp(45px, 7vw, 85px) * var(--ob-display-scale, 1));

    line-height: 1.05;
    letter-spacing: calc(-4px * var(--ob-tracking, 1));
}

.behind-heading p {
    max-width: 400px;

    margin-top: 25px;
    margin-bottom: 30px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.9;
}

.behind-gallery {
    display: grid;

    grid-template-columns: 1.1fr 0.8fr 1fr;

    gap: 20px;

    align-items: start;

    margin-top: 75px;
}

.behind-photo {
    position: relative;
}

.behind-photo:nth-child(2) {
    margin-top: 90px;
}

.behind-photo:nth-child(3) {
    margin-top: 35px;
}

.behind-photo img {
    height: 360px;

    transition: transform 0.8s ease;
}

.behind-photo:hover img {
    transform: scale(1.035);
}

.behind-photo span {
    display: block;

    margin-top: 15px;

    color: var(--muted);

    font-size: 9px;
    letter-spacing: calc(2px * var(--ob-label-tracking, 1));
}

/* =========================================
   TEAM PREVIEW
========================================= */

.team-preview {
    background: var(--surface);
}

.team-intro {
    max-width: 430px;

    margin-top: -30px;
    margin-bottom: 50px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.8;
}

.team-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 25px;
}

.team-preview-image {
    height: 350px;

    display: flex;
    align-items: flex-end;

    padding: 25px;

    background:
        linear-gradient(135deg, var(--surface-light), var(--background));

    border: 1px solid var(--border);

    transition: var(--transition);
}

.team-preview-card:hover .team-preview-image {
    transform: translateY(-8px);
    border-color: var(--accent);
}

.team-preview-image span {
    font-family: var(--font-serif);

    font-size: 55px;

    color: var(--accent);
    opacity: 0.8;
}

.team-preview-card {
    display: block;
}

.team-preview-image {
    position: relative;
    overflow: hidden;
}

.team-preview-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* number sits on a small dark chip so it stays readable on any photo */
.team-preview-image span {
    position: relative;
    z-index: 1;
    padding: 4px 10px;
    border-radius: 3px;
    background: rgba(10, 10, 13, 0.6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 22px;
    opacity: 1;
}

.empty-message {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 14px;
}

.team-preview-card h3 {
    margin-top: 20px;

    font-size: 14px;
    letter-spacing: calc(1px * var(--ob-label-tracking, 1));
}

.team-preview-card > span {
    display: block;

    margin-top: 8px;

    color: var(--muted);

    font-size: 10px;
    letter-spacing: calc(1px * var(--ob-label-tracking, 1));
}

/* =========================================
   COMING SOON
========================================= */

.coming-soon {
    position: relative;

    min-height: 620px;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.coming-background {
    position: absolute;
    inset: 0;

    background-image:
        url("https://images.unsplash.com/photo-1470252649378-9c29740c9fa8?auto=format&fit=crop&w=2000&q=85");

    background-size: cover;
    background-position: center;
}

.coming-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10, 10, 13, 0.95),
            rgba(10, 10, 13, 0.65),
            rgba(10, 10, 13, 0.2)
        );
}

.coming-content {
    position: relative;
    z-index: 2;

    width: min(1100px, 85%);

    margin: 0 auto;
}

.coming-content h2 {
    margin-top: 25px;
    margin-bottom: 25px;

    color: white;

    font-size: calc(clamp(65px, 9vw, 110px) * var(--ob-display-scale, 1));

    line-height: 0.95;
    letter-spacing: calc(-5px * var(--ob-tracking, 1));
}

.coming-content p {
    max-width: 400px;

    margin-bottom: 30px;

    color: #c1bdb8;

    font-size: 14px;
    line-height: 1.8;
}

.coming-side-text {
    position: absolute;

    right: 30px;
    bottom: 50%;

    transform: rotate(90deg) translateX(50%);

    color: rgba(255,255,255,0.6);

    font-size: 9px;
    letter-spacing: calc(3px * var(--ob-label-tracking, 1));
}

/* =========================================
   CONTACT PREVIEW
========================================= */

.contact-preview {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    padding-top: 150px;
    padding-bottom: 150px;
}

.contact-preview h2 {
    margin-top: 30px;

    font-size: calc(clamp(65px, 10vw, 120px) * var(--ob-display-scale, 1));

    line-height: 0.95;
    letter-spacing: calc(-6px * var(--ob-tracking, 1));
}

.contact-preview p {
    max-width: 430px;

    margin-top: 30px;
    margin-bottom: 35px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.8;
}

/* =========================================
   FOOTER
========================================= */

.footer {
    padding: 65px 8% 25px;

    background: var(--surface);

    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-bottom: 55px;

    border-bottom: 1px solid var(--border);
}

.footer-logo {
    font-size: 35px;
    font-weight: 700;
    letter-spacing: calc(4px * var(--ob-label-tracking, 1));
}

.footer-logo span {
    color: var(--accent);
}

.footer-top p {
    color: var(--muted);

    font-size: 13px;
    line-height: 1.8;
}

.back-to-top {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: calc(2px * var(--ob-label-tracking, 1));

    transition: var(--transition);
}

.back-to-top:hover {
    color: var(--accent-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-top: 25px;

    color: var(--muted);

    font-size: 9px;
    letter-spacing: calc(1.5px * var(--ob-label-tracking, 1));
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-light);
}

/* =========================================
   ANIMATIONS
========================================= */

.reveal {
    opacity: 0;

    transform: translateY(45px);

    transition:
        opacity 0.9s cubic-bezier(.2, 1, .3, 1),
        transform 0.9s cubic-bezier(.2, 1, .3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   PAGE TRANSITION
========================================= */

.page-transition {
    position: fixed;
    inset: 0;

    z-index: 2000;

    background: var(--accent);

    transform: scaleY(0);
    transform-origin: bottom;

    pointer-events: none;
}

/* set by js/settings.js before the first paint: start fully covered,
   then js/animations.js removes it and wipes the curtain away */
html.ob-entering .page-transition {
    transform: scaleY(1);
    transform-origin: bottom;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 1150px) {
    .navbar {
        width: calc(100% - 35px);
        padding: 0 20px;
    }

    .nav-links {
        gap: 0;
    }

    .nav-links a {
        padding: 10px 8px;
        font-size: 10px;
    }

    .film-large .film-image {
        height: 600px;
    }
}

@media (max-width: 900px) {
    .navbar {
        top: 12px;
        min-height: 65px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;

        top: calc(100% + 12px);
        left: 0;
        right: 0;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        padding: 15px;

        /* solid, so the page behind never shows through the menu text */
        background: var(--surface);

        border: 1px solid var(--border);
        border-radius: 14px;

        backdrop-filter: blur(20px);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        transition: var(--transition);
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links a {
        padding: 15px;
        font-size: 12px;
    }

    .nav-links a.active::after {
        display: none;
    }

    .menu-toggle.open span:first-child {
        transform: translateY(4px) rotate(45deg);
    }

    .menu-toggle.open span:last-child {
        transform: translateY(-4px) rotate(-45deg);
    }

    .intro-content {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .intro-description {
        max-width: 550px;
    }

    .about-preview {
        grid-template-columns: 1fr;
    }

    .about-image img {
        height: 450px;
        min-height: 0;
    }

    .about-text {
        padding: 80px 8%;
    }
}

@media (max-width: 650px) {
    .section-padding {
        padding: 85px 7%;
    }

    .hero-content {
        width: 86%;
        padding-top: 110px;
        padding-bottom: 110px;
    }

    .hero-title {
        font-size: calc(clamp(58px, 15vw, 90px) * var(--ob-display-scale, 1));
        letter-spacing: calc(-4px * var(--ob-tracking, 1));
    }

    .hero-description {
        max-width: 330px;
        font-size: 13px;
        margin-top: 28px;
    }

    .hero-buttons {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
        margin-top: 30px;
    }

    .hero-bottom {
        left: 7%;
        right: 7%;
    }

    .hero-bottom > span:first-child {
        display: none;
    }

    .hero-side-text {
        display: none;
    }

    .intro-heading {
        font-size: calc(clamp(48px, 12vw, 70px) * var(--ob-display-scale, 1));
        letter-spacing: calc(-3px * var(--ob-tracking, 1));
    }

    .intro-top {
        gap: 20px;
    }

    .section-side-label {
        text-align: right;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }

    .film-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .film-large {
        grid-row: auto;
    }

    .film-large .film-image,
    .film-image {
        height: 350px;
    }

    .films-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }

    .behind-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .behind-photo:nth-child(2),
    .behind-photo:nth-child(3) {
        margin-top: 0;
    }

    .behind-photo img {
        height: 230px;
    }

    .behind-photo:first-child {
        grid-column: span 2;
    }

    .team-preview-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 18px;
    }

    .team-preview-image {
        height: 260px;
        padding: 14px;
    }

    .team-intro {
        margin-top: -20px;
    }

    .coming-soon {
        min-height: 550px;
    }

    .coming-content h2 {
        font-size: calc(clamp(60px, 14vw, 85px) * var(--ob-display-scale, 1));
        letter-spacing: calc(-3px * var(--ob-tracking, 1));
    }

    .coming-side-text {
        display: none;
    }

    .contact-preview h2 {
        font-size: calc(clamp(58px, 13vw, 85px) * var(--ob-display-scale, 1));
        letter-spacing: calc(-3px * var(--ob-tracking, 1));
    }

    .footer {
        padding: 50px 7% 25px;
    }

    .footer-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }
}

/* =========================================
   REDUCED MOTION ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}/* =========================================
   OFFBRAND — FILMS PAGE
========================================= */


/* =========================================
   FILMS HERO
========================================= */

.films-hero {
    position: relative;

    min-height: 90vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #111216;
}

.films-hero-background {
    position: absolute;
    inset: 0;

    background-image:
        url("https://images.unsplash.com/photo-1485846234645-a62644f84728?auto=format&fit=crop&w=2200&q=90");

    background-size: cover;
    background-position: center;

    transform: scale(1.05);

    animation: filmsHeroZoom 20s ease-in-out infinite alternate;
}

.films-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10, 10, 13, 0.95),
            rgba(10, 10, 13, 0.65),
            rgba(10, 10, 13, 0.25)
        ),
        linear-gradient(
            0deg,
            rgba(10, 10, 13, 0.65),
            transparent 50%
        );
}

.films-hero-content {
    position: relative;
    z-index: 2;

    width: min(1200px, 85%);

    margin: 0 auto;

    padding-top: 140px;
    padding-bottom: 120px;
}

.films-hero-title {
    color: #f2f0ec;

    font-size: calc(clamp(75px, 12vw, 155px) * var(--ob-display-scale, 1));

    line-height: 0.9;
    letter-spacing: calc(-7px * var(--ob-tracking, 1));

    font-weight: 700;
}

.films-hero-title .title-outline {
    padding-left: 0;
}

.films-hero-description {
    max-width: 430px;

    margin-top: 35px;
    margin-bottom: 35px;

    color: #c1bdb8;

    font-size: 15px;
    line-height: 1.9;
}

.films-hero-bottom {
    position: absolute;

    bottom: 35px;
    left: 7.5%;
    right: 7.5%;

    z-index: 2;

    display: flex;
    justify-content: space-between;

    color: #c1bdb8;

    font-size: 9px;
    letter-spacing: calc(2px * var(--ob-label-tracking, 1));
}

@keyframes filmsHeroZoom {
    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1.15);
    }
}


/* =========================================
   FILM COLLECTION SECTION
========================================= */

.film-collection {
    background: var(--background);
}

.film-collection > .section-heading {
    margin-bottom: 90px;
}


/* =========================================
   INDIVIDUAL FILM SHOWCASES
========================================= */

.film-showcase {
    position: relative;

    display: grid;
    grid-template-columns: 0.85fr 1.15fr;

    align-items: center;

    gap: 8%;

    margin-bottom: 160px;
}

.film-showcase:last-child {
    margin-bottom: 0;
}

.film-showcase-reverse {
    grid-template-columns: 1.15fr 0.85fr;
}

.film-showcase-reverse .film-showcase-details {
    order: 2;
}

.film-showcase-reverse .film-showcase-image {
    order: 1;
}


/* FILM INFORMATION */

.film-showcase-details {
    position: relative;
    z-index: 2;
}

.film-showcase-number {
    margin-bottom: 28px;

    color: var(--accent-light);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: calc(3px * var(--ob-label-tracking, 1));
}

.film-showcase-status {
    display: inline-block;

    margin-bottom: 20px;
    padding: 8px 12px;

    border: 1px solid var(--border);

    color: var(--muted);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: calc(2px * var(--ob-label-tracking, 1));
}

.film-showcase-title {
    margin-bottom: 25px;

    font-size: calc(clamp(38px, 5vw, 68px) * var(--ob-display-scale, 1));

    line-height: 1.05;
    letter-spacing: calc(-3px * var(--ob-tracking, 1));
}

.film-showcase-description {
    max-width: 450px;

    margin-bottom: 30px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.9;
}


/* FILM METADATA */

.film-showcase-metadata {
    display: flex;
    flex-wrap: wrap;

    gap: 12px 20px;

    padding: 22px 0;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.film-showcase-metadata span {
    color: var(--muted);

    font-size: 10px;
    font-weight: 600;
    letter-spacing: calc(1px * var(--ob-label-tracking, 1));
}


/* FILM CREDITS */

.film-showcase-credits {
    display: flex;
    flex-direction: column;

    gap: 17px;

    margin-top: 25px;
}

.film-credit {
    display: flex;
    flex-direction: column;

    gap: 6px;
}

.film-credit span {
    color: var(--accent-light);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: calc(2px * var(--ob-label-tracking, 1));
}

.film-credit strong {
    color: var(--text);

    font-size: 12px;
    font-weight: 500;
}


/* FILM BUTTON */

.film-showcase-button {
    display: inline-flex;
    align-items: center;
    gap: 25px;

    margin-top: 35px;
    padding-bottom: 12px;

    border-bottom: 1px solid var(--accent);

    color: var(--text);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: calc(1.5px * var(--ob-label-tracking, 1));

    transition: var(--transition);
}

.film-showcase-button span {
    color: var(--accent-light);

    font-size: 17px;

    transition: var(--transition);
}

.film-showcase-button:hover {
    color: var(--accent-light);
}

.film-showcase-button:hover span {
    transform: translate(5px, -5px);
}


/* =========================================
   FILM SHOWCASE IMAGES
========================================= */

.film-showcase-image {
    position: relative;

    min-height: 480px;

    overflow: hidden;

    background: var(--surface-light);
}

.film-showcase-thumbnail,
.film-preview-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 1.2s cubic-bezier(.2, 1, .3, 1);
}

.film-showcase:hover .film-showcase-thumbnail,
.film-showcase:hover .film-preview-video {
    transform: scale(1.045);
}

.film-showcase-background-number {
    position: absolute;

    right: 20px;
    bottom: 10px;

    z-index: 2;

    color: rgba(255,255,255,0.75);

    font-size: calc(clamp(45px, 7vw, 90px) * var(--ob-display-scale, 1));
    font-weight: 700;
    letter-spacing: calc(-5px * var(--ob-tracking, 1));

    pointer-events: none;

    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}


/* =========================================
   UPCOMING PROJECTS
========================================= */

.upcoming-films {
    background: var(--surface);
}

.upcoming-films > .section-heading {
    margin-bottom: 90px;
}

.upcoming-showcase {
    margin-bottom: 130px;
}

.upcoming-showcase .film-showcase-image {
    min-height: 430px;
}

.upcoming-showcase .film-showcase-status {
    border-color: var(--accent);
    color: var(--accent-light);
}


/* =========================================
   CLOSING SECTION
========================================= */

.films-closing {
    position: relative;

    min-height: 650px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 100px 7%;

    overflow: hidden;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(var(--accent-rgb), 0.14),
            transparent 65%
        ),
        var(--background);
}

.films-closing-content {
    position: relative;
    z-index: 2;
}

.films-closing h2 {
    margin-top: 30px;
    margin-bottom: 25px;

    font-size: calc(clamp(65px, 10vw, 125px) * var(--ob-display-scale, 1));

    line-height: 0.95;
    letter-spacing: calc(-6px * var(--ob-tracking, 1));
}

.films-closing p:not(.section-label) {
    margin-bottom: 35px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.8;
}


/* =========================================
   FILMS PAGE LIGHT THEME
========================================= */

body.light-theme .films-hero,
body.light-theme .films-closing {
    color: var(--text);
}

body.light-theme .film-showcase-status {
    background: var(--surface);
}


/* =========================================
   FILMS PAGE RESPONSIVE DESIGN
========================================= */

@media (max-width: 900px) {

    .films-hero {
        min-height: 80vh;
    }

    .films-hero-title {
        font-size: calc(clamp(65px, 12vw, 110px) * var(--ob-display-scale, 1));
        letter-spacing: calc(-5px * var(--ob-tracking, 1));
    }

    .film-showcase,
    .film-showcase-reverse {
        grid-template-columns: 1fr;

        gap: 40px;

        margin-bottom: 110px;
    }

    .film-showcase-reverse .film-showcase-details,
    .film-showcase-reverse .film-showcase-image {
        order: initial;
    }

    .film-showcase-image {
        min-height: 450px;
    }

    .upcoming-showcase .film-showcase-image {
        min-height: 400px;
    }

}


@media (max-width: 650px) {

    .films-hero {
        min-height: 75vh;
    }

    .films-hero-content {
        width: 86%;

        padding-top: 120px;
        padding-bottom: 110px;
    }

    .films-hero-title {
        font-size: calc(clamp(58px, 15vw, 90px) * var(--ob-display-scale, 1));
        letter-spacing: calc(-4px * var(--ob-tracking, 1));
    }

    .films-hero-description {
        max-width: 330px;

        font-size: 13px;
    }

    .films-hero-bottom {
        left: 7%;
        right: 7%;

        font-size: 8px;
    }

    .film-collection > .section-heading,
    .upcoming-films > .section-heading {
        margin-bottom: 60px;
    }

    .film-showcase,
    .film-showcase-reverse {
        gap: 30px;
        margin-bottom: 90px;
    }

    .film-showcase-title {
        font-size: calc(clamp(40px, 11vw, 58px) * var(--ob-display-scale, 1));
        letter-spacing: calc(-2px * var(--ob-tracking, 1));
    }

    .film-showcase-description {
        font-size: 13px;
    }

    .film-showcase-image {
        min-height: 300px;
    }

    .upcoming-showcase .film-showcase-image {
        min-height: 280px;
    }

    .film-showcase-background-number {
        font-size: 55px;
    }

    .film-showcase-metadata {
        gap: 12px;
    }

    .films-closing {
        min-height: 500px;
        padding: 80px 7%;
    }

    .films-closing h2 {
        font-size: calc(clamp(55px, 13vw, 80px) * var(--ob-display-scale, 1));
        letter-spacing: calc(-3px * var(--ob-tracking, 1));
    }

}


/* =========================================
   FILMS PAGE REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .films-hero-background {
        animation: none;
    }

    .film-showcase-thumbnail,
    .film-preview-video {
        transition: none;
    }

}


/* =========================================
   LIGHT MODE — TEXT OVER IMAGES
   Hero banners, the "next chapter" banner and the film
   page header always sit on dark photo overlays, so inside
   them we use the dark-theme text colours. Without this,
   anything using var(--text) / var(--muted) / var(--accent-light)
   turned dark-on-dark when light mode was on.
========================================= */

body.light-theme :is(.hero, .films-hero, .team-hero, .film-hero, .coming-soon) {
    --text: #f2f0ec;
    --muted: #c1bdb8;
    --accent-light: var(--accent-bright);

    /* "color" is inherited as a finished value from <body>, so it has to be re-set here */
    color: var(--text);
}

body.light-theme .coming-soon .section-label {
    color: var(--accent-light);
}

/* Floating nav sits over the hero photo: make the pill more solid
   and the inactive links darker so they stay readable */
body.light-theme .navbar {
    --nav-background: rgba(255, 255, 255, 0.94);
    --muted: #55504a;
}

body.light-theme .hero-side-text,
body.light-theme .coming-side-text {
    color: rgba(255, 255, 255, 0.85);
}


/* =========================================
   TEXT OVER PHOTOS (both themes)
   Soft shadows and scrims so small white text stays
   readable even when the photo behind it is bright.
========================================= */

.hero-side-text,
.coming-side-text,
.hero-bottom,
.films-hero-bottom {
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.85), 0 0 14px rgba(0, 0, 0, 0.6);
}

.about-image::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 40%;
    z-index: 1;
    background: linear-gradient(0deg, rgba(10, 10, 13, 0.7), transparent);
    pointer-events: none;
}

.image-caption {
    z-index: 2;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* Narrow screens: text spans the full width, so the left-to-right
   fade leaves the right-hand side too bright. Add an even tint. */
@media (max-width: 900px) {

    .hero-overlay,
    .films-hero-overlay,
    .film-hero-overlay,
    .coming-overlay {
        box-shadow: inset 0 0 0 100vmax rgba(10, 10, 13, 0.45);
    }

}


/* Very small phones: one person per row */
@media (max-width: 340px) {

    .team-preview-grid {
        grid-template-columns: 1fr;
    }

    .team-preview-image {
        height: 300px;
    }

}


/* =========================================
   TEXT THAT STAYS NEAT IN EVERY FONT
   Different fonts are different widths, so headings balance their
   lines, nothing runs off the edge, and small labels never split.
========================================= */

h1, h2, h3, h4 {
    text-wrap: balance;
}

p, li {
    text-wrap: pretty;
}

h1, h2, h3, h4, p, li, label, .section-label {
    overflow-wrap: break-word;
}

.button,
.text-button,
.film-showcase-button,
.film-watch-button,
.team-explore-button,
.nav-links a,
.film-showcase-status,
.review-tag,
.about-stat-label {
    white-space: nowrap;
}

/* the settings button should never sit on top of the hero footer text on phones */
@media (max-width: 560px) {

    .hero-bottom,
    .films-hero-bottom,
    .team-hero-bottom,
    .film-scroll-indicator {
        bottom: 78px;
    }

    .footer {
        padding-bottom: 80px;
    }

    .about-stat-label {
        white-space: normal;
    }

}

.upcoming-films[hidden] {
    display: none;
}


/* =========================================
   SMALL-PHONE FIXES (added with accounts)
   The sign-in button and PRIVACY link made the nav and footer a
   little too wide on the smallest screens.
========================================= */

.footer-links {
    flex-wrap: wrap;
    gap: 12px 25px;
}

@media (max-width: 400px) {

    .navbar {
        width: calc(100% - 24px);
        padding: 0 14px;
    }

    .logo-name {
        font-size: 13px;
        letter-spacing: calc(1.5px * var(--ob-label-tracking, 1));
    }

    .nav-actions {
        gap: 6px;
    }

}

@media (max-width: 340px) {

    .logo-name {
        display: none;
    }

}
