/* ==========================================================================
   Beverley Ellis — Website Stylesheet
   ========================================================================== */

:root {
  --accent: oklch(0.55 0.045 248);
  --paper: #ffffff;
  --paper2: #eef1f5;
  --ink: #0f1217;
  --muted: #6b7078;
  --line: #e3e7ec;
  --serif: 'Familjen Grotesk', system-ui, sans-serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --hero-overlay: linear-gradient(180deg, rgba(12,16,22,.14) 0%, rgba(12,16,22,.26) 45%, rgba(12,16,22,.70) 100%);
  --header-h: 84px;
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
section { scroll-margin-top: var(--header-h); }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); }
::selection { background: var(--accent); color: #fff; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; margin: 0; }
p { margin: 0; }
button { font-family: var(--sans); }
ul { margin: 0; padding: 0; list-style: none; }

.be-serif { font-family: var(--serif); }
.be-link-clean { color: inherit; }
.be-link-clean:hover { color: inherit; opacity: .6; }

@keyframes beUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes beBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

.be-card { transition: transform .35s ease, box-shadow .35s ease; }
.be-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px -26px rgba(0,0,0,.28); }
.be-fbtn { transition: all .25s ease; }

/* Layout helpers (replace the Bootstrap grid we no longer load) */
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1400px) {
  .container { max-width: 1320px; }
}
.row { display: flex; flex-wrap: wrap; margin: 0 -16px; }
.row > [class*="col-"] { padding: 0 16px; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
@media (min-width: 992px) {
  .col-lg-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-lg-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }
  .col-lg-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
}
.d-none { display: none; }
@media (min-width: 992px) {
  .d-lg-flex { display: flex; }
  .d-lg-none { display: none; }
}

/* Header */
.be-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all .35s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.be-header.scrolled {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 24px -14px rgba(0,0,0,.35);
}
.be-navbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.be-logo { font-size: 23px; letter-spacing: .02em; font-weight: 500; color: #fff; transition: color .35s ease; }
.be-header.scrolled .be-logo { color: var(--ink); }
.be-logo .dot { color: var(--accent); }
.be-nav-main { align-items: center; gap: 34px; color: #fff; transition: color .35s ease; }
.be-header.scrolled .be-nav-main { color: var(--ink); }
.be-nav-main a { font-size: 14px; text-transform: uppercase; letter-spacing: .14em; font-weight: 500; }
.be-header-actions { display: flex; align-items: center; gap: 14px; }
.be-lang-btn {
  background: none; border: 1px solid rgba(255,255,255,.45); color: #fff;
  border-radius: 40px; padding: 6px 13px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .1em; cursor: pointer; transition: color .35s ease, border-color .35s ease;
}
.be-header.scrolled .be-lang-btn { color: var(--ink); border-color: var(--line); }
.be-lang-btn i { margin-right: 6px; font-size: 11px; }
.be-menu-btn {
  background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; line-height: 1;
  transition: color .35s ease;
}
.be-header.scrolled .be-menu-btn { color: var(--ink); }

/* Mobile menu overlay */
.be-menu-overlay {
  position: fixed; inset: 0; z-index: 120; background: var(--paper);
  display: flex; flex-direction: column; padding: 26px;
}
.be-menu-overlay .be-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 44px; }
.be-menu-overlay .be-menu-top span { font-size: 22px; }
.be-menu-close { background: none; border: none; font-size: 26px; cursor: pointer; color: var(--ink); }
.be-menu-links { display: flex; flex-direction: column; gap: 8px; }
.be-menu-links a { font-size: 34px; padding: 8px 0; border-bottom: 1px solid var(--line); }

/* Hero */
.be-hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: flex-end; overflow: hidden; }
.be-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.be-hero-overlay { position: absolute; inset: 0; background: var(--hero-overlay); }
.be-hero-content { position: relative; padding-bottom: 9vh; color: #fff; animation: beUp .9s ease both; }
.be-hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.be-hero-eyebrow .rule { width: 46px; height: 1px; background: var(--accent); }
.be-hero-eyebrow span { text-transform: uppercase; letter-spacing: .34em; font-size: 13px; font-weight: 600; }
.be-hero h1 { font-size: clamp(52px, 9vw, 124px); line-height: .94; font-weight: 500; letter-spacing: -.01em; }
.be-hero-tag { margin: 24px 0 0; font-size: clamp(16px, 2.1vw, 21px); letter-spacing: .04em; max-width: 640px; color: rgba(255,255,255,.9); }
.be-hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.8); font-size: 20px; animation: beBob 2s ease-in-out infinite; }

