/* Кінокадр V2. Основа — затверджений дизайн V1: темний фон, світлий текст, кислотно-зелений акцент, Manrope, тонкі лінії. */

:root {
  color-scheme: dark;
  --bg: #111211;
  --ink: #f3f1e9;
  --muted: #a8aaa4;
  --accent: #e4fb79;
  --line: #393b32;
  --line-strong: #42443c;
  --panel: #191d15;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 Manrope, Arial, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
h1:focus, main:focus, [data-status]:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: #111;
  padding: 10px 16px; font-weight: 700; font-size: 14px;
}
.skip-link:focus { top: 12px; }

/* Статичний fallback від build.py ховаємо, поки JS рендерить сторінку */
.js #app[data-prerender] { visibility: hidden; min-height: 100vh; }
#app[data-prerender] h1 { font-size: 40px; letter-spacing: -1.4px; }
#app[data-prerender] ul { padding-left: 20px; color: var(--muted); }
#app[data-prerender] a { text-decoration: underline; color: var(--ink); }

/* ---------- Header ---------- */

.site-header, main, .site-footer { max-width: 1440px; margin: auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid #34352f; }
.header-inner { padding: 22px 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.logo { font-size: 31px; font-weight: 800; letter-spacing: -1.7px; display: inline-flex; align-items: center; line-height: 1.2; }
.logo span { font-weight: 400; }
.logo i { height: 9px; width: 9px; margin: 14px 0 0 5px; background: var(--accent); }
.site-nav { display: flex; gap: 34px; font-size: 14px; }
.site-nav a { position: relative; padding: 6px 0; }
.site-nav a:hover, .site-footer a:hover { color: var(--accent); }
.site-nav a.is-active { color: var(--accent); }
.site-nav a.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  background: transparent; border: 1px solid transparent; cursor: pointer; font-size: 22px; line-height: 1; padding: 0 8px;
}
.icon-btn:hover, .icon-btn[aria-expanded="true"] { color: var(--accent); border-color: var(--line-strong); }
.search-toggle { font-size: 27px; }
.saved-link { font-size: 17px; }
.saved-count { font-size: 12px; font-weight: 700; color: var(--accent); }
.saved-count:empty { display: none; }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line-strong); padding: 9px 14px; min-height: 44px; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }

/* ---------- Search panel ---------- */

