/* Neon theme: dark, glowing accent. Plain CSS, system fonts, no external requests. */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #090b14;
  --surface: #12152a;
  --text: #e9ebf8;
  --accent: #00e5ff;
  --font-heading: system-ui, sans-serif;
  --font-body: system-ui, sans-serif;
  --radius: 4px;
  --space: 1;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  /* Derived from the theme options, so changing a colour keeps these in step. */
  --line: color-mix(in srgb, var(--text) 16%, var(--bg));
  --muted: color-mix(in srgb, var(--text) 62%, var(--bg));
}

h1, h2, .brand { font-family: var(--font-heading); }

a { color: var(--accent); }
img { max-width: 100%; display: block; }

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.brand {
  color: var(--text);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 0 0 12px var(--accent);
}
.site-header nav { display: flex; gap: 1.25rem; }
.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
}
.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 60vh;
  padding: 4rem 1.25rem;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 120%, var(--surface), var(--bg) 70%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.hero-inner { position: relative; max-width: 46rem; }
.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 0 24px var(--accent);
}
.hero p { margin: 1rem 0 0; font-size: 1.15rem; color: var(--text); }

.block { max-width: var(--width, 62rem); margin: 0 auto; padding: calc(3.5rem * var(--space)) 1.25rem; }
.block h2 {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.block h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin-top: 0.6rem;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.prose { max-width: 42rem; font-size: 1.05rem; }
.prose p { margin: 0 0 1rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
}
.grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}
.panel {
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.panel p { margin: 0 0 0.6rem; }
.address { white-space: pre-line; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 0.35rem 0; text-align: left; font-weight: 400; }
.hours th { color: var(--muted); }
.hours td { text-align: right; }

.site-footer {
  padding: 2rem 1.25rem;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.site-footer p { margin: 0; }

/* Layout variants. The theme's layout options put these classes on <body>.
   With no class set, the rules above apply (header left, photo behind text, grid). */
.header-centred .site-header { flex-direction: column; justify-content: center; text-align: center; }

.hero-split .hero,
.hero-stacked .hero {
  min-height: 0;
  max-width: var(--width, 62rem);
  margin: 0 auto;
  padding: calc(3.5rem * var(--space)) 1.25rem;
  background: none;
}
.hero-split .hero {
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 2rem;
  place-items: center start;
  text-align: left;
}
.hero-stacked .hero { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.hero-split .hero-bg,
.hero-stacked .hero-bg {
  position: static;
  order: 2;
  height: auto;
  aspect-ratio: 4 / 3;
  opacity: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hero-stacked .hero-bg { aspect-ratio: 16 / 9; }
.hero-split .hero h1,
.hero-stacked .hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); }

.gallery-large .grid { grid-template-columns: repeat(auto-fill, minmax(min(22rem, 100%), 1fr)); }
.gallery-strip .grid { grid-template-columns: 1fr; }
.gallery-strip .grid img { aspect-ratio: 16 / 9; }

/* Audio */
.audio-intro { max-width: 42rem; margin: 0 0 1.5rem; white-space: pre-line; }
.audio-group + .audio-group { margin-top: 2.25rem; }
.audio-group h3 { margin: 0 0 0.75rem; font-family: var(--font-heading); font-size: 1.2rem; }
.tracks { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.track {
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.track-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 1rem; }
.track-title { font-weight: 600; }
.track-year { color: var(--muted); font-size: 0.9rem; }
.track-note { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.95rem; white-space: pre-line; }
.track audio { display: block; width: 100%; height: 2.5rem; margin-top: 0.75rem; }
.track-download { display: inline-block; margin-top: 0.5rem; font-size: 0.9rem; }
.audio-grid .tracks { grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr)); }

/* Image library and documents */
.lib-intro { max-width: 42rem; margin: 0 0 1.5rem; white-space: pre-line; }
.lib-group + .lib-group { margin-top: 2.25rem; }
.lib-group h3 { margin: 0 0 0.75rem; font-family: var(--font-heading); font-size: 1.2rem; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); gap: 1rem; }
.shots figure { margin: 0; }
.shots a { display: block; }
.shots img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.shots figcaption { margin-top: 0.4rem; font-size: 0.9rem; }
.shots figcaption span { display: block; color: var(--muted); white-space: pre-line; }
.gallery-large .shots { grid-template-columns: repeat(auto-fill, minmax(min(22rem, 100%), 1fr)); }
.gallery-strip .shots { grid-template-columns: 1fr; }
.gallery-strip .shots img { aspect-ratio: 16 / 9; }
.docs { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.doc {
  padding: 0.85rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.doc-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 1rem; }
.doc-head a { font-weight: 600; }
.doc-meta { color: var(--muted); font-size: 0.85rem; }
.doc-note { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.95rem; white-space: pre-line; }

/* Keep room for the scrollbar on every page, so content does not shift
   sideways between short pages and long ones. */
html { overflow-y: scroll; }
@supports (scrollbar-gutter: stable) {
  html { overflow-y: auto; scrollbar-gutter: stable; }
}

/* Text flowed across columns, and the Columns section. Both drop to fewer
   columns on narrow screens. */
.prose li { break-inside: avoid; }
@media (min-width: 48rem) {
  .text-cols-2 .prose, .text-cols-3 .prose { max-width: none; columns: 2; column-gap: 2.5rem; }
}
@media (min-width: 68rem) {
  .text-cols-3 .prose { columns: 3; }
}
.cols { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 40rem) {
  .cols { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 62rem) {
  .cols-3 { grid-template-columns: repeat(3, 1fr); }
  .cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.col {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.col img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 1rem; border-radius: var(--radius); }
.col h3 { margin: 0 0 0.4rem; font-family: var(--font-heading); font-size: 1.15rem; }
.col-text { color: var(--muted); }
.col-text p, .col-text ul, .col-text ol { margin: 0 0 0.6rem; }
.col-text ul, .col-text ol { padding-left: 1.2rem; text-align: left; }
.col-text > :last-child { margin-bottom: 0; }

/* Track cards: an optional picture, and in the grid layout the player sits at
   the bottom of its card so players line up across a row. */
.track { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0.6rem 1rem; }
.track-info { display: flow-root; flex: 1; min-width: 0; }
.track-art { float: left; width: 4.5rem; height: 4.5rem; margin: 0.15rem 1rem 0.25rem 0; object-fit: cover; border-radius: var(--radius); }
.track audio { flex: 0 0 100%; margin-top: 0; }
.track-download { flex: 0 0 100%; margin-top: 0; }
.audio-grid .track { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
.audio-grid .track-info { flex: 0 0 auto; }
.audio-grid .track-art { float: none; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 0 0 0.75rem; }
/* "Track pictures: top right" — a small picture in the corner with the title and note flowing around it. */
.art-corner .track-art,
.art-corner.audio-grid .track-art {
  float: right;
  width: 6.5rem;
  height: 6.5rem;
  aspect-ratio: auto;
  margin: 0.15rem 0 0.5rem 1rem;
}
.audio-grid .track audio { flex: 0 0 auto; margin-top: auto; }
.audio-grid .track-download { flex: 0 0 auto; }

/* Text on panels uses a colour the build picks to stay readable on the panel
   colour (--on-surface), with a softer version of it for secondary text. */
.panel, .track, .col, .doc {
  color: var(--on-surface, var(--text));
  --muted: color-mix(in srgb, var(--on-surface, var(--text)) 72%, var(--surface));
}

/* Banner height setting. --hero-size is 1 at the standard height. */
.hero {
  min-height: calc(60vh * var(--hero-size, 1));
  padding-top: calc(4rem * var(--hero-size, 1));
  padding-bottom: calc(4rem * var(--hero-size, 1));
}
.hero-split .hero,
.hero-stacked .hero {
  min-height: 0;
  padding-top: calc(3.5rem * var(--space) * var(--hero-size, 1));
  padding-bottom: calc(3.5rem * var(--space) * var(--hero-size, 1));
}

/* A banner can override the site's height with its own. */
.hero-h-short { --hero-size: 0.45; }
.hero-h-medium { --hero-size: 0.7; }
.hero-h-tall { --hero-size: 1; }
.hero-h-full { --hero-size: 1.6; }

/* A banner can switch off the colour glow behind it. */
.hero.hero-fx-off { background: none; }
