/* ============================================
   PBBS — Peanut Butter Baby Sandwich
   Stylesheet
   ============================================ */
 
/* ============ FONTS ============ */
/* Britney — display/script for titles */
@font-face {
    font-family: 'Britney';
    src: url('fonts/Britney-Light.otf') format('opentype');
    font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Britney';
    src: url('fonts/Britney-Regular.otf') format('opentype');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Britney';
    src: url('fonts/Britney-Bold.otf') format('opentype');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Britney';
    src: url('fonts/Britney-Ultra.otf') format('opentype');
    font-weight: 900; font-style: normal; font-display: swap;
}
 
/* Satoshi — body sans-serif (full family) */
@font-face {
    font-family: 'Satoshi';
    src: url('fonts/Satoshi-Light.otf') format('opentype');
    font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Satoshi';
    src: url('fonts/Satoshi-LightItalic.otf') format('opentype');
    font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
    font-family: 'Satoshi';
    src: url('fonts/Satoshi-Regular.otf') format('opentype');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Satoshi';
    src: url('fonts/Satoshi-Italic.otf') format('opentype');
    font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
    font-family: 'Satoshi';
    src: url('fonts/Satoshi-Medium.otf') format('opentype');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Satoshi';
    src: url('fonts/Satoshi-MediumItalic.otf') format('opentype');
    font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
    font-family: 'Satoshi';
    src: url('fonts/Satoshi-Bold.otf') format('opentype');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Satoshi';
    src: url('fonts/Satoshi-BoldItalic.otf') format('opentype');
    font-weight: 700; font-style: italic; font-display: swap;
}
@font-face {
    font-family: 'Satoshi';
    src: url('fonts/Satoshi-Black.otf') format('opentype');
    font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Satoshi';
    src: url('fonts/Satoshi-BlackItalic.otf') format('opentype');
    font-weight: 900; font-style: italic; font-display: swap;
}
 
/* ============ RESET / BASE ============ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
 
html {
    scroll-behavior: auto;
    overflow-anchor: none;
}
 
body {
    background: #0a0a0a;
    color: #ffffff;
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-anchor: none;
}
 
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; color: inherit; font: inherit; }
 
.site-header {
    position: fixed;   /* was absolute */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 32px 48px;
    box-sizing: border-box;
}
 
.site-header__logo {
    font-family: 'Satoshi', sans-serif;
    font-weight: 500;
    font-size: 22px;
    letter-spacing: 0.04em;
    color: #fff;
    text-decoration: none;
}
 
/* ---- Nav container ---- */
.site-nav {
    position: relative;
}
 
/* ---- 3×3 dot toggle ---- */
.site-nav__toggle {
    position: relative;
    z-index: 2;
    width: 52px;
    height: 52px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 5px;
    padding: 14px;
    box-sizing: border-box;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    cursor: pointer;
}
 
.site-nav__toggle span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    display: block;
    align-self: center;
    justify-self: center;
}
 
.site-nav__panel {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 80px;
    height: 80px;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    opacity: 0;
    pointer-events: none;
    transition:
        width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
        height 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) 0.26s,
        opacity 0.15s ease;
}
 
.site-nav.is-open .site-nav__panel {
    width: 280px;      /* smaller than before (was 340) */
    height: 480px;     /* smaller than before (was 620) */
    opacity: 1;
    pointer-events: auto;
    box-shadow:
        0 0 40px 4px rgba(255, 255, 255, 0.10),
        0 20px 60px rgba(0, 0, 0, 0.6);
}
 
.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0px 36px 0px;   /* keep top padding so items clear the dots */
    display: flex;
    flex-direction: column;
    justify-content: center;    /* vertically center the items */
    gap: 16px;
    height: 100%;               /* fill the panel so centering has room */
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
}
 
.site-nav.is-open .site-nav__list {
    opacity: 1;
    transition: opacity 0.35s ease 0.6s;  /* fades in sooner, after the faster open */
}
 
.site-nav__link {
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.25s ease;
    white-space: nowrap;
}
 
.site-nav__link:hover {
    color: #d4b576;
}
 
@media (max-width: 768px) {
    .site-header {
        padding: 20px 20px;
    }
 
    .site-nav__toggle {
        width: 44px;       /* slightly smaller button on phone */
        height: 44px;
        padding: 11px;
    }
}
 
.hero__content,
.site-header {
    opacity: 0;
    animation: heroFadeIn 2.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}
 
@keyframes heroFadeIn {
    to { opacity: 1; }
}
 
