/* ==========================================================================
   Simon Anke — Ebony & Ivory design system
   Ebony (stage/night) · Ivory (keys/paper) · Brass (pedals/spotlight) · Felt (piano hammer felt)
   ========================================================================== */
@import url("fonts.css");

:root {
  --ebony: #0d0c0b;
  --ebony-2: #151311;
  --ebony-3: #1f1c19;
  --ebony-line: rgba(244, 239, 230, .12);
  --ivory: #f4efe6;
  --ivory-2: #ebe3d5;
  --ivory-line: rgba(13, 12, 11, .12);
  --brass: #c9a25a;
  --brass-2: #e2c488;
  --brass-deep: #8a6a2f;
  --felt: #2f5c48;
  --felt-2: #4c8a6c;
  --muted-d: #a8a095;   /* muted text on dark */
  --muted-l: #625b52;   /* muted text on light */

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-hammer: cubic-bezier(.34, 1.56, .64, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--ebony);
  color: var(--ivory);
  font-family: var(--f-body);
  font-size: clamp(16px, 1.05vw + 10px, 18px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--brass); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brass); color: var(--ebony); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--brass); color: var(--ebony); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* grain overlay — charcoal paper feel */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 150; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 350; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .5em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.8rem, 8vw, 7.5rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4.6vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.15; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--brass-2); font-weight: 300; }
.section--ivory h1 em, .section--ivory h2 em, .section--ivory h3 em { color: var(--brass-deep); }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.6; max-width: 38em; }
.eyebrow {
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brass); display: inline-flex; align-items: center; gap: .7em; margin-bottom: 1.2em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--ivory .eyebrow { color: var(--brass-deep); }
.muted { color: var(--muted-d); }
.section--ivory .muted { color: var(--muted-l); }
.mono { font-family: var(--f-mono); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(72px, 11vw, 150px) 0; }
.section--tight { padding: clamp(48px, 7vw, 90px) 0; }
.section--ivory { background: var(--ivory); color: var(--ebony); }
.section--ebony-2 { background: var(--ebony-2); }
.section--felt { background: radial-gradient(120% 140% at 10% 0%, #3a6f57 0%, var(--felt) 45%, #1d3b2e 100%); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(36px, 5vw, 64px); max-width: 52rem; }
.section-head--split { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
.split { display: grid; gap: clamp(32px, 6vw, 96px); grid-template-columns: 1fr 1fr; align-items: center; }
.split--wide-text { grid-template-columns: 1.15fr .85fr; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 860px) {
  .split, .split--wide-text { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .section-head--split { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: currentColor; --bd: currentColor;
  display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.5em; border-radius: 999px;
  font: 600 .95rem/1 var(--f-body); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  transition: transform .35s var(--ease), background .35s, color .35s, box-shadow .35s;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(2px) scale(.98); }   /* key press */
.btn--brass { --bg: var(--brass); --fg: var(--ebony); --bd: var(--brass); }
.btn--brass:hover { --bg: var(--brass-2); box-shadow: 0 10px 30px -10px rgba(201, 162, 90, .6); }
.btn--ghost { --bd: rgba(244, 239, 230, .35); }
.btn--ghost:hover { --bg: var(--ivory); --fg: var(--ebony); --bd: var(--ivory); }
.section--ivory .btn--ghost { --bd: rgba(13, 12, 11, .3); }
.section--ivory .btn--ghost:hover { --bg: var(--ebony); --fg: var(--ivory); --bd: var(--ebony); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8em; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 2px; }
.link-arrow svg { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--felt-2), var(--brass)); z-index: 120; }
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background .4s, backdrop-filter .4s, border-color .4s, transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(13, 12, 11, .78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--ebony-line); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; max-width: 1440px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: grid; line-height: 1.05; }
.brand-name { font-family: var(--f-display); font-size: 1.35rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.brand-tag { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-d); }
.nav-main { display: flex; gap: 2px; }
.nav-main a {
  position: relative; padding: 8px 11px; font-size: .88rem; font-weight: 500; text-decoration: none; color: rgba(244, 239, 230, .82); border-radius: 8px; white-space: nowrap;
}
.nav-main a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-main a:hover, .nav-main a[aria-current="page"] { color: var(--ivory); }
.nav-main a:hover::after, .nav-main a[aria-current="page"]::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 6px; }
.social { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: rgba(244, 239, 230, .75); transition: background .3s, color .3s, transform .3s var(--ease); }
.social a:hover { background: rgba(244, 239, 230, .1); color: var(--brass-2); transform: translateY(-2px); }
.social svg { width: 17px; height: 17px; }
.sound-toggle {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--ivory); border: 1px solid var(--ebony-line); font: 500 .72rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
}
.sound-toggle:hover { border-color: var(--brass); }
.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; }
.eq i { width: 2px; height: 30%; background: var(--brass); border-radius: 1px; transition: height .3s; }
.sound-toggle[aria-pressed="true"] .eq i { animation: eq 1s ease-in-out infinite; }
.sound-toggle[aria-pressed="true"] .eq i:nth-child(2) { animation-delay: -.3s; }
.sound-toggle[aria-pressed="true"] .eq i:nth-child(3) { animation-delay: -.6s; }
.sound-toggle[aria-pressed="true"] .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.header-cta { margin-left: 6px; padding: .7em 1.15em; font-size: .85rem; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ivory); cursor: pointer; border-radius: 50%; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 5px auto; transition: transform .35s var(--ease), opacity .3s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile menu: navigation as piano keys */
.mobile-nav { position: fixed; inset: 0; z-index: 90; background: var(--ebony); padding: calc(var(--header-h) + 16px) var(--gutter) 32px; display: flex; flex-direction: column; gap: 22px; visibility: hidden; opacity: 0; transition: opacity .35s, visibility .35s; overflow-y: auto; }
.menu-open .mobile-nav { visibility: visible; opacity: 1; }
.mobile-keys { display: grid; gap: 6px; }
.mobile-keys a {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-radius: 4px 4px 12px 12px; text-decoration: none;
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-2) 100%); color: var(--ebony); font-family: var(--f-display); font-size: 1.45rem;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .12); transform: translateX(-24px); opacity: 0; transition: transform .5s var(--ease), opacity .5s, box-shadow .15s;
}
.mobile-keys a:nth-child(even) { background: linear-gradient(180deg, #2a2622, #121110); color: var(--ivory); box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .5); margin-left: 18%; }
.mobile-keys a:active { box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .2); transform: translateY(3px); }
.mobile-keys a small { font: .7rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.menu-open .mobile-keys a { transform: none; opacity: 1; }
.mobile-nav .social { justify-content: center; }
@media (max-width: 1340px) { .nav-main, .header-cta { display: none; } .menu-toggle { display: block; } }
@media (max-width: 1500px) and (min-width: 1341px) { .header-tools .social { display: none; } }
@media (max-width: 640px) { .header-tools .social { display: none; } .header-tools .lang-switch { display: none; } .brand-tag { display: none; } .sound-toggle .label { display: none; } .site-header .container { gap: 10px; } .brand-name { font-size: 1.1rem; } .brand-mark { width: 32px; height: 32px; } .header-tools { gap: 2px; } }

/* ---------- Home hero with keyboard ---------- */
.hero {
  position: relative; min-height: 100svh; padding-top: calc(var(--header-h) + 5vh); display: flex; flex-direction: column; overflow: hidden;
  background:
    radial-gradient(60% 55% at 72% 38%, rgba(201, 162, 90, .16), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(47, 92, 72, .35), transparent 70%),
    var(--ebony);
}
.hero-grid { flex: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.hero h1 { margin-bottom: .25em; }
.hero h1 .line { display: block; }
.hero-roles { font-family: var(--f-mono); font-size: clamp(.72rem, 1vw, .85rem); letter-spacing: .2em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 1.6em; display: flex; flex-wrap: wrap; gap: .4em 1em; }
.hero-roles span + span::before { content: "/"; margin-right: 1em; color: var(--muted-d); }
.hero .lead { color: rgba(244, 239, 230, .86); }
@media (min-width: 861px) { .hero { padding-top: calc(var(--header-h) + 3vh); } .hero .kbd { height: clamp(100px, 15svh, 170px); } }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* soft image reveal: the photo fades in and opens from the centre outwards (only with JS – without it, images just show) */
.slats { position: relative; overflow: hidden; }
.js .slats img { opacity: 0; transform: scale(1.05); clip-path: inset(9% 9% round 6px);
  transition: opacity 1.1s ease, transform 1.8s var(--ease), clip-path 1.4s var(--ease); }
.js .slats.is-in img { opacity: 1; transform: none; clip-path: inset(0 round 6px); }

/* the playable keyboard */
.kbd-wrap { position: relative; margin-top: clamp(32px, 6vh, 64px); }
.kbd-hint { display: flex; justify-content: space-between; gap: 12px; align-items: center; font: .72rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 12px; flex-wrap: wrap; }
.kbd-hint kbd { font: inherit; border: 1px solid var(--ebony-line); border-radius: 4px; padding: 1px 5px; }
.kbd { position: relative; display: flex; height: clamp(110px, 17vh, 180px); user-select: none; -webkit-user-select: none; touch-action: none; overflow: hidden; border-top: 3px solid #3b0f12; box-shadow: 0 -1px 0 #000; }
.kbd .w {
  position: relative; flex: 1 0 0; min-width: 30px; background: linear-gradient(180deg, #d9d1c3 0%, var(--ivory) 12%, var(--ivory) 88%, #fff 100%);
  border-right: 1px solid rgba(0, 0, 0, .18); border-radius: 0 0 6px 6px; cursor: pointer; transform-origin: 50% 0;
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .08); transition: transform .08s, box-shadow .08s, background .25s;
}
.kbd .b {
  position: absolute; z-index: 2; top: 0; right: -30%; width: 60%; height: 62%; border-radius: 0 0 4px 4px; cursor: pointer; transform-origin: 50% 0;
  background: linear-gradient(180deg, #000 0%, #2b2724 85%, #3c3733 100%); box-shadow: inset 0 -6px 0 rgba(255, 255, 255, .06), 0 3px 4px rgba(0, 0, 0, .5); transition: transform .08s, box-shadow .08s, background .25s;
}
.kbd .w.is-down { transform: perspective(400px) rotateX(-4deg); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08); background: linear-gradient(180deg, #d9d1c3 0%, var(--brass-2) 30%, var(--ivory) 100%); }
.kbd .b.is-down { transform: perspective(400px) rotateX(-5deg); background: linear-gradient(180deg, #000, var(--felt-2)); box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .06); }
.kbd .lbl { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font: .62rem var(--f-mono); color: rgba(13, 12, 11, .35); pointer-events: none; }
.note-float { position: fixed; z-index: 95; pointer-events: none; font-size: 22px; color: var(--brass-2); animation: floatUp 1.6s var(--ease) forwards; text-shadow: 0 0 20px rgba(226, 196, 136, .6); }
@keyframes floatUp { 0% { opacity: 0; transform: translate(-50%, 0) scale(.6); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--dx, 0px)), -140px) rotate(var(--rot, 10deg)) scale(1.1); } }

/* ---------- Marquee ---------- */
/* reference ticker: quiet and elegant – small spaced capitals, muted, slow, fading out at the edges */
.marquee { border-block: 1px solid var(--ebony-line); overflow: hidden; padding: 16px 0; background: var(--ebony);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: marquee 110s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font: 400 .74rem var(--f-body); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; color: rgba(244, 239, 230, .5); display: inline-flex; align-items: center; gap: 34px; }
.marquee-track span::after { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--brass); opacity: .55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Service cards ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1080px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }
.service {
  position: relative; display: flex; flex-direction: column; min-height: 460px; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ivory);
  background: var(--ebony-3); isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s;
}
.service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85) brightness(.85); }
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 12, 11, 0) 25%, rgba(13, 12, 11, .92) 78%); }
.service:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.service:hover img { transform: scale(1.06); filter: saturate(1) brightness(.95); }
.service-body { margin-top: auto; padding: 26px 24px 24px; }
.service-no { font: .72rem var(--f-mono); letter-spacing: .14em; color: var(--brass-2); }
.service h3 { margin: .4em 0 .2em; font-size: clamp(1.6rem, 2.3vw, 2.1rem); }
.service .sub { font-size: .88rem; color: rgba(244, 239, 230, .75); margin: 0 0 1em; }
.service .go { display: inline-flex; align-items: center; gap: .5em; font-size: .85rem; font-weight: 600; }
.service .go svg { width: 1em; transition: transform .35s var(--ease); }
.service:hover .go svg { transform: translateX(5px); }
/* key strip at top of each card */

