@font-face {
  font-family: Goodman;
  src: url('assets/Goodman-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-display: swap;
}
:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: #000;
  color: #f4f3f1;
  font-synthesis: none;
  --muted: #a4a39f;
  --accent: #ff7945;
  --mix-size: 1.0625rem;
  --social-size: .875rem;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; position: relative; isolation: isolate; }
body:not(.has-events) { --mix-size: 1.25rem; --social-size: 1.0625rem; }
/* The original artwork provides the color and grain; only its edges fade. */
.atmosphere {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 50%;
  width: min(100%, 800px);
  height: 330px;
  transform: translateX(-50%);
  pointer-events: none;
  background: url('assets/reference-scene.jpg') center 42% / cover no-repeat;
  mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
}
.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #000, transparent 22%, transparent 78%, #000);
}
main { width: 88%; max-width: 458px; margin: auto; padding-top: 214px; }
h1 {
  font-family: Goodman, Arial, sans-serif;
  font-size: clamp(2rem, 12.4vw, 4.03rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 32px;
  letter-spacing: -.02em;
}
main > section + section { margin-top: 32px; padding-top: 24px; border-top: 1px solid #ffffff18; }
main > section[hidden] + section { margin-top: 0; padding-top: 0; border-top: 0; }
h2 { font-size: .875rem; line-height: 1.5; font-weight: 400; color: var(--muted); margin: 0 0 12px; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.title { display: block; overflow-wrap: anywhere; }
.meta { display: block; color: var(--muted); font-size: 1rem; line-height: 1.55; overflow-wrap: anywhere; }
.action {
  font-size: .875rem;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: #ffffff55;
  text-underline-offset: 4px;
  transition: color .18s, text-decoration-color .18s;
}
.event {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px 20px;
}
.event + .event { margin-top: 28px; }
.event .title { grid-column: 1 / -1; font-size: 2.125rem; line-height: 1.15; font-weight: 500; letter-spacing: -.025em; }
.details { min-width: 0; }
.details .meta:first-child { color: #d8d6d2; }
.event .action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 10rem;
  padding: 10px 18px;
  border-radius: 2px;
  background: var(--accent);
  color: #17100d;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .18s;
}
#mix { display: grid; gap: 20px; }
.mix {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 6px 22px;
  min-height: 44px;
}
.mix .title { grid-column: 1; grid-row: 1; font-size: var(--mix-size); line-height: 1.45; color: #d8d6d2; }
.mix .meta { grid-column: 1 / -1; grid-row: 2; font-size: .875rem; }
.mix .action { grid-column: 2; grid-row: 1; color: var(--muted); }
#links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 24px;
  margin-top: 28px;
  padding-top: 12px;
  border-top: 1px solid #ffffff18;
}
.link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--muted); font-size: var(--social-size); transition: color .18s; }
body:not(.has-events) .link { color: #d8d6d2; }
.link img { width: 1.25em; height: 1.25em; flex: none; filter: invert(1); opacity: .8; }
.link span { font-size: inherit; line-height: 1.5; overflow-wrap: anywhere; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 22px; padding-bottom: 24px; }
footer p { margin: 0; font-size: .875rem; line-height: 1.5; color: #92918d; }
#disco-ball, #preview-toggle { flex: none; font-size: 1.5rem; line-height: 1; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
#preview-toggle { background: none; border: 0; color: inherit; cursor: pointer; padding: 6px; }
#status, noscript p { font-size: .875rem; color: var(--muted); line-height: 1.6; margin: 0; }
#status { margin-top: 20px; }
[hidden] { display: none !important; }
@media (hover: hover) {
  .event:hover .action { background: #ff956c; }
  .mix:hover .action { color: var(--accent); text-decoration-color: var(--accent); }
  .link:hover { color: #fff; }
}
.mix:focus-visible .action { color: var(--accent); }
@media (max-width: 560px) {
  main { padding-top: 178px; }
  .atmosphere { height: 278px; background-position: center 38%; }
  .atmosphere::after { background: none; }
  .event .title { font-size: 2rem; }
}
@media (max-width: 340px) {
  main { padding-top: 156px; }
  .atmosphere { height: 248px; }
  .event { column-gap: 12px; }
  .event .action { padding-inline: 14px; }
  .mix { column-gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .link, .action, .event .action { transition: none; }
}
