@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/eb-garamond-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/eb-garamond-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/source-sans-3-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/source-sans-3-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/archivo-black-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/archivo-black-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #fcfbf7;
  --white: #fff;
  --ink: #1b1c19;
  --soft: #545650;
  --line: #c9cac0;
  --wash: #f0f0e9;
  --yellow: #ffcc05;
  --marker: #fff0a5;
  --body: "Source Sans 3", system-ui, sans-serif;
  --serif: "EB Garamond", Georgia, serif;
  --poster: "Archivo Black", "Arial Black", sans-serif;
  --gutter: clamp(20px, 4.65vw, 78px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--masthead-height, 72px) + 12px); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 17px/1.53 var(--body); }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
h2, h3 { font-family: var(--serif); font-weight: 550; line-height: 1.06; letter-spacing: -.038em; }
h2 { font-size: clamp(2.65rem, 4.35vw, 4.4rem); }
h3 { font-size: clamp(1.7rem, 2.5vw, 2.65rem); }
h4 { font-size: 1.02rem; line-height: 1.25; }
img { display: block; max-width: 100%; }
button { font: inherit; }
button, summary { cursor: pointer; }
button, a { color: inherit; }
button { border-radius: 0; }
a { text-underline-offset: .21em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid #242d47; outline-offset: 4px; }
::selection { color: var(--ink); background: var(--marker); }
[hidden] { display: none !important; }
.shell { max-width: 1490px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(52px, 6vw, 90px); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 8px 14px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.text-link, .agency-link { display: inline-block; font-weight: 650; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: .8rem; padding: .68rem 1.06rem; border: 1px solid var(--ink); font: 650 1rem/1.15 var(--body); text-decoration: none; }
.button span { font-size: 1.2em; }
.button-ink { color: white; background: var(--ink); }
.button-ink:hover { color: var(--yellow); }
.button-outline:hover { background: var(--ink); color: white; }
summary { min-height: 44px; padding-block: 10px; font-weight: 650; color: var(--ink); }
summary:hover { text-decoration: underline; text-underline-offset: .21em; }
details > summary::marker { font-size: .79em; }
.site-header { position: sticky; top: 0; z-index: 12; background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead { min-height: 77px; display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px); }
.theatre-name { display: block; flex: none; }
.theatre-name img { width: 125px; height: auto; }
.masthead-edition { border-left: 1px solid #aaaca1; padding-left: clamp(16px, 2.2vw, 36px); font: 500 1.34rem/1.1 var(--serif); }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.7vw, 42px); margin-left: auto; }
.site-nav a { position: relative; display: grid; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }
.site-nav a[aria-current="location"] { text-decoration-color: #9c7900; text-underline-offset: .33em; }
.site-nav a:last-child { padding-left: clamp(16px, 2.6vw, 38px); border-left: 1px solid var(--line); }
.cover-wrap { padding-top: clamp(18px, 2.2vw, 33px); }
.book-cover { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.07fr); }
.cover-copy { position: relative; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; padding: clamp(30px, 3.5vw, 55px) clamp(22px, 3.65vw, 58px); background: var(--yellow); border-left: 8px solid #e5b603; }
.cover-copy::before { content: ""; position: absolute; inset: 0 auto 0 0; border-left: 1px solid #ebb800; }
.cover-author { display: flex; align-items: baseline; gap: .85em; font: 600 clamp(1.12rem, 1.6vw, 1.45rem)/1.2 var(--body); }
.cover-author span { font: 550 .69em/1 var(--body); border-left: 1px solid #8e7413; padding-left: .95em; font-variant-numeric: tabular-nums; }
.cover-copy h1 { margin: clamp(20px, 2.1vw, 34px) 0 clamp(16px, 1.5vw, 26px) -.055em; font: 400 clamp(4.55rem, 7.92vw, 8rem)/1.01 var(--poster); letter-spacing: -.055em; }
.cover-question { max-width: 28ch; font: 550 clamp(1.38rem, 2.05vw, 2rem)/1.14 var(--serif); letter-spacing: -.015em; }
.cover-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px clamp(13px, 1.6vw, 23px); margin-top: clamp(22px, 2.3vw, 35px); }
.cover-plate { display: grid; grid-template-rows: minmax(0,1fr) auto; position: relative; min-width: 0; background: #222321; }
.plate-window { position: relative; overflow: hidden; min-height: clamp(312px, 28vw, 425px); }
.plate-window img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 62%; }
.plate-window img:nth-child(2) { object-position: 58% 47%; }
.plate-window img[aria-hidden="true"] { opacity: 0; }
.plate-window img[aria-hidden="false"] { z-index: 1; }
.plate-caption { display: grid; align-items: center; min-height: 65px; padding: 9px clamp(12px, 1.5vw, 22px); background: #262724; color: white; }
.plate-credit { grid-area: 1 / 1; max-width: 48ch; font-size: .85rem; line-height: 1.28; }
.plate-credit strong, .plate-credit span { display: block; }
.plate-credit strong { font-size: 1.01rem; font-weight: 650; }
.plate-credit span { color: #dbdcd4; }

.scene-image { overflow: hidden; isolation: isolate; position: relative; aspect-ratio: 1.6; background: #403c36; }
.scene-backdrop, .stage, .stage-actor, .stage-prop { position: absolute; inset: 0; pointer-events: none; }
.scene-backdrop { background: #494943 center/cover no-repeat; transform: scale(1.02); filter: grayscale(1) brightness(.77) contrast(.78); }
.scene-backdrop[data-photo="salon"] { background-position: center 42%; filter: grayscale(.95) brightness(.63) contrast(.83); }
.scene-backdrop[data-photo="campie"] { background-position: 50% 61%; }
.scene-backdrop[data-photo="tren"] { filter: grayscale(1) brightness(.72) contrast(.76); }
.stage-actor { opacity: 0; transform-origin: 0 100%; }
.actor-cut { position: absolute; left: 0; bottom: 0; width: auto; max-width: 77%; height: 89%; transform: translateX(-50%); filter: drop-shadow(1px 0 0 #f1e7d2) drop-shadow(3px 4px 4px #19191366); }
.actor-cut img { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-actor[data-actor="aglae"] .actor-cut, .stage-actor[data-actor="pascalopol"] .actor-cut { height: 75%; }
.stage-actor[data-actor="costache"] .actor-cut { height: 72%; }
.stage-actor[data-actor="stanica"] .actor-cut { height: 78%; }
.stage-prop { opacity: 0; z-index: 120; }
.stage-prop img { position: absolute; bottom: 14%; left: 0; width: 18%; height: auto; max-height: 34%; object-fit: contain; transform: translateX(-50%) rotate(-9deg); box-shadow: 2px 3px 4px #17170e66; }
.stage-prop[data-object="bani"] img { bottom: 7%; }
.stage-prop[data-object="fotografie"] img { width: auto; height: 37%; max-height: 37%; bottom: 29%; transform: translateX(-50%) rotate(9deg); }

#personaje {
  --map-gap: clamp(44px, 5.3vw, 81px);
  --branch-arm: calc(var(--map-gap) / 2);
  --branch-joint: 2.55rem;
  --branch-line: #959488;
  padding-top: clamp(24px, 3vw, 46px);
  border-top: 1px solid var(--line);
}
.map-heading { margin-bottom: clamp(18px, 2vw, 30px); }
.map-heading p { max-width: 62ch; margin-top: 8px; color: var(--soft); font-size: 1.08rem; }
.character-map.is-interactive {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.65fr);
  grid-template-areas: "picker filters" "profile branches";
  gap: 16px var(--map-gap);
  align-items: start;
}
.character-picker { grid-area: picker; }
.character-picker label, .map-field-label { display: block; margin-bottom: 5px; font-size: .96rem; font-weight: 650; }
.character-select { position: relative; }
.character-select::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 9px;
  height: 9px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.character-picker select {
  appearance: none;
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 6px 36px 6px 12px;
  border: 1px solid #838377;
  border-radius: 0;
  background-color: var(--paper);
  color: var(--ink);
  font: 550 1.05rem/1.35 var(--body);
}
.map-filters { grid-area: filters; }
.filter-options { display: flex; flex-wrap: wrap; gap: 0 4px; }
.map-filters button {
  min-height: 46px;
  padding: 5px clamp(8px, 1.1vw, 18px);
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-weight: 550;
}
.map-filters button[aria-pressed="true"] { border-color: #8d6b00; background: #f3edda; font-weight: 700; }
.map-filters button:hover { text-decoration: underline; text-underline-offset: .2em; }
.map-profile {
  grid-area: profile;
  position: relative;
  min-width: 0;
  padding: clamp(14px, 1.5vw, 24px);
  border-top: 4px solid var(--yellow);
  background: #f3f0e5;
}
.map-profile::after, .is-interactive .map-branch::before, .is-interactive .map-branch::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.map-profile::after { top: calc(var(--branch-joint) - 4px); left: 100%; width: var(--branch-arm); border-top: 1px solid var(--branch-line); }
.profile-head { display: flex; align-items: center; gap: clamp(12px, 1.3vw, 21px); }
.profile-photo { flex: none; width: clamp(74px, 7.3vw, 110px); height: auto; aspect-ratio: 174 / 202; object-fit: cover; }
.profile-name { min-width: 0; overflow-wrap: anywhere; }
.profile-name h3 { font-size: clamp(1.7rem, 2.35vw, 2.45rem); }
.character-role { margin-top: 6px; color: #494a40; line-height: 1.35; }
.profile-bio { margin-top: 14px; border-top: 1px solid #c8c6b8; }
.profile-bio > summary { padding-bottom: 5px; }
.profile-bio p { margin: 8px 0 12px; }
.portrait-note { margin-block: 10px; border-block: 1px solid #c8c6b8; }
.portrait-note small { display: block; margin-bottom: 13px; color: var(--soft); }
.character-scene { display: inline-block; padding-block: 6px; font-weight: 650; }
.map-branches { grid-area: branches; min-width: 0; margin: 0; padding: 0; list-style: none; }
.map-branch { position: relative; border-top: 1px solid var(--line); }
.map-branch:last-child { border-bottom: 1px solid var(--line); }
.is-interactive .map-branch::before {
  top: -1px;
  bottom: -1px;
  left: calc(-1 * var(--branch-arm));
  border-left: 1px solid var(--branch-line);
}
.is-interactive .map-branch:first-child::before { top: calc(var(--branch-joint) - 1px); }
.is-interactive .map-branch:last-child::before { bottom: auto; height: var(--branch-joint); }
.is-interactive .map-branch:only-child::before { display: none; }
.is-interactive .map-branch::after {
  top: calc(var(--branch-joint) - 1px);
  right: 100%;
  width: var(--branch-arm);
  border-top: 1px solid var(--branch-line);
  transform-origin: left center;
}
.is-interactive .map-branch:has(details[open])::after { border: 1px solid #8d6b00; animation: connect-branch 240ms ease-out; }
@keyframes connect-branch { from { transform: scaleX(.05); } to { transform: scaleX(1); } }
.map-branch summary {
  display: flex;
  align-items: center;
  gap: clamp(9px, 1.1vw, 17px);
  min-height: calc(2 * var(--branch-joint));
  padding: 10px clamp(10px, 1.3vw, 22px);
  list-style: none;
}
.map-branch summary::-webkit-details-marker { display: none; }
.map-branch summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin: 0 4px 4px;
  border: solid var(--soft);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.map-branch details[open] > summary::after { transform: translateY(3px) rotate(225deg); }
.map-branch summary:hover { background: #f4f2e9; text-decoration: none; }
.map-branch details[open] { background: #f5f2e8; }
.branch-copy { flex: 1; min-width: 0; }
.branch-copy strong { display: block; font: 600 clamp(1.4rem, 1.7vw, 1.73rem)/1.13 var(--serif); letter-spacing: -.025em; }
.branch-meaning { display: block; margin-top: 4px; font: 400 1.02rem/1.37 var(--body); }
.branch-photo { width: 43px; height: 50px; object-fit: cover; flex: none; }
.branch-story { max-width: 74ch; padding: 0 clamp(10px, 1.3vw, 22px) 13px; }
.branch-story > p { padding-top: 9px; border-top: 1px solid var(--line); }
.branch-actions { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 22px; margin-top: 4px; }
.branch-actions > * {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  text-align: left;
  font: 600 .97rem/1.35 var(--body);
  text-decoration: underline;
  text-underline-offset: .2em;
}
.change-person { color: #515247; border: 0; background: transparent; }
.change-person:hover { text-decoration-thickness: 2px; }
.map-credit { margin-top: 14px; max-width: 88ch; color: var(--soft); font-size: .84rem; line-height: 1.4; }
@media (max-width: 820px) {
  #personaje { --branch-arm: 15px; --branch-joint: 2.3rem; }
  .character-map.is-interactive { grid-template-columns: minmax(0,1fr); grid-template-areas: "picker" "filters" "profile" "branches"; gap: 12px 0; }
  .character-map.is-interactive:has(.map-filters[hidden]) { grid-template-areas: "picker" "profile" "branches"; }
  .map-heading { margin-bottom: 16px; }
  .map-heading p { font-size: 1rem; }
  .character-picker { display: flex; align-items: center; gap: 12px; }
  .character-picker label { flex: none; max-width: 9ch; margin-bottom: 0; line-height: 1.2; }
  .character-select { flex: 1; min-width: 0; max-width: 27rem; }
  .map-filters button { min-height: 44px; padding-inline: 9px; }
  .profile-photo { width: 62px; }
  .map-profile { padding: 12px 16px; }
  .map-profile:has(.profile-bio:not([hidden])) { padding-bottom: 6px; }
  .profile-head { gap: 14px; }
  .profile-name h3 { font-size: 1.65rem; }
  .character-role { margin-top: 2px; font-size: .98rem; }
  .profile-bio { margin-top: 8px; }
  .profile-bio > summary { padding-block: 9px; }
  .map-profile::after { top: 100%; left: var(--branch-arm); width: 0; height: calc(12px + var(--branch-joint)); border: 0; border-left: 1px solid var(--branch-line); }
  .is-interactive .map-branches { margin-left: calc(2 * var(--branch-arm)); }
  .map-branch summary { padding-inline: 9px 5px; }
  .branch-story { padding-inline: 9px; }
  .branch-photo { width: 34px; height: 41px; }
}
@media (max-width: 374px) {
  .branch-photo { display: none; }
  .filter-options { gap: 0 2px; }
  .map-filters button { padding-inline: 7px; }
}

.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .87fr); align-items: center; gap: clamp(24px, 6vw, 88px); border-top: 1px solid var(--line); }
.visit img { width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; }
.visit figcaption { margin-top: 6px; font-size: .88rem; color: var(--soft); }
.visit h2 { margin-bottom: 15px; }
.visit-date { font-weight: 650; }
.visit p + p { margin-top: 8px; }
.visit .button { margin: 17px 18px 0 0; }
.agency-link { display: block; width: fit-content; margin-top: 12px; }
.site-footer { background: var(--paper); }
.footer-inner { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 9px; padding-block: 21px; font-size: .94rem; }
.footer-inner p span { padding-inline: 4px; }


.site-footer { border-top: 1px solid var(--line); }

.reader {
  --rail-width: clamp(175px, 14vw, 205px);
  display: grid;
  grid-template-columns: var(--rail-width) minmax(0, 1fr);
  gap: clamp(28px, 3.6vw, 58px);
  margin-block: clamp(36px, 4vw, 62px) 0;
  padding-bottom: clamp(30px, 4.5vw, 68px);
  align-items: start;
}
.reader-rail { position: sticky; z-index: 5; top: calc(var(--masthead-height, 77px) + 20px); }
.reader-rail h2 { font-size: clamp(2.15rem, 3vw, 2.8rem); padding-top: 12px; border-top: 2px solid var(--ink); margin-bottom: 11px; }
.chapter-nav summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 1px;
  color: var(--soft);
  font-size: .92rem;
  font-weight: 600;
  list-style: none;
}
.chapter-nav summary::-webkit-details-marker { display: none; }
.chapter-nav summary::after {
  content: "";
  margin-left: 2px;
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
.chapter-nav details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.current-name { display: none; }
.current-name:empty { display: none; }
.current-count { margin-left: auto; font-size: .8rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chapter-nav ol { list-style: none; padding: 4px 0 0; margin: 0; }
.chapter-nav a {
  display: grid;
  grid-template-columns: 2ch 1fr;
  gap: .65rem;
  padding: 6px 8px;
  border-left: 3px solid transparent;
  text-decoration: none;
  font-size: .99rem;
  line-height: 1.27;
}
.chapter-nav a span:first-child { align-self: baseline; color: var(--soft); font-size: .81rem; font-variant-numeric: tabular-nums; }
.chapter-nav a:hover span:last-child { text-decoration: underline; text-underline-offset: .15em; }
.chapter-nav a[aria-current] { border-color: var(--yellow); background: #f3efe0; font-weight: 700; }
.episodes { min-width: 0; }
.episode {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, .94fr);
  grid-template-areas: "head figure" "lead figure" "body figure";
  align-items: start;
  column-gap: clamp(25px, 3.55vw, 56px);
  padding-block: clamp(26px, 3.3vw, 52px) clamp(34px, 4vw, 62px);
  border-top: 1px solid var(--line);
}
.episode:first-child { padding-top: 14px; border-top: 2px solid var(--ink); }
.episode:last-child { padding-bottom: 0; }
.episode:focus:not(:focus-visible) { outline: none; }
.episode-head { grid-area: head; min-width: 0; }
.episode-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 9px; margin-bottom: 10px; font-size: .86rem; line-height: 1.4; color: var(--soft); }
.episode-meta span:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.episode-meta span + span::before { content: "·"; padding-right: 9px; }
.episode h3 { font: 550 clamp(2.35rem, 3.3vw, 3.55rem)/1.04 var(--serif); letter-spacing: -.038em; }
.episode-lead {
  grid-area: lead;
  margin-top: 15px;
  max-width: 52ch;
  font: 540 clamp(1.4rem, 1.58vw, 1.62rem)/1.33 var(--serif);
  letter-spacing: -.009em;
}
.episode-text { grid-area: body; max-width: 63ch; }
.episode-text > p:not(.chapter-ref) { margin-top: .9em; font: 400 clamp(1.05rem, 1.19vw, 1.16rem)/1.58 var(--body); }
.margin-note { margin-top: 22px; border-left: 3px solid #d5ab08; padding-left: 14px; }
.margin-note h4 { font: 680 1rem/1.25 var(--body); }
.margin-note p { margin-top: 4px; color: #45463f; font: 400 1rem/1.49 var(--body); }
.chapter-ref { margin-top: 18px; font-size: .85rem; line-height: 1.25; color: var(--soft); }
.chapter-figure {
  grid-area: figure;
  position: sticky;
  top: calc(var(--masthead-height, 77px) + 25px);
  margin-top: 2px;
  min-width: 0;
}
.chapter-figure figcaption { margin-top: 9px; font: 450 .95rem/1.4 var(--body); color: var(--soft); }
.chapter-figure .scene-caption { display: grid; font-weight: 600; color: var(--ink); }
.scene-caption > span { grid-area: 1 / 1; }
.scene-caption > [aria-hidden="true"], .plate-credit[aria-hidden="true"] { visibility: hidden; }
.figure-foot { margin-top: 4px; font-size: .85rem; line-height: 1.36; }
.archive-figure > img { width: 100%; height: auto; }
.stage-still { width: 100%; height: 100%; object-fit: cover; }
.scene-image { aspect-ratio: 1.57; }
.kin-diagram { display: grid; justify-items: center; padding: 22px 10px 20px; background: var(--wash); color: var(--ink); }
.kin-diagram img { width: clamp(48px, 4.4vw, 66px); height: auto; aspect-ratio: 6/7; object-fit: cover; }
.kin-diagram strong { font: 600 1.21rem/1.2 var(--serif); }
.kin-parent, .kin-branches > div { display: grid; justify-items: center; gap: 3px; position: relative; }
.kin-parent::after { content: ""; height: 12px; border-left: 1px solid #86877b; }
.kin-branches { display: grid; grid-template-columns: repeat(2, 1fr); width: min(94%, 265px); }
.kin-branches > div { padding-top: 12px; }
.kin-branches > div::before { content: ""; position: absolute; top: 0; left: 50%; width: 100%; height: 9px; border: solid #86877b; border-width: 1px 0 0 1px; }
.kin-branches > div:last-child::before { width: 0; border-top: 0; }
.kin-branches span { font-size: .86rem; line-height: 1.2; color: var(--soft); }
@media (max-width: 1099px), (max-height: 640px) {
  .reader { display: block; --reader-strip: 44px; margin-top: clamp(20px, 3.25vw, 38px); }
  .reader-rail {
    z-index: 8;
    top: var(--masthead-height, 72px);
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    background: var(--paper);
    border-block: 1px solid var(--line);
  }
  .reader-rail h2 { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); }
  .chapter-nav { position: relative; }
  .chapter-nav summary { min-height: var(--reader-strip); color: var(--ink); gap: 10px; }
  .current-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-left: 10px; border-left: 1px solid var(--line); color: var(--soft); font-weight: 450; }
  .reader:not(.tracks-position) .reader-rail, .reader:not(.tracks-position) .chapter-nav ol { position: static; }
  .chapter-nav ol {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
    width: min(100%, 370px);
    overflow: auto;
    overscroll-behavior: contain;
    max-height: min(60dvh, calc(100dvh - var(--masthead-height, 72px) - 60px));
    padding: 5px 8px 8px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 8px 12px #24231518;
  }
  .chapter-nav a { min-height: 40px; align-items: center; }
  .episode { scroll-margin-top: calc(var(--reader-strip) + 2px); column-gap: clamp(26px, 4vw, 46px); }
  .episode:first-child { border-top: 0; padding-top: 21px; }
  .episode h3 { font-size: clamp(2.25rem, 4.1vw, 3.3rem); }
  .chapter-figure { top: calc(var(--masthead-height, 72px) + var(--reader-strip) + 15px); }
}
@media (min-width: 1550px) and (max-height: 640px) {
  .reader-rail { margin-inline: 0; padding-inline: 0; }
}
@media (max-width: 839px) {
  :root { --gutter: clamp(16px, 3.8vw, 33px); }
  .masthead { gap: 15px; min-height: 64px; }
  .theatre-name img { width: 103px; }
  .masthead-edition { font-size: 1.16rem; padding-left: 15px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: .97rem; }
  .site-nav a:last-child { padding-left: 15px; }
  .cover-copy { padding-inline: 24px; border-left-width: 5px; }
  .cover-copy h1 { font-size: clamp(3.8rem, 8.6vw, 5.3rem); }
  .cover-question { font-size: clamp(1.33rem, 2.75vw, 1.6rem); }
  .plate-window { min-height: 260px; }
  .episode { grid-template-columns: minmax(0, 1.1fr) minmax(0, .85fr); gap: 0 22px; }

}
@media (max-width: 700px) {
  .masthead { min-height: 55px; gap: 12px; }
  .masthead-edition { display: none; }
  .theatre-name img { width: 87px; }
  .site-nav { gap: clamp(10px, 3vw, 19px); }
  .site-nav a, .site-nav a:last-child { border: 0; padding: 0; font-size: .94rem; }
  .cover-wrap { padding-top: 12px; }
  .book-cover { grid-template-columns: minmax(0, 1fr); }
  .cover-copy { padding: clamp(19px, 5.1vw, 28px); }
  .cover-author { font-size: 1.08rem; }
  .cover-copy h1 { font-size: clamp(1.95rem, 10.1vw, 4.15rem); margin-block: 11px 10px; line-height: 1.05; }
  .cover-copy h1 br { display: none; }
  .cover-question { max-width: 37ch; font-size: clamp(1.29rem, 4.7vw, 1.5rem); }
  .cover-actions { margin-top: 15px; }
  .cover-actions .button { min-height: 43px; padding: .56rem .8rem; font-size: .95rem; }
  .plate-window { min-height: 0; height: clamp(195px, 51vw, 300px); }
  .plate-caption { padding: 7px 10px; min-height: 54px; }
  .plate-credit strong { font-size: .94rem; }
  .plate-credit { font-size: .8rem; }
  .reader { --reader-strip: 42px; margin-top: 18px; }
  .episode {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "lead" "figure" "body";
    padding-block: 30px 35px;
    max-width: 62ch;
    margin-inline: auto;
  }
  .episode-meta { font-size: .83rem; gap: 2px 7px; margin-bottom: 8px; }
  .episode-meta span + span::before { padding-right: 7px; }
  .episode h3 { font-size: clamp(2.12rem, 8.35vw, 2.95rem); }
  .episode-lead { margin-top: 10px; font-size: clamp(1.32rem, 4.3vw, 1.51rem); line-height: 1.34; }
  .episode-text > p:not(.chapter-ref) { font-size: 1.08rem; line-height: 1.55; }
  .chapter-figure { position: static; margin-top: 16px; }
  .chapter-figure figcaption { font-size: .91rem; margin-top: 6px; }
  .figure-foot { font-size: .82rem; }
  .kin-diagram { padding-block: 14px; }
  .kin-diagram img { width: 52px; }
  .scene-image { aspect-ratio: 1.82; }
  .margin-note { margin-top: 17px; }
  .section { padding-block: 37px; }
  h2 { font-size: clamp(2.27rem, 8.8vw, 3.15rem); }
  .visit { grid-template-columns: minmax(0, 1fr); gap: 17px; }
}
@media (max-width: 375px) {
  :root { --gutter: 14px; }
  .theatre-name img { width: 75px; }
  .site-nav { gap: 10px; }
  .site-nav a, .site-nav a:last-child { font-size: .89rem; }
  .cover-copy { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