.hero__image {
    opacity: 0;
    animation: heroFadeIn 3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
 
/* ============ SCROLL REVEAL ============ */
/* Reveals are driven by keyframe ANIMATIONS, not transitions, so they
   never override component transitions (contact panel, cast cards, etc).
   Hidden states are gated on body.js-loaded so content stays visible
   if JS ever fails. */
 
/* Default: visible even if JS breaks */
.reveal {
    opacity: 1;
}
 
/* Hidden until revealed */
body.js-loaded .reveal {
    opacity: 0;
}
 
/* Base fade-in */
body.js-loaded .reveal.is-visible {
    opacity: 1;
    animation: revealFade 0.8s ease both;
}
 
@keyframes revealFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
 
/* ---- Team cards: cinematic rise ---- */
body.js-loaded .team-card.reveal.is-visible {
    animation: revealRise 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
 
@keyframes revealRise {
    from { opacity: 0; transform: translateY(110px) scale(0.94); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---- Logline icon: grow 0 → 1 with fade ---- */
body.js-loaded .reveal--scale.is-visible {
    animation: revealGrow 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

@keyframes revealGrow {
    from { opacity: 0; transform: scale(0); }
    to   { opacity: 1; transform: scale(1); }
}
 
/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
 
.hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
 
.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
 
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.75) 100%
    );
    pointer-events: none;
}
 
/* ---- Hero content (title + subtitle) ---- */
.hero__content {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 0 24px;
    max-width: 1400px;
    width: 100%;
}
 
.hero__title {
    font-family: 'Britney', serif;
    font-weight: 400;
    /* Sized to stay on a single line on most screens */
    font-size: clamp(40px, 6.5vw, 96px);
    line-height: 1;
    color: #d4b576;
    margin-bottom: 12px;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
}
 
.hero__subtitle {
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
    font-size: clamp(13px, 1.3vw, 18px);
    color: #ffffff;
    letter-spacing: 0.02em;
}
@media (max-width: 768px) {
    .site-header { padding: 20px 24px; }
.hero__title {
        font-size: 56px !important;
        white-space: normal !important;
        line-height: 1.1 !important;
        padding: 0 16px !important;
    }
    .hero__subtitle {
        font-size: clamp(14px, 4vw, 18px);
    }
    .logline { padding: 80px 24px; }
    .logline__icon { height: 70px; margin-bottom: 24px; }
}
/* ============ LOGLINE ============ */
.logline {
    background: #0a0a0a;
    padding: 140px 24px;
    display: flex;
    justify-content: center;
}
 
.logline__inner {
    max-width: 640px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
 
.logline__icon {
    width: auto;
    height: 450px;
    object-fit: contain;
    margin-bottom: 32px;
    mix-blend-mode: lighten;
}
 
.logline__heading {
    font-family: 'Satoshi', sans-serif;
    font-weight: 500;
    font-size: clamp(60px, 3vw, 150px);
    letter-spacing: 0.08em;
    color: #ffffff;
    margin-bottom: 28px;
}
 
/*.logline__text {
    font-family: 'Satoshi', sans-serif;
    font-weight: 500;
    font-size: clamp(13px, 1.05vw, 40px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin-bottom: 48px;
}*/
 
/* Bio text below */
.team-card__bio {
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
    font-size: clamp(13px, 0.95vw, 15px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    max-width: 460px;
}
 
/* ============ BUTTON ============ */
.btn {
    display: inline-block;
    font-family: 'Satoshi', sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.06em;
    padding: 14px 36px;
    border-radius: 999px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}
 
.btn--outline {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
}
 
.btn--outline:hover {
    border-color: #d4b576;
    color: #d4b576;
    background: rgba(212, 181, 118, 0.05);
}
 
@media (max-width: 768px) {
    .site-header { padding: 20px 24px; }
    .hero__title { font-size: clamp(28px, 8vw, 56px); }
    .logline { padding: 80px 24px; }
    .logline__icon { height: 260px; margin-bottom: 24px; }
    
    .logline__heading {
        font-size: clamp(32px, 9vw, 60px);   /* same as moodboard mobile */
        margin-bottom: 24px;
    }
}
 
@media (max-width: 768px) {
    .logline__text {
        font-size: 15px !important;
        line-height: 1.65 !important;
        font-weight: 400 !important;
        color: rgba(255,255,255,0.85) !important;
        max-width: 300px !important;
        text-align: center;
        margin: 0 auto;
    }
}
 
 
/* ============ ACCESSIBILITY ============ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; }
}
 
:focus-visible {
    outline: 2px solid #d4b576;
    outline-offset: 4px;
    border-radius: 4px;
}
 
/* ============ CONTACT CTA ============ */
.contact-cta {
    min-height: 100vh;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
 
.contact-panel {
    position: relative;
    width: 140px;
    height: 140px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 9999px;  /* circle when square, pill when stretched */
    background: transparent;
    overflow: hidden;
    transition:
        width 0.8s cubic-bezier(0.65, 0, 0.35, 1),
        height 0.8s cubic-bezier(0.65, 0, 0.35, 1),
        border-color 0.5s ease;
}
 
.contact-panel.is-open {
    width: min(560px, 90vw);
    height: 220px;
    border-color: rgba(255, 255, 255, 0.7);
}
 
.contact-panel__trigger {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #fff;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: opacity 0.4s ease 0.6s;
}
 
.contact-panel.is-open .contact-panel__trigger {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;  /* fast fade-out on open, no delay */
}
 
 
/* ---- Expanded content (the three contact items) ---- */
.contact-panel__content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    /* Slight delay so the panel finishes expanding before content fades in */
    transition: opacity 0.4s ease 0.3s;
}
 
.contact-panel.is-open .contact-panel__content {
    opacity: 1;
    pointer-events: auto;
}
 
.contact-list {
    list-style: none;
    display: flex;
    gap: clamp(40px, 6vw, 80px);
    padding: 0;
    margin: 0;
}
 
.contact-item__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: #fff;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}
 
.contact-item__link:hover {
    color: #d4b576;
    transform: translateY(-2px);
}
 
.contact-item__label {
    font-family: 'Satoshi', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
 
.contact-item__icon {
    width: 26px;
    height: 26px;
    /* If your SVGs are dark, uncomment the next line to force them white: */
    /* filter: invert(1); */
}
 
/* ---- Subtle close × ---- */
.contact-panel__close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 16px;
    height: 16px;
    padding: 0;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: color 0.2s ease;
}
 
.contact-panel__close:hover {
    color: rgba(255, 255, 255, 1);
}
 
.contact-panel__close svg {
    width: 100%;
    height: 100%;
    display: block;
}
 
/* ---- Mobile: stack the contact items vertically ---- */
@media (max-width: 640px) {
    .contact-panel {
        border-radius: 20px;        /* square-ish in closed state */
    }
    .contact-panel.is-open {
        height: 320px;
        border-radius: 20px;        /* stays square-ish when open */
    }
    .contact-list {
        flex-direction: column;
        gap: 20px;
    }
}
 
 
/* ============ MOODBOARD ============ */
.moodboard {
    padding: 100px 48px 80px;
    background: #0a0a0a;
}
 
.moodboard__heading {
    font-family: 'Satoshi', sans-serif;
    font-weight: 500;
    font-size: clamp(60px, 3vw, 150px);
    letter-spacing: 0.04em;
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
}
 
/* ---- Slider (stacks slides for crossfade) ---- */
.moodboard__slider {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}
 
.moodboard__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}
 
.moodboard__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    position: relative;  /* Active slide defines the height */
}
 
/* ---- Grid: 3 columns × 2 rows ---- */
.moodboard__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 24px;
}
 
/* ---- Cell (the button wrapping each image) ---- */
.moodboard__cell {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: 4px;
}
 
.moodboard__cell-inner {
    width: 100%;
    height: 100%;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}
 
.moodboard__cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
 
/* Hover: scale up with parallax via CSS vars set by JS */
.moodboard__cell:hover .moodboard__cell-inner {
    transform:
        scale(1.08)
        translate(var(--parallax-x, 0), var(--parallax-y, 0));
}
 
/* ---- Controls below grid ---- */
.moodboard__controls {
    max-width: 1400px;
    margin: 50px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
 
/* Dots */
.moodboard__dots {
    display: flex;
    gap: 12px;
    margin: 0 auto;
}
 
.moodboard__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease;
}
 
.moodboard__dot.is-active {
    background: #fff;
}
 
.moodboard__dot:hover { background: rgba(255, 255, 255, 0.6); }
 
/* ---- Arrow buttons (reusable .arrow-btn class) ---- */
.moodboard__arrows {
    display: flex;
    gap: 12px;
}
 
.arrow-btn {
    width: 56px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.15s ease;
}
 
.arrow-btn img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    transition: filter 0.25s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
 
.arrow-btn:hover {
    background: #fff;
    border-color: #fff;
}
 
.arrow-btn:hover img {
    filter: brightness(0);  /* Force to black on hover */
}
 
/* Press feedback — nudges only the SVG, not the whole button */
.arrow-btn[data-direction="prev"]:active img { transform: translateX(-8px); }
.arrow-btn[data-direction="next"]:active img { transform: translateX(8px); }
 
/* ============ LIGHTBOX ============ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
 
.lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}
 
.lightbox__image {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}
 
.lightbox__close {
    position: absolute;
    top: 28px;
    right: 32px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.2s ease;
}
 
.lightbox__close:hover { color: #fff; }
.lightbox__close svg { width: 100%; height: 100%; }
 
.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
}
 
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.18); }
 
.lightbox__nav img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}
 
.lightbox__nav--prev { left: 32px; }
.lightbox__nav--next { right: 32px; }
 
.lightbox__counter {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Satoshi', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
    user-select: none;
}
 
@media (max-width: 768px) {
    .moodboard { padding: 60px 20px; }
    .moodboard__heading {
        font-size: clamp(32px, 9vw, 60px);
        margin-bottom: 24px;          /* ← new: tighter gap on phone only */
    }
    .moodboard__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 12px;
    }
    .moodboard__controls {
        flex-direction: column;        /* stack dots over arrows */
        align-items: center;           /* center both horizontally */
        gap: 24px;                     /* space between dots row and arrows row */
        margin-top: 20px;              /* tight to the images, small gap */
    }
 
    .moodboard__dots {
        margin: 0;                     /* remove auto-centering, flex handles it */
    }
 
    .moodboard__arrows {
        justify-content: center;       /* arrows centered as a pair */
    }
 
    .lightbox__nav { width: 44px; height: 44px; }
    .lightbox__nav--prev { left: 12px; }
    .lightbox__nav--next { right: 12px; }
}
/* ============ SYNOPSIS ============ */
.synopsis {
    padding: 100px 48px 120px;
    background: #0a0a0a;
}
 