/* ---------- Questions / letter ---------- */
.letter { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .letter { grid-template-columns: 1fr; } }
.questions { list-style: none; margin: 0; padding: 0; counter-reset: q; }
.questions li { border-top: 1px solid var(--ivory-line); }
.questions li:last-child { border-bottom: 1px solid var(--ivory-line); }
.questions a { display: grid; grid-template-columns: 56px 1fr 28px; gap: 16px; align-items: center; padding: 24px 4px; text-decoration: none; transition: padding .4s var(--ease), background .4s; }
.questions a:hover { padding-left: 16px; background: rgba(201, 162, 90, .1); }
.questions .q-no { font: .75rem var(--f-mono); color: var(--brass-deep); letter-spacing: .1em; }
.questions .q-text { font-family: var(--f-display); font-size: clamp(1.25rem, 2.1vw, 1.75rem); line-height: 1.2; }
.questions svg { width: 22px; transition: transform .35s var(--ease); }
.questions a:hover svg { transform: translateX(6px); }
.signature { font-family: var(--f-display); font-style: italic; font-size: 2rem; margin-top: 1em; line-height: 1.1; }
.signature small { display: block; font: .75rem var(--f-mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-l); margin-bottom: .4em; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ebony-line); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 32px 24px 8px 0; border-right: 1px solid var(--ebony-line); padding-left: 24px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
@media (max-width: 860px) { .stat:nth-child(2) { border-right: 0; } .stat:nth-child(3) { padding-left: 0; } }
.stat b { display: block; font-family: var(--f-display); font-weight: 300; font-size: clamp(3rem, 6vw, 5.2rem); line-height: 1; letter-spacing: -.03em; color: var(--ivory); }
.stat b sup { font-size: .45em; color: var(--brass); vertical-align: super; }
.stat > span { display: block; margin-top: 10px; font-size: .92rem; color: var(--muted-d); max-width: 16em; }

/* ---------- Sound wave divider ---------- */
/* section divider: a music staff whose five lines breathe in and out, one after the other */
.staff-divider { height: 60px; }
.staff-divider svg { display: block; width: 100%; height: 100%; }
.staff-divider line { stroke: var(--ivory); stroke-width: 1.3; vector-effect: non-scaling-stroke; opacity: .22; }
@media (prefers-reduced-motion: no-preference) {
  .staff-divider line { animation: staff-breathe 7s ease-in-out infinite; animation-delay: calc(var(--i) * -1s); }
}
@keyframes staff-breathe { 0%, 100% { opacity: .08; } 50% { opacity: .42; } }

/* ---------- Dates ---------- */
.dates { list-style: none; margin: 0; padding: 0; }
.date-row {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--ebony-line);
  position: relative; transition: background .35s, padding .35s var(--ease);
}
.section--ivory .date-row { border-color: var(--ivory-line); }
.date-row:first-child { border-top: 1px solid var(--ebony-line); }
.section--ivory .date-row:first-child { border-color: var(--ivory-line); }
.date-row:hover { padding-left: 12px; background: linear-gradient(90deg, rgba(201, 162, 90, .08), transparent 70%); }
.date-cal { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: baseline; }
.date-cal .d { grid-row: span 2; font-family: var(--f-display); font-size: 2.8rem; font-weight: 300; line-height: .9; }
.date-cal .m { font: 500 .8rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.date-cal .y { font: .72rem var(--f-mono); color: var(--muted-d); }
.date-cal .to { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 8px; margin-top: 8px; font: 500 .8rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brass); white-space: nowrap; }
.date-cal .to-w { text-transform: none; letter-spacing: .04em; color: var(--muted-d); }
.date-cal .to-d { font: 300 2rem/1 var(--f-display); letter-spacing: 0; color: var(--ivory); }
.section--ivory .date-cal .to-d { color: var(--ebony); }
.archive .date-cal .to-d { font-size: 1.5rem; }
.date-info h3 { font-size: clamp(1.15rem, 1.6vw, 1.45rem); margin: 0 0 .2em; }
.date-info .venue { font-weight: 600; }
.date-info .sub { color: var(--brass-2); font-style: italic; font-family: var(--f-display); }
.section--ivory .date-info .sub { color: var(--brass-deep); }
.date-info .det { font-size: .88rem; color: var(--muted-d); margin: .3em 0 0; }
.section--ivory .date-info .det, .section--ivory .date-cal .y { color: var(--muted-l); }
.date-row .btn { padding: .7em 1.1em; font-size: .82rem; }
.date-tag { display: inline-block; font: .65rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--felt); color: var(--ivory); margin-left: 8px; vertical-align: middle; }
@media (max-width: 700px) {
  .date-row { grid-template-columns: 84px 1fr; }
  .date-row .date-cta { grid-column: 2; }
  .date-cal { grid-template-columns: 1fr; }
  .date-cal .d { grid-row: auto; font-size: 2.2rem; }
}
.date-row[hidden] { display: none; }
.dates-filter { margin: calc(-1 * clamp(12px, 2vw, 32px)) 0 28px; }
/* artist filter: radio inputs (visually hidden) + labels as chips – pure HTML/CSS, the rules per artist come from build.py */
.chip-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip-input:checked + .chip { background: var(--brass); color: var(--ebony); border-color: var(--brass); }
.section--ivory .chip-input:checked + .chip { background: var(--ebony); color: var(--ivory); border-color: var(--ebony); }
.chip-input:focus-visible + .chip { outline: 2px solid var(--brass); outline-offset: 2px; }
.section--ivory .chip { color: var(--ebony); border-color: var(--ivory-line); }
.section--ivory .chip:hover { border-color: var(--brass); }
.dates-empty { padding: 28px; border: 1px dashed var(--ebony-line); border-radius: var(--radius); color: var(--muted-d); }
/* archive years: checkbox + label accordion (no JavaScript) */
.archive .year { border-top: 1px solid var(--ivory-line); }
.archive .year:last-child { border-bottom: 1px solid var(--ivory-line); }
.year-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.archive .year-head { cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 26px 0; font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.6rem); user-select: none; }
.archive .year-head .pm { width: 36px; height: 36px; border: 1px solid var(--ivory-line); border-radius: 50%; display: grid; place-items: center; font-size: 1rem; transition: transform .4s var(--ease), background .3s; }
.year-toggle:checked + .year-head .pm { transform: rotate(45deg); background: var(--ebony); color: var(--ivory); }
.year-toggle:focus-visible + .year-head { outline: 2px solid var(--brass); outline-offset: 4px; }
.year-toggle:not(:checked) ~ .dates { display: none; }
.archive .dates { padding-bottom: 28px; }
.archive .date-row { padding: 14px 0; grid-template-columns: 130px 1fr auto; }
.archive .date-cal .d { font-size: 2rem; }
@media (max-width: 700px) { .archive .date-row { grid-template-columns: 76px 1fr; } }
.date-cal .d { white-space: nowrap; }
@media (max-width: 700px) { .date-row .date-cal .d--range { font-size: 1.55rem; } } /* "01–02" stays on one line */

