.detail-story{padding:90px 0 80px;background:#fff;min-height:100svh}
.story-heading{max-width:900px;margin:0 auto 55px;padding:0 24px;text-align:center}
.story-year{font-size:.9375rem;margin:0 0 12px;line-height:1.5}
.story-heading h1{font-size:clamp(1.5rem,3vw,2.5rem);line-height:1.25;letter-spacing:-.025em;margin:0;overflow-wrap:anywhere}
.story-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 30px;margin-top:22px;font-size:.875rem;line-height:1.5}
.story-actions a{padding:8px 0;min-height:36px}
.story-actions a:hover,.story-next a:hover{text-decoration:underline;text-underline-offset:4px}
.story-flow{display:flex;flex-direction:column;align-items:center;gap:clamp(42px,6vw,90px)}
.story-figure{margin:0;max-width:calc(100% - 40px)}
.story-figure.landscape{width:min(74vw,1200px)}
.story-figure.portrait{width:min(40vw,650px)}
.story-photo{display:block;width:100%;padding:0;background:transparent;cursor:zoom-in}
.story-photo img{display:block;width:100%;height:auto;object-fit:contain;object-position:top center}
.story-figure figcaption{font-size:.875rem;line-height:1.7;text-align:center;white-space:pre-wrap;overflow-wrap:anywhere;margin:14px auto 0;color:var(--muted);max-width:680px}
.story-text{width:min(58vw,760px);max-width:calc(100% - 40px);font-size:1.0625rem;line-height:1.85;overflow-wrap:anywhere;word-break:keep-all}
.story-text h2{font-size:clamp(1.25rem,2.4vw,1.75rem);line-height:1.4;text-align:center;font-weight:600;margin:0 0 24px}
.story-text p{white-space:pre-wrap;margin:0}
.story-text .story-metadata{font-size:.875rem;color:var(--muted);line-height:1.7;margin-top:22px}
.story-empty{text-align:center;color:var(--muted)}.story-empty a{display:inline-flex;align-items:center;min-height:44px;margin-top:14px;color:var(--ink);text-decoration:underline;text-underline-offset:4px}
.story-reference{max-width:760px;padding:0 20px;margin:64px auto 0;font-size:.8125rem;color:var(--muted);line-height:1.7;text-align:center}
.story-next{display:flex;justify-content:space-between;gap:28px;max-width:1200px;margin:75px auto 0;padding:0 24px;font-size:.9375rem;line-height:1.6;overflow-wrap:anywhere}
.story-next a{padding:12px 0}.story-next a:last-child{text-align:right}
.detail-editor-section{border-top:1px solid var(--label);margin-top:50px;padding-top:8px;scroll-margin-top:24px}
.detail-editor-section>.photos-heading{flex-wrap:wrap;align-items:baseline}
.detail-count{font-size:.875rem;line-height:1.6;color:var(--muted)}
.detail-blocks{display:flex;flex-direction:column;gap:28px}
.detail-block-card{border:1px solid var(--label);padding:22px;min-width:0}
.detail-block-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}
.detail-block-heading h3{font-size:1rem;line-height:1.5;margin:0}
.detail-block-heading .photo-actions{margin:0}
.detail-block-card .profile-field:last-child{margin-bottom:0}
.detail-block-card textarea[data-detail-field="caption"]{min-height:105px}
.detail-photo-editor{margin:0 0 24px}
.detail-photo-editor .photo-preview{height:280px;margin-bottom:12px}
.detail-add-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.record-picker{display:flex;gap:12px;overflow-x:auto;padding:3px 3px 16px;margin:22px 0 28px;scroll-snap-type:x proximity}
.record-choice{flex:0 0 135px;display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:12px;background:#fff;border:1px solid var(--label);text-align:left;scroll-snap-align:start;overflow-wrap:anywhere;font-size:.875rem;line-height:1.45}
.record-choice img{height:84px;width:100%;object-fit:contain;margin-bottom:6px}
.record-choice small{font-size:.8125rem;color:var(--muted)}
.record-choice[aria-pressed="true"]{border-color:var(--ink);box-shadow:inset 0 -3px var(--ink)}
.selected-record-title{font-size:1.125rem;margin:0 0 24px;line-height:1.5}
.selected-cover .photo-preview{border-color:var(--ink)}
.story-project{font-size:1rem;line-height:1.5;margin:0 0 12px;color:var(--muted)}
.record-navigation{display:flex;justify-content:center;flex-wrap:wrap;gap:10px 24px;margin-top:24px;font-size:.875rem;line-height:1.6}
.record-navigation a{padding:8px 0;text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){
 .detail-story{padding-top:82px;padding-bottom:55px}
 .story-heading{margin-bottom:36px;padding:0 20px}
 .story-figure.landscape{width:calc(100% - 32px);max-width:none}
 .story-figure.portrait{width:72vw}
 .story-text{width:calc(100% - 40px);max-width:680px;font-size:1rem;line-height:1.8}
 .story-figure figcaption{font-size:.8125rem;margin-top:12px}
 .story-next{margin-top:52px;padding:0 20px}
 .detail-block-card{padding:16px}
 .detail-block-heading{gap:10px;flex-wrap:wrap}
 .detail-photo-editor .photo-preview{height:230px}
}
@media print{.story-actions,.story-next{display:none}.detail-story{padding-top:0}.story-flow{gap:25px}.story-figure,.story-text{break-inside:avoid}}

.story-video video{display:block;width:100%;height:auto;max-height:85svh;background:#000;object-fit:contain}
.video-open-link{display:block;width:fit-content;margin:12px auto 0;font-size:.875rem;line-height:1.5;text-decoration:underline;text-underline-offset:3px}
.story-figure.editor-video{width:100%;max-width:100%;margin-bottom:16px}.editor-video video{max-height:340px}
.video-upload-progress{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:24px 0;padding:18px;border:1px solid var(--label)}
.video-upload-progress[hidden]{display:none}.video-upload-progress label{width:100%;overflow-wrap:anywhere;font-size:.875rem;line-height:1.6}
.video-upload-progress progress{flex:1;min-width:100px;height:10px;accent-color:#111}