.synopsis__heading {
    font-family: 'Satoshi', sans-serif;
    font-weight: 500;
    font-size: clamp(36px, 5vw, 64px);
    letter-spacing: 0.04em;
    text-align: center;
    color: #fff;
    margin-bottom: 70px;
}
 
.synopsis__container {
    width: fit-content;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 560px) 460px;
    gap: 60px;
    align-items: stretch;
}
 
.synopsis__media {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}
 
.synopsis__media img {
    width: 100%;
    flex: 1 1 0;
    min-height: 0;
    display: block;
    border-radius: 4px;
    object-fit: cover;
    background: #111;   /* placeholder while the photo loads */
}
 
.synopsis__content {
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
    font-size: clamp(13px, 0.95vw, 15px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    max-width: 460px;
    margin: auto 0;
    align-self: center;
}
 
.synopsis__content p {
    margin: 0 0 22px 0;
}
 
.synopsis__content p:last-child {
    margin-bottom: 0;
}
 
.synopsis__content em {
    font-style: italic;
}
 
@media (max-width: 880px) {
    .synopsis { padding: 60px 20px 80px; }
    .synopsis__container {
        width: auto;
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .synopsis__media {
        position: static;
        height: auto;          /* don't force full height on mobile */
    }
    .synopsis__media img {
        flex: none;
        height: 240px;          /* fixed equal height */
        width: 100%;
        object-fit: cover;      /* crop to fill, no distortion */
        min-height: 0;
    }
    .synopsis__heading { margin-bottom: 32px; }
}
/* Hide scrollbar (keep scroll functionality) */
html {
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* IE/Edge legacy */
}
 
html::-webkit-scrollbar {
    display: none;                  /* Chrome, Safari, newer Edge */
}
 
/* ============ CAST ============ */
.cast {
    padding: 60px 48px 60px;
    background: #0a0a0a;
}
 
.cast__heading {
    font-family: 'Satoshi', sans-serif;
    font-weight: 500;
    font-size: clamp(36px, 5vw, 64px);
    letter-spacing: 0.04em;
    text-align: center;
    color: #fff;
    margin-bottom: 24px;
}
 
.cast__subtitle {
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
    font-size: clamp(12px, 1vw, 14px);
    letter-spacing: 0.25em;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    margin-bottom: 28px;
}
 
/* Side label inside slide (Jessie's Side / Seth's Side) */
.cast__side-label {
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: clamp(14px, 1.1vw, 17px);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-top: -20px;  /* tightens against the subtitle above */
    margin-bottom: 40px;
}
 
.cast__slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}
 
.cast__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}
 
