:root {
  --bg: #0b1020;
  --bg-elevated: rgba(16, 24, 48, 0.82);
  --bg-soft: rgba(25, 35, 67, 0.62);
  --surface: #121a34;
  --surface-strong: #182242;
  --surface-outline: rgba(255, 255, 255, 0.08);
  --text: #edf2ff;
  --text-soft: #b9c4ea;
  --text-muted: #8f9bc3;
  --accent: #7c9cff;
  --accent-strong: #9fb6ff;
  --accent-warm: #ff7f66;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(124, 156, 255, 0.18), transparent 34%),
    radial-gradient(circle at 85% 12%, rgba(255, 127, 102, 0.16), transparent 22%),
    linear-gradient(180deg, #08101d 0%, #0d1324 36%, #090d18 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #ffffff;
}

button,
.button {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #6982f2);
  color: #05101f;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 16px 32px rgba(52, 84, 191, 0.35);
}

button:hover,
.button:hover,
button:focus-visible,
.button:focus-visible {
  transform: translateY(-1px);
  color: #05101f;
  box-shadow: 0 18px 34px rgba(52, 84, 191, 0.45);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: #ffffff;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.13);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  color: #08101d;
}

.skip-link:focus {
  top: 12px;
}

.site-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  backdrop-filter: blur(18px);
  background: rgba(7, 11, 22, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  width: min(calc(100% - 2rem), 1380px);
  padding-inline: 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "brand controls";
  align-items: center;
  column-gap: 2rem;
  min-height: 176px;
}

.brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand img {
  width: 324px;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.28));
}

.brand-copy span {
  display: block;
}

.brand-copy .eyebrow {
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}

.nav-toggle {
  display: none;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow: none;
}

.header-controls {
  grid-area: controls;
  display: grid;
  justify-items: end;
  gap: 0.65rem;
}

.header-menu {
  position: relative;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
}

.header-socials {
  display: flex;
  align-items: center;
  min-width: 372px;
  min-height: 48px;
  gap: 0.45rem;
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-sm);
}

.header-social-link {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-social-link:hover,
.header-social-link:focus-visible {
  transform: translateY(-1px);
  opacity: 0.78;
}

.header-social-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.site-nav a {
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  color: var(--text-soft);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

main {
  padding: 2.2rem 0 4rem;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(20, 30, 58, 0.96), rgba(10, 16, 30, 0.9)),
    url("../../gpbandshot1.jpg") center/cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 8, 18, 0.82), rgba(5, 8, 18, 0.36));
}

.hero-grid,
.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 2rem;
  align-items: end;
}

.hero-grid {
  align-items: start;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 0.9rem;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
}

h3 {
  font-size: 1.15rem;
}

p,
li,
dd,
dt {
  color: var(--text-soft);
  line-height: 1.7;
}

.lead {
  max-width: 56rem;
  font-size: 1.06rem;
}

.hero-actions,
.button-row,
.social-row,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-panel,
.panel,
.card,
.quote-card,
.timeline-item,
.empty-state {
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--surface-outline);
  box-shadow: var(--shadow);
}

.hero-panel,
.panel,
.card,
.quote-card,
.timeline-item,
.empty-state {
  padding: 1.4rem;
}

.hero-panel h2,
.panel h2,
.panel h3,
.card h3,
.quote-card h3 {
  margin-bottom: 0.5rem;
}

.hero-panel .art {
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
}

.hero-panel .art img,
.release-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.section {
  margin-top: 2rem;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 46rem;
  margin: 0;
}

.grid-2,
.grid-3,
.grid-4,
.release-grid,
.card-grid,
.stats-grid {
  display: grid;
  gap: 1.2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3,
.release-grid,
.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4,
.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 1.2rem;
}

.tag-list,
.detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li,
.pill {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.92rem;
}

