@font-face{font-family:Manual;src:local("Aptos"),local("Segoe UI")}
:root{color-scheme:light;--ink:#261d17;--muted:#665348;--line:#eddcd0;--red:#b3270e;--paper:#fff;--wash:#fff9f2;font-family:Manual,system-ui,sans-serif}
*{box-sizing:border-box}
html{scroll-padding-top:6.75rem}
body{margin:0;background:var(--paper);color:var(--ink)}
.site-header{position:sticky;top:0;z-index:2;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line)}
.site-header::before{content:"";display:block;height:4px;background:linear-gradient(90deg,#ef0010,#f57500 62%,#ffce00)}
.masthead{max-width:88rem;height:4.55rem;margin:auto;padding:0 clamp(1.25rem,4vw,4rem);display:flex;align-items:center}
.logo{display:block;width:3.54rem;height:3.26rem;overflow:hidden;position:relative}
.logo img{width:6rem;height:6rem;max-width:none;position:absolute;left:-1.46rem;top:-1.25rem}
.layout{max-width:88rem;margin:auto;padding:clamp(1.2rem,3.5vw,3.35rem) clamp(1.25rem,4vw,4rem) 5rem;display:grid;grid-template-columns:minmax(14rem,18rem) minmax(0,1fr);gap:clamp(1.5rem,4vw,4rem);align-items:start}
.contents{position:sticky;top:7rem;max-height:calc(100vh - 8.25rem);overflow:auto;scrollbar-width:thin;padding:1rem 1.05rem 1.1rem;border:1px solid #f0dfd2;background:var(--wash);border-radius:1.15rem}
.contents summary{cursor:pointer;font-size:.94rem;font-weight:750;padding:.25rem .35rem .6rem}
.contents ul{padding:0;margin:0;list-style:none;display:grid;gap:.20rem}
.contents a{display:block;padding:.5rem .6rem;color:var(--muted);font-size:.94rem;line-height:1.36;text-decoration:none;border-radius:.45rem;border-inline-start:3px solid transparent}
.contents a:hover,.contents a[aria-current]{color:#8c240c;background:#ffe9d4;border-inline-start-color:#e5480d}
a:focus-visible,summary:focus-visible{outline:2px solid #b3270e;outline-offset:3px}
main{min-width:0}
.hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(122deg,#9d230e 2%,#b7290b 50%,#b44500);color:white;border-radius:1.4rem;padding:clamp(1.55rem,5vw,4.35rem);min-height:16rem;display:flex;align-items:center}
.hero::before,.hero::after{content:"";position:absolute;z-index:-1;border-radius:50%;pointer-events:none}
.hero::before{width:23rem;height:23rem;right:-8.5rem;top:-8rem;background:linear-gradient(140deg,#ffac0b30,#ffcf0040)}
.hero::after{width:5.5rem;height:5.5rem;right:1.5rem;bottom:-2rem;background:#ffc40055}
.hero h1{font-size:clamp(2rem,5vw,4.15rem);max-width:15ch;letter-spacing:-.055em;line-height:1.04;margin:0;font-weight:780;text-wrap:balance}
.reading{max-width:53rem;margin-inline:auto;padding-inline:clamp(0rem,1vw,1.2rem)}
.chapter{padding:1.3rem 0 0}
.chapter+.chapter{margin-top:1.45rem;border-top:1px solid var(--line)}
.chapter-title{font-size:clamp(1.55rem,2.6vw,2.05rem);line-height:1.2;letter-spacing:-.025em;margin:0 0 .65rem;text-wrap:balance}
.chapter-title::before{content:"";display:block;width:2.65rem;height:3px;margin-bottom:.55rem;border-radius:2px;background:linear-gradient(90deg,#ed0b0e,#ffb900)}
.topic{font-size:clamp(1.2rem,2vw,1.55rem);line-height:1.25;letter-spacing:-.02em;margin:1.05rem 0 .48rem;text-wrap:pretty}
.slide+.topic,.slide-transition+.topic{margin-top:.28rem}
.breaks{display:none}
p.first-slide{margin-top:0}
.subtopic{font-size:1.1rem;line-height:1.3;margin:1rem 0 .38rem}
[data-part]{overflow-wrap:anywhere;white-space:pre-wrap}
p[data-part]{margin:0 0 .64rem;font-size:1.04rem;line-height:1.65}
p.slide,.slide-marker{color:var(--red);font-weight:760;font-size:.92rem;line-height:1.35;margin-top:1.05rem;margin-bottom:.28rem}
.slide-marker{display:block}
.chapter-title+p.slide{margin-top:0}
p.slide-transition{margin-bottom:.28rem}
p.purpose{border-inline-start:4px solid #ec6921;background:var(--wash);padding:.48rem .7rem;border-radius:0 .6rem .6rem 0;margin-block:.55rem .8rem}
p.blank{min-height:.35rem;margin:0;line-height:.35rem}
p.blank+p.blank{min-height:0;line-height:0}
mark{background:#fff0be;color:inherit;padding:0 .035em}
@media(max-width:55rem){
  html{scroll-padding-top:5.4rem}
  .layout{grid-template-columns:minmax(0,1fr);gap:1rem}
  .contents{position:static;max-height:none;padding:.6rem .8rem}
  .contents summary{padding:.25rem .35rem}
  .contents[open] summary{padding-bottom:.6rem}
  .contents ul{grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr))}
  .hero{min-height:12rem}
}
@media print{
  .site-header,.contents{display:none}
  .layout{display:block;padding:0}
  .hero{background:white;color:black;padding:0;min-height:0}
  .hero::before,.hero::after{display:none}
  .hero h1{max-width:none}
  .reading{padding:0;max-width:none}
  .chapter-title,.topic,.subtopic,.slide{break-after:avoid}
}

.presentation-slide{margin:.55rem 0 .65rem;border:1px solid var(--line);border-radius:.75rem;overflow:hidden;background:var(--wash);break-inside:avoid}
.presentation-slide img{display:block;width:100%;height:auto;aspect-ratio:16/9}

:root{--ink:#242424;--muted:#4b4540;--wash:#fff;--red:#b74800;--line:#e2ded9}
.site-header,.contents,p.purpose{background:#fff}
.site-header::before,.chapter-title::before{background:#e66e14}
.contents a:hover,.contents a[aria-current]{color:#a84200;background:#fff;border-inline-start-color:#ec6f14}
.hero{display:block;max-width:53rem;min-height:0;margin-inline:auto;padding:0 clamp(0rem,1vw,1.2rem);color:var(--ink);background:#fff;border:0;border-radius:0}
.hero h1{max-width:none;font-size:clamp(1.55rem,2.6vw,2.05rem);line-height:1.2;letter-spacing:-.025em;text-wrap:pretty}
.hero::before,.hero::after{display:none}
mark{background:#fff;color:inherit;box-shadow:inset 0 -.15em #f8a45e}

/* Editorial reading layout. Slide playback has its own stylesheet. */
:root {
  --ink: #191d23;
  --muted: #515a66;
  --line: #e4e7eb;
  --red: #ad440f;
  --reading-width: 50rem;
}
.site-header {border-bottom-color: var(--line)}
.site-header::before {height: 2px; background: #c65c26}
.masthead {height: 4rem}
.layout {
  padding-top: clamp(1rem,2.8vw,2.35rem);
  grid-template-columns: minmax(13rem,16rem) minmax(0,1fr);
  gap: clamp(1.5rem,4vw,4rem);
}
.contents {
  top: 5.45rem;
  padding: .4rem .7rem .55rem 0;
  border: 0;
  border-inline-end: 1px solid var(--line);
  border-radius: 0;
}
.contents summary {padding: .2rem .55rem .65rem; font-size: .86rem; font-weight: 740}
.contents a {padding: .42rem .55rem; font-size: .9rem; border-radius: .3rem; border-inline-start-width: 2px}
.contents a:hover,.contents a[aria-current] {color:#94370a; background:#faf5f1; border-inline-start-color:#c65c26}
.hero,.reading {max-width:var(--reading-width)}
.hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.78rem,3.4vw,2.75rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.12;
}
.chapter-title {font-weight: 690; letter-spacing: -.032em}
.chapter-title::before {width:1.75rem; height:2px; background:#c65c26}
.topic,.subtopic {font-weight: 675}
p[data-part] {line-height:1.62}
p.slide,.slide-marker {font-variant-numeric:tabular-nums; color:#ad440f}
p.purpose {border-inline-start-width:2px; border-inline-start-color:#c65c26; border-radius:0; color:var(--muted)}
.presentation-slide {border-color:#e5e8eb; border-radius:.45rem}
@media(max-width:55rem){
  .layout {grid-template-columns:minmax(0,1fr);gap:.7rem}
  .contents {padding:.32rem .5rem;border:1px solid var(--line);border-radius:.4rem}
  .contents summary {padding:.28rem .35rem}
}
@media print{
  .hero,.reading {max-width:none;padding-inline:0}
}
