:root {
  --ink: #071017;
  --ink-2: #0d1822;
  --paper: #f3f1ec;
  --paper-bright: #fbfaf7;
  --navy: #182b45;
  --cobalt: #25538a;
  --thread: #771d25;
  --line: #c8c4bb;
  --line-dark: #25323d;
  --muted: #737779;
  --spine: 146px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Arial, sans-serif;
  letter-spacing: 0;
}
button, a { color: inherit; }
button { font: inherit; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }

.title-spine {
  position: fixed;
  z-index: 40;
  inset: 0 auto 0 0;
  width: var(--spine);
  color: var(--paper-bright);
  background: var(--ink);
  border-right: 1px solid #202d37;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.spine-mark {
  position: relative;
  width: 62px;
  height: 62px;
  margin-top: 24px;
}
.spine-mark::before,
.spine-mark::after,
.spine-mark span::before,
.spine-mark span::after {
  content: "";
  position: absolute;
  background: var(--thread);
}
.spine-mark::before { width: 62px; height: 1px; top: 30px; left: 0; }
.spine-mark::after { width: 1px; height: 20px; top: 20px; left: 30px; }
.spine-mark span::before { width: 5px; height: 5px; top: 28px; left: 28px; background: transparent; border: 1px solid var(--thread); transform: rotate(45deg); }
.spine-mark span::after { width: 1px; height: 16px; top: 22px; left: 30px; transform: rotate(45deg); }
.title-spine > p {
  margin: auto 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  line-height: 1;
}
.title-spine small {
  margin-bottom: 24px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #76818a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8px;
}

main { margin-left: var(--spine); overflow: hidden; }

.archive-hero {
  min-height: 100svh;
  background: var(--paper-bright);
  display: grid;
  grid-template-rows: 70px minmax(560px, 1fr) 156px;
}
.hero-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  padding: 0 5.5%;
  border-bottom: 1px solid #dfdcd4;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}
.hero-nav a { position: relative; padding: 26px 0; }
.hero-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 20px;
  height: 1px;
  background: var(--thread);
  transition: right 180ms ease;
}
.hero-nav a:hover::after,
.hero-nav a:focus-visible::after { right: 0; }
.hero-nav a:focus-visible { outline: none; }
.hero-nav i { color: var(--thread); font-style: normal; }

.hero-board {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: 43% 57%;
}
.hero-character {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #f7f4ee;
  border-right: 1px solid #d7d3cb;
}
.hero-character > img {
  position: absolute;
  z-index: 2;
  width: min(69%, 500px);
  height: 103%;
  left: 24%;
  bottom: -7%;
  object-fit: contain;
  mix-blend-mode: normal;
}
.file-label {
  position: absolute;
  z-index: 5;
  top: 7%;
  left: 7%;
  display: grid;
  font-family: Georgia, "Times New Roman", serif;
}
.file-label > span { font-size: 9px; }
.file-label strong { margin-top: 14px; font-size: 13px; font-weight: 400; }
.file-label b { color: var(--cobalt); font-size: 47px; font-weight: 400; line-height: 1; }
.file-label small { margin-top: 22px; color: #757879; font-size: 8px; line-height: 1.5; }
.hero-state {
  position: absolute;
  z-index: 4;
  left: 7%;
  bottom: 12%;
  margin: 0;
  display: grid;
  font-family: Georgia, "Times New Roman", serif;
}
.hero-state small { font-size: 8px; }
.hero-state strong { margin-top: 8px; color: var(--cobalt); font-size: 11px; font-weight: 400; }
.hero-character blockquote {
  position: absolute;
  z-index: 5;
  right: 4%;
  bottom: 8%;
  margin: 0;
  color: #313437;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-style: italic;
  line-height: 1.7;
}
.string {
  position: absolute;
  z-index: 3;
  height: 1px;
  background: var(--thread);
  transform-origin: left center;
  opacity: 0.95;
  animation: string-breathe 7s ease-in-out infinite;
}
.string-a { width: 56%; left: -9%; top: 43%; transform: rotate(-11deg); }
.string-b { width: 77%; left: 10%; top: 66%; transform: rotate(8deg); animation-delay: -2s; }
.string-c { width: 51%; left: 56%; top: 23%; transform: rotate(-58deg); animation-delay: -4s; }
@keyframes string-breathe {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 3px; }
}

