/*
 * BARBARA WELDENS — ÉNERGIE DE SCÈNE
 * Cette couche transforme Sillage en hommage vivant : lumière, mouvement,
 * contrastes francs et détails inspirés du théâtre et du cirque contemporain.
 */

:root {
  --paper: #f5ecdf;
  --paper-deep: #ead8c6;
  --cream: #fff8ed;
  --ivory: #fffaf3;
  --ink: #26151f;
  --muted: #705d65;
  --forest: #31102d;
  --forest-2: #5c174a;
  --night: #160812;
  --wine: #a4135c;
  --wine-deep: #3b092b;
  --terracotta: #e0445e;
  --terracotta-dark: #a3134d;
  --gold: #f0aa36;
  --gold-light: #ffd67a;
  --gold-pale: #ffe9b3;
  --gold-dark: #b36b12;
  --electric: #39b8c8;
  --coral: #ff6c55;
  --line: rgba(92, 23, 74, .18);
  --white-line: rgba(255, 214, 122, .36);
  --shadow: 0 30px 90px rgba(65, 11, 47, .2);
  --shadow-soft: 0 14px 42px rgba(65, 11, 47, .13);
  --radius: 18px;
  --radius-small: 10px;
}

html { background: var(--night); }

body {
  background:
    radial-gradient(circle at 7% 15%, rgba(240,170,54,.12), transparent 23rem),
    radial-gradient(circle at 94% 46%, rgba(164,19,92,.1), transparent 32rem),
    linear-gradient(115deg, rgba(255,108,85,.025), transparent 35%),
    var(--cream);
  color: var(--ink);
}

body::before {
  opacity: .26;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 17% 31%, rgba(164,19,92,.16) 0 .55px, transparent .75px),
    radial-gradient(circle at 73% 68%, rgba(240,170,54,.16) 0 .5px, transparent .7px);
}

::selection { background: rgba(255,108,85,.3); color: var(--wine-deep); }

.ceremonial-strip {
  background:
    linear-gradient(95deg, #2c0824, #82124f 42%, #d9375a 70%, #3b092b),
    var(--wine-deep);
  border-color: rgba(255,214,122,.75);
}

.ceremonial-copy { color: #fff1ce; }
.ceremonial-glyph { color: var(--gold-light); animation: starPulse 2.6s ease-in-out infinite; }

@keyframes starPulse {
  0%, 100% { transform: scale(.86) rotate(0); opacity: .7; }
  50% { transform: scale(1.35) rotate(45deg); opacity: 1; }
}

.site-header {
  background:
    linear-gradient(90deg, rgba(164,19,92,.22), transparent 32%, rgba(57,184,200,.08)),
    rgba(22,8,18,.965);
}

.site-header::after {
  height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--gold-light), #ee2b80, var(--electric), var(--gold));
  background-size: 250% 100%;
}

.brand-mark {
  border-color: var(--coral);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--night), inset 0 0 0 4px rgba(255,108,85,.55), 0 0 24px rgba(238,43,128,.24);
  transform: rotate(-7deg);
}

.brand-mark::before { color: var(--gold-light); }
.brand-mark::after { background: var(--electric); }
.nav-link::after { background: var(--coral); box-shadow: 0 0 12px rgba(255,108,85,.85); }
.nav-link:hover, .nav-link.active { color: #fff3d8; }

.hero-home {
  min-height: min(820px, calc(100vh - 110px));
  background:
    linear-gradient(90deg, rgba(19,5,16,.96) 0%, rgba(33,7,27,.78) 42%, rgba(33,7,27,.22) 72%, rgba(19,5,16,.36)),
    url("../images/barbara-stage-energy.png") center/cover no-repeat;
  overflow: hidden;
  isolation: isolate;
}

.hero-home::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .34;
  background:
    repeating-radial-gradient(ellipse at 72% 50%, transparent 0 35px, rgba(255,255,255,.045) 36px 37px, transparent 38px 70px);
}

.hero-home::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: -8vw;
  bottom: -160px;
  width: 48vw;
  height: 260px;
  transform: rotate(-7deg);
  background: linear-gradient(90deg, transparent, rgba(238,43,128,.55), rgba(255,108,85,.2), transparent);
  filter: blur(32px);
  pointer-events: none;
}

.hero-content { z-index: 3; }
.hero-content .eyebrow { color: var(--gold-light); }

