/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg:               #060412;
  --bg-card:          #0d0a1f;
  --border:           rgba(180, 100, 255, 0.2);
  --border-subtle:    rgba(255, 255, 255, 0.07);
  --accent-purple:    #b47fff;
  --accent-purple-lt: #d4aaff;
  --accent-blue:      #7fd4f0;
  --accent-blue-city: #a0d4e8;
  --text:             rgba(255, 255, 255, 0.85);
  --text-muted:       rgba(255, 255, 255, 0.4);
  --text-faint:       rgba(255, 255, 255, 0.25);
  --font-serif:       Georgia, 'Times New Roman', serif;
  --font-sans:        -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

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

.hidden { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background: rgba(6, 4, 18, 0.97);
  border-bottom-color: var(--border-subtle);
}

.nav-logo {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
}

.nav-links {}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link--active { color: #fff; }

.nav-book {
  color: var(--accent-purple-lt);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(180, 100, 255, 0.4);
  padding: 7px 16px;
  transition: background 0.2s;
}

.nav-book:hover { background: rgba(180, 100, 255, 0.15); }
.nav-book:focus-visible { outline: 2px solid var(--accent-purple-lt); outline-offset: 3px; }

/* ============================================================
   PAGE STRUCTURE (inner pages)
   ============================================================ */
.page-hero {
  padding: 130px 40px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  margin-bottom: 8px;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 14px;
}

.text-link {
  color: var(--accent-purple);
  text-decoration: none;
  border-bottom: 1px solid rgba(180, 100, 255, 0.3);
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ============================================================
   SECTION LABEL
   ============================================================ */
.section-label {
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ============================================================
   SHOWS — shared between homepage and shows page
   ============================================================ */
.shows-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px 32px;
}

.shows-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}

.shows-title {
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.shows-all-link {
  color: var(--accent-purple);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  display: none; /* shown by shows.js when >3 upcoming shows exist */
}

.shows-all-link:hover { text-decoration: underline; }

.show-row {
  border-top: 1px solid var(--border-subtle);
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.show-info { flex: 1; }

.show-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.show-name {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.touring-pill {
  background: rgba(100, 200, 255, 0.12);
  border: 1px solid rgba(100, 200, 255, 0.3);
  color: var(--accent-blue);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 2px 7px;
  white-space: nowrap;
}

.show-meta { font-size: 12px; }

.show-city {
  color: var(--accent-blue-city);
  font-weight: 600;
  font-size: 13px;
}

.touring-pill { display: none; }

.show-city--touring {
  color: var(--accent-blue-city);
  font-weight: 600;
  font-size: 13px;
}

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

.show-right {
  text-align: right;
  flex-shrink: 0;
}

.show-date {
  color: var(--accent-purple-lt);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
}

.ticket-btn {
  display: inline-block;
  background: rgba(180, 100, 255, 0.15);
  border: 1px solid rgba(180, 100, 255, 0.3);
  color: var(--accent-purple);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  text-decoration: none;
  transition: background 0.2s;
}

.ticket-btn:hover { background: rgba(180, 100, 255, 0.25); }
.ticket-btn:focus-visible { outline: 2px solid var(--accent-purple-lt); outline-offset: 3px; }

.show-date-tba {
  color: var(--text-faint);
  font-size: 12px;
}

.shows-empty-state { display: none; }

.tour-request {
  border-top: 1px solid var(--border-subtle);
  padding: 18px 0 4px;
}

.tour-request-intro {
  color: var(--text-muted);
  font-size: 12px;
  font-style: italic;
  margin-bottom: 12px;
}

.tour-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.tour-form-grid-submit {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 10px;
}

.form-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 9px 14px;
  font-size: 12px;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-input:focus {
  outline: 2px solid transparent; /* visible in forced-colors/high-contrast */
  border-color: rgba(180, 100, 255, 0.6);
  box-shadow: 0 0 0 2px rgba(180, 100, 255, 0.25);
}
.form-input::placeholder { color: rgba(255, 255, 255, 0.25); }

.form-submit {
  background: rgba(180, 100, 255, 0.25);
  border: 1px solid rgba(180, 100, 255, 0.5);
  color: var(--accent-purple-lt);
  padding: 9px 20px;
  font-size: 11px;
  letter-spacing: 1px;
  font-family: var(--font-sans);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.form-submit:hover { background: rgba(180, 100, 255, 0.35); }
.form-submit:focus-visible { outline: 2px solid var(--accent-purple-lt); outline-offset: 3px; }

.tour-form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.tour-form-fine-print { color: var(--text-faint); font-size: 11px; }

.tour-form-promoter { color: var(--text-faint); font-size: 11px; }

.tour-form-promoter a {
  color: var(--accent-purple);
  border-bottom: 1px solid rgba(180, 100, 255, 0.4);
  text-decoration: none;
}

/* ============================================================
   BIO SNIPPET (homepage)
   ============================================================ */
.bio-section {
  background: var(--bg-card);
  border: 1px solid rgba(180, 100, 255, 0.1);
  border-radius: 4px;
  padding: 28px 32px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.bio-content { flex: 1; }

.bio-text {
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
  font-family: var(--font-serif);
  margin-bottom: 16px;
}

.bio-text em { font-style: italic; }

.bio-link {
  color: var(--accent-purple);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
}

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

.bio-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(180, 100, 255, 0.35);
  margin-top: 28px;
}

.bio-photo img {
  width: 100%;
  height: 175%;
  object-fit: cover;
  object-position: center 5%;
  margin-top: -15%;
}

/* ============================================================
   SOCIALS STRIP (homepage)
   ============================================================ */
.socials-strip {
  background: var(--bg-card);
  border: 1px solid rgba(180, 100, 255, 0.1);
  border-radius: 4px;
  padding: 18px 32px;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.socials-label {
  color: var(--text-faint);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.socials-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.social-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  letter-spacing: 1px;
  text-decoration: none;
  border-bottom: 1px solid rgba(180, 100, 255, 0.3);
  padding-bottom: 1px;
  transition: color 0.2s;
}

.social-link:hover { color: #fff; }

.book-btn {
  margin-left: auto;
  background: rgba(180, 100, 255, 0.2);
  border: 1px solid rgba(180, 100, 255, 0.4);
  color: var(--accent-purple-lt);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 18px;
  text-decoration: none;
  transition: background 0.2s;
}

.book-btn:hover { background: rgba(180, 100, 255, 0.3); }
.book-btn:focus-visible { outline: 2px solid var(--accent-purple-lt); outline-offset: 3px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .nav { padding: 16px 20px; }
  .nav-list { gap: 12px; flex-wrap: wrap; }
  .nav-link { font-size: 10px; letter-spacing: 1px; }

  .page-hero { padding: 100px 20px 32px; }
  .page-content { padding: 0 20px 60px; }

  .shows-section { padding: 20px; }
  .bio-section { padding: 20px; flex-direction: column; }
  .bio-photo { margin-top: 0; }
  .socials-strip { padding: 16px 20px; }

  .tour-form-grid-2 { grid-template-columns: 1fr; }
  .tour-form-grid-submit { grid-template-columns: 1fr; }
  .form-submit { width: 100%; }
}
