@font-face {
  font-family: Mona;
  src: url('/assets/mona-sans-latin-ext-wght-normal-BqSk0Z3x.woff2') format('woff2');
  font-weight: 200 900;
  font-display: swap;
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1FFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Mona;
  src: url('/assets/mona-sans-latin-wght-normal-Pz49MTQZ.woff2') format('woff2');
  font-weight: 200 900;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('/assets/geist-mono-latin-wght-normal-XN7g48iV.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --canvas: #101312;
  --paper: #f3f1e8;
  --soft: #babcb5;
  --orange: #ff7953;
  --gutter: clamp(1.2rem, 4.5vw, 5.3rem);
  font-family: Mona, system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a,
button,
input {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #ffab80;
  outline-offset: 4px;
}
.visually-hidden,
.skip:not(:focus) {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  z-index: 5;
  top: 1rem;
  left: var(--gutter);
  padding: 0.8rem 1rem;
  background: var(--paper);
  color: var(--canvas);
}
.frame {
  width: 100%;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}
.cinema {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #101815;
}
.cinema video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.film-cover {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}
.film-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cinema.waiting-for-frame video { opacity: 0; }
.cinema.show-table video {
  object-fit: contain;
}
@media (max-aspect-ratio: 4/5) {
  .cinema:not(:fullscreen) video,
  .cinema:not(:fullscreen) .film-cover {
    height: calc(100% - clamp(4.5rem, 14svh, 8rem));
    mask-image: linear-gradient(black 85%, transparent);
  }
  .cinema:not(:fullscreen) video,
  .cinema:not(:fullscreen) .film-cover img {
    object-fit: contain;
    object-position: center top;
  }
  .cinema.show-table:not(:fullscreen) video {
    height: calc(100% - clamp(8rem, 25svh, 13.5rem));
    mask-image: none;
  }
}
.cinema::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, #08110fd6, transparent 19%, transparent 60%, #08100fd9 88%, #080f0ff5);
}
.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem 1rem;
  padding-block: max(1.1rem, env(safe-area-inset-top)) 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  width: fit-content;
  min-height: 44px;
  font-size: 1.32rem;
  font-weight: 410;
  letter-spacing: -0.065em;
}
.brand strong {
  font-weight: 850;
}
.rack {
  width: 1.8rem;
  height: 1.55rem;
  flex: none;
  background:
    radial-gradient(circle at 50% 25%, var(--orange) 0 17%, transparent 19%),
    radial-gradient(circle at 27% 74%, var(--orange) 0 17%, transparent 19%),
    radial-gradient(circle at 73% 74%, var(--orange) 0 17%, transparent 19%);
}
.launch {
  margin-top: auto;
  padding-block: 4rem 1.5rem;
}
h1 {
  margin: 0;
  font-weight: 470;
  font-size: clamp(3.2rem, 5.7vw, 6.6rem);
  line-height: 0.99;
  letter-spacing: -0.065em;
}
h1 em {
  display: inline-block;
  margin-left: 0.035em;
  font-style: normal;
  transform: skewX(-7deg);
  font-weight: 795;
}
h1 em span {
  color: var(--orange);
}
.launch p {
  margin: 0.88rem 0 0 0.12rem;
  color: #e3e3da;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.42;
}
.choices {
  display: flex;
  gap: 0.65rem;
  flex-shrink: 0;
}
.action {
  min-height: 44px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem clamp(0.95rem, 1.6vw, 1.65rem);
  font-weight: 695;
  font-size: 1rem;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 0.4rem;
}
.primary {
  color: #21140f;
  background: var(--orange);
}
.secondary {
  color: var(--paper);
  border-color: #555a52;
  background: #1c211e;
}
.primary:hover {
  background: #ff916f;
}
.secondary:hover {
  border-color: #959b8e;
  background: #2a302b;
}
.action:active {
  transform: translateY(1px);
}
.play-mark,
.transport-glyph {
  display: block;
  width: 0.76rem;
  height: 0.9rem;
  background: currentColor;
  clip-path: polygon(8% 1%, 96% 50%, 8% 99%);
}
.players-mark {
  width: 1.32rem;
  height: 1.08rem;
  background:
    radial-gradient(circle at 33% 24%, currentColor 0 14%, transparent 16%),
    radial-gradient(circle at 77% 30%, currentColor 0 12%, transparent 14%),
    radial-gradient(ellipse at 33% 100%, currentColor 0 31%, transparent 33%),
    radial-gradient(ellipse at 84% 100%, currentColor 0 23%, transparent 25%);
}
.screen-controls {
  padding-bottom: max(.6rem, env(safe-area-inset-bottom));
}
.transport {
  border-top: 1px solid #f0f1e640;
  padding-top: .4rem;

  display: flex;
  align-items: center;
  gap: clamp(0.45rem, 1vw, 0.95rem);
  color: #fffaf0;
  pointer-events: auto;
}
.icon-button {
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  background: transparent;
  border: 0;
  padding: 0;
  display: grid;
  place-items: center;
  color: inherit;
  border-radius: 50%;
}
.icon-button:hover {
  background: #ffffff22;
}
#play-film {
  border: 1px solid #ffffff70;
}
.transport-glyph {
  width: 0.77rem;
  height: 0.9rem;
}
.is-playing .transport-glyph {
  clip-path: none;
  width: 0.77rem;
  background: linear-gradient(to right, currentColor 0 32%, transparent 32% 68%, currentColor 68%);
}
.room {
  font-weight: 610;
  font-size: 0.98rem;
  white-space: nowrap;
}
.time {
  margin-left: .5rem;
  font:
    475 0.83rem/1 'Geist Mono',
    monospace;
  white-space: nowrap;
}
.seek {
  display: flex;
  flex: 1;
  max-width: none;
  height: 44px;
  align-items: center;
}
.seek input {
  --progress: 0%;
  appearance: none;
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.seek input::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--orange) var(--progress), #ffffff63 var(--progress));
}
.seek input::-moz-range-track {
  height: 3px;
  background: #ffffff63;
}
.seek input::-moz-range-progress {
  height: 3px;
  background: var(--orange);
}
.seek input::-webkit-slider-thumb {
  appearance: none;
  width: 9px;
  height: 9px;
  margin-top: -3px;
  background: var(--paper);
  border: 0;
  border-radius: 50%;
}
.seek input::-moz-range-thumb {
  width: 9px;
  height: 9px;
  background: var(--paper);
  border: 0;
  border-radius: 50%;
}
.expand-glyph {
  display: block;
  width: 1.08rem;
  height: 1.08rem;
  border: 2px solid currentColor;
  mask:
    linear-gradient(to right, #000 33%, transparent 33% 67%, #000 67%) top/100% 2px no-repeat,
    linear-gradient(to right, #000 33%, transparent 33% 67%, #000 67%) bottom/100% 2px no-repeat,
    linear-gradient(to bottom, #000 33%, transparent 33% 67%, #000 67%) left/2px 100% no-repeat,
    linear-gradient(to bottom, #000 33%, transparent 33% 67%, #000 67%) right/2px 100% no-repeat;
}

.cinema:fullscreen {
  min-height: 0;
  width: 100%;
  height: 100%;
  background: black;
}
.cinema:fullscreen video { object-fit: contain; }
.cinema:fullscreen::before, .cinema:fullscreen .mast, .cinema:fullscreen .launch { display: none; }
.cinema:fullscreen .screen-controls {
  margin-top: auto;
  padding-top: 2rem;
  background: linear-gradient(transparent, #060a09e0);
}
.cinema.controls-idle:fullscreen .screen-controls:not(:has(:focus-visible)) { opacity: 0; pointer-events: none; }
.cinema.controls-idle:fullscreen { cursor: none; }
.cinema:has(video[controls]) .launch { padding-bottom: 4rem; pointer-events: none; }
@media (max-width: 47rem) {
  .mast { padding-block: max(.7rem, env(safe-area-inset-top)) .5rem; }
  .mast .brand { font-size: 1.08rem; gap: .4rem; }
  .launch { padding-block: 2.3rem 1rem; }
  h1 { font-size: clamp(2.6rem, 9.5vw, 4rem); }
  .launch p { font-size: 1rem; margin-block: .35rem 0; }
  .choices { gap: .4rem; }
  .action { gap: .45rem; padding: .55rem .65rem; font-size: .875rem; }
  .transport { display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; gap: 0; align-items: center; }
  .room { text-overflow: ellipsis; overflow: hidden; font-size: .78rem; padding-inline: .35rem; }
  .time { grid-column: 3; margin: 0 .25rem; font-size: .7rem; }
  .seek { grid-row: 2; grid-column: 1 / -1; height: 1.4rem; }
  .seek input { height: 1.4rem; }
  .icon-button { width: 2.75rem; height: 2.75rem; }
}
@media (max-width: 30rem) {
  .mast { flex-wrap: wrap; column-gap: .65rem; }
  .mast .brand { font-size: .95rem; }
  .mast .rack { width: 1.35rem; height: 1.3rem; }
  .choices { margin-inline-start: auto; }
  .action { padding-inline: .52rem; font-size: .84rem; }
  .choices .play-mark, .choices .players-mark { display: none; }
}
@media (max-width: 24rem) {
  .choices { width: 100%; }
  .action { flex: 1; }
}
@media (max-height: 31rem) and (orientation: landscape) {
  .mast { padding-block: .2rem; }
  .launch { padding-block: .25rem .5rem; }
  h1 { font-size: 2.3rem; }
  .launch p { display: none; }
  .transport { display: flex; }
  .seek { min-width: 2rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .action, .icon-button, .screen-controls { transition: background-color .15s, color .15s, opacity .2s; }
}
