/* Random Riot — palette derived from the band's logo and stage lighting:
   near-black navy ground, electric blue primary, ember orange accent. */

/* Oswald, self-hosted (latin subset, variable weight). No external requests,
   nothing to break if Google Fonts changes a URL. */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("/fonts/oswald-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ground:      #05070d;
  --surface:     #0c111c;
  --surface-2:   #131b2b;
  --line:        #1f2a40;
  --line-bright: #2d3d5c;

  --blue:        #1b6fe0;
  --blue-bright: #4da3ff;
  --blue-dim:    #12457f;
  --blue-glow:   rgba(77, 163, 255, 0.35);

  --ember:       #ff7a1a;
  --ember-soft:  #ffa057;

  --text:        #eaf0fa;
  --text-muted:  #9aabc4;
  --text-faint:  #64748b;

  --radius:   14px;
  --radius-s: 8px;
  --maxw:     1120px;

  --font-display: "Oswald", "Arial Narrow", "Helvetica Neue", Impact, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--blue-bright); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ember-soft); }

:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ember); color: #0a0a0a; padding: 12px 20px;
  font-weight: 700; border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 7, 13, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 68px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.brand-text {
  font-family: var(--font-display);
  font-size: 1.28rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text);
}

.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: var(--text-muted); text-decoration: none;
  font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 9px 13px; border-radius: var(--radius-s);
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--blue-bright); background: rgba(27, 111, 224, .13); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block; padding: 13px 26px;
  font-weight: 700; font-size: .88rem; letter-spacing: .07em; text-transform: uppercase;
  border-radius: var(--radius-s); text-decoration: none; border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--ember) 0%, #e85d00 100%);
  color: #140a02; box-shadow: 0 6px 22px rgba(255, 122, 26, .28);
}
.btn-primary:hover { color: #140a02; box-shadow: 0 10px 30px rgba(255, 122, 26, .42); }
.btn-ghost { border-color: var(--line-bright); color: var(--text); background: rgba(19, 27, 43, .5); }
.btn-ghost:hover { color: var(--text); border-color: var(--blue); background: rgba(27, 111, 224, .16); }

/* ---------- Hero ---------- */

.hero {
  position: relative; min-height: min(78vh, 640px);
  display: flex; align-items: center;
  overflow: hidden; border-bottom: 1px solid var(--line);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 45%, rgba(27, 111, 224, .30) 0%, transparent 70%),
    linear-gradient(180deg, rgba(5,7,13,.80) 0%, rgba(5,7,13,.55) 45%, rgba(5,7,13,.97) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 72px; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 10vw, 6.2rem);
  line-height: .95; margin: 0 0 14px; letter-spacing: .02em; text-transform: uppercase;
  text-shadow: 0 0 42px var(--blue-glow), 0 3px 20px rgba(0,0,0,.85);
}
.hero .tagline {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3.4vw, 1.7rem);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-bright); margin: 0 0 22px;
  text-shadow: 0 0 26px var(--blue-glow);
}
.hero p.lede { font-size: 1.1rem; color: var(--text); max-width: 46ch; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */

.section { padding: 76px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: var(--surface); }

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.7rem);
  text-transform: uppercase; letter-spacing: .05em;
  margin: 0 0 8px; line-height: 1.1;
}
.section h2 .accent { color: var(--blue-bright); }
.section .sub { color: var(--text-muted); margin: 0 0 36px; font-size: 1.03rem; }

.page-head { padding: 60px 0 8px; }
.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 3.8rem);
  text-transform: uppercase; letter-spacing: .04em; margin: 0 0 10px; line-height: 1.05;
}
.page-head p { color: var(--text-muted); margin: 0; font-size: 1.06rem; max-width: 62ch; }

/* ---------- Shows ---------- */

.shows { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }

.show {
  display: grid; grid-template-columns: 96px 1fr auto;
  gap: 22px; align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius); padding: 20px 24px;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.show:hover {
  transform: translateX(3px);
  border-color: var(--line-bright); border-left-color: var(--ember);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .4);
}

