/* Common stock and rules for the reading edition. The original scene graphs
   and their controls retain their own drawing surfaces. */
:root{--press-paper:#f2f0e9;--press-black:#111;--press-red:#b50920;--press-edge:clamp(20px,4.45vw,72px)}
.reader.cinema-score{font-family:Edition,Arial,sans-serif}
.reader.cinema-score .reader-header,.reader.cinema-score .reader-rail{background:#111;color:white;border-radius:0;box-shadow:none;backdrop-filter:none}
.reader.cinema-score:not(.read-mode) .book-opening{
  background:var(--press-red);color:white;padding:clamp(5rem,11svh,8rem) var(--press-edge) 2rem;min-height:94svh;isolation:isolate;
}
.reader.cinema-score .book-opening .opening-main{padding:clamp(32px,6vh,80px) 0;max-width:none}
.reader.cinema-score:not(.read-mode) .book-opening :is(.eyebrow,.book-byline,.opening-author,.opening-book-title,.opening-deck,.opening-bottom,.opening-bottom a){color:white}
.reader.cinema-score .opening-top,.reader.cinema-score .opening-bottom{border-color:currentColor}
.reader.cinema-score .opening-main .opening-title{
 font:900 clamp(3rem,7.8vw,9.6rem)/.91 Edition,Arial,sans-serif;letter-spacing:-.063em;max-width:21ch;margin:.24em 0;
}
.reader.cinema-score .opening-main .type-line,.reader.cinema-score .flow-title .type-line{max-width:100%;white-space:normal}
.reader.cinema-score .opening-main .opening-deck{max-width:45ch;font-size:clamp(1.05rem,1.6vw,1.5rem);line-height:1.32}
.reader.cinema-score:not(.read-mode) .opening-main .type-line:last-child{color:#fff;margin-inline-start:min(5vw,64px)}
.reader.cinema-score:not(.read-mode) .flow-passage{padding:0 0 clamp(72px,12vh,160px);border:0;background:transparent}
.reader.cinema-score:not(.read-mode) .flow-meta{
 background:var(--press-paper);color:#111;max-width:none;padding:16px var(--press-edge);margin:0;border-top:1px solid #111;
}
.reader.cinema-score:not(.read-mode) .flow-meta :is(a,span){color:inherit}
.reader.cinema-score:not(.read-mode) .flow-passage .flow-title{
 background:var(--press-paper);color:#111;max-width:none;margin:0;padding:clamp(48px,9vh,128px) var(--press-edge);display:grid;
 grid-template-columns:repeat(12,minmax(0,1fr));gap:24px;align-content:center;min-height:45svh;
}
.reader.cinema-score:not(.read-mode) .flow-passage .flow-title h2{
 grid-column:1 / span 10;max-width:18ch;font:900 clamp(2.65rem,6.7vw,7.5rem)/.94 Edition,Arial,sans-serif;letter-spacing:-.055em;color:inherit;text-align:left;margin:0;justify-self:start;min-width:0;
}
.reader.cinema-score:not(.read-mode) .flow-passage:nth-child(3n) :is(.flow-title,.flow-meta){background:#111;color:#fff}
.reader.cinema-score:not(.read-mode) .flow-passage:nth-child(3n) .flow-title h2{grid-column:4/-1}
.reader.cinema-score:not(.read-mode) .flow-passage.flow-turn :is(.flow-title,.flow-meta){background:var(--press-red);color:white}
.reader.cinema-score:not(.read-mode) .flow-passage .flow-content{margin:clamp(32px,6vh,80px) auto 0;width:calc(100% - 2 * var(--press-edge));max-width:78rem}
.reader.cinema-score:not(.read-mode) .flow-passage .scene-visual{border-radius:0;box-shadow:none}
.reader.cinema-score .paper-lead{font-family:Edition,Arial,sans-serif;line-height:1.4}
.reader.cinema-score :is(.carry-section,.book-guide,.workbook-keep,.related-section,.sources-section){border-top:1px solid currentColor;border-radius:0}
.reader.cinema-score :is(.carry-section,.book-guide,.workbook-keep,.book-end,.related-section) h2,.guide-reader .guide-study h2{font-family:Edition,Arial,sans-serif;font-weight:900;line-height:.98;letter-spacing:-.05em}
.reader.cinema-score :is(.workbook-keep,.book-guide,.book-end) :is(button,a,textarea),.guide-reader :is(button,textarea){border-radius:0}
.reader.cinema-score.read-mode :is(.opening-title,.flow-title h2){font-family:Edition,Arial,sans-serif;font-weight:900;letter-spacing:-.04em;line-height:1}
.scene-sticky{background:#111;--scene-red:#f00018}.scene-heading h1,.film-copy h1{font-family:Edition,Arial,sans-serif;font-weight:900;letter-spacing:-.06em;line-height:.91}
.film-scene .film-copy{border-left:5px solid #b50920;padding-left:clamp(12px,2vw,32px)}
.guide-reader .guide-hero-title{background:var(--press-red);color:white;padding:clamp(20px,4vw,64px);border:0}
.guide-reader .guide-hero-title :is(h1,p,a,em,span){color:inherit}
.guide-reader .guide-hero-title h1{font:900 clamp(3.25rem,6.7vw,8rem)/.91 Edition,Arial,sans-serif;letter-spacing:-.06em}
.guide-reader .guide-metrics{border-top:2px solid currentColor}
@media screen{
body:has(main>#guide-present){max-width:none;margin:0;padding:0;background:var(--press-paper);color:#111;font:1.125rem/1.45 Edition,Arial,sans-serif;color-scheme:light}
body:has(main>#guide-present)>nav{padding:16px var(--press-edge);background:#111;color:white}
body:has(main>#guide-present) a{color:inherit}
body:has(main>#guide-present)>main{padding:0 var(--press-edge) 4rem}
body:has(main>#guide-present)>main>:is(p:first-child,h1){background:var(--press-red);color:white;margin:0 calc(-1 * var(--press-edge));padding:40px var(--press-edge) 8px}
body:has(main>#guide-present)>main>h1{padding:24px var(--press-edge) clamp(64px,12svh,144px);font:900 clamp(3rem,9vw,10rem)/.91 Edition,Arial,sans-serif;letter-spacing:-.06em;overflow-wrap:break-word}
body:has(main>#guide-present) .presentation-launch{background:#111;color:white;margin:16px 0}
body:has(main>#guide-present) .learning-scene{color:white;background:#111}
body:has(main>#guide-present)>main>article{max-width:72rem;border-top:1px solid #111;padding:48px 0}
body:has(main>#guide-present)>main>article p{max-width:56ch}
body:has(main>#guide-present)>main textarea{max-width:56rem;background:transparent;color:#111;border:1px solid #555;border-radius:0}
}
@media(max-width:650px){
.reader.cinema-score:not(.read-mode) .flow-passage .flow-title{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;min-height:30svh;padding-block:48px}
.reader.cinema-score:not(.read-mode) .flow-passage .flow-title h2,.reader.cinema-score:not(.read-mode) .flow-passage:nth-child(3n) .flow-title h2{grid-column:1/-1;font-size:clamp(2.35rem,9.6vw,4rem)}
.reader.cinema-score .opening-main .opening-title{font-size:clamp(2.7rem,11vw,4.5rem)}
}
@media(prefers-reduced-motion:no-preference){
.reader.cinema-score:not(.read-mode) .flow-passage.flow-turn .flow-title h2{translate:calc((1 - var(--scene-progress,1)) * min(4vw,56px)) 0}
}
/* The geometry follows what the passage asks its reader to do. */
@media(min-width:900px){
.reader.cinema-score:not(.read-mode) .kind-reflection .flow-title h2{grid-column:6/-1;max-width:14ch;font-size:clamp(2.7rem,4.8vw,6rem)}
.reader.cinema-score:not(.read-mode) :is(.kind-compound,.kind-weeks,.kind-cashflow) .flow-content{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:clamp(32px,5vw,80px);align-items:center}
.reader.cinema-score:not(.read-mode) :is(.kind-compound,.kind-weeks,.kind-cashflow) .flow-content>:only-child{grid-column:1/-1}
.reader.cinema-score:not(.read-mode) .kind-practice .flow-title{border-left:solid min(4vw,60px) var(--press-red)}
}
.reader.cinema-score:not(.read-mode) .kind-reflection .flow-title{padding-block:clamp(72px,14vh,180px)}
.reader.cinema-score:not(.read-mode) .kind-compound .huge-value{font-family:Edition,sans-serif;font-weight:900;letter-spacing:-.07em}
@media(prefers-reduced-motion:no-preference) and (min-width:651px){
.reader.cinema-score:not(.read-mode) .kind-aperture .flow-title h2{letter-spacing:calc(-.055em + (1 - var(--scene-progress,1))*.035em)}
}
.reader.cinema-score .opening-main .kinetic-type :is(.type-line,.type-word),.reader.cinema-score .flow-passage .flow-title .kinetic-type :is(.type-line,.type-word){font-family:Edition,Arial,sans-serif!important;font-weight:900!important;letter-spacing:inherit;line-height:inherit}
@media(min-width:900px){
.reader.cinema-score:not(.read-mode) .opening-main{position:relative;isolation:isolate}
.reader.cinema-score:not(.read-mode) .opening-main .opening-symbol{display:block;position:absolute;inset:auto 0 4% auto;font:900 clamp(8rem,22vw,24rem)/.8 Edition,sans-serif;letter-spacing:-.08em;color:transparent;-webkit-text-stroke:1px #ffffff58;opacity:1;z-index:-1;pointer-events:none}
}
