/*
Theme Name: Trollywood
Theme URI: https://www.trollfest.com/
Author: TrollfesT
Description: The TrollfesT website in the style of the Trollywood album: sunset boulevard hero, Walk of Fame band stars, album pages with Spotify, gig tickets.
Version: 1.7.2
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trollywood
*/

/* Layout: one night-time boulevard. Sunset hero with the marquee, then the street:
   feature presentation, news posters, Walk of Fame band stars, admission tickets, credits roll. */
:root {
  --asphalt: #17110d;
  --asphalt-2: #221914;
  --pavement: #3a2f28;
  --sunset: #ee5a1f;
  --lava: #c8261b;
  --marquee: #ffc845;
  --walk: #eab196;
  --cream: #f6e7cb;
  --muted: #b8a48b;
  --line: rgba(246, 231, 203, .14);

  --display: "Bungee", "Impact", "Arial Black", sans-serif;
  --display-inline: "Bungee Inline", "Bungee", "Impact", sans-serif;
  --body: "Chivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Chivo Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; max-width: 100%; }
body {
  margin: 0;
  background: var(--asphalt);
  color: var(--cream);
  font: 400 17px/1.6 var(--body);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--marquee); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--marquee); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; text-wrap: balance; margin: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 9;
  background: rgba(23, 17, 13, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 0; } }
.nav .wrap { display: flex; align-items: center; gap: 20px; padding-block: 10px; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); font-family: var(--display); font-size: 18px; }
.nav-brand img { width: 34px; height: 34px; border-radius: 50%; }
.nav-links { display: flex; gap: 22px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { color: var(--cream); text-decoration: none; font: 700 13px var(--body); text-transform: uppercase; letter-spacing: .12em; }
.nav-links a:hover { color: var(--marquee); }
.nav-actions { display: flex; gap: 10px; flex-shrink: 0; }
/* Shop is a plain menu item on wider screens; on phones, where the menu items are hidden, it stays a button */
.nav-actions .nav-shop-mobile { display: none; }
/* tablets: the full menu plus two buttons only fits once the band name gives way to the star */
@media (max-width: 1080px) {
  .nav-brand span { display: none; }
  .nav-links { gap: 16px; }
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 400 15px/1 var(--display);
  text-decoration: none; padding: 14px 22px; border-radius: 4px;
  background: var(--lava); color: var(--cream);
  border: 2px solid var(--lava);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--sunset); border-color: var(--sunset); color: var(--cream); }
.btn.ghost { background: transparent; border-color: var(--cream); }
.btn.ghost:hover { background: var(--cream); color: var(--asphalt); }
.btn.small { padding: 10px 14px; font-size: 13px; }

/* Hero */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(23,17,13,0) 45%, rgba(23,17,13,.55) 75%, var(--asphalt) 100%),
    var(--hero-bg) center 22% / cover no-repeat;
  overflow: hidden;
}
.hero .wrap {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-block: 40px 0;
}
.hero-logo { width: min(760px, 100%); filter: drop-shadow(0 8px 18px rgba(0,0,0,.5)); }