.card-meta {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.cover-frame {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.cover-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.bio-photo-frame img {
  aspect-ratio: 48 / 55;
  object-fit: contain;
  background: #070b12;
}

.photo-collage,
.live-photo-grid {
  display: grid;
  gap: 1rem;
}

.photo-collage {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 170px;
}

.photo-tile {
  position: relative;
  overflow: hidden;
  min-height: 0;
  margin: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-outline);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-tile figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.5rem 1rem 0.85rem;
  color: #ffffff;
  font-size: 0.86rem;
  line-height: 1.4;
  background: linear-gradient(transparent, rgba(5, 8, 18, 0.9));
}

.photo-tile-wide {
  grid-column: span 7;
  grid-row: span 2;
}

.photo-tile-tall {
  grid-column: span 5;
  grid-row: span 2;
}

.photo-tile-wide:last-child {
  grid-column: span 8;
}

.photo-tile-tall:nth-child(3) {
  grid-column: span 4;
}

.live-photo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.live-photo-grid .photo-tile {
  aspect-ratio: 4 / 3;
}

.photo-focus-top img {
  object-position: center 24%;
}

.photo-focus-richie-2021 img {
  object-position: center 7%;
}

.photo-focus-hideout-band img {
  object-position: center 50%;
}

.photo-focus-bottom img {
  object-position: center 70%;
}

.index-punksgiving-2024-photo img {
  object-position: 50% 40%;
}

.index-punksgiving-2025-band-photo img {
  object-position: 50% 25%;
}

.live-photo-grid > .photo-tile:last-child:nth-child(3n + 1) {
  grid-column: 2;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item h3,
.timeline-item p {
  margin-bottom: 0.35rem;
}

.quote-card blockquote {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.8;
  color: #ffffff;
}

.quote-card cite {
  display: block;
  margin-top: 0.9rem;
  color: var(--text-muted);
  font-style: normal;
}

.list-clean {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-clean li + li {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer {
  padding: 0 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner p {
  margin: 0;
  color: var(--text-muted);
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(17, 28, 58, 0.96), rgba(8, 12, 24, 0.92)),
    url("../../gp-2016.png") center/cover;
}

body[data-page="discography"] .page-hero {
  background-image:
    linear-gradient(135deg, rgba(17, 28, 58, 0.94), rgba(8, 12, 24, 0.86)),
    url("../photos/site/mbr-band-wide.jpg");
}

body[data-page="bio"] .page-hero {
  background-image:
    linear-gradient(135deg, rgba(17, 28, 58, 0.94), rgba(8, 12, 24, 0.86)),
    url("../photos/site/punksgiving-2025-band.jpg");
  background-position: center 42%;
}

body[data-page="merch"] .page-hero {
  background-image:
    linear-gradient(135deg, rgba(17, 28, 58, 0.94), rgba(8, 12, 24, 0.86)),
    url("../photos/site/punksgiving-2025-merch.jpg");
}

body[data-page="lyrics"] .page-hero {
  background-image:
    linear-gradient(135deg, rgba(17, 28, 58, 0.94), rgba(8, 12, 24, 0.86)),
    url("../photos/site/mbr-richie-frank.jpg");
}

body[data-page="press"] .page-hero {
  background-image:
    linear-gradient(135deg, rgba(17, 28, 58, 0.94), rgba(8, 12, 24, 0.86)),
    url("../photos/site/punksgiving-2021-duo.jpg");
  background-position: center 38%;
}

body[data-page="shows"] .page-hero {
  background-image:
    linear-gradient(135deg, rgba(17, 28, 58, 0.94), rgba(8, 12, 24, 0.86)),
    url("../photos/site/mbr-band-stage.jpg");
}

body[data-page="contact"] .page-hero {
  background-image:
    linear-gradient(135deg, rgba(17, 28, 58, 0.94), rgba(8, 12, 24, 0.86)),
    url("../photos/site/hideout-band.jpg");
  background-position: center 44%;
}

.release-shell {
  display: grid;
  gap: 1.5rem;
}

.release-header {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.release-overview {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--surface-outline);
  box-shadow: var(--shadow);
}

.release-facts {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
}

.release-facts div {
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.release-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.tracklist {
  counter-reset: track;
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.track {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.track-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.track-title {
  font-weight: 700;
  color: #ffffff;
}

.track-title::before {
  counter-increment: track;
  content: counter(track, decimal-leading-zero) ". ";
  color: var(--accent-strong);
}

.track-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.track-actions a {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.lyrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.lyrics-card {
  padding: 1.15rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.lyrics-card h3 {
  margin-bottom: 0.8rem;
}

.lyrics-card .lyrics-content p {
  margin: 0 0 1rem;
  color: var(--text-soft);
}

.lyrics-card .lyrics-content p:last-child {
  margin-bottom: 0;
}

.release-note {
  color: var(--text-muted);
  font-style: italic;
}

.lyrics-frame {
  width: 100%;
  min-height: 900px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
}

.embedded-lyrics {
  min-height: 0;
  padding: 1rem;
  background: transparent;
}

.embedded-lyrics .panel {
  margin: 0;
  box-shadow: none;
}

.notice {
  border-left: 4px solid var(--accent-warm);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.social-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.merch-button-image {
  display: grid;
  min-height: 190px;
  place-items: center;
}

.merch-button-image img {
  width: 140px;
  height: 140px;
  object-fit: contain;
}

.show-list {
  margin: 0;
  padding-left: 2.2rem;
}

.show-list li {
  padding-left: 0.35rem;
}

.show-list li + li {
  margin-top: 0.3rem;
}

.social-link:hover,
.social-link:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.kicker {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 700;
}

.legacy-release {
  overflow: auto;
}

.legacy-release h2 {
  margin-bottom: 2rem;
}

.legacy-release ol,
.legacy-release ul {
  padding-left: 1.4rem;
}

.legacy-release li {
  margin-bottom: 0.35rem;
}

.legacy-release b,
.legacy-release strong,
.legacy-release u {
  color: #ffffff;
}

.legacy-song-title {
  display: inline-block;
  white-space: nowrap;
}

.legacy-song-title::before,
.legacy-song-title::after {
  content: '"';
}

.legacy-release p {
  margin: 0 0 1rem;
}

.legacy-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.legacy-column {
  min-width: 0;
}

.legacy-release table {
  width: 100%;
}

@media (max-width: 1024px) {
  .hero-grid,
  .page-hero-grid,
  .split,
  .release-header,
  .grid-3,
  .grid-4,
  .release-grid,
  .card-grid,
  .stats-grid,
  .grid-2,
  .lyrics-grid,
  .legacy-columns,
  .live-photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 240px;
  }

  .photo-tile-wide,
  .photo-tile-tall,
  .photo-tile-wide:last-child,
  .photo-tile-tall:nth-child(3) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .live-photo-grid > .photo-tile:last-child:nth-child(3n + 1) {
    grid-column: auto;
  }
}

@media (max-width: 1280px) {
  .header-inner {
    min-height: 184px;
  }

  .brand {
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    gap: 0.3rem;
  }

  .brand img {
    width: 260px;
    height: 126px;
  }

  .site-nav a {
    padding-inline: 0.7rem;
    font-size: 0.92rem;
  }
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand controls";
    column-gap: 0.65rem;
    min-height: 148px;
  }

  .header-controls {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 0.35rem;
  }

  .brand img {
    width: 164px;
    height: 132px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-toggle[aria-expanded="true"] {
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  }

  .header-menu {
    flex: 0 0 auto;
  }

  .header-socials {
    width: auto;
    min-width: 263px;
    min-height: 34px;
    justify-content: flex-end;
    gap: 0.2rem;
    padding: 0;
    flex-wrap: nowrap;
  }

  .header-social-link {
    width: 30px;
    height: 34px;
    flex: 0 0 30px;
  }

  .site-nav {
    position: absolute;
    left: auto;
    right: 0;
    top: calc(100% - 1px);
    width: min(320px, calc(100vw - 2rem));
    padding: 0.85rem;
    border-radius: var(--radius-lg) 0 var(--radius-lg) var(--radius-lg);
    background: rgba(9, 14, 26, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .header-inner {
    width: 100%;
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "controls";
    row-gap: 0.2rem;
    min-height: 0;
    padding: 0.5rem 1rem;
  }

  .header-controls {
    width: 100%;
    justify-self: end;
    gap: 0.25rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .brand img {
    width: 124px;
    height: 70px;
  }

  .brand {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }

  .brand-copy {
    display: block;
    transform: translateY(0.5rem);
  }

  .brand-copy > span:not(.eyebrow) {
    display: none;
  }

  .brand-copy .eyebrow {
    color: var(--text-soft);
    font-size: 0.72rem;
    line-height: 1.3;
    white-space: nowrap;
  }

  .header-socials {
    width: auto;
    min-width: 240px;
    min-height: 30px;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0;
    flex-wrap: nowrap;
  }

  .header-social-link {
    width: 23px;
    height: 30px;
    flex: 0 0 23px;
  }

  .header-social-link img {
    width: 20px;
    height: 20px;
  }

  .nav-toggle {
    min-height: 40px;
    padding: 0.65rem 0.8rem;
  }

  .nav-toggle-attention {
    animation: nav-toggle-attention 0.9s ease-in-out 3;
  }

  .site-nav {
    right: 0;
    top: calc(100% - 1px);
    width: min(300px, calc(100vw - 1rem));
  }

  .hero,
  .page-hero {
    padding: 1.4rem;
  }

  .photo-collage {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }
}

@keyframes nav-toggle-attention {
  0%,
  100% {
    box-shadow: none;
    transform: scale(1);
  }

  50% {
    background: rgba(124, 156, 255, 0.3);
    box-shadow: 0 0 0 5px rgba(124, 156, 255, 0.18);
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle-attention {
    animation: none;
  }
}
