@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root { color-scheme: dark; font-family: "Manrope", sans-serif; background: #000; color: #f2f0ed; font-synthesis: none; --card-width: clamp(280px, 30vw, 440px); --gap: 24px; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #000; }
body { min-height: 100svh; overflow-x: clip; -webkit-font-smoothing: antialiased; }
body.player-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; border: 0; }
button:focus-visible, a:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
.intro { text-align: center; padding: clamp(52px, 7vh, 84px) 24px 0; }
h1 { margin: 0; font-size: clamp(36px, 4.5vw, 68px); font-weight: 400; letter-spacing: -.055em; line-height: 1.12; }
.profession { margin-top: 12px; font-size: 20px; color: #c4c4c4; letter-spacing: -.02em; }
.intro p { margin: 22px auto 0; max-width: 560px; color: #8c8c8c; font-size: 16px; font-weight: 400; letter-spacing: -.015em; line-height: 1.65; text-wrap: balance; }
.contact-link { display: inline-block; margin-top: 20px; color: #d0cecb; font-size: 14px; line-height: 1.5; text-decoration: underline; text-decoration-color: #666; text-underline-offset: 5px; transition: color 150ms ease-out, text-decoration-color 150ms ease-out; }
.contact-link:hover { color: #fff; text-decoration-color: #fff; }
.collection { display: grid; gap: 28px; margin-top: 52px; padding-bottom: 44px; }
.carousel { width: 100%; overflow: hidden; padding: 8px 0; touch-action: pan-y; cursor: grab; user-select: none; }
.carousel.is-dragging { cursor: grabbing; }
.film-track { display: flex; width: max-content; }
.film-group { display: flex; gap: var(--gap); padding-right: var(--gap); }
.film-card { position: relative; display: block; width: var(--card-width); flex: 0 0 var(--card-width); padding: 0; background: transparent; text-align: left; cursor: inherit; }
.film-card:focus-visible { outline-offset: -2px; }
.film-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #111; border-radius: 3px; }
.film-preview { width: 100%; height: 100%; display: block; object-fit: cover; pointer-events: none; }
.watch-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: #0002; opacity: 0; transition: opacity 180ms ease-out; pointer-events: none; }
.watch-icon { display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid #ffffff80; border-radius: 50%; background: #0004; transform: scale(.94); transition: transform 180ms ease-out; }
.watch-icon svg { width: 20px; height: 20px; margin-left: 3px; }
.film-caption { display: flex; align-items: baseline; justify-content: flex-start; gap: 12px; padding: 13px 1px 4px; font-size: 14px; line-height: 1.4; }
.film-title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #e0dedb; }
.film-category { color: #888; flex-shrink: 0; font-size: 12px; }
.film-card:focus-visible .watch-overlay { opacity: 1; }
.film-card:focus-visible .watch-icon { transform: scale(1); }
@media (hover: hover) and (pointer: fine) {
  .film-card:hover .watch-overlay { opacity: 1; }
  .film-card:hover .watch-icon { transform: scale(1); }
  .film-card:hover .film-title { color: #f2f0ed; }
  .close-player:hover { background: #202020; }
}
.no-script { color: #888; text-align: center; }
.film-dialog { max-width: none; max-height: none; width: min(1100px, calc(100vw - 64px)); padding: 0; border: 0; overflow: visible; background: transparent; color: #f2f0ed; }
.film-dialog::backdrop { background: #000e; backdrop-filter: blur(8px); }
.film-dialog[open] .player-shell { animation: player-in 200ms ease-out; }
.player-shell { position: relative; }
.close-player { position: absolute; right: 0; top: -56px; width: 44px; height: 44px; display: grid; place-items: center; background: #141414; border-radius: 50%; cursor: pointer; transition: background-color 150ms ease-out; }
.close-player svg { width: 20px; height: 20px; }
.full-film { display: block; width: 100%; max-height: calc(100dvh - 160px); aspect-ratio: 16 / 9; background: #080808; border-radius: 3px; object-fit: contain; }
.player-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-top: 20px; }
.player-caption h2 { margin: 0; font-size: 17px; font-weight: 400; letter-spacing: -.02em; }
.player-duration { font-size: 13px; color: #777; font-variant-numeric: tabular-nums; }
.player-error { font-size: 14px; color: #aaa; }
.download-film { color: #fff; }
@keyframes player-in { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 640px) {
  :root { --card-width: 82vw; --gap: 16px; }
  .intro { padding-top: 52px; }
  h1 { max-width: 340px; margin-inline: auto; font-size: 40px; line-height: 1.14; }
  .profession { margin-top: 10px; font-size: 17px; }
  .intro p { max-width: 310px; margin-top: 20px; font-size: 15px; }
  .desktop-break { display: none; }
  .collection { margin-top: 40px; gap: 22px; padding-bottom: 32px; }
  .film-caption { padding-top: 12px; font-size: 13px; gap: 10px; }
  .film-category { font-size: 11px; }
  .film-dialog { width: calc(100vw - 28px); }
  .player-caption h2 { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