.search-panel { border-top: 1px solid #34352f; padding: 22px 56px 28px; background: var(--bg); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.search-form { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line-strong); }
.search-form:focus-within { border-color: var(--accent); }
.search-icon { font-size: 28px; color: var(--accent); }
.search-form input {
  flex: 1; min-width: 0; background: transparent; border: 0; padding: 12px 0; font-size: clamp(22px, 3vw, 32px);
  font-weight: 600; letter-spacing: -1px; outline: none;
}
.search-form input::placeholder { color: #6f716a; }
.search-form input::-webkit-search-cancel-button { display: none; }
.search-close { background: transparent; border: 0; font-size: 20px; min-width: 44px; min-height: 44px; cursor: pointer; color: var(--muted); }
.search-close:hover { color: var(--accent); }
.search-status { color: var(--muted); font-size: 14px; margin: 14px 0 6px; }
.search-results { list-style: none; margin: 0 0 16px; padding: 0; }
.search-results a { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center; padding: 12px 0; border-bottom: 1px solid #2a2c26; }
.search-results a:hover b, .search-results a:focus-visible b { color: var(--accent); }
.search-results a:focus-visible { outline-offset: 2px; }
.sr-thumb { aspect-ratio: 1.55; }
.sr-text { min-width: 0; }
.sr-text b { display: block; font-size: 18px; letter-spacing: -.4px; }
.sr-text span { display: block; color: var(--muted); font-size: 13px; }
.sr-genre { font-size: 12px; letter-spacing: 1.1px; color: var(--accent); text-transform: uppercase; }

/* ---------- Common ---------- */

.edition, .mast, .section-title > span, .eyebrow, .hero-foot, .eyebrow-line { font-size: 12px; font-weight: 600; letter-spacing: 1.7px; }
main { padding: 0 56px 40px; }
.mast { display: flex; justify-content: space-between; padding: 27px 0; color: var(--muted); }

.media { display: block; position: relative; overflow: hidden; background: #282c2b; }
.media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media.is-broken img { visibility: hidden; }
.media.is-broken::after {
  content: 'кіно кадр · зображення недоступне'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 12px; color: #6f716a; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase;
  background: repeating-linear-gradient(135deg, #1b1d1a 0 12px, #20231f 12px 24px);
}
.sr-thumb.is-broken::after { content: ''; }

/* ---------- Hero ---------- */

.hero { height: 650px; position: relative; overflow: hidden; background: #25333a; }
.hero .hero-media { position: absolute; inset: 0; }
.hero .hero-media img { object-position: center; }
.shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.8), rgba(0,0,0,.25) 65%, transparent), linear-gradient(0deg, rgba(0,0,0,.75), transparent 40%); }
.hero-content { position: absolute; top: 45px; left: 46px; right: 36px; max-width: 760px; }
.eyebrow { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.eyebrow > span { background: var(--accent); padding: 4px 11px; color: #111; }
h1 { font-size: clamp(48px, 6.3vw, 88px); font-weight: 600; line-height: 1.02; letter-spacing: -4px; margin: 30px 0 22px; }
h1 em { font-family: Georgia, serif; font-weight: 400; color: var(--accent); }
.hero p { color: #ddd; line-height: 1.65; }
.cta { display: inline-flex; gap: 50px; align-items: center; background: var(--accent); color: #111; padding: 13px 20px; font-weight: 700; font-size: 14px; margin-top: 12px; min-height: 44px; }
.cta span { font-size: 24px; line-height: 1; }
.cta:hover { background: #f0ffad; }
.hero-foot { position: absolute; bottom: 24px; left: 46px; right: 36px; display: flex; justify-content: space-between; gap: 20px; }
.hero-foot b { color: #9d9e98; font-weight: 400; }
.hero-foot span:last-child { white-space: nowrap; }

/* ---------- Sections & cards ---------- */

.films, .reading, .week, .home-selections, .similar, .where, .where-missing, .principles { padding-top: 65px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
h2 { font-size: 35px; line-height: 1.2; letter-spacing: -1.4px; margin: 0; }
.section-title > span { color: var(--muted); text-align: right; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.filters button { border: 1px solid var(--line-strong); color: #c9cbc4; background: transparent; padding: 8px 19px; cursor: pointer; font-size: 14px; border-radius: 2px; min-height: 40px; }
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters .active, .filters .active:hover { background: var(--ink); color: #111; border-color: var(--ink); }
small { margin-left: 12px; font-size: 12px; opacity: .6; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.grid > .empty-state { grid-column: 1 / -1; }
.card { min-width: 0; display: flex; flex-direction: column; }
.card .photo { aspect-ratio: 1.55; }
.card .photo img { transition: transform .3s; }
.card:hover .photo img { transform: scale(1.04); }
.meta { font-size: 12px; color: var(--accent); letter-spacing: 1.1px; margin: 18px 0 9px; display: flex; justify-content: space-between; gap: 12px; text-transform: uppercase; }
.meta span { color: var(--muted); }
h3 { font-size: 25px; letter-spacing: -.7px; line-height: 1.3; margin: 0; }
.card-title a:hover { color: var(--accent); }
.card p { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 13px 0; }
.card .card-sub { font-size: 13px; margin: 4px 0 0; color: #8f918a; }
.card .watch-summary { font-size: 13px; color: var(--accent); border-top: 1px solid #363b2d; padding-top: 12px; margin-top: auto; }
.card-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.read { display: inline-block; font-size: 14px; border-bottom: 1px solid #707464; padding: 8px 0 3px; }
.read:hover { color: var(--accent); border-color: var(--accent); }
.trailer-link { color: var(--accent); }
.save {
  background: transparent; border: 0; border-bottom: 1px solid #707464; padding: 8px 0 3px; font-size: 14px; cursor: pointer;
  display: inline-flex; gap: 6px; align-items: baseline;
}
.save:hover { color: var(--accent); border-color: var(--accent); }
.save[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.save-icon { font-size: 15px; }
.more-link { margin: 30px 0 0; }
.empty-state { border: 1px dashed var(--line-strong); padding: 40px 28px; color: var(--muted); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.empty-state p { margin: 0; font-size: 18px; color: var(--ink); }
.results-count { color: var(--muted); font-size: 13px; letter-spacing: 1px; margin: 0 0 22px; }

/* ---------- Page head ---------- */

.page-head { padding: 56px 0 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.eyebrow-line { color: var(--accent); display: block; }
.page-title { font-size: clamp(44px, 6vw, 80px); margin: 18px 0 14px; }
.page-lead { color: var(--muted); max-width: 720px; margin: 0 0 36px; font-size: 17px; }

/* ---------- Catalog tools ---------- */

.catalog { padding-top: 36px; }
.catalog-tools { display: grid; gap: 0; margin-bottom: 10px; }
.catalog-search { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line-strong); }
.catalog-search:focus-within { border-color: var(--accent); }
.catalog-search-icon { font-size: 26px; color: var(--accent); }
.catalog-search input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 12px 0; font-size: 22px; font-weight: 600; letter-spacing: -.6px; outline: none; }
.catalog-search input::placeholder { color: #6f716a; }
.catalog-tools .filters { margin: 24px 0 16px; }
.filter-selects { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: end; margin-bottom: 28px; }
.select { display: grid; gap: 4px; font-size: 12px; letter-spacing: 1.1px; color: var(--muted); text-transform: uppercase; }
.select select {
  appearance: none; -webkit-appearance: none; background: transparent; border: 1px solid var(--line-strong); border-radius: 2px;
  padding: 9px 38px 9px 14px; min-height: 42px; min-width: 170px; font-size: 14px; text-transform: none; letter-spacing: 0; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
}
.select select:hover { border-color: var(--ink); }
.select option { background: var(--bg); color: var(--ink); }
.reset { background: transparent; border: 0; color: var(--accent); font-size: 14px; min-height: 42px; cursor: pointer; padding: 0 4px; }

/* ---------- This week ---------- */

.week-note { color: var(--muted); margin: 14px 0 0; font-size: 15px; }
.week-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 25px; margin-top: 26px; }
.week-card { border-top: 1px solid var(--line); padding: 20px 0 8px; display: flex; flex-direction: column; }
.week-card .week-date { color: var(--accent); font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; margin: 0; font-weight: 600; }
.week-card .week-status { color: var(--muted); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin: 4px 0 12px; }
.week-card h3 { font-size: 22px; }
.week-card h3 a:hover { color: var(--accent); }
.week-card p { color: var(--muted); font-size: 15px; margin: 8px 0 10px; }
.week-card .read { align-self: flex-start; margin-top: auto; }

/* ---------- Selections ---------- */

.selection-list { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.selection-list a, .missing-list a { display: grid; grid-template-columns: 60px 1fr auto; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.selection-list a:hover .selection-name, .missing-list a:hover .selection-name { color: var(--accent); }
.number { color: var(--accent); font-size: 13px; letter-spacing: 2px; }
.selection-name { font-size: 22px; letter-spacing: -.5px; font-weight: 600; }
.selection-count { color: var(--muted); font-size: 13px; }
.selection { padding-top: 70px; scroll-margin-top: calc(var(--header-h) + 10px); }
.selection .section-title { margin-top: 10px; }
.selection-lead { color: var(--muted); max-width: 760px; margin: 12px 0 28px; }

/* ---------- Film page ---------- */

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; padding: 22px 0; font-size: 13px; color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--ink); }
.film-hero { height: 600px; }
.film-hero h1 { margin: 26px 0 6px; overflow-wrap: anywhere; }
.film-hero .film-original { font-family: Georgia, serif; font-style: italic; color: var(--accent); font-size: 24px; margin: 0 0 18px; }
.film-hero .film-teaser { max-width: 520px; font-size: 17px; }

.film-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 55px; border-top: 1px solid var(--line); margin-top: 45px; padding-top: 35px; }
.film-aside { align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.film-facts-list { margin: 16px 0 22px; }
.film-facts-list div { display: grid; grid-template-columns: 120px 1fr; gap: 14px; border-bottom: 1px solid #2c2e28; padding: 10px 0; }
.film-facts-list dt { color: var(--muted); font-size: 13px; }
.film-facts-list dd { margin: 0; font-size: 14px; }
.aside-actions .save { font-size: 15px; }
.film-toc { display: flex; flex-direction: column; margin-top: 26px; border-top: 1px solid var(--line); }
.film-toc a { padding: 9px 0; font-size: 14px; color: var(--muted); border-bottom: 1px solid #22241f; }
.film-toc a:hover { color: var(--accent); }
.film-body { min-width: 0; }
.film-section { margin-bottom: 44px; scroll-margin-top: calc(var(--header-h) + 20px); }
.film-section > h2, .watch-heading h2 { font-size: 29px; letter-spacing: -.9px; margin: 0 0 18px; }
.film-body p { margin: 0 0 16px; color: #c2c4bc; max-width: 750px; }
.review-note { font-size: 14px; border-left: 2px solid var(--accent); padding-left: 14px; color: var(--muted) !important; }
.review-note b { color: var(--ink); font-weight: 600; }
.source { font-size: 13px; text-decoration: underline; color: var(--muted); }
.source:hover { color: var(--accent); }
.credit { font-size: 12px; margin-top: 10px !important; color: var(--muted) !important; }

.player { aspect-ratio: 16 / 9; background: #080908; overflow: hidden; }
.player iframe, .player video { display: block; width: 100%; height: 100%; border: 0; }
.video-caption { display: flex; justify-content: space-between; gap: 15px; margin-top: 10px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.video-caption a { color: var(--accent); }
.external-trailer { width: 100%; height: 100%; }
.external-trailer img { opacity: .5; transition: opacity .3s; }
.external-trailer:hover img { opacity: .7; }
.external-label { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; text-align: center; padding: 20px; color: var(--accent); font-weight: 700; font-size: 18px; }
.external-label small { margin: 0; color: var(--ink); font-weight: 500; opacity: .8; }

.watch-info { border: 1px solid #444a35; background: var(--panel); padding: 24px; }
.watch-heading { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.watch-heading span { font-size: 12px; color: var(--accent); letter-spacing: 1px; }
.watch-info dl { margin: 5px 0 16px; }
.watch-info dl > div { display: grid; grid-template-columns: 100px 1fr; gap: 16px; border-bottom: 1px solid #34392a; padding: 12px 0; }
.watch-info dt { font-size: 14px; color: var(--muted); }
.watch-info dd { margin: 0; font-size: 16px; }
.watch-info p { font-size: 14px; }
.watch-entry { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid #444a35; }
.watch-entry .watch-link { color: var(--accent); border-color: var(--accent); font-weight: 600; }
.watch-entry.is-past { opacity: .6; }
.past-label { font-size: 12px !important; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted) !important; }
.watch-empty { font-size: 18px !important; color: var(--ink) !important; margin: 10px 0 !important; }
.watch-info .checked { font-size: 12px; color: var(--muted); margin: 18px 0 0; }

.film-facts { padding: 25px; background: #1b1e17; border-left: 2px solid var(--accent); }
.film-facts ol { list-style: none; counter-reset: fact; padding: 0; margin: 0 0 18px; }
.film-facts li { counter-increment: fact; position: relative; padding-left: 35px; margin: 15px 0; color: #cdd0c5; }
.film-facts li::before { content: '0' counter(fact); position: absolute; left: 0; top: 2px; color: var(--accent); font-size: 12px; }
.sources ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.sources li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: #c2c4bc; }
.sources li a:hover { color: var(--accent); }
.similar { border-top: 1px solid var(--line); margin-top: 20px; }
.similar .grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 28px; }
.similar .card h3 { font-size: 22px; }

/* ---------- Where to watch ---------- */

.screenings { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.screening { display: grid; grid-template-columns: 170px 1fr 220px; gap: 30px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.screening-date b { display: block; font-size: 56px; line-height: 1; font-weight: 600; letter-spacing: -2px; color: var(--accent); }
.screening-date span { display: block; color: var(--muted); font-size: 13px; letter-spacing: .5px; }
.screening .meta-line { font-size: 12px; letter-spacing: 1.2px; color: var(--accent); margin: 0 0 6px; }
.screening h3 a:hover { color: var(--accent); }
.screening p { margin: 6px 0 0; color: #c2c4bc; }
.screening .note, .note { color: var(--muted); font-size: 14px; }
.screening-cta { justify-self: end; text-align: right; }
.screening-cta .watch-link { color: var(--accent); border-color: var(--accent); font-weight: 600; }
.screening.is-past { opacity: .55; }
.screening.is-past .screening-date b { color: var(--muted); }
.online-note { margin-top: 22px; }
.missing-list { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.missing-list a { grid-template-columns: 1fr auto; }
.checked-note { color: var(--muted); font-size: 13px; margin: 40px 0 0; }

/* ---------- About ---------- */

.about { margin-top: 45px; border-top: 1px solid var(--line); padding: 50px 0 70px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px 60px; }
.about > .eyebrow { grid-column: 1 / -1; color: var(--accent); }
.about h2 { font-size: 47px; }
.about p { margin: 0 0 16px; color: var(--muted); }
.about-page { margin-top: 20px; }
.principle-list { list-style: none; padding: 0; margin: 28px 0 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.principle-list li { border-top: 1px solid var(--line); padding-top: 18px; }
.principle-list h3 { font-size: 21px; margin: 10px 0; }
.principle-list p { color: var(--muted); font-size: 15px; margin: 0; }
.not-found-actions { display: flex; flex-wrap: wrap; gap: 20px 30px; align-items: center; margin: 30px 0 60px; }

/* ---------- Footer ---------- */

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px 30px; flex-wrap: wrap; border-top: 1px solid var(--line); padding: 25px 56px; font-size: 13px; color: var(--muted); }
.site-footer .logo { color: var(--ink); font-size: 26px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer nav a, .to-top { padding: 8px 0; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .site-nav { gap: 22px; }
  .header-inner { padding: 20px 32px; }
  main { padding: 0 32px 40px; }
  .search-panel { padding: 20px 32px 26px; }
  .site-footer { padding: 25px 32px; }
  .principle-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .header-inner { padding: 14px 25px; gap: 12px; }
  .logo { font-size: 28px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid #34352f; padding: 6px 25px 18px; font-size: 20px; font-weight: 600; letter-spacing: -.4px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid #26281f; }
  .site-nav a.is-active::after { display: none; }
  main { padding: 0 25px 30px; }
  .search-panel { padding: 16px 25px 22px; }
  .hero { height: 610px; }
  .hero-content { left: 28px; right: 28px; }
  .hero-foot { left: 28px; right: 28px; }
  .section-title > span { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; }
  .about { gap: 20px 30px; }
  .site-footer { padding: 24px 25px; }
  .film-layout { grid-template-columns: 1fr; gap: 30px; }
  .film-aside { position: static; }
  .film-toc { flex-direction: row; flex-wrap: wrap; gap: 0 18px; border-top: 0; }
  .film-toc a { border-bottom: 0; padding: 8px 0; }
  .screening { grid-template-columns: 120px 1fr; }
  .screening-cta { grid-column: 2; justify-self: start; text-align: left; }
  .screening-date b { font-size: 44px; }
}

@media (max-width: 600px) {
  .header-inner { padding: 12px 20px; }
  .logo { font-size: 26px; }
  .logo i { margin-top: 12px; }
  .site-nav { padding: 4px 20px 16px; }
  .icon-btn { min-width: 40px; }
  main { padding: 0 20px 30px; }
  .search-panel { padding: 14px 20px 20px; }
  .search-results a { grid-template-columns: 72px 1fr; gap: 14px; }
  .sr-genre { display: none; }
  .mast { font-size: 10px; letter-spacing: .8px; gap: 20px; }
  .mast span:first-child { max-width: 160px; }
  .hero { height: 600px; margin: 0 -20px; }
  .hero-content { top: 35px; left: 25px; right: 20px; }
  h1 { font-size: clamp(42px, 16vw, 65px); letter-spacing: -3px; }
  .hero-content p { font-size: 15px; }
  .hero-foot { left: 25px; right: 20px; font-size: 10px; letter-spacing: .8px; }
  .hero .hero-media img { object-position: 60%; }
  .film-hero { height: 560px; }
  .film-hero .shade { background: linear-gradient(180deg, rgba(0,0,0,.7), rgba(0,0,0,.35) 60%, rgba(0,0,0,.8)); }
  .film-hero h1 { font-size: clamp(38px, 12.5vw, 60px); letter-spacing: -2px; }
  .film-hero .film-original { font-size: 20px; }
  .films, .reading, .week, .home-selections, .similar, .where, .where-missing, .principles { padding-top: 42px; }
  h2 { font-size: 30px; }
  .filters { gap: 8px; }
  .filters button { font-size: 13px; padding: 7px 12px; min-height: 40px; }
  .filter-selects { display: grid; grid-template-columns: 1fr 1fr; }
  .filter-selects .select:first-child { grid-column: 1 / -1; }
  .select select { min-width: 0; width: 100%; }
  .reset { grid-column: 1 / -1; justify-self: start; }
  .grid { grid-template-columns: 1fr; gap: 40px; }
  .card .photo { aspect-ratio: 1.7; }
  .card-actions { gap: 4px 18px; }
  .read, .save { padding-top: 10px; }
  .about { grid-template-columns: 1fr; }
  .about h2 { font-size: 36px; }
  .page-head { padding-top: 36px; }
  .page-title { letter-spacing: -2px; }
  .selection-list a { grid-template-columns: 36px 1fr; gap: 4px 12px; }
  .selection-count { grid-column: 2; }
  .selection-name { font-size: 19px; }
  .missing-list a { grid-template-columns: 1fr; gap: 4px; }
  .watch-info, .film-facts { padding: 18px; }
  .watch-info dl > div, .film-facts-list div { grid-template-columns: 1fr; gap: 2px; }
  .watch-heading { flex-wrap: wrap; gap: 0; }
  .screening { grid-template-columns: 1fr; gap: 10px; }
  .screening-date { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
  .screening-date b { font-size: 34px; }
  .screening-cta { grid-column: 1; }
  .principle-list { grid-template-columns: 1fr; }
  .site-footer { gap: 16px; }
  .site-footer .logo { width: 100%; }
}

@media (max-width: 360px) {
  .logo { font-size: 23px; letter-spacing: -1.2px; }
  .nav-toggle { padding: 9px 10px; }
  .filter-selects { grid-template-columns: 1fr; }
}

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