/* §00–§04 · cold open, welcome, what is BP, purpose, hypergamy */

.reveal .slides section { overflow: hidden; }
.reveal .slides section .fragment { transition: none; }
.gl-slot { pointer-events: none; }
.gl-slot.full { left: 0; top: 0; width: 1920px; height: 1080px; }
.gl-slot canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gl-slot.nogl::after { content: ''; position: absolute; inset: 15%; background: url('../assets/img/pills/pill-black.png') center / contain no-repeat; mix-blend-mode: multiply; }
.dark .gl-slot.nogl::after { filter: invert(1); mix-blend-mode: screen; opacity: .8; }
svg text.svg-mono, .svg-mono { font: 400 17px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; fill: var(--muted); }

/* 00 cold */
#cold .cold-tag { left: 96px; bottom: 60px; letter-spacing: .4em; }
#cold .cold-brand { left: 0; width: 1920px; top: 770px; text-align: center; font: 400 250px/.84 var(--f-display); letter-spacing: .02em; color: var(--fg); }
#cold .cold-by { right: 96px; bottom: 60px; letter-spacing: .4em; text-align: right; }

/* 01 welcome */
#welcome .w-welcome { left: 92px; top: 112px; font: 700 128px/1 var(--f-head); text-transform: uppercase; letter-spacing: -.01em; color: var(--fg); }
#welcome .w-bp { left: 60px; top: 262px; font: 400 930px/.8 var(--f-display); letter-spacing: -.012em; color: #0e0e0e; }
#welcome .w-slot { left: 560px; top: 640px; width: 700px; height: 420px; z-index: 3; }
#welcome .w-lead { left: 840px; top: 812px; z-index: 4; }
#welcome .w-ann { left: 1150px; top: 798px; z-index: 4; }
#welcome .w-file { left: 1318px; top: 200px; width: 506px; }
#welcome .w-toc li { font: 400 20px/2.05 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg2); border-bottom: 1px solid var(--line); }
#welcome .w-toc li i { font-style: normal; color: var(--on-acc); background: var(--acc); display: inline-block; width: 40px; margin-right: 14px; text-align: center; line-height: 1.55; }

/* 02.1 acronym */
#acronym .ac-what { left: 96px; top: 190px; font: 700 124px/1 var(--f-head); text-transform: uppercase; color: var(--fg); }
#acronym .ac-word { left: 80px; top: 334px; font: 400 560px/.8 var(--f-display); white-space: nowrap; color: #0e0e0e; transform-origin: 0 0; letter-spacing: -.01em; }
#acronym .ac-x { display: inline-block; overflow: hidden; vertical-align: top; white-space: nowrap; color: var(--on-acc); position: relative; }
#acronym .ac-x::before { content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: -1; background: var(--acc); -webkit-mask: var(--marker) 0 0 / 100% 100% no-repeat; mask: var(--marker) 0 0 / 100% 100% no-repeat; }
#acronym .ac-qm { color: var(--fg); display: inline-block; }
#acronym .ac-photo { left: 1380px; top: 120px; width: 480px; height: 760px; overflow: hidden; }
#acronym .ac-photo img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; }
#acronym .ac-cap { left: 1440px; top: 826px; width: 384px; }
#acronym .ac-after { left: 96px; top: 856px; width: 1240px; }

/* 02.2 definition */
#definition .def-q { left: 96px; top: 188px; width: 1500px; font-size: 58px; }
#definition .def-sub { left: 96px; top: 398px; width: 1260px; }
#definition .stats { left: 96px; top: 572px; width: 1728px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 56px; }
#definition .st-h { display: flex; justify-content: space-between; align-items: baseline; }
#definition .st-roll { font-size: 18px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
#definition .st-roll b { font-weight: 400; color: var(--on-acc); background: var(--acc); padding: 3px 7px 0; font-size: 26px; }
#definition .st-bar { height: 16px; background: var(--line); margin: 18px 0 18px; position: relative; overflow: hidden; }
#definition .st-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 50%; background: var(--fg); }
#definition .def-take { left: 96px; top: 860px; width: 1500px; }

