/* Page frame and the patterns the acts share. Styles start at phone width and widen at 721px. Scroll
   motion reads --run from the scene script and applies only under html[data-motion="on"]. */

body { background: transparent; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.7rem 1rem; border-radius: 0.6rem; background: var(--gold); color: var(--night); font-weight: 650; }
.skip:focus { top: 0.6rem; }
.bar { gap: 0.6rem; }
.bar__mid { display: flex; gap: 0.75rem; align-items: baseline; }
.b-clock__t { color: var(--gold); font-size: 0.75rem; letter-spacing: 0.06em; flex: none; }
.b-clock__c { overflow: hidden; text-overflow: ellipsis; }
.explore-btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; padding: 0 0.9rem; border-radius: 999px; border: 1px solid var(--line-strong); background: rgb(255 255 255 / 0.05); cursor: pointer; font-size: 0.8125rem; font-weight: 600; }
.explore-btn svg { width: 15px; height: 15px; }
.bar .brand { min-height: 44px; display: inline-flex; flex-direction: column; justify-content: center; }
@media (max-width: 30rem) {
  .bar .brand small { display: none; } .bar__mid { display: none; } .bar { justify-content: space-between; } .bar .brand { margin-right: auto; }
  .explore-btn span, .bar .pause .pause__label { display: inline !important; position: absolute; overflow: hidden; white-space: nowrap; clip-path: inset(50%); width: 1px; height: 1px; }
}
.shot .cap { color: rgb(245 241 234 / 0.8); }

/* The Explore drawer. */
.explore { position: fixed; inset: 0; z-index: 90; background: rgb(5 5 5 / 0.72); -webkit-backdrop-filter: blur(8px); display: flex; backdrop-filter: blur(8px); justify-content: flex-end; }
.explore[hidden] { display: none; }
.explore__panel { width: min(34rem, 100%); height: 100%; background: #0f0d0c; border-left: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; }
.explore__head { display: flex; gap: 0.6rem; padding: calc(0.8rem + env(safe-area-inset-top)) 1rem 0.8rem; border-bottom: 1px solid var(--line); }
.explore__search { flex: 1; }
.explore__search input { width: 100%; min-height: 48px; padding: 0 1rem; border-radius: 0.8rem; border: 1px solid var(--line-strong); background: rgb(255 255 255 / 0.04); color: var(--text); font: inherit; }
.explore__close { width: 48px; height: 48px; border-radius: 0.8rem; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; display: grid; place-items: center; flex: none; }
.explore__body { overflow-y: auto; padding: 1rem 1rem 3rem; display: grid; gap: 1.2rem; align-content: start; }
.explore__acts h2 { margin: 0.9rem 0 0.35rem; font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 650; }
.explore__acts a, .explore__caps button { display: flex; justify-content: space-between; gap: 1rem; min-height: 44px; align-items: center; padding: 0.35rem 0.7rem; border-radius: 0.6rem; text-decoration: none; color: var(--text-2); width: 100%; text-align: left; border: 0; background: transparent; cursor: pointer; font: inherit; }
.explore__acts a:hover, .explore__acts a:focus-visible, .explore__caps button:hover, .explore__caps button:focus-visible { background: rgb(255 255 255 / 0.06); color: var(--text); }
.explore__acts a[hidden] { display: none; }
.explore__caps small { color: var(--text-3); }

/* Act headings. */
.act-h { display: grid; gap: 0.9rem; margin-bottom: clamp(1.5rem, 1rem + 2vw, 3rem); }
.act-h .lede { max-width: 40rem; }
.act-h--center { justify-items: center; text-align: center; }
.act-h--center .lede { margin-inline: auto; }
@media (min-width: 721px) {
  .act-h--split { grid-template-columns: repeat(2, var(--track)); column-gap: 3rem; align-items: end; }
  .act-h--split .eyebrow { grid-column: 1 / -1; }
}
.em { font-style: italic; color: var(--maroon); font-family: var(--serif); }
.fact { font-size: 0.8125rem; color: var(--text-3); border-left: 2px solid var(--gold); padding-left: 0.75rem; margin: 0; max-width: 40rem; }
.day .fact { border-color: var(--maroon); }

/* Screens and thumbnails. */
.shot { -webkit-tap-highlight-color: transparent; }
.shot .cap { padding: 0 0.2rem 0.4rem; }
.thumb { width: 100%; height: auto; border-radius: 0.6rem; border: 1px solid var(--line); background: #0d0c0b; }
.depth { --rx: 0deg; --ry: 0deg; transition: transform 300ms var(--ease), box-shadow 300ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  html[data-motion="on"] .depth:hover { transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry)) translateZ(14px); }
}

/* Footer. */
.foot { padding-block: 2.5rem 4rem; border-top: 1px solid var(--line); }
.foot p { max-width: 44rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
