/* ==========================================================================
   Cor Bărbătesc Moisei — main stylesheet
   1. Tokens (colors, fonts, spacing)   → change the overall look here
   2. Base and typography
   3. Layout (container, sections)
   4. Components (header, buttons, disc, voice lines, player, gallery…)
   5. Pages
   6. Motion and accessibility
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
:root {
  /* Palette: spruce (deep green), linen, Maramureș red, wood */
  --spruce: #12201c;
  --spruce-2: #1a2c26;
  --spruce-3: #253b33;
  --linen: #eeefea;
  --paper: #f8f8f4;
  --ink: #16211d;
  --ink-soft: #4a5651;
  --red: #b3262e;
  --red-deep: #8f1d24;
  --wood: #6b5c4c;
  --mist: #a9b7b0;
  --rule: rgba(22, 33, 29, 0.14);
  --rule-dark: rgba(238, 239, 234, 0.16);

  --serif: "Alegreya", "Iowan Old Style", Georgia, serif;
  --sans: "Alegreya Sans", "Segoe UI", system-ui, sans-serif;

  /* Type scale */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.1875rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --fs-3xl: clamp(2.6rem, 1.6rem + 4.6vw, 5rem);
  --fs-hero: clamp(3.6rem, 1.4rem + 10vw, 9.5rem);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --section: clamp(72px, 9vw, 144px);
  --radius: 4px;
  --header-h: 72px;
  --player-h: 0px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--fs-base);
  line-height: 1.6;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--player-h);
  transition: padding-bottom 0.4s var(--ease-out);
  overflow-x: clip; /* safety net: nothing may cause sideways scrolling on phones */
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--red); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--red); color: var(--paper); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .site-header :focus-visible, .player :focus-visible { outline-color: var(--linen); }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--red); color: var(--paper); padding: 10px 16px;
  font-family: var(--sans); text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Text utilities */
.sans { font-family: var(--sans); }
.muted { color: var(--ink-soft); }
.on-dark { background: var(--spruce); color: var(--linen); }
.on-dark .muted { color: var(--mist); }
.label { font-family: var(--sans); font-size: var(--fs-sm); color: var(--ink-soft); letter-spacing: 0.01em; }
.on-dark .label { color: var(--mist); }
.lead { font-size: var(--fs-lg); line-height: 1.5; max-width: 34em; }

/* 3. Layout --------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--tight { padding-block: calc(var(--section) * 0.6); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(32px, 5vw, 64px);
}
.section-head h2 { font-size: var(--fs-2xl); }
.section-head p { margin-top: 12px; }
.text-link {
  font-family: var(--sans); font-size: var(--fs-sm); font-weight: 500; white-space: nowrap;
  text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px;
}
.text-link:hover { color: var(--red); }
.on-dark .text-link:hover { color: var(--linen); text-decoration-color: var(--linen); }

/* 4. Components ----------------------------------------------------------- */

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: var(--linen);
  transition: transform 0.45s var(--ease-out), background-color 0.3s, box-shadow 0.3s;
  view-transition-name: site-header;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(18, 32, 28, 0.86);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transition: opacity 0.3s;
}
.site-header.is-solid::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }

/* Logo: gold CBM lockup, kept on dark backgrounds only */
.brand { display: block; margin-right: auto; line-height: 0; border-radius: var(--radius); }
.brand img { height: 52px; width: auto; transition: transform 0.4s var(--ease-out), filter 0.3s; }
.brand:hover img { transform: scale(1.04); filter: brightness(1.08); }
.brand--big img { height: clamp(96px, 10vw, 132px); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--sans); font-size: 1rem; font-weight: 500; text-decoration: none;
  padding: 8px 12px; border-radius: var(--radius); position: relative; opacity: 0.86;
}
.nav a:hover { opacity: 1; }
.nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--red);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-family: var(--sans); font-size: 1.0625rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--red { background: var(--red); color: var(--paper); }
.btn--red:hover { background: var(--red-deep); }
.btn--line { border: 1.5px solid currentColor; }
.btn--line:hover { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.on-dark .btn--line:hover, .hero .btn--line:hover { background: var(--linen); color: var(--spruce); border-color: var(--linen); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }
.btn svg { width: 16px; height: 16px; flex: none; }

.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; transition: transform 0.35s var(--ease-out), background 0.2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--spruce); color: var(--linen);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 32px; overflow-y: auto;
  visibility: hidden; opacity: 0; transition: opacity 0.3s, visibility 0s 0.3s;
}
.menu-open .mobile-menu { visibility: visible; opacity: 1; transition: opacity 0.3s; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--serif); font-size: clamp(2rem, 9vw, 2.75rem); text-decoration: none; line-height: 1.25;
  transform: translateY(16px); opacity: 0; transition: transform 0.5s var(--ease-out), opacity 0.5s;
}
.mobile-menu nav a[aria-current="page"] { color: var(--red); }
.menu-open .mobile-menu nav a { transform: none; opacity: 1; }
.mobile-menu__meta { font-family: var(--sans); color: var(--mist); margin-top: auto; }
.mobile-menu__meta a { color: var(--linen); }