/* 02.3 pills */
#pills .pills-slot { left: 0; top: 150px; width: 1920px; height: 470px; }
#pills .pills-cols { left: 96px; top: 628px; width: 1728px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 56px; }
#pills .pc-blue { color: var(--fg); }
#pills .pc-red { color: var(--fg); }
#pills .pc-black { --mkc: #fff; }
#pills .pills-foot { left: 96px; top: 960px; width: 1728px; color: var(--muted); }

/* 02.4 ceiling */
#ceiling .ce-q { left: 96px; top: 186px; width: 1060px; }
#ceiling .ce-q .hl { color: var(--ink); }
#ceiling .ce-q .hl b { font-weight: 400; }
#ceiling .ce-rows { left: 96px; top: 404px; width: 1060px; display: grid; gap: 40px; }
#ceiling .ce-rows .h3 { font-size: 46px; line-height: 1.08; }
#ceiling .ce-chart { left: 1300px; top: 300px; width: 524px; height: 600px; display: flex; gap: 46px; align-items: flex-end; padding-bottom: 40px; box-sizing: border-box; border-bottom: 2px solid var(--line2); }
#ceiling .ce-col { position: relative; width: 120px; height: 520px; }
#ceiling .ce-col .mono-s { position: absolute; bottom: -34px; left: 0; right: 0; text-align: center; }
#ceiling .ce-ceil { position: absolute; left: -10px; right: -10px; bottom: calc(var(--c) * 100%); border-top: 3px dashed var(--fg2); }
#ceiling .ce-fill { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--f) * 100%); background: var(--acc); }
#ceiling .ce-l1 { left: 0; top: -70px; }
#ceiling .ce-l2 { left: 0; top: -40px; }

/* 03.1 legend */
#legend .lg-h { left: 96px; top: 188px; }
#legend .lg-sub { left: 96px; top: 418px; width: 1000px; color: var(--fg2); }
#legend .lg-grid { left: 96px; top: 548px; width: 1728px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px 96px; }
#legend .lg-i .body { color: var(--fg2); }
#legend .lg-foot { left: 96px; top: 960px; color: var(--muted); }

/* 03.2 purpose */
#purpose .pu-word { left: 70px; top: 140px; font: 400 420px/.8 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; color: var(--fg); z-index: 1; }
#purpose .pu-img { left: 1150px; top: 330px; width: 674px; height: 380px; overflow: hidden; z-index: 2; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
#purpose .pu-img img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05); }
#purpose .pu-cap { left: 1150px; top: 730px; width: 674px; }
#purpose .pu-text { left: 96px; top: 548px; width: 860px; }
#purpose .pu-state { font-size: 54px; }
#purpose .pu-text .body { color: var(--fg2); }

/* 03.3 halo */
#halo .ha-h { left: 96px; top: 188px; }
#halo .ha-tag { left: 96px; top: 410px; }
#halo .ha-body { left: 96px; top: 474px; width: 700px; }
#halo .ha-svg { left: 880px; top: 150px; }
#halo .ha-ring { fill: none; stroke: var(--acc); stroke-width: 2; opacity: .9; }
#halo .ha-t { color: var(--fg); white-space: nowrap; }
#halo .ha-center { left: 1290px; top: 646px; width: 80px; text-align: center; color: var(--fg); }
#halo .ha-cites { left: 96px; top: 672px; width: 720px; }

