
/* THE DESCENT: progressive archive below the existing homepage */
.descent-panel{padding:clamp(3rem,8vw,8rem) max(20px,calc((100vw - 940px)/2));background:#080808;color:#ddd;overflow:hidden}
.descent-panel__intro{max-width:640px;margin:0 auto 5rem;text-align:center}
.descent-panel__eyebrow,.descent-entry__index,.descent-entry__track,#descent-status{font:11px/1.6 monospace;letter-spacing:.16em;color:#888}
.descent-panel h2{font-size:clamp(2.8rem,9vw,7rem);line-height:.95;margin:.7rem 0 1.8rem;color:#f0f0f0}
.descent-panel__intro p:last-child{font-size:1rem;line-height:1.8;color:#aaa}
.descent-entry{max-width:760px;margin:0 auto clamp(6rem,15vh,12rem);text-align:center}
.descent-entry img{display:block;max-width:100%;width:auto;max-height:78vh;margin:1.2rem auto 2rem;object-fit:contain;box-shadow:0 12px 65px #000}
.descent-entry__note{font:clamp(1.05rem,2.1vw,1.45rem)/1.7 Georgia,serif;max-width:560px;margin:0 auto;color:#ddd}
.descent-entry__track{margin:2rem auto .7rem;color:#a8a8a8}
.descent-entry audio{display:block;max-width:100%;width:380px;margin:0 auto}
.descent-entry--depth-2 img{filter:contrast(1.09) saturate(.83)}
.descent-entry--depth-3 img{filter:contrast(1.15) saturate(.68)}
#descent-status{text-align:center;padding:2rem 0 5rem}
#descent-sentinel{height:2px}
@media(prefers-reduced-motion:reduce){.descent-entry{scroll-behavior:auto}}


/* The Descent: variations, echoes, and progressive structural decay. */
.descent-panel{position:relative;isolation:isolate}
.descent-entry{position:relative;transition:filter .6s ease;overflow:visible}
.descent-entry--image:nth-child(3n){max-width:95vw}
.descent-entry--image:nth-child(3n) img{max-height:96vh}
.descent-entry--image:nth-child(5n){max-width:420px;margin-left:5%}
.descent-entry--image:nth-child(7n){margin-right:1%;margin-left:auto}
.descent-entry--statement{min-height:70vh;display:flex;flex-direction:column;justify-content:center}
.descent-statement{font:clamp(2rem,5vw,5.5rem)/1.13 Georgia,serif;letter-spacing:-.035em;max-width:900px;margin:3rem auto;color:#ecebe5;text-wrap:balance}
.descent-diptych{display:grid;grid-template-columns:1fr 1fr;gap:clamp(6px,2vw,30px);align-items:center}
.descent-diptych img{width:100%;max-height:65vh;object-fit:cover}
.descent-diptych img:last-child{transform:translateY(12%)}
.descent-entry--recording{min-height:55vh;display:flex;flex-direction:column;justify-content:center}
.descent-record{border:1px solid #555;padding:clamp(24px,6vw,65px);max-width:610px;margin:2rem auto;background:linear-gradient(130deg,#1b1b1b,#080808)}
.descent-record__title{font:clamp(1.8rem,4vw,3rem)/1.1 Georgia,serif;margin:1rem auto}
.descent-record audio{width:100%;max-width:380px;display:block;margin:1.5rem auto;filter:grayscale(1)}
.descent-record__disclaimer{font:10px/1.6 monospace;color:#777;letter-spacing:.08em}
.descent-entry--echo{min-height:80vh;display:flex;flex-direction:column;justify-content:center}
.descent-echo{display:flex;flex-direction:column;gap:.4rem;font:bold clamp(2rem,8vw,7rem)/.92 Arial,sans-serif;letter-spacing:-.075em;text-transform:uppercase;color:#eee}
.descent-echo span:nth-child(2){opacity:.18}
.descent-echo__broken{transform:scaleX(.93) skewY(-2deg);opacity:.62}
.descent-entry--interruption{min-height:90vh;display:flex;flex-direction:column;justify-content:center}
.descent-interruption{border-top:1px solid #777;border-bottom:1px solid #777;padding:5rem 0;transform:rotate(-1deg)}
.descent-interruption p:first-child{font:bold clamp(1.8rem,5vw,5rem)/1 Arial,sans-serif;letter-spacing:-.05em}
.descent-interruption p:last-child{font:clamp(1rem,2vw,1.5rem)/1.5 Georgia,serif;max-width:560px;margin:3rem auto 0}
.descent-panel[data-depth="2"]{background:#0d0d0c}
.descent-panel[data-depth="3"]{background:repeating-linear-gradient(0deg,#090909 0px,#090909 5px,#0c0b0b 6px,#090909 7px)}
.descent-panel[data-depth="4"]{background:#0c0a0c}
.descent-panel[data-depth="3"] .descent-entry__index,.descent-panel[data-depth="4"] .descent-entry__index{letter-spacing:.42em;color:#8e8186}
.descent-entry--depth-3.descent-entry--image img{filter:grayscale(.65) contrast(1.35)}
.descent-entry--depth-4.descent-entry--image img{filter:grayscale(.9) contrast(1.5)}
.descent-entry--depth-4 .descent-entry__note{letter-spacing:.035em}
@media(max-width:600px){.descent-entry--image:nth-child(5n){margin-left:auto}.descent-diptych{grid-template-columns:1fr 1fr}.descent-statement{font-size:clamp(1.8rem,8vw,3.5rem)}}
@media(prefers-reduced-motion:reduce){.descent-entry,.descent-echo__broken{transition:none;transform:none}}

/* Recovered apothecary formulary cards */
.descent-entry--recipe{min-height:60vh;display:flex;flex-direction:column;justify-content:center}
.descent-prescription{width:min(100%,520px);margin:2rem auto;padding:clamp(24px,5vw,48px);text-align:left;color:#26372c;background:#e8ddbb;border:7px double #9d8c65;box-shadow:8px 14px 35px #000a;transform:rotate(-.6deg)}
.descent-prescription__heading{font:10px/1.5 monospace;letter-spacing:.14em;border-bottom:1px solid #8b8066;padding-bottom:14px}
.descent-prescription h3{font:normal clamp(1.8rem,4vw,3rem)/1.1 Georgia,serif;margin:24px 0}
.descent-prescription ul{list-style:none;margin:0 0 22px;padding:0}
.descent-prescription li{font:16px/1.55 Georgia,serif;border-bottom:1px dotted #b7a983;padding:5px 0}
.descent-prescription__note{font:italic 13px/1.5 Georgia,serif;color:#81442c}
.descent-prescription a{font:11px/1.5 monospace;letter-spacing:.06em;color:#5d3021;text-decoration:underline;text-underline-offset:4px}
.descent-prescription--aged{background:repeating-linear-gradient(175deg,#d1c5a7 0,#d1c5a7 2px,#cbbd9c 3px,#d1c5a7 5px);border-color:#72654f;transform:rotate(1.3deg)}
.descent-entry--depth-4 .descent-prescription{filter:contrast(1.15) sepia(.35)}
@media(prefers-reduced-motion:reduce){.descent-prescription{transform:none}}

/* Depth-weighted architectural typography */
.descent-entry--marginalia,.descent-entry--shaft,.descent-entry--negative,.descent-entry--footnote,.descent-entry--redaction,.descent-entry--corridor{min-height:90vh;max-width:1000px;display:flex;flex-direction:column;justify-content:center}
.arch-marginalia,.arch-negative,.arch-footnote,.arch-redaction,.arch-corridor{min-height:75vh;position:relative}
.arch-marginalia{display:grid;grid-template-columns:20% 1fr;gap:8%;text-align:left;align-items:start;padding-top:15vh}
.arch-marginalia aside{font:11px/1.7 monospace;color:#aaa;writing-mode:vertical-rl;transform:rotate(180deg);max-height:65vh;overflow:hidden}
.arch-marginalia>p{font:clamp(1.5rem,3vw,3rem)/1.25 Georgia,serif;margin-top:20vh}
.arch-shaft{min-height:110vh;width:clamp(95px,13vw,170px);margin:auto;border-left:1px solid #666;border-right:1px solid #666;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:4vh 8px}
.arch-shaft p{font:clamp(14px,1.5vw,18px)/2 Georgia,serif;overflow-wrap:anywhere}
.arch-shaft small,.arch-negative small,.arch-footnote small,.arch-redaction small,.arch-corridor small{font:10px/1.5 monospace;letter-spacing:.1em;color:#aaa}
.arch-negative figure{position:absolute;right:0;top:0;width:min(35%,290px);margin:0}
.arch-negative img{max-width:100%;max-height:32vh;margin:0}
.arch-negative figcaption{font:11px/1.5 monospace;color:#aaa}
.arch-negative>small{position:absolute;bottom:3%;left:0;max-width:160px;text-align:left}
.arch-footnote{display:grid;grid-template-columns:1fr 30%;gap:7%;text-align:left;padding-top:10vh}
.arch-footnote>p{font:clamp(2rem,5vw,5rem)/1.13 Georgia,serif;margin:0}
.arch-footnote sup{font:12px monospace}
.arch-footnote aside{border-top:1px solid #aaa;margin-top:25vh;padding-top:12px;font:15px/1.6 Georgia,serif}
.arch-redaction{display:flex;flex-direction:column;justify-content:center;text-align:left}
.arch-redaction>p{font:clamp(2rem,5vw,5rem)/1.5 Georgia,serif;overflow-wrap:anywhere}
.arch-blackout{background:#ddd;color:transparent;white-space:nowrap;user-select:none;font-size:.7em}
.arch-corridor{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2rem;overflow:hidden}
.arch-corridor p{font:clamp(1.2rem,3vw,2.7rem)/1.2 Georgia,serif;margin:0;max-width:85%}
.arch-corridor p:nth-child(2){transform:scale(.75);opacity:.65}
.arch-corridor p:nth-child(3){transform:scale(.5);opacity:.35}
.arch-corridor p:nth-child(4){transform:scale(.25);opacity:.16}
@media(max-width:600px){.arch-footnote{grid-template-columns:1fr}.arch-footnote aside{margin-top:2vh}.arch-marginalia{grid-template-columns:50px 1fr}.arch-negative figure{width:45%}.arch-shaft{min-height:85vh}}
@media(prefers-reduced-motion:reduce){.arch-marginalia aside{transform:none;writing-mode:horizontal-tb}}

/* Physical disorientation: the page stays scrollable; the documents do not. */
.descent-entry--inversion,.descent-entry--sideways,.descent-entry--stack,.descent-entry--orbit,.descent-entry--dislocation{max-width:min(100%,1050px);min-height:110vh;display:flex;flex-direction:column;justify-content:center;overflow:clip}
.arch-violent{position:relative;min-height:95vh;width:100%;isolation:isolate}
.arch-inversion{display:flex;flex-direction:column;align-items:center;justify-content:center}
.arch-inversion>p:first-child{font:clamp(2rem,5.5vw,5.5rem)/1.12 Georgia,serif;max-width:90%;transform:rotate(180deg);margin:3rem auto}
.arch-inversion small{font:10px/1.5 monospace;letter-spacing:.2em;color:#888}
.arch-inversion__ghost{font:clamp(1rem,2vw,2rem)/1.2 Georgia,serif;opacity:.18;transform:scaleX(-1);max-width:65%;margin:6vh auto}
.arch-sideways{display:flex;align-items:center;justify-content:center;min-height:115vh}
.arch-sideways>p{font:clamp(2.3rem,5vw,5.3rem)/1.15 Georgia,serif;width:min(85vh,620px);max-width:none;transform:rotate(-90deg);margin:0}
.arch-sideways>span{position:absolute;left:0;top:6%;font:10px monospace;letter-spacing:.15em}
.arch-sideways>small{position:absolute;right:0;bottom:6%;max-width:190px;font:11px/1.6 monospace;color:#aaa;writing-mode:vertical-rl}
.arch-stack{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2rem}
.arch-stack>p{display:flex;flex-direction:column;align-items:center;gap:.1em;margin:0;font:clamp(1.5rem,3vw,3.2rem)/1.05 Georgia,serif;text-transform:uppercase;max-width:90%;overflow-wrap:anywhere}
.arch-stack>p span:nth-child(2n){transform:translateX(1.3em)}
.arch-stack>p span:nth-child(3n){transform:translateX(-1.1em)}
.arch-stack>span,.arch-stack>small{font:10px monospace;letter-spacing:.18em;color:#aaa}
.arch-orbit{display:flex;align-items:center;justify-content:center;flex-direction:column}
.arch-orbit svg{width:min(100%,80vh,680px);height:auto;overflow:visible}
.arch-orbit__text{font:22px Georgia,serif;fill:#e7e2dc;letter-spacing:.02em}
.arch-orbit__text--1{font-size:18px;fill:#a9a0a0}
.arch-orbit__text--2{font-size:14px;fill:#777}
.arch-orbit small{font:10px monospace;letter-spacing:.12em;color:#aaa}
.arch-dislocation{min-height:110vh;text-align:left}
.arch-dislocation p{position:absolute;font:clamp(2rem,4vw,4rem)/1.2 Georgia,serif;max-width:70%;margin:0}
.arch-dislocation p:nth-child(1){top:5%;left:-9%;transform:rotate(-12deg)}
.arch-dislocation p:nth-child(2){top:38%;right:-12%;transform:rotate(16deg);opacity:.55}
.arch-dislocation p:nth-child(4){bottom:3%;left:20%;transform:rotate(92deg);opacity:.38;max-width:45%}
.arch-dislocation span{position:absolute;left:8%;top:55%;font:10px monospace;letter-spacing:.17em;color:#aaa}
@media(max-width:650px){.arch-sideways>p{width:75vh;font-size:clamp(1.5rem,6vw,3rem)}.arch-dislocation p:nth-child(4){transform:rotate(70deg)}.arch-orbit__text{font-size:18px}}
@media(prefers-reduced-motion:reduce){.arch-inversion>p:first-child,.arch-inversion__ghost,.arch-sideways>p,.arch-dislocation p{transform:none}.arch-dislocation{display:flex;flex-direction:column;gap:2rem;min-height:auto}.arch-dislocation p,.arch-dislocation span{position:static;max-width:100%}}

/* Fictional commercial interruptions, sourced from manuscript motifs. */
.descent-entry--advertisement{max-width:min(100%,1100px);min-height:68vh;display:flex;flex-direction:column;justify-content:center}
.descent-ad{--ad-bg:#f7d34d;--ad-ink:#192a42;--ad-accent:#f05553;background:var(--ad-bg);color:var(--ad-ink);width:100%;text-align:left;box-shadow:12px 15px 0 #000,0 20px 55px #0009;transform:rotate(-1deg);border:4px solid var(--ad-ink);font-family:Arial,Helvetica,sans-serif}
.descent-ad--blue{--ad-bg:#85c7ef;--ad-ink:#172b5a;--ad-accent:#ffeb70}
.descent-ad--green{--ad-bg:#a4dc91;--ad-ink:#1b3a31;--ad-accent:#f4c96e}
.descent-ad--pink{--ad-bg:#f3a3c8;--ad-ink:#4b174b;--ad-accent:#f7df69}
.descent-ad--coral{--ad-bg:#f88d77;--ad-ink:#43252d;--ad-accent:#ffe08d}
.descent-ad--violet{--ad-bg:#ad9be5;--ad-ink:#2c1f58;--ad-accent:#e8c875}
.descent-ad--mint{--ad-bg:#b9eadc;--ad-ink:#22454a;--ad-accent:#edaa87}
.descent-ad--orange{--ad-bg:#f7ac5e;--ad-ink:#513015;--ad-accent:#f9d991}
.descent-ad--sky{--ad-bg:#95bff3;--ad-ink:#1b3155;--ad-accent:#f9e8b5}
.descent-ad--cream{--ad-bg:#f1e6b5;--ad-ink:#3e4c3b;--ad-accent:#d6b9dc}
.descent-ad__top,.descent-ad__bottom{padding:13px clamp(16px,3vw,32px);font:10px/1.4 monospace;letter-spacing:.12em}
.descent-ad__top{display:flex;justify-content:space-between;gap:16px;border-bottom:2px solid var(--ad-ink)}
.descent-ad__body{padding:clamp(24px,5vw,65px)}
.descent-ad__brand{font:bold clamp(15px,2vw,23px)/1.1 Arial,sans-serif;letter-spacing:.14em;margin:0 0 22px}
.descent-ad h3{font:900 clamp(2.6rem,7.5vw,7rem)/.9 Arial,Helvetica,sans-serif;letter-spacing:-.075em;max-width:900px;margin:0 0 30px;text-wrap:balance;color:var(--ad-ink)}
.descent-ad__copy{font:clamp(1rem,2.3vw,1.7rem)/1.3 Georgia,serif;max-width:640px;background:var(--ad-accent);padding:16px 20px}
.descent-ad__bottom{border-top:2px solid var(--ad-ink);text-align:right}
@media(max-width:650px){.descent-ad{transform:none}.descent-ad__top{font-size:8px}.descent-ad h3{font-size:clamp(2.3rem,11vw,4rem)}}
@media(prefers-reduced-motion:reduce){.descent-ad{transform:none}}

/* Classified pages and archive corrections */
.descent-entry--classified,.descent-entry--correction,.descent-entry--evolving-ad{max-width:min(100%,1100px);min-height:75vh;display:flex;flex-direction:column;justify-content:center}
.descent-classified{background:#e6dfc8;color:#302b23;text-align:left;padding:clamp(18px,4vw,45px);border:5px double #504737;transform:rotate(.6deg);box-shadow:12px 18px 35px #0009}
.descent-classified header{display:flex;justify-content:space-between;gap:12px;align-items:baseline;border-top:3px solid #302b23;border-bottom:5px double #302b23;padding:12px 0;font:10px monospace;letter-spacing:.06em}
.descent-classified header strong{font:900 clamp(1.4rem,4vw,3rem)/1 Georgia,serif;letter-spacing:-.05em}
.descent-classified__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:24px 0}
.descent-classified__grid section{padding:18px;border:1px solid #8d826c;min-width:0}
.descent-classified__grid b{font:700 12px monospace;letter-spacing:.08em}
.descent-classified__grid p{font:15px/1.4 Georgia,serif}
.descent-classified__grid small,.descent-classified footer{font:10px/1.5 monospace;color:#6c6353}
.descent-correction{text-align:left;border:3px solid #b8b0a6;background:#e5e0d5;color:#242323;padding:clamp(22px,5vw,65px);transform:rotate(-1deg);max-width:820px;margin:auto}
.descent-correction>span,.descent-correction small{font:11px/1.5 monospace;letter-spacing:.12em}
.descent-correction h3{font:900 clamp(2.3rem,6vw,5rem)/1 Arial,sans-serif;margin:2rem 0;border-bottom:5px solid #222;padding-bottom:18px}
.descent-correction p{font:clamp(1.1rem,2.5vw,1.7rem)/1.5 Georgia,serif}
.descent-correction__quote{font-style:italic;text-decoration:line-through;text-decoration-thickness:2px}
.descent-entry--evolving-ad .descent-ad{border-width:9px;box-shadow:14px 14px 0 #b9a57a,0 22px 60px #000b}
.descent-entry--evolving-ad .descent-ad__bottom{display:flex;justify-content:space-between;gap:12px}
@media(max-width:650px){.descent-classified__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.descent-classified header{flex-wrap:wrap}.descent-classified,.descent-correction{transform:none}}
@media(max-width:380px){.descent-classified__grid{grid-template-columns:1fr}}

/* Source-aware lexicon entries, distinct from fictional archival prose. */
.descent-entry--glossary{max-width:min(100%,850px);min-height:68vh;display:flex;flex-direction:column;justify-content:center}
.descent-glossary{padding:clamp(22px,5vw,70px);background:#e8e1ce;color:#272823;border:1px solid #a9a08b;text-align:left;box-shadow:8px 12px 40px #0007;font-family:Georgia,serif}
.descent-glossary__eyebrow,.descent-glossary__credit{font:10px/1.6 monospace;letter-spacing:.11em;color:#5c5a4e;text-transform:uppercase}
.descent-glossary h3{font:normal clamp(2.5rem,6vw,5rem)/1.1 Georgia,serif;margin:20px 0;border-bottom:1px solid #a9a08b;padding-bottom:16px}
.descent-glossary h3 i{font:italic clamp(.9rem,2vw,1.3rem)/1.4 Georgia,serif;color:#706c5d}
.descent-glossary__definition{font:clamp(1.15rem,2.5vw,1.6rem)/1.5 Georgia,serif}
.descent-glossary blockquote{border-left:3px solid #817967;margin:25px 0;padding:8px 0 8px 20px;font:italic clamp(1rem,2vw,1.3rem)/1.6 Georgia,serif;color:#514d44}

/* Original fictional catalogue spreads, with existing site product photographs. */
.descent-entry--catalog{max-width:min(100%,1100px);min-height:85vh;display:flex;flex-direction:column;justify-content:center}
.descent-catalog{background:#f6ecd9;color:#3e3125;border:9px solid #f1e1c4;padding:clamp(14px,3vw,32px);text-align:left;box-shadow:0 25px 60px #0009;font-family:Georgia,serif}
.descent-catalog__mast{display:flex;flex-direction:column;text-align:center;gap:5px;border-top:3px solid #a53c45;border-bottom:5px double #a53c45;padding:12px 0}
.descent-catalog__mast span,.descent-catalog__mast small{font:11px monospace;letter-spacing:.16em}
.descent-catalog__mast strong{font:900 clamp(2rem,5vw,4.8rem)/1 Georgia,serif;color:#9d2c36}
.descent-catalog__strap{text-align:center;font:italic 16px Georgia,serif;padding:15px}
.descent-catalog__products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.descent-catalog__product{border:1px solid #bda98d;padding:10px;min-width:0;display:flex;flex-direction:column}
.descent-catalog__product img{width:100%;aspect-ratio:1;object-fit:cover}
.descent-catalog__product p{font:17px/1.3 Georgia,serif;margin:12px 0 4px}
.descent-catalog__product p b{font:11px monospace;color:#a53c45}
.descent-catalog__product small{font:12px/1.4 Arial,sans-serif;flex:1}
.descent-catalog__product strong{font:bold 24px Georgia,serif;text-align:right;margin-top:10px}
.descent-catalog__foot{display:flex;justify-content:space-between;gap:12px;border-top:2px solid #a53c45;margin-top:20px;padding-top:12px;font:11px monospace}
.descent-catalog__foot a{color:#9d2c36;font-weight:bold}
@media(max-width:620px){.descent-catalog__products{grid-template-columns:repeat(2,minmax(0,1fr))}.descent-catalog__product:last-child{display:none}.descent-catalog__foot{flex-direction:column}}

.descent-catalog__history{display:flex;align-items:center;gap:15px;margin-top:16px;padding:12px;border:1px dashed #a88f6f;background:#f4e6cc}
.descent-catalog__history[hidden]{display:none}
.descent-catalog__history img{width:160px;max-width:35%;height:110px;object-fit:cover}
.descent-catalog__history span{font:11px monospace;letter-spacing:.09em}

/* The first eighty entries must be visually legible, even on wide screens. */
.descent-entry:nth-child(-n+80).descent-entry--image{max-width:760px;margin-left:auto;margin-right:auto}
.descent-entry:nth-child(-n+80).descent-entry--image img{max-height:78vh;filter:none}
.descent-entry:nth-child(-n+80).descent-entry--diptych img:last-child{transform:none}

/* Do not distort the opening pages. */
.descent-entry--depth-0 .descent-echo__broken,.descent-entry--depth-1 .descent-echo__broken,.descent-entry--depth-2 .descent-echo__broken{transform:none;opacity:.55}
.descent-entry--depth-0.descent-entry--interruption .descent-interruption,.descent-entry--depth-1.descent-entry--interruption .descent-interruption,.descent-entry--depth-2.descent-interruption{transform:none}
