:root {
  --bg: #050608;
  --bg-elevated: #101117;
  --bg-elevated-soft: #151721;
  --accent: #e8a83a;
  --accent-soft: rgba(232, 168, 58, 0.18);
  --text: #f5f5f5;
  --text-muted: #a2a3ac;
  --border-subtle: #252634;
  --danger: #ff4c4c;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.7);
  --nav-height: 60px;
  --page-padding: 16px;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
}

/* Reset/basic */

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

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: radial-gradient(circle at top, #171822 0, #050608 52%);
  color: var(--text);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  flex-direction: column;
}

/* Layout */

.site-header {
  position: relative;
  height: var(--nav-height);
  padding: 0 var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* Navigation */

.site-nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.site-nav a.active {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}

/* Mobile nav */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.nav-open .site-nav {
  opacity: 1;
  pointer-events: auto;
}

/* Page wrapper */

.page {
  flex: 1;
  padding: 0 var(--page-padding) 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Home */

.hero {
  flex: 1;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform-origin: center;
  opacity: 0;
}

.hero-slide-1 {
  background-image:
    linear-gradient(180deg, rgba(5, 6, 8, 0.45), rgba(5, 6, 8, 0.65)),
    url('assets/Wilson_Parc_Band_01.jpg');
  animation: heroKenBurnsA 24s ease-in-out infinite;
}

.hero-slide-2 {
  background-image:
    linear-gradient(180deg, rgba(5, 6, 8, 0.45), rgba(5, 6, 8, 0.65)),
    url('assets/Wilson_Parc_Band_02.jpg');
  animation: heroKenBurnsB 24s ease-in-out infinite;
}

@keyframes heroKenBurnsA {
  0% {
    opacity: 0;
    transform: scale(1.02) translate3d(-3%, 0, 0);
  }
  6% {
    opacity: 1;
  }
  40% {
    opacity: 1;
    transform: scale(1.08) translate3d(3%, 2%, 0);
  }
  50% {
    opacity: 0;
    transform: scale(1.1) translate3d(4%, 2%, 0);
  }
  100% {
    opacity: 0;
    transform: scale(1.1) translate3d(4%, 2%, 0);
  }
}

@keyframes heroKenBurnsB {
  0% {
    opacity: 0;
    transform: scale(1.08) translate3d(3%, 2%, 0);
  }
  50% {
    opacity: 0;
    transform: scale(1.08) translate3d(3%, 2%, 0);
  }
  56% {
    opacity: 1;
  }
  90% {
    opacity: 1;
    transform: scale(1.02) translate3d(-3%, 0, 0);
  }
  100% {
    opacity: 0;
    transform: scale(1.0) translate3d(-4%, 0, 0);
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 10% 0, rgba(232, 168, 58, 0.12) 0, transparent 55%),
    radial-gradient(circle at 80% 120%, rgba(255, 255, 255, 0.06) 0, transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.9;
  pointer-events: none;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 1.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.tagline {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-cta {
  display: flex;
  gap: 8px;
}

/* Cards & shared blocks */

.card {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 12px 12px 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.card h2 {
  font-size: 0.96rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0 0 8px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Buttons */

.btn {
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.82rem;
  padding: 8px 14px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease,
    transform 0.08s ease;
}

.btn.primary {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
}

.btn.primary:hover {
  background: #ffbb44;
  border-color: #ffbb44;
  transform: translateY(-1px);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.2);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.04);
}

.btn.full {
  width: 100%;
}

/* Lists */

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

.links-list a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
}

.links-list a:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text);
}

/* Page headers */

.page-header {
  padding: 8px 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(135deg, rgba(232, 168, 58, 0.04), rgba(0, 0, 0, 0.5));
}

.page-header h1 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

/* Shows */

.shows-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

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

.show {
  padding: 7px 9px;
  border-radius: 10px;
  background: var(--bg-elevated-soft);
  border: 1px solid var(--border-subtle);
  display: grid;
  gap: 3px;
}

.show-main {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
}

.show-date {
  font-weight: 600;
}

.show-city {
  color: var(--text-muted);
}

.show-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.show-link {
  color: var(--accent);
  text-decoration: none;
}

.show-link:hover {
  text-decoration: underline;
}

.shows-list.past .show {
  opacity: 0.75;
}

.hint {
  margin-top: 8px;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.hint.center {
  text-align: center;
}

/* Merch */

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.merch-item h2 {
  font-size: 0.9rem;
  margin: 0 0 4px;
}

.merch-item p {
  margin: 0 0 4px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.price {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--accent);
}

.merch-art {
  margin: -4px -4px 6px;
  border-radius: 12px;
  padding: 18px 6px;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* Listen */

.listen-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10px;
}

.player-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 10px;
  align-items: center;
}

.player-art {
  min-height: 80px;
}

.player-info h3 {
  margin: 0 0 2px;
  font-size: 0.95rem;
}

.player-info p {
  margin: 0 0 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.fake-player .progress {
  position: relative;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 4px;
}

.fake-player .progress-bar {
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #ffe175);
}

.player-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
}

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

.contact-list li {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  align-items: center;
  column-gap: 6px;
  font-size: 0.84rem;
}

.contact-list .label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.contact-list a {
  color: var(--text);
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--accent);
}

/* Form */

.contact-form {
  display: grid;
  gap: 8px;
}

.field {
  display: grid;
  gap: 4px;
}

.field label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

input,
textarea {
  border-radius: 9px;
  border: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.6);
  color: var(--text);
  padding: 7px 8px;
  font-family: inherit;
  font-size: 0.82rem;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(232, 168, 58, 0.35);
}

/* Placeholder art */

.placeholder-art {
  background: radial-gradient(circle at 10% 0, rgba(232, 168, 58, 0.3), transparent 60%),
    linear-gradient(135deg, #202231, #101117);
}

/* Responsive (mobile first one-screen layout) */

@media (max-width: 768px) {
  :root {
    --nav-height: 50px;
    --page-padding: 12px;
  }

  .site-header {
    padding-inline: var(--page-padding);
  }

  .site-nav {
    position: absolute;
    right: var(--page-padding);
    top: calc(var(--nav-height) - 2px);
    background: rgba(5, 6, 8, 0.96);
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    padding: 6px 8px;
    gap: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
  }

  .site-nav a {
    font-size: 0.7rem;
    padding-inline: 8px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .page {
    padding-bottom: 10px;
    gap: 10px;
  }

  .hero {
    padding: 14px 14px 10px;
  }

  .hero h1 {
    font-size: 1.54rem;
  }

  .split,
  .shows-layout,
  .grid,
  .listen-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-auto-rows: 1fr;
  }

  .player-shell {
    grid-template-columns: 1fr;
  }
}