/* ---------- Covers / discography ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 220px); gap: 22px; overflow-x: auto; padding: 8px 4px 28px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--brass) transparent; }
.rail > * { scroll-snap-align: start; }
.cover { position: relative; margin: 0; }
.cover-art { position: relative; aspect-ratio: 1; }
.cover-art img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; box-shadow: 0 16px 36px -18px rgba(0, 0, 0, .85); transition: transform .6s var(--ease); background: var(--ebony-3); }
.cover-art::before { /* vinyl */
  content: ""; position: absolute; z-index: 1; inset: 4%; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--brass) 0 13%, #111 13.5% 15%, transparent 15.5%),
    repeating-radial-gradient(circle at 50% 50%, #0b0b0b 0 2px, #1b1b1b 2px 3px);
  transition: transform .8s var(--ease);
}
.cover:hover .cover-art::before, .cover:focus-within .cover-art::before { transform: translateX(34%) rotate(200deg); }
.cover:hover .cover-art img, .cover:focus-within .cover-art img { transform: translateX(-6%) rotate(-2deg); }
.cover figcaption { padding-top: 14px; font-size: .88rem; line-height: 1.35; }
.cover .c-artist { display: block; font-weight: 700; }
.cover .c-year { position: absolute; z-index: 3; top: 8px; left: 8px; font: 500 .68rem var(--f-mono); letter-spacing: .08em; background: rgba(13, 12, 11, .78); color: var(--ivory); padding: 3px 7px; border-radius: 999px; backdrop-filter: blur(4px); }
.cover .c-title { display: block; font-family: var(--f-display); font-style: italic; font-size: 1.05rem; }
.cover .c-meta { display: block; font: .7rem var(--f-mono); letter-spacing: .06em; color: var(--muted-d); margin-top: 6px; }
.cover .c-role { display: inline-block; margin-top: 8px; font-size: .74rem; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(201, 162, 90, .5); color: var(--brass-2); }
.section--ivory .cover .c-meta { color: var(--muted-l); }
.section--ivory .cover .c-role { color: var(--brass-deep); border-color: rgba(138, 106, 47, .45); }
.disco-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 40px 26px; }
@media (max-width: 520px) { .disco-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }
.disco-grid .cover[hidden] { display: none; }
.disco-grid .year-mark { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; font: 500 .85rem var(--f-mono); letter-spacing: .2em; color: var(--brass); margin-top: 10px; }
.disco-grid .year-mark::after { content: ""; flex: 1; height: 1px; background: var(--ebony-line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 .82rem var(--f-body); padding: .6em 1.1em; border-radius: 999px; border: 1px solid var(--ebony-line); background: transparent; color: var(--ivory); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--brass); }
.chip[aria-pressed="true"] { background: var(--brass); color: var(--ebony); border-color: var(--brass); }
.chip .n { font-family: var(--f-mono); opacity: .65; margin-left: 4px; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(56px, 10vw, 130px)) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.page-hero--image { min-height: 88svh; display: flex; align-items: flex-end; }
.page-hero--image > img { position: absolute; inset: 0; width: 100%; height: 120%; object-fit: cover; z-index: -2; will-change: transform; }
.page-hero--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(13, 12, 11, .9) 0%, rgba(13, 12, 11, .62) 42%, rgba(13, 12, 11, .1) 78%),
  linear-gradient(180deg, rgba(13, 12, 11, .55) 0%, rgba(13, 12, 11, .1) 35%, rgba(13, 12, 11, .95) 100%); }
.page-hero--image .container > * { max-width: 44rem; }
@media (max-width: 860px) { .page-hero--image::before { background: linear-gradient(180deg, rgba(13, 12, 11, .5) 0%, rgba(13, 12, 11, .55) 40%, rgba(13, 12, 11, .96) 100%); } }
.page-hero .kicker { font: .78rem var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--brass-2); }
.page-hero h1 { font-size: clamp(2.6rem, 7.2vw, 6.4rem); max-width: 14ch; }
.page-hero .lead { color: rgba(244, 239, 230, .88); }
.hero-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 90px); align-items: end; }
.hero-split .frame { aspect-ratio: 4/5; border-radius: 6px; }
.hero-split .frame img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .hero-split { grid-template-columns: 1fr; } .hero-split .frame { max-width: 420px; } }
.breadcrumb { font: .72rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 24px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--brass-2); }
.breadcrumb span[aria-hidden] { margin: 0 .6em; opacity: .5; }

/* ---------- Feature blocks ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature + .feature { margin-top: clamp(80px, 10vw, 140px); }
.feature--flip .feature-media { order: 2; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature--flip .feature-media { order: 0; } }
.feature-media { position: relative; border-radius: 6px; aspect-ratio: 5/4; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
/* photo as tall as the text next to it, from the heading down (film music on the composer page) */
@media (min-width: 861px) {
  .feature--tall { align-items: stretch; }
  .feature--tall .feature-media { aspect-ratio: auto; min-height: 100%; }
  .feature--tall .feature-media img { object-position: 58% 50%; }
}
.feature-media .tag { position: absolute; z-index: 3; top: 16px; left: 16px; font: .68rem var(--f-mono); letter-spacing: .16em; text-transform: uppercase; background: rgba(13, 12, 11, .75); color: var(--ivory); padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.feature-no { font-family: var(--f-display); font-size: 5rem; line-height: 1; font-weight: 200; color: transparent; -webkit-text-stroke: 1px rgba(201, 162, 90, .6); display: block; margin-bottom: .1em; }
.pill-list { list-style: none; padding: 0; margin: 1.2em 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { font-size: .84rem; padding: .45em .9em; border-radius: 999px; background: rgba(244, 239, 230, .07); border: 1px solid var(--ebony-line); }
.section--ivory .pill-list li { background: rgba(13, 12, 11, .04); border-color: var(--ivory-line); }
.awards { list-style: none; padding: 0; margin: 1.5em 0; display: grid; gap: 12px; }
.awards li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; background: rgba(201, 162, 90, .08); border: 1px solid rgba(201, 162, 90, .25); }
.awards svg { width: 44px; height: 44px; color: var(--brass); }
.awards b { display: block; font-weight: 700; }
.awards span { font-size: .88rem; color: var(--muted-d); }
.section--ivory .awards span { color: var(--muted-l); }
.section--ivory .awards svg { color: var(--brass-deep); }

/* project (LÜX / Björn Bergmann) */
.project { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.project + .project { margin-top: clamp(80px, 10vw, 130px); }
.project--flip .video { order: 2; }
@media (max-width: 900px) { .project { grid-template-columns: 1fr; } .project--flip .video { order: 0; } }
.project h3 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin-bottom: .1em; }
.project .claim { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 1.4em; display: block; }
.links-inline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.2em; }
.links-inline a { font-size: .82rem; font-weight: 600; text-decoration: none; padding: .5em .95em; border-radius: 999px; border: 1px solid var(--ebony-line); transition: background .3s, color .3s; }
.links-inline a:hover { background: var(--ivory); color: var(--ebony); }

/* two-click video */
.video { position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 30px 70px -35px rgba(0, 0, 0, .9); }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .4s, transform 1s var(--ease); }
.video:hover img { opacity: .9; transform: scale(1.03); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .7)); }
.video-consent p { font-size: .78rem; max-width: 34em; margin: 0; color: rgba(244, 239, 230, .85); }
.video-consent a { color: var(--brass-2); }
.play { width: 78px; height: 78px; border-radius: 50%; border: 0; cursor: pointer; background: var(--brass); color: var(--ebony); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(201, 162, 90, .6); animation: pulse 2.4s infinite; }
.play svg { width: 26px; margin-left: 4px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201, 162, 90, .55); } 70% { box-shadow: 0 0 0 22px rgba(201, 162, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 162, 90, 0); } }

/* ---------- EP series (solo piano) ---------- */
.ep-stage { position: relative; }
.scribble { position: absolute; inset: -10% -5%; width: 110%; height: 120%; pointer-events: none; z-index: 0; opacity: .5; }
.scribble path { fill: none; stroke: #222; stroke-width: 1.4; stroke-linecap: round; }
.section--ebony-2 .scribble path, .page-hero .scribble path { stroke: rgba(244, 239, 230, .35); }
.eps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; counter-reset: ep; }
@media (max-width: 1000px) { .eps { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .eps { grid-template-columns: repeat(2, 1fr); } }
.ep { position: relative; text-decoration: none; display: block; }
.ep img { aspect-ratio: 1; object-fit: cover; border-radius: 3px; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .6); transition: transform .6s var(--ease), box-shadow .6s; }
.ep:hover img { transform: translateY(-10px) rotate(-1.5deg); box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .7); }
.ep span { display: flex; justify-content: space-between; margin-top: 10px; font: .72rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.ep span b { font-weight: 500; }
.bigquote { font-family: var(--f-display); font-weight: 300; font-size: clamp(2rem, 4.8vw, 4.2rem); line-height: 1.08; letter-spacing: -.02em; margin: 0; }
.bigquote em { color: var(--brass-2); }
.credits { font: .75rem var(--f-mono); letter-spacing: .06em; color: var(--muted-l); margin-top: 28px; }

/* ---------- Tastenbass split keyboard ---------- */

/* ---------- Groove step sequencer (teacher) ---------- */
.seq { display: grid; grid-template-columns: repeat(16, 1fr); gap: 6px; margin-top: 26px; }
.seq i { aspect-ratio: 1; border-radius: 4px; background: rgba(244, 239, 230, .08); border: 1px solid var(--ebony-line); transition: background .12s, transform .12s; }
.seq i.on { background: rgba(201, 162, 90, .35); }
.seq i.hit { background: var(--brass); transform: scale(1.12); }
.seq i.on.accent.hit { background: var(--felt-2); }
.seq-label { display: flex; justify-content: space-between; font: .68rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); margin-top: 10px; }
.teach-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .teach-cards { grid-template-columns: 1fr; } }
.teach-card { background: var(--ivory); color: var(--ebony); border-radius: var(--radius); padding: 30px 28px 30px; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform .5s var(--ease); }
.teach-card:hover { transform: translateY(-6px); }
.teach-card .icon { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; margin-bottom: 22px; background: var(--ivory-2); }
.teach-card .icon img { width: 100%; height: 100%; object-fit: cover; }
.teach-card h3 { font-size: 1.7rem; }
.teach-card .since { font: .7rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: .8em; }
.teach-card .btn-row { margin-top: auto; padding-top: 1.2em; }