.hero-cipher {
  border-color: rgba(255,214,122,.46);
  background: rgba(22,8,18,.38);
  box-shadow: 0 0 0 8px rgba(255,255,255,.02), 0 0 45px rgba(238,43,128,.16);
}

.hero-cipher i { color: var(--coral); }

.hero-name {
  color: #fff8ea;
  text-shadow: 0 6px 40px rgba(0,0,0,.6);
}

.hero-name em {
  color: var(--gold-light);
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 3px;
  text-underline-offset: 10px;
}

.hero-years { color: #ffd884; }
.hero-intro { color: rgba(255,248,234,.88); }

.hero-portrait {
  z-index: 3;
  border: 1px solid rgba(255,214,122,.48);
  border-radius: 24px 4px 24px 4px;
  box-shadow: 22px 24px 0 rgba(164,19,92,.24), 0 28px 90px rgba(0,0,0,.42);
  overflow: hidden;
  transform: rotate(1.2deg);
  background: #10070f;
}

.hero-video iframe,
.player-video iframe {
  display: block;
  width: 100%;
  border: 0;
  aspect-ratio: 16 / 9;
}

.hero-video iframe { min-height: 270px; }
.portrait-caption { color: rgba(255,248,234,.82); background: rgba(22,8,18,.94); }

.button {
  border-radius: 999px;
  background: linear-gradient(125deg, var(--coral), #ee2b80);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 28px rgba(164,19,92,.26);
}

.button:hover {
  background: linear-gradient(125deg, #ff8068, #ff3c92);
  box-shadow: 0 14px 34px rgba(164,19,92,.35);
}

.button.secondary { border-color: rgba(255,214,122,.55); background: rgba(22,8,18,.5); }
.button.ghost { border-color: rgba(164,19,92,.28); background: transparent; color: var(--wine); box-shadow: none; }
.button.ghost:hover { background: var(--wine); color: #fff; }

.quote-band {
  background: linear-gradient(105deg, #4a0b38, #a4135c 52%, #e14658);
  border-color: var(--gold-light);
}

.quote-band blockquote { color: #fff8e8; }
.quote-band cite { color: var(--gold-light); }

.eyebrow { color: var(--wine); }
.section-head h2, h1, h2, h3 { color: var(--ink); }

.door-card {
  border-radius: 24px 6px 24px 6px;
  border-color: rgba(164,19,92,.18);
  box-shadow: var(--shadow-soft);
}

.door-card:nth-child(2) { transform: translateY(24px); }
.door-card:hover { transform: translateY(-8px) rotate(-.5deg); box-shadow: var(--shadow); }
.door-card:nth-child(2):hover { transform: translateY(16px) rotate(.6deg); }
.door-card::after { background: linear-gradient(90deg, var(--gold), var(--coral), #ee2b80); }
.door-copy span { color: var(--wine); }

.section.dark,
.site-footer,
.community-teaser {
  background:
    radial-gradient(circle at 85% 15%, rgba(238,43,128,.24), transparent 28rem),
    radial-gradient(circle at 15% 88%, rgba(57,184,200,.12), transparent 25rem),
    var(--night);
}

.stage-feature .memory-player { align-items: center; }
.player-video { border-radius: 20px 4px 20px 4px; overflow: hidden; box-shadow: 18px 18px 0 rgba(240,170,54,.16); }

/* Lecteur vidéo interne */
.video-dialog {
  width: min(1040px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 1px solid rgba(255,214,122,.68);
  border-radius: 26px 6px 26px 6px;
  overflow: hidden;
  color: #fff8ea;
  background:
    radial-gradient(circle at 90% 100%, rgba(238,43,128,.24), transparent 26rem),
    linear-gradient(145deg, #160812, #380a2c);
  box-shadow: 0 40px 130px rgba(0,0,0,.72), 18px 18px 0 rgba(164,19,92,.18);
}

.video-dialog::backdrop {
  background: rgba(13,3,11,.84);
  backdrop-filter: blur(12px) saturate(.75);
}

.video-dialog .dialog-close {
  z-index: 3;
  top: 16px;
  right: 16px;
  border-color: rgba(255,214,122,.58);
  background: rgba(22,8,18,.86);
  color: #fff8ea;
  box-shadow: 0 8px 24px rgba(0,0,0,.34);
}

.video-dialog-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #090307;
}

.video-dialog-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--gold-light), #ee2b80, var(--electric));
}

.video-dialog-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-dialog-copy { padding: 22px clamp(24px, 5vw, 54px) 28px; }
.video-dialog-copy h2 { margin: 2px 0 4px; color: #fff8ea; font-size: clamp(27px, 4vw, 46px); }
.video-dialog-copy p:last-child { margin: 0; color: rgba(255,248,234,.7); }

/* Contraste des grands messages sur fond sombre */
.section.dark h2,
.section.dark h3,
.community-teaser h2,
.site-footer h2 {
  color: #fff8ea;
}

.section.dark .lead,
.section.dark > .narrow > .lead {
  color: rgba(255,248,234,.78) !important;
}

.stat strong { color: var(--wine); }
.stat::before { background: linear-gradient(180deg, var(--coral), var(--gold)); }

.page-hero {
  background:
    linear-gradient(105deg, rgba(22,8,18,.94), rgba(87,12,64,.8) 54%, rgba(164,19,92,.52)),
    url("../images/barbara-stage-energy.png") center 48%/cover no-repeat;
  border-bottom-color: var(--gold);
}

.page-hero h1 { color: #fff7e8; }
.page-hero p { color: rgba(255,248,234,.8); }
.page-hero .eyebrow { color: var(--gold-light); }

.bio-photo,
.chapter-image,
.memory-card,
.work-card,
.testimonial,
.timeline-card,
.community-post,
.community-composer {
  border-radius: 20px 5px 20px 5px;
}

.bio-photo { border-color: rgba(164,19,92,.22); box-shadow: 18px 18px 0 rgba(240,170,54,.17), var(--shadow); }
.bio-photo img { object-position: center; }

.chapter { border-color: rgba(164,19,92,.18); }
.chapter.open { border-left: 5px solid var(--coral); }
.chapter-plus { color: var(--wine); }

.timeline::before { background: linear-gradient(var(--gold), var(--coral), #ee2b80, var(--electric)); }
.timeline-dot { background: var(--coral); box-shadow: 0 0 0 7px rgba(255,108,85,.14), 0 0 24px rgba(238,43,128,.3); }
.timeline-year, .work-year { color: var(--wine); }

.filter-button,
.tab-button {
  border-radius: 999px;
  border-color: rgba(164,19,92,.22);
}

.filter-button.active,
.tab-button.active {
  background: linear-gradient(125deg, var(--wine), #dc315d);
  border-color: transparent;
  color: #fff;
}

.memory-card { box-shadow: var(--shadow-soft); }
.memory-card:nth-child(3n + 2) { transform: translateY(14px); }
.memory-card:hover { transform: translateY(-7px) rotate(.4deg); }
.memory-card:nth-child(3n + 2):hover { transform: translateY(7px) rotate(-.4deg); }
.memory-caption { background: linear-gradient(transparent, rgba(22,8,18,.94)); }
.memory-caption span { color: var(--gold-light); }
.memory-save { background: rgba(22,8,18,.82); color: #fff; border-color: rgba(255,214,122,.5); }

.work-card { border-color: rgba(164,19,92,.16); box-shadow: var(--shadow-soft); }
.work-card::before { background: linear-gradient(90deg, var(--gold), var(--coral), #ee2b80); }

.testimonial { border-color: rgba(164,19,92,.18); box-shadow: var(--shadow-soft); }
.testimonial:nth-child(even) { background: linear-gradient(150deg, #fffaf3, #fff1e9); }
.avatar, .community-avatar { background: linear-gradient(135deg, var(--wine), var(--coral)); color: #fff; }

.light-panel {
  background:
    radial-gradient(circle at 50% 20%, rgba(255,214,122,.28), transparent 16rem),
    linear-gradient(145deg, #31092a, #831249 70%, #d94058);
}

.flame {
  background: linear-gradient(145deg, var(--gold-light), var(--coral), #ee2b80);
  box-shadow: 0 0 46px rgba(255,108,85,.65);
  animation: danceGlow 2.2s ease-in-out infinite;
}

@keyframes danceGlow {
  0%,100% { transform: rotate(43deg) scale(1); }
  45% { transform: rotate(52deg) scale(1.1); }
}

.community-room-card { background: linear-gradient(155deg, #35082c, #8e124d 70%, #d53a58); }
.room-seal { border-color: var(--gold-light); color: var(--gold-light); }
.community-demo-note { border-left-color: var(--coral); background: rgba(255,108,85,.08); }
.community-reaction.active { color: var(--wine); }

.hero-video { position: relative; }
.hero-sound-button {
  position: absolute;
  right: 16px;
  bottom: 58px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(255,214,122,.78);
  border-radius: 999px;
  background: rgba(22,8,18,.9);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  font: 700 11px/1 var(--font-body, Arial, sans-serif);
  letter-spacing: .04em;
  cursor: pointer;
  backdrop-filter: blur(7px);
  transition: transform .2s ease, background .2s ease;
}
.hero-sound-button:hover { transform: translateY(-2px); background: var(--wine); }
.hero-sound-button:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.hero-sound-button svg { width: 19px; height: 19px; color: var(--gold-light); flex: 0 0 auto; }

.site-footer { border-top-color: var(--gold); }
.footer-ornament { color: var(--coral); }

@media (prefers-reduced-motion: reduce) {
  .ceremonial-glyph, .flame { animation: none; }
}

@media (max-width: 980px) {
  .hero-home { min-height: auto; }
  .hero-portrait { transform: none; box-shadow: 10px 12px 0 rgba(164,19,92,.2); }
  .door-card:nth-child(2) { transform: none; }
  .memory-card:nth-child(3n + 2) { transform: none; }
}

@media (max-width: 680px) {
  .hero-home { background-position: 62% center; }
  .hero-home::after { width: 90vw; }
  .hero-name em { text-underline-offset: 5px; }
  .hero-video iframe { min-height: 190px; }
  .hero-sound-button { right: 10px; bottom: 54px; padding: 9px 11px; }
  .hero-sound-button span { font-size: 10px; }
  .door-card, .bio-photo, .timeline-card, .testimonial, .work-card, .community-post { border-radius: 16px 4px 16px 4px; }
  .page-hero { background-position: 66% center; }
  .video-dialog { width: calc(100% - 18px); max-height: calc(100vh - 18px); border-radius: 18px 4px 18px 4px; }
  .video-dialog-copy { padding: 18px 20px 22px; }
}

/* ——— Carnet des chansons ——— */
.desktop-nav { gap: 2px; }
.desktop-nav .nav-link { padding-inline: 9px; }

.songbook-home-teaser {
  background: #f1dfcb;
  border-block: 1px solid rgba(164,19,92,.18);
}
.songbook-home-inner,
.songbook-work-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}
.songbook-home-inner h2,
.songbook-work-inner h2 { margin: 3px 0 8px; }
.songbook-home-inner p:last-child,
.songbook-work-inner p:last-child { margin: 0; max-width: 720px; }
.songbook-home-mark {
  width: 118px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  grid-template-columns: 1fr auto 1fr;
  padding: 20px;
  border: 1px solid var(--gold-dark);
  outline: 1px solid rgba(164,19,92,.28);
  outline-offset: 7px;
  border-radius: 50%;
  color: var(--wine-deep);
  font-family: var(--font-display, Georgia, serif);
  font-size: 25px;
}
.songbook-home-mark i { color: var(--gold-dark); font-size: 13px; font-style: normal; }
.songbook-work-callout { background: var(--paper); }
.songbook-work-inner {
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(179,107,18,.4);
  border-radius: 2px 24px 2px 24px;
  box-shadow: inset 0 0 0 7px var(--paper), inset 0 0 0 8px rgba(164,19,92,.16), var(--shadow-soft);
}

.songbook-opening { overflow: hidden; background: #fff9ef; }
.songbook-intro {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: center;
}
.songbook-cover {
  position: relative;
  padding: 14px;
  min-height: 560px;
  display: grid;
  background: #62103f;
  border-radius: 5px 24px 24px 5px;
  box-shadow: -11px 0 0 #321021, -17px 0 22px rgba(38,21,31,.18), 28px 34px 70px rgba(65,11,47,.28);
  transform: rotate(-1.6deg);
}
.songbook-cover::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 24px;
  width: 2px;
  border-inline: 1px solid rgba(255,214,122,.45);
}
.songbook-cover-border {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 40px;
  border: 1px solid var(--gold-light);
  box-shadow: inset 0 0 0 5px #62103f, inset 0 0 0 6px rgba(255,214,122,.42);
  color: #fff9ee;
}
.songbook-cover-kicker {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.songbook-cover-cipher { margin: 44px 0 25px; font: 24px/1 Georgia, serif; color: var(--gold-light); letter-spacing: .16em; }
.songbook-cover-cipher i { font-style: normal; font-size: 11px; vertical-align: middle; }
.songbook-cover h2 { margin: 0; font-size: clamp(48px, 6vw, 76px); line-height: .88; color: #fff; }
.songbook-cover h2 em { display: block; color: var(--gold-light); font-weight: 400; }
.songbook-cover-flourish { display: flex; align-items: center; gap: 12px; width: 75%; margin: 35px 0 18px; color: var(--gold-light); }
.songbook-cover-flourish span { height: 1px; flex: 1; background: currentColor; }
.songbook-cover p { margin: 0; color: rgba(255,255,255,.72); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.songbook-opening-copy h2 { max-width: 780px; }
.songbook-opening-copy .lead { max-width: 740px; }
.songbook-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 36px 0; background: rgba(164,19,92,.16); border: 1px solid rgba(164,19,92,.16); }
.songbook-stats span { padding: 22px 18px; background: #fff9ef; color: var(--muted); font-size: 13px; line-height: 1.35; }
.songbook-stats strong { display: block; color: var(--wine); font: 48px/1 var(--font-display, Georgia, serif); }
.songbook-editorial-note { padding: 18px 20px; border-left: 3px solid var(--gold-dark); background: rgba(240,170,54,.09); font-size: 13px; color: var(--muted); }

.songbook-feature-grid { display: grid; grid-template-columns: minmax(300px, 520px) minmax(0, 1fr); gap: clamp(45px, 9vw, 125px); align-items: center; }
.songbook-scan-button { position: relative; padding: 20px 20px 60px; background: #fffaf2; border: 0; box-shadow: 0 25px 65px rgba(65,11,47,.22); cursor: zoom-in; transform: rotate(1.5deg); }
.songbook-scan-button img { display: block; width: 100%; max-height: 620px; object-fit: contain; }
.songbook-scan-button > span:last-child { position: absolute; bottom: 22px; left: 0; right: 0; color: var(--wine); font: 13px/1.2 var(--font-display, Georgia, serif); letter-spacing: .08em; }
.scan-corners::before,
.scan-corners::after { content: ""; position: absolute; width: 34px; height: 34px; border-color: var(--gold-dark); }
.scan-corners::before { top: 10px; left: 10px; border-top: 1px solid; border-left: 1px solid; }
.scan-corners::after { right: 10px; bottom: 10px; border-right: 1px solid; border-bottom: 1px solid; }

.songbook-toolbar { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-bottom: 14px; }
.songbook-toolbar .filter-bar { margin: 0; }
.songbook-search { width: min(100%, 390px); display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid rgba(164,19,92,.24); background: #fff; border-radius: 99px; }
.songbook-search svg { width: 19px; color: var(--wine); flex: 0 0 auto; }
.songbook-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; }
.songbook-count { margin: 5px 0 22px; color: var(--muted); font-size: 13px; }
.songbook-entry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px; }
.songbook-entry { scroll-margin-top: 130px; border: 1px solid rgba(164,19,92,.17); background: #fffdf8; box-shadow: 0 8px 24px rgba(65,11,47,.07); }
.songbook-entry[hidden] { display: none; }
.songbook-entry[open] { grid-column: 1 / -1; border-color: rgba(179,107,18,.5); box-shadow: var(--shadow-soft); }
.songbook-entry summary { position: relative; display: grid; grid-template-columns: 110px minmax(0, 1fr) auto 28px; gap: 18px; align-items: center; min-height: 88px; padding: 18px 22px; cursor: pointer; list-style: none; }
.songbook-entry summary::-webkit-details-marker { display: none; }
.songbook-entry-type { color: var(--wine); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.songbook-entry-title { font: 23px/1.1 var(--font-display, Georgia, serif); color: var(--ink); }
.songbook-entry-source { max-width: 180px; color: var(--muted); font-size: 11px; text-align: right; }
.songbook-entry-plus { color: var(--gold-dark); font-size: 25px; transition: transform .25s ease; }
.songbook-entry[open] .songbook-entry-plus { transform: rotate(45deg); }
.songbook-entry-body { padding: clamp(26px, 5vw, 62px); border-top: 1px solid rgba(164,19,92,.12); background-color: #fffaf0; background-image: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(164,19,92,.07) 32px); }
.songbook-note { max-width: 760px; margin: 0 auto 28px; padding: 13px 16px; background: #f4e5d3; border-left: 3px solid var(--gold-dark); color: var(--muted); font-size: 12px; }
.songbook-text { max-width: 760px; margin: auto; color: #341d28; font: 18px/1.78 var(--font-body, Georgia, serif); white-space: normal; }
.songbook-permalink { display: block; width: fit-content; margin: 38px auto 0; color: var(--wine); font-size: 12px; }

.songbook-catalogue-section { background: #210917; }
.songbook-catalogue { border: 1px solid rgba(255,214,122,.35); }
.songbook-catalogue > summary { display: flex; align-items: center; justify-content: space-between; padding: clamp(25px, 5vw, 48px); cursor: pointer; list-style: none; }
.songbook-catalogue > summary::-webkit-details-marker { display: none; }
.songbook-catalogue summary small { display: block; margin-bottom: 6px; color: var(--gold-light); font-size: 10px; letter-spacing: .17em; text-transform: uppercase; }
.songbook-catalogue summary strong { font: clamp(30px, 5vw, 58px)/1 var(--font-display, Georgia, serif); color: #fff; }
.songbook-catalogue-plus { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--gold-light); border-radius: 50%; color: var(--gold-light); font-size: 28px; transition: transform .25s ease; }
.songbook-catalogue[open] .songbook-catalogue-plus { transform: rotate(45deg); }
.catalogue-intro { padding: 0 clamp(25px, 5vw, 48px) 26px; color: rgba(255,255,255,.7); max-width: 800px; }
.catalogue-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,214,122,.2); }
.catalogue-title { display: flex; gap: 12px; padding: 14px 18px; border-right: 1px solid rgba(255,214,122,.13); border-bottom: 1px solid rgba(255,214,122,.13); color: rgba(255,255,255,.82); font-size: 13px; }
.catalogue-title i { min-width: 26px; color: var(--gold); font-style: normal; font-size: 9px; letter-spacing: .08em; }

.songbook-scan-dialog { width: min(1180px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid rgba(255,214,122,.45); background: #210917; color: #fff; border-radius: 3px 24px 3px 24px; }
.songbook-scan-dialog::backdrop { background: rgba(15,4,12,.89); backdrop-filter: blur(8px); }
.songbook-scan-dialog-inner { padding: clamp(25px, 5vw, 54px); text-align: center; }
.songbook-scan-dialog-inner h2 { color: #fff; }
.songbook-scan-dialog-inner img { display: block; max-width: 100%; max-height: 72vh; margin: 20px auto; object-fit: contain; background: #fff; box-shadow: 0 20px 55px rgba(0,0,0,.35); }
.songbook-scan-dialog-inner > p:last-child { color: rgba(255,255,255,.62); font-size: 12px; }

@media (max-width: 1100px) {
  .desktop-nav .nav-link { padding-inline: 7px; font-size: 9px; }
  .songbook-entry summary { grid-template-columns: 90px minmax(0, 1fr) 25px; }
  .songbook-entry-source { display: none; }
}

@media (max-width: 820px) {
  .songbook-home-inner,
  .songbook-work-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .songbook-intro,
  .songbook-feature-grid { grid-template-columns: 1fr; }
  .songbook-cover { width: min(100%, 430px); margin-inline: auto; min-height: 520px; }
  .songbook-toolbar { align-items: stretch; flex-direction: column; }
  .songbook-search { width: 100%; }
  .catalogue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .songbook-cover { min-height: 470px; transform: none; }
  .songbook-cover-border { padding: 44px 24px; }
  .songbook-stats { grid-template-columns: 1fr; }
  .songbook-stats span { display: grid; grid-template-columns: 70px 1fr; align-items: center; }
  .songbook-entry-grid { grid-template-columns: 1fr; }
  .songbook-entry[open] { grid-column: auto; }
  .songbook-entry summary { grid-template-columns: minmax(0, 1fr) 24px; gap: 10px; }
  .songbook-entry-type { grid-column: 1; }
  .songbook-entry-title { grid-column: 1; font-size: 21px; }
  .songbook-entry-plus { grid-column: 2; grid-row: 1 / 3; }
  .songbook-text { font-size: 16px; }
  .catalogue-grid { grid-template-columns: 1fr; }
  .songbook-catalogue summary strong { font-size: 30px; }
  .songbook-catalogue-plus { width: 42px; height: 42px; }
}
