/* ==========================================================================
   KASS PHOTOGRAPHY — «Частна прожекция»
   A cinematic dark theme: the photographs are the only light.
   Type: Cormorant Garamond (display) · Oswald (credits) · Golos Text (body)
   ========================================================================== */

:root {
    --ink: #0c0a08;
    --ink-raised: #16120e;
    --ink-glass: rgba(12, 10, 8, 0.82);
    --bone: #ece4d6;
    --bone-dim: rgba(236, 228, 214, 0.62);
    --bone-faint: rgba(236, 228, 214, 0.38);
    --accent: #e82c85;
    --accent-deep: #db006b;
    --line: rgba(236, 228, 214, 0.14);
    --line-strong: rgba(236, 228, 214, 0.28);

    --serif: 'Cormorant Garamond', 'Georgia', serif;
    --sans: 'Golos Text', 'Helvetica Neue', sans-serif;
    --credit: 'Oswald', 'Arial Narrow', sans-serif;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --pad: clamp(1.25rem, 4vw, 4rem);
}

/* ---------- reset ---------- */

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

html { scrollbar-color: #3a332b var(--ink); }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
    background: var(--ink);
    color: var(--bone);
    font-family: var(--serif);
    font-size: 1.15rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection { background: var(--accent-deep); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }

/* ---------- atmosphere: grain + vignette ---------- */

.film-grain {
    position: fixed;
    inset: -100px;
    z-index: 9000;
    pointer-events: none;
    opacity: 0.055;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain-shift 0.9s steps(3) infinite;
}

@keyframes grain-shift {
    0% { transform: translate(0, 0); }
    33% { transform: translate(-30px, 18px); }
    66% { transform: translate(22px, -26px); }
    100% { transform: translate(0, 0); }
}

.vignette {
    position: fixed;
    inset: 0;
    z-index: 8999;
    pointer-events: none;
    background: radial-gradient(ellipse 120% 90% at 50% 42%, transparent 62%, rgba(0, 0, 0, 0.42) 100%);
}

/* ---------- header ---------- */

.site-top {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.1rem var(--pad);
    transition: background 0.5s ease, padding 0.5s ease, border-color 0.5s ease;
    border-bottom: 1px solid transparent;
}

.site-top.is-scrolled {
    background: var(--ink-glass);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}

/* while the mobile menu is open, mask content scrolling under the header */
html.is-menu-open .site-top {
    background: rgba(10, 8, 6, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom-color: var(--line);
}

.brand { display: flex; align-items: center; z-index: 720; }

.brand__logo {
    display: block;
    height: 52px;
    width: auto;
    transition: height 0.5s ease;
}

.site-top.is-scrolled .brand__logo { height: 42px; }

@media (max-width: 560px) {
    .brand__logo { height: 44px; }
    .site-top.is-scrolled .brand__logo { height: 38px; }
}

.top-nav > ul { display: flex; gap: clamp(1.1rem, 2.4vw, 2.4rem); }

.top-nav li { position: relative; }

.top-nav a {
    font-family: var(--credit);
    font-weight: 300;
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--bone-dim);
    padding: 0.6rem 0;
    display: inline-block;
    position: relative;
    transition: color 0.35s ease;
}

.top-nav a:hover, .top-nav a.is-active { color: var(--bone); }

.top-nav a.is-active::before {
    content: '';
    position: absolute;
    left: -0.85em;
    top: 50%;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent-deep);
    transform: translateY(-50%);
    box-shadow: 0 0 8px var(--accent-deep);
}

/* dropdown: the programme */
.sub-panel {
    position: absolute;
    top: 100%; left: 50%;
    transform: translate(-50%, 8px);
    min-width: 260px;
    padding: 1rem 0;
    background: rgba(16, 13, 10, 0.94);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, transform 0.35s var(--ease-out), visibility 0s linear 0.35s;
}

.top-nav li:hover .sub-panel,
.top-nav li:focus-within .sub-panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition-delay: 0s;
}

/* long tabs flow into extra columns (max 8 rows) instead of one tall list */
.sub-panel ul {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(8, auto);
    column-gap: 0.5rem;
}

.sub-panel a {
    font-family: var(--serif);
    font-size: 1.02rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: none;
    color: var(--bone-dim);
    display: block;
    white-space: nowrap;
    padding: 0.32rem 1.25rem;
    transition: color 0.3s ease, transform 0.3s var(--ease-out);
}

.sub-panel a:hover { color: var(--bone); transform: translateX(0.4rem); }

/* burger */
.burger {
    display: none;
    z-index: 720;
    width: 40px; height: 40px;
    position: relative;
}