/* Voice lines: the site's visual signature (Tenor I, Tenor II, Baritone, Bass) */
.voices { position: relative; width: 100%; color: var(--linen); }
.voices svg { display: block; width: 100%; height: 100%; overflow: visible; }
.voices path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.voices .v1 { stroke: currentColor; stroke-opacity: 0.92; stroke-width: 1.25; }
.voices .v2 { stroke: currentColor; stroke-opacity: 0.62; stroke-width: 1.25; }
.voices .v3 { stroke: currentColor; stroke-opacity: 0.42; stroke-width: 1.5; }
.voices .v4 { stroke: var(--red); stroke-width: 2.25; }
.voices__labels {
  position: absolute; inset: 0; display: grid; pointer-events: none;
  font-family: var(--serif); font-style: italic; font-size: 0.9375rem; color: var(--mist);
}
.voices__labels span { align-self: center; padding-left: var(--gutter); transform: translateY(-14px); }
.voices.is-drawing path { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); animation: draw 2.2s var(--ease-out) forwards; }
.voices.is-drawing .v2 { animation-delay: 0.12s; }
.voices.is-drawing .v3 { animation-delay: 0.24s; }
.voices.is-drawing .v4 { animation-delay: 0.36s; }
.voices.is-drawing .voices__labels span { opacity: 0; animation: fade-in 0.8s 1.2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }

