/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── TOKENS ── */
:root {
  --bg: #080808;
  --bg2: #0e0e0e;
  --bg3: #161616;
  --warm: #c49a5c;
  --warm-light: #dfc08a;
  --cream: #f0e8d8;
  --text: #b8b0a4;
  --muted: #686058;
  --white: #f5f3f0;
  --border: rgba(196,154,92,0.12);
  --font-head: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Space Grotesk', 'Helvetica Neue', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── NAV ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 3rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.6, 0.05, 0.2, 1),
              background 0.4s, border-color 0.4s, padding 0.4s;
}
#nav.scrolled {
  background: rgba(8,8,8,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.9rem 3rem;
  border-bottom-color: rgba(196,154,92,0.15);
}
#nav.nav-hidden { transform: translateY(-110%); }
.nav-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--warm); }

/* ── LANG SWITCH ── */
.lang-switch { display: flex; gap: 0.4rem; align-items: center; flex-shrink: 0; }
.lang-btn {
  background: none; border: none;
  font-family: var(--font-body); font-size: 0.95rem;
  font-weight: 500; letter-spacing: 0.12em;
  color: var(--cream); cursor: pointer;
  padding: 0.3rem 0.5rem;
  transition: color 0.3s, opacity 0.3s;
  opacity: 0.4;
}
.lang-btn.active { color: var(--warm); opacity: 1; }
.lang-divider { color: var(--cream); font-size: 0.85rem; opacity: 0.3; }

/* ── HERO ── */
#hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 3rem 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg3);
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(0.8) brightness(0.5);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(8,8,8,0.95) 0%,
    rgba(8,8,8,0.4) 50%,
    rgba(8,8,8,0.15) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero-tag {
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 1.2rem;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 300;
  line-height: 0.92;
  color: var(--cream);
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}
/* The "b" shaped like a contrabass */
.bass-b {
  display: inline-block;
  position: relative;
  font-style: italic;
  color: var(--warm);
  text-shadow: 0 0 30px rgba(196,154,92,0.25);
  transform: scaleY(1.15) translateY(-2%);
  transition: color 0.4s, text-shadow 0.4s;
}
.bass-b::after {
  content: '';
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 32%;
  background: var(--warm);
  opacity: 0.7;
  border-radius: 1px;
}
.hero-sub {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 480px;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem; right: 3rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--warm), transparent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:0.3} 50%{opacity:1} }
@keyframes slideIn {
  from { opacity: 0; transform: translateX(100vw); }
  to   { opacity: 1; transform: translateX(0); }
}
.hero-title {
  opacity: 0;
  animation: slideIn 1.2s var(--ease) 0.4s forwards;
}

/* ── PAGE HERO (subpages) ── */
.page-hero {
  padding: 12rem 3rem 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: var(--bg3);
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.4) 60%, rgba(8,8,8,0.2) 100%);
}
.page-hero .hero-tag,
.page-hero .hero-title,
.page-hero .hero-sub {
  position: relative; z-index: 2;
}

/* ── SHARED ── */
.wrap { max-width: 1100px; margin: 0 auto; }
section { padding: 7rem 3rem; }
.tag {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 1.4rem;
}
h2 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.rule { width: 48px; height: 1px; background: var(--warm); opacity: 0.4; margin-bottom: 2.5rem; }
.body-text {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text);
  max-width: 640px;
}

