/* ==========================================================
   One font, two sizes. Change the look here.
   ========================================================== */
:root {
  --bg: #e1e1e1;       /* page background */
  --grey: #717171;     /* name, headings, menu */
  --olive: #727750;    /* content text */
  --line: rgba(113, 113, 113, .35);

  --font: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --size: 22px;
  --size-lg: 44px;     /* menu items only */
  --leading: 1.2;
}

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

html, body { height: 100%; }

/* Hide scrollbars everywhere (pages still scroll) */
html { scrollbar-width: none; -ms-overflow-style: none; }
::-webkit-scrollbar { display: none; width: 0; height: 0; }

body {
  background: var(--bg);
  color: var(--olive);
  font-family: var(--font);
  font-size: var(--size);
  line-height: var(--leading);
  font-weight: 500;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Every element uses the same size */
h1, h2, h3, p, li, a, button, span { font: inherit; }

a { color: inherit; text-decoration: none; }

/* ---------- Header (centred name + hamburger) ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  padding: 18px 20px;
  z-index: 30;
  pointer-events: none;
  background: var(--bg);
}
.site-header > * { pointer-events: auto; }

.logo { justify-self: center; color: var(--grey); }
.logo img { height: 48px; display: block; }

/* Hamburger -> X (same button, so nothing jumps) */
.burger {
  position: relative;
  width: 48px; height: 48px;
  background: none; border: 0; cursor: pointer;
}
.burger span {
  position: absolute; left: 11px; right: 11px; top: 50%;
  height: 2px; margin-top: -1px;
  background: var(--grey); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, background .2s;
}
.burger span:nth-child(1) { transform: translateY(-7px); }
.burger span:nth-child(3) { transform: translateY(7px); }
.menu-open .burger span:nth-child(1) { transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: rotate(-45deg); }

/* Homepage: white name + menu over the photo, no header bar */
html:not(.menu-open) .home .site-header { background: transparent; }
html:not(.menu-open) .home .logo { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
html:not(.menu-open) .home .burger span { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4); }

/* ---------- Full-screen menu ---------- */
.menu {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 20;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  padding: 90px 24px;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.menu.open { opacity: 1; visibility: visible; }
.menu a {
  color: var(--grey);
  font-size: min(var(--size-lg), 10vw);
  line-height: 1.15;
  transition: color .15s;
}
.menu a:hover, .menu a[aria-current="page"] { color: var(--olive); }

html.menu-open { overflow: hidden; }

/* ---------- Social icons (fixed footer on every page) ---------- */
.socials {
  position: fixed; left: 0; right: 0; bottom: 0;
  padding: 12px 0 20px;
  z-index: 25;
  background: var(--bg);
  display: flex; gap: 8px; justify-content: center;
}
html:not(.menu-open) .home .socials { background: transparent; }
.socials a {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--grey);
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s;
}
.socials svg { width: 14px; height: 14px; fill: var(--bg); }
html:not(.menu-open) .home .socials a { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
html:not(.menu-open) .home .socials svg { fill: #111; }
.socials a:hover { transform: scale(1.1); }
.socials a.no-link { cursor: default; }
.socials a.no-link:hover { transform: none; }

/* ---------- Homepage hero ---------- */
.hero {
  position: fixed; inset: 0;
  background: url("../images/hero.jpg") center / cover no-repeat;   /* default if the sheet has none */
}

/* Hero, logo and icons fade in once the sheet has loaded,
   so the old image/text never flashes before the new one */
.hero, .logo, .socials { opacity: 0; transition: opacity .4s ease; }
.ready .hero, .ready .logo, .ready .socials { opacity: 1; }

/* ---------- Sub-pages ---------- */
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 24px 110px;   /* bottom space clears the footer icons */
}
.page.wide { max-width: 1240px; }
.page h1 { color: var(--grey); margin-bottom: 40px; }

/* Section headings (Recording Credits, Upcoming, Past...) */
.page h2 { color: var(--grey); text-align: left; margin: 72px 0 12px; }
.page h2:first-of-type { margin-top: 0; }

.list { list-style: none; text-align: left; }
.list li {
  display: flex; flex-direction: column;
  padding: 12px 0 16px;
  border-bottom: 1px solid var(--line);
}
.list li:first-child { border-top: 1px solid var(--line); }
.list a { border-bottom: 1px solid currentColor; }
.muted { color: var(--grey); opacity: .8; }
.empty { opacity: .7; padding: 14px 0; text-align: left; }

.btn { align-self: flex-start; }
.btn:hover { color: var(--grey); }

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
}
.grid > * { min-width: 0; }
.card { display: block; text-align: left; }
.card img {
  width: 100%; aspect-ratio: 1; object-fit: cover; display: block;
  background: rgba(0,0,0,.08);
  margin-bottom: 10px;
}
.card .meta { color: var(--grey); font-weight: 400; }

/* ---------- Video thumbnails ---------- */
.video-thumb {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9; overflow: hidden;
  border: 0; padding: 0; cursor: pointer; background: #000;
  margin-bottom: 10px;
}
.video-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .3s ease, filter .3s ease;
}
.video-thumb:hover img { transform: scale(1.03); filter: brightness(.85); }
.play {
  position: absolute; top: 50%; left: 50%;
  width: 72px; height: 72px; margin: -36px 0 0 -36px;
  border: 3px solid #fff; border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.play::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  margin: -14px 0 0 -8px;
  border-style: solid; border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent #fff;
}
.video-title { text-align: left; }

/* ---------- Video lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(20, 20, 20, .95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-player {
  width: min(92vw, calc(85vh * 16 / 9));
  aspect-ratio: 16 / 9;
  background: #000;
}
.lightbox-player iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox-close {
  position: absolute; top: 18px; right: 20px;
  width: 48px; height: 48px;
  background: none; border: 0; cursor: pointer;
}
.lightbox-close span {
  position: absolute; left: 11px; right: 11px; top: 50%;
  height: 2px; margin-top: -1px; background: #fff; border-radius: 2px;
}
.lightbox-close span:first-child { transform: rotate(45deg); }
.lightbox-close span:last-child { transform: rotate(-45deg); }
html.lightbox-open { overflow: hidden; }

@media (max-width: 600px) {
  .grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
.logo { text-transform: uppercase; }
