/* The storyboard example on the films page: what the $500 buys, shown as a real sheet
   in the same paper as the ticket (it uses the paper tokens from booth.css). The panels
   are stills from the finished film; tapping one plays that shot in place. */
.sb-intro { display: grid; gap: 18px; }
.sb-intro .big { font-size: var(--s-display); line-height: 1; letter-spacing: -.035em; text-wrap: balance; }

.sb-sheet { position: relative; margin-top: clamp(48px, 8vh, 88px); min-height: 240px; background-color: var(--paper); background-image: var(--noise);
  color: var(--ink); border-radius: 6px; padding: clamp(20px, 3vw, 40px) clamp(20px, 3vw, 40px) clamp(20px, 3vw, 40px) clamp(48px, 5vw, 76px);
  box-shadow: 0 34px 70px -34px var(--floor-shadow); }
.sb-sheet::before { content: ""; position: absolute; left: clamp(16px, 1.8vw, 28px); top: 0; bottom: 0; width: 16px;
  background: radial-gradient(circle at 8px 50%, var(--ground) 6.5px, transparent 7px) center / 16px 33.33% repeat-y; }
.sb-sheet > .sb-wait { color: var(--ink-mid); }
.sb-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px 48px; padding-bottom: 22px; border-bottom: 2px solid var(--ink); }
.sb-head > div { display: grid; gap: 10px; align-content: start; }
.sb-head .mono-k { color: var(--ink-mid); }
.sb-head h3 { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -.02em; }
.sb-head .concept { font-size: 17px; line-height: 1.45; }
.sb-made { font-size: 13px; line-height: 1.45; color: var(--ink-mid); max-width: 52ch; }
.sb-specs { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 11px/1.4 var(--mono-face); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mid); }

.sb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 20px; padding-top: 26px; }
.sb-panel { margin: 0; display: grid; gap: 10px; align-content: start; min-width: 0; }
.sb-num { display: flex; justify-content: space-between; gap: 8px; font: 11px/1 var(--mono-face); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mid); }
.sb-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; cursor: pointer;
  background: #000; border: 2px solid var(--ink); border-radius: 2px; }
.sb-frame.still { cursor: default; }
.sb-frame img, .sb-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sb-play { position: absolute; left: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(23, 18, 13, .74); transition: transform .3s var(--ease), opacity .3s; }
.sb-play::before { content: ""; margin-left: 3px; border-left: 11px solid var(--paper); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.sb-frame:hover .sb-play { transform: scale(1.12); }
.sb-frame.playing .sb-play { opacity: 0; }
.sb-frame:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.sb-notes { margin: 0; display: grid; gap: 2px; font-size: 13.5px; line-height: 1.42; }
.sb-notes dt { font: 10px/1.3 var(--mono-face); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mid); margin-top: 6px; }
.sb-notes dd { margin: 0; }
.sb-notes .fi { display: block; margin-top: 2px; font-size: 12.5px; font-style: italic; color: var(--ink-mid); }
.sb-notes .why { color: var(--orange-deep); }
.sb-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 32px; margin-top: 30px; padding-top: 18px;
  border-top: 2px solid var(--ink); font-size: 17px; }

/* The "line" sheet (Wonso): the film's orange line runs across the sheet and lights up with the
   suite's playhead; each panel is its still, a title and the one line it plays under. */
.sb-head-line { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; border-bottom: 0; padding-bottom: 0; }
.sb-head-line h3 { font-size: clamp(28px, 3.4vw, 44px); }
.sb-head-line .sb-made { font-size: 15px; justify-self: end; }
.sb-line { position: relative; height: 74px; margin: 22px 0 0; --p: 0%; }
.sb-rail { position: absolute; left: 0; right: 0; top: 30px; height: 2px; background: var(--ink); }
.sb-lit { position: absolute; left: 0; top: 29px; height: 4px; width: var(--p); border-radius: 2px; background: var(--orange);
  box-shadow: 0 0 10px var(--orange), 0 0 2px var(--orange); transition: width .12s linear; }
.sb-dot { position: absolute; top: 25px; left: var(--p); width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 14px var(--orange); transition: left .12s linear; }
.sb-tick { position: absolute; top: 0; height: 74px; width: 24px; margin-left: -1px; cursor: pointer; color: var(--ink-mid); }
.sb-tick::before { content: ""; position: absolute; left: 0; top: 22px; width: 2px; height: 18px; background: currentColor; }
.sb-tick span { position: absolute; left: 6px; font: 10px/1 var(--mono-face); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.sb-tick .n { top: 6px; }
.sb-tick .era { top: 46px; color: var(--ink); }
.sb-tick.on { color: var(--orange-deep); }
.sb-end { position: absolute; right: 0; top: 46px; font: 10px/1 var(--mono-face); letter-spacing: .1em; color: var(--ink-mid); }
.sb-grid-line { border-top: 2px solid var(--ink); padding-top: 22px; }
.sb-grid-line .sb-frame { transition: box-shadow .3s, border-color .3s; }
.sb-tag { position: absolute; left: 8px; top: 8px; z-index: 1; font: 10px/1 var(--mono-face); letter-spacing: .1em; text-transform: uppercase;
  color: #f2f2f0; background: rgba(10, 10, 10, .72); padding: 5px 7px; border-radius: 2px; }
.sb-tag.sb-era { left: auto; right: 8px; }
.sb-panel figcaption { display: grid; gap: 4px; }
.sb-panel figcaption b { font-weight: 400; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.1; letter-spacing: -.02em; }
.sb-panel figcaption span { font-size: 17px; line-height: 1.35; color: var(--ink-mid); }
.sb-panel.live .sb-frame { border-color: var(--orange); box-shadow: 0 0 0 2px var(--orange), 0 0 26px rgba(255, 122, 46, .55); }
.sb-panel.live figcaption b { color: var(--orange-deep); }
@media (prefers-reduced-motion: reduce) { .sb-lit, .sb-dot, .sb-grid-line .sb-frame { transition: none; } }

@media (max-width: 1000px) {
  .sb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sb-head { grid-template-columns: minmax(0, 1fr); }
  .sb-head-line .sb-made { justify-self: start; }
  .sb-tick .era { display: none; }
}
@media (max-width: 560px) {
  .sb-grid { grid-template-columns: minmax(0, 1fr); }
  .sb-sheet { padding-left: 20px; }
  .sb-sheet::before { display: none; }
  .sb-tick .n { display: none; }
}