/* ── ALBUM SECTION ── */
.album-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.album-cover {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg3);
  overflow: hidden;
  position: relative;
}
.album-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.album-cover .ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; border: 1px dashed var(--border);
}
.album-info .tag { margin-bottom: 0.8rem; }
.album-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.album-meta {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 2rem;
}
.album-tracklist {
  list-style: none;
  margin-bottom: 2.5rem;
}
.album-tracklist li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text);
}
.album-tracklist li .num {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: rgba(196,154,92,0.25);
  min-width: 1.5rem;
}
.listen-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.listen-links a {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.listen-links a:hover { color: var(--cream); border-color: var(--warm); }

/* ── PERSONNEL ── */
.personnel {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.personnel p {
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ── PROJECT CARDS ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.project-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 2.2rem;
  transition: border-color 0.4s, transform 0.4s;
}
.project-card:hover {
  border-color: rgba(196,154,92,0.3);
  transform: translateY(-3px);
}
.project-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--cream);
  font-weight: 400;
  margin-bottom: 0.4rem;
}
.project-role {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 1rem;
}
.project-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text);
}
.project-card a {
  color: var(--warm);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-block;
  margin-top: 1.2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.project-card a:hover { color: var(--cream); border-color: var(--warm); }

/* ── COLLAB LIST ── */
.collab-names {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-top: 2rem;
}
.collab-names span {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 300;
  color: var(--cream);
}
.collab-sep { color: var(--border) !important; font-size: 1.2rem !important; }

/* ── CONTACT STRIP ── */
.contact-strip {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 5rem 3rem;
  text-align: center;
}
.contact-strip h2 { margin-bottom: 1rem; }
.contact-strip .body-text { margin: 0 auto 2.5rem; text-align: center; }
.contact-links {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.contact-links a {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 3px;
  transition: color 0.3s, border-color 0.3s;
}
.contact-links a:hover { color: var(--cream); border-color: var(--warm); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 1.8rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}
.impressum-link {
  font-size: 0.55rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.18); text-decoration: none;
  transition: color 0.3s;
}
.impressum-link:hover { color: var(--warm); }

/* ── FADE IN ── */
.fi {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.fi.vis { opacity: 1; transform: none; }
.fi-d1 { transition-delay: 0.1s; }
.fi-d2 { transition-delay: 0.2s; }
.fi-d3 { transition-delay: 0.3s; }

/* ── VIDEO GRID ── */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.video-wrap { aspect-ratio: 16/9; background: #111; overflow: hidden; }
.video-wrap iframe { width: 100%; height: 100%; border: none; display: block; }
.video-label { grid-column: 1 / -1; font-family: "Cormorant Garamond", serif; font-weight: 300; font-size: clamp(1.4rem, 2.5vw, 2rem); letter-spacing: 0.14em; color: var(--warm); padding: 3rem 0 0.8rem; border-bottom: 1px solid rgba(201,168,76,0.4); margin-bottom: 0.2rem; }
.video-label:first-child { padding-top: 0; }

/* ── GALLERY CAROUSEL ── */
.gallery-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 1100px;
}
.carousel-track-wrap {
  overflow: hidden;
  flex: 1;
  border-radius: 3px;
}
.carousel-track {
  position: relative;
  height: 0;
  padding-bottom: 42%;
}
.carousel-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: 58%;
  display: block;
  border-radius: 3px;
  overflow: hidden;
  opacity: 0.3;
  transform: translateX(-50%) scale(0.88);
  filter: brightness(0.5);
  transition: all 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  pointer-events: none;
}
.carousel-slide.pos-center {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  filter: brightness(1);
  z-index: 3;
  pointer-events: auto;
}
.carousel-slide.pos-left {
  transform: translateX(-110%) scale(0.88);
  opacity: 0.4;
  filter: brightness(0.55);
  z-index: 2;
}
.carousel-slide.pos-right {
  transform: translateX(10%) scale(0.88);
  opacity: 0.4;
  filter: brightness(0.55);
  z-index: 2;
}
.carousel-slide.pos-far-left {
  transform: translateX(-160%) scale(0.78);
  opacity: 0;
  z-index: 0;
}
.carousel-slide.pos-far-right {
  transform: translateX(60%) scale(0.78);
  opacity: 0;
  z-index: 0;
}
.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.carousel-credit {
  position: absolute;
  bottom: 0.5rem;
  right: 0.6rem;
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
}
.carousel-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(14,14,14,0.7);
  color: var(--warm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
  z-index: 2;
}
.carousel-arrow:hover {
  border-color: var(--warm);
  color: var(--cream);
  background: rgba(196,154,92,0.1);
}

.quartet-grid { grid-template-columns: repeat(4, 1fr); }

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4,4,4,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  cursor: zoom-out;
}
.lightbox.open {
  display: flex;
  animation: lbIn 0.3s ease;
}
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-img-wrap {
  position: relative;
  display: inline-block;
}
.lightbox img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 3px;
  cursor: default;
}
.lightbox-credit {
  position: absolute;
  bottom: 0.5rem;
  right: 0.6rem;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
  z-index: 2;
}
.lightbox-close:hover { color: var(--cream); }
.lightbox .lightbox-credit {
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
}
.lightbox-download {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 0.65rem 1.8rem;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.lightbox-download:hover {
  border-color: var(--warm);
  color: var(--cream);
  background: rgba(196,154,92,0.1);
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  #nav { padding: 1.1rem 1.4rem; }
  .nav-links { display: none; }
  section { padding: 5rem 1.5rem; }
  #hero { padding: 0 1.5rem 3.5rem; }
  .page-hero { padding: 9rem 1.5rem 4rem; }
  .album-layout { grid-template-columns: 1fr; gap: 3rem; }
  .projects-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 0.6rem; text-align: center; }
  .contact-strip { padding: 4rem 1.5rem; }
  .video-grid { grid-template-columns: 1fr; gap: 8px; }
  .quartet-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .gallery-carousel { gap: 0.6rem; }
  .carousel-arrow { width: 32px; height: 32px; }
  .carousel-arrow svg { width: 18px; height: 18px; }
  .carousel-slide { width: 70%; }
  .carousel-track { padding-bottom: 55%; }
  .lightbox { padding: 1rem; }
  .lightbox img { max-width: 95vw; max-height: 70vh; }
  .lightbox-close { top: 0.8rem; right: 1rem; }
  .lightbox-download { font-size: 0.65rem; padding: 0.55rem 1.4rem; }
  .collab-names span { font-size: clamp(1rem, 2vw, 1.5rem); }
}