.hero-scenes {
  position: relative;
  min-height: 560px;
  padding: 24px 8% 32px 6%;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.hero-scenes article {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  gap: 16px;
  align-items: center;
}
.scene-still {
  height: 100%;
  min-height: 140px;
  border: 1px solid #9ba0a2;
  background-image: url("assets/concepts/03_marionette_archive.png");
  background-repeat: no-repeat;
  filter: saturate(0.78) contrast(1.05);
}
.still-piano { background-size: 239% 471%; background-position: 87% 13%; }
.still-lunch { background-size: 239% 471%; background-position: 87% 43%; }
.still-classroom { background-size: 239% 471%; background-position: 87% 72%; }
.hero-scenes article > span {
  position: relative;
  font-family: Didot, Georgia, serif;
  font-size: 37px;
}
.hero-scenes article > span::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 1px;
  left: -25px;
  top: 50%;
  background: var(--thread);
}
.archive-code {
  position: absolute;
  right: 1.4%;
  top: 50%;
  margin: 0;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 7px;
}

.hero-timeline {
  color: #d9dbdc;
  background: var(--ink);
  border-top: 1px solid #1f2c36;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) 92px;
  align-items: stretch;
}
.timeline-state {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  padding: 18px 18px 14px;
  border-right: 1px solid var(--thread);
  font-family: Georgia, "Times New Roman", serif;
}
.timeline-state small { grid-column: 1 / -1; color: #b7bbbe; font-size: 7px; line-height: 1.5; }
.timeline-state strong { align-self: end; font-size: 48px; font-weight: 400; line-height: 1; }
.timeline-state span { align-self: end; margin-bottom: 5px; color: #7d858b; font-size: 8px; }
.timeline-track { min-width: 0; padding: 18px 24px 15px; overflow: hidden; }
.timeline-track > p { margin: 0 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: 8px; }
.timeline-track ol {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(15, minmax(34px, 1fr));
  gap: 0;
}
.timeline-track ol::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 32px;
  height: 1px;
  background: #4b1b20;
}
.timeline-track li { position: relative; min-width: 0; height: 76px; padding-top: 5px; }
.timeline-track li::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 5px;
  height: 5px;
  top: 30px;
  left: 0;
  background: var(--thread);
  transform: rotate(45deg);
}
.timeline-track li > span { position: relative; z-index: 3; font-family: Georgia, serif; font-size: 7px; }
.timeline-track li.has-frame > span { font-size: 16px; }
.mini {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 30px;
  width: 90%;
  height: 43px;
  border: 1px solid #263440;
  background-image: url("assets/concepts/03_marionette_archive.png");
  background-repeat: no-repeat;
}
.mini-piano { background-size: 239% 471%; background-position: 87% 13%; }
.mini-lunch { background-size: 239% 471%; background-position: 87% 43%; }
.mini-classroom { background-size: 239% 471%; background-position: 87% 72%; }
.mini-awake { background-image: url("assets/characters/A04_awakened.png"); background-size: cover; background-position: 50% 12%; }
.hero-timeline > a {
  display: grid;
  place-content: center;
  gap: 7px;
  border-left: 1px solid #26333e;
  color: #8e969b;
  font-family: Georgia, serif;
  font-size: 7px;
  line-height: 1.5;
  text-align: center;
}
.hero-timeline > a span { color: var(--thread); font-size: 15px; }