/* 03.4 impression */
#impression .im-h { left: 96px; top: 188px; }
#impression .im-def { left: 96px; top: 318px; width: 1180px; color: var(--fg2); }
#impression .im-line { left: 96px; top: 520px; width: 1728px; height: 230px; }
#impression .im-axis { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--fg2); }
#impression .im-mark { position: absolute; top: 0; width: 330px; }
#impression .im-mark .im-dot { position: absolute; left: -11px; top: -10px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 3px solid var(--fg); box-sizing: border-box; }
#impression .im-mark.m0 .im-dot { background: var(--acc); border-color: var(--acc); }
#impression .im-mark .h3 { margin-top: 40px; font-size: 52px; }
#impression .im-mark.m0 .h3 { color: var(--on-acc); background: var(--acc); display: inline-block; padding: 6px 12px 0; }
#impression .im-mark .sm { margin-top: 10px; }
#impression .m0 { left: 0; } #impression .m1 { left: 25%; } #impression .m2 { left: 51%; } #impression .m3 { left: 78%; }
#impression .im-head { position: absolute; top: -40px; left: 0; width: 3px; height: 80px; background: var(--acc); }
#impression .im-cite { left: 96px; top: 790px; width: 1600px; }
#impression .im-take { left: 96px; top: 868px; width: 1650px; }

/* 03.5 psl */
#psl .psl-word { left: 70px; top: 176px; font: 400 400px/.8 var(--f-display); color: var(--fg); }
#psl .psl-tag { left: 640px; top: 200px; }
#psl .psl-def { left: 640px; top: 262px; width: 1100px; }
#psl .psl-scale { left: 96px; top: 560px; width: 1728px; height: 200px; }
#psl .psl-bar { position: absolute; left: 0; right: 0; top: 70px; height: 6px; background: linear-gradient(90deg, var(--fg2), var(--fg2) 70%, var(--acc)); }
#psl .psl-ticks { position: absolute; left: 0; right: 0; top: 96px; display: flex; justify-content: space-between; font: 400 64px/1 var(--f-display); color: var(--fg2); }
#psl .psl-ticks span { width: 40px; text-align: center; }
#psl .psl-ticks .avg { color: var(--fg); }
#psl .psl-ticks .theo { color: var(--on-acc); background: var(--acc); }
#psl .psl-pin { position: absolute; top: -70px; width: 360px; }
#psl .psl-pin i { position: absolute; left: 0; top: 60px; width: 3px; height: 80px; background: var(--fg); }
#psl .psl-pin .h4, #psl .psl-pin .mono { padding-left: 18px; }
#psl .psl-pin.p4 { left: calc(3 / 7 * (100% - 40px) + 20px); }
#psl .psl-pin.p8 { left: auto; right: 20px; text-align: right; }
#psl .psl-pin.p8 i { left: auto; right: -2px; background: var(--acc); }
#psl .psl-pin.p8 .h4, #psl .psl-pin.p8 .mono { padding: 0 18px 0 0; }
#psl .psl-note { left: 96px; top: 790px; color: var(--muted); }
#psl .psl-rule { left: 96px; top: 852px; width: 1700px; }
#psl .psl-rule .h2 { font-size: 72px; }

/* 03.6 ascension vs cope */
#ascension .as-q { left: 96px; top: 180px; width: 1640px; color: var(--fg2); }
#ascension .as-cols { left: 96px; top: 330px; width: 1728px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 96px; }
#ascension .as-head { display: flex; align-items: center; gap: 24px; }
#ascension .as-col:last-child .h2 { color: var(--muted); }
#ascension .as-col .sm { width: 760px; }
#ascension .as-pile { left: 0; top: 0; width: 1920px; height: 1080px; pointer-events: none; }
#ascension .as-item { position: absolute; left: 0; top: 0; white-space: nowrap; font: 400 30px/1 var(--f-body); color: var(--fg); padding: 12px 18px 11px; border: 2px solid var(--line2); background: var(--ink2); }
#ascension .as-item i { font: 400 18px var(--f-mono); color: var(--muted); font-style: normal; letter-spacing: .02em; }
#ascension .as-item.is-cope { color: var(--fg2); text-decoration: line-through; text-decoration-color: var(--x-c); text-decoration-thickness: 3px; }
#ascension .as-item.is-asc { border-color: var(--acc); }
#ascension .as-foot { left: 96px; top: 980px; color: var(--muted); }

