:root {
  color-scheme: dark;
  --bg: #141210;
  --surface: #211c18;
  --line: #46392f;
  --text: #f9f1e5;
  --muted: #d1c4b7;
  --accent: #ffc181;
  --paper: #f4e9d7;
  --ink: #231b15;
  --display: Georgia, 'Times New Roman', serif;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { color: var(--text); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(100% - 2.5rem, 69rem); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: .5rem; left: .5rem; transform: translateY(-200%); background: var(--bg); padding: .5rem; }
.skip:focus { transform: none; }
.bar { border-bottom: 1px solid var(--line); background: #100e0c; }
.masthead, nav { display: flex; align-items: center; gap: 1.25rem; }
.masthead { justify-content: space-between; min-height: 4.5rem; flex-wrap: wrap; padding-block: .7rem; }
.brand { display: inline-flex; align-items: center; gap: .48rem; font-weight: 900; font-size: 1.3rem; letter-spacing: -.05em; color: var(--text); text-decoration: none; }
.brand img { display: block; width: 4rem; height: 4rem; object-fit: contain; }
.brand span span, .intro-brand b { color: var(--accent); }
nav { gap: .5rem clamp(.8rem, 3vw, 2rem); flex-wrap: wrap; }
nav a { color: var(--muted); font-size: .95rem; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.intro { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(23rem, 36vw, 30rem); overflow: hidden; text-align: center; background: #1d1814; }
.intro-photo, .intro::before, .intro::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-photo { z-index: -2; object-fit: cover; object-position: center 25%; filter: saturate(.55); }
.intro::before {
  content: '';
  z-index: -1;
  background: rgb(16 13 10 / 52%);
  backdrop-filter: blur(12px);
  mask-image: linear-gradient(90deg, #000 0 8%, transparent 20% 80%, #000 92% 100%);
}
.intro::after { content: ''; z-index: -1; background: linear-gradient(180deg, #130e0b20 0%, #120e0bc4 51%, #100d0af7 100%), radial-gradient(ellipse at center, transparent 18%, #08060575 100%); }
.intro-content { padding-block: clamp(2.25rem, 6vw, 5rem) clamp(2.2rem, 4vw, 3.5rem); }
.intro-brand { display: inline-flex; align-items: center; justify-content: center; gap: .15rem; translate: -.65rem 0; font-size: clamp(2.1rem, 6vw, 4.6rem); letter-spacing: -.06em; line-height: .95; text-align: left; }
.intro-brand img { width: clamp(6rem, 14vw, 10.5rem); height: auto; flex: none; transform: scale(1.34); }
.intro-brand small { display: block; margin-top: .5rem; font-size: clamp(.72rem, 1.6vw, .95rem); font-weight: 700; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase; }
.intro-headline { font-family: var(--display); font-size: clamp(1.95rem, 4.5vw, 3.85rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.06; margin: .5rem auto 0; }
.intro-copy { max-width: 42ch; font-size: clamp(1rem, 2vw, 1.19rem); color: var(--muted); margin: .7rem auto 0; }
.action { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .55rem 1.05rem; font-weight: 700; text-decoration: none; border-radius: .2rem; }
.intro-action { margin-top: 1.2rem; background: var(--accent); color: var(--bg); }
.intro-action:hover { background: var(--text); color: var(--bg); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .875rem; color: var(--accent); font-weight: 700; margin: 0 0 .8rem; }
h1, h2, h3, p { margin: 0; }
.section.program { padding-top: clamp(1.65rem, 4vw, 3rem); }
.featured { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); background: var(--surface); border: 1px solid var(--line); border-inline-start: 3px solid var(--accent); }
.feature-copy { padding: clamp(1.15rem, 3.1vw, 2.25rem); align-self: center; }
.featured h3 { font-family: var(--display); font-size: clamp(2rem, 4.5vw, 3.3rem); line-height: 1.05; letter-spacing: -.04em; margin-bottom: .65rem; }
.featured .film-still { width: 100%; height: 100%; object-fit: cover; min-height: 13rem; }
.date { display: block; color: var(--muted); font-size: .95rem; }
.date::first-letter { text-transform: uppercase; }
.description { color: var(--muted); margin-top: .55rem; }
.admission { color: var(--accent); font-weight: 700; margin-top: .9rem; }
.section { padding-block: clamp(2rem, 6vw, 4.5rem); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem 1.2rem; flex-wrap: wrap; margin-bottom: 1.35rem; }
.section h2, footer h2 { font-family: var(--display); font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.05; letter-spacing: -.045em; }
.program-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.featured:not([hidden]) + .program-list:not(:empty) { margin-top: 1.1rem; }
.film { background: var(--surface); border: 1px solid var(--line); }
.film-still { display: block; }
.film .film-still { width: 100%; aspect-ratio: 2.23; object-fit: cover; }
.film-copy { padding: 1.05rem; }
.film h3 { margin-top: .32rem; font-size: 1.3rem; line-height: 1.16; }
details { margin-top: 1.25rem; border-block: 1px solid var(--line); }
summary { cursor: pointer; padding-block: .85rem; color: var(--accent); }
.past-film { display: grid; grid-template-columns: minmax(7rem, 11rem) 1fr; gap: .5rem; padding: .65rem 0; border-top: 1px solid var(--line); }
.about { border-top: 1px solid var(--line); }
.about-intro { display: grid; grid-template-columns: 1fr 2fr; gap: 1rem; margin-bottom: 1.75rem; }
.about-intro p { max-width: 48ch; color: var(--muted); }
.about-gallery { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1.1rem; }
.about-gallery figure { display: flex; flex-direction: column; min-width: 0; margin: 0; }
.gallery-lead { grid-row: span 2; }
.gallery-frame { position: relative; overflow: hidden; flex: 1; aspect-ratio: 16 / 9; background: var(--surface); }
.gallery-frame img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-lead img { inset-inline: -4% auto; width: 108%; object-position: center 45%; }
.gallery-screening img { object-position: center 43%; filter: brightness(1.24) contrast(.96); }
.gallery-talk img { object-position: center 40%; }
.about-gallery figcaption { margin-top: .42rem; font-size: .95rem; }
.photo-credit { margin-top: .75rem; color: var(--muted); font-size: .875rem; }
.venue { color-scheme: light; background: var(--paper); color: var(--ink); }
.venue-layout { display: grid; align-items: center; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(1.4rem, 5vw, 4rem); }
.venue address { margin-top: 1rem; font-style: normal; }
.venue-floor { color: #874223; font-size: 1.2rem; font-weight: 700; }
.map-link { margin-top: 1rem; background: var(--ink); color: var(--paper); }
.map-link:hover { background: #613e29; color: white; }
.map-link:focus-visible { outline-color: #874223; }
.venue-map { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; min-height: 14rem; border: 1px solid #c9b9a2; border-radius: .45rem; background: #e0d7c7; }
footer { background: linear-gradient(90deg, #17110efc 10%, #1a110de8 58%, #1a110dbd), url('./assets/behem-promitani.webp') center 47% / cover #211712; }
.contact { padding-block: clamp(2rem, 5vw, 3.75rem); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1.4rem clamp(1.4rem, 5vw, 4rem); }
.contact-name { margin-top: .6rem; color: var(--muted); }
.contact ul { margin: 0; padding: 0; list-style: none; }
.contact li + li { margin-top: .35rem; }
.contact-phone { font-size: 1.3rem; font-weight: 700; }

@media (max-width: 56rem) {
  .program-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 40rem) {
  .featured, .about-intro, .about-gallery, .venue-layout, .contact { grid-template-columns: 1fr; }
  .intro { min-height: 23rem; }
  .intro-photo { object-position: center 41%; }
  .intro-brand { gap: 0; translate: -.45rem 0; }
  .intro-brand img { transform: scale(1.13); }
  .featured .film-still { height: auto; min-height: 0; aspect-ratio: 2.23; }
  .gallery-lead { grid-row: auto; }
  .gallery-lead .gallery-frame { aspect-ratio: 6 / 5; }
  .contact-links { border-top: 1px solid var(--line); padding-top: 1.25rem; }
}

@media (max-width: 31rem) {
  .program-list { grid-template-columns: 1fr; }
}
