/* ── HIGGINS POST — SHARED STYLES ── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;700;800&family=Space+Mono:wght@400;700&display=swap');

:root {
  --bg: #0b0b0b;
  --fg: #f0ede8;
  --muted: #3a3a3a;
  --dim: #222;
  --mono: 'Space Mono', monospace;
  --display: 'Syne', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font-family: var(--display); overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 32px;
  mix-blend-mode: difference;
}
.nav-id {
  font-family: var(--mono); font-size: 10px; color: var(--fg);
  letter-spacing: .15em; text-transform: uppercase;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-family: var(--mono); font-size: 9px;
  color: var(--fg); letter-spacing: .12em; text-transform: uppercase;
  opacity: .7; transition: opacity .2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.pill {
  border: 1px solid var(--fg); border-radius: 100px;
  padding: 7px 16px; opacity: .85;
}
.nav-links a.pill:hover { opacity: 1; }

/* ── LIGHTBOX ── */
#lb {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.93);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
#lb.active { opacity: 1; pointer-events: all; }
#lb-wrap {
  position: relative; width: 90vw; max-width: 1100px;
  aspect-ratio: 16/9;
  box-shadow: 0 0 120px rgba(0,0,0,.9);
}
#lb-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
#lb-close {
  position: fixed; top: 24px; right: 32px;
  font-family: var(--mono); font-size: 10px; color: var(--fg);
  letter-spacing: .15em; cursor: pointer;
  background: none; border: 1px solid rgba(240,237,232,.2);
  padding: 8px 18px; opacity: .65; transition: opacity .2s;
}
#lb-close:hover { opacity: 1; }
#lb-title {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 9px; color: #555;
  letter-spacing: .15em; white-space: nowrap;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--muted);
  padding: 20px 32px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-left { font-family: var(--mono); font-size: 9px; color: #444; letter-spacing: .1em; text-transform: uppercase; }
.footer-right { display: flex; gap: 24px; }
.footer-right a { font-family: var(--mono); font-size: 9px; color: #444; letter-spacing: .1em; text-transform: uppercase; transition: color .2s; }
.footer-right a:hover { color: var(--fg); }

/* ── VIDEO CARD (shared for homepage + videos page) ── */
.card-thumb { overflow: hidden; background: var(--dim); }
.card-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .6s ease, opacity .4s ease; }
.card-info { padding: 14px 0 20px; }
.card-title { font-family: var(--display); font-size: 14px; font-weight: 400; color: var(--fg); margin-bottom: 4px; }
.card-num { font-family: var(--mono); font-size: 9px; color: #555; letter-spacing: .12em; }