.cast__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}
 
.cast__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 460px));
    gap: 40px;
    justify-content: center;
}
 
/* Card */
.cast-card {
    position: relative;
    aspect-ratio: 3 / 4;
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 30px 4px rgba(255, 255, 255, 0.08);
    transition: box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
 
 
@media (max-width: 768px) {
    /* Aaron & Maya: keep portrait card, but shift image so both kids show */
    .cast-mobile__slide .cast-card--wide .cast-card__photo img {
        object-fit: cover;
        object-position: 62% center !important;
    }
}
/* Single-card variant — for centered solo characters like the midwife */
.cast__grid--single {
    grid-template-columns: minmax(0, 460px);
}
 
.cast-card:hover {
    box-shadow: 0 0 40px 6px rgba(255, 255, 255, 0.14);
}
 
.cast-card__photo {
    position: absolute;
    inset: 0;
    z-index: 1;
}
 
.cast-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
 
/* Gold pill badge */
.cast-card__badge {
    position: absolute;
    z-index: 3;
    background: #d4b576;
    color: #0a0a0a;
    font-family: 'Satoshi', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 9px 18px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
 
.cast-card__badge--tr { top: 16px; right: 16px; }
.cast-card__badge--tl { top: 16px; left: 16px; }
 
/* Glassy bio panel — reveals on hover */
.cast-card__bio {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 32px 28px;
    background: rgba(10, 10, 10, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    display: flex;
    flex-direction: column;
    color: #fff;
    pointer-events: none;
}
 
.cast-card:hover .cast-card__bio {
    opacity: 1;
    pointer-events: auto;
}
 
.cast-card__name {
    font-family: 'Satoshi', sans-serif;
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.01em;
}
 
.cast-card__role {
    font-family: 'Satoshi', sans-serif;
    font-size: clamp(12px, 1vw, 14px);
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 18px;
}
 
/*.cast-card__text {
    font-family: 'Satoshi', sans-serif;
    font-weight: 500;
    font-size: clamp(12.5px, 0.9vw, 35px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}*/
 
/* Bio text below */
.cast-card__text {
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
    font-size: clamp(13px, 0.95vw, 15px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    max-width: 460px;
}
 
/* Controls (same pattern as moodboard) */
.cast__controls {
    max-width: 1000px;
    margin: 32px auto 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}
 
.cast__dots {
    grid-column: 2;
    display: flex;
    gap: 12px;
}
 
.cast__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease;
}
 
.cast__dot.is-active { background: #fff; }
.cast__dot:hover { background: rgba(255, 255, 255, 0.6); }
 
.cast__arrows {
    grid-column: 3;
    display: flex;
    gap: 12px;
    justify-self: end;
}
 
@media (max-width: 768px) {
    .cast { padding: 60px 16px; }
 
    /* Hide the desktop slider + its controls on mobile */
    .cast__slider,
    .cast__controls {
        display: none;
    }
 
    /* Mobile swipe slider */
    .cast-mobile__track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        scrollbar-width: none;
        padding: 4px;
    }
    .cast-mobile__track::-webkit-scrollbar { display: none; }
 
    .cast-mobile__slide {
        flex: 0 0 100%;
        scroll-snap-align: center;
        display: flex;
        justify-content: center;
    }
 
    /* Card fills the slide; tap reveals bio */
    .cast-mobile__slide .cast-card {
        max-width: 100%;
        width: 100%;
        margin: 0;
    }
 
    /* Bio hidden by default, shown when card has .is-revealed (tap) */
    .cast-card__bio {
        opacity: 0;
        pointer-events: none;
        background: linear-gradient(to top,
            rgba(10,10,10,0.94) 0%,
            rgba(10,10,10,0.7) 45%,
            rgba(10,10,10,0.15) 100%);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        justify-content: flex-end;
        transition: opacity 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    }
    .cast-card.is-revealed .cast-card__bio {
        opacity: 1;
        pointer-events: auto;
    }
 
    /* Position dots */
    .cast-mobile__dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 24px;
        flex-wrap: wrap;
    }
    .cast-mobile__dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255,255,255,0.25);
        border: none;
        padding: 0;
        cursor: pointer;
        transition: background 0.3s ease;
    }
    .cast-mobile__dot.is-active { background: #fff; }
}
 
/* Fix mobile cast cards: prevent sticky :hover from keeping bio open */
@media (max-width: 768px) {
    .cast-card:hover .cast-card__bio {
        opacity: 0;
        pointer-events: none;
    }
 
    .cast-card.is-revealed .cast-card__bio,
    .cast-card.is-revealed:hover .cast-card__bio {
        opacity: 1;
        pointer-events: auto;
    } 
}
 
@media (max-width: 768px) {
    /* Cast overlay: gold IMDb button aligned with text */
    .cast-card__imdb {
        position: static !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        z-index: 6;
 
        width: 94px;
        height: 34px;
        margin: 28px 0 0 0 !important;
 
        border-radius: 999px;
        background: #d4b576;
        color: #0a0a0a;
 
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        align-self: flex-start !important;
 
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    }
 
    .cast-card__imdb img {
        display: none !important;
    }
 
    .cast-card__imdb::after {
        content: "IMDb";
        font-family: 'Satoshi', sans-serif;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
 
    .cast-card__bio {
        align-items: flex-start !important;
    }
}
/* IMDb link inside cast card */
.cast-card__imdb {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    align-self: flex-end;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    transform-origin: left center;
}
.cast-card__imdb img {
    height: 60px;
    width: auto;
    display: block;
}
 
.cast-card__imdb:hover {
    transform: scale(0.94);
    opacity: 0.9;
}
 
.cast__side-label--spacer {
    visibility: hidden;
}
 
/* ============ TEAM ============ */
.team {
    padding: 100px 48px 120px;
    background: #0a0a0a;
}
 
.team__heading {
    font-family: 'Satoshi', sans-serif;
    font-weight: 500;
    font-size: clamp(36px, 5vw, 64px);
    letter-spacing: 0.04em;
    text-align: center;
    color: #fff;
    margin-bottom: 70px;
}
 
.team__row {
    max-width: 1200px;
    margin: 0 auto 80px;
}
 
.team__row:last-child { margin-bottom: 0; }
 
/* Solo row — Barak alone, left aligned */
.team__row--solo {
    display: flex;
    justify-content: center;
}
 
/* Card */
.team-card {
    display: flex;
    flex-direction: column;
}
 
.team-card__name {
    font-family: 'Satoshi', sans-serif;
    font-weight: 500;
    font-size: clamp(20px, 1.6vw, 26px);
    color: #fff;
    margin-bottom: 4px;
    letter-spacing: 0.01em;
}
 
.team-card__role {
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: clamp(14px, 1.1vw, 17px);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}
 
/* Media row: photo + icons side by side */
.team-card__media {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 28px;
}
 
.team-card__photo {
    width: 300px;
    aspect-ratio: 3 / 4;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
}
 
.team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
 
/* Icons — hidden by default, appear when card is "active" */
.team-card__icons {
    display: flex;
    flex-direction: column;
    gap: 18px;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
 
.team-card.is-active .team-card__icons {
    opacity: 1;
    pointer-events: auto;
}
 
.team-card__icon {
    display: block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
 
.team-card__icon img {
    width: 36px;
    height: 36px;
    display: block;
    /* Force icons to white so they show on the dark background */
}
 
/* TEAM IMDb hover should match CAST movement, but keep full opacity */
.team-card__icon[aria-label*="IMDb"]:hover {
    transform: scale(0.94) !important;
    opacity: 1 !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35) !important;
}
 
/*.team-card__icon[aria-label*="LinkedIn"] img {
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.7));
}*/
 
.team-card__icon:hover {
    transform: scale(0.94);
}
 
/* Bio text below */
.team-card__bio {
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
    font-size: clamp(13px, 0.95vw, 15px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    max-width: 300px;
}
 
.team-card__bio em {
    font-style: italic;
}
 
@media (max-width: 768px) {
    /* Center everything in team cards on mobile */
    .team-card {
        align-items: center;
        text-align: center;
        width: 100%;
    }
 
 
    .team-card__media {
        flex-direction: column;   /* stack photo and icons vertically */
        align-items: center;      /* center them */
        width: 100%;
    }
 
 
    .team-card__photo {
        margin: 0 auto;
    }
 
    .team-card__bio {
        max-width: 100%;
        margin: 0px;
    }
 
    .team-card__icons {
        display: none;
    }
}
 
/* ============ PRODUCTION TEAM ============ */
.team--production {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;   /* ← THIS is the missing piece */
    padding: 80px 48px;
}
 
.team--production .team__inner {
    width: 100%;
    max-width: 1000px;          /* was 1200px */
    margin: 0 auto;
}
 
.team--production .team__heading {
    margin-bottom: 60px;
}
 
.team__row--pair {
    display: flex;
    gap: 48px;
    justify-content: center;
    align-items: flex-start;
    margin-left: 80px;
}
 
.team__row--pair .team-card {
    flex: 0 0 460px;   /* fixed, no grow no shrink — was 0 1 460px */
    max-width: 460px;
}
 
@media (max-width: 768px) {
    .team--production { padding: 60px 20px; min-height: auto; }
 
    .team__row--pair {
        flex-direction: column;
        align-items: center;
        gap: 50px;
        margin-left: 0;
    }
 
    .team__row--pair .team-card {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
        align-items: center;      /* ← center photo + text */
        text-align: center;       /* ← center the text */
    }
 
    .team--production .team-card__media {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
 
    .team--production .team-card__bio {
        max-width: 100%;
        margin: 0 auto;
    }
 
    .team--production .team-card__icons {
        display: none;
    }
}
 
/* ============ COMPARABLE FILMS ============ */
.comps {
    padding: 100px 48px 120px;
    background: #0a0a0a;
}
 
.comps__heading {
    font-family: 'Satoshi', sans-serif;
    font-weight: 500;
    font-size: clamp(36px, 5vw, 64px);
    letter-spacing: 0.04em;
    text-align: center;
    color: #fff;
    margin-bottom: 80px;
}
 
.comps__grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(24px, 3vw, 48px);
    align-items: start;
}
 
.comp-card {
    display: flex;
    flex-direction: column;
}
 
/* Poster */
.comp-card__poster {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
 
.comp-card__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
 
/* Gold glow on hover */
.comp-card:hover .comp-card__poster {
    box-shadow:
        0 0 30px 2px rgba(212, 181, 118, 0.45),
        0 0 70px 12px rgba(212, 181, 118, 0.22);
}
 
/* Details — hidden until hover, space reserved so nothing jumps */
.comp-card__details {
    margin-top: 24px;
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
 
.comp-card:hover .comp-card__details {
    opacity: 1;
    transform: translateY(0);
}
 
/* Row: label left, value right */
.comp-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    font-family: 'Satoshi', sans-serif;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.02em;
}
 
.comp-row + .comp-row { margin-top: 18px; }
 
.comp-row__label,
.comp-row__value {
    font-weight: 400;
    font-size: clamp(14px, 1.1vw, 18px);
}
 
.comp-row__value { white-space: nowrap; }
 
.comp-row--title .comp-row__label,
.comp-row--title .comp-row__value {
    font-weight: 500;
    font-size: clamp(16px, 1.3vw, 21px);
}
 
/* Touch / small screens have no hover → show details always */
@media (max-width: 900px) {
    .comps__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .comp-card__details { opacity: 1; transform: none; }
}
 
@media (max-width: 520px) {
    .comps { padding: 60px 20px 80px; }
    .comps__grid { grid-template-columns: 1fr; max-width: 360px; }
}
 
/* ============ AUDIENCE ============ */
.audience {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 48px;
    background: #0a0a0a;
}
 
.audience__heading {
    font-family: 'Satoshi', sans-serif;
    font-weight: 500;
    font-size: clamp(36px, 5vw, 64px);
    letter-spacing: 0.04em;
    text-align: center;
    color: #fff;
    margin-bottom: 100px;
}
 
.audience__grid {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(40px, 6vw, 100px);
    justify-items: center;   /* centers each column's box within its track */
}
 
/* Middle column — center its text under AUDIENCE */
.audience__col:nth-child(2) {
    text-align: center;
}
.audience__col-title {
    font-family: 'Satoshi', sans-serif;
    font-weight: 500;
    font-size: clamp(18px, 1.5vw, 24px);
    color: #fff;
    letter-spacing: 0.02em;
    margin-bottom: 36px;
}
 
.audience__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
 
.audience__list li {
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
    font-size: clamp(15px, 1.15vw, 19px);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-bottom: 22px;
}
 
.audience__list li:last-child {
    margin-bottom: 0;
}
 
 
 
 
/* ============ SCHEDULE ============ */
.schedule {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 48px;
    background: #0a0a0a;
}
 
.schedule__heading {
    font-family: 'Satoshi', sans-serif;
    font-weight: 500;
    font-size: clamp(36px, 5vw, 64px);
    letter-spacing: 0.04em;
    text-align: center;
    color: #fff;
    margin-bottom: 100px;
}
 
.schedule__grid {
    width: fit-content;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, max-content);
    gap: clamp(40px, 5vw, 90px);
    align-items: start;
}
 
.schedule__col-title {
    font-family: 'Satoshi', sans-serif;
    font-weight: 500;
    font-size: clamp(18px, 1.5vw, 24px);
    color: #fff;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}
 
.schedule__col-dates {
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: clamp(13px, 1vw, 16px);
    color: #d4b576;
    margin: 0 0 28px 0;
}
 
.schedule__col-dates--empty {
    visibility: hidden;
}
 
.schedule__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
 
.schedule__list li {
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 1.1vw, 18px);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-bottom: 20px;
}
 
.schedule__list li:last-child {
    margin-bottom: 0;
}
 
@media (max-width: 900px) {
    .schedule__grid {
        width: auto;
        grid-template-columns: repeat(2, max-content);
        justify-content: center;
        gap: 50px;
    }
}
 
@media (max-width: 520px) {
    .schedule__grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }
}
 
/* ============ FOOTER ============ */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    padding: 40px 48px;
    background: #0a0a0a;
}
 
.footer__inner {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}
 
/* Contact: email + phone centered, side by side */
.footer__contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}
 
.footer__link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
    font-size: clamp(13px, 1vw, 15px);
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.25s ease;
    white-space: nowrap;
}
 
