/* The Disco Ship: a 70s space-age dance ship. Sunset-stripe livery, ship's-log structure. */
:root {
  --bg: #120d10;
  --bg-2: #1e1519;
  --ink: #f1e5cd;
  --dim: #a8977d;
  --rule: rgba(241, 229, 205, 0.16);
  --s1: #c8381f;   /* stripe red */
  --s2: #e5642a;   /* stripe orange */
  --s3: #ef9a34;   /* stripe amber */
  --s4: #f4c34b;   /* stripe mustard */
  --link: #f4c34b;
  --display: Fraunces, "Cooper Black", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --hull: Michroma, "Eurostile", "Microgramma", sans-serif;
  --maxw: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  /* a sparse, static starfield */
  background-color: var(--bg);
  background-image:
    radial-gradient(1px 1px at 23px 41px, #f1e5cd66 50%, transparent 51%),
    radial-gradient(1px 1px at 157px 113px, #f1e5cd40 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 271px 67px, #f1e5cd70 50%, transparent 51%),
    radial-gradient(1px 1px at 331px 191px, #f1e5cd33 50%, transparent 51%),
    radial-gradient(1px 1px at 89px 223px, #f4c34b55 50%, transparent 51%),
    radial-gradient(1px 1px at 211px 251px, #f1e5cd30 50%, transparent 51%);
  background-size: 360px 280px;
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--s4); outline-offset: 3px; }
h1, h2 { margin: 0; font-weight: 400; }
code { font-family: var(--mono); font-size: 0.9em; background: var(--bg-2); padding: 1px 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.log-date, .log-has, .feature-date, .facts, .tt-time, .dl-host, .count, .dj-meta, .sets-date, .sets-meta {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0;
}
.label { color: var(--s3); margin: 0; }
/* Hull lettering: wide, Eurostile-style caps used sparingly for labels and numbers. */
.hull { font-family: var(--hull); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.6; }

/* ---------- stripes ---------- */
.stripes { display: grid; }
.stripes i { display: block; height: 7px; }
.stripes i:nth-child(1) { background: var(--s1); }
.stripes i:nth-child(2) { background: var(--s2); }
.stripes i:nth-child(3) { background: var(--s3); }
.stripes i:nth-child(4) { background: var(--s4); }
.stripes.thin i { height: 3px; }

/* ---------- header / footer ---------- */
.top {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 28px 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 28px;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  font-size: 28px;
  font-variation-settings: "SOFT" 100, "opsz" 72;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.top nav { display: flex; gap: 22px; flex-wrap: wrap; }
.top nav a { color: var(--dim); text-decoration: none; font-weight: 500; }
.top nav a:hover { color: var(--ink); }
.top nav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--s2); text-decoration-thickness: 2px; text-underline-offset: 6px; }
main { max-width: var(--maxw); margin: 0 auto; padding: 0 28px 80px; }
.foot { margin-top: 40px; }
.foot p { max-width: var(--maxw); margin: 0 auto; padding: 18px 28px 28px; color: var(--dim); font-size: 14px; }
.foot .hull { color: var(--s3); margin-right: 10px; }

/* ---------- headings ---------- */
.masthead h1, .page-head h1, .event-head h1 {
  font-family: var(--display);
  font-weight: 900;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  letter-spacing: -0.025em;
  line-height: 0.95;
}
.sec {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-variation-settings: "SOFT" 100;
  font-size: 26px;
  margin-bottom: 14px;
}

/* ---------- home ---------- */
.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 400px);
  align-items: center;
  gap: 24px;
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--rule);
}
.masthead h1 { margin-top: 10px; }
.planet { width: 100%; height: auto; display: block; }
.masthead h1 { font-size: clamp(56px, 11vw, 132px); }
.tagline { font-size: 19px; color: #d9cbb0; max-width: 56ch; margin: 18px 0 0; }
.count { color: var(--dim); margin: 14px 0 0; }

.feature {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}
/* Viewscreen: a bezel like a porthole screen on the ship. */
.screen { display: block; padding: 7px; border: 1px solid var(--rule); border-radius: 22px; background: #0a0709; }
.screen > * { border-radius: 15px; overflow: hidden; }
.feature-img > img, .feature-img > .no-img { aspect-ratio: 16 / 9; border-radius: 15px; }
.feature-img img { width: 100%; object-fit: cover; display: block; transition: filter 0.3s ease; }
.feature-img:hover img { filter: brightness(1.08); }
.no-img { display: block; width: 100%; height: 100%; background: repeating-linear-gradient(180deg, var(--s1) 0 14px, var(--s2) 14px 28px, var(--s3) 28px 42px, var(--s4) 42px 56px); opacity: 0.25; }
.feature-text h2 {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "SOFT" 100, "opsz" 96;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 8px 0 6px;
}
.feature-text h2 a { color: var(--ink); text-decoration: none; }
.feature-text h2 a:hover { color: var(--s4); }
.feature-date { color: var(--dim); margin: 0 0 14px; }
.feature-text p { margin: 0 0 12px; }
.feature-lineup { color: #d9cbb0; }
.btn {
  display: inline-block;
  margin-top: 8px;
  padding: 11px 20px;
  background: var(--s2);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
}
.btn:hover { background: var(--s4); color: var(--bg); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.btn.small { padding: 7px 14px; font-size: 14px; margin-top: 0; }

/* ---------- come aboard ---------- */
.aboard {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px 40px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding: 26px 30px;
  border: 1px solid var(--rule);
  border-left: 6px solid var(--s2);
  background: var(--bg-2);
}
.aboard h2 { font-family: var(--display); font-weight: 800; font-variation-settings: "SOFT" 100; font-size: 30px; line-height: 1.1; margin: 4px 0 6px; }
.aboard p { margin: 0; color: #d9cbb0; }
.aboard .hull { color: var(--s3); }
.aboard-links { display: flex; gap: 12px; flex-wrap: wrap; }
.aboard-links .btn { margin-top: 0; }

.log { padding-top: 40px; }
.log-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.search { flex: 0 1 340px; }
.search input {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--dim);
  padding: 6px 2px;
  border-radius: 0;
}
.search input::placeholder { color: var(--dim); }
.search input:focus { outline: none; border-bottom-color: var(--s3); }

.log-list { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.log-list li { border-bottom: 1px solid var(--rule); }
.log-list a {
  display: grid;
  grid-template-columns: 48px 128px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 16px 4px;
  color: inherit;
  text-decoration: none;
}
.log-list a:hover { background: var(--bg-2); }
.log-list a:hover .log-title { color: var(--s4); }
.log-no { color: var(--s3); }
.log-thumb { aspect-ratio: 16 / 9; background: var(--bg-2); overflow: hidden; display: block; }
.log-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.log-thumb:empty { background: repeating-linear-gradient(180deg, #c8381f40 0 6px, #e5642a40 6px 12px, #ef9a3440 12px 18px, #f4c34b40 18px 24px); }
.log-main { display: grid; gap: 2px; }
.log-date { color: var(--dim); }
.log-title {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "SOFT" 100;
  font-size: 23px;
  line-height: 1.15;
}
.log-lineup { color: #cdbd9f; font-size: 15px; }
.log-has { color: var(--dim); text-align: right; white-space: nowrap; }
.empty { color: var(--dim); padding: 40px 0; }

/* ---------- video ---------- */
.yt {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #000;
  overflow: hidden;
}
.yt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-play {
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--s2);
  transition: background 0.15s ease, transform 0.15s ease;
}
.yt-play::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 19px;
  border-style: solid;
  border-width: 13px 0 13px 20px;
  border-color: transparent transparent transparent var(--bg);
}
.yt:hover .yt-play { background: var(--s4); transform: scale(1.06); }
.yt-short .yt-play { left: 12px; bottom: 12px; width: 44px; height: 44px; }
.yt-short .yt-play::after { left: 17px; top: 13px; border-width: 9px 0 9px 14px; }
.yt-frame { display: block; width: 100%; border: 0; background: #000; }
.yt-wide { aspect-ratio: 16 / 9; }
.yt-short { aspect-ratio: 9 / 16; }

/* ---------- event page ---------- */
.back { display: inline-block; margin: 26px 0 0; color: var(--dim); text-decoration: none; font-size: 15px; }
.back:hover { color: var(--ink); }
.event-head { padding: 22px 0 30px; }
.event-head h1 { font-size: clamp(44px, 7vw, 88px); margin-top: 10px; }
.facts { color: var(--dim); margin: 16px 0 0; }
.lede { font-size: 20px; color: #e2d5bb; max-width: 62ch; margin: 18px 0 0; }

.player { margin-bottom: 44px; }
.event-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.col-main { display: grid; gap: 44px; }
.col-side { display: grid; gap: 28px; }

.timetable { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.timetable li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.tt-time { color: var(--s3); }
.tt-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.tt-name {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "SOFT" 100;
  font-size: 26px;
  line-height: 1.15;
  color: var(--ink);
  text-decoration: none;
}
.tt-name:hover { color: var(--s4); }
.tt-genre { color: var(--dim); font-style: italic; }
.tt-socials { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 4px 14px; font-family: var(--mono); font-size: 13px; }
.tt-socials a { color: var(--dim); }
.tt-socials a:hover { color: var(--s4); }

/* ---------- hosted by ---------- */
.host-box { padding: 18px 20px; border: 1px solid var(--rule); background: var(--bg-2); }
.host-name { font-family: var(--display); font-weight: 700; font-variation-settings: "SOFT" 100; font-size: 24px; line-height: 1.15; margin: 4px 0 12px; }
.host-name a { color: var(--ink); text-decoration: none; }
.host-name a:hover { color: var(--s4); }
.host-links { display: flex; gap: 8px; flex-wrap: wrap; }

.prose p { margin: 0 0 14px; max-width: 66ch; color: #e2d5bb; }

.downloads { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.downloads li { border-bottom: 1px solid var(--rule); }
.downloads a { display: grid; gap: 2px; padding: 12px 4px; color: var(--ink); text-decoration: none; }
.downloads a:hover { background: var(--s2); color: var(--bg); }
.downloads a:hover .dl-host { color: var(--bg); }
.dl-label { font-weight: 600; }
.dl-host { color: var(--dim); }
.yt-out { margin: 0; font-size: 15px; }

.shorts { margin-top: 56px; }
.shorts-row .yt, .shorts-row .yt-frame { border-radius: 14px; }

/* ---------- photos ---------- */
.photos { margin-top: 56px; }
.photo-grid { columns: 3 260px; column-gap: 12px; }
.photo-grid a { display: block; margin: 0 0 12px; break-inside: avoid; color: var(--dim); text-decoration: none; }
.photo-grid img { display: block; width: 100%; height: auto; background: var(--bg-2); transition: filter 0.2s ease; }
.photo-grid a:hover img { filter: brightness(1.1); }
.photo-cap { display: block; padding: 6px 2px 0; font-size: 14px; }

.lightbox { max-width: none; max-height: none; width: 100vw; height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(10, 7, 9, 0.96); color: var(--ink); }
.lightbox::backdrop { background: rgba(10, 7, 9, 0.8); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; gap: 10px; justify-items: center; max-width: 92vw; }
.lightbox img { max-width: 92vw; max-height: 82vh; object-fit: contain; display: block; }
.lightbox figcaption { color: #d9cbb0; }
.lightbox button { position: fixed; font: inherit; color: var(--ink); background: var(--bg-2); border: 1px solid var(--rule); cursor: pointer; padding: 10px 16px; }
.lightbox button:hover { background: var(--s2); color: var(--bg); border-color: var(--s2); }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 16px; top: 16px; }
.lb-count { position: fixed; left: 20px; top: 22px; font-family: var(--mono); font-size: 13px; color: var(--dim); }
.shorts-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(170px, 210px);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}
.shorts-row > * { scroll-snap-align: start; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; border-top: 1px solid var(--rule); padding-top: 22px; }
.pager a {
  display: grid;
  gap: 4px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "SOFT" 100;
  font-size: 22px;
  line-height: 1.15;
}
.pager a:hover { color: var(--s4); }
.pager .older { text-align: right; }

/* ---------- DJs ---------- */
.page-head { padding: 22px 0 32px; }
.page-head h1 { font-size: clamp(48px, 8vw, 96px); }
main > .page-head:first-child { padding-top: 48px; }
.page-head h1 { margin-top: 8px; }
.dj-list { list-style: none; margin: 0; padding: 0; columns: 2 320px; column-gap: 48px; }
.dj-list li { break-inside: avoid; border-bottom: 1px solid var(--rule); }
.dj-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 2px; color: var(--ink); text-decoration: none; }
.dj-list a:hover .dj-name { color: var(--s4); }
.dj-name { font-family: var(--display); font-weight: 700; font-variation-settings: "SOFT" 100; font-size: 22px; }
.dj-meta { color: var(--dim); white-space: nowrap; }
.dj-bio { margin-top: 18px; }
.dj-socials { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 0; }
.dj .sec { margin-top: 8px; }
.sets { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.sets li { display: grid; grid-template-columns: 48px 120px minmax(0, 1fr) auto; gap: 18px; align-items: baseline; padding: 14px 2px; border-bottom: 1px solid var(--rule); }
.sets-date, .sets-meta { color: var(--dim); }
.sets a { color: var(--ink); font-weight: 600; text-decoration: none; }
.sets a:hover { color: var(--s4); }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 22px; }
  .masthead { grid-template-columns: 1fr; }
  .planet { order: -1; width: min(260px, 70%); justify-self: end; margin-bottom: -40px; }
  .event-cols { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 640px) {
  .top, main, .foot p { padding-left: 18px; padding-right: 18px; }
  .masthead { padding-top: 36px; }
  .log-list a { grid-template-columns: 38px 96px minmax(0, 1fr); gap: 12px; }
  .log-has { grid-column: 3; text-align: left; white-space: normal; }
  .log-title { font-size: 19px; }
  .timetable li { grid-template-columns: 70px minmax(0, 1fr); }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .aboard { padding: 22px; }
  .sets li { grid-template-columns: 38px minmax(0, 1fr); gap: 4px 12px; }
  .sets li > :nth-child(n+3) { grid-column: 2; }
  .pager { grid-template-columns: 1fr; }
  .pager .older { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---------- crew area ---------- */
.crew-note p { margin: 0 0 12px; color: #d9cbb0; font-size: 15px; }
.crew-link { float: right; color: var(--dim); }
.crew-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.crew-night { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.crew-night a { color: var(--ink); font-family: var(--display); font-weight: 700; font-variation-settings: "SOFT" 100; font-size: 24px; text-decoration: none; }
.crew-night a:hover { color: var(--s4); }
.crew-list li:target .crew-night a { color: var(--s4); }
