:root {
  color-scheme: dark;
  --bg: #151411;
  --text: #faf8f1;
  --muted: #c4beb3;
  --line: #49453e;
  --accent: #ffc24c;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible, summary:focus-visible, video:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.wrap { width: min(1152px, calc(100% - 48px)); margin-inline: auto; }
.masthead { padding-block: 22px; border-bottom: 1px solid var(--line); }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-size: 1.55rem;
  font-weight: 740; letter-spacing: -.05em;
}
.brand img { border-radius: 10px; }
.store-links { display: flex; flex-wrap: wrap; gap: 10px; }
.store-links a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border: 1px solid var(--line); border-radius: 100px;
  font-weight: 650; text-decoration: none; background: var(--text); color: var(--bg);
}
.store-links a:hover { background: var(--accent); }
.scene {
  display: grid; grid-template-columns: minmax(0, 390px) minmax(0, 420px);
  gap: clamp(32px, 7vw, 100px); justify-content: center; align-items: center;
  padding-block: clamp(22px, 5vh, 72px);
}
.scene-player {
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: #090908;
}
.scene-player video { display: block; width: 100%; height: auto; max-height: 74svh; }
.scene-meta { display: flex; align-items: center; flex-wrap: wrap; color: var(--accent); font-weight: 600; }
.scene-meta span + span::before { content: "·"; padding-inline: .6em; color: var(--muted); }
.scene-info h1, .unavailable h1 {
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; font-weight: 500;
  letter-spacing: -.045em; margin: .25em 0 .45em; overflow-wrap: anywhere;
}
.transcript { border-block: 1px solid var(--line); }
.transcript summary { padding-block: 16px; cursor: pointer; width: fit-content; }
.transcript p { margin: 0 0 18px; color: var(--muted); line-height: 1.55; white-space: pre-line; }
.scene-download { margin-top: 28px; }
.scene-download h2 { font-size: 1.1rem; font-weight: 600; margin: 0 0 12px; }
.unavailable { padding-block: 80px; }
.unavailable p { line-height: 1.6; color: var(--muted); }
@media (max-width: 660px) {
  .wrap { width: calc(100% - 36px); }
  .masthead { padding-block: 12px; }
  .brand { font-size: 1.3rem; }
  .brand img { width: 32px; height: 32px; }
  .scene { max-width: 440px; grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .scene-player video { max-height: 56svh; }
  .scene-info h1 { font-size: 2.6rem; }
  .scene-download { margin-top: 18px; }
}
