.accessible-page { background: #f3f1ec; }
.accessible-hero { display: grid; grid-template-columns: 1fr minmax(280px,.55fr); gap: clamp(3rem,8vw,9rem); padding: clamp(4rem,8vw,8rem) clamp(1.25rem,7vw,8rem); color: white; background: linear-gradient(125deg,#061725,#0e527c); }
.accessible-hero h1 { margin: 0; font-size: clamp(3.5rem,7vw,7.8rem); line-height: .88; letter-spacing: -.065em; }
.accessible-hero h1 em { color: #ed7e39; font-family: Georgia,"Times New Roman",serif; font-weight: 400; }
.accessible-hero p:last-child { max-width: 48rem; color: rgba(255,255,255,.72); font-family: Georgia,"Times New Roman",serif; font-size: clamp(1.1rem,1.8vw,1.45rem); line-height: 1.65; }
.accessible-hero figure { align-self: center; max-width: 380px; margin: 0; padding: .7rem; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.24); }
.accessible-hero video { width: 100%; max-height: 58vh; object-fit: cover; background: black; }
.accessible-hero figcaption { padding: .65rem .15rem 0; color: rgba(255,255,255,.6); font-size: .7rem; line-height: 1.4; }
.library-tools { position: sticky; z-index: 10; top: 0; padding: 1.2rem clamp(1.25rem,7vw,8rem); color: white; background: #071a2b; border-top: 1px solid rgba(255,255,255,.16); box-shadow: 0 10px 35px rgba(0,0,0,.18); }
.library-tools > label { display: block; margin-bottom: .55rem; color: #8ec4e7; font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.library-tools > div { display: grid; grid-template-columns: minmax(220px,1fr) auto auto auto; gap: .5rem; }
.library-tools input, .library-tools button { min-height: 44px; border: 1px solid rgba(255,255,255,.26); }
.library-tools input { width: 100%; padding: .55rem .8rem; color: white; background: rgba(255,255,255,.08); }
.library-tools input::placeholder { color: rgba(255,255,255,.48); }
.library-tools button { padding: .55rem .8rem; color: white; background: transparent; cursor: pointer; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.library-tools button:hover { background: rgba(255,255,255,.1); }
.library-tools p { margin: .6rem 0 0; color: rgba(255,255,255,.58); font-size: .7rem; }
.transcript-library { display: grid; gap: 1rem; padding: 2.5rem clamp(1.25rem,7vw,8rem) 7rem; }
.loading-copy { padding: 3rem; text-align: center; color: #5e6971; }
.scene-transcript { background: #fff; border: 1px solid #d7d3ca; }
.scene-transcript[hidden] { display: none; }
.scene-transcript > summary { display: grid; grid-template-columns: 64px 1fr auto; gap: 1.2rem; align-items: center; min-height: 82px; padding: 1rem 1.2rem; cursor: pointer; list-style: none; }
.scene-transcript > summary::-webkit-details-marker { display: none; }
.scene-transcript > summary img { width: 64px; height: 56px; object-fit: cover; }
.scene-transcript > summary span { display: block; color: #1674ae; font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.scene-transcript > summary strong { display: block; margin-top: .25rem; font-family: Georgia,"Times New Roman",serif; font-size: 1.25rem; }
.scene-transcript > summary::after { content: "+"; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #c2c9cd; border-radius: 50%; }
.scene-transcript[open] > summary::after { content: "−"; }
.scene-content { display: grid; grid-template-columns: minmax(260px,.8fr) minmax(320px,1.2fr); gap: 2.5rem; padding: 1.5rem 1.5rem 2.2rem; border-top: 1px solid #e1ded7; }
.scene-overview h2, .feature h3 { margin: 0; }
.scene-overview h2 { font-size: 1.4rem; }
.scene-overview p, .feature p { font-family: Georgia,"Times New Roman",serif; line-height: 1.7; color: #3e4a52; }
.scene-overview audio, .feature audio { width: 100%; margin-top: .8rem; accent-color: #ed7e39; }
.feature-list { display: grid; gap: .8rem; }
.feature { padding: 1.1rem; background: #f4f2ed; border-left: 3px solid #1674ae; }
.feature h3 { font-size: .95rem; }
.feature p { margin-bottom: .5rem; font-size: .94rem; }
.feature-label { margin: 0 0 .4rem; color: #1674ae; font-size: .58rem !important; font-family: Arial,sans-serif !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.audio-unavailable { margin: .65rem 0 0 !important; color: #68757e !important; font-family: Arial,sans-serif !important; font-size: .72rem !important; font-style: italic; }

@media (max-width: 820px) {
  .accessible-hero, .scene-content { grid-template-columns: 1fr; }
  .accessible-hero figure { max-width: 320px; }
  .library-tools { position: static; }
  .library-tools > div { grid-template-columns: 1fr 1fr; }
  .library-tools input { grid-column: 1 / 3; }
}
@media (max-width: 520px) {
  .library-tools > div { grid-template-columns: 1fr; }
  .library-tools input { grid-column: 1; }
  .scene-transcript > summary { grid-template-columns: 54px 1fr auto; gap: .7rem; padding: .8rem; }
  .scene-transcript > summary img { width: 54px; height: 50px; }
  .scene-transcript > summary strong { font-size: 1rem; }
  .scene-content { padding: 1rem; }
}

@media print {
  .site-header, .library-tools, .accessible-hero figure, audio, footer { display: none !important; }
  .accessible-hero { display: block; padding: 1rem 0 2rem; color: black; background: white; }
  .accessible-hero h1 { font-size: 42pt; }
  .accessible-hero h1 em { color: black; }
  .accessible-hero p:last-child { color: black; }
  .transcript-library { display: block; padding: 0; }
  .scene-transcript { break-inside: avoid; border: 0; border-top: 1px solid #999; }
  .scene-transcript > summary { padding: .6rem 0; }
  .scene-transcript > summary::after { display: none; }
  .scene-content { display: block !important; padding: 0 0 1rem; border: 0; }
  .feature { break-inside: avoid; background: white; border-left: 1px solid #777; }
}
