@font-face {
  font-family: Cormorant;
  src: url('/motion/fonts/cormorant-roman.5d618c462b7a.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: Cormorant;
  src: url('/motion/fonts/cormorant-italic.efd94eb5c51d.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Bodoni Moda;
  src: url('/motion/fonts/bodoni-moda.fe710b15e2ac.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: Newsreader;
  src: url('/motion/assets/newsreader-latin.e7c384bbe655.woff2') format('woff2');
  font-weight: 400 500;
  font-display: swap;
}

@font-face {
  font-family: Acumin;
  src: url('/motion/assets/8008AcuminPro-Black.ea929f124f03.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: Oswald;
  src: url('/motion/assets/TK3_WkUHHAIjg75cFRf3bXL8LICs1xZosUZiYA.f311bb90f5bd.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Monarch;
  src: url('/motion/fonts/poster-monarch.47494afd3288.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: Founders Grotesk;
  src: url('/motion/fonts/poster-founders-grotesk-bold.0cead7eaee10.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Future History;
  src: url('/motion/fonts/poster-future-history.4d965cc47e6e.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: Avaleigh;
  src: url('/motion/fonts/poster-avaleigh.ee3e831bf5bf.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: Sultan;
  src: url('/motion/fonts/poster-sultan.e6fbd8f17a9d.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: Bedroom Sessions;
  src: url('/motion/fonts/bedroom-sessions.2f2b0fe79182.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: Guida Display;
  src: url('/motion/fonts/guida-display.1e4be1d4c5c4.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: Contorni Display;
  src: url('/motion/fonts/contorni-display.0b5b4674135e.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: Vox Populi;
  src: url('/motion/fonts/vox-populi.4cbe4b4af402.woff2') format('woff2');
  font-display: swap;
}

:root {
  color-scheme: dark;
  --black: #000;
  --paper: #f5eddf;
  --dim: #d6caba;
  --rule: rgb(245 237 223 / 36%);
  --accent: #e7c79f;
  --gutter: clamp(1.2rem, 5.2vw, 7.5rem);
  --title: Cormorant, Georgia, serif;
  --ui: var(--title);
  --ui-ink: #bfbfbf;
  --ease: cubic-bezier(.23,.68,.28,1);
  --hover-defocus: blur(clamp(1.75px, .046em, 5.5px));
  --control-glow-color: rgb(255 249 232 / 42%);
  --control-glow: drop-shadow(0 0 3px var(--control-glow-color));
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--black); color: var(--paper); }
body { font-family: var(--ui); }
h1, h2, h3, p, dl, dd { margin: 0; }
button, a { color: inherit; }
a { text-underline-offset: .24em; }
button { font: inherit; }
button:not(:disabled), summary { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ui-ink); outline-offset: 5px; }
[hidden] { display: none !important; }

.stage {
  position: relative;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--black);
}

.optics { position: absolute; pointer-events: none; }

.topline, .menu-head {
  position: absolute;
  z-index: 4;
  inset: 0 var(--gutter) auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: clamp(4rem, 10svh, 7rem);
  gap: 1rem;
}

.signature {
  display: inline-flex;
  filter: var(--hover-defocus);
  transition: filter .45s var(--ease);
}
.signature img {
  display: block;
  width: clamp(6.5rem, 11vw, 9rem);
  aspect-ratio: 375 / 88;
  object-fit: cover;
  object-position: top;
  opacity: .76;
}

.menu-control {
  display: grid;
  place-items: center;
  flex: none;
  width: 84px;
  height: 2.75rem;
  padding: 0;
  color: var(--ui-ink);
  background: transparent;
  border: 0;
  font: 600 1.14rem/1 var(--ui);
  user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.stage[data-menu-open] .topline [data-menu-open] { visibility: hidden; }
.menu-control > * { grid-area: 1 / 1; pointer-events: none; }
.menu-word-shape {
  opacity: calc(var(--menu-word-opacity) * var(--menu-word-focus, 0));
  fill: currentColor;
  stroke: none;
}
.menu-word-soft {
  opacity: calc(var(--menu-word-opacity) * (1 - var(--menu-word-focus, 0)));
}
.menu-control :is(.menu-word-shape, .menu-word-soft) {
  transition: opacity .24s var(--ease);
}
.menu-control[data-menu-open]:is(:active, :focus-visible) { --menu-word-focus: 1; }
.menu-mark {
  --menu-word-opacity: clamp(0, calc(1 - var(--menu-progress, 0) * 2.35), 1);
  overflow: visible;
}
.menu-sensor {
  fill: none;
  stroke: var(--menu-sensor-ink, currentColor);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: var(--menu-sensor-focus, 0);
  transition: opacity .24s var(--ease), stroke .24s var(--ease), filter .24s var(--ease);
}
.menu-sensor-soft {
  opacity: calc(1 - var(--menu-sensor-focus, 0));
  transition: opacity .24s var(--ease);
}
.menu-control[data-menu-close] { --menu-sensor-focus: 1; }
.menu-control[data-menu-open]:is(:active, :focus-visible) {
  --menu-sensor-focus: 1;
  --menu-sensor-ink: var(--paper);
}
.site-menu[data-closing] .menu-morph { pointer-events: none; }
.ui-close {
  position: relative;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ui-ink);
}
.ui-close::before, .ui-close::after {
  content: '';
  position: absolute;
  top: calc(50% - .75px);
  left: calc(50% - 9px);
  width: 18px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  box-shadow: 0 0 3px rgb(0 0 0 / 50%);
  transform: rotate(var(--blade));
  transition: transform .3s var(--ease);
}
.ui-close::before { --blade: 45deg; }
.ui-close::after { --blade: -45deg; }
.ui-close:is(:hover, :focus-visible)::before, .ui-close:is(:hover, :focus-visible)::after {
  transform: rotate(var(--blade)) scaleX(1.13);
}
.ui-close:focus-visible {
  outline: none;
  color: var(--paper);
  filter: drop-shadow(0 0 3px currentColor);
}
[data-menu-close]:focus-visible { outline: none; }
[data-menu-close]:focus-visible .menu-sensor {
  stroke-width: calc(1.5 + .35 * var(--menu-progress, 0));
}
[data-closing] .ui-close, .projection[data-state="closing"] .ui-close { pointer-events: none; }
[data-closing] .ui-close::before, [data-closing] .ui-close::after,
.projection[data-state="closing"] .ui-close::before, .projection[data-state="closing"] .ui-close::after {
  animation: close-mark-out .28s var(--ease) both;
}
.project-notes[open]:not([data-closing]) .ui-close { animation: close-mark-in .32s var(--ease) .21s both; }
@keyframes close-mark-in {
  from { opacity: 0; transform: scale(.65) rotate(-28deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes close-mark-out {
  0% { transform: rotate(var(--blade)); }
  60% { opacity: .85; transform: rotate(0deg) scaleX(1.15); filter: blur(.6px); }
  100% { opacity: 0; transform: rotate(0deg) scaleX(.2); filter: blur(1.5px); }
}

.site-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ui-ink);
  background: rgb(0 0 0 / var(--menu-progress, 0));
  --leak-visibility: calc(1.28 * var(--menu-progress, 0));
  isolation: isolate;
}
.site-menu[open] { display: grid; place-items: center; }
.site-menu .menu-head .signature { opacity: var(--menu-progress, 0); }
.site-menu::backdrop { background: transparent; }

.menu-links {
  position: relative;
  z-index: 3;
  display: grid;
  gap: .06em;
  text-align: center;
  font: 500 clamp(3rem, 9vw, 8rem)/.95 var(--title);
}
.menu-links a {
  --link-delay: 0;
  --link-reveal: clamp(0, calc((var(--menu-progress, 0) - var(--link-delay)) / (1 - var(--link-delay))), 1);
  --link-defocus: clamp(1.75px, .046em, 5.5px);
  text-decoration: none;
  opacity: var(--link-reveal);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.menu-links a span {
  display: block;
  pointer-events: none;
  transform: translateY(calc(25px * (1 - var(--link-reveal))));
  filter: blur(calc(var(--link-defocus) + var(--menu-motion-blur, 0px)));
  transition: filter .45s var(--ease);
}
.menu-links a:nth-child(2) { --link-delay: .075; }
.menu-links a:nth-child(3) { --link-delay: .15; }
.site-menu[data-closing] .menu-links { pointer-events: none; }
@media (hover: hover) {
  .signature:hover { filter: blur(0); }
  .menu-control[data-menu-open]:hover {
    --menu-word-focus: 1;
    --menu-sensor-focus: 1;
    --menu-sensor-ink: var(--paper);
  }
  .menu-control[data-menu-open]:is(:hover, :focus-visible) .menu-sensor { filter: var(--control-glow); }
  .site-menu[data-visible] .menu-links a:hover { --link-defocus: 0px; }
}
.signature:is(:active, :focus-visible) { filter: blur(0); }
.menu-links a:is(:active, :focus-visible, [data-menu-selected]) { --link-defocus: 0px; }
.menu-links a:is(:active, [data-menu-selected]) span { transition-duration: .08s; }

@media (hover: none) and (pointer: coarse) {
  /* Keep the touch UI off the filter compositor. The soft logo is a bitmap
     and menu labels use text shadows until the link is touched or focused. */
  .signature, .signature:is(:active, :focus-visible) {
    position: relative;
    filter: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .signature::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/motion/signature-soft.2a6ffd8f9d9c.png') center top / cover no-repeat;
    opacity: .76;
    pointer-events: none;
  }
  .signature img { opacity: 0; }
  .signature::before, .signature img { transition: opacity .16s var(--ease); }
  .signature:is(:active, :focus-visible)::before { opacity: 0; }
  .signature:is(:active, :focus-visible) img { opacity: .76; }
  .menu-links a span {
    color: transparent;
    filter: none;
    text-shadow: 0 0 calc(var(--link-defocus) + var(--menu-motion-blur, 0px)) var(--ui-ink);
    transition-property: text-shadow, color;
  }
  .menu-links a:is(:active, :focus-visible, [data-menu-selected]) span {
    color: var(--ui-ink);
    text-shadow: none;
  }
  .stage[data-menu-returning] [data-menu-open]:focus-visible { outline: none; }
  .stage[data-menu-returning] [data-menu-open]:focus-visible:not(:active) { --menu-word-focus: 0; }
  .stage[data-menu-returning] [data-menu-open]:focus-visible:not(:active) {
    --menu-sensor-focus: 0;
    --menu-sensor-ink: currentColor;
  }
  .site-menu .screen-leak-layer { contain: none; }
  .ui-close:focus-visible { filter: none; }

  .touch-defocus {
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 var(--touch-defocus-radius) currentColor;
  }
  .poster-copy.touch-defocus :is(.film-title, .watch) {
    /* Keep a readable core while the softer halo follows the swipe. */
    -webkit-text-fill-color: currentColor;
    -webkit-text-fill-color: color-mix(in srgb, currentColor 32%, transparent);
    text-shadow: 0 0 var(--touch-defocus-radius) currentColor;
  }
}

@media (hover: none) and (pointer: coarse) {
  @keyframes close-mark-out {
    0% { transform: rotate(var(--blade)); }
    60% { opacity: .85; transform: rotate(0deg) scaleX(1.15); }
    100% { opacity: 0; transform: rotate(0deg) scaleX(.2); }
  }
}

.reel {
  position: relative;
  height: 100%;
  overflow: auto;
  overscroll-behavior-y: contain;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}
.reel::-webkit-scrollbar { display: none; }
.reel:focus-visible { outline-offset: -3px; }

.slide {
  --title-width-unit: 1vw;
  --title-height-unit: 1svh;
  --notes-trigger-bottom: clamp(1.15rem, 5svh, 4rem);
  --poster-gap: clamp(.6rem, 1.65svh, 1.2rem);
  position: relative;
  isolation: isolate;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding-block: max(clamp(4.6rem, 11svh, 7.5rem), calc(env(safe-area-inset-top) + 3rem))
    calc(var(--notes-trigger-bottom) + max(3.65rem, env(safe-area-inset-bottom) + 3rem));
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.poster-image, .poster-image video, .poster-still, .poster-still img, .poster-image::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.poster-image {
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--black) var(--poster-fallback, none) var(--focus, center 42%) / cover no-repeat;
}

.poster-image video, .poster-still img {
  object-fit: cover;
  object-position: var(--focus, center 42%);
  transform: scale(1.07);
  filter: blur(6px) brightness(var(--exposure, .88)) saturate(var(--saturation, .76));
  filter: url('#anamorphic') brightness(var(--exposure, .88)) saturate(var(--saturation, .76));
}

.poster-still {
  z-index: 1;
  transition: opacity .28s var(--ease);
}
.slide[data-preview-frame] .poster-still { opacity: 0; }

/* The touch previews already contain the optical blur, so scrolling doesn't
   have to composite a live filter over the full-screen video. */
@media (hover: none) and (pointer: coarse) {
  .slide { scroll-snap-stop: normal; }
  .poster-image video, .poster-still img {
    filter: none;
  }
  .slide .poster-image::after {
    background:
      radial-gradient(ellipse at 50% 45%, rgb(0 0 0 / 49%) 14%, rgb(0 0 0 / 28%) 68%, rgb(0 0 0 / 21%)),
      linear-gradient(115deg, transparent 20%, var(--wash, rgb(72 29 8 / 18%)));
  }
}

.slide[data-project="guida"] {
  --paper: color-mix(in srgb, var(--accent) 27%, white);
  --dim: color-mix(in srgb, var(--accent) 52%, white);
  --accent: #a4bcd3;
  --live-type-color: var(--accent);
  --display: 'Guida Display', 'Bodoni Moda', Georgia, serif;
  --display-tracking: 0;
  --display-leading: .92;
  --live-type-size: min(calc(19 * var(--title-width-unit)), calc(24 * var(--title-height-unit)), 11.45rem);
  --notes-type-size: min(23cqi, 6rem);
  --wash: rgb(21 42 63 / 22%);
  --focus: 64% 48%;
  --exposure: .94;
  --saturation: .62;
  color: var(--paper);
}

.poster-image::after {
  content: '';
  z-index: 2;
  background:
    radial-gradient(ellipse at 50% 43%, rgb(0 0 0 / 38%) 15%, rgb(0 0 0 / 46%) 62%, rgb(0 0 0 / 76%)),
    linear-gradient(0deg, #000, transparent 34%, transparent 77%, rgb(0 0 0 / 44%)),
    linear-gradient(115deg, transparent 20%, var(--wash, rgb(72 29 8 / 18%)));
}

.poster-copy {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(72rem, calc(100% - 2 * max(2.5rem, var(--gutter))));
  margin-inline: auto;
  text-align: center;
  font-family: var(--title);
  transition: opacity .56s var(--ease), transform .72s var(--ease);
}

@media (prefers-reduced-motion: no-preference) {
  .slide[data-copy-in-view] .poster-copy > * {
    animation: poster-copy-settle 1.5s cubic-bezier(.2, .48, .26, 1) backwards;
    animation-delay: calc(var(--copy-order, 0) * 38ms);
  }
  .poster-copy > :nth-child(2) { --copy-order: 1; }
  .poster-copy > :nth-child(3) { --copy-order: 2; }
  .poster-copy > :nth-child(4) { --copy-order: 3; }
  .poster-copy > :nth-child(n+5) { --copy-order: 4; }

  .slide[data-copy-in-view] .poster-copy > .titleblock {
    animation: poster-title-settle 1.9s cubic-bezier(.18, .48, .26, 1) backwards;
  }
  @keyframes poster-title-settle {
    from { translate: 0 clamp(1.5rem, 4.2svh, 2.6rem); }
    to { translate: 0 0; }
  }

  @keyframes poster-copy-settle {
    from { translate: 0 .65rem; }
    to { translate: 0 0; }
  }
}

.stage[data-playing] .slide .poster-copy,
.stage[data-playing] .project-notes,
.stage[data-playing] .topline,
.stage[data-playing] .project-index {
  opacity: 0;
  pointer-events: none;
  transform: translateY(.45rem);
}
.project-notes, .topline, .project-index {
  transition: opacity .36s var(--ease), transform .36s var(--ease);
}

.festival-line {
  margin-bottom: clamp(.75rem, 2.6svh, 1.9rem);
  color: var(--accent);
  font-size: clamp(.82rem, 1.02vw, 1rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .11em;
}

.poster-producer-logo {
  display: block;
  width: clamp(5.5rem, 8vw, 7.25rem);
  height: auto;
  margin: 0 auto clamp(.75rem, 2.6svh, 1.5rem);
}

.film-laurel {
  margin-bottom: clamp(.6rem, 2svh, 1.4rem);
  color: #e9dece;
  font-size: .63rem;
  line-height: 1.3;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.film-laurel--jupiter img {
  display: block;
  width: clamp(3rem, 5vw, 4.4rem);
  height: auto;
  margin-inline: auto;
}

.formosus-prime {
  width: clamp(5.5rem, 9vw, 7.5rem);
  aspect-ratio: 247 / 80;
  overflow: hidden;
  margin: 0 auto clamp(.75rem, 2.5svh, 1.5rem);
}
.formosus-prime img {
  display: block;
  width: 100%;
  height: auto;
  /* The original Formosus asset includes a separate availability line above the logo. */
  transform: translateY(-31.035%);
}

.titleblock { max-width: 100%; }

.film-title {
  max-width: 100%;
  font-family: var(--display, var(--title));
  font-size: min(var(--display-width, 12vw), var(--display-height, 22svh), var(--display-max, 12rem));
  line-height: var(--display-leading, .78);
  font-weight: var(--display-weight, 500);
  letter-spacing: var(--display-tracking, .058em);
  text-shadow: 0 .2rem 2.8rem rgb(0 0 0 / 30%);
}
.subtitle {
  margin-top: .44em;
  font: italic 500 clamp(1.25rem, 3.1vw, 3rem)/1 var(--title);
}
.formosus-tagline {
  margin-top: -.12em;
  color: #e9e4dc;
  font: 700 clamp(.88rem, 4.3vw, 1.55rem)/1 'Founders Grotesk', sans-serif;
}
.film-label {
  margin-top: calc(var(--poster-gap) * 1.45);
  color: var(--dim);
  font-size: clamp(.85rem, 1.02vw, 1rem);
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
  text-transform: uppercase;
  letter-spacing: .095em;
}
.film-label span { margin-inline: .45em; }

.billing {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .2rem 1.15rem;
  margin-top: var(--poster-gap);
  font-size: clamp(1rem, 1.22vw, 1.22rem);
  font-weight: 500;
  line-height: 1.2;
  text-wrap: balance;
}
.billing strong { color: var(--accent); font-weight: 600; }
.synopsis {
  max-width: min(34em, 100%);
  margin-top: var(--poster-gap);
  color: var(--dim);
  font-size: clamp(1.08rem, 1.29vw, 1.32rem);
  font-weight: 500;
  line-height: 1.28;
  text-wrap: balance;
}

.watch {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 2.75rem;
  margin-top: var(--poster-gap);
  padding: .4rem .55rem;
  border: 0;
  background: transparent;
  color: var(--ui-ink);
  font-family: var(--ui);
  font-size: .96rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .105em;
}

.play-mark {
  display: grid;
  place-items: center;
  width: 1.9rem;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: background .2s, color .2s, transform .25s var(--ease);
}
.play-mark::before {
  content: '';
  margin-inline-start: .15rem;
  border-block: .26rem solid transparent;
  border-inline-start: .42rem solid currentColor;
}
.watch:hover .play-mark, .watch:focus-visible .play-mark {
  color: var(--black);
  background: var(--ui-ink);
  transform: scale(1.08);
}

.project-notes {
  position: absolute;
  z-index: 3;
  inset: auto 0 clamp(2.7rem, 7svh, 4.75rem);
  width: fit-content;
  margin-inline: auto;
  text-align: center;
}

.project-notes summary {
  list-style: none;
  min-height: 2.75rem;
  color: var(--ui-ink);
  padding: .75rem 0;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: .35em;
}
.project-notes summary::-webkit-details-marker { display: none; }

.notes-sheet {
  position: absolute;
  left: 50%;
  bottom: calc(100% + .35rem);
  transform: translateX(-50%);
  text-align: left;
  width: min(40rem, calc(100vw - 2 * var(--gutter)));
  max-height: min(70svh, calc(100svh - 9rem));
  padding: clamp(1.15rem, 3vw, 2.4rem);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--rule);
  background: #080706;
  box-shadow: 0 0 4rem #000;
  font-size: 1rem;
  line-height: 1.47;
  font-weight: 500;
}

.notes-sheet h2:not(.film-title) {
  font: 500 clamp(2.65rem, 6vw, 4.7rem)/.85 var(--title);
  letter-spacing: -.05em;
}

.notes-sheet h3 {
  margin-top: 1.75rem;
  margin-bottom: .5rem;
  color: var(--accent);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.notes-sheet p + p { margin-top: .85rem; }
.notes-sheet dt { color: var(--dim); }
.notes-sheet dd + dt { margin-top: .65rem; }

.project-index { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.project-index button { pointer-events: auto; color: var(--ui-ink); border: 0; background: transparent; }
.project-choices {
  --tick-size: 1;
  position: absolute;
  top: 50%;
  right: clamp(.1rem, 1.7vw, 1.5rem);
  width: 2.75rem;
  height: min(19rem, 52svh);
  transform: translateY(-50%);
}
.project-choices > * {
  position: absolute;
  top: calc(var(--tick-y, 0) * 100%);
  right: 0;
  transform: translateY(-50%);
}
.project-choices button {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 2.75rem;
  height: 1.4rem;
  padding: 0 .5rem 0 0;
  -webkit-tap-highlight-color: transparent;
}
.project-choices button::before,
.project-choices .focus-tick::before {
  content: '';
  display: block;
  width: calc(var(--tick-width, 10) * var(--tick-size) * 1px);
  height: calc(var(--tick-thickness, 1) * var(--tick-size) * 1px);
  background: currentColor;
  opacity: var(--tick-opacity, .45);
  box-shadow: 0 1px 3px rgb(0 0 0 / 50%);
}
.project-choices button::before { --tick-thickness: 1.5; }
.project-choices .focus-tick {
  right: .5rem;
  color: var(--ui-ink);
  pointer-events: none;
}
.project-choices button[aria-current="true"]::before,
.project-choices button:is(:hover, :focus-visible)::before { opacity: 1; }
.project-choices button:focus-visible { outline-offset: -2px; }

@media (max-width: 740px) {
  .project-choices {
    --tick-size: .5;
    height: min(16rem, 47svh);
  }
}
@media (prefers-reduced-motion: reduce) {
  .project-choices button[aria-current="true"]::before { width: calc(22px * var(--tick-size)); }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.projection {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background-color: transparent;
  color: var(--ui-ink);
}

.projection[open] { display: grid; place-items: center; }
.projection::backdrop { background: transparent; }
.projection[data-state="closing"] .projection-screen,
.projection[data-state="closing"] .projection-status { opacity: 0; transition: opacity .28s var(--ease); }
.projection-screen {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #000;
  opacity: 1;
  transition: opacity .5s var(--ease);
}

.projection[data-state="loading"] .projection-screen { opacity: 0; }

.projection-screen iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.projection-close {
  position: absolute;
  z-index: 2;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
}

.projection-status {
  z-index: 1;
  max-width: 85vw;
  padding: .5rem;
  align-self: end;
  margin-bottom: 5rem;
  background: var(--black);
  font-size: 1rem;
}
.projection-status:empty { display: none; }

/* The reel shares controls and type for navigation. Each film has its own title art direction. */
.slide[data-project="bedroom-sessions"] {
  --paper: color-mix(in srgb, var(--accent) 27%, white);
  --accent: var(--live-type-color);
  --dim: color-mix(in srgb, var(--accent) 52%, white);
  --wash: rgb(77 28 32 / 23%);
  --focus: 52% 47%;
  --exposure: .97;
  --display: 'Bedroom Sessions', Oswald, sans-serif;
  --display-tracking: 0;
  --display-leading: .79;
  --live-type-size: min(calc(27 * var(--title-width-unit)), calc(24 * var(--title-height-unit)), 13.25rem);
  --notes-type-size: min(25cqi, 6rem);
  --live-type-color: #f7941d;
  color: var(--paper);
}

.bedroom-titleblock { position: relative; }
.bedroom-title-main { text-align: right; }
.bedroom-title-main span { display: block; }
.bedroom-title-main span:last-child { font-feature-settings: 'ss01' 1; }
.bedroom-title-credit {
  position: absolute;
  inset-block-start: calc(var(--live-type-size) * .015);
  inset-inline-start: 0;
  color: var(--live-type-color);
  font: 400 calc(var(--live-type-size) * .365)/.8 var(--display);
  text-align: left;
  text-transform: uppercase;
  text-shadow: none;
  white-space: nowrap;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: clamp(.7px, .085vw, 1.35px) currentColor;
}
.bedroom-title-credit span {
  display: block;
  width: max-content;
  transform-origin: left center;
}
.bedroom-credit-intro {
  margin-bottom: .17em;
  font-size: .36em;
  line-height: .95;
  letter-spacing: .04em;
  -webkit-text-stroke-width: clamp(.62px, .057vw, .9px);
}
/* Match the ink widths of the two names inside the space left by BEDROOM. */
.bedroom-credit-first { transform: scaleX(1.1); }
.bedroom-credit-last { transform: scaleX(1.46); }

.slide[data-project="alta-murgia-national-park"] {
  --paper: color-mix(in srgb, var(--accent) 27%, white);
  --accent: var(--live-type-color);
  --dim: color-mix(in srgb, var(--accent) 52%, white);
  --wash: rgb(70 78 24 / 23%);
  --focus: center 43%;
  --display: Sultan, 'Bodoni Moda', Georgia, serif;
  --display-tracking: 0;
  --display-leading: .93;
  --live-type-size: min(calc(17 * var(--title-width-unit)), calc(20 * var(--title-height-unit)), 10rem);
  --notes-type-size: min(19cqi, 5rem);
  --live-type-color: #dce799;
  color: var(--paper);
}

.murgeopark-mark {
  display: block;
  width: clamp(4.6rem, 9vw, 9.2rem);
  height: auto;
  margin: 0 auto clamp(1rem, 3.8svh, 2.3rem);
}

.slide[data-project="de-anima"] {
  --paper: color-mix(in srgb, var(--accent) 27%, white);
  --accent: #ff8277;
  --dim: color-mix(in srgb, var(--accent) 52%, white);
  --wash: rgb(76 19 43 / 25%);
  --focus: center 54%;
  --exposure: 1.02;
  --display: Avaleigh, Georgia, serif;
  --display-tracking: 0;
  --display-leading: .89;
  --live-type-size: min(calc(24 * var(--title-width-unit)), calc(28 * var(--title-height-unit)), 13.9rem);
  --notes-type-size: min(25cqi, 6.25rem);
  --live-type-color: #efdcc8;
  color: var(--paper);
}

.slide[data-project="remains-of-love"] {
  --paper: color-mix(in srgb, var(--accent) 27%, white);
  --dim: color-mix(in srgb, var(--accent) 52%, white);
  --accent: var(--live-type-color);
  --wash: rgb(94 28 23 / 28%);
  --focus: 43% 42%;
  --display: 'Future History', Newsreader, Georgia, serif;
  --display-leading: .85;
  --display-tracking: .005em;
  --live-type-size: min(calc(13.5 * var(--title-width-unit)), calc(20 * var(--title-height-unit)), 6.85rem);
  --notes-type-size: min(16cqi, 4.2rem);
  --live-type-color: #f0a6b1;
  color: var(--paper);
}

.slide[data-project="remains-of-love"] .film-title {
  display: grid;
  justify-items: center;
  text-transform: lowercase;
}

/* Align the visible edges of Future History's outlines, including sidebearings. */
.slide[data-project="remains-of-love"] .film-title > span:first-child {
  transform: translateX(.025em);
}

.slide[data-project="remains-of-love"] .film-title > small {
  font-size: .59em;
  line-height: 1;
  margin-block: .05em;
  transform: translateX(-.016em);
}

.slide[data-project="softmachines"] {
  --paper: color-mix(in srgb, var(--accent) 27%, white);
  --dim: color-mix(in srgb, var(--accent) 52%, white);
  --accent: #b9d7e7;
  --wash: rgb(27 54 75 / 25%);
  --focus: 59% 54%;
  --display: Acumin, sans-serif;
  --display-weight: 900;
  --display-width: calc(8.8 * var(--title-width-unit));
  --display-height: calc(13 * var(--title-height-unit));
  --display-leading: .82;
  --display-tracking: -.07em;
  --display-mobile: calc(10 * var(--title-width-unit));
  color: var(--paper);
}

.slide[data-project="softmachines"] .film-title { text-transform: uppercase; }
.slide[data-project="softmachines"] .film-title em { font-style: normal; }

.slide[data-project="temenos"] {
  --paper: color-mix(in srgb, var(--accent) 27%, white);
  --dim: color-mix(in srgb, var(--accent) 52%, white);
  --accent: #bdb5c9;
  --wash: rgb(54 46 63 / 20%);
  --focus: 53% 56%;
  --display-width: calc(15 * var(--title-width-unit));
  --display-height: calc(21 * var(--title-height-unit));
  --display-tracking: -.08em;
  --display-mobile: calc(17 * var(--title-width-unit));
  color: var(--paper);
}

.slide[data-project="temenos"] .film-title {
  color: var(--accent);
  font-style: italic;
}

.slide[data-project="formosus"] {
  --paper: color-mix(in srgb, var(--accent) 27%, white);
  --dim: color-mix(in srgb, var(--accent) 52%, white);
  --wash: rgb(77 39 22 / 19%);
  --accent: #d4aa5e;
  --display: Monarch, Georgia, serif;
  --display-tracking: .012em;
  --display-leading: .94;
  --live-type-size: min(calc(12 * var(--title-width-unit)), calc(23 * var(--title-height-unit)), 8.4rem);
  --notes-type-size: min(14.7cqi, 4.8rem);
  --live-type-color: var(--accent);
  color: var(--paper);
}

.slide[data-project="contorni"] {
  --paper: #f3d5b6;
  --dim: #e3cbad;
  --accent: #edab79;
  --wash: rgb(99 41 11 / 25%);
  --focus: 36% center;
  --display: 'Contorni Display', 'Bodoni Moda', Georgia, serif;
  --display-tracking: 0;
  --display-leading: .93;
  --live-type-size: min(calc(13.45 * var(--title-width-unit)), calc(20 * var(--title-height-unit)), 7.7rem);
  --notes-type-size: min(15cqi, 4.8rem);
  --live-type-color: #eff2f7;
  color: var(--paper);
}

.slide[data-project="where-are-you"] {
  --paper: #ecedf0;
  --dim: #d2d6df;
  --accent: #c3cde3;
  --wash: rgb(27 38 77 / 25%);
  --focus: center 48%;
  --saturation: .19;
  --display: 'Vox Populi', Cormorant, Georgia, serif;
  --display-leading: .63;
  --display-tracking: 0;
  --live-type-size: min(calc(28 * var(--title-width-unit)), calc(24 * var(--title-height-unit)), 12.5rem);
  --notes-type-size: min(27cqi, 6rem);
  --live-type-color: #e9dece;
  color: var(--paper);
}

.slide[data-project="where-are-you"] .film-title span { display: block; }
.slide[data-project="where-are-you"] .film-title span + span { padding-inline-start: .93em; }
.slide[data-project="where-are-you"] .poster-copy .film-title {
  transform: translateX(-.16em) scaleX(1.24);
}
.dove-sei-titleblock { position: relative; }
.dove-sei-laurel {
  position: absolute;
  inset-block-start: calc(var(--live-type-size) * .68);
  inset-inline-start: calc(var(--live-type-size) * -.08);
  width: calc(var(--live-type-size) * .77);
}
.dove-sei-laurel img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 740px) {
  .poster-copy { width: calc(100% - 2 * max(2rem, var(--gutter))); }
  .poster-copy .film-title:not(.poster-live-type) {
    font-size: min(var(--display-mobile), var(--display-height), 6.5rem);
  }
  .slide[data-project="where-are-you"] {
    --live-type-size: min(calc(23 * var(--title-width-unit)), calc(24 * var(--title-height-unit)), 12.5rem);
    --notes-type-size: min(23cqi, 6rem);
  }
  .dove-sei-laurel {
    inset-block-start: calc(var(--live-type-size) * .7);
    width: calc(var(--live-type-size) * .72);
  }
}

@media (max-height: 680px) {
  .slide {
    --notes-trigger-bottom: clamp(.55rem, 2.9svh, 1.3rem);
    --poster-gap: clamp(.36rem, 1.25svh, .85rem);
    --title-height-unit: .82svh;
    padding-block: clamp(3.65rem, 10.5svh, 4.5rem) calc(var(--notes-trigger-bottom) + 3.35rem);
  }
  .topline, .menu-head { min-height: clamp(3rem, 10svh, 4rem); }
  .signature img { width: clamp(6.25rem, 10vw, 8rem); }
  .titleblock > :is(.festival-line, .poster-producer-logo, .film-laurel, .formosus-prime, .murgeopark-mark) {
    margin-bottom: clamp(.35rem, 1.7svh, .9rem);
  }
  .formosus-tagline { font-size: clamp(.8rem, 3svh, 1.15rem); }
}

@media (min-width: 440px) and (max-height: 560px) and (orientation: landscape) {
  .slide {
    --title-width-unit: .55vw;
    --title-height-unit: .76svh;
    padding-block: 3.25rem calc(var(--notes-trigger-bottom) + 3.35rem);
  }
  .poster-copy {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    column-gap: clamp(1rem, 3.8vw, 4rem);
  }
  .poster-copy > .titleblock {
    grid-row: 1 / span 4;
    align-self: center;
  }
  .poster-copy > :not(.titleblock) { grid-column: 2; }
  .film-label { margin-top: 0; }
  .billing { gap: .15rem .65rem; }
  .poster-copy .synopsis { font-size: clamp(1rem, 2.9svh, 1.2rem); }
  .poster-copy .watch { margin-top: 0; }
  .poster-copy .poster-producer-logo,
  .poster-copy .formosus-prime { width: clamp(4.25rem, 17svh, 6rem); }
  .poster-copy .murgeopark-mark { width: clamp(3rem, 13svh, 5rem); }
}

@media (min-width: 440px) and (max-width: 740px) and (max-height: 350px) and (orientation: landscape) {
  .slide {
    --title-width-unit: .45vw;
    --poster-gap: .28rem;
  }
  .slide[data-project="remains-of-love"] { --title-width-unit: .39vw; }
  .poster-copy {
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    column-gap: .8rem;
  }
  .poster-copy > .titleblock {
    grid-row: 1 / span 2;
    align-self: end;
  }
  .poster-copy > .watch {
    grid-area: 3 / 1;
    align-self: start;
  }
  .poster-copy :is(.billing, .synopsis) {
    font-size: .92rem;
    line-height: 1.15;
    text-wrap: wrap;
  }
  .poster-copy .festival-line {
    font-size: .73rem;
    letter-spacing: .065em;
  }
  .slide[data-project="remains-of-love"] .titleblock { width: 100%; }
  .slide[data-project="remains-of-love"] .poster-copy .synopsis {
    line-height: 1.06;
  }
  .poster-copy .film-label {
    font-size: .77rem;
    letter-spacing: .075em;
  }
  .poster-copy .watch {
    gap: .35rem;
    padding-inline: .2rem;
    font-size: .8rem;
    letter-spacing: .075em;
  }
  .poster-copy .play-mark { width: 1.5rem; }
}

@media (max-width: 439px) and (max-height: 520px) {
  .slide {
    --poster-gap: .32rem;
    --title-width-unit: .82vw;
    padding-block: 3.25rem calc(var(--notes-trigger-bottom) + 3.35rem);
  }
  .poster-copy .billing { line-height: 1.12; }
  .poster-copy .synopsis { font-size: 1.02rem; }
}

.poster-copy .poster-live-type {
  color: var(--live-type-color, var(--paper));
  font-size: var(--live-type-size);
  font-weight: 400;
  white-space: nowrap;
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }
}