/* 04.1 hypergamy word */
#hyper-word .hw-lead { left: 96px; top: 210px; width: 1500px; color: var(--fg2); }
#hyper-word .hw-word { left: 70px; top: 320px; font: 400 452px/.8 var(--f-display); text-transform: uppercase; white-space: nowrap; color: #000; letter-spacing: 0; }
#hyper-word .hw-word span { display: inline-block; }
#hyper-word .hw-b { position: relative; color: var(--on-acc); }
#hyper-word .hw-b::before { content: ''; position: absolute; left: -.05em; right: -.07em; top: -.07em; bottom: -.19em; z-index: -1; background: var(--mkc, var(--acc)); transform: scaleX(var(--hk, 1)) rotate(-1deg); transform-origin: 0 50%; -webkit-mask: var(--marker) 0 0 / 100% 100% no-repeat; mask: var(--marker) 0 0 / 100% 100% no-repeat; }
#hyper-word .hw-br { left: 96px; top: 712px; }
#hyper-word .hw-n1, #hyper-word .hw-n2 { top: 792px; font-size: 22px; }

/* 04.2 meaning */
#hyper-meaning .hm-lead { left: 96px; top: 190px; width: 980px; }
#hyper-meaning .hm-diag { left: 1080px; top: 230px; width: 760px; height: 560px; }
#hyper-meaning .hm-svg { position: absolute; left: 0; top: 0; }
#hyper-meaning .hm-lbl { position: absolute; left: 520px; width: 260px; }
#hyper-meaning .hm-lbl .h3 { font-size: 46px; }
#hyper-meaning .hm-lbl.l1 { top: 40px; } #hyper-meaning .hm-lbl.l2 { top: 230px; } #hyper-meaning .hm-lbl.l3 { top: 400px; }
#hyper-meaning .hm-note { left: 96px; top: 600px; width: 900px; }
#hyper-meaning .hm-note .mono { color: var(--muted); }

/* 04.3 forum version */
#hyper-forum .hf-lead { left: 96px; top: 188px; width: 1560px; }
#hyper-forum .hf-meme { left: 760px; top: 340px; width: 400px; z-index: 3; transform-origin: 0 0; }
#hyper-forum .hf-meme img { width: 400px; height: 400px; display: block; image-rendering: auto; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
#hyper-forum .hf-svg { left: 660px; top: 330px; }
#hyper-forum .hf-svg .fig { fill: var(--fg); }
#hyper-forum .hf-svg .fig.m { fill: #fff; }
#hyper-forum .hf-svg .fig.w { fill: #8a8a8a; }
#hyper-forum .hf-svg .ar { fill: none; stroke-width: 1.6; opacity: .75; }
#hyper-forum .hf-svg .ar.m { stroke: #fff; }
#hyper-forum .hf-svg .ar.w { stroke: #8a8a8a; }
#hyper-forum .hf-right .fig:not(.w) { fill: #6b6b6b; }
#hyper-forum .hf-claim { left: 96px; top: 760px; width: 470px; }

/* 04.4 receipts */
#hyper-receipts .hr-cols { left: 96px; top: 200px; width: 1728px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 96px; }
#hyper-receipts .hr-card { border: 2px solid var(--line2); padding: 30px 32px; background: rgba(255,255,255,.02); }
#hyper-receipts .hr-curves { display: block; }
#hyper-receipts .hr-cav li { color: var(--fg2); margin-bottom: 8px; }

/* 04.5 take */
#hyper-take .ht-tag { left: 96px; top: 180px; }
#hyper-take .ht-h { left: 96px; top: 240px; width: 1700px; }
#hyper-take .ht-body { left: 96px; top: 800px; width: 1360px; }
#hyper-take .ht-foot { left: 96px; top: 990px; color: var(--muted); }

/* LACK / ILL: grow the clipped box so the marker covers the cap tops */
#acronym .ac-x { padding: .08em 0; margin: -.08em 0; }
#oily .oi-h { line-height: 1 !important; }
#acne-why .aw-h { line-height: 1.12 !important; }