/* Disc (album covers are CD label artwork) */
.disc {
  /* Cover files are already round with a transparent edge and centre hole (assets/img/covers/). */
  /* overflow: hidden keeps the spinning image's corners from widening the page on phones */
  display: block; position: relative; aspect-ratio: 1; border-radius: 50%; isolation: isolate; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.disc img { width: 100%; height: 100%; object-fit: contain; }
.disc--blank { background: radial-gradient(circle, transparent 0 13%, var(--spruce-3) 13.5% 62%, #2f4a40 62.5% 63%, var(--spruce-3) 63.5%); }
/* A soft sheen, like light on a CD; masked so the centre hole stays clear. */
.disc::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 210deg, transparent 0deg, rgba(255,255,255,0.16) 30deg, transparent 70deg, transparent 180deg, rgba(255,255,255,0.1) 215deg, transparent 260deg);
  -webkit-mask: radial-gradient(circle, transparent 0 16%, #000 16.5%);
  mask: radial-gradient(circle, transparent 0 16%, #000 16.5%);
  mix-blend-mode: screen;
}
.disc.is-spinning img { animation: spin 7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Round play button */
.play {
  width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: var(--paper); transition: background-color 0.2s, transform 0.2s var(--ease-out);
}
.play:hover { background: var(--red-deep); }
.play:active { transform: scale(0.92); }
.play svg { width: 16px; height: 16px; }
.play--big { width: 64px; height: 64px; }
.play--big svg { width: 22px; height: 22px; }

/* Track list */
.tracklist { list-style: none; margin: 0; padding: 0; counter-reset: track; }
.track { border-top: 1px solid var(--rule); }
.on-dark .track { border-color: var(--rule-dark); }
.track__row { display: grid; grid-template-columns: 2.25rem 1fr auto; align-items: center; gap: 12px; min-height: 60px; }
.track__no { font-family: var(--sans); font-size: var(--fs-sm); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.on-dark .track__no { color: var(--mist); }
.track__title {
  text-align: left; font-size: 1.1875rem; line-height: 1.3; padding: 10px 0; display: flex; align-items: center; gap: 12px;
}
.track__title:hover { color: var(--red); }
.on-dark .track__title:hover { color: var(--linen); text-decoration: underline; text-decoration-color: var(--red); }
.track__actions { display: flex; align-items: center; gap: 4px; }
.icon-btn {
  min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--sans); font-size: var(--fs-sm); color: inherit; text-decoration: none; opacity: 0.75;
  transition: opacity 0.2s, background-color 0.2s;
}
.icon-btn:hover { opacity: 1; background: var(--rule); }
.on-dark .icon-btn:hover { background: var(--rule-dark); }
.icon-btn[aria-expanded="true"] { opacity: 1; color: var(--red); }
.on-dark .icon-btn[aria-expanded="true"] { color: var(--linen); background: var(--rule-dark); }
.icon-btn svg { width: 18px; height: 18px; }
.track.is-current .track__title { color: var(--red); }
.on-dark .track.is-current .track__title { color: var(--linen); }
.track__no .eq { display: none; color: var(--red); }
.track.is-current .track__no .n { display: none; }
.track.is-current .track__no .eq { display: inline-flex; }

/* Equalizer animation marking the track that is playing */
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 3px; background: currentColor; border-radius: 1px; height: 30%; }
.is-playing .eq i { animation: eq 0.9s var(--ease-in-out) infinite alternate; }
.is-playing .eq i:nth-child(2) { animation-delay: -0.3s; animation-duration: 0.7s; }
.is-playing .eq i:nth-child(3) { animation-delay: -0.6s; animation-duration: 1.1s; }
.is-playing .eq i:nth-child(4) { animation-delay: -0.2s; animation-duration: 0.8s; }
@keyframes eq { from { height: 20%; } to { height: 100%; } }

/* Lyrics, set like a hymnal page:
   numbered verses hang their number in the margin; the chorus (and every
   repeat of it) is printed in full, indented under a red rule. */
.hymn { --hymn-size: 1.3125rem; --hymn-gutter: 2.5rem; font-size: var(--hymn-size); line-height: 1.55; max-width: 34em; }
.hymn__verse, .hymn__chorus { margin: 0 0 1.35em; break-inside: avoid; }
.hymn__verse { display: grid; grid-template-columns: var(--hymn-gutter) minmax(0, 1fr); }
.hymn__n { font-family: var(--serif); font-weight: 600; font-size: 1.15em; line-height: 1.35; color: var(--red); font-variant-numeric: oldstyle-nums; }
.hymn p { margin: 0; }
.hymn__line { display: block; padding-left: 1.2em; text-indent: -1.2em; }
.hymn__chorus { margin-left: var(--hymn-gutter); padding: 0.1em 0 0.1em 1.1em; border-left: 2px solid var(--red); font-style: italic; }
.hymn__label { display: block; font-family: var(--sans); font-style: normal; font-size: 0.68em; font-weight: 500; color: var(--red); letter-spacing: 0.02em; margin-bottom: 0.35em; }
.on-dark .hymn__n, .on-dark .hymn__label { color: #e0646b; }

/* Lyrics opened under a track (album page) */
.lyrics-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-out); }
.lyrics-wrap > div { overflow: hidden; }
.track.lyrics-open .lyrics-wrap { grid-template-rows: 1fr; }
.lyrics { padding: 12px 0 36px 2.25rem; }
.lyrics .hymn { --hymn-size: 1.1875rem; max-width: none; columns: 2 19rem; column-gap: 56px; }
.lyrics__more { margin-top: 4px; }

/* Audio player */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--spruce); color: var(--linen); border-top: 1px solid var(--rule-dark);
  transform: translateY(105%); transition: transform 0.5s var(--ease-out);
  view-transition-name: player;
}
.player.is-visible { transform: none; }
.player__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; height: 76px; }
.player__center { display: flex; align-items: center; gap: 20px; }
.player__now { display: flex; align-items: center; gap: 14px; min-width: 0; text-align: left; border-radius: var(--radius); padding: 4px 8px 4px 0; }
.player__now:hover .player__title { text-decoration: underline; text-decoration-color: var(--red); }
.player__expand { display: none; }
.player__disc { width: 48px; flex: none; }
.player__text { min-width: 0; line-height: 1.25; }
.player__title { font-size: 1.0625rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.player__album { font-family: var(--sans); font-size: var(--fs-xs); color: var(--mist); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__controls { display: flex; align-items: center; gap: 6px; }
.player__controls .icon-btn { opacity: 0.9; }
.player__timeline { display: flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: var(--fs-xs); color: var(--mist); font-variant-numeric: tabular-nums; }
.player__right { display: flex; align-items: center; gap: 4px; justify-self: end; }
.player__right [hidden] { display: none; }
.icon-btn:disabled { opacity: 0.3; cursor: default; }
.range {
  -webkit-appearance: none; appearance: none; width: clamp(120px, 26vw, 360px); height: 20px; background: transparent; cursor: pointer;
  --p: 0%;
}
.range::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: linear-gradient(to right, var(--red) var(--p), rgba(238,239,234,0.22) var(--p)); }
.range::-moz-range-track { height: 3px; border-radius: 2px; background: rgba(238,239,234,0.22); }
.range::-moz-range-progress { height: 3px; background: var(--red); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: var(--linen); margin-top: -5px; }
.range::-moz-range-thumb { width: 13px; height: 13px; border: 0; border-radius: 50%; background: var(--linen); }
.player__bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; display: none; background: rgba(238,239,234,0.12); }
.player__bar i { display: block; height: 100%; background: var(--red); width: 0; }

