/* Music Pages — published site theme. One look, light and dark.
   Modelled on olivermarec.at: black, full-bleed photos, thin wide name,
   heavy section headings, centred text, grey pill buttons. */

@font-face {
  font-family: "Mulish";
  src: url("/site/fonts/mulish-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Mulish";
  src: url("/site/fonts/mulish-latin-ext.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --dark-bg: #000;
  --dark-fg: #fff;
  --dark-muted: rgba(255, 255, 255, .68);
  --dark-line: rgba(255, 255, 255, .16);
  --dark-pill: #3a3d42;
  --dark-pill-fg: #fff;
  --dark-card: #111;
  --light-bg: #fff;
  --light-fg: #111;
  --light-muted: rgba(0, 0, 0, .62);
  --light-line: rgba(0, 0, 0, .12);
  --light-pill: #e9eaec;
  --light-pill-fg: #111;
  --light-card: #f4f4f5;
}

:root, [data-theme="dark"] {
  --bg: var(--dark-bg); --fg: var(--dark-fg); --muted: var(--dark-muted); --line: var(--dark-line);
  --pill: var(--dark-pill); --pill-fg: var(--dark-pill-fg); --card: var(--dark-card);
}
[data-theme="light"] {
  --bg: var(--light-bg); --fg: var(--light-fg); --muted: var(--light-muted); --line: var(--light-line);
  --pill: var(--light-pill); --pill-fg: var(--light-pill-fg); --card: var(--light-card);
}
@media (prefers-color-scheme: light) {
  [data-theme="auto"] {
    --bg: var(--light-bg); --fg: var(--light-fg); --muted: var(--light-muted); --line: var(--light-line);
    --pill: var(--light-pill); --pill-fg: var(--light-pill-fg); --card: var(--light-card);
  }
}

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

html { background: var(--bg); color: var(--fg); }
body {
  margin: 0;
  font-family: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
svg { fill: currentColor; }

/* ── Top bar ─────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem clamp(1rem, 4vw, 4.5rem);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.has-hero .topbar {
  position: absolute; left: 0; right: 0;
  background: transparent; backdrop-filter: none;
  color: #fff; border-bottom-color: rgba(255, 255, 255, .25);
}
.brand { text-decoration: none; font-size: 1.35rem; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.brand b { font-weight: 800; }
.brand span { font-weight: 300; }
.menu-inline { display: none; gap: 1.6rem; }
.menu-inline a, .menu-mobile nav a {
  text-decoration: none; text-transform: uppercase; letter-spacing: .08em;
  font-size: .82rem; font-weight: 600; padding: .3rem 0; border-bottom: 2px solid transparent;
}
.menu-inline a[aria-current="page"], .menu-inline a:hover { border-bottom-color: currentColor; }
.topbar-end { display: flex; align-items: center; gap: 1rem; }
.languages { display: flex; gap: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.languages a { text-decoration: none; opacity: .65; }
.languages a:hover { opacity: 1; }

.menu-mobile summary { list-style: none; cursor: pointer; padding: .5rem; }
.menu-mobile summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after {
  display: block; width: 22px; height: 2px; background: currentColor; position: relative; content: "";
}
.burger::before { position: absolute; top: -7px; }
.burger::after { position: absolute; top: 7px; }
.menu-mobile[open] nav {
  position: fixed; inset: 3.6rem 0 auto 0; z-index: 20;
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  padding: 1.5rem; background: var(--bg); color: var(--fg); border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) {
  .menu-inline { display: flex; }
  .menu-mobile { display: none; }
}

/* ── Sections ────────────────────────────────────────────── */
main section, .page {
  max-width: 62rem; margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1.1rem, 4vw, 2rem) 1rem;
  text-align: center;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 1rem; }
h2 { font-weight: 900; font-size: clamp(1.7rem, 4.5vw, 2.6rem); }
h3 { font-weight: 800; font-size: clamp(1.3rem, 3.2vw, 1.8rem); }
.page-title { font-weight: 300; font-size: clamp(2.2rem, 7vw, 4rem); letter-spacing: .02em; }
.muted { color: var(--muted); }
.prose { max-width: 42rem; margin: 0 auto; }
.prose p { margin: 0 0 1rem; }

.pill {
  display: inline-block; margin: .35rem .25rem; padding: .6rem 1.3rem;
  background: var(--pill); color: var(--pill-fg); border-radius: 999px;
  font-size: .9rem; font-weight: 600; text-decoration: none;
}
.pill:hover { filter: brightness(1.15); }
.pill.outline { background: transparent; border: 1px solid var(--line); color: var(--fg); }
.pill.active { background: var(--fg); color: var(--bg); }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  margin-top: 4rem; padding: 2.5rem 1rem 3rem; text-align: center;
  border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem;
}
.site-footer p { margin: .5rem 0; }
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.1rem; margin: 1rem 0; }
.socials a { display: inline-flex; color: inherit; opacity: .85; }
.socials a:hover { opacity: 1; }
.socials svg { width: 22px; height: 22px; }

