@font-face {
  font-family: Cormorant;
  src: url('./fonts/cormorant-roman.woff2?v=2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
}

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

@font-face {
  font-family: Plex Mono;
  src: url('./fonts/plex-mono.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

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

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

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

@font-face {
  font-family: Oswald;
  src: url('/motion/assets/TK3_WkUHHAIjg75cFRf3bXL8LICs1xZosUZiYA.ttf') format('truetype');
  font-weight: 700;
  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;
  --billing: 'Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.23,.68,.28,1);
  --hover-defocus: blur(clamp(1.75px, .046em, 5.5px));
}

* { 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: 3.75rem;
  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[data-menu-open] :is(.menu-word-shape, .menu-word-soft) {
  transition: opacity .24s var(--ease);
}
.menu-control:is(:active, :focus-visible) { --menu-word-focus: 1; }
.menu-word-contours { visibility: hidden; }
.menu-trace {
  --menu-word-opacity: clamp(0, calc(1 - var(--menu-progress, 0) * 2.35), 1);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.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-trace {
  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:hover { --menu-word-focus: 1; }
  .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('./signature-soft.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; }
  .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 {
  position: relative;
  isolation: isolate;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding-block: clamp(5rem, 12svh, 7.5rem) clamp(5.5rem, 13svh, 8rem);
  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: #e3efea;
  --dim: #c6d4cd;
  --accent: #c0dacb;
  --wash: rgb(8 44 37 / 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, 100% - 2 * var(--gutter));
  margin-inline: auto;
  text-align: center;
  font-family: var(--billing);
  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; }

  @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(1.15rem, 4svh, 2.9rem);
  color: var(--accent);
  font-size: clamp(.68rem, .85vw, .82rem);
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.festival-line span { opacity: .83; font-size: .87em; }

.film-title {
  max-width: 100%;
  font-family: var(--display, var(--title));
  font-size: clamp(4rem, min(15vw, 24svh), 14rem);
  line-height: .78;
  font-weight: var(--display-weight, 500);
  letter-spacing: -.065em;
  text-shadow: 0 .2rem 2.8rem rgb(0 0 0 / 30%);
}
.film-title {
  letter-spacing: var(--display-tracking, .058em);
  font-size: clamp(var(--display-min, 3.4rem), min(var(--display-width, 12vw), var(--display-height, 22svh)), var(--display-max, 12rem));
  line-height: var(--display-leading, .78);
}
.subtitle {
  margin-top: .44em;
  font: italic 500 clamp(1.25rem, 3.1vw, 3rem)/1 var(--title);
}
.film-label {
  margin-top: clamp(1rem, 2.8svh, 2rem);
  color: var(--dim);
  font-size: clamp(.65rem, .82vw, .78rem);
  text-transform: uppercase;
  letter-spacing: .13em;
}
.film-label span { margin-inline: .45em; }

.billing {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem 1.35rem;
  margin-top: clamp(.8rem, 2svh, 1.5rem);
  font-size: clamp(.66rem, .95vw, .87rem);
  line-height: 1.35;
}
.billing strong { color: var(--accent); font-weight: 400; }
.synopsis {
  max-width: 35rem;
  margin-top: clamp(.8rem, 2svh, 1.25rem);
  color: var(--dim);
  font-size: clamp(.72rem, .99vw, .88rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.watch {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 2.75rem;
  margin-top: clamp(.6rem, 2.5svh, 1.8rem);
  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: #f4e3d4;
  --accent: #edb29e;
  --dim: #dbc9c1;
  --wash: rgb(77 28 32 / 23%);
  --focus: 52% 47%;
  --exposure: .97;
  --display-tracking: -.067em;
  --display-width: 10vw;
  --display-height: 19svh;
  --display-max: 12.5rem;
  --display-mobile: 16vw;
  color: var(--paper);
}

.bedroom-title-main { display: block; }
.bedroom-title-main em { font-weight: 500; }
.bedroom-title-credit {
  margin-top: .7em;
  color: var(--accent);
  font-size: clamp(1.3rem, 2.6vw, 2.55rem);
}

.slide[data-project="alta-murgia-national-park"] {
  --paper: #f3e5c3;
  --accent: #dfc397;
  --dim: #d9d7c1;
  --wash: rgb(77 58 21 / 24%);
  --focus: center 43%;
  --display: 'Bodoni Moda', Georgia, serif;
  --display-tracking: .075em;
  --display-width: 10vw;
  --display-height: 17svh;
  --display-mobile: 10vw;
  --display-mobile-min: 2.32rem;
  color: var(--paper);
}

.slide[data-project="alta-murgia-national-park"] .film-title {
  text-transform: uppercase;
  white-space: nowrap;
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 52;
}

.slide[data-project="alta-murgia-national-park"] .film-title em {
  display: inline-block;
  margin-top: .23em;
  font-size: .46em;
  font-style: normal;
  letter-spacing: .24em;
}

.slide[data-project="de-anima"] {
  --paper: #f3e5ed;
  --accent: #e6bdd8;
  --dim: #e2cedc;
  --wash: rgb(61 29 64 / 28%);
  --focus: center 54%;
  --exposure: 1.02;
  --display-width: 15vw;
  --display-tracking: -.05em;
  --display-mobile: 15.5vw;
  color: var(--paper);
}

.slide[data-project="remains-of-love"] {
  --paper: #f4d7ce;
  --dim: #e2c3ba;
  --accent: #f0aa91;
  --wash: rgb(94 28 23 / 28%);
  --focus: 43% 42%;
  --display: Newsreader, Georgia, serif;
  --display-width: 11vw;
  --display-height: 15svh;
  --display-leading: .77;
  --display-tracking: -.067em;
  --display-mobile: 14vw;
  color: var(--paper);
}

.slide[data-project="remains-of-love"] .film-title em {
  font-family: var(--title);
  font-size: .79em;
}

.slide[data-project="softmachines"] {
  --paper: #e5f2e9;
  --dim: #cadecf;
  --accent: #9bd8b9;
  --wash: rgb(12 79 69 / 25%);
  --focus: 59% 54%;
  --display: Acumin, sans-serif;
  --display-weight: 900;
  --display-width: 8.8vw;
  --display-height: 13svh;
  --display-leading: .82;
  --display-tracking: -.07em;
  --display-mobile: 10vw;
  --display-mobile-min: 2.5rem;
  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: #f3e7c7;
  --dim: #d9d1b2;
  --accent: #ded095;
  --wash: rgb(71 69 14 / 24%);
  --focus: 53% 56%;
  --display-width: 15vw;
  --display-tracking: -.08em;
  --display-mobile: 17vw;
  color: var(--paper);
}

.slide[data-project="temenos"] .film-title { font-style: italic; }

.slide[data-project="formosus"] {
  --display-tracking: -.065em;
  --display-width: 15vw;
  --display-height: 24svh;
  --display-max: 14rem;
  --display-mobile: 17vw;
}

.slide[data-project="contorni"] {
  --paper: #f3d5b6;
  --dim: #e3cbad;
  --accent: #edab79;
  --wash: rgb(99 41 11 / 25%);
  --focus: 36% center;
  --display: Oswald, sans-serif;
  --display-weight: 700;
  --display-width: 9.8vw;
  --display-tracking: .035em;
  --display-mobile: 11vw;
  color: var(--paper);
}

.slide[data-project="contorni"] .film-title { text-transform: uppercase; }

.slide[data-project="where-are-you"] {
  --paper: #ecedf0;
  --dim: #d2d6df;
  --accent: #c3cde3;
  --wash: rgb(27 38 77 / 25%);
  --focus: center 48%;
  --saturation: .19;
  --display: Newsreader, Georgia, serif;
  --display-width: 12vw;
  --display-height: 16svh;
  --display-leading: .76;
  --display-tracking: -.05em;
  --display-mobile: 16vw;
  color: var(--paper);
}

.slide[data-project="where-are-you"] .film-title em { font-family: var(--title); }

@media (max-width: 740px) {
  .poster-copy { width: calc(100% - max(4.5rem, 2 * var(--gutter))); }
  .film-title { font-size: clamp(var(--display-mobile-min, 2.8rem), var(--display-mobile, 14vw), 6.5rem); }
  .notes-sheet { max-height: min(70svh, calc(100svh - 7.5rem)); }
}

@media (max-width: 560px) {
  .bedroom-title-main em { display: block; }
}

@media (max-height: 520px) {
  .slide { padding-block: 3.3rem 4.85rem; }
  .topline, .menu-head { min-height: 3rem; }
  .signature img { width: 6.25rem; }
  .film-title { font-size: clamp(2.3rem, min(12vw, 17svh), 5.2rem); }
  .subtitle { font-size: 1.1rem; }
  .festival-line { margin-bottom: .65rem; }
  .film-label, .billing, .synopsis { margin-top: .45rem; }
  .watch { margin-top: .2rem; }
  .project-notes { bottom: 2.35rem; }
}

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