/* ---------- Bar pianist / CTA band ---------- */
.band { position: relative; overflow: hidden; border-radius: 22px; min-height: 420px; display: flex; align-items: flex-end; isolation: isolate; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 12, 11, .92) 0%, rgba(13, 12, 11, .6) 50%, rgba(13, 12, 11, .1) 100%); }
.band-body { padding: clamp(28px, 5vw, 64px); max-width: 640px; }

/* ---------- Newsletter ---------- */
.newsletter { position: relative; overflow: hidden; }
.newsletter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (max-width: 860px) { .newsletter-grid { grid-template-columns: 1fr; } }
.newsletter h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
.nl-form { display: grid; gap: 12px; }
.nl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .nl-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font: .7rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.field input { font: inherit; font-size: 1rem; padding: 15px 18px; border-radius: 12px; border: 1px solid rgba(244, 239, 230, .28); background: rgba(13, 12, 11, .25); color: var(--ivory); transition: border-color .3s, background .3s; }
.field input::placeholder { color: rgba(244, 239, 230, .5); }
.field input:focus { outline: none; border-color: var(--brass-2); background: rgba(13, 12, 11, .45); }
.nl-form .btn { justify-self: start; }
.nl-note { font-size: .78rem; opacity: .8; margin: 4px 0 0; }
.nl-note a { color: var(--brass-2); }
.nl-perks { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; gap: 10px; }
.nl-perks li { display: flex; gap: 12px; align-items: center; }
.nl-perks li::before { content: "♪"; width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(244, 239, 230, .1); color: var(--brass-2); }
.staff { position: absolute; inset: auto 0 18% 0; height: 90px; pointer-events: none; opacity: .18; }
.staff line { stroke: var(--ivory); stroke-width: 1; }

/* ---------- Footer ---------- */
.site-footer { background: #080807; padding: 72px 0 36px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font: 500 .72rem var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 1.2em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: rgba(244, 239, 230, .78); }
.site-footer a:hover { color: var(--ivory); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--ebony-line); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; color: var(--muted-d); font-size: .8rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-top: 2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; font-family: var(--f-body); font-weight: 700; letter-spacing: 0; }
.prose a { color: var(--brass-deep); }
.draft-note { border: 1px dashed var(--brass-deep); background: rgba(201, 162, 90, .12); padding: 14px 18px; border-radius: 10px; font-size: .88rem; margin-bottom: 2em; }
.consent-box { display: grid; gap: 14px; margin: 1.5em 0; }
.consent-item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 12px; border: 1px solid var(--ivory-line); background: #fff; }
.consent-item b { display: block; }
.consent-item span { font-size: .86rem; color: var(--muted-l); }
.switch { position: relative; width: 52px; height: 30px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: #cfc6b6; transition: background .3s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.switch input:checked + i { background: var(--felt); }
.switch input:checked + i::after { transform: translateX(22px); }
.switch input:disabled + i { opacity: .6; }

/* ---------- Contact ---------- */
.request-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.request { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--ivory-line); text-decoration: none; background: #fff; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.request:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .45); border-color: var(--brass); }
.request .r-kicker { font: .68rem var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-deep); }
.request b { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; line-height: 1.15; }
.request span:last-child { margin-top: auto; font-size: .85rem; font-weight: 600; display: inline-flex; gap: .4em; align-items: center; }
.contact-mail { font-family: var(--f-display); font-size: clamp(1.8rem, 5vw, 4rem); text-decoration: none; border-bottom: 1px solid var(--brass); display: inline-block; line-height: 1.2; word-break: break-word; }
.contact-mail:hover { color: var(--brass-2); }

/* ---------- Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-36px); }
.js [data-reveal="right"] { transform: translateX(36px); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.hammer .ch { display: inline-block; transform: translateY(-.35em); opacity: 0; }
.hammer.is-in .ch { animation: hammer .55s var(--ease-hammer) forwards; animation-delay: calc(var(--i) * 28ms); }
@keyframes hammer { 0% { transform: translateY(-.35em); opacity: 0; } 50% { opacity: 1; } 100% { transform: none; opacity: 1; } }
.hammer .wd { display: inline-block; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .hammer .ch { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
}
@media print { .site-header, .kbd-wrap, .newsletter, .progress, body::after { display: none !important; } body { background: #fff; color: #000; } }


/* ==========================================================================
   v2 additions: language switch, showreel, references, request form, press
   ========================================================================== */
.lang-switch { display: inline-flex; border: 1px solid var(--ebony-line); border-radius: 999px; padding: 2px; }
.lang-switch a { font: 500 .7rem/1 var(--f-mono); letter-spacing: .1em; padding: 9px 10px; border-radius: 999px; text-decoration: none; color: rgba(244, 239, 230, .7); }
.lang-switch a[aria-current] { background: var(--ivory); color: var(--ebony); }
.lang-switch a:not([aria-current]):hover { color: var(--brass-2); }
.lang-switch--big { align-self: center; }
.lang-switch--big a { font-size: .9rem; padding: 12px 22px; }
.lang-toast { position: fixed; z-index: 110; left: 50%; bottom: 20px; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 20px; border-radius: 999px; background: var(--ivory); color: var(--ebony); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7); font-size: .9rem; transition: transform .6s var(--ease); max-width: calc(100vw - 32px); }
.lang-toast.is-in { transform: translate(-50%, 0); }
.lang-toast a { font-weight: 700; color: var(--ebony); }
.lang-toast button { border: 0; background: transparent; cursor: pointer; font-size: 1.2rem; line-height: 1; padding: 4px 6px; color: var(--muted-l); }

/* hero headline: no letter tilt, just a calm rise */
.hammer .ch { transform: translateY(.35em); }

/* showreel + clips */
.reel { max-width: 1080px; margin: 0 auto; }
.video--hero { border-radius: 14px; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(201, 162, 90, .25); }
.video--hero .play { width: 104px; height: 104px; }
.video--hero .play svg { width: 34px; }
.clips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 18px; }
.clips--2 { grid-template-columns: repeat(2, 1fr); margin-bottom: clamp(80px, 10vw, 130px); }
@media (max-width: 960px) { .clips { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .clips, .clips--2 { grid-template-columns: 1fr; } }
.clip { margin: 0; }
.clip .video-consent p { display: none; }
.clip .play { width: 60px; height: 60px; }
.clip figcaption { padding-top: 12px; font-size: .88rem; font-weight: 600; }
.section--ivory .clip .video { box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .6); }