.burger span {
    position: absolute;
    left: 8px; right: 8px;
    height: 1px;
    background: var(--bone);
    transition: transform 0.45s var(--ease-out), top 0.45s var(--ease-out);
}

.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 24px; }

html.is-menu-open .burger span:nth-child(1) { top: 20px; transform: rotate(45deg); }
html.is-menu-open .burger span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

/* mobile overlay — the interlude */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 690;
    background: rgba(10, 8, 6, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    padding: calc(env(safe-area-inset-top) + clamp(4.75rem, 12vh, 6.5rem)) var(--pad) calc(env(safe-area-inset-bottom) + 2rem);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0s linear 0.45s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

html.is-menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.mobile-menu__list { flex: 0 0 auto; }

.mobile-menu__item {
    border-top: 1px solid var(--line);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s var(--ease-out);
}

.mobile-menu__item:last-of-type { border-bottom: 1px solid var(--line); }

html.is-menu-open .mobile-menu__item {
    opacity: 1;
    transform: none;
}

.mobile-menu__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.mobile-menu__link {
    flex: 1;
    font-family: var(--serif);
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    font-weight: 500;
    line-height: 1.1;
    padding: 0.85rem 0;
}

.mobile-menu__link.is-active { color: var(--accent); font-style: italic; }

/* expand/collapse toggle */
.mobile-menu__toggle {
    position: relative;
    flex: none;
    width: 42px; height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--bone-dim);
    transition: color 0.35s ease, border-color 0.35s ease;
}

.mobile-menu__toggle span {
    position: absolute;
    top: 50%; left: 50%;
    width: 13px; height: 1px;
    background: currentColor;
    transition: transform 0.4s var(--ease-out), opacity 0.3s ease;
}

.mobile-menu__toggle span:nth-child(1) { transform: translate(-50%, -50%); }
.mobile-menu__toggle span:nth-child(2) { transform: translate(-50%, -50%) rotate(90deg); }

.mobile-menu__item.is-open .mobile-menu__toggle { color: var(--accent); border-color: var(--accent-deep); }
.mobile-menu__item.is-open .mobile-menu__toggle span:nth-child(2) { opacity: 0; }

/* collapsible submenu */
.mobile-menu__sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease-out);
}

.mobile-menu__item.is-open .mobile-menu__sub { max-height: 48rem; }

.mobile-menu__sub li { border-top: 1px solid rgba(236, 228, 214, 0.06); }
.mobile-menu__sub li:first-child { border-top: 0; }

.mobile-menu__sub a {
    font-family: var(--credit);
    font-weight: 300;
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bone-dim);
    display: block;
    padding: 0.62rem 0 0.62rem 1.1rem;
    transition: color 0.3s ease, padding 0.3s ease;
}

.mobile-menu__sub a:hover,
.mobile-menu__sub a:active { color: var(--bone); padding-left: 1.4rem; }

.mobile-menu__sub li:last-child a { padding-bottom: 1rem; }

.mobile-menu__foot {
    flex: none;
    margin-top: 2.4rem;
    display: flex;
    gap: 1.6rem;
    opacity: 0;
    transition: opacity 0.6s ease 0.4s;
}

html.is-menu-open .mobile-menu__foot { opacity: 1; }

/* ---------- shared vocabulary ---------- */

.credits-line {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    font-family: var(--credit);
    font-weight: 300;
    font-size: 0.66rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--bone-faint);
    white-space: nowrap;
}

.credits-line::after {
    content: '';
    height: 1px;
    flex: 1;
    background: var(--line);
}

.credits-line--center { justify-content: center; }
.credits-line--center::before { content: ''; height: 1px; flex: 1; background: var(--line); }

.rec-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-deep);
    box-shadow: 0 0 10px var(--accent-deep);
    animation: rec-pulse 2.2s ease-in-out infinite;
    flex: none;
}

@keyframes rec-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

.display-title {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: 0.01em;
}

.display-title em, .accent-word {
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}

.link-arrow {
    font-family: var(--credit);
    font-weight: 300;
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--bone);
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding-bottom: 0.4rem;
    position: relative;
}

.link-arrow::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 1px;
    background: var(--line-strong);
}

.link-arrow::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.5s var(--ease-out);
}

.link-arrow:hover::after { width: 100%; }

.link-arrow .arr { transition: transform 0.4s var(--ease-out); }
.link-arrow:hover .arr { transform: translateX(6px); }

.btn-ghost {
    font-family: var(--credit);
    font-weight: 300;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    border: 1px solid var(--line-strong);
    padding: 1.05rem 2.4rem;
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.45s ease, border-color 0.45s ease;
}

.btn-ghost::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bone);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s var(--ease-out);
    z-index: -1;
}

.btn-ghost:hover { color: var(--ink); border-color: var(--bone); }
.btn-ghost:hover::before { transform: scaleY(1); }