/* "Now playing" panel: all controls plus the current song's lyrics */
.now {
  position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: min(520px, 100vw);
  background: var(--spruce-2); color: var(--linen); display: flex; flex-direction: column;
  box-shadow: -30px 0 80px -20px rgba(0, 0, 0, 0.5);
  transform: translateX(102%); transition: transform 0.55s var(--ease-out); visibility: hidden;
}
.now.is-open { transform: none; visibility: visible; }
.now:not(.is-open) { transition: transform 0.45s var(--ease-in-out), visibility 0s 0.45s; }
.now__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px 10px 28px; }
.now__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 28px 40px; }
.now__head { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: center; }
.now__title { font-size: var(--fs-xl); line-height: 1.15; }
.now__album { font-family: var(--sans); font-size: var(--fs-sm); color: var(--mist); margin-top: 6px; }
.now__album a { text-decoration: none; }
.now__album a:hover { color: var(--linen); text-decoration: underline; }
.now__timeline { margin-top: 28px; }
.now__seek { width: 100%; }
.now__times { display: flex; justify-content: space-between; font-family: var(--sans); font-size: var(--fs-xs); color: var(--mist); font-variant-numeric: tabular-nums; margin-top: 2px; }
.now__controls { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 10px; }
.now__controls .icon-btn { width: 48px; height: 48px; opacity: 0.9; }
.now__controls .icon-btn svg { width: 22px; height: 22px; }
.now__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 22px; padding-bottom: 28px; border-bottom: 1px solid var(--rule-dark); }
.now__lyrics { padding-top: 28px; transition: opacity 0.18s; }
.now__lyrics.is-swapping { opacity: 0; }
.now__lyrics .hymn { --hymn-size: 1.25rem; --hymn-gutter: 2.25rem; }
.now__empty { color: var(--mist); font-style: italic; }
.now__more { margin-top: 8px; font-size: var(--fs-sm); }
.now-open body::after { content: ""; position: fixed; inset: 0; z-index: 65; background: rgba(10, 18, 15, 0.45); animation: fade-in 0.3s; }

/* Lyrics page */
.lyrics-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.song-index { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100svh - var(--header-h) - var(--player-h) - 48px); overflow-y: auto; padding-right: 8px; }
.song-index__album + .song-index__album { margin-top: 36px; }
.song-index h2 { font-size: var(--fs-lg); margin-bottom: 10px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.song-index h2 a { text-decoration: none; }
.song-index h2 span { font-family: var(--sans); font-size: var(--fs-sm); color: var(--ink-soft); font-weight: 400; }
.song-index ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.song-index li { border-bottom: 1px solid var(--rule); }
.song-index li a { display: grid; grid-template-columns: 2rem 1fr; gap: 8px; align-items: baseline; padding: 10px 6px; text-decoration: none; font-size: 1.0625rem; line-height: 1.3; border-radius: 2px; transition: background-color 0.2s; }
.song-index li a:hover { background: rgba(22, 33, 29, 0.05); }
.song-index li a[aria-current="true"] { background: var(--paper); color: var(--red); box-shadow: inset 2px 0 0 var(--red); }
.song-index h2 a:hover { color: var(--red); }
.song-index__n { font-family: var(--sans); font-size: var(--fs-sm); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.song-index__n .eq, .song .song__now { display: none; }
.song-index li.is-current .song-index__n .n { display: none; }
.song-index li.is-current .song-index__n .eq { display: inline-flex; color: var(--red); }
.song { background: var(--paper); padding: clamp(28px, 5vw, 72px); border-radius: 2px; box-shadow: 0 1px 0 var(--rule); }
.song__meta { font-family: var(--sans); font-size: var(--fs-sm); color: var(--ink-soft); }
.song__meta a { text-decoration: none; }
.song__meta a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.song__title { font-size: var(--fs-3xl); margin: 10px 0 24px; }
.song__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: clamp(32px, 5vw, 56px); }
.song.is-current .song__now { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: var(--fs-sm); color: var(--red); }
.song:not(.is-playing) .song__now { display: none; }
.song .hymn { --hymn-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); --hymn-gutter: 2.75rem; }
.song__pager { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--rule); margin-top: clamp(32px, 5vw, 56px); padding-top: 24px; }
.song__pager a { text-decoration: none; }
.song__pager a:last-child { text-align: right; }
.song__pager strong { display: block; font-weight: 500; font-size: var(--fs-lg); line-height: 1.25; margin-top: 2px; }
.song__pager a:hover strong { color: var(--red); }

/* Images fade in once loaded */
.img-fade { opacity: 0; transition: opacity 0.7s var(--ease-out); }
.img-fade.is-loaded { opacity: 1; }
.frame { background: var(--spruce-3); overflow: hidden; }
.section--paper .frame, body .frame--light { background: #dfe2dc; }

/* Video (YouTube loads only on click) */
.yt { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; border-radius: var(--radius); }
.yt img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 0.8s var(--ease-out), opacity 0.3s; opacity: 0.86; }
.yt button { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; padding: clamp(14px, 2.4vw, 28px); text-align: left; color: var(--paper); background: linear-gradient(to top, rgba(18,32,28,0.85), rgba(18,32,28,0) 60%); }
.yt button:hover img, .yt:hover img { transform: scale(1.06); opacity: 1; }
.yt .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.yt__title { display: block; font-family: var(--serif); font-size: var(--fs-lg); line-height: 1.2; }
.yt__meta { display: block; font-family: var(--sans); font-size: var(--fs-sm); opacity: 0.8; margin-top: 4px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: #0b1411; color: var(--linen);
  display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s; }
