/* Teeter Blocks: a night at the movies. The poster is the page background,
   blurred and dimmed; everything else sits on it like a theater lobby. */
:root {
  color-scheme: dark;
  --bg: #060a17;
  --card: rgba(16, 24, 48, 0.78);
  --card-solid: #111a33;
  --text: #e9eefa;
  --muted: #a3b1cf;
  --line: rgba(140, 175, 240, 0.22);
  --accent: #74dcff;
  --gold: #ffd36b;
  --red: #ff6f7f;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  min-height: 100vh;
}
/* the poster as the backdrop */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background: url("media/backdrop.jpg") center / cover no-repeat;
  opacity: .55;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(110, 170, 255, .18), transparent 70%),
    linear-gradient(to bottom, rgba(6, 10, 23, .35), rgba(6, 10, 23, .92) 60%);
}
a { color: var(--accent); }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px 64px; }
.narrow { max-width: 820px; }

/* top bar */
.topbar { display: flex; align-items: center; gap: 22px; padding: 18px 0; flex-wrap: wrap; }
.topbar .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text); text-decoration: none; margin-right: auto; letter-spacing: .02em; }
.topbar .brand img { width: 34px; height: 34px; border-radius: 8px; }
.topbar a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.topbar a:hover { color: var(--text); }
@media (max-width: 620px) { .topbar .hide-sm { display: none; } }

/* the marquee */
.marquee { text-align: center; padding: 18px 0 8px; }
.marquee .presents { letter-spacing: .45em; font-size: 13px; font-weight: 700; color: var(--muted); margin: 0 0 18px; }
.poster { display: block; width: 100%; height: auto; border-radius: 14px;
  box-shadow: 0 0 0 1px var(--line), 0 30px 120px rgba(80, 150, 255, .28), 0 10px 40px rgba(0, 0, 0, .6); }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: #d6def0; max-width: 760px; margin: 30px auto 0; text-align: center; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 26px 0 0; }
.btn { display: inline-flex; flex-direction: column; align-items: flex-start; padding: 11px 22px; border-radius: 12px;
  text-decoration: none; min-width: 220px; border: 1px solid var(--line); background: var(--card-solid); color: var(--text); }
.btn small { font-size: 12px; color: var(--muted); letter-spacing: .03em; }
.btn b { font-size: 17px; }
.btn.soon { cursor: default; border-color: rgba(116, 220, 255, .5); box-shadow: 0 0 24px rgba(116, 220, 255, .18); }

/* sections */
section { padding: 64px 0 0; }
h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 0 0 8px; letter-spacing: -.01em; }
h2 .kicker { display: block; font-size: 13px; letter-spacing: .32em; color: var(--gold); font-weight: 800; margin-bottom: 6px; }
h3 { font-size: 18px; margin: 0 0 6px; }
.sub { color: var(--muted); margin: 0 0 26px; }
.muted { color: var(--muted); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin: 14px 0;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.card p:last-child, .card ul:last-child, .card dl:last-child { margin-bottom: 0; }
.card p:first-of-type { margin-top: 0; }

.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.modes .card { margin: 0; border-top: 3px solid var(--accent); }
.modes .card:nth-child(2) { border-top-color: var(--gold); }
.modes .card:nth-child(3) { border-top-color: var(--red); }

/* now showing: trailer + one-sheet */
.showing { display: grid; grid-template-columns: 1.7fr 1fr; gap: 26px; align-items: center; }
.showing video, .previews video { display: block; width: 100%; height: auto; border-radius: 12px; background: #000;
  box-shadow: 0 0 0 1px var(--line), 0 20px 60px rgba(0, 0, 0, .5); }
.onesheet { position: relative; padding: 14px; border-radius: 10px;
  background: linear-gradient(#2a2010, #15100a);
  box-shadow: 0 0 0 2px #6b5426, 0 0 40px rgba(255, 211, 107, .25), inset 0 0 18px rgba(0, 0, 0, .7); }
.onesheet img { display: block; width: 100%; height: auto; border-radius: 3px; }
/* marquee bulbs around the one-sheet */
.onesheet::before { content: ""; position: absolute; inset: 4px; border-radius: 8px; pointer-events: none;
  background: radial-gradient(circle, #ffe9a8 0 2.4px, transparent 3px) 0 0 / 16px 16px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; padding: 4px; filter: drop-shadow(0 0 3px #ffd36b); }
@media (max-width: 760px) { .showing { grid-template-columns: 1fr; } .onesheet { max-width: 360px; margin: 0 auto; } }

.previews { display: grid; grid-template-columns: 1fr 2.2fr; gap: 22px; align-items: start; }
.previews figure { margin: 0; }
.previews figcaption, .gallery figcaption { margin-top: 10px; font-weight: 700; }
.previews figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .previews { grid-template-columns: 1fr; } .previews figure:first-child { max-width: 320px; } }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; border-radius: 10px; display: block; box-shadow: 0 0 0 1px var(--line); }
.gallery figcaption { font-size: 14px; color: var(--muted); font-weight: 600; margin-top: 6px; }

.press { list-style: none; padding: 0; margin: 0; }
.press li { padding: 9px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.press li:first-child { border-top: 0; }
.press .size { color: var(--muted); font-size: 14px; white-space: nowrap; }
.keys { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0; }
.keys dt { font-weight: 700; }
.keys dd { margin: 0; }
.contact { font-size: 18px; }

/* the privacy page keeps its simple header */
header.page { display: flex; align-items: center; gap: 16px; margin: 26px 0 8px; }
header.page img { width: 64px; height: 64px; border-radius: 14px; }
header.page h1 { margin: 0; font-size: 30px; line-height: 1.2; }
header.page p { margin: 2px 0 0; color: var(--muted); }
nav.links { margin: 18px 0 28px; display: flex; gap: 20px; flex-wrap: wrap; }
nav.links a { font-weight: 600; }

footer { margin-top: 64px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); padding-top: 18px; display: flex; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer .right { margin-left: auto; }
