@font-face {
  font-family: 'Laro';
  src: url('fonts/Laro-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --surface: #0d0d0d;
  --surface-2: #141414;
  --border: #1e1e1e;
  --text: #ffffff;
  --text-muted: #555;
  --accent: #0ED2F2;
  --accent-dim: rgba(14,210,242,0.08);
  --accent-glow: rgba(14,210,242,0.25);
  --red: #EB290C;
  --red-dim: rgba(235,41,12,0.1);
  --available: #0ED2F2;
  --on-loan: #EB290C;
  --shelf-bg: #000000;
  --shelf-board: #0c0c0c;
  --shelf-edge: #1a1a1a;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: url('images/vintage-paper-texture.png') repeat;
  background-size: 500px;
  pointer-events: none;
  z-index: 9999;
}

/* ── Header ──────────────────────────────────────────────────────────────── */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 44px;
  width: 44px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 1px;
}

.brand-name {
  font-family: 'Laro', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  color: var(--text);
}

.brand-sub {
  font-family: 'Laro', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.view-toggle {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.view-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.02em;
}

.view-btn:hover { color: var(--text); border-color: #333; }

.view-btn.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

/* ── Filters ─────────────────────────────────────────────────────────────── */

.filters {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
}

.format-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.fmt-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.fmt-btn:hover { color: var(--text); border-color: #333; }

.fmt-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 600;
}

.filter-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  flex-wrap: wrap;
}

.avail-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.82rem;
  white-space: nowrap;
  user-select: none;
}

.avail-toggle input { accent-color: var(--available); cursor: pointer; width: 14px; height: 14px; }
.avail-toggle:hover { color: var(--text); }

#search-input {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
  padding: 7px 14px;
  border-radius: var(--radius);
  width: 200px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

#search-input::placeholder { color: var(--text-muted); }
#search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-glow);
}

/* ── Status bar ──────────────────────────────────────────────────────────── */

.status-bar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 24px;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  min-height: 34px;
}

/* ── Grid view ───────────────────────────────────────────────────────────── */

.grid-view {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 60px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.movie-card {
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
}

.movie-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 0 20px var(--accent-glow), 0 12px 32px rgba(0,0,0,0.6);
  border-color: var(--accent);
  z-index: 2;
}

.movie-card.on-loan { opacity: 0.55; }
.movie-card.on-loan:hover { opacity: 1; }

.poster-wrap {
  position: relative;
  aspect-ratio: 2/3;
  background: var(--surface-2);
  overflow: hidden;
}

.poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.poster-wrap.no-poster .poster { display: none; }

.poster-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

.poster-wrap.no-poster .poster-fallback { display: flex; }

.status-dot {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.movie-card.available .status-dot {
  background: var(--available);
  box-shadow: 0 0 8px var(--available);
}

.movie-card.on-loan .status-dot { background: var(--on-loan); }

.fmt-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.85);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  color: #444;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-label {
  padding: 8px 10px;
  border-top: 1px solid var(--border);
}

.card-title {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Shelf view ──────────────────────────────────────────────────────────── */

.shelf-view {
  padding: 24px 0 60px;
}

.shelf-unit {
  margin-bottom: 40px;
}

.shelf-label {
  font-family: 'Laro', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  padding: 0 28px 10px;
  text-transform: uppercase;
}

.shelf-board {
  background: var(--shelf-bg);
  padding: 28px 28px 0;
  overflow-x: auto;
  overflow-y: visible;
  border-top: 1px solid #111;
  scrollbar-width: thin;
  scrollbar-color: #1e1e1e #000;
}

.shelf-board::-webkit-scrollbar { height: 4px; }
.shelf-board::-webkit-scrollbar-track { background: #000; }
.shelf-board::-webkit-scrollbar-thumb { background: #1e1e1e; }

.shelf-cases {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  min-height: 200px;
}

.shelf-bottom {
  height: 10px;
  background: var(--shelf-edge);
  box-shadow: 0 4px 12px rgba(0,0,0,0.8);
}

.spine {
  position: relative;
  cursor: pointer;
  border-radius: 1px 1px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transform-origin: bottom center;
  overflow: hidden;
}

.spine:hover {
  transform: translateY(-16px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.9), 0 0 20px rgba(14,210,242,0.15);
  z-index: 10;
}

.spine.dvd, .spine.bluray {
  width: 16px;
  height: 178px;
}

.spine.vhs {
  width: 32px;
  height: 192px;
}

.spine.on-loan {
  filter: saturate(0.1) brightness(0.4);
}

.spine.available::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--available);
  box-shadow: 0 0 6px var(--available);
}

.spine-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 8px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 90%;
  padding: 6px 0;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  pointer-events: none;
}

.shelf-hint {
  font-size: 0.7rem;
  color: #2a2a2a;
  padding: 6px 28px;
  letter-spacing: 0.04em;
}