.marquee {
  --bulb: var(--marquee);
  position: relative;
  margin-top: 18px;
  padding: 18px 34px 20px;
  background: #fff6e3;
  color: var(--lava);
  border-radius: 6px;
  box-shadow: 0 0 0 10px var(--lava), 0 0 0 12px #6d120c, 0 18px 40px rgba(0,0,0,.55);
  max-width: 100%;
}
.marquee::before {
  /* chasing bulbs around the sign */
  content: ""; position: absolute; inset: -10px; border-radius: 10px; pointer-events: none;
  background:
    radial-gradient(circle, var(--bulb) 0 3px, transparent 4px) 0 0 / 18px 10px repeat-x,
    radial-gradient(circle, var(--bulb) 0 3px, transparent 4px) 0 100% / 18px 10px repeat-x,
    radial-gradient(circle, var(--bulb) 0 3px, transparent 4px) 0 0 / 10px 18px repeat-y,
    radial-gradient(circle, var(--bulb) 0 3px, transparent 4px) 100% 0 / 10px 18px repeat-y;
  animation: chase 1.2s steps(2) infinite;
  filter: drop-shadow(0 0 4px var(--bulb));
}
@keyframes chase {
  to { background-position: 18px 0, -18px 100%, 0 -18px, 100% 18px; }
}
.marquee small { display: block; font: 700 12px var(--body); letter-spacing: .3em; color: #3b2a20; }
.marquee h1 { font-family: var(--display-inline); font-size: clamp(24px, 8.5vw, 84px); letter-spacing: .02em; color: var(--lava); }
.marquee p { margin: 4px 0 0; font: 700 13px var(--mono); color: #3b2a20; letter-spacing: .08em; }

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.hero-trolls { width: min(420px, 78%); margin-top: 18px; margin-bottom: -6px; filter: drop-shadow(0 18px 20px rgba(0,0,0,.6)); }

/* Sections */
.section { padding-block: 96px; }
.eyebrow {
  display: inline-block; font: 700 12px var(--mono); letter-spacing: .22em; text-transform: uppercase;
  color: var(--marquee); margin-bottom: 14px;
}
.section-title { font-size: clamp(34px, 5vw, 58px); color: var(--cream); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 40px; }
.section-head p { margin: 0; color: var(--muted); max-width: 42ch; }
.section-head .more { font: 700 13px var(--body); letter-spacing: .1em; text-transform: uppercase; }

/* Feature presentation */
.feature { background: radial-gradient(ellipse at 20% 0%, rgba(238,90,31,.22), transparent 60%), var(--asphalt); }
.feature .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.cover {
  border-radius: 4px; box-shadow: 0 30px 60px rgba(0,0,0,.6), 0 0 0 1px var(--line);
  transform: rotate(-2deg);
}
.feature-copy { min-width: 0; }
.feature-copy h2 { font-size: clamp(40px, 6vw, 72px); color: var(--sunset); }
.feature-copy .lede { font-size: 20px; margin: 20px 0 0; max-width: 46ch; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); margin: 30px 0; border: 1px solid var(--line); }
.facts div { background: var(--asphalt-2); padding: 14px 16px; }
.facts dt { font: 700 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font: 400 17px var(--display); color: var(--cream); }
.feature-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* News posters */
.news { background: var(--asphalt-2); }
.posters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.poster {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--asphalt); border: 1px solid var(--line); border-top: 6px solid var(--sunset);
  padding: 22px 20px 24px; text-decoration: none; color: var(--cream);
  transition: transform .2s ease, border-color .2s ease;
}
.poster:hover { transform: translateY(-4px); border-top-color: var(--marquee); color: var(--cream); }
.poster time { font: 700 12px var(--mono); color: var(--marquee); letter-spacing: .1em; text-transform: uppercase; }
.poster h3 { font-size: 20px; line-height: 1.15; overflow-wrap: anywhere; }
.poster p { margin: 0; color: var(--muted); font-size: 15px; }
.poster .more { margin-top: auto; font: 700 13px var(--body); color: var(--sunset); letter-spacing: .08em; text-transform: uppercase; }
.poster.top { grid-column: span 2; background: linear-gradient(135deg, rgba(200,38,27,.35), transparent 70%), var(--asphalt); }
.poster.top h3 { font-size: 30px; }

