/* ==========================================================================
   Bogdan Laketic – styles
   ========================================================================== */

/* Fonts (self-hosted, no Google requests → DSGVO-freundlich) */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/instrumentserif-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/instrumentserif-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/instrumentserif-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/instrumentserif-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(assets/fonts/intertight-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(assets/fonts/intertight-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0b0b0d;
  --bg-2: #141417;
  --fg: #f2ede4;
  --muted: #8d8880;
  --line: rgba(242, 237, 228, 0.14);
  --accent: #e3a857;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(16px, 5vw, 72px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

/* smooth fade between index and imprint (Chrome / Safari) */
@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 300 clamp(16px, 1.05vw, 18px)/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #000; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

/* ---------- Language: show only the active one ---------- */
html[lang="en"] [data-l="de"], html[lang="de"] [data-l="en"] { display: none !important; }
main, .footer { transition: opacity .35s var(--ease), filter .35s var(--ease); }
html.lang-switching main, html.lang-switching .footer { opacity: 0; filter: blur(6px); }

/* ---------- Intro curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 200; background: var(--bg); pointer-events: none;
  transform-origin: top;
  animation: curtain 1.1s var(--ease-io) .1s forwards;
}
@keyframes curtain { to { transform: scaleY(0); } }
.intro { display: inline-block; animation: rise 1.3s var(--ease) var(--d, 0s) both; }
@keyframes rise { from { transform: translateY(110%); } }
.hero-eyebrow.intro { animation-name: fadeUp; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

.eyebrow {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 1.2rem;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--pad);
  transition: padding .5s var(--ease), transform .6s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(11, 11, 13, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .5s var(--ease);
}
.nav.scrolled { padding-block: 14px; }
.nav.scrolled::before { opacity: 1; }
.nav.hidden { transform: translateY(-100%); }
.nav-logo { font: 400 24px/1 var(--serif); letter-spacing: -.01em; position: relative; z-index: 2; white-space: nowrap; }
.nav-logo em { color: var(--accent); }
.nav-links { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.nav-links a {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 8px; position: relative; z-index: 2; }
.nav-toggle, .nav-menu-foot { display: none; }

.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; cursor: pointer;
  font-size: 11px; letter-spacing: .18em;
  transition: border-color .3s, background .3s;
}
.lang-toggle:hover { border-color: var(--accent); }
.lang-toggle .lt-sep { color: var(--muted); }
.lang-toggle .lt-en, .lang-toggle .lt-de { color: var(--muted); transition: color .3s; }
html[lang="en"] .lt-en, html[lang="de"] .lt-de { color: var(--accent); }

@media (max-width: 960px) {
  .nav-toggle {
    display: grid; gap: 7px; place-content: center;
    width: 48px; height: 48px; margin-right: -12px;
    background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle span { display: block; width: 26px; height: 1.5px; background: var(--fg); transition: transform .45s var(--ease); }
  .nav.open .nav-toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav.open::before { opacity: 0; }

  .nav-links {
    position: fixed; inset: 0; z-index: 1;
    display: flex; flex-direction: column; justify-content: center; gap: 0;
    padding: 96px var(--pad) 40px;
    background: rgba(11, 11, 13, .8);
    backdrop-filter: blur(22px) saturate(.8); -webkit-backdrop-filter: blur(22px) saturate(.8);
    opacity: 0; visibility: hidden;
    transition: opacity .45s var(--ease), visibility 0s linear .45s;
  }
  .nav.open .nav-links { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
  .nav-links a {
    display: flex; align-items: baseline; gap: 18px;
    padding: 14px 0; border-bottom: 1px solid var(--line);
    font: 400 clamp(36px, 10vw, 52px)/1 var(--serif); letter-spacing: -.01em; text-transform: none;
    opacity: 0; transform: translateY(18px);
    transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
  }
  .nav-links a:first-child { border-top: 1px solid var(--line); }
  .nav-links a::before {
    content: attr(data-n); font: 400 11px/1 var(--sans); letter-spacing: .2em; color: var(--accent); min-width: 1.8em;
  }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--accent); }
  .nav.open .nav-links a { opacity: 1; transform: none; }
  .nav.open .nav-links a:nth-child(1) { transition-delay: .06s; }
  .nav.open .nav-links a:nth-child(2) { transition-delay: .11s; }
  .nav.open .nav-links a:nth-child(3) { transition-delay: .16s; }
  .nav.open .nav-links a:nth-child(4) { transition-delay: .21s; }
  .nav.open .nav-links a:nth-child(5) { transition-delay: .26s; }
  .nav.open .nav-links a:nth-child(6) { transition-delay: .31s; }
  .nav-menu-foot { display: block; margin-top: auto; padding-top: 28px; font-size: 13px; color: var(--muted); }
  .nav-menu-foot a { all: unset; color: var(--fg); cursor: pointer; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; background: #000; }
.hero-poster, .hero-still {
  position: absolute; inset: -2%;
  background: center / cover no-repeat;
}
.hero-poster { animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.12) translateX(-1%); } }

.hero-clip {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.6s var(--ease);
  pointer-events: none;
}
.hero-clip.visible { opacity: 1; }
/* photo "clips": slow Ken Burns move while visible */
.hero-still { opacity: 0; transition: opacity 1.6s var(--ease); transform: scale(1.02); }
.hero-still.visible { opacity: 1; animation: kb var(--kb, 7s) linear forwards; }
.hero-still.kb-b.visible { animation-name: kb2; }
@keyframes kb  { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
@keyframes kb2 { from { transform: scale(1.14) translate(1%, 0); } to { transform: scale(1.03) translate(-1%, 1%); } }

.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(11,11,13,.92) 0%, rgba(11,11,13,.35) 40%, rgba(11,11,13,.15) 65%, rgba(11,11,13,.55) 100%),
    linear-gradient(90deg, rgba(11,11,13,.55) 0%, rgba(11,11,13,0) 60%);
}
.hero-content { padding: 0 var(--pad) clamp(120px, 17vh, 170px); width: 100%; }
.hero-eyebrow {
  margin: 0 0 1.4rem;
  font-size: clamp(11px, 1vw, 13px); letter-spacing: .32em; text-transform: uppercase;
  color: rgba(242,237,228,.78);
}
.hero-title {
  margin: 0;
  font: 400 clamp(64px, 14.5vw, 232px)/.86 var(--serif);
  letter-spacing: -.04em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line:nth-child(2) { padding-left: clamp(24px, 9vw, 180px); }
.hero-title em { color: var(--accent); }
.hero-foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 28px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
}
.now-playing {
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px;
  font-size: 12px; max-width: 460px;
  opacity: 0; transition: opacity .8s var(--ease);
}
.now-playing.on { opacity: 1; }
.np-bar { grid-row: span 2; width: 2px; height: 34px; background: var(--line); position: relative; align-self: center; }
.np-bar span { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: var(--accent); }
.np-label { letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-size: 10px; }
.np-title { font: 400 17px/1.25 var(--serif); transition: opacity .6s; }
.scroll-cue {
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
  writing-mode: vertical-rl; padding-bottom: 54px; position: relative;
}
.scroll-cue::after {
  content: ""; position: absolute; bottom: 0; left: 50%; width: 1px; height: 44px;
  background: linear-gradient(var(--fg), transparent); transform-origin: top;
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(96px, 13vw, 170px) var(--pad); }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 16px;
  border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head h2 { margin: 0; font: 400 clamp(52px, 7.5vw, 112px)/1 var(--serif); letter-spacing: -.025em; }
.dot { color: var(--accent); }
.section-meta { margin: 0; font-size: 13px; color: var(--muted); letter-spacing: .06em; }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; transition: color .3s; }
.link-arrow::after { content: "↗"; font-size: .9em; transition: transform .35s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover::after { transform: translate(2px, -2px); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  background: var(--accent); color: #111; font-weight: 500; font-size: 14px; letter-spacing: .04em;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fg);
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: none; }

/* Statement – sticky photo, words light up while scrolling */
.statement { position: relative; height: 230vh; }
.statement-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; align-items: flex-end; overflow: hidden;
  padding: 0 var(--pad) 12vh;
}
.statement-bg { position: absolute; inset: 0; z-index: -1; }
.statement-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%;
  transform: scale(var(--s, 1.18)); filter: brightness(var(--b, .5));
  will-change: transform, filter;
}
.statement-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,11,13,.85) 0%, rgba(11,11,13,.45) 55%, rgba(11,11,13,.2) 100%),
    linear-gradient(to bottom, var(--bg) 0%, rgba(11,11,13,0) 22%, rgba(11,11,13,0) 70%, var(--bg) 100%);
}
.statement-inner { margin: 0 auto; width: 100%; max-width: var(--max); }
.statement-text {
  margin: 0; max-width: 17em;
  font: 400 clamp(38px, 5.8vw, 92px)/1.04 var(--serif); letter-spacing: -.02em;
  text-wrap: balance;
}
.statement-text .w { opacity: .14; transition: opacity .35s linear; }
.statement-text .w.on { opacity: 1; }
.statement-text em { color: var(--accent); }
.statement-cite {
  margin: 2.2rem 0 0; font: italic 400 clamp(18px, 1.6vw, 22px)/1.3 var(--serif); color: rgba(242,237,228,.8);
  opacity: var(--ci, 0); transform: translateY(calc((1 - var(--ci, 0)) * 16px));
}
.statement-cite span { font: 400 11px/1 var(--sans); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-left: 8px; }

