@font-face {
  font-family: 'Manrope';
  src: url('/assets/manrope-light.ttf') format('truetype');
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/ibm-plex-mono.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  background: #000;
  color: #ece9e2;
  font-family: 'Manrope', sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --blackout: 1;
  --director: 0;
  --starring: 0;
  --title-lift: 0px;
  --contact: 0;
}
* { box-sizing: border-box; }
html { scrollbar-width: none; overscroll-behavior-y: none; }
html::-webkit-scrollbar { display: none; }
body { margin: 0; overflow-x: clip; }
body:not([data-scroll-ready="true"]) { overflow-y: hidden; }
[hidden] { display: none !important; }
.wordmark {
  position: fixed;
  z-index: 8;
  top: calc(16px + env(safe-area-inset-top));
  left: 50%;
  margin: 0;
  width: clamp(148px, 18vw, 220px);
  aspect-ratio: 7 / 3;
  transform: translateX(-50%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.wordmark img, .logo-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: blur(.2px); }
.logo-video { opacity: 0; }
.wordmark[data-animated='true'] img { visibility: hidden; }
.wordmark[data-animated='true'] .logo-video { opacity: 1; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
a:focus-visible, button:focus-visible { outline: 1px solid #cfc8b6; outline-offset: 8px; }
.cinema, .announcement, .contact {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
}
.cinema { overflow: hidden; background: #000; }
.clip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  opacity: 0;
  z-index: 0;
  transition: opacity 180ms linear;
}
.clip.is-previous { opacity: 1; z-index: 1; }
.clip.is-current { opacity: 1; z-index: 2; }
.shade, .curtain {
  position: absolute;
  inset: 0;
  background: #000;
  pointer-events: none;
}
.shade { z-index: 3; opacity: 0; transition: opacity 2s ease; }
body[data-announced='true'] .shade { opacity: .24; }
body[data-scene='outro'] .shade { opacity: 0; transition-duration: 180ms; }
.curtain { z-index: 4; opacity: var(--blackout); }
.announcement {
  z-index: 5;
  display: grid;
  place-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transition: opacity 2s ease;
}
body[data-announced='true'] .announcement { opacity: 1; }
body[data-scene='outro'] .announcement { opacity: 0; transition-duration: 180ms; }
h1 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.3;
  font-weight: 300;
  letter-spacing: -.025em;
  transform: translateY(var(--title-lift));
}
.director, .starring {
  position: absolute;
  top: calc(50% + 27px);
  left: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: .04em;
  opacity: var(--director);
  transform: translateY(calc((1 - var(--director)) * 12px));
}
.director span:first-child, .starring span:first-child { color: #c4c0b7; font-size: 9px; letter-spacing: .22em; }
.starring { opacity: var(--starring); transform: translateY(calc((1 - var(--starring)) * 12px)); }
.scroll-cue {
  position: fixed;
  z-index: 6;
  bottom: max(36px, env(safe-area-inset-bottom));
  left: 50%;
  width: 52px;
  height: 58px;
  padding: 14px;
  border: 0;
  background: transparent;
  color: #e8e1cd;
  cursor: pointer;
  opacity: .8;
  transform: translateX(-50%);
  pointer-events: auto;
}
.scroll-cue svg { width: 100%; height: 100%; overflow: visible; animation: beckon 3.4s ease-in-out infinite; filter: drop-shadow(0 0 6px #f2dfacbb) drop-shadow(0 0 18px #f2dfac77); }
.scroll-cue path { stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
@keyframes beckon { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }
.contact {
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  font-family: 'IBM Plex Mono', monospace;
  text-align: center;
  opacity: var(--contact);
  pointer-events: none;
  transform: translateY(calc((1 - var(--contact)) * 14px));
}
body[data-contact='true'] .contact { pointer-events: auto; }
.contact .back-to-top { position: absolute; bottom: max(36px, env(safe-area-inset-bottom)); }
.email { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; line-height: 1.5; letter-spacing: .025em; overflow-wrap: anywhere; }
.music-credit { margin-top: 56px; color: #a6a39c; font-size: 10px; line-height: 1.8; letter-spacing: .025em; }
.music-credit p { margin: 3px 0; }
.music-credit .credit-label { margin-bottom: 14px; color: #bdb8ac; font-size: 9px; letter-spacing: .2em; }
.music-credit .credit-source { margin-top: 12px; font-size: 9px; color: #817f79; }
.music-credit a { text-decoration: underline; text-decoration-color: #ffffff30; text-underline-offset: 3px; }
.scroll-track { height: 100vh; }
body[data-scroll-ready="true"] .scroll-track { height: 320vh; }
@media (pointer: coarse) {
  body[data-scroll-ready="true"] .scroll-track { height: 480svh; }
}
.teasers-panel {
  border: 1px solid #ffffff38;
  background: linear-gradient(145deg, #ffffff20, #ffffff05 48%, #ffffff0c), #18202a38;
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 #ffffff55, inset 0 -1px 0 #ffffff0a, inset 1px 0 0 #ffffff12, 0 10px 35px #0004;
  color: #f6f5f1;
}
.glass-control, .glass-icon {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #ffffff24;
  background: #11182038;
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
  box-shadow: inset 0 1px 0 #ffffff12, 0 4px 16px #0002;
  color: #f0f0ec;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 9999px;
  font: 10px 'IBM Plex Mono', monospace;
  letter-spacing: .015em;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color .25s ease, box-shadow .25s ease, opacity .2s ease, transform .25s ease;
}
.teasers-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(100px circle at var(--shine-x, 28%) var(--shine-y, 0%), #ffffff2b, transparent 80%);
}
.glass-control:hover, .glass-icon:hover { background-color: #ffffff14; border-color: #ffffff3b; }
.glass-control:active, .glass-icon:active { transform: scale(.98); }
.glass-control svg, .glass-icon svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.glass-icon { width: 44px; min-height: 44px; padding: 0; }
.glass-icon svg { width: 20px; height: 20px; }
.sound-toggle, .teasers-toggle { position: fixed; z-index: 9; bottom: calc(16px + env(safe-area-inset-bottom)); }
.sound-toggle { right: calc(20px + env(safe-area-inset-right)); min-width: 108px; }
.teasers-toggle { left: calc(20px + env(safe-area-inset-left)); min-width: 148px; }
.teasers-toggle svg { fill: currentColor; stroke: none; width: 14px; }
.teasers-toggle { transition-duration: .2s, .2s, .1s, .2s; }
.teasers-toggle[aria-expanded='true'] { opacity: 0; pointer-events: none; }
.sound-waves, .sound-slash { transition: opacity .2s ease; }
.sound-toggle[data-playing='true'] .sound-slash, .sound-toggle[data-playing='false'] .sound-waves { opacity: 0; }
html:has(.teasers[open]) { overflow: hidden; }
.teasers {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ece9e2;
  overflow: hidden;
  overscroll-behavior: contain;
}
.teasers::backdrop {
  background: #07101900;
  -webkit-backdrop-filter: blur(0) saturate(100%);
  backdrop-filter: blur(0) saturate(100%);
  transition: background .3s ease, backdrop-filter .35s ease;
}
.teasers[data-view='menu']::backdrop { background: #07101924; -webkit-backdrop-filter: blur(5px) saturate(120%); backdrop-filter: blur(5px) saturate(120%); }
.teasers[data-view='player']::backdrop { background: #07101970; -webkit-backdrop-filter: blur(22px) saturate(120%); backdrop-filter: blur(22px) saturate(120%); }
.teasers[data-view='closing']::backdrop { transition-duration: .18s; }
@starting-style {
  .teasers[open]::backdrop { background: #07101900; -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); }
}
.teasers-panel { position: absolute; top: 0; left: 0; overflow: clip; isolation: isolate; border-radius: 32px; will-change: transform, width, height; }
.teasers-menu, .teaser-experience { position: absolute; top: 0; left: 0; opacity: 0; visibility: hidden; }
.teasers-menu { padding: 18px; }
.teasers-menu-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.teasers h2 { margin: 0; font-size: 19px; font-weight: 300; letter-spacing: -.03em; }
.teasers-menu-close { width: 34px; min-height: 34px; background: #ffffff08; box-shadow: inset 0 1px 0 #ffffff26; }
.teasers-menu-close svg { width: 16px; height: 16px; }
.teasers-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.teaser-card { display: block; min-width: 0; border-radius: 20px; }
.teaser-thumbnail { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid #ffffff26; border-radius: 20px; background: #0004; }
.teaser-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s ease; opacity: .88; }
.teaser-card:hover img { transform: scale(1.045); opacity: 1; }
.teaser-play { position: absolute; inset: 0; display: grid; place-content: center; font-size: 15px; text-shadow: 0 2px 12px #000; }
.teaser-card-caption { display: flex; justify-content: space-between; gap: 10px; padding: 12px 3px 0; font: 10px 'IBM Plex Mono', monospace; letter-spacing: .03em; }
.teaser-card-caption > span:last-child { color: #ffffff8a; }
.teaser-experience {
  --player-top: 88px;
  --player-bottom: 32px;
  --teaser-ratio: 1.3333333333;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--player-top) + env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) calc(var(--player-bottom) + env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  pointer-events: none;
}
.teasers-header { position: absolute; top: max(20px, env(safe-area-inset-top)); left: max(24px, env(safe-area-inset-left)); right: max(24px, env(safe-area-inset-right)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.teasers-header button { pointer-events: auto; }
.teasers-back { justify-self: start; min-height: 44px; padding: 10px 16px; font-size: 10px; }
.teasers-close { justify-self: end; }
.teaser-current { margin: 0; font: 10px 'IBM Plex Mono', monospace; letter-spacing: .12em; text-transform: uppercase; }
.teaser-stage { position: relative; width: min(100%, calc((100dvh - var(--player-top) - var(--player-bottom) - env(safe-area-inset-top) - env(safe-area-inset-bottom)) * var(--teaser-ratio))); aspect-ratio: var(--teaser-ratio); max-height: 100%; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 18px 64px #0005; pointer-events: auto; }
.teaser-player { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: inherit; background: transparent; }
.teaser-loading, .teaser-error { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(80%, 400px); margin: 0; padding: 16px; border-radius: 16px; background: #091019b3; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); text-align: center; font: 11px/1.8 'IBM Plex Mono', monospace; }
.teaser-error a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 600px) {
  .wordmark { top: calc(12px + env(safe-area-inset-top)); width: 164px; }
  .clip { object-fit: cover; }
  .announcement { padding: 24px max(20px, env(safe-area-inset-right)) 24px max(20px, env(safe-area-inset-left)); }
  h1 { font-size: clamp(28px, 8vw, 34px); }
  .director, .starring { top: calc(50% + 26px); font-size: 11px; }
  .director span:first-child, .starring span:first-child { font-size: 10px; }
  .email { font-size: 13px; }
  .contact { padding: 100px 24px; }
  .music-credit { max-width: 290px; margin-top: 28px; font-size: 12px; line-height: 2; }
  .music-credit .credit-source { font-size: 11px; }
  .music-credit a { display: inline-block; padding-block: 6px; }
  .scroll-cue, .contact .back-to-top { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .sound-toggle { right: calc(12px + env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom)); }
  .sound-toggle { min-width: 108px; padding-inline: 14px; }
  .teasers-toggle { left: calc(12px + env(safe-area-inset-left)); bottom: calc(12px + env(safe-area-inset-bottom)); min-width: 146px; padding-inline: 14px; }
  .teaser-experience { --player-top: 76px; --player-bottom: 24px; padding-inline: max(14px, env(safe-area-inset-left)) max(14px, env(safe-area-inset-right)); }
  .teasers-header { top: max(14px, env(safe-area-inset-top)); left: max(14px, env(safe-area-inset-left)); right: max(14px, env(safe-area-inset-right)); }
  .teasers-back { gap: 4px; padding-inline: 12px; }
  .teaser-stage { border-radius: 16px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .wordmark { top: calc(4px + env(safe-area-inset-top)); width: 120px; }
  .contact { padding: 72px 24px; }
  .music-credit { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .clip, .shade, .announcement, .scroll-cue { transition: none; }
  .scroll-cue svg { animation: none; }
  .glass-control, .glass-icon, .sound-waves, .sound-slash, .teaser-thumbnail img, .teasers::backdrop { transition: none; }
}
