:root{--ink:#103a36;--paper:#f8f1e4;--rust:#a2382a;--gold:#e8c585;--serif:"Yu Mincho","Hiragino Mincho ProN",serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.85 "Yu Gothic","Hiragino Kaku Gothic ProN",Meiryo,sans-serif}
a{color:inherit;text-underline-offset:.28em}
a:focus-visible{outline:3px solid currentColor;outline-offset:4px}
img{display:block;width:100%;object-fit:cover}
h1,h2,h3,p,figure,dl,dd{margin:0}
h1,h2,h3{word-break:auto-phrase;text-wrap:balance;line-break:strict}
h1,h2{font-family:var(--serif);line-height:1.24}
.mast{padding:.8rem clamp(1.25rem,5vw,5.5rem);display:flex;justify-content:space-between;align-items:center;gap:1rem;font-size:.82rem}
.wordmark{font-family:var(--serif);font-size:1.15rem;font-weight:800;text-decoration:none}
.cover{position:relative;background:#102e2a;color:#fff5e3;isolation:isolate}
.cover-photo{position:absolute;inset:0 0 auto;height:100%;z-index:-2;object-position:center}
.cover::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0c2926fa,#0c2926e8 29%,#0c292638 76%),linear-gradient(0deg,#0c2926 0%,transparent 42%);z-index:-1}
.cover-body{max-width:1440px;margin:auto;padding:clamp(5rem,10vw,10rem) clamp(1.25rem,8vw,8rem) clamp(4.5rem,8vw,7rem)}
.label{font-weight:800;font-size:.78rem;letter-spacing:.13em;color:var(--rust);margin-bottom:.9rem}
.cover .label,.dark .label{color:#f4cf88}
h1{font-size:clamp(3.1rem,7.5vw,8rem);letter-spacing:-.05em}
.deck{font-size:clamp(1.1rem,2.2vw,1.65rem);margin:1.5rem 0 2rem;font-weight:600}
.button{display:inline-flex;align-items:center;justify-content:space-between;gap:2rem;min-height:48px;background:var(--gold);color:#173832;text-decoration:none;font-weight:800;padding:.7rem 1.15rem}
.button:hover{background:#f8e1ab}
nav{margin:auto;max-width:1440px;display:grid;grid-template-columns:repeat(4,1fr);padding:0 clamp(1.25rem,8vw,8rem) 2.2rem}
nav a{display:flex;align-items:center;min-height:46px;border-top:1px solid #f4dfaa75;font-size:.85rem;text-decoration:none}
nav a:hover{text-decoration:underline}
.chapter{padding:clamp(3.5rem,7vw,7rem) clamp(1.25rem,8vw,8rem);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(2rem,5vw,5rem)}
.chapter.reverse .writing{order:2}
.paper{background:var(--paper)}
.dark{background:var(--ink);color:#fff5e3}
.gold{background:#ead4a7}
h2{font-size:clamp(2rem,3.8vw,4.2rem);letter-spacing:-.055em;margin-bottom:1.35rem}
h3{font-size:1.15rem;margin-top:1.1rem}
.writing p:not(.label){margin-top:.8rem}
.intro{font-size:1.12rem;font-weight:700}
.chapter figure img{aspect-ratio:4/3}
figcaption{margin-top:.6rem;font-size:.77rem;line-height:1.5}
.source{display:inline-block;margin-top:1.3rem;font-weight:700;font-size:.85rem}
.links{display:flex;gap:0 1.3rem;flex-wrap:wrap}
.atlas{display:block;background:#173f38}
.atlas .writing{max-width:46rem}
.atlas-list{display:grid;grid-template-columns:1fr 1fr;gap:0 3rem;margin-top:2rem}
.atlas-list div{padding:1rem 0;border-top:1px solid #e8c58577}
dt{font-weight:800;color:#f4cf88}
dd{font-size:.94rem}
.atlas>.source{margin-right:1.5rem}
.image-note{font-size:.78rem}
.finale .button{margin-top:1.35rem}
@media(max-width:760px){
.cover-photo{height:60%;object-position:58% top}
.cover::after{background:linear-gradient(0deg,#0c2926 35%,#0c292675 82%,#0c292633)}
.cover-body{padding-top:8rem;padding-bottom:2.5rem}
nav{grid-template-columns:repeat(2,1fr);column-gap:.9rem}
nav a{font-size:.78rem}
.chapter{grid-template-columns:1fr;gap:1.35rem}
.chapter.reverse .writing{order:0}
.atlas-list{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media(max-width:760px){
  .cover-photo{height:420px;object-position:72% 35%}
  .cover::after{background:linear-gradient(0deg,#0c2926 44%,#0c2926de 66%,#0c29264d 100%)}
  .cover-body{padding-top:9.2rem}
}
