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

/* ── Base ── */
html, body {
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
}

/* ─────────────────────────
   HEADER
   Same structure as repo.html — white text, transparent bg, over video
───────────────────────── */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  height: 78px;
  box-sizing: border-box;
  background: transparent;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.35);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(20px, calc((100% - 1484px) / 2));
  color: #fff;
  transition: color 0.5s ease, border-bottom-color 0.5s ease;
}

/* Dynamically switched by JS when background luminance is high */
.header--dark {
  color: #000;
  border-bottom-color: rgba(0, 0, 0, 0.35);
}

.site-name {
  font-family: 'Switzer', sans-serif;
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -2.16px;
  color: inherit;
  text-decoration: none;
  line-height: normal;
}

.header-nav {
  display: flex;
  gap: 51px;
  align-items: center;
}

.header-nav a {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -1.6px;
  color: inherit;
  text-decoration: none;
  line-height: normal;
}

.header-nav a:hover { text-decoration: underline; }

/* ─────────────────────────
   FULL-BLEED VIDEO
───────────────────────── */
.hero-video-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
