: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: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:#77756e;margin-left:20px}h1,h2,h3{font-family: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}.hero-image{border:1px solid #48463e;padding:12px;background:#20201d}.hero-image img{display:block;width:100%;height:280px;object-fit:cover;filter:sepia(.15)}.hero-caption{display:flex;justify-content:space-between;color:#c6bda9;font-size:9px;letter-spacing:.15em;padding:15px 4px 4px}.hero-caption span{color:#77756e}.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}.view-tabs{display:flex;gap:4px}.view-tabs button{border:1px solid #cfcac0;background:transparent;padding:15px 18px;color:#625f57;cursor:pointer;white-space:nowrap}.view-tabs button.active{background:#272722;color:white;border-color:#272722}.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-head{border-bottom:1px solid #e5e1d8}.side h3{font-size:30px;margin:10px 0}.side-head p:last-child{font-size:12px;color:#8e8980}.topics{max-height:700px;overflow:auto}.topic{display:flex;width:100%;align-items:center;gap:14px;text-align:left;background:none;border:0;border-bottom:1px solid #ece9e2;padding:17px 0;cursor:pointer;color:#282823}.topic span:first-child{font-size:10px;color:#b08a52}.topic strong{font-size:13px;flex:1}.topic span:last-child{color:#b08a52}.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}.hero-image img{height:170px}.explore{padding:60px 5%}.section-heading{display:block}.view-tabs{margin-top:25px}.workspace{grid-template-columns:1fr}.viewport{height:560px}.side{padding:22px}.topics{max-height:320px}.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}}
.image-wrap.full-cloth{max-width:1200px}.viewport:has(.full-cloth){height:560px;display:flex;align-items:center}.viewport:has(.full-cloth) .image-wrap{flex:none}.view-tabs{flex-wrap:wrap}@media(max-width:760px){.viewport:has(.full-cloth){height:390px}.viewer-top{height:auto;min-height:58px;flex-wrap:wrap;gap:8px;padding:12px}}

#markers{position:absolute;inset:0;pointer-events:none}.pointer{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.pointer line,.pointer path{fill:none;stroke:#dbaf68;stroke-width:2.5;vector-effect:non-scaling-stroke;filter:drop-shadow(0 1px 2px #000);stroke-linecap:round;stroke-linejoin:round}.topic:hover,.topic:focus-visible{color:#9c6d2e}

.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}.photo-switch{display:flex;border:1px solid #56544d;margin-right:10px}.photo-switch button{background:transparent;color:#bcb9b0;font-size:10px;letter-spacing:.06em;padding:9px 12px}.photo-switch button.selected{background:#d2b887;color:#201f1b}.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}.photo-switch{margin-right:4px}.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:scaleX(-1)}

/* 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}.dorsal-layer{clip-path:polygon(35% 0%,67% 0%,67% 8%,69% 16%,74% 24%,76% 30%,82% 34%,82% 41%,73% 45%,68% 48%,65% 50%,34% 50%,30% 47%,25% 44%,17% 42%,17% 34%,25% 30%,27% 24%,31% 16%,33% 8%)}.frontal-layer{clip-path:polygon(37% 52%,64% 52%,68% 59%,77% 61%,84% 65%,84% 71%,78% 75%,73% 80%,72% 88%,68% 96%,61% 100%,35% 100%,31% 96%,28% 88%,27% 80%,21% 75%,16% 71%,16% 65%,23% 61%,33% 59%)}

/* 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-wrap{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;z-index:3}.tip-wrap:hover,.tip-wrap:focus-within,.tip-wrap.open{z-index:10}.tip-ring{display:grid;place-items:center;width:23px;height:23px;padding:0;border:1.5px solid #f5dfb4;border-radius:50%;background:#272720;color:#fff;font:bold 9px Arial,sans-serif;box-shadow:0 0 0 2px #17171588;cursor:pointer}.tip-ring:hover,.tip-ring:focus-visible{background:#c7a46c;color:#181713}.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-wrap:hover .tip-popup,.tip-wrap:focus-within .tip-popup,.tip-wrap.open .tip-popup{display:block}.tip-popup strong{font:17px 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.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 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}.image-credit{color:#b8b3a9;font-size:10px;padding:16px 20px;white-space:nowrap}@media(max-width:600px){.viewer-caption{flex-wrap:wrap;gap:0}.image-credit{padding-top:0;margin-left:auto}}

.cloth-credit{position:absolute;right:1.5%;bottom:.5%;z-index:2;color:#fff;font:600 clamp(9px,1vw,13px)/1.2 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 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}}
