:root {
  color-scheme: dark;
  --cream: #fff5e4;
  --muted: #c6b9a5;
  --line: #fff5e430;
  --sans:
    "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --scene-x: 0px;
  --scene-y: 0px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #191913;
  color: var(--cream);
  font: 14px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.player-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #f2c897;
  outline-offset: 5px;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 800;
}
img {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
::selection {
  background: #e5bd8c;
  color: #26251d;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: -100px;
  left: 20px;
  background: var(--cream);
  color: #25251f;
  padding: 12px;
  border-radius: 10px;
}
.skip-link:focus {
  top: 15px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.6;
}
.room-backdrop,
.room-shade,
.screen-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.room-backdrop {
  inset: -12px;
  background: url("assets/screening-room.webp") center/cover no-repeat;
  transform: translate3d(var(--scene-x), var(--scene-y), 0);
  transition: filter 0.7s;
  z-index: -3;
}
.room-shade {
  background: linear-gradient(
    180deg,
    #080a095c,
    transparent 26%,
    #090b0915 65%,
    #0709089c
  );
  z-index: -2;
}
.screen-glow {
  inset: 18% 23% 27%;
  background: radial-gradient(ellipse, #e4e2b624, transparent 67%);
  mix-blend-mode: screen;
  z-index: -1;
  animation: projector-breathe 8s ease-in-out infinite;
}
.room-dark .room-backdrop {
  filter: brightness(0.28);
}
.room-dark .room-shade {
  background: #05060550;
}
.cinema-app > * {
  min-width: 0;
}
.cinema-app {
  height: 100svh;
  min-height: 620px;
  display: grid;
  grid-template-rows: 78px minmax(0, 1fr) auto;
  overflow: hidden;
  isolation: isolate;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 38px;
  gap: 20px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  text-shadow: 0 1px 12px #0008;
}
.brand-mark {
  width: 39px;
  height: 39px;
  border: 1px solid #f7d6ab66;
  border-radius: 13px;
  background: #1a1e18a6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: -0.07em;
  transform: rotate(-5deg);
}
.wordmark-label {
  display: block;
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 0.13em;
  color: #ead8be;
  margin-top: 5px;
}
.room-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}
.room-controls button {
  border: 0;
  background: none;
  font-size: 10px;
  font-weight: 600;
  padding: 8px 0;
  text-shadow: 0 1px 10px #000;
}
.room-controls button > span:first-child {
  margin-right: 4px;
}
.room-controls button:hover {
  color: #efbf81;
}
.source-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 7px;
  padding: 8px 12px;
  background: #f5e7cd;
  color: #292c23;
  border: 1px solid #fff5dfb0;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  box-shadow: 0 3px 14px #0003;
  transition:
    background 0.2s,
    transform 0.2s;
}
.source-link:hover {
  background: #fff8e9;
  transform: translateY(-1px);
}
.source-short {
  display: none;
}
.source-arrow {
  margin-left: 2px;
  font-size: 12px;
}
.gallery {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding-top: 5px;
}
.welcome {
  text-align: center;
  flex-shrink: 0;
  z-index: 2;
  padding-top: 3px;
}
.welcome .eyebrow {
  color: #dfc29d;
  font-size: 8px;
  letter-spacing: 0.18em;
}
.welcome h1 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin-top: 6px;
  font-weight: 700;
  text-shadow: 0 2px 30px #000;
}
.film-stage {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 180px;
  max-height: 440px;
  perspective: 1500px;
  container-type: size;
  touch-action: pan-y;
  outline-offset: -8px;
}
.film-track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: translate3d(
    calc(var(--scene-x) * -0.65 + var(--drag-px, 0px)),
    calc(var(--scene-y) * -0.65),
    0
  );
  transition: transform 0.35s ease-out;
}
.film-card {
  --x: 0%;
  --angle: 0deg;
  --scale: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(62vw, 900px, 210cqh);
  aspect-ratio: 2.22;
  transform: translate(calc(-50% + var(--x)), -50%) rotateY(var(--angle))
    scale(var(--scale));
  transform-origin: center center;
  transition:
    transform 0.75s cubic-bezier(0.22, 0.75, 0.2, 1),
    opacity 0.65s,
    filter 0.65s;
  z-index: 5;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
  outline-offset: 7px;
  border-radius: 10px;
}
.film-window {
  height: 100%;
  position: relative;
  border: 1px solid #eadbc752;
  border-radius: 9px;
  background: #0a0b09;
  box-shadow:
    0 18px 50px #0009,
    0 0 30px #e0c89918;
  overflow: hidden;
  isolation: isolate;
}
.film-preview {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0a0b09;
  pointer-events: none;
}
.screen-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    0deg,
    #0008,
    transparent 28%,
    transparent 70%,
    #0005
  );
}
.film-card[data-position="-1"] {
  --x: -78%;
  --angle: 24deg;
  --scale: 0.76;
  z-index: 3;
  filter: brightness(0.65);
  opacity: 0.95;
}
.film-card[data-position="1"] {
  --x: 78%;
  --angle: -24deg;
  --scale: 0.76;
  z-index: 3;
  filter: brightness(0.65);
  opacity: 0.95;
}
.film-card[data-position="-2"] {
  --x: -127%;
  --angle: 35deg;
  --scale: 0.55;
  z-index: 1;
  filter: brightness(0.4);
  opacity: 0.35;
}
.film-card[data-position="2"] {
  --x: 127%;
  --angle: -35deg;
  --scale: 0.55;
  z-index: 1;
  filter: brightness(0.4);
  opacity: 0.35;
}
.film-card:not(.is-active):hover {
  filter: brightness(0.95);
}
.film-card.is-active .film-window {
  border-color: #e6d5b99c;
  box-shadow:
    0 18px 70px #0009,
    0 0 45px #e4d7aa20;
}
.frame-top {
  position: absolute;
  top: 14px;
  left: 17px;
  right: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 6px #000;
}
.frame-top span:last-child {
  padding: 2px 6px;
  background: #0005;
  border-radius: 4px;
}
.card-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 51px;
  height: 51px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
  border: 1px solid #fff6;
  border-radius: 50%;
  color: #fff;
  background: #0002;
  backdrop-filter: blur(3px);
  font-size: 14px;
  opacity: 0;
  transform: scale(0.85);
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.is-active:hover .card-play,
.is-active:focus-visible .card-play {
  opacity: 1;
  transform: scale(1);
}
.card-caption {
  position: absolute;
  bottom: 13px;
  left: 17px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-shadow: 0 1px 8px #000;
}
.is-active .card-caption {
  display: none;
}
.preview-tag {
  position: absolute;
  bottom: 13px;
  right: 17px;
  font-size: 6px;
  letter-spacing: 0.11em;
  color: #fff9;
}
.film-card:not(.is-active) .preview-tag {
  display: none;
}
.selected-film {
  text-align: center;
  flex-shrink: 0;
  z-index: 6;
  padding: 0 20px 8px;
  text-shadow: 0 2px 20px #0009;
}
.selected-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 8px;
  letter-spacing: 0.08em;
  color: #d1c1aa;
  font-weight: 600;
  line-height: 1.5;
}
.selected-meta > span:first-child {
  text-transform: uppercase;
}
#favorite-label {
  color: #f2c98d;
  border-left: 1px solid #d6c19d55;
  padding-left: 8px;
  font-size: 7px;
  font-weight: 800;
}
.selected-film h2 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin: 7px 0 13px;
}
.watch-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 40px;
  padding: 11px 20px;
  background: #f5e7cd;
  color: #292c23;
  text-shadow: none;
  font-size: 11px;
  font-weight: 800;
  border-radius: 8px;
  box-shadow: 0 3px 0 #a6977b66;
  transition:
    transform 0.2s,
    background 0.2s;
}
.watch-button:hover {
  background: white;
  transform: translateY(-2px);
}
.watch-button > span:last-child {
  font-size: 14px;
  margin-left: 8px;
}
.play-triangle {
  width: 0;
  height: 0;
  display: inline-block;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid currentColor;
}
.cinema-dock {
  padding: 14px 38px 18px;
  position: relative;
  z-index: 7;
  background: linear-gradient(180deg, transparent, #0b100b70 80%);
}
.programme-heading {
  max-width: 1070px;
  margin: 0 auto 3px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  text-shadow: 0 1px 6px #000;
}
.programme-heading h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.programme-heading p {
  font-size: 9px;
  color: #cfbfa7;
}
.programme-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1190px;
  margin: auto;
}
.browse-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #e3d0ab77;
  background: #11171080;
  font-size: 19px;
  transition: background 0.2s;
}
.browse-arrow:hover {
  background: #f2dfbd;
  color: #20271b;
}
.film-programme {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  overflow-x: auto;
  padding: 9px 5px 9px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #d8b47a70 transparent;
}
.film-programme button {
  display: block;
  flex: 0 0 auto;
  width: clamp(140px, 13.8vw, 202px);
  background: none;
  border: 0;
  padding: 0;
  color: #d5c6ae;
  text-align: left;
  scroll-snap-align: center;
}
.programme-thumb {
  aspect-ratio: 1.95;
  display: block;
  position: relative;
  border: 1px solid #ead5af55;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 5px 15px #0005;
  transition:
    border-color 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
}
.programme-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, #0007);
  pointer-events: none;
}
.programme-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.programme-thumb > span {
  position: absolute;
  bottom: 7px;
  left: 8px;
  z-index: 1;
  font-size: 9px;
  text-shadow: 0 1px 4px #000;
  font-weight: 700;
}
.programme-thumb .programme-duration {
  left: auto;
  right: 8px;
  font-variant-numeric: tabular-nums;
  font-size: 8px;
}
.programme-name {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  margin-top: 10px;
  text-shadow: 0 1px 8px #000;
}
.film-programme button[aria-pressed="true"] .programme-thumb {
  border-color: #ffe2ab;
  box-shadow:
    0 0 0 1px #ffe2ab70,
    0 5px 20px #ffc88b26;
}
.film-programme button[aria-pressed="true"] .programme-name {
  color: #fff2da;
}
.film-programme button[aria-pressed="true"] .programme-name::before {
  content: "";
  display: inline-block;
  vertical-align: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f3ca8b;
  margin-right: 6px;
}
.film-programme button:hover .programme-thumb {
  transform: translateY(-3px);
  border-color: #f6d4a3;
}
.film-programme button:hover img {
  transform: scale(1.035);
}
.dock-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #dbc6a6;
  max-width: 1070px;
  margin: 5px auto 0;
  text-shadow: 0 1px 5px #000;
}
.explore-hint span {
  margin: 0 5px;
}
#selection-count {
  font-variant-numeric: tabular-nums;
  font-size: 9px;
}
.dock-caption a {
  color: #fff0d7;
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #f2c98d66;
  text-underline-offset: 4px;
}
.dock-caption a:hover {
  color: white;
  text-decoration-color: currentColor;
}
.dragging .film-track {
  transition: none;
}
.dragging {
  cursor: grabbing;
}
.gallery-paused .screen-glow {
  animation-play-state: paused;
}
.about-dialog {
  max-width: 470px;
  width: calc(100% - 36px);
  border: 0;
  border-radius: 20px;
  padding: 40px;
  background: #fff8e9;
  color: #302e25;
  box-shadow: 0 30px 150px #0008;
  overflow: auto;
}
.about-dialog::backdrop {
  background: #10140be6;
  backdrop-filter: blur(10px);
}
.about-close {
  position: absolute;
  right: 18px;
  top: 15px;
  border: 0;
  background: none;
  color: #554c3e;
  padding: 7px;
  font-size: 15px;
}
.about-dialog .eyebrow {
  color: #967047;
  font-size: 8px;
}
.about-dialog h2 {
  font-size: 27px;
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin: 13px 0 20px;
}
.about-dialog > p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.85;
  color: #736a5c;
  margin: 12px 0;
}
.about-dialog > a {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: #45563d;
  margin-top: 23px;
}
.about-dialog .about-home {
  font-size: 10px;
  color: #837460;
  margin-top: 16px;
}
/* The full-film screening expands out of the gallery. */
.screening {
  color-scheme: dark;
  width: 100%;
  height: 100svh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: auto;
  background: #0d100de8;
  backdrop-filter: blur(14px);
  color: #fff7e9;
}
.screening::backdrop {
  background: #0d100d88;
}
.screening-shell {
  max-width: 1320px;
  margin: auto;
  padding: 25px 40px 28px;
}
.screening-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  gap: 20px;
}
.screening-header .eyebrow {
  color: #b5bdad;
  font-size: 8px;
}
.screening-header .eyebrow span {
  margin-left: 8px;
  color: #e1bd96;
}
.screening h2 {
  font-size: 28px;
  line-height: 1.2;
  margin-top: 8px;
  letter-spacing: -0.035em;
}
.cinema-controls {
  display: flex;
  align-items: center;
  gap: 24px;
}
.lights-toggle {
  border: 0;
  background: none;
  color: #b9c0b3;
  padding: 10px 0;
  font-size: 11px;
  white-space: nowrap;
}
.lights-toggle span {
  margin-left: 7px;
}
.close-screening {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: #ffffff09;
  color: #fffaf2;
  border: 1px solid #ffffff30;
  border-radius: 12px;
  font-size: 16px;
}
.close-screening:hover {
  background: #ffffff20;
}
.screen-frame {
  position: relative;
  overflow: hidden;
  background: #000;
  border-radius: 6px;
  box-shadow: 0 0 85px #d0e1bd0a;
  animation: screen-arrive 0.5s ease-out;
}
#film-player {
  display: block;
  width: 100%;
  height: auto;
  max-height: 60svh;
  aspect-ratio: var(--film-ratio, 2.33);
  object-fit: contain;
  background: #000;
}
.screening-details {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 22px;
  padding-top: 19px;
}
.screening-details > p {
  color: #b9c0b3;
  font-size: 11px;
}
.screening-actions {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-shrink: 0;
}
.screening-actions button,
.screening-actions a {
  border: 0;
  background: none;
  color: #fffaf2;
  font-size: 10px;
  padding: 6px 0;
  border-bottom: 1px solid #ffffff40;
  white-space: nowrap;
}
.screening-actions span {
  margin-left: 5px;
}
.screening-actions button:hover,
.screening-actions a:hover {
  color: #f0c9a0;
}
.cinema-program {
  margin-top: 23px;
  padding-top: 20px;
  border-top: 1px solid #ffffff20;
}
.program-label {
  color: #a8b0a3;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.program-films {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
  margin-top: 12px;
}
.program-films button {
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  padding: 12px;
  border: 1px solid #ffffff20;
  border-radius: 10px;
  background: #ffffff03;
  color: #bdc4b6;
}
.program-films button span {
  display: block;
  font-size: 8px;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  color: #939c89;
}
.program-films button:hover,
.program-films button[aria-pressed="true"] {
  color: #fffaf2;
  background: #ffffff0b;
  border-color: #b8c3a2;
}
.program-films button[aria-pressed="true"] span {
  color: #d8deb9;
}
.screening-details,
.cinema-program,
.screening-header > div:first-child {
  transition: opacity 0.45s;
}
.lights-down {
  background: #050604fa;
}
.lights-down .screening-details,
.lights-down .cinema-program,
.lights-down .screening-header > div:first-child {
  opacity: 0.15;
}
.lights-down .screening-details:hover,
.lights-down .screening-details:focus-within,
.lights-down .cinema-program:hover,
.lights-down .cinema-program:focus-within {
  opacity: 1;
}
.share-status {
  min-height: 17px;
  margin: 7px 0 0;
  color: #e4c5a0;
  font-size: 11px;
}
.share-fallback {
  margin: 15px 0;
}
.share-fallback label {
  display: block;
  font-size: 11px;
  margin-bottom: 5px;
}
.share-fallback input {
  width: 100%;
  padding: 10px;
  color: white;
  background: #31372d;
  border: 1px solid #a2ad99;
  border-radius: 8px;
  font-size: 12px;
}
.player-error {
  margin-top: 16px;
  font-size: 12px;
}
.player-error a {
  text-decoration: underline;
}
@keyframes projector-breathe {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}
@keyframes screen-arrive {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@media (min-width: 1600px) {
  .cinema-app {
    grid-template-rows: 95px minmax(0, 1fr) auto;
  }
  .site-header {
    padding: 0 60px;
  }
  .welcome h1 {
    font-size: 30px;
  }
  .selected-film h2 {
    font-size: 38px;
  }
  .film-stage {
    max-height: 520px;
  }
  .film-card {
    width: min(59vw, 1050px, 210cqh);
  }
}
@media (max-width: 1050px) {
  .film-card {
    width: min(66vw, 210cqh);
  }
  .screening-details {
    display: block;
  }
  .screening-actions {
    margin-top: 13px;
  }
  .screening-shell {
    padding: 25px 30px;
  }
  .site-header {
    padding: 0 25px;
  }
}
@media (max-aspect-ratio: 1/1) {
  .room-backdrop {
    background-image: url("assets/screening-room-mobile.webp");
    background-size: 100% 100%;
    inset: -5px;
  }
  .room-shade {
    background: linear-gradient(
      180deg,
      #080a0969,
      transparent 30%,
      #090b090f 65%,
      #0709088c
    );
  }
  .cinema-app {
    grid-template-rows: 92px minmax(0, 1fr) auto;
  }
  .gallery {
    justify-content: center;
  }
  .film-stage {
    flex: 0 0 auto;
    height: clamp(185px, 34vw, 320px);
    min-height: 0;
    margin: 23px 0 13px;
  }
  .welcome {
    padding-top: 0;
  }
  .welcome h1 {
    font-size: 24px;
  }
  .film-card {
    width: 72vw;
  }
  .selected-film {
    padding-bottom: 25px;
  }
  .selected-film h2 {
    font-size: 31px;
  }
}
@media (max-width: 600px) {
  .cinema-app {
    min-height: 620px;
    grid-template-rows: 76px minmax(0, 1fr) auto;
  }
  .site-header {
    padding: 0 18px;
    gap: 15px;
  }
  .brand-mark {
    width: 33px;
    height: 33px;
    border-radius: 11px;
    font-size: 10px;
  }
  .wordmark {
    gap: 9px;
    font-size: 12px;
  }
  .wordmark-label {
    font-size: 5px;
    letter-spacing: 0.06em;
  }
  .room-controls {
    gap: 17px;
  }
  .room-controls button {
    font-size: 10px;
  }
  .room-controls .toggle-label {
    display: none;
  }
  .room-controls button > span:first-child {
    font-size: 16px;
    margin: 0;
  }
  .welcome .eyebrow {
    font-size: 6px;
    letter-spacing: 0.13em;
  }
  .welcome h1 {
    font-size: 23px;
    margin-top: 8px;
  }
  .film-stage {
    height: clamp(170px, 52vw, 250px);
    margin: 18px 0 12px;
  }
  .film-card {
    width: 85vw;
    aspect-ratio: 1.95;
  }
  .film-card[data-position="-1"] {
    --x: -81%;
    --angle: 24deg;
    --scale: 0.77;
  }
  .film-card[data-position="1"] {
    --x: 81%;
    --angle: -24deg;
    --scale: 0.77;
  }
  .frame-top {
    top: 11px;
    left: 12px;
    right: 12px;
    font-size: 7px;
  }
  .card-caption {
    font-size: 11px;
    left: 12px;
    bottom: 10px;
  }
  .preview-tag {
    font-size: 5px;
    right: 12px;
    bottom: 10px;
  }
  .selected-film {
    padding-bottom: 18px;
  }
  .selected-film h2 {
    font-size: 29px;
    margin: 8px 0 16px;
  }
  .selected-meta {
    font-size: 7px;
    gap: 7px;
  }
  #favorite-label {
    font-size: 6px;
  }
  .watch-button {
    font-size: 10px;
    padding: 11px 18px;
  }
  .dock-caption {
    font-size: 6px;
    margin-top: 17px;
    gap: 9px;
  }
  #selection-count {
    font-size: 8px;
  }
  .explore-hint {
    font-size: 0;
  }
  .explore-hint::after {
    content: "SWIPE TO EXPLORE";
    font-size: 6px;
    letter-spacing: 0.08em;
  }
  .explore-hint span {
    display: none;
  }
  .screening-shell {
    padding: 24px 18px;
  }
  .screening h2 {
    font-size: 25px;
  }
  .cinema-controls {
    gap: 14px;
  }
  .lights-toggle {
    font-size: 9px;
  }
  .screening-header {
    gap: 12px;
    padding-bottom: 20px;
  }
  .screening-details {
    padding-top: 17px;
  }
  .screening-actions {
    flex-wrap: wrap;
    gap: 17px;
  }
  .screening-actions button,
  .screening-actions a {
    font-size: 9px;
  }
  .program-films {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 5px;
  }
  .program-films button {
    flex: 0 0 auto;
    min-width: 132px;
  }
  #film-player {
    max-height: 56svh;
    min-height: 135px;
  }
  .close-screening {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  .about-dialog {
    padding: 34px 27px;
  }
}
@media (max-height: 650px) and (min-aspect-ratio: 1/1) {
  .cinema-app {
    min-height: 500px;
    grid-template-rows: 60px minmax(0, 1fr) auto;
  }
  .welcome {
    display: none;
  }
  .selected-film h2 {
    font-size: 24px;
    margin: 4px 0 9px;
  }
  .selected-meta {
    font-size: 7px;
  }
  .watch-button {
    min-height: 33px;
    padding: 8px 15px;
    font-size: 9px;
  }
  .film-card {
    width: min(54vw, 210cqh);
  }
  .dock-caption {
    margin-top: 10px;
  }
  .selected-film {
    padding-bottom: 0;
  }
  .film-stage {
    min-height: 150px;
  }
}
@media (max-width: 900px) {
  .cinema-dock {
    padding: 12px 25px 23px;
  }
  .programme-heading {
    margin-bottom: 2px;
  }
  .film-programme {
    gap: 14px;
    flex: 1;
  }
  .film-programme button {
    width: 164px;
  }
  .programme-name {
    font-size: 12px;
  }
  .programme-row {
    gap: 13px;
  }
}
@media (max-width: 600px) {
  .cinema-app {
    min-height: 700px;
  }
  .cinema-dock {
    padding: 12px 18px 20px;
  }
  .programme-heading h2 {
    font-size: 11px;
  }
  .programme-heading p {
    font-size: 8px;
  }
  .programme-row > .browse-arrow {
    display: none;
  }
  .film-programme {
    gap: 13px;
    padding-left: 2px;
    padding-right: 2px;
  }
  .film-programme button {
    width: 142px;
  }
  .programme-thumb {
    border-radius: 6px;
  }
  .programme-name {
    font-size: 11px;
    margin-top: 8px;
  }
  .programme-thumb > span {
    font-size: 8px;
    bottom: 5px;
    left: 7px;
  }
  .programme-thumb .programme-duration {
    left: auto;
    right: 7px;
    font-size: 8px;
  }
  .dock-caption {
    margin-top: 8px;
  }
}
@media (max-height: 650px) and (min-aspect-ratio: 1/1) {
  .cinema-app {
    min-height: 620px;
  }
  .cinema-dock {
    padding-top: 8px;
    padding-bottom: 12px;
  }
  .film-programme button {
    width: 145px;
  }
  .programme-name {
    font-size: 10px;
  }
  .programme-heading h2 {
    font-size: 11px;
  }
}
@media (max-width: 600px) {
  .room-controls {
    gap: 12px;
  }
  .wordmark-label {
    display: none;
  }
  .source-link {
    padding: 7px 8px;
    gap: 5px;
    font-size: 10px;
    border-radius: 6px;
  }
  .source-link svg {
    width: 12px;
    height: 12px;
  }
  .source-full,
  .source-arrow {
    display: none;
  }
  .source-short {
    display: inline;
  }
  .dock-caption a {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .room-backdrop,
  .film-track {
    transform: none;
  }
  .watch-button:hover,
  .film-programme button:hover .programme-thumb {
    transform: none;
  }
}
