/* ==========================================================================
   RobKays Music - site stylesheet
   Palette nods to the Ugandan flag: charcoal stage, warm gold, deep red.
   ========================================================================== */

:root {
  --ink: #10151c;
  --ink-soft: #1c242f;
  --ink-muted: #5b6674;
  --paper: #ffffff;
  --paper-alt: #f5f5f2;
  --line: #e3e4e0;
  --gold: #f2b418;
  --gold-dark: #c98d05;
  --red: #cc2b22;
  --green: #1f7a4d;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(16, 21, 28, 0.06), 0 2px 8px rgba(16, 21, 28, 0.06);
  --shadow-md: 0 10px 30px rgba(16, 21, 28, 0.12);
  --max: 1160px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
}

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

.container--narrow {
  max-width: 760px;
}

.section {
  padding: 64px 0;
}

.section--tight {
  padding: 40px 0;
}

.section--alt {
  background: var(--paper-alt);
}

.section--dark {
  background: var(--ink);
  color: #e9edf2;
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.section-head p {
  color: var(--ink-muted);
  margin: 0;
  max-width: 62ch;
}

.section--dark .section-head p {
  color: #b8c1cd;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 0.6rem;
}

.section--dark .eyebrow {
  color: var(--gold);
}

/* ---------- Header ------------------------------------------------------ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 10px 16px;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 21, 28, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--red));
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 900;
}

.brand__text small {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

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

.site-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  color: #cfd6e0;
  font-size: 0.94rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.site-nav a[aria-current='page'] {
  color: var(--ink);
  background: var(--gold);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

/* ---------- Buttons ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease,
    color 0.15s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn--primary {
  background: var(--gold);
  color: var(--ink);
}

.btn--primary:hover {
  background: var(--gold-dark);
  color: #fff;
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: var(--ink-soft);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--ink);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.86rem;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* ---------- Hero ------------------------------------------------------- */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(160deg, #131a24 0%, #232d3b 55%, #10151c 100%);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 82% 12%,
      rgba(242, 180, 24, 0.34),
      transparent 45%
    ),
    radial-gradient(circle at 8% 88%, rgba(204, 43, 34, 0.3), transparent 42%);
  pointer-events: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.32;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: 92px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
}

.hero h1 {
  color: #fff;
}

.hero__lede {
  font-size: 1.1rem;
  color: #c9d2dd;
  max-width: 54ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__stats div strong {
  display: block;
  font-size: 1.6rem;
  color: var(--gold);
}

.hero__stats div span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9aa6b4;
}

.hero__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 22px;
  backdrop-filter: blur(6px);
}

.hero__card h3 {
  color: #fff;
  margin-bottom: 0.35rem;
}

.hero__card p {
  color: #c1cbd7;
  font-size: 0.92rem;
}

.hero__card ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.hero__card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
}

