@font-face { font-family: 'Brygada 1918'; font-style: italic; font-weight: 400 700; font-display: swap; src: url(fonts/brygada1918-italic-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Brygada 1918'; font-style: italic; font-weight: 400 700; font-display: swap; src: url(fonts/brygada1918-italic-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Brygada 1918'; font-style: italic; font-weight: 400 700; font-display: swap; src: url(fonts/brygada1918-italic-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: 'Brygada 1918'; font-style: italic; font-weight: 400 700; font-display: swap; src: url(fonts/brygada1918-italic-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: 'Brygada 1918'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/brygada1918-normal-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Brygada 1918'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/brygada1918-normal-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Brygada 1918'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/brygada1918-normal-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: 'Brygada 1918'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/brygada1918-normal-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: 'Sofia Sans Condensed'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/sofiasanscondensed-normal-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Sofia Sans Condensed'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/sofiasanscondensed-normal-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Sofia Sans Condensed'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/sofiasanscondensed-normal-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: 'Sofia Sans Condensed'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/sofiasanscondensed-normal-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: 'Ponomar'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ponomar-full.woff2) format('woff2'); unicode-range: U+0300-036F, U+0400-052F, U+1C80-1C8A, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F, U+20B4, U+2116; }
:root{--soot:#0b0908;--bg:#0b0908;--bg2:#15110e;--ink:#ede6d6;--muted:#a59b8d;--line:#3a2f27;--velvet:#5e1220;--accent:#e0573b;--lapis:#3f6fb0;--murex:#8a3f74;--gold:#c9a227;--plate:#120e0c;
 --serif:'Brygada 1918',Georgia,serif;--sans:'Sofia Sans Condensed','Arial Narrow',sans-serif;--slav:'Ponomar','Brygada 1918',serif;--to-top-bg:#0b0908;--to-top-fg:#ede6d6;color-scheme:dark}
html.light{--bg:#e9e6df;--bg2:#dedad1;--ink:#191512;--muted:#5c5348;--line:#c4bcb0;--accent:#a8321d;--plate:#d6d1c6;--to-top-bg:#e9e6df;--to-top-fg:#191512;color-scheme:light}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%;scroll-padding-top:56px}
body{margin:0;background:var(--bg);color:var(--ink);font:400 1.1875rem/1.62 var(--serif);font-feature-settings:"onum" 1;overflow-x:hidden}
a{color:inherit;text-decoration-color:var(--gold);text-underline-offset:.18em;text-decoration-thickness:1px}
a:hover{color:var(--accent)}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.skip{position:absolute;left:-999px;top:0;background:var(--accent);color:#fff;padding:.5rem 1rem;z-index:50}.skip:focus{left:1rem}
img{max-width:100%;height:auto;display:block}

/* topbar */
.topbar{position:fixed;inset:0 0 auto 0;height:48px;display:flex;align-items:center;gap:1.1rem;padding:0 1.1rem;z-index:30;font:500 .82rem/1 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:#ede6d6;background:linear-gradient(#0b0908e6,#0b090800)}
html.past header.topbar{background:var(--bg);color:var(--ink);border-bottom:1px solid var(--line)}
.topbar a{text-decoration:none;color:inherit}.topbar a:hover{color:var(--accent)}
.home{display:flex;align-items:center;gap:.5rem}.home svg{width:20px;height:20px;color:var(--gold)}
.topnav{display:flex;gap:1rem}.spacer{flex:1}
.icon-btn{background:none;border:0;color:inherit;width:44px;height:44px;display:grid;place-items:center;cursor:pointer;margin-right:-10px}
.progress{position:absolute;left:0;right:0;bottom:0;height:2px}.progress i{display:block;height:100%;background:var(--gold);transform-origin:0 50%;transform:scaleX(0);opacity:.8}

/* the book */
.book{position:relative;height:100vh;height:100svh;min-height:560px;background:var(--soot);color:#ede6d6;display:grid;grid-template-columns:minmax(300px,34%) 1fr;grid-template-rows:1fr auto;outline:none}
html.light .book{background:#1a1612}
.book-text{grid-column:1;grid-row:1;align-self:center;padding:56px 1.5rem 0 3rem;max-width:36rem;position:relative;z-index:2}
.kicker{font:600 .78rem/1.3 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:#b9ad9b;margin:0 0 1.1rem}
.kicker .sep{color:var(--gold);font-style:normal}
h1{font:600 clamp(2.4rem,4.3vw,4.6rem)/1.02 var(--serif);letter-spacing:-.012em;margin:0 0 1.2rem;text-wrap:balance}
h1 em{font-style:italic;font-weight:500;color:#e8c766}
.deck{font-size:1.08rem;line-height:1.55;color:#d8cfbf;margin:0 0 1.4rem;max-width:30rem;text-wrap:pretty}
.hint{font:600 .74rem/1.4 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:#a59b8d;margin:0}
.hint kbd{font:inherit;color:#d8cfbf}
.leafbox{grid-column:2;grid-row:1;position:relative;display:flex;align-items:center;justify-content:center;padding:64px 2rem 18px 2rem;min-height:0;overflow:hidden}
.leafwrap{position:relative;line-height:0}
#leaf-gl,#leaf-img{display:block;border-radius:1px;touch-action:none;cursor:crosshair}
#leaf-img{display:none}
.flat #leaf-gl{display:none}.flat #leaf-img{display:block}
.leafwrap{box-shadow:0 30px 80px -20px #000,0 0 0 1px #000}
.leafwrap::after{content:"";position:absolute;inset:-1px;pointer-events:none;box-shadow:inset 0 0 26px 8px #0b0908b0}
#leaf-gl:focus-visible{outline:1px solid #c9a227;outline-offset:4px}
.turning #leaf-gl,.turning #leaf-img{opacity:.0;transform:translateX(10px)}
#leaf-gl,#leaf-img{transition:opacity .18s ease,transform .26s ease}
@media (prefers-reduced-motion:reduce){#leaf-gl,#leaf-img{transition:none}.turning #leaf-gl,.turning #leaf-img{opacity:1;transform:none}}
#loupe{position:absolute;left:0;top:0;width:clamp(150px,22vw,260px);height:clamp(150px,22vw,260px);border-radius:50%;box-shadow:0 0 0 1px #c9a22799,inset 0 0 0 1px #fff3,inset 0 0 18px #0006,0 14px 40px #000c;background-repeat:no-repeat;pointer-events:none;z-index:4;will-change:transform}
.looking #leaf-gl{cursor:none}
.bar{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.9rem;padding:.4rem 1.2rem .9rem 3rem;font:500 .8rem/1.3 var(--sans);letter-spacing:.06em;color:#b9ad9b}
.turn{display:flex;gap:.3rem;align-items:center}
.bar button{font:600 .76rem/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;background:none;color:#ede6d6;border:1px solid #3a2f27;min-height:36px;padding:0 .8rem;cursor:pointer;border-radius:2px}
.bar button:hover{border-color:var(--gold)}
.bar button[aria-pressed="true"]{background:#ede6d6;color:#0b0908;border-color:#ede6d6}
#scan-out{font-variant-numeric:tabular-nums;min-width:13ch;text-align:center;white-space:nowrap;color:#ede6d6}
.edge-wrap{display:flex;flex-direction:column;gap:.3rem;min-width:0}
#edge{position:relative;height:54px;cursor:pointer;touch-action:none;outline-offset:2px}
#edge-cv{width:100%;height:100%;display:block}
#edge-cur{position:absolute;top:-5px;bottom:-5px;width:3px;margin-left:-1.5px;background:#ffe2a8;pointer-events:none;box-shadow:0 0 10px 2px #ffb45a99}
#leaf-cap{margin:0;color:#a59b8d;line-height:1.3}
.edge-key{display:flex;gap:1rem;color:#8c8377;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase}
.edge-key i{display:inline-block;width:.7em;height:.7em;margin-right:.35em;vertical-align:-.05em}
#book-status{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* chapters */
main{display:block}
.ch{padding:clamp(4.5rem,10vh,7.5rem) clamp(1rem,5vw,4rem) 0;max-width:76rem;margin:0 auto;position:relative}
.ch.wide{max-width:60rem}
.plate img[src*='church']{filter:saturate(.55) contrast(1.05) brightness(.92)}
.ch-head{max-width:44rem;margin:0 0 2rem}
.tag{font:600 .76rem/1.3 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin:0 0 .7rem}
h2{font:600 clamp(1.9rem,3.4vw,3rem)/1.08 var(--serif);margin:0;text-wrap:balance}
h3{font:600 1.25rem/1.25 var(--serif);margin:2rem 0 .6rem}
.prose p{margin:0 0 1.15em;max-width:40rem}
.prose{min-width:0}
.cols{display:grid;grid-template-columns:minmax(0,40rem) minmax(0,1fr);gap:clamp(1.5rem,4vw,4rem);align-items:start}
.cols.rev{grid-template-columns:minmax(0,1fr) minmax(0,40rem)}.cols.rev>.prose{order:2}
.plate{margin:0;padding:0}
.plate img{width:100%}
figcaption{font:500 .9rem/1.45 var(--sans);letter-spacing:.02em;color:var(--muted);padding:.6rem 0 0;border-top:1px solid var(--line);margin-top:.5rem}
.credit{display:block;opacity:.8;font-size:.78rem}
.open{font:600 .78rem/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;display:inline-flex;align-items:center;gap:.45rem;text-decoration:none;border-bottom:1px solid var(--gold);padding:.35rem 0;color:var(--ink)}
.open::before{content:"";width:.55rem;height:.55rem;border-radius:50%;background:radial-gradient(circle at 40% 40%,#ffe2a8,#c9a227 60%,#0000 70%)}
.full{margin:2.5rem calc(-1*clamp(1rem,5vw,4rem)) 0;position:relative}
.full img{width:100%;max-height:92vh;object-fit:cover;object-position:50% 40%}
.full figcaption{padding:.6rem clamp(1rem,5vw,4rem) 0}
.quote{font:italic 500 1.25rem/1.4 var(--serif);color:var(--muted);border-left:2px solid var(--velvet);padding:.2rem 0 .2rem 1.2rem;margin:1.6rem 0;max-width:36rem}
.quote cite{display:block;font:400 1.02rem/1.5 var(--serif);font-style:normal;color:var(--ink);margin-top:.6rem}
.slav{font-family:var(--slav);font-size:1.12em;font-style:normal}

/* the finding */
.finding{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);margin:2rem 0}
.finding div{background:var(--bg);padding:1.1rem 1rem 1rem}
.finding b{display:block;font:600 clamp(1.7rem,3vw,2.5rem)/1 var(--serif);font-variant-numeric:lining-nums tabular-nums;margin-bottom:.45rem}
.finding span{font:500 .95rem/1.35 var(--sans);color:var(--muted);display:block}
.finding b{color:var(--gold)}
html.light .finding b{color:#8a6a0c}
.rank{list-style:none;padding:0;margin:1.5rem 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:.8rem}
.rank li{margin:0}.rank a{display:block;text-decoration:none}.rank img{width:100%;aspect-ratio:3/4;object-fit:cover;background:#000}
.rank span{display:block;font:500 .78rem/1.3 var(--sans);color:var(--muted);padding-top:.35rem}
.rank b{color:var(--ink);font-weight:600}
details.method{border-top:1px solid var(--line);margin-top:2rem;padding-top:1rem;max-width:44rem}
details.method summary{cursor:pointer;font:600 .86rem/1.4 var(--sans);letter-spacing:.1em;text-transform:uppercase}
details.method p{font-size:1rem}
.tbl{width:100%;border-collapse:collapse;font:500 .95rem/1.4 var(--sans);margin:1rem 0;max-width:40rem}
.tbl th,.tbl td{text-align:left;padding:.45rem .6rem .45rem 0;border-bottom:1px solid var(--line)}
.tbl td.n,.tbl th.n{text-align:right;font-variant-numeric:tabular-nums}
.tbl caption{caption-side:bottom;text-align:left;color:var(--muted);font-size:.82rem;padding-top:.5rem}
.bars{width:12rem}.bars i{display:inline-block;height:.7em;background:#c9a227;opacity:.85;vertical-align:baseline}

/* margin note strip */
.strip{margin:2rem 0 0;overflow-x:auto;-webkit-overflow-scrolling:touch}
.strip img{max-width:none;height:auto;width:100%}

/* colophon */
.colo{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(1.5rem,4vw,3.5rem);align-items:start;margin-top:1rem}
.colo figure{margin:0;position:sticky;top:60px}
.colo-lines{list-style:none;padding:0;margin:0;counter-reset:l}
.colo-line{padding:.8rem 0 .9rem 1rem;border-left:2px solid var(--line);cursor:default;transition:border-color .2s}
.colo-line.on,.colo-line:hover{border-color:var(--gold)}
.colo-line .slav{display:block;font-size:1.08rem;line-height:1.45;color:var(--muted);margin-bottom:.35rem}
.colo-line p{margin:0;font-size:1.02rem}
.colo-line.key p{font-weight:500}
.colo-line mark{background:none;color:var(--gold);font-weight:600}
html.light .colo-line mark{color:#8a6a0c}

/* share, sources, footer, rail */
.share-row{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}
.share-row .lbl{font:600 .78rem/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-right:.4rem}
.share-row a,.share-row button{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:none;color:var(--ink);cursor:pointer}
.share-row svg{width:19px;height:19px}
.share-row a:hover,.share-row button:hover{border-color:var(--accent);color:var(--accent)}
#share-status{font:500 .86rem var(--sans);color:var(--muted);min-height:1.2em}
.sources ol,.sources ul{font-size:.95rem;line-height:1.5;padding-left:1.2rem}.sources li{margin:0 0 .5rem}
.narrow{max-width:46rem}
footer{max-width:76rem;margin:5rem auto 0;padding:1.6rem clamp(1rem,5vw,4rem) 3rem;border-top:1px solid var(--line);display:flex;gap:1.4rem;flex-wrap:wrap;font:500 .86rem var(--sans);color:var(--muted)}
footer span{flex:1;min-width:14rem}
.rail{position:fixed;right:14px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:12px;z-index:20;opacity:0;pointer-events:none;transition:opacity .3s}
.rail.vis{opacity:1;pointer-events:auto}
.rail a{position:relative;display:block;width:11px;height:11px;border-radius:50%;border:1px solid var(--muted);background:var(--bg)}
.rail a.on{background:var(--gold);border-color:var(--gold)}
.rail a span{position:absolute;right:20px;top:50%;transform:translateY(-50%);white-space:nowrap;font:600 .74rem/1 var(--sans);letter-spacing:.08em;text-transform:uppercase;background:var(--bg);padding:.35rem .5rem;border:1px solid var(--line);opacity:0;pointer-events:none}
.rail a:hover span,.rail a:focus-visible span{opacity:1}
@media (max-width:1180px){.rail{display:none}}

/* phone and tablet */
@media (max-width:900px){
 .topnav{display:none}
 .book{grid-template-columns:1fr;grid-template-rows:auto auto auto;height:auto;min-height:0}
 .leafbox{grid-column:1;grid-row:1;height:58svh;padding:54px .6rem 8px}
 .book-text{grid-column:1;grid-row:3;padding:1.4rem 1rem 1.6rem;align-self:start}
 .bar{grid-row:2;grid-template-columns:1fr auto;padding:.3rem .8rem .2rem;gap:.5rem}
 .edge-wrap{grid-column:1/-1;grid-row:2}
 .turn{grid-row:1}
 h1{font-size:clamp(2.1rem,9vw,3rem)}
 .cols,.cols.rev,.colo{grid-template-columns:1fr}.cols.rev>.prose{order:0}
 .colo figure{position:static}
 .finding{grid-template-columns:repeat(2,minmax(0,1fr))}
 .edge-key{display:none}
 body{font-size:1.09rem}
}
@media print{.topbar,.rail,.bar,#loupe{display:none}.book{height:auto}}