.lightbox__top { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gutter); font-family: var(--sans); font-size: var(--fs-sm); color: var(--mist); }
/* The photo box fills the stage and object-fit keeps the whole picture visible, whatever its shape. */
.lightbox__stage { --lb-pad: clamp(8px, 6vw, 96px); position: relative; min-height: 0; touch-action: pan-y; }
.lightbox__stage img {
  position: absolute; top: 0; bottom: 0; left: var(--lb-pad); width: calc(100% - var(--lb-pad) * 2); height: 100%; max-width: none;
  object-fit: contain; transition: opacity 0.25s, transform 0.4s var(--ease-out);
}
.lightbox__stage img.is-swapping { opacity: 0; transform: scale(0.985); }
.lightbox__caption { padding: 16px var(--gutter) 24px; text-align: center; font-style: italic; min-height: 3.5em; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(238,239,234,0.08); }
.lightbox__nav:hover { background: rgba(238,239,234,0.18); }
.lightbox__nav--prev { left: clamp(8px, 2vw, 32px); }
.lightbox__nav--next { right: clamp(8px, 2vw, 32px); }
.lightbox__nav svg, .lightbox__close svg { width: 20px; height: 20px; }
.lightbox__close { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--linen); }
.lightbox__close:hover { background: rgba(238,239,234,0.12); }

/* Photo grid (column-based masonry) */
.masonry { columns: 3 280px; column-gap: 12px; }
.masonry figure { margin: 0 0 12px; break-inside: avoid; }
.masonry button { display: block; width: 100%; position: relative; overflow: hidden; border-radius: 2px; }
.masonry img { width: 100%; transition: transform 0.6s var(--ease-out); }
.masonry button:hover img { transform: scale(1.03); }
.masonry figcaption { font-family: var(--sans); font-size: var(--fs-sm); color: var(--ink-soft); padding: 6px 2px 0; }

/* Footer */
.site-footer { background: var(--spruce); color: var(--linen); padding-block: clamp(56px, 7vw, 96px) 32px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.site-footer h2 { font-family: var(--sans); font-size: var(--fs-sm); font-weight: 500; color: var(--mist); margin-bottom: 14px; letter-spacing: 0.01em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; font-family: var(--sans); }
.site-footer li { margin-bottom: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.site-footer__verse { font-style: italic; color: var(--mist); max-width: 26em; margin-top: 20px; font-size: 1.0625rem; }
.site-footer__verse cite { display: block; font-style: normal; font-family: var(--sans); font-size: var(--fs-xs); margin-top: 6px; }
.site-footer__bottom { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--rule-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--sans); font-size: var(--fs-xs); color: var(--mist); }
.site-footer__lines { height: 40px; margin-bottom: 40px; opacity: 0.7; }

/* Inner page header */
.page-head { position: relative; background: var(--spruce); color: var(--linen); padding: calc(var(--header-h) + clamp(48px, 8vw, 112px)) 0 0; overflow: hidden; }
.page-head h1 { font-size: var(--fs-3xl); max-width: 14em; }
.page-head .lead { margin-top: 20px; color: var(--mist); }
.page-head__lines { height: clamp(90px, 12vw, 150px); margin-top: clamp(40px, 6vw, 72px); }

/* 5. Pages ---------------------------------------------------------------- */

/* Home: hero */
.hero { position: relative; min-height: max(640px, 100svh); background: var(--spruce); color: var(--linen); display: grid; grid-template-rows: 1fr auto; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: scale(1.06); animation: hero-in 2.8s var(--ease-out) forwards; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(18,32,28,0.55) 0%, rgba(18,32,28,0) 22%),
    linear-gradient(to top, var(--spruce) 4%, rgba(18,32,28,0.78) 30%, rgba(18,32,28,0.05) 62%),
    linear-gradient(to right, rgba(18,32,28,0.55), rgba(18,32,28,0) 60%);
}
@keyframes hero-in { from { transform: scale(1.12); opacity: 0.4; } to { transform: scale(1.02); opacity: 1; } }
.hero__content { align-self: end; padding-top: calc(var(--header-h) + 40px); }
.hero__title { font-size: var(--fs-hero); font-weight: 500; line-height: 0.86; letter-spacing: -0.025em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease-out) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero__title small { display: block; font-size: 0.32em; letter-spacing: -0.01em; line-height: 1.1; font-weight: 400; margin-bottom: 0.12em; }
@keyframes rise { to { transform: none; } }
.hero__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-top: 28px; }
.hero__lead { font-size: var(--fs-lg); max-width: 25em; color: rgba(238,239,234,0.88); opacity: 0; animation: fade-in 1s 0.5s forwards; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; opacity: 0; animation: fade-in 1s 0.7s forwards; }
.hero__voices { height: clamp(150px, 22vh, 230px); margin-top: clamp(24px, 4vh, 48px); }
.hero__credit { position: absolute; right: var(--gutter); bottom: 14px; font-family: var(--sans); font-size: var(--fs-xs); color: var(--mist); z-index: 2; }