/* ── Empty / loading ─────────────────────────────────────────────────────── */

.state-msg {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 60px 20px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid #1a1a1a;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-bottom: 12px;
  vertical-align: middle;
  margin-right: 10px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Modal ───────────────────────────────────────────────────────────────── */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.hidden { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.modal-card {
  position: relative;
  background: var(--surface);
  border: 1px solid #1e1e1e;
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(0,0,0,0.9), 0 0 0 1px #111;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
  animation: modal-in 0.18s ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  z-index: 2;
}

.modal-close:hover { color: var(--text); border-color: #444; }

.modal-body {
  display: flex;
  gap: 24px;
  padding: 28px;
}

.modal-poster-wrap {
  flex-shrink: 0;
  width: 130px;
  aspect-ratio: 2/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.modal-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-poster-wrap.no-poster {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  font-size: 0.72rem;
  color: #333;
  font-weight: 600;
  line-height: 1.4;
}

.modal-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 2px;
}

.modal-fmt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.modal-title {
  font-family: 'Laro', sans-serif;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--text);
}

.modal-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.modal-code {
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  color: #333;
  background: #0a0a0a;
  display: inline-block;
  padding: 3px 8px;
  border-radius: 2px;
  border: 1px solid #1a1a1a;
  width: fit-content;
  letter-spacing: 0.06em;
}

.modal-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 2px;
  width: fit-content;
  margin-top: 2px;
  text-transform: uppercase;
}

.modal-status.available {
  background: var(--accent-dim);
  color: var(--available);
  border: 1px solid rgba(14,210,242,0.2);
  box-shadow: 0 0 12px rgba(14,210,242,0.1);
}

.modal-status.on-loan {
  background: var(--red-dim);
  color: var(--on-loan);
  border: 1px solid rgba(235,41,12,0.2);
}

.loan-section { margin-top: 8px; }

.loan-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.command-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  background: #0a0a0a;
  border: 1px solid #1e1e1e;
  border-radius: var(--radius);
  overflow: hidden;
}

.command-text {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: var(--accent);
  flex: 1;
  padding: 11px 14px;
  letter-spacing: 0.04em;
}

