/* ============================================================
   Google Fonts
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Barlow:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* ============================================================
   Custom Properties — edit these to retheme the site
   ============================================================ */
:root {
  --accent:        #f97316;
  --accent-hover:  #e06210;
  --accent-subtle: rgba(249, 115, 22, 0.15);

  --blue:          #4f9ef8;
  --blue-hover:    #3b8de6;
  --blue-subtle:   rgba(79, 158, 248, 0.15);

  --bg:            #0b0c10;
  --surface:       #13141b;
  --border:        #222430;

  --text:          #eef0f5;
  --text-muted:    #6a6d82;

  --danger:        #ef4444;
  --danger-bg:     rgba(239, 68, 68, 0.12);
  --warning:       #f59e0b;
  --warning-bg:    rgba(245, 158, 11, 0.12);
  --success:       #22c55e;

  --radius:        4px;
  --radius-sm:     3px;
  --shadow-sm:     0 1px 3px rgba(0, 0, 0, 0.6);
  --shadow:        0 2px 8px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md:     0 8px 24px rgba(0, 0, 0, 0.65), 0 3px 8px rgba(0, 0, 0, 0.45);

  --font-display: 'Barlow Condensed', sans-serif;
  --font: 'Barlow', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--accent);
}

a:hover {
  text-decoration: none;
}

/* ============================================================
   Layout helpers
   ============================================================ */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

main.container {
  padding-block: 2rem;
  flex: 1;
}

main {
  flex: 1;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #08090d;
  border-bottom: 2px solid var(--blue);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.site-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-name:hover {
  color: var(--accent);
}

/* ============================================================
   Site nav
   ============================================================ */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover {
  color: var(--text);
  background: var(--surface);
}

.nav-link.active {
  color: var(--accent);
}

@media (max-width: 580px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding-block: 0.75rem;
    gap: 0.375rem;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    border-top: 1px solid var(--border);
    padding-top: 0.5rem;
  }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.625rem;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--blue);
}

/* ============================================================
   Page headings
   ============================================================ */
.page-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  color: var(--text);
}

/* ============================================================
   Home / landing page
   ============================================================ */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.hero-actions .btn {
  width: auto;
  margin-top: 0;
}

.home-intro {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  padding-block: 1rem;
}

.home-intro p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s, color 0.15s;
  line-height: 1;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  width: 100%;
  margin-top: 0.625rem;
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover:not(:disabled) {
  border-color: var(--blue);
  background: var(--surface);
  color: var(--text);
}

/* ============================================================
   Shared page section heading
   ============================================================ */
.section-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   About page
   ============================================================ */
.about-container {
  padding-block: 2rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 760px;
}

.bio-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bio-text p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.members-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .members-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.member-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.member-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
}

.member-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  display: block;
}

.member-info {
  padding: 0.75rem 1rem 0.875rem;
}

.member-name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
}

/* ============================================================
   Music page
   ============================================================ */
.music-container {
  padding-block: 2rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.music-intro {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.stream-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stream-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.stream-spotify { color: #1db954; border-color: rgba(29, 185, 84, 0.35); background: rgba(29, 185, 84, 0.07); }
.stream-apple   { color: #fc3c44; border-color: rgba(252, 60, 68, 0.35);  background: rgba(252, 60, 68, 0.07); }
.stream-youtube { color: #ff4444; border-color: rgba(255, 68, 68, 0.35);  background: rgba(255, 68, 68, 0.07); }

.stream-spotify:hover { background: rgba(29, 185, 84, 0.18); }
.stream-apple:hover   { background: rgba(252, 60, 68, 0.18); }
.stream-youtube:hover { background: rgba(255, 68, 68, 0.18); }

.releases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.release-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.release-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
}

.release-artwork {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border);
  background: #0f1016;
}

.release-info {
  padding: 1rem;
}

.release-type {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.release-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}

.release-year {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
}

.release-listen-btn {
  margin-top: 0;
  font-size: 0.8125rem;
  padding: 0.45rem 0.9rem;
}

/* ============================================================
   Gigs page
   ============================================================ */
.gigs-container {
  padding-block: 2rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.gigs-section {
  display: flex;
  flex-direction: column;
}

.gig-list {
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.gig-item {
  display: grid;
  grid-template-columns: 9rem 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.125rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  transition: background 0.15s;
}

.gig-item:last-child {
  border-bottom: none;
}

.gig-item:hover {
  background: #181921;
}

.gig-date {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.gig-day {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.gig-num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
}

.gig-details {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.gig-venue {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
}

.gig-location {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.gig-action {
  display: flex;
  justify-content: flex-end;
}

.gig-ticket-btn {
  width: auto;
  margin-top: 0;
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  white-space: nowrap;
}

.gig-no-tickets {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}

.gig-item.is-past .gig-day,
.gig-item.is-past .gig-num,
.gig-item.is-past .gig-venue {
  color: var(--text-muted);
}

.gig-item.is-past .gig-day {
  color: var(--border);
}

.gigs-empty {
  font-size: 1rem;
  color: var(--text-muted);
  padding: 1.5rem 0;
}

@media (max-width: 580px) {
  .gig-item {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .gig-date {
    grid-column: 1;
    grid-row: 1;
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
  }

  .gig-details {
    grid-column: 1;
    grid-row: 2;
  }

  .gig-action {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
  }
}

/* ============================================================
   Merch — coming soon
   ============================================================ */
.coming-soon {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding-block: 4rem 5rem;
}

.coming-soon-inner {
  max-width: 560px;
}

.coming-soon-kicker {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.coming-soon-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.coming-soon-text {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.coming-soon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.coming-soon-actions .btn {
  width: auto;
  margin-top: 0;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
  background: #08090d;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}

.social-link:hover {
  color: var(--text);
  background: var(--surface);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ============================================================
   Gallery page
   ============================================================ */
.gallery-container {
  padding-block: 2rem;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.photo-grid {
  columns: 3;
  column-gap: 0.875rem;
}

@media (max-width: 768px) {
  .photo-grid { columns: 2; }
}

@media (max-width: 480px) {
  .photo-grid { columns: 1; }
}

.photo-item {
  break-inside: avoid;
  margin-bottom: 0.875rem;
}

.photo-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.photo-btn:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
  transform: translateY(-2px);
}

.photo-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.photo-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.photo-btn:hover .photo-img {
  transform: scale(1.03);
}

/* Videos */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .videos-grid { grid-template-columns: 1fr; }
}

.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-player {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-width: calc(100vw - 10rem);
  max-height: calc(100vh - 4rem);
}

.lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 7rem);
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: block;
}

.lightbox-counter {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  z-index: 501;
}

.lightbox-close:hover {
  color: var(--text);
  background: var(--border);
  border-color: var(--text-muted);
}

.lightbox-nav {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  z-index: 501;
}

.lightbox-nav:hover {
  color: var(--text);
  background: var(--border);
  border-color: var(--text-muted);
}

@media (max-width: 580px) {
  .lightbox-inner {
    max-width: 100%;
  }

  .lightbox-nav {
    position: fixed;
    bottom: 1rem;
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(19, 20, 27, 0.9);
  }

  .lightbox-prev { left: 1rem; }
  .lightbox-next { right: 1rem; }
}

/* ============================================================
   Spotify embed
   ============================================================ */
.spotify-embed {
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
}

/* Member card role label */
.member-role {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  min-width: 10rem;
}
