/* ============================================================================
   Paul Brand — styles
   You shouldn't need to edit this file to keep the site up to date.
   The four "lighting" states live in the [data-theme="..."] blocks below.
   ========================================================================== */

/* ---- Theme tokens -------------------------------------------------------- */
:root {
  --bg:        #f4f0e8;
  --bg-2:      #efe9dc;
  --surface:   #fcfaf4;
  --surface-2: #f7f2e8;
  --ink:       #211e19;
  --muted:     #6b6256;
  --line:      #e3dbcb;
  --gold:      #8a5a12;   /* readable gold for text/accents on this bg */
  --gold-soft: #b98a2e;
  --red:       #7c2230;
  --focus:     #8a5a12;
  --curtain:   0;         /* 0 = curtains hidden, 1 = shown */
  --glow:      0;         /* marquee glow strength */
  --shadow:    0 18px 40px -28px rgba(40, 30, 16, .45);
}

/* If JavaScript is off, fall back to the visitor's system preference. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #16110f; --bg-2: #120d0b; --surface: #201914; --surface-2: #271f18;
    --ink: #ece4d6; --muted: #a89c8b; --line: #312619;
    --gold: #d9b25f; --gold-soft: #e4c277; --red: #c25358; --focus: #d9b25f;
    --shadow: 0 22px 50px -30px rgba(0,0,0,.75);
  }
}

/* Day — house lights up */
[data-theme="light"] {
  --bg: #f4f0e8; --bg-2: #efe9dc; --surface: #fcfaf4; --surface-2: #f7f2e8;
  --ink: #211e19; --muted: #6b6256; --line: #e3dbcb;
  --gold: #8a5a12; --gold-soft: #b98a2e; --red: #7c2230; --focus: #8a5a12;
  --curtain: 0; --glow: 0;
  --shadow: 0 18px 40px -28px rgba(40,30,16,.45);
}

/* Night — the theatre is dark */
[data-theme="dark"] {
  --bg: #16110f; --bg-2: #110c0a; --surface: #201914; --surface-2: #271f18;
  --ink: #ece4d6; --muted: #a89c8b; --line: #312619;
  --gold: #d9b25f; --gold-soft: #e4c277; --red: #c25358; --focus: #d9b25f;
  --curtain: 0; --glow: .35;
  --shadow: 0 22px 50px -30px rgba(0,0,0,.75);
}

/* Matinee — warm afternoon performance (Wed/Sat/Sun 1–4pm) */
[data-theme="matinee"] {
  --bg: #f3e6c8; --bg-2: #ecd6a6; --surface: #fbf3df; --surface-2: #f7ebcf;
  --ink: #3a201b; --muted: #7a513a; --line: #e6cd9b;
  --gold: #9a6a10; --gold-soft: #c08a23; --red: #8c2a2e; --focus: #9a6a10;
  --curtain: 1; --glow: .25;
  --shadow: 0 20px 46px -28px rgba(90,40,10,.4);
}

/* Evening — the full velvet-and-gold performance (Tue–Sun 7–10pm) */
[data-theme="evening"] {
  --bg: #190a0c; --bg-2: #0c0405; --surface: #2a0e11; --surface-2: #341316;
  --ink: #f2e6cc; --muted: #c2a486; --line: #4a2227;
  --gold: #e4c277; --gold-soft: #f0d79a; --red: #c2484d; --focus: #e4c277;
  --curtain: 1; --glow: 1;
  --shadow: 0 30px 60px -28px rgba(0,0,0,.85);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Spectral", Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 50% -10%, var(--bg) 0%, var(--bg-2) 100%) fixed;
  line-height: 1.6;
  font-size: 18px;
  transition: background-color .6s ease, color .6s ease;
  overflow-x: hidden;
}

