/* Restored chapter navigation, retaining the SIGNAL design and visitor themes. */
body.restored-chapters { overflow: hidden; }
/* Legacy chapter IDs must not constrain the new editorial headings. */
body.restored-chapters #main .chapter :is(h1, h2) {
  max-width: 100%;
  min-width: 0;
  margin-inline: 0;
  text-align: left;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: pretty;
}
body.restored-chapters #ch-01 .next-intro { width: 100%; }
body.restored-chapters #ch-01 .next-intro h1 {
  width: 100%;
  font-size: clamp(46px, 7vw, 100px);
  line-height: 1;
  margin: 18px 0;
}
body.restored-chapters #ch-01 .headline-line { white-space: nowrap; }
body.restored-chapters #main .film-copy { position: absolute; inset: auto 0 0; width: 100%; max-width: none; padding: 24px 5vw 86px; text-align: left; align-items: flex-start; }
body.restored-chapters #main .film-copy h2 { max-width: 19ch; font-style: normal; }
body.restored-chapters #main #ch-02 .film-copy h2 { max-width: 100%; }
.restored-chapters .chapters { padding: 0; height: 100dvh; background: var(--future-paper); color: var(--future-ink); }
.restored-chapters .chapters.watch-scrub-locked { overflow: hidden; scroll-behavior: auto !important; }
.restored-chapters .chapter { height: 100dvh; min-height: 100dvh; width: 100%; flex-shrink: 0; opacity: var(--section-fade, 1); }
.restored-chapters .restored-designed { display: block; background: var(--future-paper); }
.restored-chapters .restored-designed > div { box-sizing: border-box; height: 100%; min-height: 0; overflow-y: auto; padding: 90px 5vw 80px; }
.restored-chapters #ch-01 > .future-hero { padding: 110px 5vw 100px; overflow: hidden; }
.restored-chapters .chapter .chapter-film { inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; opacity: 1; }
.restored-chapters .restored-film { justify-content: flex-end; }
.restored-chapters .film-copy { box-sizing: border-box; min-width: 0; }
.restored-chapters #ch-02 .film-copy { position: absolute; inset: auto 0 0; width: 100%; transform: none; text-align: left; align-items: flex-start; background: linear-gradient(transparent, #0008); }
.restored-chapters #ch-02 .film-copy h2 { margin: 0; }
.restored-chapters .film-copy { padding: 24px 5vw 86px; max-width: none; margin: 0; background: linear-gradient(transparent, #000a); color: white; }
.restored-chapters .film-copy h2 { font: 600 clamp(2rem, 5vw, 5.5rem)/.98 Arial, sans-serif; letter-spacing: -.065em; max-width: 15ch; }
.restored-chapters .restored-film .film-copy h2 { white-space: normal; overflow-wrap: anywhere; }
.restored-chapters .film-copy p { font-size: 15px; margin: 12px 0; }
.restored-chapters .film-copy a { color: white; font-size: 13px; }
/* Keep the product reveal clear: only a compact caption at the lower edge. */
.restored-chapters #ch-02 .film-copy h2 { font-size: clamp(1.2rem, 2.6vw, 2.8rem); max-width: none; }
.restored-chapters #ch-02 .next-label, .restored-chapters #ch-02 .film-copy p { display: none; }
.restored-chapters .chapter-dots { z-index: 40; }
.restored-chapters .chapter-arrows { position: fixed; z-index: 45; bottom: 12px; left: 50%; right: auto; display: flex; gap: 4px; transform: translateX(-50%); }
.restored-chapters .chapter-arrow { width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff30; border-radius: 50%; background: #080809b3; color: white; font-size: 18px; }
.restored-chapters .site-footer, .restored-chapters .next-scroll-meter { display: none; }
.restored-chapters .site-sound-control { position: fixed; top: auto; bottom: 16px; left: 16px; z-index: 45; }
.restored-chapters .next-projects { scrollbar-width: none; }
.restored-chapters .next-projects::-webkit-scrollbar { display: none; }
.restored-chapters .next-tabs { scrollbar-width: none; }
.restored-chapters .next-tabs::-webkit-scrollbar { display: none; }
.restored-chapters .next-projects { padding-bottom: 10px; }
.restored-chapters .project-art { height: min(42dvh, 420px); }
.restored-chapters .next-heading-row { margin-bottom: 24px; }
.restored-chapters .next-art-grid { height: min(48dvh, 440px); margin-top: 32px; }
.restored-chapters .restored-info h2 { font-size: clamp(42px, 7vw, 90px); margin-bottom: 24px; }
.restored-faq { max-width: 760px; margin-bottom: 24px; }
.restored-faq details { border-bottom: 1px solid #ffffff30; padding: 15px 0; }
.restored-faq summary { cursor: pointer; font-size: 18px; }
.restored-faq p { max-width: 60ch; line-height: 1.5; }
.guide-links { display: grid; max-width: 640px; margin-top: 30px; }
.guide-links a { padding: 22px 0; border-bottom: 1px solid #ffffff40; color: var(--future-ink); font-size: 22px; }
.restored-chapters .watch-scrub-controls { position: absolute; z-index: 3; left: 5vw; right: 5vw; bottom: 86px; width: auto; max-width: 560px; padding: 0; background: none; box-shadow: none; }
.restored-chapters .watch-scrub-range { width: 100%; accent-color: var(--accent); }
.restored-chapters .watch-scrub-title { font-family: Arial, sans-serif; }
@media (max-width: 700px) {
  .restored-chapters .next-art-grid { box-sizing: border-box; grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .restored-chapters .next-art-grid a { min-height: 0; height: 100%; aspect-ratio: auto; }
  body.restored-chapters #ch-01 .next-intro h1 { font-size: clamp(34px, 10.7vw, 60px); }
  .restored-chapters .chapter-dots { display: none; }
  .restored-chapters .restored-designed > div { padding: 82px 20px 76px; }
  .restored-chapters .next-heading-row h2, .restored-chapters .next-capabilities h2, .restored-chapters .about-grid h2 { font-size: clamp(32px, 9vw, 46px); }
  .restored-chapters .next-heading-row p, .restored-chapters .about-grid p + p, .restored-chapters .next-panels small { display: none; }
  .restored-chapters .next-heading-row { gap: 16px; margin-bottom: 18px; }
  .restored-chapters .next-project { flex-basis: 82%; }
  .restored-chapters .next-proof { margin-top: 32px; }
  .restored-chapters .capability-layout { gap: 16px; margin-top: 22px; }
  .restored-chapters .next-tabs button { padding: 9px 12px; min-height: 42px; }
  .restored-chapters .next-panels { padding: 18px; min-height: 0; }
  .restored-chapters .capability-symbol { display: none; }
  .restored-chapters .next-panels h3 { font-size: 26px; }
  .restored-chapters .next-panels p { font-size: 14px; }
  .restored-chapters .film-copy { padding: 20px 20px 84px; }
  .restored-chapters #ch-01 > .future-hero { padding: 100px 20px 102px; }
  .restored-chapters .film-copy > * + * { margin-top: 12px; }
  .restored-chapters .restored-faq summary { font-size: 16px; }
}