.footer__link:hover {
    color: #d4b576;
}
 
.footer__icon {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
}
 
/* Back-to-top arrow, pinned right, vertically centered */
.footer__top {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #fff;
}
 
.footer__top svg {
    width: 20px;
    height: 20px;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
 
/* Nudge the arrow up on click, echoing the moodboard arrows */
.footer__top:active svg {
    transform: translateY(-4px);
}
 
/* Mobile: stack contact above the arrow row */
@media (max-width: 600px) {
    .footer { padding: 32px 20px; }
    .footer__inner {
        flex-direction: column;
        gap: 20px;
    }
    .footer__contact {
        flex-direction: row;
        gap: 28px;
    }
    .footer__top {
        position: static;
        transform: none;
    }
}
 
.footer__copyright {
    margin-top: 28px;
    text-align: center;
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
    font-size: clamp(11px, 0.9vw, 13px);
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.45);
}
 
@media (max-width: 768px) {
    .cast-mobile__header {
        text-align: center;
        margin: -6px 0 28px;
    }
 
    .cast-mobile__subtitle {
        font-family: 'Satoshi', sans-serif;
        font-weight: 400;
        font-size: 13px;
        letter-spacing: 0.25em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.6);
        margin: 0 0 12px;
    }
 
    .cast-mobile__side-label {
        font-family: 'Satoshi', sans-serif;
        font-weight: 400;
        font-style: italic;
        font-size: 18px;
        color: rgba(255, 255, 255, 0.72);
        margin: 0;
    }
 
    .cast-mobile__dots {
        margin-top: 24px;
    }
}
 