/* references */
.refs { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
/* home: the three film awards fill the height of the reference lists next to them */
@media (min-width: 901px) {
  .refs { align-items: stretch; }
  .refs-side { display: flex; flex-direction: column; }
  .refs-side .awards { flex: 1; margin: 0; grid-auto-rows: 1fr; gap: 16px; }
  .refs-side .awards li { padding: 22px 26px; grid-template-columns: 56px 1fr; gap: 18px; }
  .refs-side .awards svg { width: 56px; height: 56px; }
  .refs-side .awards b { font-size: 1.12rem; }
  .refs-side .awards span { font-size: .95rem; }
}
@media (max-width: 900px) { .refs { grid-template-columns: 1fr; } }
.logo-wall { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.logo-wall li { font-family: var(--f-display); font-size: clamp(1rem, 1.4vw, 1.2rem); padding: .45em .95em; border-radius: 10px; border: 1px solid var(--ebony-line); background: rgba(244, 239, 230, .03); transition: border-color .3s, color .3s; }
.logo-wall li:hover { border-color: var(--brass); color: var(--brass-2); }
.logo-wall--artists li { font-style: italic; font-weight: 300; }
.credit-list { list-style: none; padding: 0; margin: .6em 0 0; display: grid; gap: 8px; font-size: .92rem; }
.credit-list li { padding-left: 1.4em; position: relative; }
.credit-list li::before { content: "♪"; position: absolute; left: 0; color: var(--brass-deep); }

/* teaching timeline */
.timeline { list-style: none; padding: 0; margin: 1.6em 0 0; border-left: 1px solid var(--ebony-line); }
.timeline li { position: relative; padding: 0 0 22px 26px; display: grid; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px var(--ebony); }
.tl-when { font: 500 .78rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-2); }

/* request form */
.req-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
@media (max-width: 960px) { .req-layout { grid-template-columns: 1fr; } }
.req-facts { list-style: none; padding: 0; margin: 1.6em 0 0; display: grid; gap: 10px; }
.req-facts li { display: flex; gap: 12px; align-items: center; }
.req-facts li::before { content: "✓"; width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--felt); color: var(--ivory); font-size: .8rem; }
.req-card { background: #fff; border-radius: 22px; padding: clamp(22px, 4vw, 40px); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .45); border: 1px solid var(--ivory-line); }
.req-form { display: grid; gap: 18px; }
.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .req-grid { grid-template-columns: 1fr; } }
.field--wide { grid-column: 1 / -1; }
.req-form .field label { color: var(--muted-l); opacity: 1; }
.req-form input, .req-form select, .req-form textarea {
  font: inherit; font-size: 1rem; width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid #d9d0c1; background: var(--ivory);
  color: var(--ebony); transition: border-color .25s, box-shadow .25s, background .25s;
}
.req-form select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6a2f' stroke-width='2'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; font-weight: 600; }
.req-form textarea { resize: vertical; min-height: 150px; }
.req-form input:focus, .req-form select:focus, .req-form textarea:focus { outline: none; border-color: var(--brass-deep); background: #fff; box-shadow: 0 0 0 4px rgba(201, 162, 90, .2); }
.req-form .was-validated :invalid { border-color: #b3261e; }
.req-hint { margin: 8px 2px 0; font-size: .86rem; color: var(--muted-l); font-style: italic; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted-l); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--felt); flex: none; }
.check a { color: var(--brass-deep); }
.req-actions { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.req-actions .btn[disabled] { opacity: .6; pointer-events: none; }
.req-alt { font-size: .86rem; }
.req-alt a { color: var(--brass-deep); }
.req-status { margin: 0; font-size: .9rem; min-height: 1.4em; color: #b3261e; }
.req-status.ok { color: var(--felt); }
.req-done { text-align: center; padding: 40px 10px; }
.req-done h3 { font-size: 2rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* press */
.bio-box { border: 1px solid var(--ivory-line); border-radius: 16px; background: #fff; padding: 22px 24px; margin-bottom: 24px; }
.bio-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.bio-box p:last-child { margin-bottom: 0; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--ivory-line); background: var(--ivory); border-radius: 999px; padding: 6px 12px; font: 600 .78rem var(--f-body); cursor: pointer; color: var(--ebony); }
.copy-btn svg { width: 14px; height: 14px; }
.copy-btn:hover { border-color: var(--brass-deep); }
.facts { width: 100%; border-collapse: collapse; font-size: .92rem; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 10px 0; border-bottom: 1px solid var(--ivory-line); }
.facts th { width: 38%; font-weight: 600; color: var(--brass-deep); padding-right: 14px; }
.press-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; } /* five press photos in one row */
@media (max-width: 900px) { .press-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .press-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.press-photo { margin: 0; }
.press-photo img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; transition: transform .6s var(--ease); }
.press-photo:hover img { transform: scale(1.02); }
.press-photo figcaption { padding-top: 10px; font-size: .85rem; color: var(--muted-d); }
.press-photo figcaption a { color: var(--brass-2); font-weight: 700; }

/* header fit with 7 nav items */
.brand-tag { white-space: nowrap; }
@media (min-width: 1341px) and (max-width: 1640px) {
  .brand-tag, .sound-toggle .label { display: none; }
  .nav-main a { padding: 8px 8px; font-size: .84rem; }
  .nav-main a::after { left: 8px; right: 8px; }
  .site-header .container { gap: 16px; }
}

/* hero: CSS-only entrance – visible without JavaScript, no letter splitting */
.load-in { animation: loadIn .8s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes loadIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.slats--load img { animation: imgReveal 1.6s var(--ease) .15s both; }
@keyframes imgReveal { from { opacity: 0; transform: scale(1.05); clip-path: inset(9% 9% round 6px); } to { opacity: 1; transform: none; clip-path: inset(0 round 6px); } }
@media (prefers-reduced-motion: reduce) {
  .load-in, .slats--load img { animation: none; }
  .js .slats img { opacity: 1; transform: none; clip-path: none; transition: none; }
}

/* newsletter: warm stage spotlight instead of green felt – matches ebony/ivory/brass */
.section--spotlight {
  background:
    radial-gradient(55% 85% at 88% 0%, rgba(201, 162, 90, .24), transparent 62%),
    radial-gradient(45% 70% at 0% 100%, rgba(201, 162, 90, .10), transparent 70%),
    linear-gradient(180deg, #1b1713 0%, #110e0b 100%);
  border-top: 1px solid rgba(201, 162, 90, .28);
}
.section--spotlight .staff { opacity: .22; }
.section--spotlight .staff line { stroke: var(--brass); }
.section--spotlight h2 em { color: var(--brass-2); }
.newsletter .nl-form {
  padding: clamp(22px, 3vw, 34px); border-radius: 20px;
  background: rgba(244, 239, 230, .04); border: 1px solid rgba(201, 162, 90, .28);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .9); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.newsletter .field input { background: rgba(13, 12, 11, .55); border-color: rgba(244, 239, 230, .18); }
.newsletter .field input:focus { border-color: var(--brass); box-shadow: 0 0 0 4px rgba(201, 162, 90, .18); }

/* ==========================================================================
   Keyboard v2 – a real, lived-in upright rather than a MIDI widget
   ========================================================================== */
.kbd {
  border-top: 0; padding-top: 0; overflow: hidden; border-radius: 3px 3px 7px 7px;
  background: #0a0908;
  box-shadow: 0 22px 44px -24px rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 0, 0, .6);
}
/* red key-slip felt along the back of the keys */
.kbd::before {
  content: ""; position: absolute; z-index: 4; left: 0; right: 0; top: 0; height: 7px; pointer-events: none;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='8'><filter id='f'><feTurbulence type='fractalNoise' baseFrequency='1.6' numOctaves='2'/></filter><rect width='120' height='8' filter='url(%23f)' opacity='.35'/></svg>"),
    linear-gradient(180deg, #6b1a1f 0%, #4a0f14 70%, #2c0709 100%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .55);
}
.kbd .w {
  --ivory-l: calc(91% - var(--t, 0%));
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .22) 0, rgba(0, 0, 0, 0) 16%),                         /* shade under the felt */
    radial-gradient(120% 40% at 50% 100%, rgba(150, 110, 60, var(--wear, .05)), transparent 70%), /* worn where fingers land */
    linear-gradient(90deg, rgba(255, 255, 255, .45) 0, rgba(255, 255, 255, 0) 22%, rgba(0, 0, 0, 0) 78%, rgba(60, 40, 20, .08) 100%),
    hsl(40, 42%, var(--ivory-l));
  border-right: 1px solid rgba(70, 50, 30, .38);
  border-radius: 0 0 6px 6px;
  box-shadow:
    inset 0 -7px 0 hsl(37, 30%, calc(var(--ivory-l) - 11%)),   /* front face of the key */
    inset 0 -8px 0 rgba(0, 0, 0, .06),
    0 2px 0 rgba(0, 0, 0, .35);
  transform: translateY(var(--dy, 0px));
  transition: transform .11s cubic-bezier(.3, .7, .4, 1), box-shadow .11s, filter .25s;
}
.kbd .w:hover { filter: brightness(1.03); }
.kbd .w.is-down {
  transform: translateY(calc(var(--dy, 0px) + 3px));
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .34) 0, rgba(0, 0, 0, 0) 26%),
    radial-gradient(120% 40% at 50% 100%, rgba(150, 110, 60, var(--wear, .05)), transparent 70%),
    linear-gradient(90deg, rgba(255, 255, 255, .35) 0, rgba(255, 255, 255, 0) 22%, rgba(0, 0, 0, 0) 78%, rgba(60, 40, 20, .1) 100%),
    hsl(40, 40%, calc(var(--ivory-l) - 3%));
  box-shadow: inset 0 -3px 0 hsl(37, 30%, calc(var(--ivory-l) - 14%)), inset 0 -4px 0 rgba(0, 0, 0, .08), 0 0 0 rgba(0, 0, 0, 0);
}
.kbd .b {
  width: 58%; right: -29%; height: 61%; border-radius: 0 0 3px 3px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0 58%, rgba(255, 255, 255, .13) 76%, rgba(255, 255, 255, 0) 90%),  /* lacquer sheen */
    linear-gradient(90deg, #050505 0, #26211e 14%, #171412 50%, #0a0908 86%, #000 100%);
  box-shadow:
    inset 0 -10px 0 #2d2825, inset 0 -11px 1px rgba(255, 255, 255, calc(.06 + var(--wear, 0))),
    0 5px 7px rgba(0, 0, 0, .5), 2px 1px 3px rgba(0, 0, 0, .3);
  transform: translateY(var(--dy, 0px));
  transition: transform .1s cubic-bezier(.3, .7, .4, 1), box-shadow .1s;
}
.kbd .b.is-down {
  transform: translateY(calc(var(--dy, 0px) + 2px));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0 60%, rgba(255, 255, 255, .08) 78%, rgba(255, 255, 255, 0) 92%),
    linear-gradient(90deg, #050505 0, #1f1b18 14%, #121010 50%, #080706 86%, #000 100%);
  box-shadow: inset 0 -5px 0 #2d2825, 0 2px 3px rgba(0, 0, 0, .45);
}
/* typing hints: quiet, only when you look for them */
.kbd .lbl { bottom: 14px; color: rgba(60, 45, 30, .0); font-size: .6rem; transition: color .3s; }
.kbd:hover .lbl { color: rgba(60, 45, 30, .38); }
/* floating notes drift a little more organically */
.note-float { color: var(--brass-2); opacity: .9; }

/* ==========================================================================
   Solo piano: one worn upright octave under the EP covers – each key plays a piece
   ========================================================================== */
.ep-player { max-width: 560px; margin: clamp(40px, 6vw, 72px) auto 0; }
html:not(.js) .ep-player { display: none; } /* without JS the covers stay plain Spotify links */
.ep-now { display: flex; align-items: center; gap: 14px; min-height: 52px; margin-bottom: 16px; }
.ep-toggle {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--brass); background: transparent; color: var(--brass-2); transition: background .3s, color .3s, opacity .3s;
}
.ep-toggle svg { width: 18px; height: 18px; }
.ep-toggle:hover:not(:disabled) { background: var(--brass); color: var(--ebony); }
.ep-toggle:disabled { opacity: .3; cursor: default; }
.ep-toggle .i-play, .ep-player.is-paused .ep-toggle .i-pause { display: none; }
.ep-player.is-paused .ep-toggle .i-play { display: block; }
.ep-title { margin: 0; flex: 1; font-family: var(--f-display); font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.25; }
.ep-title .ep-hint { font: .72rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); }
.ep-title em { display: block; font-style: italic; font-size: .82em; color: var(--brass-2); } /* EP always on its own line under the title */
.ep-time { font: .72rem var(--f-mono); color: var(--muted-d); letter-spacing: .08em; }
.ep-now { flex-wrap: wrap; row-gap: 8px; }