.hero__card li span:last-child {
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Page header ------------------------------------------------ */
.page-head {
  background: linear-gradient(160deg, #131a24, #2a3444);
  color: #fff;
  padding: 56px 0;
}

.page-head h1 {
  margin-bottom: 0.35em;
  color: #fff;
}

.page-head p {
  color: #c2cbd8;
  max-width: 64ch;
  margin: 0;
}

.breadcrumbs {
  font-size: 0.82rem;
  color: #93a0b0;
  margin-bottom: 14px;
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.breadcrumbs span + span::before {
  content: '/';
  margin: 0 8px;
  color: #5b6674;
}

/* ---------- Grid ------------------------------------------------------- */
.grid {
  display: grid;
  gap: 22px;
}

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

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

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

/* ---------- Cards ------------------------------------------------------ */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1c242f, #384558);
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__media--square {
  aspect-ratio: 1 / 1;
}

.card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(16, 21, 28, 0.35);
  opacity: 0;
  transition: opacity 0.18s ease;
  border: 0;
  cursor: pointer;
}

.card:hover .card__play,
.card:focus-within .card__play {
  opacity: 1;
}

.card__play span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card__body h3 {
  margin: 0;
}

.card__body h3 a:hover {
  color: var(--gold-dark);
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.card__excerpt {
  color: var(--ink-muted);
  font-size: 0.92rem;
  margin: 0;
}

.card__footer {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* ---------- Badges ----------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--paper-alt);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  white-space: nowrap;
}

.badge--concert {
  background: #ede9fe;
  color: #5b21b6;
  border-color: #ddd6fe;
}

.badge--wedding {
  background: #fce7f3;
  color: #9d174d;
  border-color: #fbcfe8;
}

.badge--birthday {
  background: #e0f2fe;
  color: #075985;
  border-color: #bae6fd;
}

.badge--kwanjula {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}

.badge--celebration {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}

.badge--corporate {
  background: #e2e8f0;
  color: #1e293b;
  border-color: #cbd5e1;
}

.badge--festival {
  background: #ffedd5;
  color: #9a3412;
  border-color: #fed7aa;
}

.badge--church {
  background: #ede9fe;
  color: #3730a3;
  border-color: #ddd6fe;
}

.badge--free {
  background: #dcfce7;
  color: var(--green);
  border-color: #bbf7d0;
}

.badge--busy {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fecaca;
}

/* ---------- Track / audio player --------------------------------------- */
.track-panel {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.track-art {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #1c242f, #384558);
}

.track-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

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

.player__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 0;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-facade {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.video-facade__cta {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.55));
}

.video-facade__cta span {
  display: grid;
  place-items: center;
  width: 74px;
  height: 52px;
  border-radius: 14px;
  background: #ff0000;
  font-size: 1.5rem;
  margin: 0 auto 8px;
}

/* ---------- List rows -------------------------------------------------- */
.stack {
  display: grid;
  gap: 14px;
}

.row-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.row-card__thumb {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(135deg, #1c242f, #384558);
}

.row-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.row-card h3 {
  margin: 0 0 4px;
}

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

/* ---------- Event card ------------------------------------------------- */
.event-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  width: 74px;
  padding: 8px 6px;
  flex: none;
}

.event-card__date strong {
  font-size: 1.5rem;
  line-height: 1;
}

.event-card__date span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.event-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: box-shadow 0.16s ease;
}

.event-row:hover {
  box-shadow: var(--shadow-md);
}

.event-row__body {
  flex: 1;
  min-width: 0;
}

.event-row__body h3 {
  margin-bottom: 6px;
}

.event-row__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.event-row__facts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Calendar --------------------------------------------------- */
.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 28px;
  align-items: start;
}

.calendar {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.calendar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: var(--paper-alt);
  border-bottom: 1px solid var(--line);
}

.calendar__head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.calendar__nav {
  display: flex;
  gap: 8px;
}

.calendar__nav a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  font-weight: 700;
}

.calendar__nav a:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.calendar__weekday {
  padding: 10px 4px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  background: var(--paper-alt);
}