.prose { color: var(--bone-dim); max-width: 62ch; }
.prose p { margin-bottom: 1.1em; }
.prose a { color: var(--accent); border-bottom: 1px solid rgba(232, 44, 133, 0.35); }
.prose strong, .prose b { color: var(--bone); font-weight: 500; }
.prose--center { margin-inline: auto; text-align: center; }

/* headings inside DB-authored rich text (campaigns, pages) use the
   display serif so they match the rest of the site, not bold sans */
.prose h1, .prose h2, .prose h3, .prose h4 {
    font-family: var(--serif);
    font-weight: 500;
    color: var(--bone);
    line-height: 1.2;
}

.prose h2 { font-size: clamp(1.5rem, 3.2vw, 2.15rem); margin: 1.6em 0 0.5em; }
.prose h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 1.5em 0 0.45em; }
.prose h4 { font-size: 1.2rem; margin: 1.3em 0 0.4em; }
.prose > :first-child { margin-top: 0; }

/* reveal on scroll */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1.1s var(--ease-out);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform;
}

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

/* ---------- hero: the opening titles ---------- */

.cine-hero {
    position: relative;
    height: 100svh;
    min-height: 560px;
    overflow: hidden;
}

.cine-hero__media { position: absolute; inset: 0; will-change: transform; }

.cine-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.8s ease;
    filter: brightness(0.68) saturate(0.92);
}

.cine-hero__media img.is-active {
    opacity: 1;
    animation: ken-burns 9s ease-out forwards;
}

@keyframes ken-burns {
    from { transform: scale(1); }
    to { transform: scale(1.09); }
}

.cine-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(12, 10, 8, 0.55) 0%, transparent 30%),
        linear-gradient(180deg, transparent 42%, rgba(12, 10, 8, 0.82) 100%);
    pointer-events: none;
}

/* the curtains */
.cine-hero__bar {
    position: absolute;
    left: 0; right: 0;
    height: 50.5%;
    background: var(--ink);
    z-index: 6;
    transition: transform 1.7s var(--ease-out);
}

.cine-hero__bar--top { top: 0; transform-origin: top; }
.cine-hero__bar--bottom { bottom: 0; transform-origin: bottom; }

.cine-hero.is-open .cine-hero__bar--top { transform: scaleY(0); }
.cine-hero.is-open .cine-hero__bar--bottom { transform: scaleY(0); }

.cine-hero__content {
    position: absolute;
    left: var(--pad);
    right: var(--pad);
    bottom: clamp(5rem, 13vh, 9rem);
    z-index: 10;
    max-width: 950px;
}

.cine-hero__content .credits-line {
    margin-bottom: 1.6rem;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 1s ease 1.1s, transform 1s var(--ease-out) 1.1s;
}

.cine-hero__title {
    font-size: clamp(2.5rem, 6.4vw, 5.6rem);
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 1.1s ease 1.35s, transform 1.2s var(--ease-out) 1.35s;
}

.cine-hero.is-open .cine-hero__content .credits-line,
.cine-hero.is-open .cine-hero__title {
    opacity: 1;
    transform: none;
}

/* rotating word */
.word-reel {
    display: inline-grid;
    text-align: left;
    vertical-align: baseline;
}

.word-reel > span {
    grid-area: 1 / 1;
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
    opacity: 0;
    transform: translateY(0.35em);
    filter: blur(6px);
    transition: opacity 0.7s ease, transform 0.7s var(--ease-out), filter 0.7s ease;
    white-space: nowrap;
}

.word-reel > span.is-in {
    opacity: 1;
    transform: none;
    filter: blur(0);
}

.cine-hero__scroll {
    position: absolute;
    bottom: 2.2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--credit);
    font-weight: 300;
    font-size: 0.58rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--bone-faint);
    opacity: 0;
    transition: opacity 1s ease 2.2s;
}

.cine-hero.is-open .cine-hero__scroll { opacity: 1; }

.cine-hero__scroll::after {
    content: '';
    width: 1px;
    height: 44px;
    background: linear-gradient(var(--bone-faint), transparent);
    animation: scroll-hint 2.4s var(--ease-out) infinite;
}

@keyframes scroll-hint {
    0% { transform: scaleY(0); transform-origin: top; }
    45% { transform: scaleY(1); transform-origin: top; }
    55% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- hero: directed-by credit ---------- */

.cine-hero__credit {
    margin-top: 1.5rem;
    font-family: var(--credit);
    font-weight: 300;
    font-size: 0.66rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--bone-dim);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 1s ease 1.75s, transform 1s var(--ease-out) 1.75s;
}

.cine-hero.is-open .cine-hero__credit { opacity: 1; transform: none; }

