@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
:root {
  /* Trailerfeed brand: booth dark, projector amber, screen white */
  --bg: #0e0f13;
  --surface: #191b21;
  --surface-2: #23262e;
  --text: #f4efe6;
  --muted: #a29d94;
  --accent: #ffb547;
  --display: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 12px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.top, main, .foot { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; line-height: 0; border-radius: 6px; }
.brand img { display: block; height: 25px; width: auto; }
.brand:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, .week-head { font-family: var(--display); font-stretch: 112%; letter-spacing: -0.015em; }
.updated { color: var(--muted); font-size: 0.85rem; }

.player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--muted); }
.hero-meta { padding: 16px 2px 8px; }
.eyebrow { margin: 0; color: var(--accent); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.hero-meta h1 { margin: 4px 0 2px; font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.2; text-wrap: balance; }
.sub { margin: 0; color: var(--muted); }
.summary { margin: 12px 0 0; max-width: 72ch; color: var(--text); opacity: .88; line-height: 1.6; }
.release { color: var(--accent); font-weight: 600; }
.card .card-summary { margin-top: 4px; color: var(--muted); font-size: 0.83rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.feed { margin-top: 28px; }
.feed-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.feed-head h2 { margin: 0; font-size: 1.2rem; }
.sort { display: inline-flex; background: var(--surface); border-radius: 999px; padding: 3px; }
.sort button { appearance: none; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 0.9rem; padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.sort button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); }

.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { display: block; text-decoration: none; width: 100%; text-align: left; background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--surface); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.card:hover .thumb img, .card:focus-visible .thumb img { transform: scale(1.04); }
.card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 10px; }
.badge { position: absolute; left: 8px; top: 8px; background: var(--accent); color: #1a1205; font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.card.playing .thumb::after { content: "Now playing"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.6); font-weight: 700; }
.card h3 { margin: 10px 0 2px; font-size: 0.98rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card p { margin: 0; color: var(--muted); font-size: 0.85rem; }

.foot { color: var(--muted); font-size: 0.8rem; padding-top: 40px; padding-bottom: 32px; }

@media (max-width: 600px) {
  .player { border-radius: 0; margin: 0 -16px; }
  .grid { grid-template-columns: 1fr; }
}

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 0.92rem; text-decoration: none; background: var(--surface-2); color: var(--text); }
.btn:hover { filter: brightness(1.15); }
.btn-tickets { background: var(--accent); color: #1a1205; }
.btn-watch { background: #f1f2f4; color: #111; }
.year { color: var(--muted); font-weight: 500; }
a.updated { text-decoration: none; }
a.updated:hover { color: var(--text); }

.top { flex-wrap: wrap; align-items: center; }
.tabs { display: inline-flex; gap: 4px; background: var(--surface); border-radius: 999px; padding: 3px; margin-right: auto; margin-left: 12px; }
.tabs a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.92rem; padding: 6px 14px; border-radius: 999px; }
.tabs a[aria-current="true"] { background: var(--surface-2); color: var(--text); }
.tabs a:hover { color: var(--text); }
@media (max-width: 600px) {
  .tabs { order: 3; margin: 10px 0 0; width: 100%; justify-content: space-between; }
  .tabs a { flex: 1; text-align: center; }
}

.week + .week { margin-top: 36px; }
.week-head { display: flex; align-items: baseline; gap: 10px; font-size: 1.05rem; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--surface-2); }
.week-count { color: var(--muted); font-size: 0.85rem; font-weight: 500; }
.more { display: block; margin: 32px auto 0; min-height: 44px; padding: 10px 22px; border-radius: 999px; border: 0; background: var(--surface-2); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.more:hover { filter: brightness(1.15); }
.prose { max-width: 760px; line-height: 1.65; padding-bottom: 24px; }
.prose h1 { font-size: 2rem; margin: 24px 0 12px; }
.prose h2 { font-size: 1.2rem; margin: 28px 0 8px; }
.prose a { color: var(--accent); }
.prose ul { padding-left: 20px; }
.muted { color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 8px; }
.foot-links a { color: var(--text); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot p { margin: 0; }
.foot { border-top: 1px solid var(--surface-2); margin-top: 48px; }
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--muted); font-size: 0.85rem; }
.foot-brand img { flex: none; }
.foot-brand strong { color: var(--text); font-family: var(--display); font-stretch: 112%; }
.foot-brand a { color: var(--accent); text-decoration: none; }
.foot-brand a:hover { text-decoration: underline; }
@media (max-width: 600px) { .brand img { height: 22px; } }
.foot .disclosure { margin: 0 0 4px; }
.disclosure a { color: inherit; }
