:root{--ink:#e9e4dc;--muted:#aaa39a;--gold:#c5a46d;--bg:#151513;--panel:#22221f}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,Arial,sans-serif}header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 6%;border-bottom:1px solid #383833}.brand,.back{color:var(--ink);text-decoration:none;font-size:12px;letter-spacing:.16em;font-weight:bold}.brand span,.back{color:var(--muted);font-size:10px}.intro{padding:90px 6% 80px;display:grid;grid-template-columns:1fr 1.1fr;gap:7%;align-items:center}.eyebrow{color:var(--gold);font-size:10px;letter-spacing:.2em;font-weight:700;text-transform:uppercase}.eyebrow span{color:#938e85;margin-left:20px}h1,h2,h3{font-family:'Cormorant Garamond',Georgia,serif;font-weight:400}h1{font-size:clamp(48px,5.6vw,82px);line-height:1.04;letter-spacing:-.04em;margin:25px 0}em{font-weight:400;color:#c8b89f}.lead{font-size:17px;color:#beb9af;line-height:1.7;max-width:470px}.start{display:inline-flex;gap:55px;padding:19px 22px;background:var(--gold);color:#191815;text-decoration:none;font-size:12px;font-weight:bold;margin-top:24px}.explore{padding:80px 6%;background:#eeebe4;color:#22221e}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:35px}.section-heading h2,.context h2{font-size:clamp(38px,4vw,58px);letter-spacing:-.035em;margin:12px 0}.section-heading p:not(.eyebrow){color:#6a675f;line-height:1.6;max-width:570px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px}.viewer{background:#171715;color:white;min-width:0}.viewer-top{height:58px;display:flex;justify-content:space-between;align-items:center;padding:0 20px;font-size:9px;letter-spacing:.15em;color:#aaa}.viewer-top div{display:flex;align-items:center;gap:10px}.viewer-top button{border:0;background:#353530;color:white;padding:8px 12px;cursor:pointer}.viewport{height:720px;overflow:auto;background:#0e0e0d;text-align:center}.image-wrap{position:relative;width:100%;max-width:750px;margin:auto;transform-origin:top center}.image-wrap img{display:block;width:100%;height:auto}.marker{position:absolute;transform:translate(-50%,-50%);width:26px;height:26px;border:2px solid #fff;background:#b98f50;border-radius:50%;box-shadow:0 0 0 6px #bc925352;cursor:pointer;color:#1b1916;font-weight:bold;font-size:10px}.marker:hover,.marker:focus-visible{background:white;outline:3px solid #cba86a}.hint{color:#898780;font-size:10px;letter-spacing:.06em;margin:0;padding:16px 20px}.side{background:#fff;padding:26px 24px}.side h3{font-size:30px;margin:10px 0}.context{padding:100px 6%;display:grid;grid-template-columns:1fr 1fr;gap:12%;line-height:1.8;color:#bcb7ad}.context h2{color:#eee}.context a,#deep a{color:var(--gold)}footer{border-top:1px solid #3c3a34;display:flex;justify-content:space-between;padding:28px 6%;font-size:9px;letter-spacing:.16em;color:#8d887d}dialog{width:min(560px,calc(100% - 30px));max-height:90vh;border:0;padding:34px;background:#f4f1eb;color:#262620;box-shadow:0 15px 80px #0008}dialog::backdrop{background:#000a}.dialog-top{display:flex;justify-content:space-between;align-items:center}.dialog-top button{border:1px solid #ccc5b9;border-radius:50%;font-size:24px;width:38px;height:38px;background:none;cursor:pointer}dialog h2{font-size:42px;line-height:1.1;margin:25px 0}.dialog-lead{font-size:18px;line-height:1.6;color:#605c53}.more{background:#252520;color:white;border:0;padding:16px 20px;cursor:pointer}.more span{margin-left:25px}.rule{border-top:1px solid #d9d3c9;margin:26px 0}#deep p:not(.eyebrow){line-height:1.7;color:#57544d}#deep .note{background:#e7e1d7;padding:14px;font-size:12px}.dialog-nav{display:flex;justify-content:space-between;border-top:1px solid #d9d3c9;margin-top:30px;padding-top:20px}.dialog-nav button{border:0;background:none;cursor:pointer;color:#8a683d}button:focus-visible,a:focus-visible{outline:3px solid #c59c5e;outline-offset:3px}@media(max-width:760px){header{padding:0 5%}.brand span{display:none}.intro{grid-template-columns:1fr;padding:65px 5%;gap:50px}.explore{padding:60px 5%}.section-heading{display:block}.workspace{grid-template-columns:1fr}.viewport{height:560px}.side{padding:22px}.context{grid-template-columns:1fr;gap:20px;padding:70px 5%}footer{gap:20px;line-height:1.5}.viewer-top{padding:0 10px}.viewer-top div{gap:4px}.viewer-top button{padding:8px}}
@media(max-width:760px){.viewer-top{height:auto;min-height:58px;flex-wrap:wrap;gap:8px;padding:12px}}

#markers{position:absolute;inset:0;pointer-events:none}

.marker-group{position:absolute;inset:0;pointer-events:none}.marker-group .marker{pointer-events:auto}.marker-arrow{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.marker-arrow line{stroke:#d6a75c;stroke-width:2;vector-effect:non-scaling-stroke;filter:drop-shadow(0 1px 2px #000)}.marker-arrow marker path{fill:#d6a75c}

.workspace{display:block}.vertical-atlas{position:relative;background:#1d242a;max-width:950px}.vertical-atlas>img{width:40%;margin:0 auto}.viewport:has(.vertical-atlas){height:900px;display:block;overflow:auto}.callout{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;width:25%;border:0;background:transparent;color:#fff;display:flex;align-items:center;gap:8px;cursor:pointer;text-align:left}.callout.left{flex-direction:row-reverse;text-align:right}.callout-circle{display:grid;place-items:center;flex:none;width:42px;height:42px;border:1px solid #e8d8bd;border-radius:50%;background:#1d242a;font-size:11px;color:#dfbd85}.callout-label{font-size:11px;line-height:1.25;text-transform:uppercase;letter-spacing:.07em}.callout:hover .callout-circle,.callout:focus-visible .callout-circle{background:#c8a36b;color:#171715}.marker-arrow line{stroke:#ebddc4;stroke-width:1.4}.marker-arrow marker path{fill:#ebddc4}@media(max-width:760px){.viewport:has(.vertical-atlas){height:700px}.vertical-atlas{min-width:600px}.callout-label{font-size:10px}}

.viewer-controls{display:flex;gap:6px}.callout{width:24%;gap:10px}.callout-circle{width:38px;height:38px;border:1px solid #d2b887;background:#22272a;color:#f4dfb8;box-shadow:0 0 0 4px #22272a}.callout-label{font-size:10px;letter-spacing:.1em;color:#ece4d6}.marker-arrow line{stroke:#d6b887;stroke-width:1.2}.marker-arrow marker path{fill:#d6b887}@media(max-width:760px){.viewer-controls{flex-wrap:wrap}.viewer-top{gap:10px}.callout{width:25%}}

.vertical-atlas>.image-stack{position:relative;width:40%;margin:0 auto;line-height:0}.image-stack img{display:block;width:100%;height:auto}.image-stack .blend-layer{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;opacity:0;pointer-events:none}.blend-control{width:270px;margin-right:15px}.blend-labels{display:flex;justify-content:space-between;font-size:9px;letter-spacing:.08em;color:#ccc1af}.blend-control input{display:block;width:100%;margin:8px 0 0;accent-color:#d6b887;cursor:pointer}.viewer-top{height:auto;min-height:76px;gap:16px}.viewer-controls{align-items:center}@media(max-width:760px){.blend-control{width:min(260px,100%);margin:0 0 8px}.viewer-controls{width:100%}}

/* Registration against shared cloth landmarks; keep the images within the cloth frame. */
.image-stack{overflow:hidden}.image-stack #negative-layer{inset:auto;left:-5%;top:-2.64%;width:118%;height:106%}.image-stack #color-layer{inset:auto;left:.56%;top:3.06%;width:102%;height:98%}

/* Show the entire cloth in the document. */
.viewport:has(.vertical-atlas){height:auto;max-height:none;overflow-x:auto;overflow-y:hidden}@media(max-width:760px){.viewport:has(.vertical-atlas){height:auto;max-height:none}}

/* The negative is calculated from the identical source pixels, so every cloth feature stays registered. */
.image-stack #negative-layer{inset:0;width:100%;height:100%;filter:none;transform:none}

/* Keep the viewing controls available while the cloth scrolls through the page. */
.viewer-top{position:sticky;top:0;z-index:20;background:#171715;box-shadow:0 6px 18px #0003}.blend-labels{gap:3px}.viewer-top .blend-labels button{background:#34342e;color:#d9d4c9;border:1px solid #57554c;padding:7px 9px;font-size:9px;letter-spacing:.06em;white-space:nowrap}.viewer-top .blend-labels button.selected{background:#d2b887;border-color:#d2b887;color:#191815}.blend-control{width:280px}.viewer-top button:focus-visible{outline:2px solid #e3c994}@media(max-width:760px){.viewer-top{padding:9px 10px}.blend-control{width:min(290px,100%);margin-bottom:0}.viewer-controls{gap:5px}.viewer-top .blend-labels button{padding:7px}}

/* Preserve both ends of the newly supplied reconstruction. */
.image-stack #color-layer{inset:0;width:100%;height:100%}

/* Allow the aligned reconstruction to extend beyond the photograph without cropping either end. */
.vertical-atlas::before{content:"";display:block;width:100%;aspect-ratio:14.7/1}.vertical-atlas::after{content:"";display:block;width:100%;aspect-ratio:30.3/1}.image-stack{overflow:visible}.image-stack #color-layer{inset:auto;left:2.22%;top:-4.17%;width:98%;height:106%}

/* Use the same cloth in each view, with intact body silhouettes overlaid for the reconstruction. */
.image-stack .color-layer{inset:auto;left:2.22%;top:-1%;width:98%;height:102%;object-fit:fill}

/* Landmark-based affine registration: reconstruction to original cloth. */
.vertical-atlas::after{aspect-ratio:7.7/1}.image-stack .color-layer{left:.927%;top:-3.278%;width:100%;height:100%;transform-origin:0 0;transform:matrix(.95809,-.03973,.01025,1.05701,0,0)}

/* Mirror and register the reconstruction against the cloth. */
.image-stack .color-layer{left:105.106%;top:-3.384%;width:100%;height:100%;transform-origin:0 0;transform:matrix(-.9559406,-.0098314,-.0200008,1.053753,0,0)}

/* All three views share the same rectangular frame. */
.vertical-atlas::before,.vertical-atlas::after{display:none}.image-stack{overflow:hidden}.image-stack .color-layer{inset:0;width:100%;height:100%;transform:scaleX(-1);transform-origin:center}

/* Numbered targets and compact summaries. */
.tip-popup{display:none;position:absolute;left:30px;top:50%;transform:translateY(-50%);width:220px;text-align:left;padding:16px 17px;background:#f8f5ed;color:#282720;box-shadow:0 10px 30px #0009;border:1px solid #c5ac84;line-height:1.4}.tip-popup strong{font:17px 'Cormorant Garamond',Georgia,serif}.tip-popup p{margin:8px 0 12px;color:#5a574e;font-size:12px;line-height:1.5}.tip-read{padding:0;background:none;border:0;color:#79572a;font-weight:bold;font-size:11px;text-align:left;cursor:pointer}.tip-read:focus-visible{outline:2px solid #a37a43;outline-offset:3px}

.outside-wrap{position:absolute;width:24%;transform:translate(-50%,-50%);pointer-events:auto;z-index:3}.outside-wrap:hover,.outside-wrap:focus-within,.outside-wrap.open{z-index:10}.outside-wrap .callout{position:static;transform:none;width:100%}.outside-wrap .tip-popup{top:calc(100% + 8px);transform:none;left:auto}.outside-wrap .tip-popup::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px}.outside-wrap.left .tip-popup{right:0}.outside-wrap.right .tip-popup{left:0}.outside-wrap:hover .tip-popup,.outside-wrap:focus-within .tip-popup,.outside-wrap.open .tip-popup{display:block}@media(max-width:760px){.outside-wrap{width:25%}}

/* High-contrast pointers adapt as the cloth becomes dark. */
.vertical-atlas{--arrow-color:#111}.marker-arrow line{stroke:var(--arrow-color);stroke-width:2;filter:none}.marker-arrow marker path{fill:var(--arrow-color)}.callout-circle{background:#d3ae73;border:1px solid #ead0a4;color:#171715;font-weight:700;box-shadow:0 0 0 3px #1d242a}.callout:hover .callout-circle,.callout:focus-visible .callout-circle{background:#f2d7a6;color:#171715}
.marker-arrow line{filter:drop-shadow(0 0 1px #aaa)}

.marker-arrow line{stroke-width:1.4}
.blend-control{width:390px;max-width:40vw}@media(max-width:760px){.blend-control{width:100%;max-width:100%}}

/* A gentle beacon on the outside circles, without moving the arrow endpoints. */
.callout-circle{position:relative;isolation:isolate}.callout-circle::after{content:"";position:absolute;inset:-5px;border:1px solid #d3ae73;border-radius:50%;pointer-events:none;animation:beacon 2.8s ease-out infinite;z-index:-1}.marker-group:nth-child(3n+2) .callout-circle::after{animation-delay:.8s}.marker-group:nth-child(3n) .callout-circle::after{animation-delay:1.6s}.callout-circle{animation:circle-breathe 3.6s ease-in-out infinite}.callout:hover .callout-circle,.callout:focus-visible .callout-circle{animation-play-state:paused}@keyframes beacon{0%{transform:scale(.86);opacity:.8}75%,100%{transform:scale(1.38);opacity:0}}@keyframes circle-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}@media(prefers-reduced-motion:reduce){.callout-circle,.callout-circle::after{animation:none}}

/* Numbered key beside the cloth. */
.workspace{display:grid;grid-template-columns:minmax(0,1fr) 240px;align-items:start;gap:16px}.legend{background:#fff;color:#24231e;padding:23px}.legend-inner{position:sticky;top:110px}.legend h3{font-size:30px;margin:8px 0}.legend-intro{font-size:12px;line-height:1.5;color:#716b61;margin:0 0 16px}.legend ol{list-style:none;padding:0;margin:0;max-height:68vh;overflow:auto}.legend li{border-top:1px solid #ebe6db}.legend li button{display:flex;gap:10px;align-items:baseline;width:100%;padding:10px 0;text-align:left;border:0;background:none;color:#3d3a33;font:12px/1.35 Inter,Arial,sans-serif;cursor:pointer}.legend li button:hover{color:#9b6c30}.legend-number{color:#ac8451;font-weight:bold;min-width:24px}@media(max-width:1000px){.workspace{grid-template-columns:1fr}.legend{order:-1}.legend-inner{position:static}.legend ol{max-height:230px;columns:2}.legend li{break-inside:avoid}}@media(max-width:550px){.legend ol{columns:1}}

/* Fit the viewer to the screen; zoomed images can still be scrolled horizontally. */
.workspace,.viewer,.viewport,.viewer-top,.viewer-controls{min-width:0}.viewer-top{flex-wrap:wrap}.viewer-controls{flex-wrap:wrap;justify-content:flex-end}.viewport{max-width:100%}.legend{min-width:0}@media(max-width:1200px){.workspace{grid-template-columns:minmax(0,1fr)}.legend{order:-1}.legend-inner{position:static}.legend ol{max-height:230px;columns:2}.legend li{break-inside:avoid}}@media(max-width:760px){.vertical-atlas{min-width:0}.outside-wrap{width:24%}.outside-wrap .callout{justify-content:center}.callout-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.callout-circle{width:32px;height:32px}.outside-wrap .tip-popup{width:min(220px,75vw)}.viewer-top{align-items:flex-start}.viewer-controls{justify-content:flex-start}.blend-control{flex:1 1 100%;width:100%;max-width:100%}.viewer-top>span{max-width:100%;line-height:1.4}.legend ol{columns:2}.explore{padding-left:4%;padding-right:4%}}@media(max-width:430px){.legend ol{columns:1}.brand{letter-spacing:.09em}.back{letter-spacing:.06em}}

.viewer-caption{display:flex;align-items:center;justify-content:space-between;gap:16px}@media(max-width:600px){.viewer-caption{flex-wrap:wrap;gap:0}}

.cloth-credit{position:absolute;right:1.5%;bottom:.5%;z-index:2;color:#fff;font:600 clamp(9px,1vw,13px)/1.2 Inter,Arial,sans-serif;text-shadow:0 1px 3px #000,0 0 4px #000;white-space:nowrap;pointer-events:none}

.cloth-credit{font:400 10px/1.25 Inter,Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#ece4d6}

.intro-reading{border-left:1px solid #5b5347;padding:12px 0 12px 38px;max-width:590px}.intro-reading h2{font-size:clamp(28px,3vw,43px);line-height:1.17;margin:20px 0}.intro-reading p:not(.eyebrow){color:#beb9af;line-height:1.75;font-size:15px}.intro-reading a,.return-link{display:inline-block;color:#d5b77f;text-decoration:none;font-size:12px;font-weight:bold;letter-spacing:.04em;margin-top:12px}.intro-reading a span{margin-left:20px}.reading-page{max-width:880px;margin:auto;padding:70px 6% 100px}.reading-page .eyebrow{margin-top:50px}.reading-page h1{font-size:clamp(44px,6vw,72px);max-width:760px}.reading-text{max-width:740px;color:#ccc6bb;font-size:16px;line-height:1.85}.reading-text p{margin:0 0 1.3em}.reading-text strong{color:#e8dfd0}.reading-text h2{font-size:36px;color:#f2eadb;margin:55px 0 25px}@media(max-width:760px){.intro-reading{padding-left:22px}.reading-page{padding-top:45px}}


.tip-scripture{margin:12px 0;padding:10px 12px;border-left:3px solid #b48b52;background:#e9e1d3;color:#3b342b}.tip-scripture p{margin:0 0 6px;line-height:1.4}.tip-scripture strong{display:block;color:#775526;font-size:10px;margin-bottom:6px}.tip-scripture p:last-child{margin:0;font-size:11px}

/* Concentric ripples radiate from each numbered marker. */
.callout-circle::before,.callout-circle::after{content:"";position:absolute;inset:-2px;border:1.5px solid #e7c488;border-radius:50%;pointer-events:none;z-index:-1;animation:water-ripple 3.2s ease-out infinite}
.callout-circle::after{animation-delay:1.6s}
.marker-group:nth-child(3n+2) .callout-circle::before{animation-delay:.55s}.marker-group:nth-child(3n+2) .callout-circle::after{animation-delay:2.15s}
.marker-group:nth-child(3n) .callout-circle::before{animation-delay:1.05s}.marker-group:nth-child(3n) .callout-circle::after{animation-delay:2.65s}
@keyframes water-ripple{0%{transform:scale(1);opacity:.8}100%{transform:scale(1.85);opacity:0}}
@media(prefers-reduced-motion:reduce){.callout-circle,.callout-circle::before,.callout-circle::after{animation:none}}

.outside-wrap .tip-popup{width:min(340px,80vw);padding:22px 24px;max-height:min(70vh,520px);overflow-y:auto}.tip-popup strong{font-size:21px}.tip-popup p{font-size:14px;line-height:1.55}.tip-scripture strong{font:700 11px Inter,Arial,sans-serif}.tip-scripture p:last-child{font-size:12px}.tip-read{font-size:12px}

.image-stack #paired-color-layer{inset:0;left:0;top:0;width:100%;height:100%;transform:none;clip-path:none;object-fit:fill}

.chapter-entry{display:inline-block;margin:24px 0 0 20px;color:#d5b77e;text-decoration:none;font-size:12px;font-weight:bold}.tip-chapter{display:block;margin-top:12px;color:#79572a;font-size:12px;font-weight:bold;text-decoration:underline;text-underline-offset:3px}

/* Visible, concentric water waves around the numbered controls. */
.callout-circle{animation:none}
.callout-circle::before,.callout-circle::after{z-index:2;inset:-2px;border:1.6px solid #f5dba7;box-shadow:0 0 4px rgba(240,201,139,.45);animation:atlas-water-wave 2.8s ease-out infinite;pointer-events:none}
.callout-circle::after{animation-delay:1.4s}
.marker-group:nth-child(3n+2) .callout-circle::before{animation-delay:.45s}.marker-group:nth-child(3n+2) .callout-circle::after{animation-delay:1.85s}
.marker-group:nth-child(3n) .callout-circle::before{animation-delay:.9s}.marker-group:nth-child(3n) .callout-circle::after{animation-delay:2.3s}
@keyframes atlas-water-wave{0%{transform:scale(1);opacity:.9}70%{opacity:.45}100%{transform:scale(1.85);opacity:0}}

/* Restructure: one primary hero action, secondary chapter link as quiet text. */
.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px 28px;margin-top:24px}
.hero-actions .start{margin-top:0}
.chapter-entry{margin:0;color:var(--muted);font-size:13px;font-weight:500;text-decoration:underline;text-underline-offset:4px}
.chapter-entry:hover{color:var(--ink)}
@media(prefers-reduced-motion:reduce){.callout-circle,.callout-circle::before,.callout-circle::after{animation:none}}


/* Rich, navigable detail experience for every atlas marker. */
#detail{width:min(1120px,calc(100% - 28px));max-width:1120px;max-height:94vh;padding:22px 22px 14px;background:#f6f2e9;color:#26251f;overflow:hidden;border:1px solid #d8ccba;border-radius:10px;box-shadow:0 24px 90px #0009}
#detail::backdrop{background:rgba(8,10,12,.78);backdrop-filter:blur(3px)}
.detail-layout{display:grid;grid-template-columns:minmax(250px,.88fr) minmax(0,1.12fr);gap:26px;height:min(68vh,620px);min-height:380px}
.detail-visual{display:flex;flex-direction:column;min-width:0;min-height:0;margin:0;overflow:hidden;background:#1d242a;border:1px solid #c5ac84;border-radius:8px;color:#f5efe5}
.detail-photo-controls{display:flex;justify-content:center;gap:7px;padding:12px 10px;background:#171b1e}
.detail-photo-controls button{border:1px solid #53534d;border-radius:2px;padding:8px 11px;background:#292b29;color:#ddd5c8;font:600 10px Inter,Arial,sans-serif;cursor:pointer}
.detail-photo-controls button.selected{border-color:#d7b77e;background:#d7b77e;color:#211e18}
.detail-crop{position:relative;flex:1;min-height:0;overflow:hidden;background:#151a1d}
#detail-image{position:absolute;display:block;max-width:none;object-fit:fill;pointer-events:none}
#detail-focus{position:absolute;left:50%;top:50%;width:88px;aspect-ratio:1;transform:translate(-50%,-50%);border:3px solid #b7383f;border-radius:50%;box-shadow:0 0 0 999px rgba(12,15,16,.12);pointer-events:none}
.detail-visual figcaption{display:flex;justify-content:space-between;gap:10px;padding:12px 14px;background:#202327;color:#d2c5ad;font-size:9px;letter-spacing:.12em;text-transform:uppercase}
.detail-visual figcaption span:last-child{text-align:right;color:#aaa49a;letter-spacing:.04em;text-transform:none}
.detail-copy{min-width:0;min-height:0;overflow:auto;padding:3px 8px 8px 0;color:#2b2924}
#detail .dialog-top{align-items:center}
#detail .dialog-top .eyebrow{margin:0;color:#a98046}
#detail .dialog-top button{flex:none;color:#6a6257}
#detail h2{margin:12px 0 10px;font-size:clamp(32px,4vw,48px);letter-spacing:-.025em}
#detail .dialog-lead{margin:0 0 19px;font-size:16px;line-height:1.55;color:#60594f}
.detail-section{padding:16px 0 11px;border-top:1px solid #ded5c7}
.detail-section>.eyebrow,.detail-quote>.eyebrow{margin:0 0 8px;color:#a98046}
.detail-section>p:last-child{margin:0;color:#4e4a42;font-size:14px;line-height:1.65}
.detail-quote{margin:12px 0 14px;padding:16px 18px;background:#98241f;border-left:4px solid #d4ad6d;border-radius:4px;color:#fff8ee}
.detail-quote>.eyebrow{color:#f0cf9a}
.detail-quote blockquote{margin:8px 0;font-family:'Cormorant Garamond',Georgia,serif;font-size:24px;font-style:italic;line-height:1.22}
.quote-reference{margin:0 0 8px;color:#f2d9b0;font-size:11px;font-weight:700;letter-spacing:.04em}
.quote-context{margin:0;color:#fff1de;font-size:12px;line-height:1.5}
.source-details{padding:10px 0;border-top:1px solid #ded5c7;color:#625d53;font-size:12px;line-height:1.6}
.source-details summary{cursor:pointer;color:#775a32;font-weight:700}
.source-details p{margin:10px 0}
.source-details .note{padding:11px;background:#e9e2d6;color:#625b50}
.source-details a,.detail-chapter{color:#79572a;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.detail-chapter{display:inline-block;margin:8px 0 6px;font-size:13px}
.detail-navigation{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;margin-top:14px;padding-top:11px;border-top:1px solid #d9d0c3}
.detail-step-nav{padding:8px 5px;border:0;background:none;color:#79572a;font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer}
.detail-steps{position:relative;display:flex;align-items:center;gap:8px;min-width:0;margin:0;padding:7px 4px;overflow-x:auto;list-style:none;scrollbar-width:thin;scrollbar-color:#c2a16c transparent}
.detail-steps::before{position:absolute;top:50%;right:8px;left:8px;height:1px;background:#c9a76e;content:""}
.detail-steps li{position:relative;z-index:1;flex:none}
.detail-step{width:34px;height:34px;border:1px solid #c8b99f;border-radius:50%;background:#f6f2e9;color:#786f61;font-size:10px;font-weight:700;cursor:pointer}
.detail-step:hover,.detail-step.selected{border-color:#a82c29;background:#a82c29;color:#fff}
.detail-step.selected{box-shadow:0 0 0 4px #a82c2922}
.detail-step:focus-visible{outline:3px solid #c59c5e;outline-offset:3px}
@media(max-width:760px){#detail{padding:12px 12px 10px;max-height:96vh}.detail-layout{display:flex;flex-direction:column;gap:14px;height:auto;min-height:0;max-height:calc(96vh - 94px);overflow-y:auto}.detail-visual{flex:none;height:min(37vh,330px);min-height:230px}.detail-copy{overflow:visible;padding:0 3px 6px 0}.detail-navigation{gap:5px;margin-top:9px;padding-top:8px}.detail-step-nav{font-size:10px}.detail-steps{gap:6px}.detail-step{width:30px;height:30px}.detail-quote blockquote{font-size:21px}}
@media(max-width:420px){#detail{width:calc(100% - 14px);padding:9px}.detail-visual{height:30vh;min-height:190px}.detail-photo-controls{gap:4px;padding:8px 5px}.detail-photo-controls button{padding:7px 8px;font-size:9px}.detail-visual figcaption{font-size:8px}.detail-navigation{grid-template-columns:auto minmax(0,1fr) auto;gap:2px}.detail-step-nav{padding:6px 2px}.detail-step{width:27px;height:27px}}
/* The detail preview opens on hover/focus; click still opens the full modal. */

.shroud-popup-sources{margin:12px 0}.shroud-popup-sources ul{margin:6px 0 0;padding-left:20px}.shroud-popup-sources li{margin:6px 0}.shroud-research-box{border-top:1px solid #cbbba3;padding-top:18px}.shroud-research-box h2{font-size:26px}.shroud-research-box ul{padding-left:20px}.shroud-research-box li{margin:9px 0}.shroud-research-box a{color:#795a31}


.context.chapter-intro{scroll-margin-top:24px}
.atlas-contents-launch{max-width:1080px;margin:clamp(48px,8vw,104px) auto 30px;padding:clamp(26px,5vw,52px);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:34px;border:1px solid #4b4438;background:linear-gradient(115deg,#211f1b 0%,#191a18 72%);box-shadow:0 18px 48px #0002}
.atlas-contents-copy{max-width:650px}.atlas-contents-copy .eyebrow{margin:0 0 14px;color:#d8b779}.atlas-contents-copy h2{margin:0;color:#f0eadf;font:400 clamp(32px,4vw,52px)/.98 "Cormorant Garamond",Georgia,serif;letter-spacing:-.025em}.atlas-contents-copy h2 em{color:#d8b779}.atlas-contents-copy>p:last-child{margin:16px 0 0;color:#c7c0b4;font:400 14px/1.7 Inter,Arial,sans-serif}
.atlas-contents-open{display:flex;align-items:center;gap:24px;padding:15px 18px;border:1px solid #c8a86f;background:#d4b477;color:#201e1a;font:600 12px/1 Inter,Arial,sans-serif;letter-spacing:.025em;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}.atlas-contents-open:hover{background:#ecd5a7;border-color:#ecd5a7;transform:translateY(-2px)}.atlas-contents-open:focus-visible,.atlas-contents-close:focus-visible,#atlas-contents-list a:focus-visible{outline:3px solid #c8a86f;outline-offset:3px}
#atlas-contents-dialog{width:min(900px,calc(100vw - 36px));max-width:none;max-height:min(82vh,850px);padding:0;border:1px solid #c8a86f;background:#f3eee4;color:#28251f;box-shadow:0 28px 90px #0009}#atlas-contents-dialog::backdrop{background:#090a09c9;backdrop-filter:blur(3px)}.atlas-contents-dialog-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;padding:clamp(24px,5vw,44px) clamp(24px,5vw,48px) 24px;border-bottom:1px solid #d8cdbb}.atlas-contents-dialog-head .eyebrow{margin:0 0 9px;color:#a17a43}.atlas-contents-dialog-head h2{margin:0;font:400 clamp(36px,5vw,54px)/1 "Cormorant Garamond",Georgia,serif;letter-spacing:-.025em}.atlas-contents-dialog-head p:last-child{margin:9px 0 0;color:#70695e;font:400 13px/1.5 Inter,Arial,sans-serif}.atlas-contents-close{flex:0 0 38px;width:38px;height:38px;border:1px solid #cfc3b0;background:transparent;color:#493e2f;font:400 26px/1 Inter,Arial,sans-serif;cursor:pointer}.atlas-contents-close:hover{background:#e6dccb}#atlas-contents-dialog nav{overflow:auto;max-height:calc(min(82vh,850px) - 180px);padding:8px clamp(24px,5vw,48px) 34px}#atlas-contents-list{display:grid;grid-template-columns:1fr 1fr;column-gap:40px;margin:0;padding:0;list-style:none}#atlas-contents-list li{border-bottom:1px solid #ddd3c4}#atlas-contents-list a{min-height:64px;display:grid;grid-template-columns:34px minmax(0,1fr) 20px;align-items:center;gap:12px;color:#302b24;text-decoration:none;font:500 13px/1.45 Inter,Arial,sans-serif}#atlas-contents-list a:hover{color:#815d31}#atlas-contents-list a:hover .atlas-contents-arrow{transform:translateX(4px)}.atlas-contents-number{color:#a17a43;font-size:10px;font-weight:700;letter-spacing:.08em}.atlas-contents-arrow{color:#a17a43;transition:transform .18s}
@media(max-width:760px){.atlas-contents-launch{grid-template-columns:1fr;align-items:start;gap:24px;margin:52px 18px 24px;padding:26px}.atlas-contents-open{justify-content:space-between;width:100%}#atlas-contents-list{grid-template-columns:1fr;column-gap:0}#atlas-contents-dialog nav{max-height:calc(82vh - 170px)}.atlas-contents-dialog-head{padding:25px 22px 19px}#atlas-contents-dialog nav{padding:4px 22px 24px}}

/* Keep the main reading areas comfortably sized on wide screens. */
@media (min-width: 761px) {
  .intro, .explore, .context { padding-left: max(6%, calc((100% - 1320px) / 2)); padding-right: max(6%, calc((100% - 1320px) / 2)); }
  .context { column-gap: 6%; }
}