/* ── Not found ───────────────────────────────────────────── */
.not-found main { min-height: 70vh; display: grid; place-content: center; text-align: center; padding: 2rem; }
.not-found h1 { font-weight: 300; font-size: 2rem; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  max-width: none; margin: 0; padding: 0; /* full-bleed, unlike other sections */
  display: grid; align-items: end; justify-items: center;
  overflow: hidden; background: #000; color: #fff; text-align: center;
}
.hero.no-photo { min-height: 60svh; background: var(--bg); color: var(--fg); align-items: center; }
.hero .slides { position: absolute; inset: 0; }
.hero .slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%;
  opacity: 0; transition: opacity 1s ease-in-out;
}
.hero .slide.active { opacity: 1; }
.hero:not(.no-photo)::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 45%, rgba(0,0,0,.82) 100%);
}
.hero-text { position: relative; z-index: 1; padding: 0 1.2rem clamp(3rem, 12vh, 7rem); }
.hero-name {
  font-weight: 300; text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(2.3rem, 8vw, 5rem); margin: 0 0 .7rem;
}
.tagline { text-transform: uppercase; letter-spacing: .05em; font-size: clamp(.78rem, 2.2vw, 1.25rem); margin: 0; opacity: .92; }
.hero .socials { margin-top: 1.4rem; }

/* ── Gig list (date blocks) ──────────────────────────────── */
.gig-list { list-style: none; margin: 0 auto 1.5rem; padding: 0; max-width: 46rem; text-align: left; }
.gig { display: flex; align-items: flex-start; gap: 1.1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.gig .date { flex: 0 0 3.6rem; display: flex; flex-direction: column; align-items: center; line-height: 1.05; }
.gig .day { font-size: 1.85rem; font-weight: 900; }
.gig .month { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-top: .2rem; }
.gig .year { font-size: .7rem; color: var(--muted); }
.gig .info { flex: 1; min-width: 0; }
.gig .info p { margin: 0; }
.gig .act { font-weight: 800; font-size: 1.02rem; }
.gig .address { color: var(--muted); font-size: .88rem; }
.gig.private .act { font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.gig .ticket { align-self: center; flex: 0 0 auto; margin: 0; padding: .45rem 1rem; font-size: .8rem; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem; margin: 0 0 1.5rem; }
.chips .pill { margin: 0; padding: .4rem .95rem; font-size: .8rem; }
.pager { display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* ── Project cards ───────────────────────────────────────── */
.cards { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); text-align: center; }
.card { display: block; text-decoration: none; background: var(--card); border-radius: 6px; overflow: hidden; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-title { display: block; padding: .9rem 1rem 1.1rem; font-weight: 800; font-size: 1.1rem; }

/* ── Projects ────────────────────────────────────────────── */
.project { padding: 2.5rem 0 1.5rem; border-bottom: 1px solid var(--line); }
.project:last-of-type { border-bottom: 0; }
.project-image { margin: 0 auto 1.6rem; max-height: 75vh; width: auto; border-radius: 4px; }
.project h3 a { text-decoration: none; }
.members { margin: 0 0 1.2rem; }
.actions { margin-top: 1rem; }

/* ── Videos (click to load) ──────────────────────────────── */
.videos { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr)); }
.video-item { margin: 0; }
.video, .video-frame {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: #151515; border-radius: 6px;
}
.video img { width: 100%; height: 100%; object-fit: cover; }
.video .play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0, 0, 0, .38); transition: background .2s;
}
.video .play::before {
  content: ""; width: 4.2rem; height: 4.2rem; border-radius: 50%;
  background: rgba(255, 255, 255, .92);
}
.video .play::after {
  content: ""; position: absolute; width: 0; height: 0;
  border-left: 1.25rem solid #111; border-top: .8rem solid transparent; border-bottom: .8rem solid transparent;
  margin-left: .35rem;
}
.video:hover .play { background: rgba(0, 0, 0, .2); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-item figcaption { padding: .6rem 0 0; display: flex; flex-direction: column; gap: .15rem; }
.video-title { font-weight: 700; }
.video-note { font-size: .72rem; color: var(--muted); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ── Text pages, logos, contact ──────────────────────────── */
.prose { text-align: left; }
.summary .prose, .contact { text-align: center; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.page-image { margin: 0 auto 2rem; border-radius: 4px; }
.logos {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); align-items: center;
}
.logos img { margin: 0 auto; max-height: 6rem; width: auto; object-fit: contain; }
.contact { font-size: 1.1rem; }
.contact p { margin: .4rem 0; }
.contact a { text-decoration: none; border-bottom: 1px solid var(--line); }