/* Stage curtains at the edges — only drawn in matinee / evening. */
body::before, body::after {
  content: "";
  position: fixed;
  top: 0; bottom: 0;
  width: clamp(36px, 8vw, 120px);
  pointer-events: none;
  z-index: 0;
  opacity: var(--curtain);
  transition: opacity .8s ease;
}
body::before {
  left: 0;
  background:
    repeating-linear-gradient(90deg,
      color-mix(in srgb, var(--red) 88%, #000) 0 10px,
      color-mix(in srgb, var(--red) 60%, #000) 10px 22px);
  -webkit-mask: linear-gradient(90deg, #000 30%, transparent);
          mask: linear-gradient(90deg, #000 30%, transparent);
  box-shadow: inset 0 0 60px rgba(0,0,0,.5);
}
body::after {
  right: 0;
  background:
    repeating-linear-gradient(90deg,
      color-mix(in srgb, var(--red) 60%, #000) 0 12px,
      color-mix(in srgb, var(--red) 88%, #000) 12px 22px);
  -webkit-mask: linear-gradient(270deg, #000 30%, transparent);
          mask: linear-gradient(270deg, #000 30%, transparent);
  box-shadow: inset 0 0 60px rgba(0,0,0,.5);
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(1040px, 92vw);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px) 0 0;
}

a { color: inherit; }

::selection { background: color-mix(in srgb, var(--gold) 35%, transparent); }

/* ---- Header -------------------------------------------------------------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 6px 4px;
}

.monogram {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: "Marcellus", serif;
}
.monogram .mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: .04em;
  flex: none;
}
.monogram .who {
  font-size: .92rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Live "lighting" status pill — the page's signature. */
.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.status .bulb {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold) 60%, transparent);
  animation: pulse 2.8s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold) 55%, transparent); }
  70%  { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ---- Hero / marquee ------------------------------------------------------ */
.hero {
  text-align: center;
  padding: clamp(40px, 9vw, 96px) 0 clamp(28px, 5vw, 52px);
}
.hero .eyebrow {
  font-size: .74rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
}
.marquee {
  font-family: "Marcellus", serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: clamp(.04em, 1.2vw, .14em);
  font-size: clamp(2.7rem, 9vw, 5.4rem);
  line-height: .98;
  margin: 0;
  color: var(--ink);
  text-shadow: 0 0 calc(var(--glow) * 30px)
               color-mix(in srgb, var(--gold) calc(var(--glow) * 55%), transparent);
}
.tagline {
  font-family: "Spectral", serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1rem, 2.4vw, 1.32rem);
  color: var(--muted);
  margin: 20px auto 0;
  max-width: 36ch;
}
.note {
  margin: 26px auto 0;
  max-width: 48ch;
  color: var(--ink);
  opacity: .9;
}

/* thin gilt rule used as a divider */
.rule {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  margin: 8px auto clamp(30px, 5vw, 48px);
  width: min(520px, 70vw);
}
.rule::before, .rule::after {
  content: ""; height: 1px; flex: 1;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.rule .diamond { font-size: .7rem; transform: translateY(-1px); }

/* ---- Programme (interest cards) ----------------------------------------- */
.section-label {
  font-size: .74rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin: 0 0 26px;
}

.programme {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.card--feature { grid-column: 1 / -1; }

.card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, background-color .4s ease;
}
.card--feature { padding: 30px 30px; gap: 26px; }

/* hover spotlight — warmer/stronger in matinee & evening via --glow */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 220px at var(--mx, 30%) -20%,
              color-mix(in srgb, var(--gold) 26%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.card:hover { transform: translateY(-3px); border-color: var(--gold); }
.card:hover::after { opacity: calc(.55 + var(--glow) * .45); }

.card__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 12px;
  color: var(--gold);
  background: color-mix(in srgb, var(--gold) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
}
.card--feature .card__icon { width: 66px; height: 66px; }
.card__icon svg { width: 28px; height: 28px; }
.card--feature .card__icon svg { width: 34px; height: 34px; }

.card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.card__title {
  font-family: "Marcellus", serif;
  font-size: 1.18rem;
  letter-spacing: .01em;
  color: var(--ink);
}
.card--feature .card__title { font-size: 1.5rem; }
.card__blurb { color: var(--muted); font-size: .95rem; line-height: 1.45; }

.card__cue {
  flex: none;
  margin-left: auto;
  color: var(--gold);
  font-size: 1.2rem;
  transform: translateX(0);
  transition: transform .25s ease;
}
.card:hover .card__cue { transform: translateX(5px); }

/* ---- Long-form pages (about / contact) ---------------------------------- */
.page {
  max-width: 64ch;
  margin: clamp(20px, 4vw, 36px) auto 0;
}
.page h1 {
  font-family: "Marcellus", serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: .01em;
  margin: 0 0 6px;
}
.page .kicker {
  font-size: .74rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 18px;
}
.page h2 {
  font-family: "Marcellus", serif;
  font-weight: 400;
  font-size: 1.3rem;
  margin: 38px 0 4px;
  color: var(--ink);
}
.page p { margin: 0 0 18px; }
.page p:first-of-type::first-letter {
  font-family: "Marcellus", serif;
  font-size: 3.1em;
  line-height: .8;
  float: left;
  padding: 6px 12px 0 0;
  color: var(--gold);
}

/* contact rows */
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.contact-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface);
  text-decoration: none; color: var(--ink);
  transition: border-color .25s ease, transform .2s ease;
}
.contact-row:hover { border-color: var(--gold); transform: translateY(-2px); }
.contact-row .c-label {
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.contact-row .c-value { font-family: "Marcellus", serif; font-size: 1.1rem; color: var(--gold); }

/* ---- Footer / foyer ------------------------------------------------------ */
.foyer {
  margin-top: clamp(56px, 9vw, 96px);
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  font-size: .85rem;
  color: var(--muted);
}
.foyer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foyer nav a, .foyer .socials a {
  text-decoration: none;
  color: var(--muted);
  letter-spacing: .04em;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.foyer nav a:hover, .foyer .socials a:hover { color: var(--gold); border-color: var(--gold); }
.foyer nav a[aria-current="page"] { color: var(--ink); }
.foyer .socials { display: flex; gap: 18px; }
.foyer .copy { width: 100%; order: 5; font-size: .78rem; opacity: .8; }

/* ---- Lighting switcher --------------------------------------------------- */
.lighting {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.lighting .lbl {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-right: 6px;
}
.lighting button {
  font: inherit;
  font-size: .74rem;
  letter-spacing: .04em;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.lighting button:hover { color: var(--gold); border-color: var(--gold); }
.lighting button[aria-pressed="true"] {
  color: var(--bg);
  background: var(--gold);
  border-color: var(--gold);
}

/* ---- Focus + motion ------------------------------------------------------ */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); animation: rise .7s ease forwards; }
  .reveal:nth-child(1) { animation-delay: .05s; }
  .reveal:nth-child(2) { animation-delay: .14s; }
  .reveal:nth-child(3) { animation-delay: .22s; }
  .reveal:nth-child(4) { animation-delay: .30s; }
  .reveal:nth-child(5) { animation-delay: .38s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 680px) {
  body::before, body::after { width: 16px; }
  .programme { grid-template-columns: 1fr; }
  .card { padding: 18px 18px; gap: 16px; }
  .card__icon { width: 50px; height: 50px; }
  .topbar .who { display: none; }
  .status { font-size: .64rem; padding: 6px 12px; }
  .foyer { flex-direction: column; align-items: flex-start; }
}

/* ============================================================================
   Added: top navigation, project pages, and photos
   ========================================================================== */

/* ---- Primary navigation in the header ----------------------------------- */
.topbar { flex-wrap: wrap; gap: 12px 22px; }
.mainnav { display: flex; gap: 22px; }
.mainnav a {
  text-decoration: none;
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1.5px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.mainnav a:hover { color: var(--gold); }
.mainnav a[aria-current="page"] { color: var(--ink); border-color: var(--gold); }

@media (max-width: 680px) {
  .status   { order: 1; }
  .mainnav  { order: 2; flex-basis: 100%; justify-content: center;
              border-top: 1px solid var(--line); padding-top: 12px; }
}

/* ---- Home: spacing between the two groups ------------------------------- */
.block { margin-top: clamp(40px, 6vw, 64px); }
.block:first-of-type { margin-top: 0; }

/* projects read the same as interests; the section label gives the context */
.card--project .card__cue { font-size: .82rem; letter-spacing: .04em; white-space: nowrap; }

/* ---- Project detail page ------------------------------------------------ */
.back {
  display: inline-block;
  margin-bottom: 22px;
  text-decoration: none;
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .08em;
  transition: color .2s ease;
}
.back:hover { color: var(--gold); }

.project .lead {
  font-family: "Spectral", serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: var(--muted);
  margin: 4px 0 26px;
}

.cta-row { margin: 30px 0; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Marcellus", serif;
  font-size: 1rem;
  letter-spacing: .03em;
  color: var(--bg);
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 13px 26px;
  transition: transform .2s ease, box-shadow .25s ease, filter .2s ease;
  box-shadow: var(--shadow);
}
.btn::after { content: "\2192"; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }

/* screenshots gallery */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 14px 0 8px;
}
.shot { margin: 0; }
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}
.shot figcaption { margin-top: 8px; font-size: .85rem; color: var(--muted); }

/* ---- Photos on the About page ------------------------------------------- */
.about-portrait {
  float: right;
  width: min(260px, 40%);
  margin: 4px 0 16px 26px;
}
.photo { margin: 0; }
.photo img {
  display: block;
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  /* A fixed frame + cover cropping keeps side-by-side photos the same height,
     whatever shape the original files are. Change the ratios below to taste. */
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.photo figcaption { margin-top: 8px; font-size: .82rem; color: var(--muted); }

/* the portrait sits taller than wide */
.about-portrait img { aspect-ratio: 4 / 5; }

.photo-row {
  clear: both;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 34px 0 8px;
  align-items: start;
}
/* captions line up even if one runs to two lines */
.photo-row .photo { display: flex; flex-direction: column; height: 100%; }

/* ---- Placeholder shown until a real image is dropped in ----------------- */
.ph { display: none; }
.is-missing img { display: none; }
.is-missing .ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  min-height: 150px;
  padding: 20px;
  border: 1px dashed color-mix(in srgb, var(--gold) 45%, var(--line));
  border-radius: 12px;
  color: var(--muted);
  font-size: .8rem;
  letter-spacing: .04em;
  background: color-mix(in srgb, var(--gold) 6%, transparent);
}
.is-missing .ph code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: .76rem;
  color: var(--gold);
}
/* placeholders match the real image ratios, so nothing shifts when you add photos */
.photo-row .is-missing .ph { aspect-ratio: 4 / 3; min-height: 0; }
.about-portrait.is-missing .ph { aspect-ratio: 4 / 5; min-height: 0; }

@media (max-width: 680px) {
  .about-portrait { float: none; width: 100%; margin: 0 0 22px; }
}

/* ---- Project page: hero + highlights ------------------------------------ */
.hero-shot { margin: 6px 0 26px; }
.hero-shot img { aspect-ratio: 16 / 9; }
.hero-shot.is-missing .ph { aspect-ratio: 16 / 9; min-height: 0; }

.highlights {
  margin: 30px 0;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  background: color-mix(in srgb, var(--gold) 6%, transparent);
}
.highlights .hl-title {
  font-family: "Marcellus", serif;
  font-size: .78rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}
.highlights ul { margin: 0; padding-left: 20px; }
.highlights li { margin-bottom: 7px; }
.highlights li::marker { color: var(--gold); }

/* screenshots keep a consistent shape */
.shot img { aspect-ratio: 16 / 10; object-fit: cover; }
.shot.is-missing .ph { aspect-ratio: 16 / 10; min-height: 0; }

/* ---- Custom pages: sections, hero, section photos ----------------------- */
.page-section { margin-top: 34px; }
.page-section h2 { margin-top: 0; }
.section-photo { margin: 14px 0 18px; }
.section-photo img { aspect-ratio: 3 / 2; }
.section-photo.is-missing .ph { aspect-ratio: 3 / 2; min-height: 0; }

/* ============================================================================
   Music section
   ========================================================================== */
.page--wide { max-width: 76ch; }
.prose { max-width: 64ch; }
hr.soft { border: 0; height: 1px; background: var(--line); margin: 26px 0; }
.muted { color: var(--muted); }

/* --- embeds --------------------------------------------------------------- */
.embed { margin: 24px 0; }
.embed--video { position: relative; padding-top: 56.25%; border-radius: 14px;
  overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow);
  background: var(--surface-2); }
.embed--video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed--spotify iframe { width: 100%; height: 152px; border: 0; border-radius: 12px; }
.embed--issuu { position: relative; padding-top: 66%; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); }
.embed--issuu iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- gig list ------------------------------------------------------------- */
.gig-list { display: grid; gap: 10px; }
.gig {
  display: flex; align-items: center; gap: 18px;
  padding: 14px 18px; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  transition: transform .2s ease, border-color .2s ease;
}
.gig:hover { transform: translateY(-2px); border-color: var(--gold); }
.gig--next { border-left: 3px solid var(--gold); }
.gig__date {
  flex: none; width: 62px; text-align: center; line-height: 1.05;
  padding-right: 16px; border-right: 1px solid var(--line);
}
.gig__date .d  { display: block; font-family: "Marcellus", serif; font-size: 1.5rem; color: var(--gold); }
.gig__date .mo { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; }
.gig__date .yr { display: block; font-size: .66rem; color: var(--muted); }
.gig__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.gig__title { font-family: "Marcellus", serif; font-size: 1.05rem; }
.gig__venue { font-size: .86rem; color: var(--muted); }
.gig__tag {
  margin-left: auto; flex: none; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bg); background: var(--gold); padding: 5px 11px; border-radius: 999px;
}
.gig-list--past .gig { opacity: .82; }
.gig-list--past .gig:hover { opacity: 1; }

/* --- recordings grid ------------------------------------------------------ */
.rec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.rec { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 3px; }
.rec__thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: var(--surface-2); margin-bottom: 9px;
  box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease;
}
.rec:hover .rec__thumb { transform: translateY(-3px); border-color: var(--gold); }
.rec__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rec__ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--gold); opacity: .5; }
.rec__ph svg { width: 34px; height: 34px; }
.rec__dur {
  position: absolute; right: 8px; bottom: 8px; font-size: .72rem;
  background: rgba(0,0,0,.72); color: #fff; padding: 2px 7px; border-radius: 5px;
  font-family: ui-monospace, monospace;
}
.rec__title { font-family: "Marcellus", serif; font-size: 1.02rem; line-height: 1.25; }
.rec__artist { font-size: .84rem; color: var(--muted); }
.rec__meta { font-size: .8rem; color: var(--muted); opacity: .85; }