/* Section header pattern */
.be-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.be-eyebrow span:first-child { text-transform: uppercase; letter-spacing: .28em; font-size: 12.5px; font-weight: 600; color: var(--accent); }
.be-eyebrow .rule { flex: 1; height: 1px; background: var(--line); }
.be-eyebrow.on-dark .rule { background: rgba(255,255,255,.18); }
.be-section-title { font-size: clamp(34px, 5vw, 58px); line-height: 1.04; margin: 0 0 12px; }
.be-section-intro { font-size: 16px; line-height: 1.7; color: var(--ink); opacity: .82; margin: 0 0 52px; max-width: 56ch; }

/* Bio */
#biografie { padding: clamp(70px, 10vw, 140px) 0; }
.be-bio-grid { --gap: clamp(32px, 6vw, 90px); row-gap: 56px; }
.be-bio-title { font-size: clamp(34px, 5vw, 58px); line-height: 1.04; margin: 0 0 32px; max-width: 15ch; }
.be-bio-text { max-width: 60ch; }
.be-bio-text p { font-size: 17px; line-height: 1.75; color: var(--ink); margin: 0 0 18px; opacity: .9; }
.be-ensembles-label { text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 16px; }
.be-ensembles-list { display: flex; flex-wrap: wrap; gap: 10px; }
.be-ensembles-list a {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line);
  border-radius: 40px; padding: 9px 16px; font-size: 13.5px; font-weight: 500;
  color: var(--ink); background: var(--paper2);
}
.be-ensembles-list a i { font-size: 10px; color: var(--accent); }
.be-portrait-wrap { position: relative; }
.be-portrait-wrap img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%; }
.be-facts { margin-top: 26px; border-top: 1px solid var(--line); }
.be-facts .fact { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.be-facts .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 7px; }
.be-facts span.text { font-size: 14.5px; line-height: 1.5; color: var(--ink); opacity: .88; }
.be-gallery { margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.be-gallery img { width: 100%; aspect-ratio: 1/1; object-fit: cover; filter: grayscale(.15); cursor: zoom-in; }

/* Publications */
#publikationen { padding: clamp(70px, 10vw, 130px) 0; background: var(--paper2); }
.be-pub-head { row-gap: 24px; margin-bottom: 44px; }
.be-series-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.be-series-filter button {
  border-radius: 40px; padding: 9px 20px; font-size: 13px; font-weight: 600;
  letter-spacing: .04em; cursor: pointer; border: 1px solid var(--line);
  background: transparent; color: var(--ink);
}
.be-series-filter button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.be-pub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(20px, 2.4vw, 34px); }
@media (min-width: 1200px) {
  .be-pub-grid { grid-template-columns: repeat(4, 1fr); }
}
.be-pub-card { background: var(--paper); display: flex; flex-direction: column; overflow: hidden; }
.be-pub-cover { position: relative; background: #fff; padding: 26px 26px 0; display: flex; justify-content: center; }
.be-pub-cover img { width: 100%; max-height: 270px; object-fit: contain; box-shadow: 0 8px 24px -18px rgba(0,0,0,.3); }
.be-pub-tags { position: absolute; top: 14px; right: 14px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.be-pub-tag {
  background: var(--accent); color: #fff;
  font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 40px; white-space: nowrap;
}
.be-pub-tag i { margin-right: 5px; }
.be-pub-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.be-pub-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.be-pub-meta .code { font-size: 11.5px; letter-spacing: .1em; font-weight: 600; color: var(--accent); text-transform: uppercase; }
.be-pub-meta .series { font-size: 11px; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.be-pub-body h3 { font-size: 23px; line-height: 1.15; margin: 0 0 6px; }
.be-pub-composer { font-size: 14.5px; color: var(--ink); opacity: .75; margin-bottom: 2px; }
.be-pub-besetzung { font-size: 13px; color: var(--muted); margin-bottom: 14px; font-style: italic; }
.be-pub-desc {
  font-size: 14px; line-height: 1.65; color: var(--ink); opacity: .82; margin: 0; white-space: pre-line;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.be-pub-desc.expanded { display: block; -webkit-line-clamp: unset; overflow: visible; }
.be-pub-more {
  align-self: flex-start; background: none; border: none; padding: 8px 0; color: var(--accent);
  font-size: 13px; font-weight: 600; cursor: pointer; letter-spacing: .02em;
}
.be-pub-shop {
  margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid var(--ink); color: var(--ink); padding: 11px 14px; font-size: clamp(11.5px, 2.4vw, 13px);
  font-weight: 600; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
.be-pub-shop i { font-size: 11px; }

/* Concerts */
#konzerte { padding: clamp(70px, 10vw, 130px) 0; }
.be-year-block { margin-bottom: 52px; }
.be-year-toggle {
  width: 100%; display: flex; align-items: center; gap: 20px; margin-bottom: 26px;
  background: none; border: none; padding: 0; cursor: pointer; text-align: left;
}
.be-year-toggle .year { font-size: clamp(30px, 4vw, 46px); color: var(--accent); line-height: 1; }
.be-year-toggle .rule { flex: 1; height: 1px; background: var(--line); }
.be-year-toggle .count { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.be-year-toggle i { font-size: 15px; color: var(--muted); transition: transform .3s ease; }
.be-year-toggle.open i { transform: rotate(180deg); }
.be-concert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: clamp(18px, 2vw, 28px); }
.be-concert-card { background: var(--paper); border: 1px solid var(--line); padding: 26px 28px; display: flex; flex-direction: column; }
.be-concert-datetime { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.be-concert-datetime .date { font-family: var(--serif); font-size: 20px; color: var(--ink); }
.be-concert-datetime .time { font-size: 12.5px; color: var(--muted); letter-spacing: .06em; }
.be-concert-datetime .time i { margin-right: 5px; font-size: 11px; }
.be-concert-card h3 { font-size: 22px; line-height: 1.2; margin: 0 0 6px; }
.be-concert-sub { font-size: 14.5px; color: var(--muted); margin-bottom: 12px; letter-spacing: .01em; }
.be-concert-venue { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.be-concert-venue i { color: var(--accent); font-size: 12px; position: relative; top: 3px; }
.be-concert-desc { font-size: 14.5px; line-height: 1.65; color: var(--ink); opacity: .82; margin: 0 0 14px; white-space: pre-line; }
.be-concert-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.be-concert-links a {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .04em; color: var(--ink); border-bottom: 1px solid var(--accent); padding: 3px 0;
}
.be-concert-links a i { font-size: 10px; color: var(--accent); }

/* Recordings */
#aufnahmen { padding: clamp(70px, 10vw, 130px) 0; background: var(--ink); color: var(--paper); }
#aufnahmen .be-section-title { color: var(--paper); }
#aufnahmen .be-section-intro { opacity: .7; }
.be-rec-row { row-gap: 16px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.16); }
.be-rec-row h3 { font-size: 26px; margin: 0; color: var(--paper); display: flex; align-items: center; gap: 12px; }
.be-rec-row h3 i { color: var(--accent); font-size: 20px; }
.be-rec-row li { font-size: 14.5px; line-height: 1.55; opacity: .82; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); }

/* Footer */
.be-footer { padding: clamp(60px, 8vw, 110px) 0 40px; background: var(--paper2); }
.be-footer-top { row-gap: 40px; align-items: center; }
.be-contact-eyebrow { text-transform: uppercase; letter-spacing: .28em; font-size: 12.5px; font-weight: 600; color: var(--accent); margin-bottom: 18px; }
.be-footer h2 { font-size: clamp(32px, 5vw, 54px); line-height: 1.05; margin: 0 0 24px; }
.be-mail-btn {
  display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: var(--paper);
  padding: 15px 26px; font-size: 15px; font-weight: 600; letter-spacing: .03em;
}
.be-footer-logo { text-align: right; }
.be-footer-logo img { max-width: 220px; margin-left: auto; opacity: .9; }
.be-footer-bottom {
  margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--line); display: flex;
  flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13px; color: var(--muted);
}
.be-footer-bottom a { color: var(--muted); }

/* Lightbox */
.be-lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(10,13,18,.93);
  display: flex; align-items: center; justify-content: center; padding: 5vw;
  cursor: zoom-out; animation: beUp .3s ease both;
}
.be-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 24px 70px -18px rgba(0,0,0,.6); }
.be-lightbox-close {
  position: fixed; top: 22px; right: 26px; background: none; border: none; color: #fff;
  font-size: 34px; line-height: 1; cursor: pointer; opacity: .85;
}

@media (max-width: 991px) {
  .be-navbar { padding-left: 20px !important; padding-right: 20px !important; }
}