/* the case: dark worn walnut cheeks, red felt strip, keys a little yellowed and chipped */
.upright {
  position: relative; padding: 14px 18px 0; border-radius: 10px 10px 4px 4px;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='60'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.012 .6' numOctaves='3' seed='4'/><feColorMatrix values='0 0 0 0 .1  0 0 0 0 .05  0 0 0 0 .02  0 0 0 .55 0'/></filter><rect width='300' height='60' filter='url(%23g)'/></svg>"),
    linear-gradient(180deg, #4a2c1b, #2e1a10 60%, #1d100a);
  box-shadow: inset 0 1px 0 rgba(255, 220, 170, .12), inset 0 -2px 6px rgba(0, 0, 0, .6), 0 30px 60px -30px rgba(0, 0, 0, .9);
}
.upright::before { /* key-slip felt */
  content: ""; position: absolute; left: 18px; right: 18px; top: 10px; height: 6px; z-index: 3; border-radius: 1px;
  background: linear-gradient(180deg, #7a2228, #4b1015 70%, #2a0709); box-shadow: 0 2px 3px rgba(0, 0, 0, .6);
}
.upright-keys { position: relative; display: flex; height: clamp(150px, 22vw, 210px); user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.upright-keys button { font: inherit; padding: 0; margin: 0; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.upright-keys .w {
  --ivory-l: calc(84% - var(--t, 0%));
  position: relative; flex: 1 0 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .3) 0, rgba(0, 0, 0, 0) 14%),
    radial-gradient(90% 35% at 50% 96%, rgba(120, 80, 35, calc(var(--wear) + .08)), transparent 70%),        /* fingers wore the ivory here */
    radial-gradient(6px 3px at 30% 62%, rgba(90, 60, 30, .25), transparent 70%),                                 /* a small chip */
    linear-gradient(90deg, rgba(255, 250, 235, .35) 0, rgba(255, 255, 255, 0) 20%, rgba(0, 0, 0, 0) 80%, rgba(60, 35, 15, .12) 100%),
    hsl(42, 48%, var(--ivory-l));
  border-right: 1px solid rgba(60, 40, 20, .5);
  border-radius: 0 0 5px 5px;
  box-shadow: inset 0 -9px 0 hsl(36, 34%, calc(var(--ivory-l) - 14%)), inset 0 -10px 0 rgba(0, 0, 0, .08), 0 2px 0 rgba(0, 0, 0, .45);
  transform: translateY(var(--dy, 0px)); transform-origin: 50% 0;
  transition: transform .12s cubic-bezier(.3, .7, .4, 1), box-shadow .12s, filter .3s;
}
.upright-keys[style*="--n:7"] .w:nth-child(7), .upright-keys[style*="--n:14"] .w:nth-child(14) { border-right: 0; }
.upright-keys .w:hover { filter: brightness(1.04); }
.upright-keys .b {
  position: absolute; z-index: 2; top: 0; height: 60%;
  width: calc(100% / var(--n, 7) * .58); left: calc(100% / var(--n, 7) * var(--x) - 100% / var(--n, 7) * .29);
  border-radius: 0 0 3px 3px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0 55%, rgba(255, 240, 220, calc(.06 + var(--wear) * .4)) 75%, rgba(255, 255, 255, 0) 90%),
    linear-gradient(90deg, #070605 0, #2a231e 14%, #1a1512 50%, #0b0908 86%, #000 100%);
  box-shadow: inset 0 -10px 0 #332b26, 0 5px 7px rgba(0, 0, 0, .55), 2px 1px 3px rgba(0, 0, 0, .3);
  transform: translateY(var(--dy, 0px)); transform-origin: 50% 0;
  transition: transform .1s cubic-bezier(.3, .7, .4, 1), box-shadow .1s;
}
.upright-keys .w[aria-pressed="true"] {
  transform: translateY(calc(var(--dy, 0px) + 4px));
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .4) 0, rgba(0, 0, 0, 0) 26%),
    radial-gradient(100% 60% at 50% 100%, rgba(201, 162, 90, .45), transparent 75%),
    hsl(42, 46%, calc(var(--ivory-l) - 4%));
  box-shadow: inset 0 -4px 0 hsl(36, 34%, calc(var(--ivory-l) - 16%)), 0 0 0 rgba(0, 0, 0, 0);
}
.upright-keys .b[aria-pressed="true"] {
  transform: translateY(calc(var(--dy, 0px) + 3px));
  background: linear-gradient(180deg, #000 40%, var(--brass-deep)); box-shadow: inset 0 -5px 0 #332b26, 0 2px 3px rgba(0, 0, 0, .45);
}
.upright-keys button:focus-visible { outline: 2px solid var(--brass-2); outline-offset: -4px; }
.ep-progress { height: 2px; margin-top: 14px; background: var(--ebony-line); border-radius: 2px; overflow: hidden; }
.ep-progress i { display: block; height: 100%; width: 0; background: var(--brass); transition: width .25s linear; }

/* the cover of the EP that is playing lifts, grows a little and sways */
.ep.is-playing img { transform: translateY(-14px) scale(1.06); box-shadow: 0 0 0 2px var(--brass), 0 34px 60px -24px rgba(0, 0, 0, .8); }
.ep.is-playing span b { color: var(--brass-2); }
@media (prefers-reduced-motion: no-preference) {
  .ep.is-playing:not(.is-paused) img { animation: ep-sway 3.2s ease-in-out infinite; }
}
@keyframes ep-sway {
  0%, 100% { transform: translateY(-14px) scale(1.06) rotate(-1.6deg); }
  50% { transform: translateY(-16px) scale(1.06) rotate(1.6deg); }
}

/* Home page: two octaves next to a cover panel that shows the release of the piece that is playing */
.ep-player--home { max-width: none; margin: clamp(32px, 6vh, 64px) 0 0; padding-bottom: clamp(28px, 5vh, 52px); }
.home-piano { display: grid; grid-template-columns: minmax(0, 1fr) clamp(200px, 22vw, 280px); gap: clamp(24px, 4vw, 56px); align-items: end; }
.ep-player--home .upright-keys { height: clamp(140px, 15vw, 200px); }
.now-cover { margin: 0; }
.now-art { position: relative; aspect-ratio: 1; border-radius: 4px; overflow: hidden; background: var(--ebony-2); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .9); }
.now-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.now-art.has-cover img { animation: now-in .6s var(--ease); }
.now-art .c-year { position: absolute; z-index: 2; top: 8px; left: 8px; font: 500 .68rem var(--f-mono); letter-spacing: .08em; background: rgba(13, 12, 11, .78); color: var(--ivory); padding: 3px 7px; border-radius: 999px; }
.now-cover[hidden] { display: none; }
.now-cover figcaption { min-height: 3.6em; margin-top: 12px; display: grid; gap: 2px; }
.now-cover .c-artist { font: 500 .78rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brass-2); }
.now-cover .c-title { font-family: var(--f-display); font-style: italic; font-size: 1.05rem; line-height: 1.25; }
@media (prefers-reduced-motion: no-preference) {
  .ep-player--home:not(.is-paused) .now-art.has-cover { animation: ep-sway-soft 3.6s ease-in-out infinite; }
}
@keyframes ep-sway-soft { 0%, 100% { transform: rotate(-1deg); } 50% { transform: rotate(1deg); } }
@keyframes now-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .home-piano { grid-template-columns: 1fr; }
  .now-cover { order: -1; display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
  .now-cover figcaption { margin: 0; }
}
.now-cover .c-role { justify-self: start; margin-top: 6px; font: .66rem var(--f-mono); letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(201, 162, 90, .45); color: var(--brass-2); }
.now-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; }
.now-links a { display: inline-flex; align-items: center; gap: 5px; font: .66rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); text-decoration: none; transition: color .25s; }
.now-links a:hover { color: var(--brass-2); }
.now-links a[hidden] { display: none; }
.now-links svg { width: 14px; height: 14px; }
/* small sound switch right at the synth keyboards */
.kbd-tools { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.section--ivory .sound-toggle { color: var(--ebony); border-color: var(--ivory-line); }
.kbd-tools .sound-toggle .label { display: inline; } /* the header rules that hide it don't apply at the keyboards */
.ep-player > .now-links { justify-content: center; margin-top: 14px; }
.ep-player > .now-links[hidden] { display: none; }
/* both mini pianos: an invitation you can't miss – big brass line + a slow wave of light over the keys until the first piece plays */
.ep-player:not(.has-played) .ep-title .ep-hint {
  font: italic 400 clamp(1.2rem, 2.1vw, 1.6rem)/1.25 var(--f-display); letter-spacing: 0; text-transform: none; color: var(--brass-2);
}
.ep-player:not(.has-played) .ep-toggle { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .ep-player:not(.has-played) .ep-title .ep-hint { animation: hint-glow 2.6s ease-in-out infinite; }
  .ep-player:not(.has-played) .upright-keys button { animation: key-wave 4.2s ease-in-out infinite; animation-delay: calc(var(--i) * .07s); }
}
@keyframes hint-glow { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes key-wave {
  0%, 70%, 100% { filter: none; }
  80% { filter: brightness(1.18) sepia(.35); }
}
/* close (X) above the time counter: stops and resets the mini piano */
.ep-side { display: grid; justify-items: end; gap: 6px; flex: none; }
/* gold-filled X on both mini pianos */
.ep-close {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; padding: 0; border: 0;
  background: var(--brass); color: var(--ebony); box-shadow: 0 6px 18px -8px rgba(201, 162, 90, .7); transition: background .25s, transform .25s;
}
.ep-close svg { width: 18px; height: 18px; stroke-width: 2.4; }
.ep-close:hover { background: var(--brass-2); transform: rotate(90deg); }
.ep-close[hidden] { display: none; }
/* home references: names as a calm running line instead of many boxes */
.logo-wall--compact { display: block; margin-top: 12px; line-height: 1.85; }
.logo-wall--compact li { display: inline-block; white-space: nowrap; padding: 0; border: 0; background: none; border-radius: 0; font-size: clamp(.98rem, 1.25vw, 1.1rem); }
.logo-wall--compact li:hover { color: inherit; }
.logo-wall--compact li { margin-right: .55em; }
.logo-wall--compact li:not(:last-child)::after { content: "·"; margin-left: .55em; color: var(--brass); font-style: normal; }

/* ==========================================================================
   Teacher page: two tiny playable instruments – a vintage mono bass synth and a stylised electric piano
   ========================================================================== */
/* the stage spans the content column – as wide as the three teaching cards above, never wider;
   20 white keys + cheeks (42px) + gap fill it exactly, the key height grows with the key width */
.synth-stage { container-type: inline-size; --gap: clamp(12px, 2.5vw, 40px); width: 100%; margin: clamp(40px, 6vw, 72px) 0 0; }
.synth-pair { --kw: calc((100cqw - 42px - var(--gap) - 2px) / 20); display: flex; flex-wrap: nowrap; justify-content: center; gap: var(--gap); align-items: flex-end; }
/* every key has the same width on both instruments – the piano is simply wider because it has more keys */
.synth { flex: none; }
.synth-keys { box-sizing: content-box; width: calc(var(--n) * var(--kw)); } /* frame and cheeks come on top, keys stay equal */
.synth-panel { box-sizing: border-box; }
.synth { margin: 0; }
.synth figcaption { margin-top: 12px; font: clamp(.72rem, 1.1vw, .95rem) var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); }
.synth-keys { position: relative; display: flex; height: clamp(92px, calc(var(--kw) * 3.4), 200px); user-select: none; -webkit-user-select: none; touch-action: none; }
.synth-keys button { padding: 0; margin: 0; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; font: inherit; }
.synth-keys .w {
  flex: 1 0 0; border-radius: 0 0 4px 4px; border-right: 1px solid rgba(0, 0, 0, .28);
  background: linear-gradient(180deg, #d8d2c5 0, #f3efe6 14%, #f6f2ea 86%, #e6dfd2 100%);
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .1); transform-origin: 50% 0; transition: transform .08s, background .2s;
}
.synth--bass .synth-keys .w:nth-last-child(6), .synth--rhodes .synth-keys .w:nth-last-child(9) { border-right: 0; } /* last white key (black keys follow in the markup) */
.synth-keys .b {
  position: absolute; z-index: 2; top: 0; height: 58%;
  width: calc(100% / var(--n) * .6); left: calc(100% / var(--n) * var(--x) - 100% / var(--n) * .3);
  border-radius: 0 0 3px 3px; background: linear-gradient(90deg, #050505, #2a2523 45%, #0c0b0a); box-shadow: inset 0 -6px 0 #2f2a27, 0 3px 4px rgba(0, 0, 0, .5);
  transform-origin: 50% 0; transition: transform .08s;
}
.synth-keys .is-down { transform: perspective(300px) rotateX(-5deg); }
.synth-keys .w.is-down { background: linear-gradient(180deg, #cfc7b8 0, #ece5d8 30%, #f3eee4 100%); }
.synth-keys .b.is-down { background: linear-gradient(90deg, #000, #1c1817 45%, #070606); }

/* bass: walnut cheeks and a plain black front panel, like a little 70s mono synth */
.synth--bass .synth-panel, .synth--bass .synth-keys { border-left: 12px solid #5a3420; border-right: 12px solid #5a3420; }
.synth--bass .synth-panel {
  display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 9px 10px; border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #232120, #141312); border-top: 2px solid #5a3420;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .06);
}
.synth--bass .synth-keys { border-bottom: 8px solid #3f2416; border-radius: 0 0 6px 6px; background: #111; }

/* e-piano: black tolex case with rounded ends, brushed aluminium rail and a small name plate */
.synth--rhodes .synth-panel {
  display: flex; align-items: center; justify-content: center; height: 34px; padding: 0 12px; border-radius: 6px 6px 0 0;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='90' height='90'><filter id='t'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3'/></filter><rect width='90' height='90' filter='url(%23t)' opacity='.22'/></svg>"),
    linear-gradient(180deg, #1d1c1b, #0d0d0c);
  border: 1px solid #000; border-bottom: 2px solid #b9b8b2; /* thin aluminium trim above the keys */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.synth--rhodes .synth-keys {
  border: 9px solid #121211; border-top: 0; border-radius: 0 0 6px 6px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><filter id='t'><feTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2'/></filter><rect width='80' height='80' filter='url(%23t)' opacity='.18'/></svg>"), #121211;
}
.synth--rhodes .synth-keys::before { content: ""; position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 4px; background: #7a1717; } /* red felt strip */
.kbd-tools + .synth-pair { margin-top: 0; }
.sound-toggle.nudge { animation: nudge .5s ease-in-out 2; border-color: var(--brass); }
@keyframes nudge { 0%, 100% { transform: none; } 30% { transform: translateX(-3px); } 70% { transform: translateX(3px); } }
.synth--rhodes figcaption { text-align: right; }
/* the panel never makes an instrument wider than its keys */
.synth-panel, .synth figcaption { width: 0; min-width: 100%; overflow: hidden; } /* … and neither does the caption (it wraps on phones) */
@media (max-width: 480px) {
  .synth--bass .synth-panel { padding: 7px 6px; }
}
/* computer-keyboard letters on the piano keys and the tip line – only where there is a mouse and a keyboard */
.synth-keys .kl { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font: 700 clamp(.62rem, calc(var(--kw) * .32), 1.25rem) var(--f-mono); color: rgba(30, 24, 18, .82); pointer-events: none; display: none; }
.synth-keys .b .kl { bottom: 6px; color: rgba(244, 239, 230, .9); }
.synth-keys .w { position: relative; }
.synth-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
/* the instruments get their own heading, in the site's heading style */
.synth-title { margin: 0; font-size: clamp(1.7rem, 3.2vw, 2.8rem); }
/* gold X (like the song players): stops, sound off, shows the demo again – only there once something was played */
.synth-close { flex: none; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--brass); color: var(--ebony); box-shadow: 0 6px 18px -8px rgba(201, 162, 90, .7); transition: background .25s, transform .25s; }
.synth-close:hover { background: var(--brass-2); transform: rotate(90deg); }
.synth-close svg { width: 17px; height: 17px; }
.synth-close[hidden] { display: none; }
.synth-top .kbd-tools { margin: 0; }
/* touch devices: a short line under the heading (mouse + keyboard get the animated demo instead) */
.synth-hint { margin: 8px 0 0; font: .72rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d); }
@media (hover: hover) and (pointer: fine) { .synth-keys .kl { display: block; } .synth-hint--touch { display: none; } }
.synth-stage .synth-pair { margin-top: 26px; }
/* typographic badge (SoPA / SRH Berlin) in the round icon slot – no third-party artwork */
.teach-card .icon:has(.icon-type) { background: var(--ebony); box-shadow: inset 0 0 0 1.5px var(--brass); }
.icon-type { width: 100%; height: 100%; display: grid; place-content: center; text-align: center; line-height: 1; }
.icon-type b { font: 400 italic 1.3rem var(--f-display); color: var(--brass-2); letter-spacing: -.01em; }
.icon-type small { margin-top: 4px; font: 500 .48rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(244, 239, 230, .7); }

/* composer page: minimal LÜX player under the video */
.mini-player { position: relative; margin-top: 14px; padding: 14px 16px 12px; border: 1px solid var(--ebony-line); border-radius: var(--radius); }
.mp-row { display: flex; align-items: center; gap: 12px; }
.mp-play, .mp-next, .mp-close { flex: none; display: grid; place-items: center; padding: 0; border: 0; cursor: pointer; border-radius: 50%; transition: background .25s, color .25s, transform .25s; }
.mp-play { width: 40px; height: 40px; background: var(--brass); color: var(--ebony); }
.mp-play:hover { background: var(--brass-2); }
.mp-play svg { width: 18px; height: 18px; }
.mp-play .i-pause, .mini-player.is-playing .mp-play .i-play { display: none; }
.mini-player.is-playing .mp-play .i-pause { display: block; }
.mp-next { width: 32px; height: 32px; background: none; color: var(--muted-d); }
.mp-next:hover { color: var(--ivory); }
.mp-next svg { width: 16px; height: 16px; }
.mp-close { width: 32px; height: 32px; background: var(--brass); color: var(--ebony); }
.mp-close:hover { background: var(--brass-2); transform: rotate(90deg); }
.mp-close svg { width: 15px; height: 15px; }
.mp-close[hidden] { display: none; }
.mp-now { flex: 1; min-width: 0; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.mp-now em { font: .68rem var(--f-mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); margin-left: .5em; }
.mp-time { flex: none; font: .72rem var(--f-mono); color: var(--muted-d); }
.mp-progress { height: 3px; margin: 12px 0 10px; background: var(--ebony-line); border-radius: 2px; overflow: hidden; cursor: pointer; }
.mp-progress i { display: block; height: 100%; width: 0; background: var(--brass); transition: width .25s linear; }
.mp-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), auto); justify-content: space-between; gap: 2px 14px; } /* songs per row set by build.py (LÜX 4, Björn Bergmann 2) */
.mp-list[style*="--cols:2"] { justify-content: start; column-gap: 48px; }
@media (max-width: 560px) { .mp-list { grid-template-columns: repeat(2, auto); justify-content: start; gap: 2px 24px; } }
.mp-list button { text-align: left; }
.mp-list button { padding: 2px 0; border: 0; background: none; cursor: pointer; font: .8rem var(--f-mono); color: var(--muted-d); transition: color .2s; }
.mp-list button:hover, .mp-list button[aria-current="true"] { color: var(--brass-2); }
.mp-list button[aria-current="true"]::before { content: "▸ "; }

/* home hero: wide, cinematic stage photo across the full width – the sharp (portrait) photo sits right of centre and
   dissolves to both sides into a dark, blurred copy of itself, so it reads as one wide picture like the other page heroes */
.hero--photo { background: var(--ebony); min-height: 92svh; }
.hero-photo { position: absolute; z-index: 0; inset: 0; margin: 0; pointer-events: none; overflow: hidden; }
.hero-photo::before { content: ""; position: absolute; inset: -60px; background: var(--bg) 60% 30% / cover no-repeat;
  filter: blur(38px) brightness(.38) saturate(.85); }
.hero-photo img { position: absolute; top: 0; left: var(--x, 58%); transform: translateX(-50%); width: var(--w, min(62%, 1100px)); height: 100%; object-fit: cover; object-position: var(--pos, 50% 16%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 76%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 76%, transparent 100%); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(13, 12, 11, .92) 0%, rgba(13, 12, 11, .62) 30%, rgba(13, 12, 11, .08) 58%, rgba(13, 12, 11, .25) 100%),
  linear-gradient(180deg, rgba(13, 12, 11, .5) 0%, rgba(13, 12, 11, 0) 22%, rgba(13, 12, 11, 0) 62%, var(--ebony) 100%); }
/* photo credit: small, quiet, along the right edge */
.hero-photo figcaption { position: absolute; z-index: 1; right: 10px; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl;
  font: .6rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(244, 239, 230, .38); }
.hero--photo > .container, .hero-photo ~ .container { position: relative; z-index: 1; }
.page-hero--image .hero-photo img { transform: translateX(-50%); } /* no parallax on the composed photo */
.hero--photo .hero-grid { grid-template-columns: minmax(0, 34rem); }
@media (max-width: 860px) {
  .hero--photo { min-height: 0; }
  .hero-photo { bottom: auto; height: 78svh; }
  .hero-photo img { left: 50%; width: 100%; -webkit-mask-image: none; mask-image: none; object-position: 60% 15%; }
  .hero-photo::after { background: linear-gradient(180deg, rgba(13, 12, 11, .5) 0%, rgba(13, 12, 11, .15) 25%, rgba(13, 12, 11, .55) 60%, var(--ebony) 100%); }
  .hero--photo .hero-grid { padding-top: 34svh; padding-bottom: 48px; }
}

/* home page: waveform player under the marquee (song on top with cover + waveform, all songs below, grouped by artist) */
.sc-band { padding: clamp(40px, 5vw, 64px) 0 clamp(8px, 2vw, 24px); }
.sc-now { display: grid; grid-template-columns: clamp(96px, 11vw, 148px) minmax(0, 1fr); gap: clamp(16px, 2.5vw, 32px); align-items: center; }
.sc-cover { position: relative; aspect-ratio: 1; border-radius: 6px; overflow: hidden; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .8); }
.sc-cover img, .sc-cover .sc-sleeve { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-cover img[hidden] { display: none; }
.sc-player:not(.has-song) .sc-sub { visibility: hidden; } /* release, role and links only once a song is chosen */
.sc-player:not(.has-song) .sc-title { color: var(--muted-d); font-style: italic; }
.sc-head { display: flex; align-items: center; gap: 14px; }
.sc-play, .sc-close { flex: none; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: var(--brass); color: var(--ebony); transition: background .25s, transform .25s; }
.sc-play { width: 52px; height: 52px; box-shadow: 0 8px 22px -10px rgba(201, 162, 90, .8); }
.sc-play svg { width: 22px; height: 22px; }
.sc-play:hover, .sc-close:hover { background: var(--brass-2); }
.sc-play .i-pause, .sc-player.is-playing .sc-play .i-play { display: none; }
.sc-player.is-playing .sc-play .i-pause { display: block; }
.sc-close { width: 34px; height: 34px; }
.sc-close:hover { transform: rotate(90deg); }
.sc-close svg { width: 15px; height: 15px; }
.sc-close[hidden] { display: none; }
.sc-meta { flex: 1; min-width: 0; margin: 0; display: grid; }
.sc-artist { font: .7rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); }
.sc-title { font: 400 clamp(1.25rem, 2.2vw, 1.7rem)/1.2 var(--f-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-time { flex: none; font: .74rem var(--f-mono); color: var(--muted-d); }
.sc-wave { height: clamp(44px, 5.5vw, 64px); margin-top: 12px; cursor: pointer; }
.sc-wave svg { display: block; width: 100%; height: 100%; }
.sc-wave .wf-base { fill: rgba(244, 239, 230, .2); transition: fill .3s; }
.sc-wave:hover .wf-base { fill: rgba(244, 239, 230, .3); }
.sc-wave .wf-prog { fill: var(--brass); }
.sc-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 10px 0 0; font: .68rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); }
.sc-role { color: var(--brass-2); }
.sc-sub .now-links { margin-left: auto; }
.sc-lists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px clamp(18px, 3vw, 40px); margin-top: clamp(22px, 3vw, 34px); padding-top: clamp(18px, 2vw, 24px); border-top: 1px solid var(--ebony-line); }
.sc-group h3 { margin: 0 0 6px; font: .68rem var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-2); }
.sc-group ol { list-style: none; margin: 0; padding: 0; }
.sc-group button { display: grid; width: 100%; padding: 4px 8px; border: 0; border-radius: 6px; background: none; color: inherit; text-align: left; cursor: pointer; transition: background .2s; }
.sc-group button:hover { background: rgba(244, 239, 230, .05); }
.sc-group button[aria-current="true"] { background: rgba(201, 162, 90, .12); }
.sc-group button[aria-current="true"] b { color: var(--brass-2); }
.sc-group b { font-weight: 600; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-group small { font: .6rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-d); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-all { position: absolute; opacity: 0; pointer-events: none; }
.sc-more { display: none; }
@media (max-width: 900px) { .sc-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .sc-now { grid-template-columns: 72px minmax(0, 1fr); align-items: start; }
  .sc-play { width: 44px; height: 44px; }
  .sc-lists { grid-template-columns: 1fr; }
  .sc-group + .sc-group { margin-top: 12px; }
  .sc-player:not(.has-song) .sc-title { white-space: normal; font-size: 1.1rem; }
  .sc-player:not(.has-song) .sc-sub { display: none; }
  .sc-group li:nth-child(n+4) { display: none; } /* on phones three songs per artist, the rest behind "show all" (CSS only) */
  .sc-all:checked ~ .sc-lists li { display: block; }
  .sc-more { display: inline-block; margin-top: 12px; font: .72rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-2); cursor: pointer; border-bottom: 1px solid currentColor; }
  .sc-all:checked ~ .sc-more { display: none; }
  .sc-sub .now-links { margin-left: 0; }
}

/* quiet photo credits at the image edge (Fenja Zoë Jensen; the Künzel heroes use .hero-photo figcaption) */
.photo-credit { position: absolute; z-index: 1; right: 7px; bottom: 12px; transform: rotate(180deg); writing-mode: vertical-rl; pointer-events: none;
  font: .55rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(244, 239, 230, .55); text-shadow: 0 0 6px rgba(0, 0, 0, .55); }
.photo-credit--hero { right: 10px; top: 50%; bottom: auto; transform: translateY(-50%) rotate(180deg); color: rgba(244, 239, 230, .38); text-shadow: none; }
/* the two Künzel hero photos: a touch more contrast and depth – meant to go unnoticed */
.hero-photo img { filter: contrast(1.07) saturate(1.05) brightness(.98); }

/* teacher page: animated "how to play" – both hands at once: a mouse pointer clicks the bass notes while three fingers
   press chords on a small two-row computer keyboard in the piano case and the piano keys go down. Looks here, timing
   (keyframes) generated from DEMO_SCORE by synth_demo_style() in build.py. Only for mouse + keyboard; gone on an
   the demo as soon as either instrument is played (main.js sets .is-used on .synth-stage) */
.demo-cursor, .demo-caps { display: none; }
/* both cases equally tall: low without the demo, taller where the little computer keyboard is shown */
.synth--bass .synth-panel { height: 34px; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .synth--bass .synth-panel, .synth--rhodes .synth-panel { height: 76px; } }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .demo-cursor { display: block; position: absolute; z-index: 4; left: 0; top: 66%; width: 26px; height: 26px; pointer-events: none;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .45)); }
  .demo-cursor svg { display: block; width: 100%; height: 100%; transform-origin: 15% 10%; }
  .demo-caps { position: relative; display: block; width: 345px; height: 58px; }
  .demo-caps i { position: absolute; width: 30px; height: 27px; display: grid; place-items: center; border-radius: 5px; font: 700 .8rem var(--f-mono); font-style: normal;
    color: #2a2622; background: linear-gradient(180deg, #f3efe6, #d9d3c6); box-shadow: 0 2px 0 #8e877b, 0 0 0 1px #000; }
  .demo-finger { position: absolute; z-index: 2; left: 0; top: 0; width: 20px; height: 25px; border-radius: 11px 11px 8px 8px; pointer-events: none;
    background: linear-gradient(180deg, #e9c3a6, #d4a184); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12), 0 3px 6px rgba(0, 0, 0, .45); }
}

/* solo piano page: the same waveform player, slimmer – no cover (the EP covers above do that job), titles in a grid */
.sc-player--solo { margin-top: clamp(28px, 4vw, 48px); padding-top: clamp(20px, 2.5vw, 28px); border-top: 1px solid var(--ebony-line); }
.sc-player--solo .sc-wave { height: clamp(40px, 4.5vw, 56px); }
.sc-player--solo:not(.has-song) .sc-sub { visibility: hidden; }
.sc-player--solo:not(.has-song) .sc-title { color: var(--muted-d); font-style: italic; }
.sc-tracks { list-style: none; margin: clamp(16px, 2vw, 24px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px 18px; }
.sc-tracks button { width: 100%; padding: 6px 8px; border: 0; border-radius: 6px; background: none; color: inherit; text-align: left; cursor: pointer;
  font-weight: 600; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .2s, color .2s; }
.sc-tracks button:hover { background: rgba(244, 239, 230, .05); }
.sc-tracks button[aria-current="true"] { background: rgba(201, 162, 90, .12); color: var(--brass-2); }
@media (max-width: 900px) { .sc-tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .sc-tracks button { white-space: normal; line-height: 1.25; } .sc-player--solo:not(.has-song) .sc-sub { display: none; } .sc-player--solo:not(.has-song) .sc-title { white-space: normal; font-size: 1.1rem; } }
