:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #101114;
  color: #f2f1ee;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: radial-gradient(ellipse at 50% 42%, #1c1e23 0, #101114 68%);
}

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 32px 24px 22px;
}

.introduction { text-align: center; }

.eyebrow {
  margin: 0 0 10px;
  color: #a9abb2;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.625rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.1;
}

.film {
  width: min(100%, 510px, max(300px, calc((100svh - 235px) * .75)));
}

.video-frame {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid #303238;
  border-radius: 12px;
  background: #08090b;
  box-shadow: 0 20px 65px #0005;
}

video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #08090b;
}

.playback-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  min-width: 112px;
  border: 1px solid #42454e;
  border-radius: 8px;
  padding: 10px 20px;
  background: #23252b;
  color: #eeeef0;
  font: inherit;
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  touch-action: manipulation;
}

.control-primary {
  border-color: #e8e7e3;
  background: #e8e7e3;
  color: #17181c;
}

.control:hover { background: #30333b; }
.control-primary:hover { background: #fff; }
.control:active { transform: translateY(1px); }
.control:disabled { opacity: .5; cursor: default; }
.control svg { width: 18px; height: 18px; fill: currentColor; }

:focus-visible {
  outline: 3px solid #b9cbef;
  outline-offset: 5px;
}

.player-message {
  min-height: 18px;
  margin: 10px 0 0;
  color: #b4b6be;
  text-align: center;
  font-size: .8125rem;
  line-height: 1.5;
}

.video-fallback {
  margin: 6px 0 0;
  color: #c4c5cb;
  text-align: center;
  font-size: .875rem;
  line-height: 1.6;
}

a { color: #e3e8f3; text-underline-offset: .2em; }

@media (max-width: 540px) {
  .page { gap: 24px; padding: 28px 20px 16px; }
  .film { width: min(100%, 420px); }
  .video-frame { border-radius: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .control:active { transform: none; }
}