.cine-hero__credit b { color: var(--bone); font-weight: 400; }

/* ---------- sections ---------- */

.section { padding: clamp(4.5rem, 11vh, 8.5rem) var(--pad); }

.section__head { margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }

.section__head .display-title {
    font-size: clamp(2rem, 4.6vw, 3.9rem);
    margin-top: 1.1rem;
}

.section__head--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

/* editorial grid — selected scenes */
/* uniform, size-capped thumbnails — columns are added as the screen
   widens instead of the images growing, so cards stay a calm size */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(150px, 22vw, 280px), 1fr));
    gap: clamp(0.9rem, 1.5vw, 1.6rem);
    row-gap: clamp(1.6rem, 3.2vh, 2.6rem);
}

.scene-card { position: relative; }

.scene-card__frame {
    position: relative;
    overflow: hidden;
    background: var(--ink-raised);
}

.scene-card__frame::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(236, 228, 214, 0.07);
    pointer-events: none;
}

.scene-card__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: var(--ar, 4 / 5);
    filter: brightness(0.88) saturate(0.95);
    transition: transform 1.4s var(--ease-out), filter 0.8s ease;
}

.scene-card:hover .scene-card__frame img {
    transform: scale(1.045);
    filter: brightness(1) saturate(1);
}

.scene-card__meta { padding-top: 1.1rem; }

.scene-card__num {
    font-family: var(--credit);
    font-weight: 300;
    font-size: 0.6rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--bone-faint);
    display: block;
    margin-bottom: 0.35rem;
}

.scene-card__name {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    line-height: 1.2;
    display: inline-block;
    position: relative;
    transition: color 0.4s ease;
}

.scene-card:hover .scene-card__name { color: var(--accent); }

.scene-card__desc {
    color: var(--bone-faint);
    font-size: 0.86rem;
    margin-top: 0.3rem;
    max-width: 40ch;
}

.scene-card > a.stretched {
    position: absolute;
    inset: 0;
    z-index: 3;
}

/* about teaser — интермедия */
.interlude {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
}

.interlude__portrait { grid-column: 1 / span 5; position: relative; }

.interlude__portrait img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    filter: brightness(0.9) saturate(0.92);
}

.interlude__portrait::before {
    content: '';
    position: absolute;
    inset: 1.1rem -1.1rem -1.1rem 1.1rem;
    border: 1px solid var(--line);
    pointer-events: none;
}

.interlude__portrait::after {
    content: '';
    position: absolute;
    right: -1.1rem;
    bottom: -1.1rem;
    width: 44px;
    height: 44px;
    border-right: 1px solid var(--accent-deep);
    border-bottom: 1px solid var(--accent-deep);
}

.interlude__copy { grid-column: 7 / span 6; }

.interlude__quote {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.5rem, 2.9vw, 2.4rem);
    line-height: 1.32;
    margin: 1.4rem 0 1.5rem;
}

.interlude__copy .prose { margin-bottom: 2.2rem; }

/* CTA — финална сцена */
.cta-scene {
    text-align: center;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(ellipse 60% 90% at 50% 110%, rgba(219, 0, 107, 0.07), transparent 70%);
}

.cta-scene .display-title { font-size: clamp(2.2rem, 5.4vw, 4.4rem); margin: 1.4rem 0 2.6rem; }

.cta-scene__actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- interior page head ---------- */

.page-head {
    padding: clamp(9rem, 22vh, 13rem) var(--pad) clamp(2.5rem, 6vh, 4rem);
}

.page-head .display-title { font-size: clamp(2.4rem, 6vw, 5rem); margin-top: 1.3rem; }

.page-head__sub {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--bone-dim);
    margin-top: 0.9rem;
}

/* ---------- home: film-reel showcase ---------- */

.reel-showcase { padding: clamp(4rem, 10vh, 7.5rem) 0 clamp(3.5rem, 8vh, 6rem); }

.reel-showcase .section__head { padding: 0 var(--pad); }

/* sprocket perforations that frame the strip */
.reel-perf {
    height: 15px;
    margin: 0 var(--pad);
    background: repeating-linear-gradient(90deg,
        transparent 0 8px,
        rgba(236, 228, 214, 0.13) 8px 20px,
        transparent 20px 28px);
    border-radius: 2px;
    opacity: 0.75;
}

.reel-track {
    display: flex;
    gap: clamp(0.7rem, 1.4vw, 1.3rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.6rem var(--pad);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.reel-track::-webkit-scrollbar { display: none; }
.reel-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }

.reel-frame {
    flex: none;
    scroll-snap-align: center;
    position: relative;
    width: clamp(270px, 40vw, 560px);
    height: clamp(340px, 58vh, 680px);
    overflow: hidden;
    background: var(--ink-raised);
    box-shadow: inset 0 0 0 1px rgba(236, 228, 214, 0.08);
}

.reel-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.78) saturate(0.95);
    transition: transform 1.3s var(--ease-out), filter 0.6s ease;
}