@media (max-width: 768px) {
    .cast-mobile__header {
        min-height: 68px; /* was 88px */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        margin: -6px 0 18px; /* was 34px */
    }
 
    .cast-mobile__subtitle {
        margin: 0 0 10px; /* was 18px */
    }
 
    .cast-mobile__side-label {
        min-height: 24px;
        line-height: 1.25;
    }
 
    .cast-mobile__track {
        margin-top: 0;
    }
}
 
@media (max-width: 768px) {
    /* Move attached badge a bit to the right on mobile */
 
    .cast-card__badge {
        left: auto !important;
        right: 25px !important;
        top: 30px;
    }
}
 
@media (max-width: 768px) {
    /* Better mobile overlay when bio is open */
    .cast-card__bio {
        background:
            linear-gradient(
                to bottom,
                rgba(0, 0, 0, 0.72) 0%,
                rgba(0, 0, 0, 0.58) 35%,
                rgba(0, 0, 0, 0.78) 100%
            ) !important;
        backdrop-filter: blur(1.5px);
        -webkit-backdrop-filter: blur(1.5px);
        justify-content: flex-start;
        padding: 42px 32px 34px;
    }
 
    /* Keep the bio readable */
    .cast-card__name {
        margin-top: 14px;
        text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
    }
 
    .cast-card__role,
    .cast-card__text {
        text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
    }
}
 