.calendar__day {
  min-height: 104px;
  padding: 8px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.calendar__day:nth-child(7n) {
  border-right: 0;
}

.calendar__day--outside {
  background: #fafafa;
  color: #a9b0ba;
}

.calendar__day--past {
  background: #fbfbfa;
  color: #9aa2ac;
}

.calendar__day--busy {
  background: #fff7f7;
}

.calendar__day--today {
  box-shadow: inset 0 0 0 2px var(--gold);
}

.calendar__num {
  font-size: 0.85rem;
  font-weight: 700;
}

.calendar__pill {
  font-size: 0.68rem;
  line-height: 1.3;
  padding: 3px 6px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar__pill--kwanjula {
  background: var(--gold-dark);
}

.calendar__pill--wedding {
  background: #9d174d;
}

.calendar__pill--birthday {
  background: #075985;
}

.calendar__pill--concert {
  background: #5b21b6;
}

.calendar__state {
  margin-top: auto;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.calendar__state--free {
  color: var(--green);
}

.calendar__state--busy {
  color: var(--red);
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 14px;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot--free {
  background: var(--green);
}

.dot--busy {
  background: var(--red);
}

.dot--today {
  background: var(--gold);
}

/* ---------- Forms ------------------------------------------------------ */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 600;
  font-size: 0.88rem;
}

.field .help {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.field .errors {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  color: var(--red);
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

.field--error input,
.field--error select,
.field--error textarea {
  border-color: var(--red);
  background: #fff8f8;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.honeypot-wrap {
  display: none;
}

.required::after {
  content: ' *';
  color: var(--red);
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.alert {
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--paper-alt);
  margin-bottom: 20px;
  font-size: 0.92rem;
}

.alert--success {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.alert--warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.alert--error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.alert--info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-alt);
}

.filter-bar .field {
  min-width: 180px;
  flex: 1;
}

/* ---------- Social ----------------------------------------------------- */
.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-list a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.12s ease, border-color 0.15s ease;
}

.social-list a:hover {
  transform: translateY(-1px);
  border-color: var(--ink);
}

.social-list svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-list--dark a {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #e7ecf3;
}

.social-list--dark a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---------- Event type cards ------------------------------------------- */
.type-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.type-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.type-card h3 {
  margin: 0;
}

.type-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.type-card a {
  margin-top: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gold-dark);
}

/* ---------- Prose ------------------------------------------------------ */
.prose h2 {
  margin-top: 1.6em;
}

.prose h3 {
  margin-top: 1.4em;
}

.prose ul {
  padding-left: 1.2rem;
}

.prose blockquote {
  margin: 1.5em 0;
  padding: 14px 20px;
  border-left: 4px solid var(--gold);
  background: var(--paper-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-soft);
}

.lyrics {
  white-space: pre-line;
  font-size: 0.95rem;
  color: var(--ink-soft);
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  max-height: 420px;
  overflow: auto;
}

/* ---------- Pagination ------------------------------------------------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  font-size: 0.9rem;
}

.pagination a,
.pagination span {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.pagination .current {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ---------- Stats / CTA ------------------------------------------------ */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

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

.stat strong {
  display: block;
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--ink);
}

.stat span {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

.cta-band {
  background: linear-gradient(120deg, var(--gold), #e79c07);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.cta-band h2 {
  margin: 0 0 6px;
}

.cta-band p {
  margin: 0;
  max-width: 52ch;
}

/* ---------- Footer ----------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: #aeb8c4;
  padding: 56px 0 28px;
  margin-top: 64px;
}

.site-footer h3 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 0.92rem;
}

.footer-grid a:hover {
  color: var(--gold);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #7f8b99;
}

/* ---------- Utilities -------------------------------------------------- */
.muted {
  color: var(--ink-muted);
}

.small {
  font-size: 0.85rem;
}

.center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 8px;
}

.mt-2 {
  margin-top: 16px;
}

.mt-3 {
  margin-top: 24px;
}

.mt-4 {
  margin-top: 40px;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-2 {
  margin-bottom: 16px;
}

.mb-3 {
  margin-bottom: 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.empty-state {
  text-align: center;
  padding: 56px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-muted);
  background: var(--paper-alt);
}

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

.tag {
  font-size: 0.78rem;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.tag--active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ---------- Responsive ------------------------------------------------- */
@media (max-width: 960px) {
  .hero__inner,
  .track-panel,
  .calendar-layout {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    padding: 64px 0;
  }

  .row-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .row-card__thumb {
    width: 64px;
    height: 64px;
  }

  .row-card__actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px 20px 20px;
    display: none;
  }

  .site-nav[data-open='true'] {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-nav a {
    border-radius: var(--radius-sm);
    padding: 12px 14px;
  }

  .header-actions .btn {
    display: none;
  }

  .calendar__day {
    min-height: 72px;
    padding: 5px;
  }

  .calendar__pill {
    font-size: 0.6rem;
  }

  .event-row {
    flex-direction: column;
  }

  .form-card {
    padding: 20px;
  }

  .cta-band {
    padding: 26px;
  }

  .section {
    padding: 44px 0;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero__actions,
  .calendar__nav {
    display: none;
  }
}