.dossier {
  position: relative;
  padding: 100px 6.5%;
  background: var(--paper);
}
.dossier::before {
  content: "ARCHIVE / MANIPULATOR";
  position: absolute;
  right: 18px;
  top: 50%;
  writing-mode: vertical-rl;
  color: #b3aea4;
  font-family: Georgia, serif;
  font-size: 7px;
}
.dossier-heading,
.scene-heading {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 36px;
  align-items: start;
  padding-top: 18px;
  margin-bottom: 64px;
  border-top: 1px solid var(--ink);
}
.dossier-heading > div,
.scene-heading > div { display: flex; align-items: baseline; gap: 16px; font-family: Georgia, serif; }
.dossier-heading > div span,
.scene-heading > div span { color: var(--thread); font-size: 28px; }
.dossier-heading > div small,
.scene-heading > div small { font-size: 8px; }
.dossier-heading h1,
.dossier-heading h2,
.scene-heading h2 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.45;
}
.dossier-heading > p,
.scene-heading > p { margin: 7px 0 0; font-family: Georgia, serif; font-size: 8px; }
.dossier-heading em { color: #75797a; font-size: 11px; font-style: normal; }

.intro { min-height: 690px; }
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.85fr;
  gap: 7%;
  align-items: start;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.intro-grid p { margin: 0 0 24px; font-size: 13px; line-height: 2; }
.intro-grid .lead { font-family: "Yu Mincho", Georgia, serif; font-size: 22px; line-height: 1.85; }
.intro-grid blockquote { margin: 0; color: var(--cobalt); font-family: Georgia, serif; font-size: 18px; font-style: italic; line-height: 1.75; }

.act-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.act-line article {
  min-height: 320px;
  padding: 22px 20px 28px;
  border-right: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
}
.act-line article:last-child { border-right: 0; }
.act-line span { color: var(--thread); font-family: Georgia, serif; font-size: 9px; }
.act-line h3 { margin: auto 0 18px; font-family: Georgia, serif; font-size: 25px; font-weight: 400; }
.act-line p,
.motif-register p { margin: 0; font-size: 11px; line-height: 1.85; }
.motif-register {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 62px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.motif-register > div { min-height: 160px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.motif-register span { color: var(--thread); font-family: Georgia, serif; }
.motif-register strong { display: block; margin: 26px 0 9px; font-family: Georgia, serif; font-size: 16px; font-weight: 400; }

.character-file { background: #e8e6e0; }
.character-layout { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.58fr); gap: 4%; align-items: start; }
.character-stage { margin: 0; background: var(--paper-bright); border: 1px solid #999c9d; }
.character-stage img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.character-stage figcaption { padding: 10px 14px; border-top: 1px solid var(--line); color: #7a7c7c; font-family: Georgia, serif; font-size: 7px; }
.character-data { padding-top: 12px; }
.eyebrow { margin: 0 0 12px; color: var(--thread); font-family: Georgia, serif; font-size: 9px; }
.character-data h3 { margin: 0 0 25px; font-family: "Yu Mincho", Georgia, serif; font-size: 28px; font-weight: 400; }
.character-data > p:not(.eyebrow) { margin: 0; font-size: 12px; line-height: 2; }
.character-data dl { margin: 34px 0; border-top: 1px solid var(--ink); }
.character-data dl div { display: grid; grid-template-columns: 105px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid #aaa8a1; }
.character-data dt { color: #747677; font-family: Georgia, serif; font-size: 8px; }
.character-data dd { margin: 0; font-size: 11px; }
.character-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.character-tabs button,
.direction-options button {
  min-height: 46px;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  text-align: left;
  cursor: pointer;
}
.character-tabs button:hover,
.character-tabs button:focus-visible,
.character-tabs button.is-active { color: #fff; background: var(--ink); outline: none; }

.scene-archive,
.design-archive {
  position: relative;
  padding: 100px 6.5%;
  color: var(--paper);
  background: var(--ink);
}
.scene-heading { border-top-color: #43505a; }
.scene-heading > div span { color: #ad454d; }
.scene-heading > p { color: #7c858c; }
.scene-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #46515a; }
.scene-list li {
  display: grid;
  grid-template-columns: 68px 82px minmax(0, 1fr);
  gap: 24px;
  min-height: 142px;
  padding: 24px 0;
  border-bottom: 1px solid #27333d;
  transition: padding-left 160ms ease, background 160ms ease;
}
.scene-list li > div { min-width: 0; }
.scene-list li:hover { padding-left: 16px; background: #0c1720; }
.scene-list li > span { color: #ad454d; font-family: Georgia, serif; font-size: 27px; }
.scene-list time { padding-top: 6px; color: #727c83; font-family: Georgia, serif; font-size: 9px; }
.scene-list strong { font-family: "Yu Mincho", Georgia, serif; font-size: 17px; font-weight: 400; }
.scene-list p { max-width: 900px; margin: 10px 0 0; color: #a7aeb3; font-size: 12px; line-height: 1.9; }
.scene-list p,
.scene-list q,
.scene-list small,
.scene-list details li { overflow-wrap: anywhere; }
.scene-list q,
.scene-list small {
  display: block;
  max-width: 900px;
  margin-top: 12px;
  color: #d5d8da;
  font-family: "Yu Mincho", Georgia, serif;
  font-size: 12px;
  font-style: normal;
  line-height: 1.7;
}
.scene-list q::before,
.scene-list q::after { color: #ad454d; }
.scene-list small { color: #7f8990; font-family: Georgia, "Yu Gothic", sans-serif; font-size: 9px; }
.scene-list details {
  max-width: 900px;
  margin-top: 16px;
  border-top: 1px solid #2f3c46;
}
.scene-list summary {
  position: relative;
  padding: 12px 32px 12px 0;
  color: #8d979e;
  font-family: Georgia, "Yu Gothic", sans-serif;
  font-size: 9px;
  cursor: pointer;
  list-style: none;
}
.scene-list summary::-webkit-details-marker { display: none; }
.scene-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  color: #ad454d;
  font-size: 16px;
}
.scene-list details[open] summary::after { content: "−"; }
.scene-list details ol {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  counter-reset: shot;
}
.scene-list details li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  min-height: 0;
  padding: 8px 0;
  border-bottom: 1px solid #202d36;
  color: #abb2b7;
  font-size: 11px;
  line-height: 1.7;
  counter-increment: shot;
}
.scene-list details li::before {
  content: "CUT " counter(shot, decimal-leading-zero);
  color: #6f7a82;
  font-family: Georgia, serif;
  font-size: 8px;
}
.scene-list details li::after { display: none; }
.scene-list details li:hover { padding-left: 0; background: transparent; }
.insert-proposals { margin-top: 80px; border-top: 1px solid #46515a; }
.insert-proposals header { display: flex; align-items: baseline; gap: 22px; padding: 22px 0; }
.insert-proposals header span { color: #ad454d; font-family: Georgia, serif; font-size: 10px; }
.insert-proposals h3 { margin: 0; font-family: "Yu Mincho", Georgia, serif; font-size: 22px; font-weight: 400; }
.insert-proposals > div { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #46515a; border-left: 1px solid #46515a; }
.insert-proposals article { min-height: 210px; padding: 22px; border-right: 1px solid #46515a; border-bottom: 1px solid #46515a; }
.insert-proposals article > span { color: #ad454d; font-family: Georgia, serif; font-size: 18px; }
.insert-proposals article strong { display: block; margin: 36px 0 12px; font-family: "Yu Mincho", Georgia, serif; font-size: 15px; font-weight: 400; }
.insert-proposals article p { margin: 0; color: #929ba1; font-size: 10px; line-height: 1.8; }

.design-archive { background: var(--ink-2); }
.direction-viewer { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 26px; }
.direction-viewer figure { margin: 0; }
.direction-viewer figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid #49545d; }
.direction-viewer figcaption { display: grid; grid-template-columns: 130px 1fr; gap: 20px; margin-top: 14px; color: #9ba3a9; font-size: 10px; line-height: 1.65; }
.direction-viewer figcaption strong { color: #fff; font-family: Georgia, serif; font-weight: 400; }
.direction-options { align-self: start; border-top: 1px solid #53606a; border-left: 1px solid #53606a; }
.direction-options button { width: 100%; display: grid; grid-template-columns: 34px 1fr; align-items: center; min-height: 61px; color: #9da5aa; border-right-color: #53606a; border-bottom-color: #53606a; font-family: Georgia, serif; font-size: 10px; }
.direction-options button:hover,
.direction-options button:focus-visible,
.direction-options button.is-active { color: #fff; background: #172530; outline: none; }
.direction-options span { color: #ad454d; }
.design-rules { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 62px; border-top: 1px solid #46535d; border-left: 1px solid #46535d; }
.design-rules > div { min-height: 135px; padding: 20px; border-right: 1px solid #46535d; border-bottom: 1px solid #46535d; }
.design-rules span { color: #737e86; font-family: Georgia, serif; font-size: 8px; }
.design-rules strong { display: block; margin-top: 34px; font-family: "Yu Mincho", Georgia, serif; font-size: 13px; font-weight: 400; line-height: 1.7; }

.production-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.production-grid > div { min-height: 310px; padding: 26px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.production-grid h3 { margin: 0 0 30px; color: var(--thread); font-family: Georgia, serif; font-size: 14px; font-weight: 400; }
.production-grid ul { margin: 0; padding: 0; list-style: none; }
.production-grid li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 11px; line-height: 1.5; }
.production-grid blockquote { margin: 56px 0 0; font-family: "Yu Mincho", Georgia, serif; font-size: 19px; line-height: 1.9; }
footer { display: flex; justify-content: space-between; gap: 24px; padding: 30px 6.5%; color: #778189; background: var(--ink); border-top: 1px solid #293640; font-family: Georgia, serif; font-size: 8px; }
footer p { margin: 0; }

@media (max-width: 1180px) {
  :root { --spine: 104px; }
  .title-spine > p { font-size: 42px; }
  .archive-hero { grid-template-rows: 64px minmax(520px, 1fr) 142px; }
  .hero-character > img { width: 78%; left: 18%; }
  .hero-character blockquote { display: none; }
  .dossier-heading h1, .dossier-heading h2, .scene-heading h2 { font-size: 34px; }
  .act-line { grid-template-columns: repeat(2, 1fr); }
  .act-line article { min-height: 220px; border-bottom: 1px solid var(--ink); }
  .character-layout, .direction-viewer { grid-template-columns: 1fr; }
  .direction-options { display: grid; grid-template-columns: repeat(5, 1fr); }
  .direction-options button { grid-template-columns: 1fr; gap: 5px; }
}

@media (max-width: 760px) {
  :root { --spine: 0px; }
  .title-spine {
    position: fixed;
    inset: 0 0 auto 0;
    width: 100%;
    height: 54px;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 16px;
    border-right: 0;
    border-bottom: 1px solid #26333d;
  }
  .spine-mark { width: 38px; height: 38px; margin: 0; transform: scale(0.62); transform-origin: left center; }
  .title-spine > p { margin: 0; writing-mode: horizontal-tb; transform: none; font-size: 24px; }
  .title-spine small { margin: 0; writing-mode: horizontal-tb; transform: none; font-size: 6px; }
  main { margin-left: 0; padding-top: 54px; }
  .archive-hero { min-height: auto; grid-template-rows: 54px auto auto; }
  .hero-nav { justify-content: center; gap: 13px; padding: 0 10px; font-size: 9px; overflow-x: auto; }
  .hero-nav a { padding: 20px 0; white-space: nowrap; }
  .hero-nav a::after { bottom: 14px; }
  .hero-board { grid-template-columns: 1fr; }
  .hero-character { min-height: 570px; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-character > img { width: 82%; height: 100%; left: 16%; bottom: -4%; }
  .file-label { top: 5%; left: 5%; }
  .file-label b { font-size: 38px; }
  .hero-state { left: 5%; bottom: 7%; }
  .hero-scenes { min-height: 480px; padding: 22px 5%; }
  .hero-scenes article { grid-template-columns: minmax(0, 1fr) 42px; gap: 10px; }
  .scene-still { min-height: 125px; }
  .hero-scenes article > span { font-size: 28px; }
  .archive-code { display: none; }
  .hero-timeline { grid-template-columns: 86px minmax(0, 1fr); }
  .timeline-state { padding: 14px 12px; }
  .timeline-state strong { font-size: 36px; }
  .timeline-track { overflow-x: auto; padding-left: 16px; padding-right: 16px; }
  .timeline-track ol { min-width: 860px; }
  .hero-timeline > a { display: none; }
  .dossier, .scene-archive, .design-archive { padding: 74px 5%; }
  .dossier::before { display: none; }
  .dossier-heading, .scene-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 42px; }
  .dossier-heading h1, .dossier-heading h2, .scene-heading h2 { font-size: 29px; }
  .dossier-heading > p, .scene-heading > p { margin: 0; }
  .intro-grid { grid-template-columns: 1fr; gap: 22px; }
  .intro-grid .lead { font-size: 19px; }
  .act-line, .motif-register, .design-rules, .production-grid { grid-template-columns: 1fr; }
  .act-line article { min-height: 190px; border-right: 0; }
  .motif-register { margin-top: 42px; }
  .character-stage img { aspect-ratio: 1 / 1; object-position: 16% center; }
  .character-tabs { grid-template-columns: repeat(2, 1fr); }
  .scene-list li { grid-template-columns: 45px 55px minmax(0, 1fr); gap: 10px; }
  .scene-list li > span { font-size: 22px; }
  .scene-list p { font-size: 10px; }
  .scene-list q { font-size: 11px; }
  .scene-list small { font-size: 8px; }
  .scene-list details li { grid-template-columns: 38px 1fr; font-size: 10px; }
  .insert-proposals > div { grid-template-columns: 1fr; }
  .insert-proposals article { min-height: 170px; }
  .direction-options { grid-template-columns: 1fr; }
  .direction-viewer figcaption { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}

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