.copy-btn {
  background: var(--red);
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0 16px;
  height: 100%;
  min-height: 42px;
  cursor: pointer;
  transition: opacity 0.15s, background 0.15s;
  flex-shrink: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.copy-btn:hover { opacity: 0.85; }
.copy-btn:active { opacity: 0.7; }
.copy-btn.copied { background: var(--available); color: #000; }

.on-loan-msg {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* ── Utilities ───────────────────────────────────────────────────────────── */

.hidden { display: none !important; }

/* ── Site nav ────────────────────────────────────────────────────────────── */

.site-nav {
  display: flex;
  gap: 4px;
}

.nav-link {
  font-family: 'Laro', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.nav-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1.1rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(14,210,242,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(235,41,12,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-photo {
  flex: 0 0 42%;
  max-width: 500px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 2px;
  align-self: center;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% center;
  display: block;
}

.hero-logo {
  display: block;
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
}

.hero-eyebrow {
  font-family: 'Laro', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Laro', sans-serif;
  font-size: clamp(3.5rem, 9vw, 9rem);
  line-height: 0.85;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 12px;
}

.hero-subtitle {
  font-family: 'Laro', sans-serif;
  font-size: clamp(1.4rem, 4vw, 3.2rem);
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 32px;
}

.hero-body {
  max-width: 520px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-venue {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.hero-venue a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}

.hero-venue a:hover {
  color: var(--text);
}

.body-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}

.body-link:hover {
  color: var(--text);
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Laro', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, box-shadow 0.15s, background 0.15s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-primary:hover {
  opacity: 0.88;
  box-shadow: 0 0 24px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid #333;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

/* ── Sections ────────────────────────────────────────────────────────────── */

.section {
  border-bottom: 1px solid var(--border);
}

.section-alt {
  background: var(--surface);
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-header {
  margin-bottom: 48px;
}

.section-title {
  font-family: 'Laro', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 12px;
}

.section-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
}

/* ── Screening cards ─────────────────────────────────────────────────────── */

.screenings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.screenings-loading {
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 40px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.screenings-empty {
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 40px 0;
}

.screening-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: default;
}

.screening-card:hover {
  border-color: rgba(14,210,242,0.3);
  box-shadow: 0 0 32px rgba(14,210,242,0.08), 0 8px 32px rgba(0,0,0,0.5);
  transform: translateY(-2px);
}

.screening-backdrop {
  position: relative;
  aspect-ratio: 16/9;
  background: #0a0a0a;
  overflow: hidden;
}

.screening-backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.7);
  transition: filter 0.3s;
}

.screening-card:hover .screening-backdrop-img {
  filter: brightness(0.85);
}

.screening-backdrop-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a0a0a, #141414);
}

.screening-backdrop-fallback span {
  font-family: 'Laro', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: #1a1a1a;
}

.screening-series-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,0.8);
  border: 1px solid rgba(14,210,242,0.3);
  color: var(--accent);
  font-family: 'Laro', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  padding: 3px 8px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
  max-width: calc(100% - 24px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.screening-info {
  padding: 20px;
}

.screening-title {
  font-family: 'Laro', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 4px;
}

.screening-director {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.screening-overview {
  font-size: 0.82rem;
  color: #888;
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.screening-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.screening-date {
  font-family: 'Laro', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  flex: 1;
}

.screening-runtime {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ── Membership tiers ────────────────────────────────────────────────────── */

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 800px;
}

.tier-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s;
}

.tier-card:hover {
  border-color: #333;
}

.tier-card--featured {
  border-color: rgba(14,210,242,0.35);
  background: var(--accent-dim);
}

.tier-card--featured:hover {
  border-color: rgba(14,210,242,0.6);
}

.tier-badge {
  font-family: 'Laro', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.tier-card--featured .tier-badge {
  color: var(--accent);
}

.tier-price {
  font-family: 'Laro', sans-serif;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--text);
}

.tier-period {
  font-size: 1rem;
  color: var(--text-muted);
  margin-left: 2px;
}

.tier-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.tier-perks li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tier-perks li::before {
  content: '✓';
  color: var(--accent);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.tier-btn {
  width: 100%;
  margin-top: auto;
}

/* ── Newsletter ──────────────────────────────────────────────────────────── */

.newsletter-section .section-inner {
  padding-top: 60px;
  padding-bottom: 60px;
}

.newsletter-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.newsletter-text {
  flex: 1;
  min-width: 260px;
}

.newsletter-action {
  flex-shrink: 0;
}

/* ── Library section overrides ───────────────────────────────────────────── */

.library-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* filters are now inside a section, not sticky — tweak padding */
.section-inner .filters {
  max-width: none;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-inner .status-bar {
  max-width: none;
  margin: 0;
  padding: 8px 0;
}

.section-inner .grid-view {
  max-width: none;
  margin: 0;
  padding: 0 0 0;
}

.section-inner .shelf-view {
  padding-top: 24px;
}

/* ── Past screenings list ────────────────────────────────────────────────── */

.past-list {
  max-width: 860px;
}

.past-year-group {
  margin-bottom: 40px;
}

.past-year-label {
  font-family: 'Laro', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 4px;
}

.past-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(30,30,30,0.6);
}

.past-month {
  font-family: 'Laro', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  min-width: 58px;
  flex-shrink: 0;
}

.past-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  flex: 1;
}

.past-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-shrink: 0;
  text-align: right;
}

/* ── Library page ─────────────────────────────────────────────────────────── */

.library-page { overflow-x: hidden; }

.library-intro {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.library-intro-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.library-intro-title {
  font-family: 'Laro', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 8px;
}

.library-intro-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 500px;
}

.library-filters-sticky {
  position: sticky;
  top: 65px; /* height of header */
  z-index: 90;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.library-filters-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.library-filters-sticky .filters {
  max-width: none;
  margin: 0;
  padding: 10px 0;
  border: none;
}

.library-filters-sticky .status-bar {
  max-width: none;
  margin: 0;
  padding: 4px 0 8px;
  border: none;
}

.library-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 24px 60px;
}

.nav-link--active {
  color: var(--accent) !important;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: 'Laro', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: #2a2a2a;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--text);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
  .header-inner { padding: 10px 16px; }
  .brand-name { font-size: 1.3rem; }
  .brand-sub { font-size: 0.65rem; }
  .brand-logo { height: 36px; width: 36px; }

  .site-nav { display: none; }
  .site-nav.open { display: flex; flex-direction: column; gap: 0; }
  .nav-burger { display: flex; }

  .hero {
    background-image: url('images/hero-gun.JPEG');
    background-size: cover;
    background-position: 38% center;
  }
  .hero::before {
    background: linear-gradient(to bottom, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0.88) 50%, rgba(10,10,10,0.92) 100%);
  }
  .hero-inner { padding: 60px 16px; }
  .hero-photo { display: none; }

  .past-item { flex-wrap: wrap; gap: 4px 16px; }
  .past-meta { flex-basis: 100%; text-align: left; padding-left: calc(58px + 16px); font-size: 0.72rem; }

  .section-inner { padding: 56px 16px; }

  .screenings-grid { grid-template-columns: 1fr; }

  .tier-grid { grid-template-columns: 1fr; }

  .newsletter-inner { flex-direction: column; gap: 24px; }

  .library-header { flex-direction: column; gap: 12px; }

  .section-inner .filters { padding: 10px 0; }
  .section-inner .grid-view { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
  .filter-right { width: 100%; }
  #search-input { width: 100%; }

  .modal-body { flex-direction: column; }
  .modal-poster-wrap { width: 90px; }
}
