:root {
  --bg: #f6f1ea;
  --surface: rgba(255, 252, 247, 0.82);
  --surface-strong: #fffdf9;
  --text: #1e1a17;
  --muted: #65584f;
  --line: rgba(69, 49, 36, 0.12);
  --accent: #8a2332;
  --accent-soft: rgba(138, 35, 50, 0.1);
  --shadow: 0 22px 60px rgba(33, 23, 18, 0.12);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(162, 38, 58, 0.15), transparent 34%),
    radial-gradient(circle at top right, rgba(193, 148, 78, 0.18), transparent 28%),
    linear-gradient(180deg, #f8f3ed 0%, #f2ece4 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page-shell {
  width: min(1600px, calc(100% - 32px));
  margin: 16px auto 48px;
}

.hero {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  background: #1a0c0e;
}

.topbar,
.hero-image,
.hero-content,
.section,
.integration-card {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  z-index: 3;
}

.hero-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.94);
}

.brand img {
  width: clamp(150px, 18vw, 180px);
  height: auto;
  aspect-ratio: 247 / 80;
  object-fit: contain;
}

.menu-wrap {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 248, 240, 0.94);
  font: inherit;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-lines::before {
  top: -6px;
}

.menu-toggle-lines::after {
  top: 6px;
}

  .topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.topbar-links a {
  color: rgba(255, 248, 240, 0.92);
  font-size: 0.95rem;
}

.hero-content {
  max-width: 700px;
  padding: 10px 0 16px;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
}

.hero .eyebrow,
.hero h1,
.hero p {
  color: #fff9f3;
}

.hero h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.96;
  margin: 0;
}

.hero h1 {
  font-size: clamp(3rem, 10vw, 6.3rem);
  max-width: 10ch;
}

.hero p {
  margin: 20px 0 0;
  max-width: 56ch;
  font-size: 1.05rem;
  line-height: 1.75;
}

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

.hero-actions {
  margin-top: 28px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button {
  background: #f7e7d4;
  color: #311d17;
}

.button-secondary {
  border: 1px solid rgba(255, 248, 240, 0.3);
  color: #fff9f3;
  background: rgba(255, 255, 255, 0.08);
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.section {
  margin-top: 24px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 420px);
  gap: 20px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading.compact,
.subheading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

h3 {
  font-size: 2rem;
}

.section-intro,
.integration-card p,
.concert-copy,
.media-copy,
.meta {
  color: var(--muted);
  line-height: 1.7;
}

.concert-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 24px;
}

.concert-grid,
.media-grid {
  display: grid;
  gap: 14px;
}

.concert-card,
.media-card,
.embed-frame {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid rgba(69, 49, 36, 0.08);
}

.concert-card {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  position: relative;
  overflow: visible;
}

.concert-card-text-only,
.concert-card-landscape {
  grid-template-columns: 1fr;
}

.archive-grid .concert-card {
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
}

.archive-grid .concert-card-text-only,
.archive-grid .concert-card-landscape {
  grid-template-columns: 1fr;
}

.concert-poster-cell {
  position: relative;
  z-index: 1;
}

.poster-zoom-frame,
.poster-pdf-wrap {
  position: relative;
}

.poster,
.poster-fallback {
  height: 100%;
  min-height: 220px;
}

.poster {
  object-fit: contain;
  background: #f2ede7;
}

.poster-pdf-wrap {
  aspect-ratio: 1 / 1.414;
  min-height: 0;
  background: #f2ede7;
}

.poster-pdf {
  width: 100%;
  height: 100%;
  border: 0;
}

.poster-fallback {
  display: flex;
  align-items: end;
  padding: 18px;
  color: #fff5ef;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  background:
    linear-gradient(160deg, rgba(138, 35, 50, 0.92), rgba(67, 18, 33, 0.72)),
    linear-gradient(35deg, #cf9d62, #8a2332);
}

.poster-toggle {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.concert-card-poster-expanded {
  z-index: 5;
}

.concert-card-poster-expanded .concert-poster-cell {
  z-index: 6;
}

.concert-card-poster-expanded .poster-zoom-frame,
.concert-card-poster-expanded .poster-pdf-wrap {
  transform: scale(1.8);
  transform-origin: left center;
  box-shadow: 0 26px 56px rgba(33, 23, 18, 0.28);
}

.concert-card-poster-expanded .poster-toggle {
  cursor: zoom-out;
}

.archive-grid .concert-card-poster-expanded .poster-zoom-frame,
.archive-grid .concert-card-poster-expanded .poster-pdf-wrap {
  transform-origin: left top;
}

.card-body,
.media-body,
.embed-body {
  padding: 22px;
}

.concert-card-text-only .card-body {
  padding: 18px 20px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 12px 0 14px;
  font-size: 0.95rem;
}

.concert-copy,
.media-copy {
  margin: 0 0 16px;
}

.concert-copy-full {
  white-space: pre-line;
  overflow: visible;
  text-overflow: unset;
}

.card-actions {
  margin-top: auto;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent);
}

.media-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.playlist-card {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  background:
    linear-gradient(135deg, rgba(138, 35, 50, 0.06), rgba(207, 157, 98, 0.16)),
    var(--surface-strong);
}

.playlist-art {
  position: relative;
  min-height: 100%;
  padding: 28px;
  color: #fff9f3;
  background:
    radial-gradient(circle at 24% 24%, rgba(255, 240, 219, 0.18), transparent 18%),
    linear-gradient(150deg, #7f1f32 0%, #3d1824 52%, #211714 100%);
}

.playlist-art::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 197, 145, 0.18), transparent 68%);
}