/* Band: Walk of Fame */
.band-photo { border-radius: 4px; box-shadow: 0 0 0 1px var(--line); margin-bottom: 48px; width: 100%; }
/* slabs: 4 per row on desktop, the short row centred like a stretch of pavement */
.walk { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; }
.tile { flex: 0 0 calc((100% - 9px) / 4); padding: 26px 16px 22px; text-align: center; min-width: 0; background: var(--pavement); }
.star {
  width: 130px; max-width: 100%; height: auto; margin: 0 auto 14px;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.45));
}
.tile h3 { font-size: 16px; color: var(--walk); overflow-wrap: anywhere; }
.tile p { margin: 4px 0 0; font: 400 13px var(--mono); color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
a.tile { color: inherit; text-decoration: none; transition: background .2s ease; }
a.tile .star { transition: transform .25s ease; }
a.tile:hover { background: #4a3c32; }
a.tile:hover .star { transform: rotate(-8deg) scale(1.06); }
.tile-cue { display: inline-block; margin-top: 12px; font: 700 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--marquee); border-bottom: 1px solid currentColor; }

/* Gigs: tickets */
.gigs { background: linear-gradient(180deg, var(--asphalt) 0%, #2a120c 100%); }
.tickets { display: grid; gap: 20px; }
.ticket {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: stretch;
  background: var(--marquee); color: var(--asphalt); border-radius: 8px;
  position: relative; overflow: hidden;
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; top: 50%; width: 28px; height: 28px; border-radius: 50%;
  background: #24100b; transform: translateY(-50%);
}
.ticket::before { left: -14px; }
.ticket::after { right: -14px; }
.ticket-date { padding: 26px 30px; border-right: 3px dashed rgba(23,17,13,.4); text-align: center; }
.ticket-date b { display: block; font: 400 56px/1 var(--display); }
.ticket-date span { font: 700 13px var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.ticket-info { padding: 24px 30px; min-width: 0; }
.ticket-info small { font: 700 12px var(--mono); letter-spacing: .26em; color: var(--lava); text-transform: uppercase; }
.ticket-info h3 { font-size: clamp(26px, 4vw, 40px); margin-top: 6px; }
.ticket-info p { margin: 6px 0 0; font-weight: 700; }
.ticket-cta { display: flex; align-items: center; padding: 24px 34px; border-left: 3px dashed rgba(23,17,13,.4); }
.ticket-cta .btn { background: var(--asphalt); border-color: var(--asphalt); }
.gigs .note { margin-top: 20px; color: var(--muted); }
/* Tour archive teaser: the whole card links to Past Gigs */
.archive-teaser {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center;
  margin-top: 24px; padding: 20px 24px; border-radius: 8px; text-decoration: none; color: var(--cream);
  background: linear-gradient(100deg, rgba(238,90,31,.22), transparent 55%), var(--asphalt-2);
  border: 1px solid var(--line); transition: border-color .15s ease, transform .15s ease;
}
.archive-teaser:hover { border-color: var(--marquee); transform: translateY(-2px); color: var(--cream); }
.teaser-stats { display: flex; gap: 20px; }
.teaser-stats > span { display: flex; flex-direction: column; font: 700 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.teaser-stats b { font: 400 30px/1 var(--display); color: var(--sunset); letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.teaser-text { min-width: 0; }
.teaser-text b { display: block; font: 400 18px/1.2 var(--display); }
.teaser-text span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }
.teaser-cta { font: 400 14px var(--display); color: var(--marquee); white-space: nowrap; }
@media (max-width: 760px) {
  .archive-teaser { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px; }
  .teaser-stats b { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .archive-teaser { transition: none; } .archive-teaser:hover { transform: none; } }
/* Bandsintown: a torn-off ticket stub under the tickets, in Bandsintown's teal so it reads as their service */
.bit {
  --bit-teal: #00cec8;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center;
  margin-top: 24px; padding: 18px 22px;
  border: 2px dashed rgba(255, 200, 69, .45); border-radius: 8px; background: rgba(0, 0, 0, .25);
}
.bit-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--bit-teal); color: var(--asphalt); }
.bit-text { min-width: 0; }
.bit-text b { display: block; font: 400 18px/1.2 var(--display); color: var(--cream); }
.bit-text span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }
.btn.bit-btn { background: var(--bit-teal); border-color: var(--bit-teal); color: var(--asphalt); }
.btn.bit-btn:hover { background: var(--cream); border-color: var(--cream); color: var(--asphalt); }
@media (max-width: 760px) {
  .bit { grid-template-columns: auto minmax(0, 1fr); padding: 16px; }
  .bit-btn { grid-column: 1 / -1; justify-content: center; }
}

/* Discography: credits roll */
.disco .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 56px; align-items: start; }
.disco-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 40px; }
.disco-list li { break-inside: avoid; display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.disco-list a { color: var(--cream); text-decoration: none; font-weight: 700; }
.disco-list a:hover { color: var(--marquee); }
.disco-list span { font: 400 14px var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.disco-list li.new a { color: var(--sunset); }
.trolls-side { width: 100%; max-width: 380px; margin-top: 40px; }

/* Contact: end credits */
.credits { background: var(--asphalt-2); }
.credits .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 48px; align-items: center; text-align: left; }
.credit-col { min-width: 0; display: grid; gap: 26px; }
.credit-col h3 { font: 700 12px var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--marquee); margin-bottom: 6px; }
.credit-col p { margin: 0; }
.credit-col .role { color: var(--muted); }
.credits .credit-col a, .credits .title-link {
  color: inherit; text-decoration: underline; text-decoration-color: var(--line);
  text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .15s ease, text-decoration-color .15s ease;
}
.credits .credit-col a:hover, .credits .title-link:hover { color: var(--marquee); text-decoration-color: currentColor; }
.credits .title-link { text-decoration-thickness: 3px; text-underline-offset: 8px; }
/* the artwork's circle is larger than this frame, so its white surround never shows */
.producer-frame {
  position: relative; display: block; overflow: hidden;
  width: 240px; max-width: 100%; aspect-ratio: 1; margin: 0 auto;
  border-radius: 50%; background: #0b3f8f;
  box-shadow: 0 0 0 4px var(--marquee), 0 16px 40px rgba(0,0,0,.5);
}
.producer { position: absolute; width: 128%; max-width: none; left: -14%; top: -12.5%; }
.producer-wrap { text-align: center; margin: 0; }
.producer-wrap figcaption { font: 400 13px var(--mono); color: var(--muted); margin-top: 14px; }

/* Footer */
.site-footer { position: relative; border-top: 1px solid var(--line); overflow: hidden; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 28px 12px; color: var(--muted); font-size: 14px; }
.site-footer .socials { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer .socials a { color: var(--cream); text-decoration: none; font-weight: 700; }
.site-footer .socials a:hover { color: var(--marquee); }
.footer-rats { width: min(320px, 70%); margin: 8px auto 24px; }

/* Detail pages (member, album, news): the boulevard behind a dark veil */
.detail {
  background:
    linear-gradient(180deg, rgba(23,17,13,.88) 0%, var(--asphalt) 60%),
    var(--hero-bg) center top / cover no-repeat, var(--asphalt);
  min-height: 70vh;
}
.detail-bar { border-bottom: 1px solid var(--line); }
.detail-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.detail-back {
  font: 700 13px var(--body); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  color: var(--cream); border: 1px solid var(--line); border-radius: 4px; padding: 10px 14px;
}
.detail-back:hover { border-color: var(--marquee); color: var(--marquee); }
.detail-count { font: 700 12px var(--mono); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.detail-body .wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; padding-block: 48px 40px; }
.detail-nav .wrap { display: flex; justify-content: space-between; gap: 12px; padding-block: 8px 56px; }
.detail-nav a { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--cream); font: 400 16px var(--display); max-width: 48%; }
.detail-nav a small { font: 700 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--marquee); }
.detail-nav a:hover { color: var(--marquee); }
.detail-nav a.next { text-align: right; margin-left: auto; }