/* Home: intro */
.intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.intro__text { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); line-height: 1.35; }
.intro__text p { margin-bottom: 0.8em; }
.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.facts div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.facts dt { font-family: var(--sans); font-size: var(--fs-sm); color: var(--ink-soft); }
.facts dd { margin: 0; font-size: 1.25rem; line-height: 1.35; }

/* Home: latest album */
.album-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.album-feature__disc { position: sticky; top: calc(var(--header-h) + 32px); }
.album-feature__disc .disc { max-width: 520px; }
.album-feature__head { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.album-feature h2 { font-size: var(--fs-3xl); }
.album-feature__motto { font-style: italic; font-size: var(--fs-lg); color: var(--mist); margin-bottom: 28px; }
.album-feature .tracklist { margin-top: 32px; }
.album-feature__more { margin-top: 32px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }

/* News list */
.news-lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: end; text-decoration: none; margin-bottom: clamp(40px, 6vw, 72px); }
.news-lead--text { grid-template-columns: minmax(0, 1fr); max-width: 46em; }
.news-lead .frame { aspect-ratio: 3 / 2; border-radius: 2px; }
.news-lead img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.news-lead:hover img { transform: scale(1.03); }
.news-lead h3 { font-size: var(--fs-2xl); margin: 10px 0 16px; }
.news-lead:hover h3 { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.news-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.news-row { border-bottom: 1px solid var(--rule); }
.news-row a { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 160px; gap: clamp(16px, 3vw, 40px); align-items: center; padding: 22px 0; text-decoration: none; }
.news-row time { font-family: var(--sans); font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.35; }
.news-row time b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.75rem; color: var(--ink); line-height: 1; }
.news-row h3 { font-size: var(--fs-xl); line-height: 1.15; }
.news-row p { font-family: var(--sans); font-size: var(--fs-sm); color: var(--ink-soft); margin-top: 6px; }
.news-row .frame { aspect-ratio: 4 / 3; border-radius: 2px; }
.news-row img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.news-row a:hover h3 { color: var(--red); }
.news-row a:hover img { transform: scale(1.05); }

/* Places */
.places { list-style: none; margin: 0; padding: 0; font-size: clamp(1.5rem, 1rem + 1.9vw, 2.6rem); line-height: 1.45; letter-spacing: -0.01em; }
.places li { display: inline; }
.places li > span:last-child { white-space: nowrap; }
.places sup { font-family: var(--sans); font-size: 0.38em; color: var(--ink-soft); margin-left: 0.2em; letter-spacing: 0.02em; vertical-align: 1.1em; line-height: 0; }
/* Small red rhombus between places: a nod to Maramureș woven motifs */
.places .sep { display: inline-block; width: 0.2em; height: 0.2em; background: var(--red); transform: translateY(-0.22em) rotate(45deg); margin: 0 0.5em 0 0.4em; }

/* Photo mosaic (home) */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(120px, 14vw, 210px); gap: 10px; }
.mosaic a { position: relative; overflow: hidden; border-radius: 2px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.mosaic a:hover img { transform: scale(1.04); }
.mosaic a:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.mosaic a:nth-child(2) { grid-column: span 3; }
.mosaic a:nth-child(3) { grid-column: span 2; grid-row: span 2; }
.mosaic a:nth-child(4) { grid-column: span 1; }
.mosaic a:nth-child(5) { grid-column: span 3; }
.mosaic a:nth-child(6) { grid-column: span 1; }
.mosaic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 14px 10px; font-family: var(--sans); font-size: var(--fs-sm); color: var(--paper); background: linear-gradient(to top, rgba(18,32,28,0.75), transparent); opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.4s var(--ease-out); }
.mosaic a:hover figcaption, .mosaic a:focus-visible figcaption { opacity: 1; transform: none; }

/* Video (home and video page) */
.video-feature { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; }
.video-feature__side { display: grid; gap: 16px; align-content: start; }
.video-feature__side .yt__title { font-size: 1.0625rem; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(16px, 2vw, 28px); }
.video-group + .video-group { margin-top: clamp(56px, 7vw, 96px); }
.video-group h2 { font-size: var(--fs-xl); margin-bottom: 24px; }

/* Contact band */
.contact-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-band h2 { font-size: var(--fs-2xl); margin-bottom: 20px; }
.contact-band__phone { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); line-height: 1; text-decoration: none; display: inline-block; margin: 6px 0 24px; font-variant-numeric: lining-nums; }
.contact-band__phone:hover { color: var(--red); }
.on-dark .contact-band__phone:hover { color: var(--linen); text-decoration: underline; text-decoration-color: var(--red); }
.verse { margin: 0; font-style: italic; font-size: var(--fs-xl); line-height: 1.35; }
.verse cite { display: block; font-style: normal; font-family: var(--sans); font-size: var(--fs-sm); margin-top: 14px; color: var(--ink-soft); }
.on-dark .verse cite { color: var(--mist); }
.rehearsal { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; margin: 0 0 24px; }
.rehearsal dt { font-family: var(--sans); font-size: var(--fs-sm); color: var(--ink-soft); padding-top: 4px; }
.on-dark .rehearsal dt { color: var(--mist); }
.rehearsal dd { margin: 0; font-size: 1.25rem; }