/* About */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-photo { margin: 0; overflow: hidden; position: sticky; top: 100px; }
.about-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 25%; transform: scale(var(--ps, 1.08)); }
.about-text p { margin: 0 0 1.35em; color: rgba(242,237,228,.8); max-width: 58ch; }
.about-text .lead { font: 400 clamp(26px, 2.5vw, 36px)/1.2 var(--serif); color: var(--fg); letter-spacing: -.01em; }

/* Quotes */
.quotes { padding-top: 0; display: grid; gap: clamp(56px, 8vw, 96px); }
.quote { margin: 0; }
.quote p { margin: 0; font: italic 400 clamp(38px, 6vw, 92px)/1.02 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.quotes-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 96px); }
.quote-small p { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.3; letter-spacing: 0; }
.quote footer { margin-top: 1.4rem; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.quote footer::before { content: ""; width: 32px; height: 1px; background: var(--accent); }
.quote cite { font: italic 400 clamp(22px, 2vw, 28px)/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--accent); }
.quote .qm { color: var(--accent); }

/* Solo – album */
.album { display: grid; grid-template-columns: minmax(260px, .8fr) 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.album-art { position: relative; perspective: 900px; max-width: 460px; }
.album-art img {
  position: relative; z-index: 2; width: 100%; aspect-ratio: 1; object-fit: cover;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
  transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
  transition: transform .6s var(--ease);
}
.album-disc {
  position: absolute; z-index: 1; top: 4%; right: 4%; width: 92%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle, var(--bg) 0 7%, #2a2622 7.5% 14%, transparent 14.5%),
    repeating-radial-gradient(circle, #151417 0 2px, #1d1b1e 2px 4px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
  transition: transform 1.2s var(--ease);
}
.album-art.in .album-disc { transform: translateX(28%) rotate(160deg); }
.album-art:hover .album-disc { transform: translateX(36%) rotate(260deg); }
.album-title { margin: 0 0 1.6rem; font: 400 clamp(52px, 6.5vw, 96px)/.95 var(--serif); letter-spacing: -.03em; }
.album-title em { color: var(--accent); }
.album-text p { color: rgba(242,237,228,.8); max-width: 56ch; margin: 0 0 1.2em; }
.album-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 2rem; font-size: 14px; }

.programs { margin-top: clamp(80px, 10vw, 140px); }
.program { border-top: 1px solid var(--line); }
.program:last-child { border-bottom: 1px solid var(--line); }
.program summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 3.2rem 1fr auto 2rem; align-items: center; gap: 16px;
  padding: 26px 0; position: relative;
}
.program summary::-webkit-details-marker { display: none; }
.program summary::after {
  content: "+"; justify-self: end; font-size: 24px; font-weight: 200; color: var(--accent);
  transition: transform .45s var(--ease);
}
.program[open] summary::after { transform: rotate(45deg); }
.p-n { font-size: 11px; letter-spacing: .2em; color: var(--accent); }
.p-title { font: 400 clamp(30px, 3.6vw, 52px)/1 var(--serif); letter-spacing: -.02em; transition: transform .5s var(--ease), color .3s; }
.program summary:hover .p-title { transform: translateX(10px); color: var(--accent); }
.p-tag { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.program-body { padding: 0 0 36px 3.2rem; display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px clamp(32px, 5vw, 80px); }
.program-body > p { margin: 0; color: rgba(242,237,228,.8); }
.program-body > .works:only-child { grid-column: 1 / -1; }
.program[open] .program-body { animation: open .7s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-10px); } }
.works { list-style: none; margin: 0; padding: 0; }
.works li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: rgba(242,237,228,.8); }
.works li:first-child { padding-top: 0; }
.works b { font-weight: 500; color: var(--fg); }
.works i { display: inline-block; margin-left: 8px; font: italic 400 15px/1 var(--serif); color: var(--accent); }