.reel-frame:hover img { transform: scale(1.05); filter: brightness(0.95) saturate(1); }

.reel-frame__grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 10, 8, 0.45) 0%, transparent 26%, transparent 50%, rgba(12, 10, 8, 0.92) 100%);
    pointer-events: none;
}

.reel-frame__no {
    position: absolute;
    top: 1.1rem; left: 1.2rem;
    font-family: var(--credit);
    font-weight: 300;
    font-size: 0.58rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--bone-dim);
}

.reel-frame__cap { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.4rem; }

.reel-frame__name {
    display: block;
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.35rem, 2.2vw, 2.1rem);
    line-height: 1.15;
    transition: color 0.4s ease;
}

.reel-frame:hover .reel-frame__name { color: var(--accent); }

.reel-frame__cta {
    display: inline-block;
    margin-top: 0.6rem;
    font-family: var(--credit);
    font-weight: 300;
    font-size: 0.6rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--bone-faint);
}

.reel-progress {
    height: 1px;
    margin: 1.3rem var(--pad) 0;
    background: var(--line);
    position: relative;
}

.reel-progress__fill {
    position: absolute;
    left: 0; top: 0;
    height: 100%;
    width: 0;
    background: var(--accent-deep);
    transition: width 0.12s linear;
}

/* ---------- home: title-card interstitial ---------- */

.title-card {
    position: relative;
    padding: clamp(6rem, 16vh, 11rem) var(--pad);
    text-align: center;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: radial-gradient(ellipse 75% 120% at 50% 50%, rgba(219, 0, 107, 0.06), transparent 70%);
    overflow: hidden;
}

.title-card__q {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.7rem, 4vw, 3.4rem);
    line-height: 1.3;
    max-width: 20ch;
    margin: 1.5rem auto 0;
}

.title-card__q em { color: var(--accent); font-style: italic; }

/* ---------- gallery single: the screening room ---------- */

/* column-WIDTH, not a fixed count: the browser packs as many ~240px
   columns as fit, so thumbnails stay small no matter how wide the screen */
.masonry {
    columns: 240px;
    column-gap: 1rem;
    padding: 0 var(--pad);
}

.masonry a {
    display: block;
    margin-bottom: 1rem;
    break-inside: avoid;
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    background: var(--ink-raised);
}

.masonry img {
    width: 100%;
    height: auto;
    filter: brightness(0.9) saturate(0.95);
    transition: filter 0.6s ease, transform 1.2s var(--ease-out);
}

.masonry a:hover img {
    filter: brightness(1.02) saturate(1);
    transform: scale(1.025);
}

.masonry a::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(236, 228, 214, 0.06);
    pointer-events: none;
}

/* prev / next — следваща прожекция */
.reel-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
    margin-top: clamp(3rem, 8vh, 5.5rem);
}

.reel-nav__cell { padding: clamp(1.8rem, 5vh, 3.2rem) var(--pad); }

.reel-nav__cell--next { text-align: right; border-left: 1px solid var(--line); }

.reel-nav__cell .credits-line { margin-bottom: 0.7rem; }
.reel-nav__cell--next .credits-line { justify-content: flex-end; }
.reel-nav__cell--next .credits-line::after { display: none; }
.reel-nav__cell--next .credits-line::before { content: ''; height: 1px; flex: 1; background: var(--line); }

.reel-nav__cell a {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.2rem, 2.4vw, 1.9rem);
    transition: color 0.35s ease;
}

.reel-nav__cell a:hover { color: var(--accent); }

/* ---------- lightbox: прожекционна ---------- */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9500;
    background: rgba(8, 6, 5, 0.96);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.lightbox__stage {
    max-width: min(92vw, 1500px);
    max-height: 84vh;
    position: relative;
}

.lightbox__stage img {
    max-width: 100%;
    max-height: 84vh;
    width: auto;
    height: auto;
    margin: 0 auto;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
    transform: scale(0.97);
    opacity: 0;
    transition: transform 0.55s var(--ease-out), opacity 0.45s ease;
}

.lightbox.is-open .lightbox__stage img.is-shown { transform: none; opacity: 1; }

.lightbox__counter {
    position: absolute;
    top: 1.4rem;
    left: var(--pad);
    font-family: var(--credit);
    font-weight: 300;
    font-size: 0.72rem;
    letter-spacing: 0.34em;
    color: var(--bone-dim);
}

.lightbox__close {
    position: absolute;
    top: 1rem;
    right: var(--pad);
    font-family: var(--credit);
    font-weight: 300;
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--bone-dim);
    padding: 0.6rem;
    transition: color 0.3s ease;
}

