/* PressPlay — global stylesheet
   Palette drawn from the logo (charcoal tile, white play triangle)
   with a warm "record" red accent. */

:root {
  --bg: #17191e;
  --surface: #23272f;
  --surface-2: #2c313a;
  --line: #383e49;
  --text: #f3f2ef;
  --muted: #a6abb5;
  --accent: #ff5146;
  --accent-ink: #ffffff;
  --radius: 14px;
  --max: 1180px;
  --font-display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 720px) {
  .wrap { padding: 0 32px; }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { left: 8px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 25, 30, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand img {
  width: auto;
  height: 36px;
  border-radius: 8px;
}

.brand-lg img {
  height: 72px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  padding: 6px 10px;
  font: inherit;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s, background 0.15s;
}

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

.site-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-2);
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .site-nav a { border-radius: 8px; padding: 12px 14px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s, background 0.15s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #ff6a60; }
/* Facebook buttons use Facebook blue */
.btn-primary[href*="facebook.com"] { background: #0866ff; color: #fff; }
.btn-primary[href*="facebook.com"]:hover { background: #3a85ff; }

.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */

.hero {
  --hero-h: min(82vh, 720px);
  position: relative;
  min-height: var(--hero-h);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(23, 25, 30, 0.15) 0%, rgba(23, 25, 30, 0.55) 55%, var(--bg) 100%);
}

.hero-content {
  padding-top: 120px;
  padding-bottom: 56px;
  display: grid;
  gap: 20px;
  justify-items: start;
}

/* Logo grows with the banner height but its top edge stays below the
   faces in the band photo (top ~36% of the banner). */
.hero-logo {
  width: auto;
  height: clamp(96px, calc(var(--hero-h) * 0.64 - 270px), 220px);
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

/* Portrait screens (phones, upright tablets): the wide band photo would be
   cropped to its middle, cutting off the members at each end. Show it as a
   full-width 4:3 strip with the logo, text and buttons underneath instead. */
@media (max-aspect-ratio: 1/1) {
  .hero { display: block; min-height: 0; }
  .hero-bg { position: relative; inset: auto; }
  .hero-bg img { height: auto; aspect-ratio: 4 / 3; object-position: 43% 40%; }
  .hero::after {
    inset: 0 0 auto 0;
    aspect-ratio: 4 / 3;
    background: linear-gradient(180deg, rgba(23, 25, 30, 0) 60%, var(--bg) 100%);
  }
  .hero-content { position: relative; margin-top: -56px; padding-top: 0; padding-bottom: 40px; gap: 16px; }
  .hero-logo { height: 112px; }
}

.hero h1 {
  line-height: 0;
}

.hero p.lede {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  max-width: 34ch;
  margin: 0;
  color: #e7e6e2;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Page header ---------- */

.page-head {
  padding: 56px 0 28px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.page-head h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 800;
}

.page-head p {
  color: var(--muted);
  max-width: 60ch;
  margin: 14px 0 0;
  font-size: 1.05rem;
}

/* ---------- Sections ---------- */

.section { padding: 48px 0; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.section-head h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; }

.section-head a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.section-head a:hover { color: var(--text); }

/* ---------- Stats strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1;
}

.stat span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Events ---------- */

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

.event {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.event-date {
  text-align: center;
  font-family: var(--font-display);
  line-height: 1;
  border-right: 1px solid var(--line);
  padding-right: 20px;
}
.event-date .mon { display: block; color: var(--accent); font-weight: 700; letter-spacing: 0.12em; font-size: 0.8rem; }
.event-date .day { display: block; font-size: 2rem; font-weight: 800; margin-top: 4px; }

.event h3 { font-size: 1.15rem; }
.event p { margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; }

@media (max-width: 560px) {
  .event { grid-template-columns: 64px 1fr; }
  .event .btn { grid-column: 1 / -1; justify-content: center; }
  .event-date { padding-right: 14px; }
}

.empty-state {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  color: var(--muted);
}
.empty-state h3 { color: var(--text); font-size: 1.25rem; margin-bottom: 8px; }
.empty-state p { margin: 0 auto 18px; max-width: 46ch; }

/* ---------- Split feature ---------- */

.split {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 860px) {
  .split { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .split-reverse { grid-template-columns: 1fr 1.1fr; }
}

.split img {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split-photo {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
}
.split-photo img { transition: transform 0.35s ease; }
.split-photo:hover img { transform: scale(1.03); }
.split h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 14px; }
.split p { color: var(--muted); margin: 0 0 14px; }

/* ---------- Members ---------- */

.members {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}

.member {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.member img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.member-photo { overflow: hidden; }
.member:hover img { transform: scale(1.03); }

.member-body { padding: 20px 22px 24px; }

.member h2 { font-size: 1.6rem; font-weight: 700; }

.member .role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  margin: 4px 0 0;
}

.member .sings {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.member .sings strong { color: var(--text); font-weight: 600; }

/* ---------- Songs ---------- */

.song-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.search {
  flex: 1 1 260px;
  position: relative;
}

.search input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  padding: 12px 18px 12px 44px;
  font: inherit;
}

.search input::placeholder { color: var(--muted); }

.search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.result-count { color: var(--muted); font-size: 0.92rem; margin: 0 0 16px; }

.songs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 600px) {
  .songs { gap: 10px; }
}

.song { min-width: 0; }
.song[hidden] { display: none; }

.cover {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.cover img.cover-logo {
  object-fit: contain;
}

a.cover:hover img { transform: scale(1.04); }

.cover .play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1db954; /* Spotify green */
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s;
}
.cover .play svg { width: 16px; height: 16px; margin-left: 2px; color: #000; }
a.cover:hover .play,
a.cover:focus-visible .play { opacity: 1; transform: none; }

.badge {
  position: absolute;
  left: 8px;
  top: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
}

.song-meta { padding: 12px 2px 0; }

.song-meta h3 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
}

.song-meta .artist { margin: 2px 0 0; color: var(--text); opacity: 0.85; font-size: 0.94rem; }

.song-meta .album {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.decade {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 10px;
}

@media (max-width: 600px) {
  .song-meta { padding-top: 8px; }
  .song-meta h3 { font-size: 0.82rem; }
  .song-meta .artist { font-size: 0.76rem; }
  .song-meta .album { display: none; }
  .decade { font-size: 0.68rem; padding: 1px 7px; margin-top: 5px; }
  .badge { font-size: 0.58rem; padding: 3px 5px; }
}

.no-results { color: var(--muted); text-align: center; padding: 40px 0; }

/* ---------- Media gallery ---------- */

.gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}

.gallery .wide { grid-column: 1 / -1; }

.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery .wide img { aspect-ratio: 21 / 9; object-position: center 35%; }
.gallery button:hover img { transform: scale(1.03); }

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 94vw;
  max-height: 92vh;
}
.lightbox::backdrop { background: rgba(10, 11, 14, 0.92); }
.lightbox img { max-width: 94vw; max-height: 86vh; border-radius: 10px; margin: 0 auto; }
.lightbox p { color: var(--muted); text-align: center; margin: 10px 0 0; }
.lightbox .close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}

.media-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.media-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.media-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.media-card p { color: var(--muted); margin: 0 0 16px; }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding: 32px 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer .btn-primary,
.site-footer .btn-primary:hover { color: #fff; }
.social a.btn {
  display: inline-flex;
  width: auto;
  height: auto;
  border: 1px solid transparent;
  border-radius: 999px;
}

.social { display: flex; gap: 10px; }
.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.social svg { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Spotify preview player ---------- */

.player {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(480px, calc(100% - 32px));
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}
.player[hidden] { display: none; }
.player-embed { flex: 1; min-width: 0; height: 80px; }
.player-embed iframe { display: block; border: 0; border-radius: 12px; }
.player-close {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: none;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.player-close:hover { background: var(--surface-2); }

/* ---------- Media page: section nav, videos, posters ---------- */

.media-nav {
  position: sticky;
  top: 64px;
  z-index: 40;
  background: rgba(23, 25, 30, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.media-nav .wrap {
  display: flex;
  gap: 8px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.media-nav a {
  flex: 1 1 0;
  max-width: 140px;
  text-align: center;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
}
.media-nav a:hover { color: var(--text); }
.media-nav a[aria-current="true"] {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
.media-section { scroll-margin-top: 124px; }

.gallery img { height: auto; object-position: center 30%; }
@media (max-width: 600px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

.videos {
  display: grid;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 720px) {
  .videos { grid-template-columns: repeat(2, 1fr); }
}
.video-card video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
  border-radius: var(--radius);
}
.video-card h3 { font-size: 1.05rem; margin-top: 10px; }

.posters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.poster button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 10px;
  overflow: hidden;
}
.poster img {
  width: 100%;
  height: auto;
  transition: transform 0.35s ease;
}
.poster button:hover img { transform: scale(1.02); }
.poster h3 { font-size: 1.05rem; margin-top: 10px; }
.poster p { color: var(--muted); font-size: 0.9rem; margin: 2px 0 0; }
@media (max-width: 860px) {
  .posters { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 340px) {
  .posters { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .posters { gap: 20px 12px; }
  .poster h3 { font-size: 0.92rem; }
  .poster p { font-size: 0.8rem; }
}

/* ---------- 404 page ---------- */

.not-found {
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.not-found-logo { width: auto; height: 128px; margin-bottom: 20px; }
.not-found p { margin-left: auto; margin-right: auto; }
.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
