:root {
  --black: #080808;
  --near-black: #0f0f0f;
  --card-bg: #141414;
  --border: #1e1e1e;
  --gold: #b8972a;
  --gold-light: #d4af37;
  --cream: #e8e0cc;
  --muted: #6a6560;
  --red: #8b1a1a;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--cream);
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  line-height: 1.6;
  min-height: 100vh;
  /* Grain texture */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }

/* ── Header ───────────────────────────────── */
.header {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,8,8,0.96);
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--gold-light);
  text-transform: uppercase;
}
.logo span { color: var(--cream); }
.header-nav { display: flex; gap: 28px; }
.header-nav a {
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--gold-light); }

/* ── Hero ─────────────────────────────────── */
.hero {
  max-width: 1400px; margin: 0 auto; padding: 64px 32px 48px;
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px;
  border-bottom: 1px solid var(--border);
}
.hero-kicker {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900; line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cream);
}
.hero-title em { color: var(--gold-light); font-style: italic; }
.hero-count {
  text-align: right;
}
.hero-count .num {
  font-family: 'Playfair Display', serif;
  font-size: 64px; font-weight: 700;
  color: var(--gold); line-height: 1;
  display: block;
}
.hero-count .label {
  font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted);
}

/* ── Grid ─────────────────────────────────── */
.grid-section {
  max-width: 1400px; margin: 0 auto; padding: 48px 32px;
}
.section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 1px solid var(--border); padding-bottom: 12px; margin-bottom: 28px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted);
}
.section-link {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.section-link:hover { border-color: var(--gold); }

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.video-card {
  position: relative; overflow: hidden;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.video-card:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
.video-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.video-card:hover .thumb { transform: scale(1.05); }

.thumb-wrap { aspect-ratio: 16/9; position: relative; overflow: hidden; }
.thumb {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform 0.5s ease;
}
.thumb-placeholder {
  width: 100%; aspect-ratio: 16/9;
  background: var(--near-black);
  display: flex; align-items: center; justify-content: center;
  color: var(--border); font-size: 32px;
}

.dur-badge {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 3px 6px;
  border-radius: 4px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.card-overlay {
  padding: 12px 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
}
.card-title {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 15px; font-weight: 600;
  line-height: 1.3; color: var(--cream);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  display: flex; align-items: center; justify-content: flex-end;
  color: var(--muted);
}
.card-play {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); color: #000;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
}

/* ── Featured (first video large) ────────── */
.featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  margin-bottom: 16px;
}
.featured-card { grid-column: 1; grid-row: 1 / 3; }
.featured-card .thumb-wrap { height: 100%; }
.featured-card .thumb { height: 100%; }

/* ── CTA strip ────────────────────────────── */
.cta-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 32px;
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.cta-text {
  font-family: 'Playfair Display', serif;
  font-size: 18px; color: var(--cream);
}
.cta-links { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-btn {
  padding: 10px 24px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  transition: all 0.2s;
}
.cta-btn:hover { background: var(--gold); color: #000; }
.cta-btn.primary { background: var(--gold); color: #000; }
.cta-btn.primary:hover { background: var(--gold-light); }

/* ── Tags cloud ───────────────────────────── */
.tags-section {
  max-width: 1400px; margin: 0 auto; padding: 48px 32px;
}
.tags-wrap {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.tag {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  transition: all 0.2s;
}
.tag:hover {
  border-color: var(--gold); color: var(--gold);
}

/* ── Footer ───────────────────────────────── */
footer {
  max-width: 1400px; margin: 0 auto; padding: 48px 32px;
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 16px; font-weight: 900;
  color: var(--gold-light); text-transform: uppercase;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-disclaimer {
  font-size: 10px; color: var(--muted); text-align: right;
}

@media(max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .hero-count { text-align: center; }
  .featured-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .featured-card { grid-column: 1; grid-row: 1; }
  .cta-strip { flex-direction: column; text-align: center; gap: 20px; }
  footer { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .footer-links { justify-content: center; }
  .footer-disclaimer { text-align: center; }
}