.playlist-art .status-pill {
  background: rgba(255, 248, 240, 0.12);
  color: #fff9f3;
}

.playlist-art h3,
.playlist-art .media-copy {
  position: relative;
  z-index: 1;
  color: #fff9f3;
}

.playlist-art h3 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  max-width: 6ch;
}

.playlist-art-copy {
  position: relative;
  z-index: 1;
  max-width: 18rem;
}

.playlist-art-disc {
  width: 132px;
  height: 132px;
  margin-bottom: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #f5dfc0 0 12px, #4d2430 13px 18px, #130d0b 19px 46px, #7d2940 47px 100%);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 248, 240, 0.12);
}

.playlist-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 320px);
  gap: 18px;
  align-items: start;
}

.playlist-panel,
.playlist-list-panel {
  padding: 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(69, 49, 36, 0.08);
}

.playlist-head {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.playlist-now-label {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.playlist-now-title {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.playlist-controls {
  display: flex;
  gap: 10px;
  margin: 0 0 14px;
  flex-wrap: wrap;
}

.playlist-button {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff9f3;
  font-weight: 700;
  cursor: pointer;
}

.playlist-list-heading {
  margin-bottom: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.playlist-tracklist {
  display: grid;
  gap: 8px;
}

.playlist-track {
  width: 100%;
  padding: 10px 12px;
  text-align: left;
  border: 1px solid rgba(69, 49, 36, 0.08);
  border-radius: 14px;
  background: rgba(138, 35, 50, 0.04);
  color: var(--text);
  cursor: pointer;
}

.playlist-track.is-active {
  background: rgba(138, 35, 50, 0.12);
  border-color: rgba(138, 35, 50, 0.2);
}

@media (max-width: 900px) {
  .playlist-card,
  .playlist-body {
    grid-template-columns: 1fr;
  }

  .playlist-art h3 {
    max-width: none;
  }
}

.media-embed {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 0;
}

.audio-player {
  width: 100%;
  margin-top: 16px;
}

.integrations {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.integration-card {
  padding: 30px;
}

.support-section {
  padding: 24px 36px;
}

.join-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.join-image {
  width: 100%;
  height: auto;
  margin-bottom: 22px;
  border-radius: 24px;
}

.join-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid rgba(69, 49, 36, 0.08);
}

.join-card h3 {
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.support-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(138, 35, 50, 0.08), rgba(207, 157, 98, 0.14)),
    var(--surface-strong);
  border: 1px solid rgba(69, 49, 36, 0.08);
}

.calendar-nav {
  display: flex;
  gap: 8px;
}

.calendar-nav-button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(69, 49, 36, 0.12);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.calendar-nav-button:disabled {
  opacity: 0.35;
  cursor: default;
}

.embed-frame {
  margin-top: 18px;
}

.embed-frame iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}

.empty-state {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(138, 35, 50, 0.06);
  color: var(--muted);
}

.calendar-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.calendar-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid rgba(69, 49, 36, 0.08);
}

.calendar-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(138, 35, 50, 0.08);
  color: var(--accent);
  white-space: nowrap;
}

.calendar-day {
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: capitalize;
  white-space: nowrap;
}

.calendar-time {
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  margin-top: 0;
}

.calendar-body {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.calendar-body h3 {
  font-size: 1.2rem;
  line-height: 1.1;
  white-space: nowrap;
}

.calendar-body h3 a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.calendar-body .meta {
  margin: 0;
  white-space: nowrap;
}

.calendar-body .concert-copy {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .section-heading,
  .media-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 100%);
  }

  .hero,
  .section {
    border-radius: 28px;
  }

  .topbar,
  .concert-card,
  .archive-grid .concert-card,
  .calendar-row,
  .concert-layout {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
  }

  .hero {
    gap: 18px;
  }

  .hero-image {
    border-radius: 18px;
  }

  .join-image {
    border-radius: 18px;
  }

  .brand {
    padding: 7px 9px;
    border-radius: 14px;
  }

  .brand img {
    width: clamp(128px, 48vw, 160px);
  }

  .menu-wrap {
    align-items: flex-end;
  }

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

.topbar-links {
    z-index: 4;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    min-width: min(230px, calc(100vw - 54px));
    gap: 6px;
    padding: 10px;
    border-radius: 22px;
    background: rgba(26, 12, 14, 0.94);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .menu-wrap:hover .topbar-links,
  .menu-wrap:focus-within .topbar-links,
  .menu-wrap.menu-open .topbar-links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .topbar-links a {
    padding: 9px 10px;
  }

  .section,
  .integration-card,
  .hero {
    padding: 22px;
  }

  .support-card {
    grid-template-columns: 1fr;
  }

  .calendar-date {
    width: fit-content;
  }
}

.site-footer {
  display: flex;
  justify-content: center;
  padding: 28px 20px;
  background: #1a0c0e;
}

.site-footer a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c9a87a;
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.8;
  transition: opacity 0.15s ease;
}

.site-footer a:hover {
  opacity: 1;
}

.footer-copy-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: #c9a87a;
  font: inherit;
  font-size: 0.95rem;
  opacity: 0.8;
  transition: opacity 0.15s ease;
  padding: 0;
}
.footer-copy-btn:hover { opacity: 1; }

.footer-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