/* About */
.story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.story__text { font-size: 1.3125rem; line-height: 1.6; max-width: 36em; }
.story__text p:first-child { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.35; }
.group-photo { margin: 0; }
.group-photo .frame { border-radius: 2px; }
.group-photo figcaption { font-family: var(--sans); font-size: var(--fs-sm); color: var(--ink-soft); margin-top: 10px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6.5rem; top: 8px; bottom: 8px; width: 1px; background: var(--rule-dark); }
.timeline li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 40px; padding: 18px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(6.5rem - 4px); top: 30px; width: 9px; height: 9px; border-radius: 50%; background: var(--spruce); border: 1.5px solid var(--mist); }
.timeline li.is-key::before { background: var(--red); border-color: var(--red); }
.timeline time { font-size: 1.75rem; line-height: 1.2; color: var(--linen); font-variant-numeric: lining-nums; }
.timeline h3 { font-size: var(--fs-lg); line-height: 1.25; }
.timeline p { color: var(--mist); font-size: 1.0625rem; margin-top: 4px; }
.timeline a { color: var(--linen); }
.choir-leads { display: flex; flex-wrap: wrap; gap: 16px 64px; margin-bottom: clamp(40px, 5vw, 64px); }
.choir-leads p { margin: 0; }
.choir-leads .label { display: block; margin-bottom: 2px; }
.choir-leads strong { font-weight: 500; font-size: var(--fs-xl); }
.sections { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.sections h3 { font-size: var(--fs-xl); padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.sections h3 span { font-family: var(--sans); font-size: var(--fs-sm); color: var(--ink-soft); font-weight: 400; }
.sections .is-bass h3 { border-color: var(--red); }
.sections ul { list-style: none; margin: 0; padding: 0; font-size: 1.0625rem; line-height: 1.9; }

/* Albums */
.shelf { display: grid; gap: clamp(64px, 9vw, 128px); }
.shelf__item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.shelf__item:nth-child(even) .shelf__disc { order: 2; }
.shelf__disc { display: block; max-width: 440px; width: 100%; justify-self: center; transition: transform 0.6s var(--ease-out); }
.shelf__disc:hover { transform: rotate(-8deg) scale(1.02); }
.shelf__meta { font-family: var(--sans); font-size: var(--fs-sm); color: var(--ink-soft); display: flex; gap: 20px; margin-bottom: 10px; }
.shelf__item h2 { font-size: var(--fs-3xl); margin-bottom: 20px; }
.shelf__item h2 a { text-decoration: none; }
.shelf__item h2 a:hover { color: var(--red); }
.shelf__item p { max-width: 34em; color: var(--ink-soft); }
.shelf__actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* Single album page */
.album-hero { --album: var(--spruce-3); background: color-mix(in oklab, var(--album) 28%, var(--spruce)); color: var(--linen); padding: calc(var(--header-h) + clamp(40px, 6vw, 88px)) 0 clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.album-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.album-hero .disc { max-width: 480px; }
.album-hero h1 { font-size: var(--fs-3xl); margin: 8px 0 16px; }
.album-hero__meta { font-family: var(--sans); color: var(--mist); display: flex; gap: 20px; flex-wrap: wrap; }
.album-hero__motto { font-style: italic; font-size: var(--fs-lg); margin: 0 0 24px; }
.album-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.album-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.album-body--single { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }
.album-body__story { font-size: 1.125rem; color: var(--ink-soft); position: sticky; top: calc(var(--header-h) + 32px); }
.album-body__story h2 { font-size: var(--fs-xl); color: var(--ink); margin-bottom: 16px; }
.album-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--rule); padding-top: 28px; }
.album-nav a { text-decoration: none; display: flex; align-items: center; gap: 16px; }
.album-nav a:last-child { justify-content: flex-end; text-align: right; }
.album-nav .disc { width: 64px; flex: none; }
.album-nav strong { display: block; font-weight: 500; font-size: var(--fs-lg); }
.album-nav a:hover strong { color: var(--red); }

/* Gallery */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.chip {
  font-family: var(--sans); font-size: var(--fs-sm); min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--rule); background: transparent; display: inline-flex; align-items: center; gap: 8px; transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.chip span { opacity: 0.6; font-variant-numeric: tabular-nums; }
.collection + .collection { margin-top: clamp(64px, 8vw, 112px); }
.collection__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.collection__head h2 { font-size: var(--fs-2xl); }
.collection__head p { color: var(--ink-soft); margin-top: 8px; max-width: 40em; }
.collection__count { font-family: var(--sans); font-size: var(--fs-sm); color: var(--ink-soft); }

/* Article */
.article-head { background: var(--spruce); color: var(--linen); padding: calc(var(--header-h) + clamp(40px, 6vw, 88px)) 0 0; }
.article-head__meta { font-family: var(--sans); color: var(--mist); display: flex; gap: 8px 24px; flex-wrap: wrap; }
.article-head h1 { font-size: var(--fs-3xl); max-width: 16em; margin: 14px 0 clamp(32px, 5vw, 56px); }
.article-cover { margin: 0; position: relative; }
.article-cover::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: var(--linen); }
.article-cover .container > div { position: relative; aspect-ratio: 16 / 8; border-radius: 2px; overflow: hidden; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 38em; margin-inline: auto; font-size: 1.25rem; line-height: 1.65; }
.article-body p:first-child { font-size: 1.4375rem; line-height: 1.5; }
.article-extra { margin-top: clamp(48px, 6vw, 80px); }
.article-extra h2 { font-size: var(--fs-xl); margin-bottom: 20px; }
.article-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--rule); margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; }
.article-pager a { text-decoration: none; }
.article-pager a:last-child { text-align: right; }
.article-pager strong { display: block; font-weight: 500; font-size: var(--fs-lg); line-height: 1.25; margin-top: 4px; }
.article-pager a:hover strong { color: var(--red); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
.contact-card h2 { font-size: var(--fs-xl); margin-bottom: 16px; }
.contact-card + .contact-card { margin-top: 48px; }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.contact-list li { border-bottom: 1px solid var(--rule); }
.contact-list a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; text-decoration: none; font-size: var(--fs-lg); }
.contact-list a:hover { color: var(--red); }
.contact-list span { font-family: var(--sans); font-size: var(--fs-sm); color: var(--ink-soft); }