/* Wide photo – opens from a framed image to full width */
.wide-photo { height: 210vh; position: relative; }
.wide-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: grid; place-items: center; overflow: hidden;
}
.wide-frame {
  margin: 0; position: relative; width: 100%; height: 100%; overflow: hidden; grid-area: 1 / 1;
  clip-path: inset(var(--ci, 18%) var(--cx, 22%) round var(--r, 6px));
  will-change: clip-path;
}
.wide-frame img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(var(--s, 1.25)); filter: brightness(var(--b, .6));
  will-change: transform, filter;
}

/* Ensembles */
.ens {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center;
  padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 8vw, 110px);
}
.ens--flip .ens-photo { order: 2; }
.ens-photo { display: block; overflow: hidden; border-radius: 4px; }
.ens-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 1.4s var(--ease), filter .8s; filter: brightness(.88); }
.ens:hover .ens-photo img { transform: scale(1.05); filter: brightness(1); }
.ens.reveal { transform: none; }
.ens.reveal .ens-photo { clip-path: inset(10% 10% 10% 10% round 4px); transition: clip-path 1.5s var(--ease); }
.ens.reveal.in .ens-photo { clip-path: inset(0 round 4px); }
.ens h3 { margin: 0 0 1.4rem; font: 400 clamp(48px, 5.5vw, 84px)/.95 var(--serif); letter-spacing: -.03em; }
.ens h3 em { color: var(--accent); }
.ens-text p { color: rgba(242,237,228,.8); margin: 0 0 1.6em; max-width: 56ch; }
.ens-quote { margin: 0 0 1.4em; font: italic 400 clamp(20px, 1.8vw, 26px)/1.3 var(--serif); }
.ens-quote span { display: block; margin-top: 8px; font: 400 11px/1 var(--sans); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.chip {
  background: none; border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  padding: 9px 16px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  transition: color .3s, border-color .3s, background .3s;
}
.chip:hover { color: var(--fg); border-color: rgba(242,237,228,.4); }
.chip.on { background: var(--fg); border-color: var(--fg); color: var(--bg); }

/* Concerts */
.concert-list { list-style: none; margin: 0; padding: 0; }
.concert {
  display: grid; grid-template-columns: 8rem 1fr auto; align-items: center; gap: 24px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
  position: relative;
}
.concert::before {
  content: ""; position: absolute; inset: 0 calc(var(--pad) * -1);
  background: var(--bg-2); opacity: 0; z-index: -1; transition: opacity .35s;
}
.concert:hover::before { opacity: 1; }
.concert.hide { display: none; }
.concert.pop { animation: pop .6s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } }
.c-date { font: 400 clamp(28px, 2.8vw, 40px)/1 var(--serif); color: var(--accent); white-space: nowrap; }
.c-date small { display: block; margin-top: 6px; font: 400 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.c-title { font-size: clamp(18px, 1.6vw, 22px); font-weight: 400; transition: color .3s; }
.concert:hover .c-title { color: var(--accent); }
.c-title .c-note { color: var(--muted); font-weight: 300; }
.c-tag {
  display: inline-block; margin-bottom: 6px;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.c-tag::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 8px; background: var(--tag, var(--accent)); vertical-align: 1px; }
.c-tag[data-w="aliada"] { --tag: #7fb2c9; }
.c-tag[data-w="kammerfunk"] { --tag: #ff7a50; }
.c-tag[data-w="projects"] { --tag: #b6a6e0; }
.c-meta { font-size: 13px; color: var(--muted); text-align: right; white-space: nowrap; }
.c-meta .c-time { color: var(--fg); display: block; }
.concert-empty { padding: 32px 0; color: var(--muted); border-bottom: 1px solid var(--line); }

.past { margin-top: 48px; }
.past summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  transition: color .3s;
}
.past summary::-webkit-details-marker { display: none; }
.past summary::after { content: "+"; font-size: 18px; color: var(--accent); transition: transform .35s var(--ease); }
.past[open] summary::after { transform: rotate(45deg); }
.past summary:hover { color: var(--fg); }
.concert-list--past { margin-top: 20px; }
.concert-list--past .concert { padding: 16px 0; }
.concert-list--past .c-date { font-size: 22px; color: var(--muted); }
.concert-list--past .c-title { font-size: 16px; }

/* Videos */
.video-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(28px, 3.5vw, 48px) clamp(16px, 2.5vw, 32px);
}
.video-card { grid-column: span 2; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; text-align: left; font: inherit; }
.video-card.big { grid-column: span 3; }
.video-card.hide { display: none; }
.video-card.pop { animation: pop .6s var(--ease) both; }
.video-thumb { display: block; position: relative; overflow: hidden; aspect-ratio: 16/9; background: var(--bg-2); border-radius: 3px; }
.video-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.85) brightness(.8);
  transform: scale(1.36); /* hqdefault thumbnails are 4:3 with bars */
  transition: transform 1s var(--ease), filter .6s;
}
.video-card:hover .video-thumb img { transform: scale(1.42); filter: saturate(1) brightness(1); }
.video-play {
  position: absolute; left: 18px; bottom: 18px;
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid rgba(242,237,228,.6);
  display: grid; place-items: center;
  transition: background .35s, border-color .35s, transform .5s var(--ease);
}
.video-play::before {
  content: ""; margin-left: 4px;
  border-left: 13px solid var(--fg); border-top: 8px solid transparent; border-bottom: 8px solid transparent;
}
.video-card:hover .video-play { background: var(--accent); border-color: var(--accent); transform: scale(1.08); }
.video-card:hover .video-title { color: var(--accent); }
.video-title { margin-top: 14px; display: block; transition: color .3s; font: 400 clamp(20px, 1.8vw, 26px)/1.2 var(--serif); }
.video-card.big .video-title { font-size: clamp(24px, 2.4vw, 34px); }
.video-sub { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }

/* Gallery – infinite marquee */
.gallery { overflow: hidden; padding: 0 0 clamp(40px, 6vw, 80px); }
.gallery-track {
  display: flex; gap: 16px; width: max-content;
  animation: marquee 80s linear infinite;
}
.gallery:hover .gallery-track { animation-play-state: paused; }
.gallery-track img { height: clamp(220px, 32vw, 420px); width: auto; object-fit: cover; border-radius: 3px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }

/* Contact */
.contact { text-align: center; padding-bottom: clamp(80px, 10vw, 140px); }
.contact-mail {
  display: inline-block;
  font: 400 clamp(32px, 6.6vw, 112px)/1 var(--serif); letter-spacing: -.03em;
  word-break: break-word;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat;
  padding-bottom: .08em; transition: background-size .6s var(--ease);
}
.contact-mail span { color: var(--accent); }
.contact-mail:hover { background-size: 100% 1px; }
.contact-links {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
}

.footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  padding: 24px var(--pad); border-top: 1px solid var(--line);
  font-size: 12px; color: var(--muted);
}
.footer a { transition: color .3s; }
.footer a:hover { color: var(--accent); }

/* ---------- Legal page ---------- */
.link-back { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; transition: color .3s; }
.link-back:hover { color: var(--accent); }
.legal { max-width: 760px; margin: 0 auto; padding: 150px var(--pad) 100px; }
.legal h1 { margin: 0 0 56px; font: 400 clamp(48px, 8vw, 96px)/1 var(--serif); letter-spacing: -.02em; }
.legal h2 { margin: 64px 0 16px; font: 400 clamp(28px, 3.4vw, 40px)/1.1 var(--serif); }
.legal h3, .legal h2.lbl { margin: 32px 0 8px; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.legal p, .legal li { color: rgba(242,237,228,.82); }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--fg); border-bottom: 1px solid var(--accent); }
.legal address { font-style: normal; font: 400 clamp(24px, 2.6vw, 32px)/1.3 var(--serif); color: var(--fg); }
.legal .muted { color: var(--muted); font-size: 14px; }
.legal .note { border-left: 2px solid var(--accent); padding: 4px 0 4px 16px; color: var(--muted); font-size: 14px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5,5,6,.94);
  display: grid; place-items: center; padding: var(--pad);
  animation: fade .4s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox-frame { width: min(1200px, 100%); aspect-ratio: 16/9; animation: zoomIn .6s var(--ease); }