/* --- detail layout -------------------------------------------------------- */
.rec-layout { display: grid; grid-template-columns: 240px 1fr; gap: 34px; margin-top: 26px; align-items: start; }
.rec-facts {
  position: sticky; top: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px;
}
.rec-facts dl { margin: 0; }
.rec-facts dt {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-top: 14px;
}
.rec-facts dt:first-child { margin-top: 0; }
.rec-facts dd { margin: 3px 0 0; font-size: .94rem; }
.rec-facts a { color: var(--gold); }
.rec-copy { font-size: .82rem; color: var(--muted); font-style: italic; margin: 16px 0 0; }
.rec-link { margin: 14px 0 0; font-size: .9rem; }
.rec-facts .btn { margin-top: 16px; width: 100%; justify-content: center; font-size: .9rem; padding: 10px 16px; }

/* --- tickets & programme -------------------------------------------------- */
.tickets, .programme { margin: 32px 0; }
.ticket-embed { margin: 14px 0; min-height: 0; }
.ticket-embed iframe { width: 100%; min-height: 420px; border: 0; border-radius: 12px; }
.ticket-fallback { margin-top: 10px; }
.tickets .actions, .programme .actions { margin-top: 12px; }

@media (max-width: 760px) {
  .rec-layout { grid-template-columns: 1fr; gap: 22px; }
  .rec-facts { position: static; }
  .gig { gap: 12px; padding: 12px 14px; }
  .gig__date { width: 52px; padding-right: 12px; }
  .gig__tag { display: none; }
}