/* Member profile */
.profile-photo { position: relative; max-width: 440px; width: 100%; justify-self: center; margin: 0; }
.profile-photo img.portrait { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 4px var(--marquee), 0 30px 60px rgba(0,0,0,.55); }
.profile-photo img.badge { position: absolute; right: -28px; bottom: -28px; width: 120px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.5)); }
.profile-info { min-width: 0; }
.profile-info h1 { font-size: clamp(34px, 5vw, 64px); color: var(--walk); overflow-wrap: anywhere; }
.profile-role { margin: 10px 0 0; font: 400 22px var(--display); color: var(--sunset); }
.profile-facts { margin: 32px 0 0; display: grid; border-top: 1px solid var(--line); }
.profile-facts div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.profile-facts dt { font: 700 12px/1.9 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.profile-facts dd { margin: 0; font-size: 18px; font-weight: 700; }
.profile-facts dd.soon { font-weight: 400; font-style: italic; color: var(--muted); }
.profile-follow { margin-top: 28px; }
.profile-follow h2 { font: 700 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.profile-social { display: flex; flex-wrap: wrap; gap: 10px; }
.social-link {
  font: 400 13px/1 var(--display); padding: 11px 16px; border-radius: 999px;
  border: 2px solid var(--marquee); color: var(--marquee); text-decoration: none;
}
a.social-link:hover { background: var(--marquee); color: var(--asphalt); }
.social-link.soon { border-color: var(--line); color: var(--muted); cursor: default; }
.profile-social-note { margin: 10px 0 0; font-size: 14px; font-style: italic; color: var(--muted); }

/* Album page */
.album-cover { width: 100%; max-width: 440px; justify-self: center; align-self: start; margin: 0; }
.album-cover img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px rgba(0,0,0,.55); }
.album-info { min-width: 0; align-self: start; }
.album-info h1 { font-size: clamp(32px, 4.6vw, 60px); color: var(--cream); overflow-wrap: anywhere; }
.album-year { margin: 10px 0 0; font: 400 22px var(--display); color: var(--sunset); }
.album-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.spotify-embed { display: block; width: 100%; height: 352px; border: 0; border-radius: 12px; margin-top: 28px; background: var(--asphalt-2); }
.spotify-none {
  margin-top: 28px; border-radius: 12px; padding: 18px 20px;
  background: linear-gradient(135deg, #2b211b, #191310); border: 1px solid var(--line);
}
.spotify-none b { display: block; font: 400 16px var(--display); }
.spotify-none span { font-size: 13px; color: var(--muted); }
.album-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; margin-top: 32px; }
.album-cols h2 { font: 700 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.tracklist { list-style: none; margin: 0; padding: 0; counter-reset: trk; }
.tracklist li { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.tracklist li:not(.side)::before { counter-increment: trk; content: counter(trk, decimal-leading-zero); font: 400 13px/1.7 var(--mono); color: var(--marquee); min-width: 22px; }
.tracklist li.side { font: 700 11px var(--mono); letter-spacing: .14em; color: var(--sunset); border-bottom: 0; padding-top: 14px; counter-reset: trk; text-transform: uppercase; }
.tracklist li em { margin-left: auto; font: 400 13px var(--mono); font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.credits-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.credits-list li.head { color: var(--marquee); font: 700 11px var(--mono); letter-spacing: .14em; margin-top: 8px; text-transform: uppercase; }
.soon-text { color: var(--muted); font-style: italic; margin: 0; }

/* News posts, pages and archives */
.article > .wrap { max-width: 820px; padding-block: 48px 72px; }
.article h1 { font-size: clamp(32px, 5vw, 56px); color: var(--cream); }
.article .meta { display: block; margin-top: 14px; font: 700 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--marquee); }
.article .featured { margin: 32px 0 0; border-radius: 4px; box-shadow: 0 0 0 1px var(--line); width: 100%; }
.entry { margin-top: 32px; font-size: 18px; line-height: 1.7; }
.entry > * { max-width: 100%; }
.entry h2, .entry h3, .entry h4 { margin: 1.6em 0 .5em; color: var(--marquee); }
.entry h2 { font-size: 28px; }
.entry h3 { font-size: 22px; }
.entry img, .entry iframe, .entry video { max-width: 100%; border-radius: 4px; }
.entry iframe { width: 100%; }
.entry blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--sunset); color: var(--muted); }
.entry a { color: var(--marquee); }
.entry table { width: 100%; border-collapse: collapse; }
.entry td, .entry th { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
/* Old tables (Past Gigs) carry fixed heights and widths from the old page builder; let them size to their content */
.table-scroll { overflow-x: auto; margin: 1.5em 0; }
.table-scroll table { height: auto !important; min-width: 640px; font-size: 15px; line-height: 1.45; }
.table-scroll tr, .table-scroll td, .table-scroll th { height: auto !important; width: auto !important; }
.table-scroll tr:first-child td { position: sticky; top: 0; background: var(--asphalt); }
.table-scroll td h3 { margin: 0; font: 700 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--marquee); }
.table-scroll td:empty { padding: 0; }
/* Old pages repeat their title as a heading in the text; the page title above already shows it */
.entry h1 { display: none; }
.archive-list .posters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.pagination .page-numbers { padding: 10px 14px; border: 1px solid var(--line); border-radius: 4px; color: var(--cream); text-decoration: none; font-weight: 700; }
.pagination .current { background: var(--marquee); color: var(--asphalt); border-color: var(--marquee); }

/* Past gigs archive: stats and year chart, sticky filters, gigs as ticket-stub rows in groups */
.archive-head { border-bottom: 1px solid var(--line); }
.archive-head .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 40px 28px; }
.archive-head h1 { font-size: clamp(40px, 7vw, 76px); margin-top: 4px; }
.archive-head .lede { margin: 12px 0 0; color: var(--muted); max-width: 56ch; }
.archive-stats { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.archive-stats .stat b { display: block; font: 400 clamp(28px, 4vw, 40px)/1 var(--display); color: var(--sunset); font-variant-numeric: tabular-nums; }
.archive-stats .stat span { font: 700 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.archive-years { overflow-x: auto; }
.years-chart { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(30px, 1fr); align-items: end; gap: 6px; min-width: 620px; height: 150px; padding-top: 18px; }
.ybar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; }
.ybar i { position: relative; display: block; width: 100%; min-height: 3px; background: var(--pavement); border-radius: 3px 3px 0 0; transition: background .15s; }
.ybar i::after { content: attr(data-n); position: absolute; top: -17px; left: 0; right: 0; text-align: center; font: 700 10px var(--mono); color: var(--muted); }
.ybar small { font: 400 10px var(--mono); color: var(--muted); }
.ybar:hover i { background: var(--sunset); }
.ybar.on i { background: var(--marquee); }
.ybar.on small { color: var(--marquee); }
.chart-note { margin: 6px 0 0; font-size: 13px; color: var(--muted); }

.archive-filters { position: sticky; top: 55px; z-index: 5; background: rgba(23,17,13,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.admin-bar .archive-filters { top: 87px; }
.archive-filters .wrap { display: grid; gap: 12px; padding-block: 14px; }
.archive-filters .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.archive-filters input, .archive-filters select { font: inherit; color: var(--cream); background: var(--asphalt-2); border: 1px solid var(--line); border-radius: 6px; }
.archive-filters .search { flex: 1 1 260px; min-width: 0; position: relative; }
.archive-filters .search input { width: 100%; padding: 11px 14px 11px 38px; }
.archive-filters .search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.archive-filters select { padding: 11px 12px; max-width: 100%; }
.archive-filters .seg { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.archive-filters .seg button { background: var(--asphalt-2); border: 0; padding: 9px 12px; font: 700 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.archive-filters .seg button + button { border-left: 1px solid var(--line); }
.archive-filters .seg button[aria-pressed="true"] { background: var(--marquee); color: var(--asphalt); }
.archive-filters .seg-label { font: 700 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.archive-filters .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.archive-filters .chip { font: inherit; background: none; border: 1px solid var(--line); color: var(--cream); border-radius: 999px; padding: 5px 11px; font-size: 13px; cursor: pointer; }
.archive-filters .chip b { color: var(--marquee); margin-left: 4px; font-variant-numeric: tabular-nums; }
.archive-filters .chip.on { background: var(--marquee); border-color: var(--marquee); color: var(--asphalt); }
.archive-filters .chip.on b { color: var(--asphalt); }
.archive-filters .result-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--muted); }
.archive-filters .clear { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--marquee); text-decoration: underline; cursor: pointer; }

.pg-list { display: grid; gap: 14px; padding-block: 24px 72px; }
.pg-list details.group { border: 1px solid var(--line); border-radius: 8px; background: var(--asphalt-2); }
.pg-list details.group > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 12px; padding: 14px 18px; }
.pg-list details.group > summary::-webkit-details-marker { display: none; }
.pg-list details.group > summary h2 { font-size: 20px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pg-list details.group > summary .sub { font: 400 13px var(--body); color: var(--muted); margin-left: 6px; }
.pg-list details.group > summary .count { font: 700 12px var(--mono); color: var(--marquee); white-space: nowrap; }
.pg-list .caret { width: 0; height: 0; border-left: 7px solid var(--muted); border-top: 5px solid transparent; border-bottom: 5px solid transparent; align-self: center; transition: transform .15s; }
.pg-list details[open] > summary .caret { transform: rotate(90deg); }
.pg-rows { list-style: none; margin: 0; padding: 0 10px 10px; display: grid; gap: 6px; }
.pg-rows .gig { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: var(--asphalt); border-radius: 6px; padding: 10px 14px 10px 0; border-left: 4px solid var(--sunset); }
.pg-rows .stamp { text-align: center; border-right: 2px dashed rgba(246,231,203,.18); padding: 2px 0; }
.pg-rows .stamp b { display: block; font: 400 22px/1 var(--display); }
.pg-rows .stamp span { font: 700 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pg-rows .what { min-width: 0; }
.pg-rows .what strong { display: block; overflow-wrap: anywhere; }
.pg-rows .what span { display: block; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.pg-rows .cc { font: 700 11px var(--mono); letter-spacing: .1em; color: var(--asphalt); background: var(--cream); border-radius: 3px; padding: 3px 6px; white-space: nowrap; }
.pg-list .empty { text-align: center; padding: 48px 16px; color: var(--muted); border: 1px dashed var(--line); border-radius: 8px; }
.pg-list .empty b { display: block; font: 400 22px var(--display); color: var(--cream); margin-bottom: 6px; }
@media (max-width: 760px) {
  /* on phones the filters would cover half the screen if they stuck to the top */
  .archive-filters, .admin-bar .archive-filters { position: static; }
  .pg-rows .gig { grid-template-columns: 62px minmax(0, 1fr); padding-right: 12px; }
  .pg-rows .cc { grid-column: 2; justify-self: start; }
  .pg-rows .stamp b { font-size: 18px; }
  .archive-filters .seg button { padding: 9px 9px; letter-spacing: .04em; }
  .archive-filters select { flex: 1 1 140px; }
}

/* Responsive */
@media (max-width: 980px) {
  .posters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-list .posters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature .wrap, .disco .wrap { grid-template-columns: minmax(0, 1fr); }
  .cover { max-width: 360px; margin: 0 auto; }
  .trolls-side { display: none; }
  .credits .wrap { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .producer-wrap { order: -1; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; gap: 8px; }
  .nav-actions .btn { padding: 9px 11px; font-size: 12px; }
  .nav-actions .nav-shop-mobile { display: inline-flex; }
  /* Trollywood feature: the two buttons share one row */
  .feature-actions { flex-wrap: nowrap; gap: 10px; }
  .feature-actions .btn { flex: 1 1 0; min-width: 0; justify-content: center; text-align: center; padding: 13px 10px; font-size: 13px; line-height: 1.15; }
  .section { padding-block: 64px; }
  .tile { flex-basis: calc((100% - 3px) / 2); padding: 22px 8px 18px; }
  .star { width: 96px; }
  .tile h3 { font-size: 12px; overflow-wrap: normal; }
  .marquee { max-width: calc(100% - 28px); }
  .cover { max-width: 240px; }
  /* the label name ("Reaper Entertainment") gets the widest column so long words fit */
  .facts { grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr) minmax(0, .6fr); }
  .facts div { padding: 10px 10px; }
  .facts dt { font-size: 10px; letter-spacing: .1em; }
  .facts dd { font-size: 13px; line-height: 1.25; overflow-wrap: anywhere; }
  /* same side-by-side ticket as desktop, just tighter; the button moves under the venue */
  .ticket { grid-template-columns: auto minmax(0, 1fr); }
  .ticket-date { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; padding: 18px 16px 18px 22px; }
  .ticket-date b { font-size: 40px; }
  .ticket-date span { font-size: 11px; letter-spacing: .12em; }
  .ticket-info { padding: 16px 22px 0 18px; }
  .ticket-info h3 { font-size: 22px; }
  .ticket-info p { font-size: 14px; line-height: 1.4; }
  .ticket-cta { grid-column: 2; border-left: 0; padding: 12px 22px 18px 18px; }
  .ticket.no-cta .ticket-info { padding-bottom: 18px; }
  .disco-list { columns: 1; }
  .detail-body .wrap { grid-template-columns: minmax(0, 1fr); gap: 44px; padding-block: 28px 32px; }
  .profile-photo { max-width: 300px; }
  .profile-photo img.badge { width: 84px; right: -16px; bottom: -20px; }
  .profile-role, .album-year { font-size: 18px; }
  .profile-facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .profile-facts dd { font-size: 16px; }
  .detail-count { display: none; }
  .album-cover { max-width: 300px; }
  .album-cols { grid-template-columns: minmax(0, 1fr); }
  .entry { font-size: 17px; }
}
@media (max-width: 560px) {
  .posters, .archive-list .posters { grid-template-columns: minmax(0, 1fr); }
  .poster.top { grid-column: auto; }
  .marquee { padding: 14px 18px 16px; }
  /* phones: the star alone stands for the band name so both menu buttons fit */
  .nav-brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee::before { animation: none; }
  .btn, .poster, a.tile, a.tile .star { transition: none; }
  a.tile:hover .star { transform: none; }
}