.lightbox__close:hover { color: var(--bone); }

.lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 58px; height: 58px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--bone-dim);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.35s ease, color 0.35s ease, background 0.35s ease;
    z-index: 5;
}

.lightbox__arrow:hover { border-color: var(--bone); color: var(--bone); background: rgba(236, 228, 214, 0.05); }

.lightbox__arrow--prev { left: calc(var(--pad) * 0.75); }
.lightbox__arrow--next { right: calc(var(--pad) * 0.75); }

/* ---------- pricing: compact programme rows ---------- */

.price-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: clamp(0.9rem, 2vw, 1.6rem);
    padding: clamp(0.9rem, 2.4vh, 1.4rem) 0;
    border-top: 1px solid var(--line);
    text-align: left;
    color: inherit;
    cursor: pointer;
    transition: padding 0.4s var(--ease-out);
}

.price-list .price-row:last-of-type { border-bottom: 1px solid var(--line); }

.price-row__num {
    font-family: var(--credit);
    font-weight: 300;
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    color: var(--bone-faint);
    flex: none;
    width: 2.6rem;
}

.price-row__title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    line-height: 1.2;
    flex: 1;
    transition: color 0.35s ease;
}

.price-row__from {
    flex: none;
    font-family: var(--credit);
    font-weight: 300;
    font-size: clamp(0.62rem, 1.2vw, 0.72rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bone-dim);
    white-space: nowrap;
    transition: color 0.35s ease;
}

.price-row__cue {
    flex: none;
    font-size: 0.95rem;
    color: var(--bone-faint);
    transition: transform 0.4s var(--ease-out), color 0.35s ease;
}

.price-row:hover { padding-left: 0.6rem; }
.price-row:hover .price-row__title { color: var(--accent); }
.price-row:hover .price-row__from { color: var(--bone); }
.price-row:hover .price-row__cue { color: var(--accent); transform: translateX(5px); }

/* ---------- pricing: modal ---------- */

.price-modal {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 5vh, 3rem) var(--pad);
    background: rgba(8, 6, 5, 0.9);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

.price-modal.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }

.price-modal__panel {
    position: relative;
    width: 100%;
    max-width: 1000px;
    max-height: 86vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: var(--ink-raised);
    border: 1px solid var(--line);
    padding: clamp(2.2rem, 4vw, 3.4rem);
    transform: translateY(24px) scale(0.985);
    transition: transform 0.5s var(--ease-out);
}

.price-modal.is-open .price-modal__panel { transform: none; }

.price-modal__close {
    position: absolute;
    top: 1.1rem;
    right: var(--pad);
    z-index: 5;
    font-family: var(--credit);
    font-weight: 300;
    font-size: 0.66rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--bone-dim);
    padding: 0.6rem;
    transition: color 0.3s ease;
}

.price-modal__close:hover { color: var(--bone); }

.price-modal__eyebrow {
    display: block;
    font-family: var(--credit);
    font-weight: 300;
    font-size: 0.6rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.9rem;
}

.price-modal__title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
    line-height: 1.1;
    margin-bottom: 1.6rem;
}

.price-modal__desc {
    color: var(--bone-dim);
    max-width: 70ch;
    margin-bottom: 2.2rem;
}

.price-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.1rem;
    align-items: stretch;
}

/* a package as a cinema ticket */
.price-card {
    position: relative;
    max-width: 380px;
    border: 1px solid var(--line);
    padding: 2rem 1.7rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(236, 228, 214, 0.03), transparent 42%);
    transition: border-color 0.45s ease, transform 0.45s var(--ease-out);
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--accent-deep), transparent 70%);
    opacity: 0;
    transition: opacity 0.45s ease;
}

.price-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.price-card:hover::before { opacity: 1; }

/* even, aligned figures — old-style numerals made the prices look ragged */
.price-card__price,
.price-card__alt,
.price-card__title,
.price-row__from {
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: "lnum" 1, "tnum" 1;
}

.price-card__title {
    font-family: var(--credit);
    font-weight: 400;
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--bone-dim);
    margin-bottom: 1.2rem;
}

.price-card__price {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 3rem;
    line-height: 1;
    letter-spacing: 0.01em;
    color: var(--bone);
}

.price-card__alt {
    font-family: var(--credit);
    font-weight: 300;
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bone-faint);
    margin-top: 0.65rem;
}

/* perforated ticket-tear divider */
.price-card__tear {
    position: relative;
    height: 1px;
    margin: 1.5rem -1.7rem;
    background-image: linear-gradient(90deg, var(--line-strong) 0 5px, transparent 5px 11px);
    background-size: 11px 1px;
    background-repeat: repeat-x;
    background-position: center;
}

