:root {
  --paper: #EFE6D0;
  --paper-deep: #E4D8BC;
  --ink: #141318;
  --ink-soft: #4A4540;
  --navy: #16233F;
  --night: #0B1222;
  --red: #B23A25;
  --gold: #C8A15A;
  --cream: #F4ECD8;
  --gx: clamp(16px, 5vw, 96px);
  --display: "Poiret One", Georgia, serif;
  --label: "Oswald", "Arial Narrow", sans-serif;
  --body: "Literata", Georgia, serif;
  --type: "Courier Prime", "Courier New", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.6 var(--body); overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }

.kicker { font: 500 13px/1.2 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.on-dark .kicker { color: var(--gold); }
.on-dark { color: var(--cream); }
.section { padding: clamp(56px, 8vw, 120px) var(--gx); }
.section h2 { font: 400 clamp(36px, 5vw, 68px)/1.05 var(--display); margin-bottom: 24px; }
.rule { border: 0; border-top: 3px double currentColor; opacity: .5; margin: 0 0 28px; }

/* Top bar */
.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 32px;
  padding: 12px var(--gx); background: rgba(11, 18, 34, .92); color: var(--cream);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid rgba(200, 161, 90, .35); }
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; margin-right: auto; white-space: nowrap; }
.brand b { font: 400 28px/1 var(--display); }
.brand span { font: 500 11px/1 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.bar nav { display: flex; gap: 28px; font: 500 13px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; }
.bar nav a { text-decoration: none; opacity: .85; white-space: nowrap; }
.bar nav a:hover { opacity: 1; color: var(--gold); }

/* Record player: a gramophone card in the corner */
.player { position: fixed; right: 16px; bottom: 16px; z-index: 20; display: flex; align-items: center; gap: 14px;
  width: 370px; max-width: calc(100vw - 32px); padding: 12px 34px 12px 12px; background: var(--cream); color: var(--ink);
  border: 2px solid var(--navy); outline: 1px solid var(--gold); outline-offset: -6px; box-shadow: 8px 8px 0 var(--navy); }
.player button { background: none; border: 0; color: inherit; cursor: pointer; padding: 0; font: inherit; }
.gram { flex: none; }
.gram-art { position: relative; display: block; width: 78px; }
.gram-art img, .gram-art svg { display: block; width: 100%; height: auto; }
.gram-art svg { position: absolute; inset: 0; }
.glint { fill: none; stroke: #F4ECD8; stroke-linecap: round; opacity: 0; }
.g1 { stroke-width: 7; stroke-dasharray: 46 400; }
.g2 { stroke-width: 5; stroke-dasharray: 26 260; stroke-dashoffset: -140; }
.player.playing .glint { opacity: .55; }
.player.playing .g1 { animation: groove1 1.1s linear infinite; }
.player.playing .g2 { animation: groove2 1.1s linear infinite; }
@keyframes groove1 { to { stroke-dashoffset: -446; } }
@keyframes groove2 { from { stroke-dashoffset: -140; } to { stroke-dashoffset: -426; } }
.deck { min-width: 0; flex: 1; text-align: center; }
.player .kicker { font-size: 10px; margin: 0 0 4px; letter-spacing: .16em; }
.player .now { display: block; width: 100%; text-align: center; }
.player .title { display: block; font: 400 21px/1.1 var(--display); color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player .sub { display: block; font: 500 10px/1.4 var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player .now:hover .title, .gram:hover + .deck .title { color: var(--red); }
.controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 8px; }
.controls svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.controls .skip { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: var(--navy); }
.controls .skip:hover { color: var(--red); }
.controls .disc { width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: var(--cream); display: flex; align-items: center; justify-content: center; }
.controls .disc:hover { background: var(--navy); }
.player.waiting .controls .disc { animation: invite 1.6s ease-in-out infinite; }
@keyframes invite { 0%, 100% { box-shadow: 0 0 0 0 rgba(178, 58, 37, .55); } 50% { box-shadow: 0 0 0 9px rgba(178, 58, 37, 0); } }
.controls .disc .pause, .player.playing .controls .disc .play { display: none; }
.player.playing .controls .disc .pause { display: block; }
.player .hide { position: absolute; top: 2px; right: 6px; width: 26px; height: 26px; font: 400 22px/1 var(--body); color: var(--ink-soft); }
.player .hide:hover { color: var(--red); }
.player .show { display: none; width: 52px; height: 52px; }
.player .show svg { width: 52px; height: 52px; display: block; border-radius: 50%; }
.player .vinyl { fill: #17161B; }
.player .groove { fill: none; stroke: #3A3842; stroke-width: .8; }
.player .label { fill: var(--red); }
.player .record text { font: 700 3.6px/1 var(--label); letter-spacing: .06em; fill: var(--cream); }
.player .record text.big { font: 400 7px/1 var(--display); }
.player .spindle { fill: var(--cream); }
.player .record { transform-box: view-box; transform-origin: 34px 48px; }
.player.playing .record { animation: spin 1.6s linear infinite; }
.player.folded { width: auto; padding: 6px; gap: 0; border-radius: 50%; outline: 0; box-shadow: 4px 4px 0 var(--navy); }
.player.folded > :not(.show):not(.playlist) { display: none; }
.player.folded .show { display: block; }
.playlist { position: absolute; right: -2px; bottom: calc(100% + 12px); width: min(360px, calc(100vw - 32px)); margin: 0; padding: 6px 0;
  list-style: none; background: var(--cream); border: 2px solid var(--navy); box-shadow: 8px 8px 0 var(--navy); max-height: 60vh; overflow-y: auto; }
.playlist button { display: flex; width: 100%; gap: 12px; align-items: baseline; padding: 9px 16px; text-align: left; }
.playlist button:hover, .playlist .on button { background: var(--paper-deep); }
.playlist .n { font: 13px/1 var(--type); color: var(--red); width: 18px; flex: none; }
.playlist b { display: block; font: 400 19px/1.2 var(--display); color: var(--navy); }
.playlist small { display: block; font: 500 10px/1.4 var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.playlist .on b { color: var(--red); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border: 2px solid var(--gold);
  font: 500 14px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--cream); }
.btn.solid { background: var(--red); border-color: var(--red); }
.btn.solid:hover { background: #C9442D; }
.btn:hover { border-color: var(--cream); }
.btn.soon { cursor: default; }
.btn.small { padding: 10px 16px; font-size: 12px; }

/* Hero */
.hero { position: relative; min-height: min(92vh, 960px); display: flex; align-items: flex-end; background: var(--night); overflow: hidden; }
.hero .film, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11, 18, 34, .94) 0%, rgba(11, 18, 34, .78) 32%, rgba(11, 18, 34, .1) 62%),
              linear-gradient(0deg, rgba(11, 18, 34, .7) 0%, rgba(11, 18, 34, 0) 40%); }
.hero-copy { position: relative; z-index: 1; padding: 0 var(--gx) clamp(48px, 9vh, 112px); max-width: 1000px; }
.hero h1 { font: 400 clamp(52px, 8.4vw, 132px)/.95 var(--display); margin-bottom: 28px; }
.hero .lead { font-size: clamp(18px, 1.6vw, 22px); max-width: 34em; opacity: .92; margin-bottom: 36px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* The case */
.story { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.story .text { grid-column: 1 / span 7; }
.story .text p { font-size: clamp(18px, 1.5vw, 21px); }
.story .text p:first-of-type::first-letter { float: left; font: 400 5.2em/.8 var(--display); color: var(--red); margin: .06em .1em 0 0; }
.story .text .quote { font: 400 clamp(26px, 2.6vw, 38px)/1.2 var(--display); color: var(--navy); border-left: 4px solid var(--red); padding-left: 24px; margin: 8px 0 28px; }
.story figure { grid-column: 8 / span 5; margin: 0; }
.story figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; border: 6px solid var(--cream); outline: 2px solid var(--navy); box-shadow: 14px 14px 0 var(--navy); }

/* Screens */
.screens { background: var(--paper-deep); padding-left: 0; padding-right: 0; }
.screens .head { padding: 0 var(--gx); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 48px; margin-bottom: 36px; }
.screens .head p { max-width: 36em; margin: 0; color: var(--ink-soft); }
.strip-wrap { position: relative; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: clamp(12px, 1.6vw, 24px);
  overflow-x: auto; padding: 4px var(--gx) 20px; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gx);
  scrollbar-width: none; -ms-overflow-style: none; }
.strip::-webkit-scrollbar { display: none; }
.arrow { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -34px; border-radius: 50%;
  border: 2px solid var(--gold); background: var(--navy); color: var(--cream); font: 30px/1 var(--body); cursor: pointer;
  display: none; align-items: center; justify-content: center; padding: 0 0 4px; box-shadow: 0 6px 18px rgba(20, 19, 24, .3); }
.arrow:hover { background: var(--red); border-color: var(--red); }
.arrow.prev { left: max(8px, calc(var(--gx) - 24px)); }
.arrow.next { right: max(8px, calc(var(--gx) - 24px)); }
.strip-wrap.can-prev .prev, .strip-wrap.can-next .next { display: flex; }
.strip img { width: 100%; height: auto; scroll-snap-align: start; border-radius: 6px; box-shadow: 0 10px 30px rgba(20, 19, 24, .18); }

/* Features */
.features { background: var(--navy); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid rgba(200, 161, 90, .4); }
.cols > div { padding: 28px 28px 8px 0; margin-right: 28px; border-right: 1px solid rgba(200, 161, 90, .25); }
.cols > div:last-child { border-right: 0; }
.cols h3 { font: 500 20px/1.25 var(--label); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; color: var(--gold); }
.cols .no { font: 700 13px/1 var(--type); color: rgba(244, 236, 216, .55); margin-bottom: 16px; display: block; }
.cols p { font-size: 17px; opacity: .9; }

/* Trailer */
.trailer { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: clamp(28px, 5vw, 96px); align-items: center; }
.trailer video { width: 100%; aspect-ratio: 590 / 1278; background: var(--night); border-radius: 28px; border: 8px solid var(--ink); }
.trailer ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 48px; }
.trailer li { padding: 16px 0; border-top: 1px solid rgba(20, 19, 24, .2); font-size: 17px; }
.trailer li b { display: block; font: 500 14px/1.3 var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }

/* Season */
.season { background: var(--night); }
.season .intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-bottom: 44px; }
.season .intro > div { grid-column: 1 / span 7; }
.season .intro p { opacity: .88; font-size: 19px; }
.cases { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.case { display: flex; flex-direction: column; }
.case img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border: 1px solid rgba(200, 161, 90, .5); }
.case .no { font: 500 12px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 14px 0 6px; }
.case h3 { font: 400 24px/1.15 var(--display); margin-bottom: 6px; min-height: 2.3em; }
.case .when { font: 14px/1.4 var(--type); opacity: .65; margin-bottom: 12px; }
.case .tag { align-self: flex-start; margin-top: auto; display: inline-block; font: 500 11px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; padding: 6px 8px; border: 1px solid rgba(244, 236, 216, .35); }
.case .tag.free { background: var(--red); border-color: var(--red); }
.volumes { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-top: 28px; border-top: 1px solid rgba(200, 161, 90, .3); }
.volumes ol { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; }
.volumes li { width: 54px; height: 76px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px;
  border: 1px dashed rgba(200, 161, 90, .45); font: 13px/1 var(--type); color: rgba(244, 236, 216, .55); }
.volumes li.out { background: var(--red); border: 1px solid var(--gold); color: var(--cream); }
.volumes p { margin: 0; max-width: 38em; opacity: .8; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px clamp(24px, 4vw, 64px); }
.faq-grid > div:first-child { grid-column: 1 / span 4; }
.faq-list { grid-column: 5 / span 8; border-top: 1px solid rgba(20, 19, 24, .25); }
.faq details { border-bottom: 1px solid rgba(20, 19, 24, .25); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 400 clamp(22px, 2vw, 28px)/1.25 var(--display); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 30px/1 var(--body); color: var(--red); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 22px; max-width: 46em; font-size: 17px; }

/* Support */
.support { background: var(--paper-deep); }
.support .cols { border-top-color: rgba(20, 19, 24, .25); }
.support .cols > div { border-right-color: rgba(20, 19, 24, .15); }
.support .cols h3 { color: var(--red); }
.support .cols p { opacity: 1; }

/* Footer */
.foot { background: var(--ink); color: rgba(244, 236, 216, .8); padding: 48px var(--gx) 112px; display: grid;
  grid-template-columns: auto 1fr auto; gap: 24px 64px; align-items: start; font-size: 15px; }
.foot .brand b { color: var(--cream); }
.foot p { margin: 0; max-width: 52em; }
.foot nav { display: flex; flex-direction: column; gap: 8px; font: 500 13px/1.3 var(--label); letter-spacing: .14em; text-transform: uppercase; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--gold); }

