/* video.css — Dark cinematic design for video.kevinringstaff.com */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

:root {
  --bg:        #080808;
  --surface:   #111111;
  --surface2:  #1a1a1a;
  --border:    #222222;
  --text:      #f0f0f0;
  --muted:     #888888;
  --accent:    #286d00;   /* Kevin's green */
  --accent2:   #3a9900;
  --gold:      #c8a84b;   /* warm highlight */

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-ui:      'DM Sans', system-ui, sans-serif;

  --max-w:     1280px;
  --radius:    6px;
  --header-h:  60px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ── Header ──────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: linear-gradient(to bottom, rgba(8,8,8,0.95) 0%, transparent 100%);
  backdrop-filter: blur(4px);
}

.site-logo {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.site-logo span {
  color: var(--accent2);
  font-weight: 300;
  margin-left: 0.2em;
}
.back-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.15s;
}
.back-link:hover { color: var(--text); }
.header-spacer { width: 120px; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 2rem 4rem;
  background:
    linear-gradient(to right, rgba(8,8,8,0.95) 40%, rgba(8,8,8,0.3) 100%),
    linear-gradient(160deg, #0d1f0a 0%, #080808 60%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(40,109,0,0.08) 0%, transparent 60%);
}
.hero-inner {
  position: relative;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent2);
  margin-bottom: 1rem;
  font-weight: 500;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--text);
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 420px;
  font-weight: 300;
}
.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

/* ── Main ────────────────────────────────────────────────────── */
.main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

/* ── Featured ────────────────────────────────────────────────── */
.featured-section { margin-bottom: 4rem; }
.featured-card {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 0;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
}
.featured-card:hover { transform: translateY(-2px); }

.featured-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface2);
}
.featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.featured-card:hover .featured-thumb img { transform: scale(1.03); }

.featured-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.2s;
}
.featured-card:hover .featured-overlay { opacity: 1; }

.play-btn-large {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  transition: transform 0.15s, background 0.15s;
}
.play-btn-large:hover { transform: scale(1.1); background: #fff; }
.play-btn-large svg { width: 32px; height: 32px; margin-left: 4px; }

.featured-meta {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  background: var(--surface);
}
.tag {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent2);
  font-weight: 600;
  border: 1px solid var(--accent);
  padding: 0.2em 0.6em;
  border-radius: 3px;
  width: fit-content;
}
.featured-meta h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}
.featured-sub {
  color: var(--muted);
  font-size: 0.875rem;
}
.featured-event {
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.65em 1.4em;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 500;
  width: fit-content;
  margin-top: 0.5rem;
  transition: background 0.15s;
}
.watch-btn:hover { background: var(--accent2); }

/* ── Video grid ──────────────────────────────────────────────── */
.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.video-card {
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.2s;
}
.video-card:hover { transform: translateY(-3px); }

.card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface2);
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.video-card:hover .card-thumb img { transform: scale(1.05); }

.thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--surface2) 0%, #0d1f0a 100%);
}
.card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.2s;
}
.video-card:hover .card-play { opacity: 1; }
.card-play svg {
  width: 44px;
  height: 44px;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
.card-meta h3 {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
}
.card-event {
  font-size: 0.75rem;
  color: var(--gold);
  margin-top: 0.25rem;
}
.card-meta time {
  font-size: 0.7rem;
  color: var(--muted);
  display: block;
  margin-top: 0.2rem;
}

/* ── Watch page ──────────────────────────────────────────────── */
.watch-page { background: #000; }
.watch-main {
  padding-top: var(--header-h);
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 6rem;
}

.player-wrap {
  width: calc(100% + 4rem);
  margin-left: -2rem;
  background: #000;
  margin-bottom: 2.5rem;
}
.main-player {
  width: 100%;
  display: block;
  max-height: 70vh;
  background: #000;
}

.watch-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.watch-event {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.watch-info h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.watch-subtitle {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.watch-date {
  font-size: 0.8rem;
  color: var(--muted);
  display: block;
  margin-bottom: 1rem;
}
.watch-desc { color: var(--muted); font-size: 0.9rem; max-width: 600px; }

.watch-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}
.book-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.65em 1.4em;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s;
  text-align: center;
}
.book-btn:hover { background: var(--accent2); }
.share-btn {
  background: var(--surface2);
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.65em 1.4em;
  border-radius: 25px;
  font-size: 0.875rem;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s, border-color 0.15s;
}
.share-btn:hover { color: var(--text); border-color: var(--muted); }

.watch-notes {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
}
.watch-notes h2 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.notes-body { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }
.notes-body p + p { margin-top: 0.75em; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
  max-width: var(--max-w);
  margin: 0 auto;
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* ── Empty / 404 ─────────────────────────────────────────────── */
.empty {
  text-align: center;
  padding: 8rem 2rem;
  color: var(--muted);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-meta { padding: 1.5rem; }
  .featured-meta h2 { font-size: 1.25rem; }
  .video-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .watch-info { flex-direction: column; }
  .watch-actions { flex-direction: row; }
  .player-wrap { width: calc(100% + 4rem); }
  .hero { min-height: 45vh; }
  .hero h1 { font-size: 2rem; }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .site-header { padding: 0 1rem; }
  .main { padding: 0 1rem 4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