.empty { padding: 48px 0; color: var(--ink-soft); }

/* 404 */
.not-found { min-height: 80svh; display: grid; align-content: center; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; --fs-base: 1.125rem; }
  .intro, .album-feature, .news-lead, .contact-band, .story, .shelf__item, .album-hero__grid, .album-body, .contact-grid, .video-feature { grid-template-columns: minmax(0, 1fr); }
  .album-feature__disc { position: static; }
  .album-feature__disc .disc, .album-hero .disc { max-width: 340px; margin-inline: auto; }
  .album-body__story { position: static; order: -1; }
  .shelf__item:nth-child(even) .shelf__disc { order: 0; }
  .shelf__disc { max-width: 320px; }
  .news-row a { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .news-row .frame { display: none; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .mosaic a:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .mosaic a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .mosaic figcaption { opacity: 1; transform: none; }
  .video-feature__side { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 4.25rem; }
  .timeline li { grid-template-columns: 4.25rem 1fr; gap: 28px; }
  .timeline li::before { left: calc(4.25rem - 4px); }
  .timeline time { font-size: 1.375rem; }
  .player__inner { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; height: 68px; }
  .player__timeline, .player__right, .player__controls [data-action="stop"], .player__controls [data-action="prev"] { display: none; }
  .player__bar { display: block; }
  .player__center { justify-self: end; }
  .player__expand { display: inline-flex; }
  .now { width: 100vw; top: auto; height: 100svh; transform: translateY(102%); box-shadow: none; }
  .now.is-open { transform: none; }
  .now-open body { overflow: hidden; }
  .lyrics-layout { grid-template-columns: minmax(0, 1fr); }
  .song-index { position: static; max-height: none; order: 2; }
  .song { margin-inline: calc(var(--gutter) * -1); border-radius: 0; }
}
@media (max-width: 560px) {
  .section-head { flex-direction: column; align-items: flex-start; }
  .sections { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .facts div { grid-template-columns: 7rem 1fr; }
  .hero__actions .btn { flex: 1 1 auto; }
  .lyrics { padding-left: 0; }
  .hymn { --hymn-gutter: 1.9rem; }
  .now__scroll { padding-inline: 20px; }
  .now__head { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; }
  .song__pager { grid-template-columns: 1fr; }
  .song__pager a:last-child { text-align: left; }
  .track__actions .icon-btn span { display: none; }
  .album-nav, .article-pager { grid-template-columns: 1fr; }
  .album-nav a:last-child, .article-pager a:last-child { justify-content: flex-start; text-align: left; }
  .video-feature__side { grid-template-columns: 1fr; }
  .voices__labels { font-size: 0.8125rem; }
}

/* 6. Motion --------------------------------------------------------------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; animation-timing-function: var(--ease-out); }
::view-transition-group(*) { animation-duration: 0.55s; animation-timing-function: var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero__title .line > span, .hero__lead, .hero__actions { transform: none; opacity: 1; }
  @view-transition { navigation: none; }
}
