/* Project stories, photo collections, and band recordings. */
.detail-intro { padding: 36px 0 42px; }
.detail-back { display: inline-block; font-size: 12px; color: var(--muted); margin-bottom: 38px; }
.detail-back:hover { color: var(--accent); }
.detail-intro h1 { max-width: 1000px; font-size: clamp(40px, 5.6vw, 80px); overflow-wrap: anywhere; }
.title-dot { color: var(--accent); }
.detail-meta { display: flex; flex-wrap: wrap; gap: 24px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.detail-meta a { color: var(--accent); }
.photo-stage { border: 1px solid var(--line); background: var(--surface); margin-bottom: 30px; }
.stage-main { display: block; position: relative; background: #0b0d0b; }
.stage-main > img { width: 100%; height: min(580px, 65vh); object-fit: contain; }
.stage-enlarge { position: absolute; bottom: 18px; right: 18px; background: #121412e8; padding: 12px 16px; border: 1px solid var(--line); font-size: 11px; }
.stage-caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; }
.stage-caption p:not(.eyebrow) { margin: 6px 0 0; font-size: 15px; }
.stage-controls { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.stage-controls[hidden] { display: none; }
.stage-controls > span { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.stage-controls button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--accent); font-size: 20px; cursor: pointer; }
.stage-controls button:hover { background: var(--accent); color: var(--bg); }
.stage-controls button:focus-visible, .filmstrip:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.filmstrip { display: flex; gap: 10px; padding: 4px 24px 16px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #78825f #252a21; }
.filmstrip a { position: relative; flex: 0 0 120px; height: 80px; border: 2px solid transparent; opacity: .6; }
.filmstrip a:hover, .filmstrip a[aria-current] { opacity: 1; border-color: var(--accent); }
.filmstrip img { width: 100%; height: 100%; object-fit: cover; }
.filmstrip span { position: absolute; bottom: 4px; right: 4px; padding: 3px 5px; background: #000b; color: white; font-size: 9px; }
.filmstrip-hint { padding: 0 24px 14px; font-size: 10px; color: var(--muted); }
.project-story { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; margin: 54px 0; }
.project-story h2, .detail-section-heading h2 { font: 34px Georgia, serif; font-weight: 400; margin: 12px 0; }
.project-story p:not(.eyebrow) { font-size: 15px; line-height: 1.9; color: var(--muted); margin-top: 0; overflow-wrap: anywhere; }
.detail-section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; border-top: 1px solid var(--line); padding: 30px 0; }
.detail-section-heading > span { font-size: 11px; color: var(--muted); padding-bottom: 12px; }
.photo-grid { columns: 3; column-gap: 20px; }
.photo-link { position: relative; display: block; break-inside: avoid; margin-bottom: 20px; background: var(--surface); overflow: hidden; }
.photo-link img { width: 100%; height: auto; transition: filter .2s; }
.photo-link > span { position: absolute; right: 12px; bottom: 12px; padding: 10px 14px; background: #121412e8; color: var(--ink); font-size: 10px; opacity: 0; transition: opacity .2s; }
.photo-link:hover > span, .photo-link:focus-visible > span { opacity: 1; }
.photo-link:hover img { filter: brightness(.85); }
.detail-empty { color: var(--muted); padding: 24px; border: 1px solid var(--line); line-height: 1.8; }
.detail-ending { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; border-top: 1px solid var(--line); margin: 50px 0 30px; padding-top: 30px; }
.detail-ending > span { font: 24px Georgia, serif; }
.detail-ending a { color: var(--accent); font-size: 13px; }

.lightbox { width: min(1200px, 95vw); max-height: 95vh; padding: 20px; border: 1px solid var(--line); background: #121412; color: var(--ink); }
.lightbox::backdrop { background: #000e; }
.lightbox > img { width: 100%; height: 70vh; object-fit: contain; }
.lightbox-toolbar, .lightbox-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lightbox-toolbar p { font-size: 12px; line-height: 1.5; }
.lightbox-controls { padding-top: 16px; }
.lightbox button { color: var(--ink); border: 1px solid var(--line); background: var(--surface); padding: 12px 16px; cursor: pointer; font: inherit; font-size: 12px; }
.lightbox button:hover { border-color: var(--accent); }
.lightbox button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.lightbox-controls span { font-size: 12px; color: var(--muted); }
html:has(.lightbox[open]) { overflow: hidden; }

.band-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: center; }
.band-intro h1 { font-size: clamp(40px, 5vw, 72px); }
.band-cover { aspect-ratio: 4 / 3; background: radial-gradient(ellipse at top right, #55643a, #20251b); border: 1px solid var(--line); }
.band-cover img { width: 100%; height: 100%; object-fit: cover; }
.band-cover > span { display: grid; place-items: center; height: 100%; font: 68px Georgia, serif; color: #d9ed9a70; }
.band-description { color: var(--muted); line-height: 1.8; font-size: 14px; }
.recordings { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; border-top: 1px solid var(--line); padding-top: 38px; margin: 20px 0 54px; }
.album-shelf h2 { font: 32px Georgia, serif; margin: 12px 0 24px; }
.album-shelf nav { display: grid; gap: 8px; }
.album-shelf a { display: grid; grid-template-columns: 24px 1fr 15px; align-items: start; gap: 12px; padding: 18px 14px; border: 1px solid var(--line); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.album-shelf a[aria-current], .album-shelf a:hover { background: var(--surface); color: var(--accent); border-color: #778559; }
.album-number { color: var(--muted); font-size: 10px; padding-top: 2px; }
.recording-panel { min-width: 0; background: var(--surface); padding: 32px; border: 1px solid var(--line); }
.recording-panel h2 { margin: 12px 0 24px; font-weight: 400; font-size: 30px; overflow-wrap: anywhere; }
.now-playing { padding: 22px; background: #121412; border: 1px solid var(--line); }
[data-track-title] { margin: 8px 0 18px; font-size: 17px; overflow-wrap: anywhere; }
.now-playing audio { width: 100%; height: 42px; display: block; }
[data-player-status] { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
[data-player-status]:empty { display: none; }
.track-list { padding: 0; margin: 24px 0 0; list-style: none; }
.track-list a { display: grid; grid-template-columns: 30px minmax(0, 1fr) 52px; gap: 16px; align-items: center; padding: 18px 10px; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.track-list a:hover, .track-list a[aria-current] { color: var(--accent); background: #d9ed9a08; }
.track-number, .track-action { color: var(--muted); font-size: 10px; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.video-grid figure { margin: 0; background: var(--surface); border: 1px solid var(--line); }
.video-grid video { width: 100%; aspect-ratio: 16 / 9; display: block; }
.video-grid figcaption { padding: 20px; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }

@media (max-width: 1050px) {
    .photo-grid { columns: 2; }
    .recordings { grid-template-columns: 210px minmax(0, 1fr); gap: 24px; }
    .recording-panel { padding: 24px; }
    .band-intro { gap: 32px; }
}
@media (max-width: 650px) {
    .detail-intro { padding: 26px 0 32px; }
    .detail-back { margin-bottom: 30px; }
    .detail-intro h1 { font-size: 42px; letter-spacing: -1.5px; }
    .detail-meta { gap: 14px; font-size: 11px; }
    .stage-main > img { height: 320px; }
    .stage-caption { padding: 18px 14px; align-items: flex-start; flex-direction: column; }
    .stage-controls { width: 100%; justify-content: space-between; }
    .filmstrip { padding-inline: 14px; }
    .filmstrip a { flex-basis: 90px; height: 65px; }
    .filmstrip-hint { padding-inline: 14px; line-height: 1.7; }
    .project-story { grid-template-columns: 1fr; gap: 16px; margin: 34px 0; }
    .project-story h2, .detail-section-heading h2 { font-size: 28px; }
    .photo-grid { columns: 2; column-gap: 10px; }
    .photo-link { margin-bottom: 10px; }
    .photo-link > span { display: none; }
    .band-intro, .recordings { grid-template-columns: 1fr; }
    .band-cover { max-height: 320px; }
    .album-shelf nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .album-shelf a { padding: 12px; gap: 8px; grid-template-columns: 20px 1fr; }
    .album-shelf a > span:last-child { display: none; }
    .recording-panel { padding: 20px 16px; }
    .now-playing { padding: 18px 12px; }
    .track-list a { gap: 10px; grid-template-columns: 22px minmax(0, 1fr) 45px; }
    .video-grid { grid-template-columns: 1fr; }
    .lightbox { padding: 12px; }
    .lightbox > img { height: 60vh; }
    .lightbox button { padding: 12px; }
}