.lightbox-frame iframe { width: 100%; height: 100%; border: 0; }
.lightbox-close {
  position: absolute; top: 14px; right: calc(var(--pad) - 10px);
  width: 48px; height: 48px; background: none; border: 0; color: var(--fg);
  font: 300 36px/1 var(--sans); cursor: pointer;
}
.lightbox-close:hover { color: var(--accent); }
@keyframes fade { from { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.about-photo.reveal { transform: none; clip-path: inset(14% 0 0 0); transition: clip-path 1.5s var(--ease), opacity 1s; }
.about-photo.reveal.in { clip-path: inset(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid, .album, .ens, .quotes-row { grid-template-columns: 1fr; }
  .about-photo { position: relative; top: 0; }
  .ens--flip .ens-photo { order: 0; }
  .album-art { max-width: 340px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .video-card, .video-card.big { grid-column: auto; }
  .program-body { grid-template-columns: 1fr; padding-left: 0; }
}
@media (max-width: 640px) {
  .nav-logo { font-size: 21px; }
  .concert, .concert-list--past .concert { grid-template-columns: 5.6rem 1fr; gap: 6px 16px; align-items: start; }
  .c-date { font-size: 26px; white-space: normal; }
  .c-meta { grid-column: 2; text-align: left; white-space: normal; }
  .c-meta .c-time { display: inline; margin-right: 10px; }
  .video-grid { grid-template-columns: 1fr; }
  .video-play { width: 46px; height: 46px; left: 14px; bottom: 14px; }
  .now-playing { max-width: 68vw; }
  .program summary { grid-template-columns: 2.2rem 1fr 1.5rem; }
  .p-tag { display: none; }
  .hero-title .line:nth-child(2) { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .curtain { display: none; }
  .reveal { opacity: 1; transform: none; clip-path: none !important; }
  .statement, .wide-photo { height: auto; }
  .statement-sticky, .wide-sticky { position: relative; }
  .statement-sticky { min-height: 100vh; }
  .statement-text .w { opacity: 1; }
  .statement-cite { opacity: 1; transform: none; }
  .wide-frame { clip-path: none; }
}