/* Legal pages */
.legal { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px clamp(24px, 4vw, 64px); }
.legal header { grid-column: 1 / span 4; }
.legal header .sticky { position: sticky; top: 96px; }
.legal header h1 { font: 400 clamp(40px, 4.6vw, 64px)/1.05 var(--display); margin-bottom: 16px; }
.legal article { grid-column: 5 / span 7; }
.legal article h2 { font: 500 15px/1.3 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 32px 0 10px; }
.legal article h2:first-child { margin-top: 0; }

@media (max-width: 1100px) {
  .bar .btn { display: none; }
  .cases { grid-template-columns: repeat(3, 1fr); }
  .story .text, .story figure, .season .intro > div { grid-column: 1 / -1; }
  .story figure { max-width: 560px; }
}
@media (max-width: 760px) {
  .bar nav, .bar .btn { display: none; }
  .hero { display: block; min-height: 0; }
  .hero::after { display: none; }
  .hero picture { display: block; position: relative; }
  .hero picture img { position: relative; height: auto; aspect-ratio: 4 / 5; object-position: 30% 0; }
  .hero picture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--night) 0%, rgba(11, 18, 34, 0) 35%); }
  .hero-copy { margin-top: -56px; padding-top: 0; padding-bottom: 48px; }
  .hero .film { display: none; }
  .trailer { grid-template-columns: 1fr; }
  .trailer video { max-width: 300px; }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .cols > div { border-right: 0; margin-right: 0; padding-right: 0; border-bottom: 1px solid rgba(200, 161, 90, .25); }
  .support .cols > div { border-bottom-color: rgba(20, 19, 24, .15); }
  .foot { grid-template-columns: 1fr; }
  .legal header, .legal article, .faq-grid > div:first-child, .faq-list { grid-column: 1 / -1; }
  .player { right: 10px; bottom: 10px; width: auto; padding: 6px 30px 6px 6px; gap: 8px; box-shadow: 5px 5px 0 var(--navy); }
  .player > .gram .gram-art { width: 48px; }
  .player .kicker, .player .now, .controls .skip { display: none; }
  .controls { margin: 0; }
  .player.folded { padding: 4px; }
  .player .show, .player .show svg { width: 44px; height: 44px; }
  .legal header .sticky { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .player.playing .glint, .player.playing .record, .player.waiting .controls .disc { animation: none; }
  html { scroll-behavior: auto; }
  .hero .film { display: none; }
}