@media (max-width: 768px) {
    .team-card__bio,
    .team--production .team-card__bio {
        width: 300px;
        max-width: 300px;
        margin: 0 auto;
        text-align: center;
    }
}
 
@media (max-width: 768px) {
    .team__heading {
        margin-bottom: 40px; /* lower number = closer to Barak */
    }
}
 
@media (max-width: 768px) {
    /* Move COMPARABLE FILMS closer to the first film */
    .comps__heading {
        margin-bottom: 40px;
    }
 
    /* Create bigger vertical gaps between films on mobile */
    .comps__grid {
        grid-template-columns: 1fr;
        gap: 90px;
        max-width: 330px;
    }
 
    .comp-card {
        width: 100%;
    }
}
 
@media (max-width: 768px) {
    .audience__grid {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        padding-left: 70px; /* moves the whole text block inward */
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 86px;
    }
 
    .audience__col,
    .audience__grid .audience__col,
    .audience__grid .audience__col:nth-child(2) {
        width: 100%;
        text-align: left !important;
        align-items: flex-start !important;
    }
 
    .audience__col h3,
    .audience__col p,
    .audience__col li {
        text-align: left !important;
    }
}
 
@media (max-width: 768px) {
    /* AUDIENCE title closer to content */
    .audience__heading {
        margin-bottom: 40px;
    }
 
    /* SCHEDULE title closer to content */
    .schedule__heading {
        margin-bottom: 40px;
    }
}
 
/* Gold IMDb buttons for TEAM section */
.team-card__icons {
    opacity: 1;
    pointer-events: auto;
    margin-top: 14px;
}
 
.team-card__icon[aria-label*="IMDb"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 118px;
    height: 42px;
    border-radius: 999px;
    background: #d4b576;
    color: #0a0a0a;
    font-family: 'Satoshi', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(212, 181, 118, 0.22);
}
 