.show-date { text-align: center; line-height: 1; }
.show-date .mon {
  display: block; font-family: var(--font-display); font-size: .82rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ember); margin-bottom: 5px;
}
.show-date .day { display: block; font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; }
.show-date .yr { display: block; font-size: .74rem; color: var(--text-faint); margin-top: 5px; letter-spacing: .1em; }

.show-info h3 { margin: 0 0 5px; font-size: 1.22rem; font-weight: 700; line-height: 1.25; }
.show-info .meta { margin: 0; color: var(--text-muted); font-size: .95rem; }
.show-info .meta span + span::before { content: "·"; margin: 0 9px; color: var(--text-faint); }
.show-note { margin: 9px 0 0; font-size: .9rem; color: var(--ember-soft); }

.show-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.show-actions .btn { padding: 10px 18px; font-size: .78rem; }

.show-past { border-left-color: var(--line-bright); opacity: .62; }
.show-past .show-date .mon { color: var(--text-faint); }

@media (max-width: 720px) {
  .show { grid-template-columns: 66px 1fr; gap: 16px; padding: 17px 18px; }
  .show-date .day { font-size: 1.95rem; }
  .show-actions { grid-column: 1 / -1; justify-content: flex-start; }
}

.empty-state {
  background: var(--surface-2); border: 1px dashed var(--line-bright);
  border-radius: var(--radius); padding: 46px 30px; text-align: center;
}
.empty-state p { margin: 0 0 8px; color: var(--text-muted); font-size: 1.06rem; }
.empty-state p:last-child { margin-bottom: 0; }

/* ---------- Media grids ---------- */

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.embed {
  position: relative; padding-top: 56.25%;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.spotify-embed {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface-2);
}
.spotify-embed iframe { display: block; width: 100%; border: 0; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.photo-grid a {
  display: block; border-radius: var(--radius-s); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface-2); line-height: 0;
  transition: border-color .18s ease, transform .18s ease;
}
.photo-grid a:hover { border-color: var(--blue); transform: scale(1.015); }
.photo-grid img { width: 100%; height: 200px; object-fit: cover; }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(3, 5, 10, .95);
  display: none; align-items: center; justify-content: center; padding: 28px;
}
.lightbox[open], .lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 86vh; width: auto; border-radius: var(--radius-s); }
.lightbox-close, .lightbox-nav {
  position: absolute; background: rgba(19, 27, 43, .9);
  border: 1px solid var(--line-bright); color: var(--text);
  width: 50px; height: 50px; border-radius: 50%;
  font-size: 1.5rem; cursor: pointer; display: grid; place-items: center; line-height: 1;
}
.lightbox-close:hover, .lightbox-nav:hover { border-color: var(--ember); color: var(--ember); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-nav.prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Cards ---------- */

.card {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.card h3 { margin: 0 0 8px; font-size: 1.18rem; }
.card p { margin: 0 0 10px; color: var(--text-muted); }
.card p:last-child { margin-bottom: 0; }

.merch-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.merch-card img { width: 100%; height: 220px; object-fit: cover; background: var(--surface); }
.merch-body { padding: 20px 22px 24px; }
.merch-body h3 { margin: 0 0 4px; }
.merch-price { font-family: var(--font-display); font-size: 1.5rem; color: var(--ember); margin: 0 0 8px; }
.merch-price .at-show { font-family: var(--font-body); font-size: .8rem; color: var(--text-faint); margin-left: 8px; letter-spacing: 0; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: baseline; }
.contact-list .label {
  font-family: var(--font-display); font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-faint); min-width: 74px; flex-shrink: 0;
}
.contact-list .value { font-size: 1.1rem; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 46px 0 34px; margin-top: 0;
  color: var(--text-muted); font-size: .92rem;
}
.footer-grid { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.site-footer .nav a { padding: 6px 11px; }
.footer-legal { margin: 30px 0 0; color: var(--text-faint); font-size: .84rem; }