.price-card__tear::before,
.price-card__tear::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--ink);
    box-shadow: inset 0 0 0 1px var(--line);
    transform: translateY(-50%);
}

.price-card__tear::before { left: -8px; }
.price-card__tear::after { right: -8px; }

/* collapsible card head + details (pricing modal) */
.price-card__head { display: block; width: 100%; }
.price-card.is-collapsible .price-card__head { cursor: pointer; }
.price-card__head:focus-visible { outline: 1px solid var(--line-strong); outline-offset: 6px; }

.price-card__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.4rem;
    font-family: var(--credit);
    font-weight: 300;
    font-size: 0.58rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--bone-faint);
    transition: color 0.3s ease;
}

.price-card.is-collapsible .price-card__head:hover .price-card__toggle,
.price-card.is-open .price-card__toggle { color: var(--accent); }

.price-card__toggle-icon { position: relative; width: 9px; height: 9px; flex: none; }

.price-card__toggle-icon::before,
.price-card__toggle-icon::after {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    background: currentColor;
}

.price-card__toggle-icon::before { width: 9px; height: 1px; transform: translate(-50%, -50%); }
.price-card__toggle-icon::after { width: 1px; height: 9px; transform: translate(-50%, -50%); transition: transform 0.4s var(--ease-out); }
.price-card.is-open .price-card__toggle-icon::after { transform: translate(-50%, -50%) scaleY(0); }

.price-card.is-collapsible .price-card__details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out), opacity 0.4s ease;
}

.price-card.is-collapsible.is-open .price-card__details {
    max-height: 48rem;
    opacity: 1;
}

.price-card__options {
    margin: 1.5rem 0 1.8rem;
    flex: 1;
}

.price-card__options li {
    font-size: 0.88rem;
    color: var(--bone-dim);
    padding: 0.55rem 0;
    border-top: 1px solid rgba(236, 228, 214, 0.08);
}

.price-card__options li:first-child { border-top: 0; }

.price-card .link-arrow { align-self: flex-start; }

.pricing-back { margin-bottom: 2rem; display: inline-flex; }

/* "on request" packages */
.price-empty {
    border: 1px dashed var(--line-strong);
    padding: clamp(1.8rem, 4vw, 2.6rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    max-width: 520px;
    background: linear-gradient(180deg, rgba(236, 228, 214, 0.02), transparent 60%);
}

.price-empty p { color: var(--bone-dim); max-width: 46ch; }

/* legal note, demoted below the programme */
.pricing-note {
    margin-top: clamp(3rem, 8vh, 5.5rem);
    padding-top: clamp(2rem, 5vh, 3rem);
    border-top: 1px solid var(--line);
}

.pricing-note .credits-line { margin-bottom: 1.6rem; }

/* ---------- about: авторът ---------- */

.stats-reel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-top: clamp(3rem, 8vh, 5rem);
}

.stats-reel__item {
    padding: 2rem 1.4rem;
    border-left: 1px solid var(--line);
    text-align: center;
}

.stats-reel__item:first-child { border-left: 0; }

.stats-reel__num {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1;
    display: block;
}

.stats-reel__label {
    font-family: var(--credit);
    font-weight: 300;
    font-size: 0.58rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--bone-faint);
    display: block;
    margin-top: 0.6rem;
}

/* ---------- contacts ---------- */

.map-frame {
    height: clamp(320px, 52vh, 560px);
    overflow: hidden;
    position: relative;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1) invert(0.92) contrast(0.88) brightness(0.9);
}

.contact-reel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.1rem;
    margin-top: clamp(2.5rem, 6vh, 4rem);
}

.contact-reel__item {
    border: 1px solid var(--line);
    padding: 2.2rem 1.8rem;
    transition: border-color 0.4s ease;
}

.contact-reel__item:hover { border-color: var(--line-strong); }

.contact-reel__label {
    font-family: var(--credit);
    font-weight: 300;
    font-size: 0.6rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--bone-faint);
    display: block;
    margin-bottom: 0.8rem;
}

.contact-reel__value {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.1rem, 1.9vw, 1.45rem);
    line-height: 1.3;
    word-break: break-word;
}

.contact-reel__value a:hover { color: var(--accent); }

/* ---------- campaign strip ---------- */

.film-strip {
    display: flex;
    gap: 0.9rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 var(--pad) 1.2rem;
    scrollbar-width: thin;
}

.film-strip > * {
    flex: none;
    scroll-snap-align: center;
}

/* height goes on the img itself — the direct-child rule was overridden
   by this selector's higher specificity, letting images grow huge */