.team-card__icon[aria-label*="IMDb"] img {
    display: none;
}
 
.team-card__icon[aria-label*="IMDb"]::after {
    content: "IMDb";
}
 
.team-card__icon[aria-label*="IMDb"]:hover {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 14px 32px rgba(212, 181, 118, 0.32);
}
 
@media (max-width: 768px) {
    .team-card__icons,
    .team--production .team-card__icons {
        display: flex !important;
        opacity: 1;
        pointer-events: auto;
        align-items: center;
        margin-top: -10px;
        margin-bottom: 24px;
    }
 
    .team-card__icon[aria-label*="IMDb"] {
        width: 110px;
        height: 40px;
        font-size: 12px;
    }
}
 
/* Fix TEAM IMDb button so it sits inside the image, not outside */
@media (max-width: 768px) {
    .team-card__media,
    .team--production .team-card__media {
        position: relative;
        width: fit-content !important;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
 
    .team-card__photo {
        position: relative;
    }
 
    .team-card__icons,
    .team--production .team-card__icons {
        position: absolute;
        right: 12px;
        bottom: 12px;
        z-index: 5;
        display: flex !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        margin: 0 !important;
    }
 
    .team-card__icon[aria-label*="IMDb"] {
        width: 86px;
        height: 32px;
        font-size: 11px;
    }
}
 
 
.team-card__icons,
.team--production .team-card__icons {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 5;
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    margin: 0 !important;
}
 
.team-card__icon[aria-label*="IMDb"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 94px;
    height: 34px;
    border-radius: 999px;
    background: #d4b576;
    color: #0a0a0a;
    font-family: 'Satoshi', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
 
.team-card__icon[aria-label*="IMDb"] img {
    display: none;
}
 
.team-card__icon[aria-label*="IMDb"]::after {
    content: "IMDb";
}
 
@media (max-width: 768px) {
    .cast-card__bio {
        align-items: flex-start !important;
    }
 
    .cast-card__imdb {
        position: static !important;
        align-self: flex-start !important;
        margin: 28px 0 0 0 !important;
 
        width: 94px;
        height: 34px;
        border-radius: 999px;
        background: #d4b576;
        color: #0a0a0a;
 
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
 
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    }
 
    .cast-card__imdb img {
        display: none !important;
    }
 
    .cast-card__imdb::after {
        content: "IMDb";
        font-family: 'Satoshi', sans-serif;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
}
 
/* CAST: IMDb button aligned left under bio text — desktop + mobile */
.cast-card__imdb {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
 
    width: 94px;
    height: 34px;
    margin: 24px 0 0 0 !important;
 
    border-radius: 999px;
    background: #d4b576;
    color: #0a0a0a;
 
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    align-self: flex-start !important;
 
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
 
.cast-card__imdb img {
    display: none !important;
}
 
.cast-card__imdb::after {
    content: "IMDb";
    font-family: 'Satoshi', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
 
.cast-card__bio {
    align-items: flex-start;
}
 
/* TEAM desktop + mobile: IMDb button inside bottom-right of the photo */
.team-card__media,
.team--production .team-card__media {
    position: relative !important;
    display: block !important;
    width: 300px !important;
    max-width: 300px !important;
    margin-bottom: 28px;
}
 
.team-card__photo,
.team--production .team-card__photo {
    position: relative;
    width: 300px !important;
    max-width: 300px !important;
}
 
.team-card__icons,
.team--production .team-card__icons {
    position: absolute !important;
    right: 12px !important;
    bottom: 12px !important;
    z-index: 5;
 
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
 
    margin: 0 !important;
    gap: 0 !important;
}
 
.team-card__icon[aria-label*="IMDb"] {
    width: 86px !important;
    height: 32px !important;
    border-radius: 999px;
    background: #d4b576;
    color: #0a0a0a;
 
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
 
    font-family: 'Satoshi', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
 
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
 
.team-card__icon[aria-label*="IMDb"] img {
    display: none !important;
}
 
.team-card__icon[aria-label*="IMDb"]::after {
    content: "IMDb";
}
 
/* Footer back-to-top hover fix */
.footer__top {
    border-radius: 8px;
    transition:
        background 0.25s ease,
        color 0.25s ease;
}
 
.footer__top:hover {
    background: #ffffff;
    color: #0a0a0a;
}
 
.footer__top:hover svg {
    color: #0a0a0a;
    stroke: #0a0a0a;
}
 
@media (max-width: 768px) {
    /* Make wide cast cards behave like normal portrait cards on mobile */
    .cast-mobile__slide .cast-card--wide {
        aspect-ratio: 3 / 4 !important;
    }
 
    .cast-mobile__slide .cast-card--wide .cast-card__photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
 
    /* If a bio is still long, allow it to scroll inside the card */
    .cast-mobile__slide .cast-card__bio {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}
 
@media (max-width: 768px) {
    .cast-card::after {
        content: "View Bio";
        position: absolute;
        right: 24px;
        bottom: 24px;
        z-index: 4;
 
        padding: 0 0 4px;
        border-bottom: 1px solid #d4b576;
 
        background: transparent;
        color: rgba(255, 255, 255, 0.92);
 
        font-family: 'Satoshi', sans-serif;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 0.12em;
        text-transform: uppercase;
 
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
        pointer-events: none;
    }
 
    .cast-card.is-revealed::after {
        display: none;
    }
}
