@font-face {
  font-family: "DM Sans";
  src: url("media/fonts/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("media/fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("media/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "DM Sans", Arial, sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
img, video { max-width: 100%; }
:focus-visible { outline: 3px solid #147db3; outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -10rem; padding: .7rem 1rem; background: white; color: #171515; }
.skip-link:focus { top: 1rem; }
.film-viewer {
  color-scheme: dark;
  position: fixed;
  width: min(960px, calc(100% - 32px));
  max-width: none;
  padding: 0;
  border: 1px solid #514b45;
  background: #141413;
  color: #fff;
  box-shadow: 0 18px 80px #0007;
}
.film-viewer::backdrop { background: rgb(10 9 8 / 87%); }
.film-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 18px; }
.film-top h2 { font: 500 clamp(15px, 2.3vw, 20px)/1.3 "DM Sans", sans-serif; margin: 0; color: white; letter-spacing: -.02em; }
.film-top button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px;
  font: 500 14px "DM Sans", sans-serif; letter-spacing: normal; text-transform: none;
  color: white; background: transparent; border: 1px solid #79746e; padding: 0 12px;
}
.film-top button span { font-size: 22px; font-weight: 300; }
.film-viewer video { display: block; width: 100%; max-height: 74dvh; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.film-error { margin: 0; padding: 1rem; color: white; }
body.film-is-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