.film-strip img {
    height: clamp(220px, 38vh, 400px);
    width: auto;
    max-width: 88vw;
    object-fit: cover;
    filter: brightness(0.92);
    transition: filter 0.5s ease;
}

.film-strip img:hover { filter: brightness(1); }

.single-still {
    display: flex;
    justify-content: center;
    padding: 0 var(--pad);
}

.single-still img {
    max-width: min(560px, 100%);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
}

/* ---------- footer: end credits ---------- */

.end-credits {
    border-top: 1px solid var(--line);
    padding: clamp(4rem, 10vh, 7rem) var(--pad) 2.6rem;
    text-align: center;
    background: radial-gradient(ellipse 55% 70% at 50% 115%, rgba(219, 0, 107, 0.06), transparent 70%);
}

.end-credits__fin {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    line-height: 1;
}

.end-credits__tagline {
    font-family: var(--serif);
    font-style: italic;
    color: var(--bone-dim);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    margin-top: 1.3rem;
}

.end-credits__social {
    display: flex;
    justify-content: center;
    gap: 1.4rem;
}

.social-disc {
    width: 46px; height: 46px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bone-dim);
    transition: border-color 0.4s ease, color 0.4s ease, transform 0.4s var(--ease-out);
}

.social-disc:hover {
    border-color: var(--accent-deep);
    color: var(--accent);
    transform: translateY(-3px);
}

.social-disc svg { width: 16px; height: 16px; fill: currentColor; }

.end-credits__nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.4rem 2.2rem;
    margin-top: 2.8rem;
}

.end-credits__nav a {
    font-family: var(--credit);
    font-weight: 300;
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--bone-faint);
    transition: color 0.3s ease;
}

.end-credits__nav a:hover { color: var(--bone); }

.end-credits__legal {
    margin-top: 3.2rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(236, 228, 214, 0.07);
    font-family: var(--credit);
    font-weight: 300;
    font-size: 0.58rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--bone-faint);
}

.end-credits__powered {
    margin-top: 0.8rem;
    font-family: var(--credit);
    font-weight: 300;
    font-size: 0.58rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--bone-faint);
}

.end-credits__powered a {
    color: var(--bone-dim);
    border-bottom: 1px solid rgba(236, 228, 214, 0.2);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.end-credits__powered a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent-deep);
}

/* ---------- 404 ---------- */

.lost-scene {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem var(--pad);
}

.lost-scene .display-title { font-size: clamp(3rem, 9vw, 7rem); margin: 1.4rem 0 2.4rem; }

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
    .top-nav { display: none; }
    .burger { display: block; }
}

@media (max-width: 860px) {
    .interlude__portrait { grid-column: 1 / -1; max-width: 420px; }
    .interlude__copy { grid-column: 1 / -1; }

    .reel-nav { grid-template-columns: 1fr; }
    .reel-nav__cell--next { border-left: 0; border-top: 1px solid var(--line); text-align: left; }
    .reel-nav__cell--next .credits-line { justify-content: flex-start; }
    .reel-nav__cell--next .credits-line::before { display: none; }
    .reel-nav__cell--next .credits-line::after { content: ''; display: block; }

    .lightbox__arrow { width: 44px; height: 44px; }

    .stats-reel__item { border-left: 0; border-top: 1px solid var(--line); }
    .stats-reel__item:first-child { border-top: 0; }
}

@media (max-width: 560px) {
    .cine-hero__scroll { display: none; }

    .cine-hero__content { bottom: clamp(3.5rem, 9vh, 6rem); }

    .reel-frame { width: 82vw; height: 52vh; }

    /* two-up on phones so a photo is no longer the whole screen */
    .masonry { columns: 2; column-gap: 0.6rem; }
    .masonry a { margin-bottom: 0.6rem; }

    .price-row { gap: 0.6rem 0.9rem; }
    .price-row__num { width: auto; }

    .price-cards { grid-template-columns: 1fr; }

    /* swipe drives the gallery on phones — dock both arrows to the
       bottom centre so they never sit over the photo (or a face) */
    .lightbox__arrow {
        top: auto;
        bottom: 1.4rem;
        transform: none;
        background: rgba(12, 10, 8, 0.6);
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
    }

    .lightbox__arrow--prev { left: calc(50% - 3.4rem); right: auto; }
    .lightbox__arrow--next { right: calc(50% - 3.4rem); left: auto; }

    /* leave clear room below a tall portrait for the docked arrows */
    .lightbox__stage { max-height: 76vh; }
    .lightbox__stage img { max-height: 76vh; }
}

/* ---------- reduced motion ---------- */

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

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

    .cine-hero__bar { display: none; }

    .cine-hero__content .credits-line,
    .cine-hero__title,
    .cine-hero__scroll { opacity: 1; transform: none; }

    .film-grain { animation: none; }
}
