:root {
  color-scheme: dark;
  --ink: #f4f1e8;
  --muted: #999a9f;
  --paper: #090a0d;
  --panel: #111217;
  --line: #2b2d34;
  --orange: #ff5c35;
  --blue: #80d9ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.site-header p {
  margin: 0;
  color: var(--muted);
}

.wordmark {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
}

.wordmark-dot,
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 18px rgba(255, 92, 53, 0.8);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 80px;
  align-items: end;
  padding: 84px 0 54px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.17em;
}

h1,
h2 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

h1 {
  font-size: clamp(3.7rem, 9.5vw, 8.7rem);
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.intro {
  max-width: 560px;
  margin: 32px 0 0;
  color: #c1c1c4;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.65;
}

.film-facts {
  border-top: 1px solid var(--line);
}

.film-facts dl {
  margin: 0;
}

.film-facts dl div {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}

.film-facts dt {
  color: var(--muted);
}

.film-facts dd {
  margin: 0;
}

.screening {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.video-wrap {
  position: relative;
  overflow: hidden;
  background: #020307;
  aspect-ratio: 16 / 9;
}

video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 82px;
  height: 82px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(8, 9, 12, 0.68);
  color: white;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
  backdrop-filter: blur(8px);
}

.play-button:hover {
  background: var(--orange);
  transform: translate(-50%, -50%) scale(1.06);
}

.play-button span {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid currentColor;
}

.play-button.is-hidden {
  pointer-events: none;
  opacity: 0;
}

.frame-corner {
  position: absolute;
  z-index: 2;
  width: 22px;
  height: 22px;
  pointer-events: none;
}

.frame-corner-top {
  top: 8px;
  left: 8px;
  border-top: 1px solid var(--blue);
  border-left: 1px solid var(--blue);
}

.frame-corner-bottom {
  right: 8px;
  bottom: 57px;
  border-right: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
}

.screening-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 17px 2px 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
}

.screening-footer p {
  margin: 0;
}

.screening-footer a {
  justify-self: end;
  color: var(--ink);
  text-decoration: none;
}

.screening-footer a:hover {
  color: var(--orange);
}

.playback-state {
  display: flex;
  gap: 9px;
  align-items: center;
}

.pulse {
  width: 6px;
  height: 6px;
}

.is-playing .pulse {
  animation: pulse 1.1s ease-in-out infinite;
}

.credits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  padding: 120px 0;
}

.credits > p {
  max-width: 500px;
  margin: 0 0 2px;
  color: #b2b2b6;
  font-size: 1.08rem;
  line-height: 1.75;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

footer p {
  margin: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header p {
    display: none;
  }

  .hero,
  .credits {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero {
    padding-top: 58px;
  }

  .film-facts {
    max-width: none;
  }

  .screening {
    padding: 8px;
  }

  .screening-footer {
    grid-template-columns: 1fr auto;
    padding: 14px 3px 6px;
  }

  .screening-footer > p {
    display: none;
  }

  .frame-corner-bottom {
    bottom: 50px;
  }

  .credits {
    padding: 88px 0;
  }

  footer {
    gap: 20px;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; }
}
