:root{--art-hero:url("hero.040ea94f1c20.webp");--art-early:url("early.71ec6affe4ca.webp");--art-makkah:url("makkah.b84cbf14783f.webp");--art-hijrah:url("hijrah.d2da4981f1a0.webp");--art-madinah:url("madinah.1cb3b3786cf7.webp");--art-final:url("final.a6086958c2da.webp");--art-horizon:url("horizon.07b5496f9488.webp");--art-coast:url("coast.78efcfe94bd4.webp");--art-courtyard:url("courtyard.2f7592d31054.webp");--art-land:url("land.dde1378ebbb0.webp");--art-treaty:url("treaty.c47657892917.webp");--art-prayer:url("prayer.c0904e5c3089.webp");--art-well:url("well.e2620c0915d3.webp");--art-meal:url("meal.2dc285c1ad99.webp");}:root{--cave-mask:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNTAwIiBoZWlnaHQ9IjEwMDAiIHZpZXdCb3g9IjAgMCA1MTAgMzQwIj4KICA8ZGVmcz4KICAgIDxsaW5lYXJHcmFkaWVudCBpZD0ic2lkZSIgeDE9IjAiIHgyPSIxIj4KICAgICAgPHN0b3Agb2Zmc2V0PSIuNzAiIHN0b3AtY29sb3I9IndoaXRlIi8+CiAgICAgIDxzdG9wIG9mZnNldD0iLjkwIiBzdG9wLWNvbG9yPSJ3aGl0ZSIgc3RvcC1vcGFjaXR5PSIuNzAiLz4KICAgICAgPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSJ3aGl0ZSIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8L2xpbmVhckdyYWRpZW50PgogICAgPGxpbmVhckdyYWRpZW50IGlkPSJiYXNlIiB4MT0iMCIgeDI9IjAiIHkxPSIwIiB5Mj0iMSI+CiAgICAgIDxzdG9wIG9mZnNldD0iLjY0IiBzdG9wLWNvbG9yPSJ3aGl0ZSIvPgogICAgICA8c3RvcCBvZmZzZXQ9Ii45MCIgc3RvcC1jb2xvcj0id2hpdGUiIHN0b3Atb3BhY2l0eT0iMCIvPgogICAgPC9saW5lYXJHcmFkaWVudD4KICAgIDxtYXNrIGlkPSJmbG9vciI+PHBhdGggZmlsbD0idXJsKCNiYXNlKSIgZD0iTTAgMGg1MTB2MzQwSDB6Ii8+PC9tYXNrPgogICAgPGZpbHRlciBpZD0ic29mdCIgeD0iLTIlIiB5PSItMiUiIHdpZHRoPSIxMDQlIiBoZWlnaHQ9IjEwNCUiPgogICAgICA8ZmVHYXVzc2lhbkJsdXIgc3RkRGV2aWF0aW9uPSIuNTUiLz4KICAgIDwvZmlsdGVyPgogIDwvZGVmcz4KICA8IS0tIEFscGhhIG1hdHRlIGZvciB0aGUgZm9yZWdyb3VuZCByb2NrIGluIHRoZSBvcmlnaW5hbCAzOjIgZW5ncmF2aW5nLiAtLT4KICA8ZyBtYXNrPSJ1cmwoI2Zsb29yKSI+CiAgICA8cGF0aCBmaWxsPSJ1cmwoI3NpZGUpIiBmaWx0ZXI9InVybCgjc29mdCkiIGQ9Ik0tNC00SDUxNFY3OQogICAgICBMNDk4IDg3IDQ4NyA5MiA0NzYgODcgNDY4IDgyIDQ2MiA3OCA0NTUgNzUgNDUyIDcyIDQ0NyA3MAogICAgICA0NDMgNjQgNDM3IDYyIDQzNCA1OSA0MjYgNTcgNDIyIDU0IDQxOCA1MSA0MTMgNTAgNDA5IDQ2CiAgICAgIDQwNSA0NyAzOTcgNDYgMzg5IDQ5IDM4MSA0OSAzNzUgNDggMzY5IDQ4IDM2MiA1MyAzNTYgNTcKICAgICAgMzQ5IDYyIDM0MiA2NSAzMzUgNjYgMzI5IDcwIDMyMCA3MiAzMTQgNzIgMzA4IDc0IDMwMyA3OQogICAgICAyOTggODEgMjk2IDg3IDI5MSA5MSAyODkgOTkgMjg1IDEwMiAyODIgMTEyIDI3OCAxMjAgMjc2IDEyOQogICAgICAyNzMgMTMzIDI2OSAxNDIgMjY4IDE0OCAyNjQgMTU2IDI2MyAxNjQgMjYwIDE3MyAyNjAgMTgwCiAgICAgIDI1OCAxODYgMjYwIDE5MiAyNTkgMjAwIDI2MCAyMDkgMjUxIDIxMiAyNDAgMjEzIDIyNiAyMjIKICAgICAgMjA0IDIzNyAxODcgMjU0IDE3NyAyNzYgMTY0IDMwMiAxNTIgMzQ0SC00WiIvPgogIDwvZz4KPC9zdmc+Cg==")}:root{color-scheme:light;--paper:#f6f1e6;--ink:#18382f;--muted:#506456;--night:#102620;--amber:#e4c48b;--rule:#cec9b8;--mast:62px}*{box-sizing:border-box}html{scroll-padding-top:calc(var(--mast) + 10px)}body{margin:0;color:var(--ink);background:var(--paper);font:16px/1.6 'Segoe UI',Arial,sans-serif}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-underline-offset:4px}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible,[tabindex="-1"]:focus-visible{outline:3px solid #d09534;outline-offset:4px}.skip{position:fixed;top:-100px;left:12px;z-index:100;background:var(--paper);padding:8px 20px}.skip:focus{top:8px}.mast{height:var(--mast);position:sticky;top:0;z-index:12;background:#102620f7;color:#f6eedb;border-bottom:1px solid #c9b38144}.mast-inner{height:100%;max-width:1580px;margin:auto;padding:0 clamp(16px,4.4vw,78px);display:flex;align-items:center;gap:20px}.brand{display:flex;align-items:center}.brand img{width:80px;height:46px;object-fit:contain}.now{font:italic 15px Georgia,serif;border-left:1px solid #e2c89155;padding-left:19px;color:#eee3cc}.mast nav{margin-left:auto;display:flex;align-items:center;gap:clamp(10px,2.1vw,30px)}.mast nav>a,.mast nav button{font:600 13px/1.2 'Segoe UI',sans-serif;color:#f3e8d2;background:none;border:0;text-decoration:none;padding:9px 0}.mast nav .contents-button{border:1px solid #bda77b8f;padding:8px 13px;border-radius:3px}.contents-button span{margin-right:4px}#motion-toggle{color:#d9c79f}#story-progress{position:absolute;inset:0 auto auto 0;width:100%;height:2px;border:0;appearance:none;background:transparent;color:#e7c787}#story-progress::-webkit-progress-bar{background:transparent}#story-progress::-webkit-progress-value{background:#e7c787}#story-progress::-moz-progress-bar{background:#e7c787}
.scene{position:relative;isolation:isolate;overflow:hidden;background:#1c3029;color:#fff9e9}.scene-art,.shade{position:absolute;inset:0;pointer-events:none;z-index:-1}.scene-art{inset:-3.5% 0;background-image:var(--frame);background-size:cover;background-position:var(--focal,center);transform:translate3d(0,var(--scene-shift,0px),0) scale(var(--scene-scale,1.035));transform-origin:var(--focal,center)}.shade{background:linear-gradient(90deg,#081c19ec 2%,#0a211cce 30%,#0c211b4d 65%,#061a170a 100%),linear-gradient(0deg,#101c18b3 0%,transparent 27%,transparent 88%,#111b1933)}.hero{min-height:clamp(535px,calc(84svh - 30px),840px);display:flex;align-items:center}.hero-inner,.scene-content{width:min(1410px,100%);margin:0 auto;padding:clamp(70px,8.7vw,145px) clamp(22px,8.8vw,142px)}.hero-inner{padding-top:66px;padding-bottom:75px}.overline,.ink-label,.hero-bottom,.scene-date,.event-meta,.sequence{font-family:'Segoe UI',Arial,sans-serif;font-weight:650;letter-spacing:.12em;font-size:11px;text-transform:uppercase}.overline{display:flex;align-items:center;flex-wrap:wrap;gap:12px;color:#efd3a0;margin:0 0 20px}.overline>span:not(.gold-rule){color:#bd9f6b}.gold-rule{height:1px;width:35px;background:#d5b46f}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.06}h1{margin:0 0 24px;font-size:clamp(87px,10.8vw,177px);line-height:.93;letter-spacing:-.072em;text-shadow:0 6px 38px #0003}h1 em{font-weight:400;color:#f4dfb2}.hero-lead{font:clamp(22px,2.1vw,34px)/1.26 Georgia,serif;color:#fff1d7;margin:0 0 32px}.begin{display:inline-flex;align-items:center;gap:23px;background:#f0d9a9;color:#17362a;min-height:45px;padding:8px 17px;text-decoration:none;border:1px solid #ead2a0;border-radius:2px;font-weight:650;font-size:14px}.begin:hover{background:#fff0cf}.hero-bottom{position:absolute;left:clamp(22px,8.8vw,142px);right:clamp(22px,8.8vw,142px);bottom:23px;display:flex;align-items:center;gap:14px;color:#f5e6cd;font-size:10px}.hero-bottom i{width:90px;height:1px;background:#d8bb8377}.chapter-rail{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:0 clamp(16px,5vw,83px);background:#182d27;color:#f0e7d9;border-top:1px solid #cdad762e;border-bottom:1px solid #cdad763d}.chapter-rail a{display:flex;align-items:center;gap:14px;padding:21px 12px;text-decoration:none;border-left:1px solid #d2c29524;font:17px Georgia,serif}.chapter-rail a:last-child{border-right:1px solid #d2c29524}.chapter-rail a:hover,.chapter-rail a[aria-current]{background:#cda76212}.chapter-rail a span{font:12px 'Segoe UI',sans-serif;color:#e1be83}
.chapter-opener{display:flex;align-items:end;min-height:clamp(410px,64svh,710px)}.chapter-opener .scene-content{padding-top:80px;padding-bottom:64px}.chapter-opener h2{font-size:clamp(50px,5.7vw,92px);letter-spacing:-.055em;max-width:850px;text-wrap:balance;margin:0 0 22px}.opening{max-width:645px;font:clamp(19px,1.52vw,25px)/1.55 Georgia,serif;color:#fff3df;margin:0 0 21px;text-shadow:0 2px 18px #0009}.chapter-opener .shade{background:linear-gradient(90deg,#0c1c19f5 0%,#13221cda 35%,#10221d6b 68%,#12211b19),linear-gradient(0deg,#0a1816ba,transparent 42%)}.ornament{display:flex;align-items:center;gap:10px;color:#d9b87e;margin-bottom:20px}.ornament i{height:1px;width:30px;background:#d4b57a88}.ornament b{font-size:13px;font-weight:400}.chapter-opener .overline{margin-bottom:12px}.underlink{font-size:13px;font-weight:650;text-decoration:none;border-bottom:1px solid #dfbf80;padding-bottom:5px;color:#f3dbab}.underlink span{padding-left:8px}.scene-date{position:absolute;right:4.5%;bottom:24px;font-size:10px;color:#f3e5d0}.chapter-body{display:grid;grid-template-columns:minmax(230px,.78fr) minmax(0,1.45fr);gap:clamp(35px,6.8vw,110px);max-width:1200px;width:calc(100% - 80px);margin:0 auto;padding:clamp(36px,5vw,82px) 0 25px}.chapter:nth-of-type(even) .chapter-body{grid-template-columns:minmax(230px,.78fr) minmax(0,1.45fr)}.margin-inner{position:sticky;top:calc(var(--mast) + 29px)}.ink-label{color:#546548;margin:0 0 14px;letter-spacing:.14em}.ink-label span{margin:0 5px;color:#9b7947}.film-still{margin:0}.still-window{position:relative;isolation:isolate;aspect-ratio:1.1;overflow:hidden;background:#26372e;border:1px solid #88806966;border-radius:2px}.still-layer{position:absolute;inset:0;background-image:var(--frame);background-position:var(--focal);background-size:cover;opacity:0;transition:opacity .58s ease}.still-layer.is-current{opacity:1}.film-still figcaption{color:#526153;font:italic 14px/1.48 Georgia,serif;padding:10px 2px 13px;min-height:47px}.local-index,.footnotes{border-top:1px solid var(--rule)}summary{cursor:pointer}.local-index summary,.footnotes summary{padding:8px 1px;color:#3b5447;font-size:13px;max-width:max-content}.local-index summary span,.footnotes summary span{font-size:11px;color:#74644b;margin-left:7px}.local-index ol{padding-left:22px;font-size:13px;max-height:200px;overflow:auto}.local-index li+li{margin-top:4px}.story-event{padding:0 0 30px;margin:0 0 32px;scroll-margin-top:15px;border-bottom:1px solid var(--rule)}.story-event:last-child{margin-bottom:0;border-bottom:0}.event-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 13px;color:#655c42;letter-spacing:.075em;font-size:11px;line-height:1.5}.sequence{padding:1px 7px;color:#526247;border:1px solid #b8b5a1;border-radius:2px;font-size:10px}.location{text-transform:none;letter-spacing:0;font-weight:500;font-size:13px}.story-event h3{font-size:clamp(29px,3.05vw,48px);letter-spacing:-.043em;text-wrap:balance;margin:12px 0 14px}.narrative{color:#2a3b31;font:clamp(19px,1.6vw,23px)/1.68 Georgia,serif;max-width:64ch;margin:0 0 17px}.footnotes{border-color:#d9d4c5}.footnotes ul{padding-left:19px;font-size:14px}.footnotes li+li{margin-top:5px}.source-note{font-size:14px;color:#4b5d50;border-left:3px solid #b5975f;padding:2px 0 2px 12px}.permalink{font-size:13px}.chapter-bridge{max-width:920px;margin:0 auto;padding:23px clamp(24px,5vw,67px) clamp(43px,6vw,90px);text-align:center}.chapter-bridge>span{display:block;margin-bottom:13px;color:#9a772f}.chapter-bridge p{font:italic clamp(21px,2.1vw,33px)/1.42 Georgia,serif;margin:0;color:#304e3d;text-wrap:pretty}
.route-insert{background:#19372f;color:#f8efd9;margin:0 auto 26px;max-width:1230px;padding:clamp(23px,4vw,55px);border-radius:2px}.route-insert h3{font-size:clamp(30px,3.1vw,49px);margin:0 0 25px;letter-spacing:-.04em}.route-stops{display:grid;grid-template-columns:repeat(4,1fr)}.route-stops a{position:relative;display:flex;flex-direction:column;align-items:start;text-decoration:none;padding-right:7px}.route-stops a:before{content:'';position:absolute;top:6px;left:3px;right:-4px;border-top:1px dashed #dbc79177}.route-stops a:last-child:before{display:none}.route-stops i{height:13px;width:13px;border:3px solid #e4c58d;background:#18372f;border-radius:50%;z-index:1}.route-stops b{font:normal clamp(19px,2.1vw,31px) Georgia,serif;margin-top:10px}.route-stops a:hover b{text-decoration:underline}.route-stops span,.route-caption{font-size:13px;color:#e5ddc8}.route-caption{margin:20px 0 0}.endmatter{padding:clamp(38px,6vw,86px) max(22px,calc((100vw - 1160px)/2));background:#ecebdd}.endmatter h2,#index-title{font-size:clamp(39px,4vw,61px);margin:0 0 25px;letter-spacing:-.045em}.resource-fold{border-top:1px solid #b5b6a4;scroll-margin-top:14px}.resource-fold>summary{font:27px/1.35 Georgia,serif;padding:16px 0}.resource-fold>summary>span{font:14px 'Segoe UI',sans-serif;color:#58695a;margin-left:16px}.resource-fold[open]{padding-bottom:18px}.shelf{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.shelf-item{padding:18px 21px;border:1px solid #c9cbba;background:#f8f5eb}.shelf-item .eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:#62664f}.shelf-item h3{font-size:26px;margin:7px 0 12px}.shelf-item p{font-size:15px}.shelf-item a{font-size:14px;display:inline-block;margin:0 10px 3px 0}.art-credit{color:#576457;font-size:13px;max-width:70ch;margin-top:25px}.footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px clamp(20px,6vw,90px);background:#122a23;color:#e9dfc9;font-size:14px}
#index-dialog{border:1px solid #b5b8a6;background:#faf7ee;color:var(--ink);border-radius:7px;width:min(640px,calc(100% - 28px));padding:22px 24px;max-height:86svh;overflow:auto;box-shadow:0 20px 90px #08161066}#index-dialog::backdrop{background:#04140f99;backdrop-filter:blur(4px)}.index-head{display:flex;justify-content:space-between;align-items:start;gap:15px}.index-head .ink-label{margin-bottom:3px}#index-title{font-size:36px;margin-bottom:14px}[data-close-index]{height:38px;width:38px;background:none;border:1px solid var(--rule);border-radius:50%;font-size:25px;color:var(--ink);line-height:1}.index-periods{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.index-periods button{font-size:13px;border:1px solid #aeb7a6;background:transparent;color:var(--ink);border-radius:20px;padding:6px 11px}.index-periods button[aria-pressed=true]{background:var(--ink);color:white}#index-dialog label{font-size:13px;font-weight:650}#index-search{width:100%;padding:11px;border:1px solid #aab39f;border-radius:3px;background:#fffdf7;color:var(--ink)}#index-count{font-size:13px;color:var(--muted);margin:7px 0}#index-results{max-height:42svh;overflow:auto}.index-result,.atlas-result{display:block;color:var(--ink);padding:10px 7px;text-decoration:none;border-bottom:1px solid var(--rule)}.index-result:hover,.atlas-result:hover{background:#eaeedf}.index-result small,.atlas-result small{font-size:12px;color:#5e6b59;display:block}.index-result strong,.atlas-result strong{font-size:16px;display:block}.atlas-result{display:inline-block;vertical-align:top;margin:0 12px 4px 0}.endmatter #place-results{margin-top:15px}.mobile-cutaway{display:none}[hidden]{display:none!important}
html[data-motion=off] .scene-art{transform:none}html[data-motion=off] .still-layer{transition:none}
@media(max-width:920px){.chapter-body{width:calc(100% - 50px);grid-template-columns:minmax(180px,.65fr) minmax(0,1.4fr);gap:28px}.chapter:nth-of-type(even) .chapter-body{grid-template-columns:minmax(180px,.65fr) minmax(0,1.4fr)}.chapter-rail{padding:0 12px}.chapter-rail a{font-size:15px;gap:6px}.scene-date{right:20px;bottom:15px}.scene-content,.hero-inner{padding-left:6vw;padding-right:6vw}.endmatter{padding-inline:25px}}
@media(max-width:700px){:root{--mast:53px}.mast-inner{gap:10px;padding-inline:14px}.brand img{width:66px;height:38px}.now{display:none}.mast nav{gap:14px}.mast nav>a,.mast nav button{font-size:12px}.mast nav .contents-button{padding:7px 9px}.hero{min-height:clamp(505px,80svh,740px);align-items:end}.hero-inner{padding:75px 23px 105px}.hero .shade,.chapter-opener .shade{background:linear-gradient(0deg,#081b18fa 1%,#0b211bd9 35%,#14291e70 69%,#0918120a 100%)}.hero h1{font-size:clamp(78px,15vw,108px)}.hero .overline{max-width:90%;gap:6px;font-size:9px;letter-spacing:.11em}.hero .gold-rule{width:18px}.hero-bottom{left:23px;right:23px;bottom:22px;font-size:9px}.chapter-rail{grid-template-columns:repeat(5,1fr);padding:0 5px}.chapter-rail a{display:block;font:12px/1.25 Georgia,serif;padding:10px 5px;min-width:0;text-wrap:balance}.chapter-rail a span{display:block;font-size:10px;margin-bottom:3px}.chapter-opener{min-height:clamp(465px,72svh,680px)}.chapter-opener .scene-content{padding:90px 22px 47px}.chapter-opener h2{font-size:clamp(43px,8.2vw,66px)}.opening{font-size:18px;line-height:1.47}.chapter-opener .overline{font-size:10px;gap:7px}.ornament{margin-bottom:14px}.scene-date{font-size:9px;bottom:12px}.chapter-body,.chapter:nth-of-type(even) .chapter-body{display:block;width:calc(100% - 40px);padding:26px 0 6px}.margin-inner{position:static}.margin .film-still{display:none}.margin .ink-label{margin-bottom:4px}.local-index{margin:0 0 28px;border-bottom:1px solid var(--rule)}.local-index ol{max-height:none}.event-meta{font-size:10px;gap:7px 9px}.story-event h3{font-size:32px}.narrative{font-size:19px;line-height:1.58}.story-event{margin-bottom:24px;padding-bottom:23px}.chapter-bridge{padding:16px 26px 38px}.chapter-bridge p{font-size:22px}.route-insert{padding:24px 18px}.route-stops b{font-size:19px}.route-stops span,.route-caption{font-size:12px}.route-insert .overline{font-size:10px}.resource-fold>summary{font-size:23px}.resource-fold>summary>span{display:block;margin:5px 0 0;font-size:13px}.shelf{grid-template-columns:1fr}.endmatter{padding:35px 20px}.footer{font-size:12px}.mobile-cutaway{display:block;margin:0 0 30px}.mobile-cutaway .illustration{height:clamp(150px,50vw,255px);background-image:var(--frame);background-position:var(--focal);background-size:cover}.mobile-cutaway figcaption{font:italic 13px/1.4 Georgia,serif;color:var(--muted);padding-top:7px}}
@media(prefers-reduced-motion:reduce){html:not([data-motion=on]){scroll-behavior:auto!important}html:not([data-motion=on]) .scene-art{transform:none!important}html:not([data-motion=on]) .still-layer{transition:none!important}}
@media(max-width:700px){.mast nav>a,.mast nav button{display:inline-flex;align-items:center;min-height:40px}.mast nav .contents-button{min-height:37px}}
@media print{.mast,.chapter-rail,.margin,.scene-art,.shade,.ornament,.underlink,.begin,.hero-bottom,.footer,.route-insert,.mobile-cutaway{display:none}.scene,.hero,.chapter-opener{min-height:auto;background:white;color:black}.scene-content,.hero-inner,.chapter-opener .scene-content{padding:15px 0}.hero-lead,.opening,.overline,.scene-date{color:#222}.scene-date{position:static}.chapter-body{display:block;width:100%}.story-event{break-inside:avoid}.endmatter{background:white}}
@media screen and (max-width:360px){.mast .mast-inner{gap:5px;padding-inline:9px}.mast .mast-inner nav{gap:8px}}

/* The outer camera follows .scene-art. The near rock moves independently inside it. */
.hero .cave-depth {
  position: absolute;
  inset: -3.5% 0;
  z-index: -1;
  pointer-events: none;
  container-type: size;
  overflow: hidden;
  transform-origin: 77% 52%;
  transform: translateY(var(--scene-shift, 0px)) scale(var(--scene-scale, 1.035));
}

/* Pin the effects to the actual 3:2 plate, even when cover crops it on a phone. */
.cave-depth__plate {
  position: absolute;
  top: 52%;
  left: 77%;
  width: max(100cqw, 150cqh);
  aspect-ratio: 3 / 2;
  transform: translate(-77%, -52%);
}

.cave-depth__plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--art-hero) center / 100% 100% no-repeat;
  mask: var(--cave-mask, linear-gradient(transparent, transparent)) center / 100% 100% no-repeat;
  transform: translate(
    calc(clamp(1px, .40cqw, 6px) + var(--look-x, 0px)),
    calc(clamp(2px, .55cqh, 5px) + var(--scene-shift, 0px) * .23 + var(--look-y, 0px))
  );
}

.cave-depth__air {
  position: absolute;
  left: 58%;
  top: 16%;
  width: 37%;
  height: 57%;
}

/* A narrow wash follows the existing sun on the right, down into the valley. */
.cave-depth__air::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(149deg, transparent 49%, rgba(255,220,165,.10) 55%,
    rgba(255,227,184,.13) 57%, transparent 67%);
  mask-image: radial-gradient(ellipse at 74% 46%, black, transparent 66%);
  animation: cave-haze 10s ease-in-out 2 alternate both;
}

/* Individual soft grains at different heights. The pattern travels only a few pixels. */
.cave-depth__air::after {
  content: "";
  position: absolute;
  inset: 8% 12% 1% 3%;
  background:
    radial-gradient(circle at 12% 65%, #ffe6b4 0 .55px, transparent 1.7px),
    radial-gradient(circle at 47% 35%, #fff0cd 0 .50px, transparent 1.4px),
    radial-gradient(circle at 68% 71%, #f6cf92 0 .65px, transparent 1.9px),
    radial-gradient(circle at 73% 44%, #fce7bc 0 .55px, transparent 1.4px),
    radial-gradient(circle at 89% 55%, #ffe9ba 0 .65px, transparent 1.8px);
  animation: cave-dust 8s ease-in-out 3 both;
}

@keyframes cave-haze {
  from { opacity: .36; transform: translate(0, 0); }
  to { opacity: .88; transform: translate(-.8%, .8%); }
}
@keyframes cave-dust {
  0%, 100% { opacity: 0; }
  18% { opacity: .18; }
  72% { opacity: .40; }
  from { transform: translate(3px, 7px); }
  to { transform: translate(-7px, -7px); }
}

html[data-motion=off] .hero .cave-depth { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hero .cave-depth { display: none; }
}
@media print, (forced-colors: active) {
  .hero .cave-depth { display: none; }
}

.story-play{display:none}.cinema-ready .story-play{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:46px;padding:10px 20px;border:1px solid #f0d9a9;border-radius:2px;background:#f0d9a9;color:#193427;font:650 14px/1.2 'Segoe UI',sans-serif;cursor:pointer}.story-play:hover{background:#fff1cc}.play-mark{width:0;height:0;border-style:solid;border-width:5px 0 5px 8px;border-color:transparent transparent transparent currentColor}.hero-actions,.chapter-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 22px}.cinema-ready .hero-actions .begin{background:transparent;color:#fff3da;border:0;border-bottom:1px solid #dbc89a88;border-radius:0;padding-inline:2px;gap:9px;min-height:39px}.chapter-actions .story-play{background:#0c2116a6;color:#ffe8b7;border-color:#c7ad786e;font-size:13px;min-height:39px;padding:8px 14px}.chapter-actions .underlink{margin:0}
html:has(#story-cinema[open]){overflow:hidden}
#story-cinema{position:fixed;inset:0;box-sizing:border-box;margin:auto;padding:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;border:0;background:#111b17;color:#fffaed;overflow:auto;overscroll-behavior:contain}#story-cinema::backdrop{background:#101815}
.cine-shell{--cine-gold:#e6c895;position:relative;isolation:isolate;display:flex;flex-direction:column;min-height:100%;box-sizing:border-box;padding:clamp(20px,4vh,47px) clamp(23px,6vw,112px) max(20px,env(safe-area-inset-bottom));overflow:hidden;font-family:'Segoe UI',Arial,sans-serif}
.cine-stage,.cine-veil,.cine-shot{position:absolute;inset:0;pointer-events:none}.cine-stage{z-index:-3;overflow:hidden;background:#19221c}.cine-shot{opacity:0;transition:opacity 1.35s ease-in-out;isolation:isolate}.cine-shot.is-visible{opacity:1;z-index:1}.cine-shot::before{content:'';position:absolute;inset:-2%;background-image:var(--image);background-position:var(--focal);background-size:cover;background-repeat:no-repeat;transform-origin:var(--focal);animation:var(--take,none) var(--take-time,23s) cubic-bezier(.18,.4,.52,.82) both;animation-play-state:var(--camera-state,paused)}.cine-shell[data-playing=true]{--camera-state:running}
@keyframes cine-approach{from{transform:scale(1.015) translateX(0)}to{transform:scale(1.12) translateX(-1%)}}@keyframes cine-unfold{from{transform:scale(1.13) translateX(-1%)}to{transform:scale(1.02) translateX(0)}}@keyframes cine-drift{from{transform:scale(1.095) translateX(-1.2%)}to{transform:scale(1.095) translateX(1.2%)}}
.cine-veil{z-index:-1;background:linear-gradient(0deg,#09130ff5 0,transparent 23%,transparent 76%,#0a1712a6),linear-gradient(90deg,#0a1a15f0 3%,#11221ee8 22%,#14231dcc 39%,#12201940 69%,#0b171219)}
.cine-top,.cine-controls,.cine-transport,.cine-links,.cine-brand,.cine-note>div,.cine-seek-row{display:flex;align-items:center}.cine-top,.cine-controls,.cine-note>div{justify-content:space-between;gap:12px}.cine-brand{gap:11px}.cine-brand i{font:38px/1 Georgia,serif;color:var(--cine-gold)}.cine-brand b,.cine-brand span{display:block}.cine-brand b{font:23px/1.1 Georgia,serif;letter-spacing:-.035em}.cine-brand span,.cine-date,.cine-kicker,.cine-seek-row label{font:650 10px/1.45 'Segoe UI',sans-serif;letter-spacing:.16em;text-transform:uppercase}.cine-brand span{color:#ebd6ad;font-size:9px;margin-top:3px}
#story-cinema button,#story-cinema a{color:inherit;font:inherit;cursor:pointer}.cine-close,.cine-links button,.cine-links a{background:transparent;border:0;text-decoration:none}.cine-top .cine-close{background:#0c1b16b3;border:1px solid #d6c69c64;border-radius:40px;padding:8px 15px;font-size:13px;display:flex;align-items:center;gap:12px;min-height:38px}.cine-close span{font:21px/1 Arial,sans-serif}
.cine-body{position:relative;flex:1;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:clamp(42px,7vh,100px) 0}.cine-copy{max-width:min(680px,57vw)}.cine-kicker{color:var(--cine-gold);display:flex;align-items:center;gap:12px;margin:0 0 20px}.cine-kicker i{width:30px;height:1px;background:currentColor}.cine-copy h2{font:400 clamp(44px,min(6.2vw,9.8vh),100px)/.99 Georgia,serif;letter-spacing:-.054em;color:#fff6df;margin:0;max-width:14.5em;text-wrap:balance}.cine-date{color:#efcf96;margin:23px 0 7px}.cine-summary{font:400 clamp(19px,1.56vw,26px)/1.48 Georgia,serif;margin:0;max-width:46ch;color:#fff7e8;text-shadow:0 1px 8px #0005}.cine-in{animation:cine-words .68s cubic-bezier(.19,.68,.3,.99) both}@keyframes cine-words{from{opacity:.15;transform:translateY(12px)}to{opacity:1;transform:none}}
.cine-bottom{padding-block:6px 8px}.cine-seek-row{gap:22px;margin-bottom:11px}.cine-seek-row label{color:#eadbc4;white-space:nowrap}.cine-seek-row strong{color:var(--cine-gold);font-variant-numeric:tabular-nums}.cine-seek-row input{flex:1;min-width:30px;margin:0;height:27px;appearance:none;background:transparent;cursor:pointer}.cine-seek-row input::-webkit-slider-runnable-track{height:2px;background:linear-gradient(to right,#e4c18c var(--position,0%),#d9ceae65 var(--position,0%))}.cine-seek-row input::-webkit-slider-thumb{appearance:none;width:12px;height:12px;background:#f5d9a4;border:2px solid #ffe9c3;border-radius:50%;margin-top:-5px;box-shadow:0 0 0 4px #dfbf8430}.cine-seek-row input::-moz-range-track{height:2px;background:#d9ceae65}.cine-seek-row input::-moz-range-progress{height:2px;background:#e4c18c}.cine-seek-row input::-moz-range-thumb{width:9px;height:9px;border:2px solid #ffe9c3;background:#f5d9a4;border-radius:50%}
.cine-transport{gap:8px}.cine-transport button{background:#11231cd9;border:1px solid #cabb926e;border-radius:30px;height:41px;min-width:41px}.cine-transport #cine-prev,.cine-transport #cine-next{font:26px/1 Georgia,serif}.cine-transport #cine-play{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:#eed6a7;color:#153328;border-color:#eed6a7;font:650 13px 'Segoe UI',sans-serif;min-width:95px}.cine-transport button:disabled{opacity:.38;cursor:default!important}#cine-symbol{font:12px/1 Arial,sans-serif}.cine-links{gap:20px}.cine-links button,.cine-links a{padding:10px 0;border-bottom:1px solid #dbcdac65;font-size:13px!important}.cine-links [aria-expanded=true]{color:#f2d398!important;border-color:#e9c387}
.cine-note{position:absolute;right:0;bottom:15px;width:min(385px,39%);max-height:100%;overflow:auto;background:#12251ff7;color:#fdf2db;border:1px solid #c3a46e8c;border-radius:3px;padding:18px 21px;box-shadow:0 9px 32px #0005}.cine-note strong{font:21px Georgia,serif}.cine-note button{background:none;border:0;min-width:34px;min-height:34px;font-size:22px!important}.cine-note p,.cine-note li{font-size:14px;line-height:1.48}.cine-note ul{padding-left:19px}.cine-note li+li{margin-top:9px}.cine-note a{text-decoration:underline;text-underline-offset:3px}.cine-note p:empty{display:none}
@media(max-width:760px){.cine-shell{padding:18px 22px max(16px,env(safe-area-inset-bottom))}.cine-stage{bottom:18%}.cine-shot::before{background-position:var(--mobile-focal,var(--focal))}.cine-veil{background:linear-gradient(0deg,#101e18 10%,#101e18f7 21%,#11221ce8 39%,#0c17128c 60%,#13251b12 77%,#0a151e72)}.cine-body{justify-content:flex-end;padding:max(14vh,55px) 0 20px}.cine-copy{max-width:37rem}.cine-kicker{margin-bottom:13px;font-size:9px}.cine-copy h2{font-size:clamp(36px,8.9vw,56px);letter-spacing:-.047em}.cine-date{margin:15px 0 5px;font-size:9px}.cine-summary{font-size:clamp(17px,4.5vw,21px);line-height:1.38}.cine-brand b{font-size:20px}.cine-brand i{font-size:30px}.cine-brand span{font-size:8px}.cine-note{inset:auto 0 8px;width:auto;max-height:90%}.cine-links{gap:13px}.cine-links button,.cine-links a{font-size:12px!important}.cine-transport{gap:5px}.cine-transport button{height:38px;min-width:35px}.cine-transport #cine-play{min-width:76px}.cine-seek-row{margin-bottom:5px;gap:10px}.cine-bottom{padding-bottom:0}}
@media(max-width:360px){.cine-shell{padding-inline:15px}.cine-controls{gap:4px}.cine-links{gap:8px}}
@media(max-height:520px) and (min-width:580px){.cine-shell{padding-block:10px}.cine-body{padding:12px 0}.cine-copy{max-width:76vw}.cine-copy h2{font-size:36px}.cine-kicker{margin-bottom:6px}.cine-summary{font-size:17px;max-width:60ch}.cine-date{margin:8px 0 4px}.cine-note{z-index:2}.cine-bottom{padding:0}}
html[data-motion=off] .cine-shot,html[data-motion=off] .cine-shot::before,html[data-motion=off] .cine-in{transition:none;animation:none}
@media print{.story-play,#story-cinema{display:none!important}}
.cine-top-tools{display:flex;align-items:center;gap:10px}.cine-chapters{position:relative}.cine-chapters select{appearance:none;border:1px solid #d6c69c64;border-radius:30px;color:#fff2d5;background:#12261ed9;padding:8px 29px 8px 13px;min-height:38px;max-width:41vw;cursor:pointer;font:500 13px 'Segoe UI',sans-serif}.cine-chapters::after{content:'⌄';position:absolute;right:12px;top:43%;transform:translateY(-50%);pointer-events:none;color:#f0d8af}.cine-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
html[data-motion=on] .hero-inner>h1{animation:cine-words .9s cubic-bezier(.19,.68,.3,.99) both}html[data-motion=on] .hero-inner>.hero-lead{animation:cine-words .9s .10s cubic-bezier(.19,.68,.3,.99) backwards}
@media(max-width:540px){.cine-top-tools{gap:5px}.cine-chapters select{max-width:33vw;padding:6px 20px 6px 9px;font-size:11px;min-height:34px}.cine-chapters::after{right:7px}.cine-top .cine-close{padding:6px 11px;gap:6px;min-height:34px;font-size:12px}.cine-brand{gap:5px}}
#story-cinema #cine-explore{margin-top:18px;padding:7px 12px;background:#172e26e6;color:#f5dbab;border:1px solid #c8a37198;border-radius:2px;font:600 13px/1.3 'Segoe UI',sans-serif}
#cine-interlude{padding:0;border:1px solid #95845c;border-radius:4px;background:#172c25;color:#fff5dd;width:min(1150px,calc(100vw - 48px));max-width:100vw;max-height:92dvh;overscroll-behavior:contain}#cine-interlude::backdrop{background:#07130ed9;backdrop-filter:blur(5px)}
#cine-interlude>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px clamp(16px,4vw,44px);background:#12261f;border-bottom:1px solid #5c6651;position:sticky;top:0;z-index:4}#cine-interlude-title{font:italic 19px Georgia,serif;color:#f5dfb6}#cine-interlude header button{border:1px solid #9caa8c80;border-radius:100px;background:transparent;color:#f8ebd1;padding:8px 14px;font:600 13px 'Segoe UI',sans-serif;cursor:pointer}
@media(max-width:760px){#cine-interlude{width:calc(100vw - 12px);max-height:96dvh}#story-cinema #cine-explore{margin-top:12px}}

/* Each matte traces the original 450 × 300 composition. Cover and the camera
   are identical to the plate below, including its separate mobile focal point. */
.cine-shot:is([data-art="makkah"],[data-art="horizon"],[data-art="madinah"],[data-art="coast"])::after {
  content: "";
  position: absolute;
  inset: -2%;
  pointer-events: none;
  mix-blend-mode: screen;
  mask: var(--light-matte) var(--focal) / cover no-repeat;
  transform-origin: var(--focal);
  background: var(--light-source, #ffc36d);
  animation: var(--take, none) var(--take-time, 23s) cubic-bezier(.18,.4,.52,.82) both,
    var(--life, wick-light) var(--life-speed, 2.8s) ease-in-out infinite;
  animation-play-state: var(--camera-state, paused), var(--camera-state, paused);
}

/* Wick, clay bowl and nearby plaster are lit with different strengths. */
.cine-shot[data-art="makkah"] {
  --light-matte: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='450' height='300' viewBox='0 0 450 300'><defs><radialGradient id='g'><stop stop-color='white' stop-opacity='.46'/><stop offset='.45' stop-color='white' stop-opacity='.23'/><stop offset='1' stop-color='white' stop-opacity='0'/></radialGradient></defs><ellipse fill='url(%23g)' cx='224' cy='168' rx='26' ry='32'/><ellipse fill='url(%23g)' cx='222' cy='194' rx='23' ry='4'/><path fill='white' opacity='.79' d='M230.8 162.8Q228.9 169 229.7 173.8Q231.6 176 232.3 172.4Q232.2 168.3 230.8 162.8Z'/></svg>");
}
.cine-shot[data-art="horizon"] {
  --life-speed: 3.4s;
  --light-matte: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='450' height='300' viewBox='0 0 450 300'><defs><radialGradient id='g'><stop stop-color='white' stop-opacity='.58'/><stop offset='.4' stop-color='white' stop-opacity='.24'/><stop offset='1' stop-color='white' stop-opacity='0'/></radialGradient></defs><ellipse fill='url(%23g)' cx='260' cy='199' rx='11' ry='14'/><ellipse fill='url(%23g)' cx='260' cy='210' rx='21' ry='4'/><path fill='white' opacity='.78' d='M260.8 190.5Q258.2 196.7 258.9 201.3Q261 203.6 261.4 199.2Z'/></svg>");
}
@keyframes wick-light {
  0%, 100% { opacity: .29; }
  19% { opacity: .70; }
  36% { opacity: .45; }
  59% { opacity: .81; }
  77% { opacity: .53; }
}

/* Highlight the lip of the irrigation channel and the broken surface below it. */
.cine-shot[data-art="madinah"] {
  --life: water-course;
  --life-speed: 2.9s;
  --light-source: repeating-linear-gradient(174deg, transparent 0 6px, rgba(255,239,195,.20) 8px,
    rgba(255,246,215,.60) 9px, transparent 13px 19px) 0 0 / 100% 38px;
  --light-matte: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='450' height='300' viewBox='0 0 450 300'><g fill='none' stroke='white' stroke-linecap='round'><path opacity='.64' stroke-width='1.55' d='M313 234q-1 6-3 13m11-14q-1 5-5 14m12-15q-1 8-6 15m15-14q-2 7-7 14m16-14q-4 6-7 14m13-13q-4 5-7 12'/><path opacity='.76' stroke-width='1.1' d='m319 252 6 1 4-1 5 1 6-2m-31 7 9 1 5-1m9 2 8-1 7-2m-15 12 7-1 5 1m-19 8 8 1 7-1m-12 9 7 1 9-2'/></g></svg>");
}
@keyframes water-course {
  from { background-position: 0 0; }
  to { background-position: 0 38px; }
}

/* Retreating surf traces only the three existing crests by the rocks. */
.cine-shot[data-art="coast"] {
  --life: shore-light;
  --life-speed: 5.8s;
  --light-source: linear-gradient(103deg, transparent 9%, rgba(226,238,214,.65) 37%, transparent 71%) 0 0 / 200% 100%;
  --light-matte: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='450' height='300' viewBox='0 0 450 300'><g fill='none' stroke='white' stroke-linecap='round' stroke-width='.9'><path opacity='.60' d='M161 178q8-2 14-1l7 1 9-2 8 1q6 1 10-2l6 1 6-2'/><path opacity='.49' d='m174 187 8-2 9 1 5-2 7 1 7-2 4 1'/><path opacity='.36' d='m221 165 8-1 7 1 6-2 5 1 8-2'/></g></svg>");
}
@keyframes shore-light {
  0%, 100% { background-position: 90% 50%; opacity: .24; }
  48% { background-position: 20% 50%; opacity: .95; }
}

@media (max-width:760px) {
  .cine-shot[data-art]::after { mask-position: var(--mobile-focal, var(--focal)); }
}
html[data-motion=off] .cine-shot[data-art]::after { display: none; }
@media (prefers-reduced-motion:reduce) {
  html:not([data-motion=on]) .cine-shot[data-art]::after { display: none; }
}

/* Each object matte uses the 3:2 coordinates of its own chapter illustration.
   Using the same cover and focal point as the art keeps it registered on phones. */
.chapter-lensed .scene-art {
  inset: -8% -5%;
  transform-origin: var(--focal, center);
}
.chapter-near {
  position: absolute;
  inset: 0;
  background: var(--frame) var(--focal) / cover no-repeat;
  mask: var(--chapter-matte) var(--focal) / cover no-repeat;
  transform-origin: var(--focal);
  pointer-events: none;
}
.chapter-lensed.theme-early {
  /* The market stall, including its textiles, counter and near support. */
  --chapter-matte: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 345 230' width='345' height='230'%3E%3Cpath fill='white' d='M115 174l6-10 21-2q-4-14 16-16 6-12 26-13l34-2 16 0 1 12 9 7 15 1 2 10 14 2 21-1 0-127 9-4 7-1-1 68 3 64 11-1 20 3v65H125l-2-48z'/%3E%3C/svg%3E");
}
.chapter-lensed.theme-makkah {
  /* Folded wool in front of the doorway. */
  --chapter-matte: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 345 230' width='345' height='230'%3E%3Cpath fill='white' d='M163 162q0-8 13-16 14-13 57-17l37-8 57-1v84l-36 10-51-4-60-12-36-7 1-6 15-10z'/%3E%3C/svg%3E");
}
.chapter-lensed.theme-hijrah {
  /* The cloth sack sits in front of the darker waterskin. */
  --chapter-matte: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 345 230' width='345' height='230'%3E%3Cpath fill='white' d='M151 94q12-10 27-11l8-5 15 0q10-4 18 4l10 6 14 6 12 3 3 8-4 10-13 13 2 12 13 18 17 34 5 9-25 9-38 4-37-1-40-1-13-5 2-17 10-24 8-23 12-18-8-7z'/%3E%3C/svg%3E");
}
.chapter-lensed.theme-madinah {
  /* The near stone lip of the irrigation channel. */
  --chapter-matte: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 345 230' width='345' height='230'%3E%3Cpath fill='white' d='M0 230v-11l47-1 37-6 34-5 20-10 27-9 7-9 16-3 12-7 22-8 24-8 10-5 14-5-9 9-20 10-12 4-3 9-12 9-1 17-15 8-8 10-19 10zm345-67-28 4-14 7-7 13-8 4-6 18-5 9 1 12h67z'/%3E%3C/svg%3E");
}
.chapter-lensed.theme-final {
  /* Tent cloth, its post, and the large vessel at the edge of the camp. */
  --chapter-matte: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 345 230' width='345' height='230'%3E%3Cpath fill='white' d='M278 0h67v230h-18l-2-30-16 0-20-3-13-13-7-19-2-21 8-15 8-9-3-6 2-7 15-2 12 4-1-20-5-64-12 14-13 29-11 21-22 32-12 25-22 23-10 20-21 8-17 0-15-4-21 2 17-15 20-17 12-19 11-18 14-30 10-21 9-15z'/%3E%3C/svg%3E");
}
.chapter-lensed .ornament b { display: none; }
.chapter-lensed .ornament i { transform-origin: left center; }
.chapter-lensed .ornament i:last-child { transform-origin: right center; }
.chapter-glyph {
  width: 49px;
  height: 29px;
  flex: none;
  color: #f1d5a3;
  overflow: visible;
}
@media (max-width:700px) {
  .chapter-glyph { width: 42px; height: 25px; }
}
@media print {
  .chapter-near, .chapter-glyph { display: none; }
}

/* The illustrated reader keeps its original height until the scroll camera is ready. */
.arrival-copy,.arrival-art,.scroll-cue{display:none}
.still-camera{position:absolute;inset:0}
.cutaway-window{overflow:hidden}
html[data-scroll-fx=on] :is(.hero .scene-art,.hero .cave-depth,.chapter-opener .scene-art){transform:none}
html[data-scroll-fx=on] .cave-depth__plate{--scene-shift:0px}
html[data-scroll-fx=on] .prologue-words{display:grid}
html[data-scroll-fx=on] .prologue-words>div{grid-area:1/1;align-self:center}
html[data-scroll-fx=on] .arrival-copy{display:block;opacity:0;pointer-events:none}
html[data-scroll-fx=on] .arrival-art{display:block;position:absolute;inset:-4% 0;z-index:-1;pointer-events:none;opacity:0;background:var(--art-horizon) 75% 48% / cover no-repeat;transform-origin:75% 48%}
.arrival-title{margin:0 0 24px;font:italic 400 clamp(83px,10.3vw,166px)/.93 Georgia,serif;letter-spacing:-.07em;color:#f4dfb2}
html[data-scroll-fx=on] .scroll-cue{display:inline-flex;align-items:center;gap:11px;margin-left:auto;color:#f9e9c9;letter-spacing:.1em}
.hero-bottom .scroll-cue i{width:clamp(18px,4vw,66px);height:1px;background:#efd4a2;transform-origin:left center}
@media(min-width:761px) and (min-height:571px){
  html[data-scroll-fx=on] .prologue-track::after{content:'';display:block;height:clamp(270px,60svh,680px)}
  html[data-scroll-fx=on] #prologue{position:sticky;top:var(--mast);min-height:calc(100svh - var(--mast));z-index:1}
}
@media(max-width:700px){
  .arrival-title{font-size:clamp(74px,15vw,100px)}
  html[data-scroll-fx=on] .scroll-cue{font-size:8px;gap:4px}
  .hero-bottom .scroll-cue i{display:none}
  html[data-scroll-fx=on] .hero-bottom>i{width:clamp(14px,6vw,44px)}
}
@media(max-width:359px){html[data-scroll-fx=on] .hero-bottom{gap:6px}.hero-bottom .scroll-cue{max-width:60px}}
@media print{html[data-scroll-fx=on] .prologue-track::after,html[data-scroll-fx=on] :is(.arrival-art,.arrival-copy,.scroll-cue){display:none}html[data-scroll-fx=on] #prologue{position:static;min-height:auto}.title-copy{opacity:1!important;transform:none!important}}


.hj-atlas{padding:clamp(34px,5vw,82px) max(22px,calc((100vw - 1160px)/2));background:#122d28;color:#f6edda}
.hj-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:clamp(22px,4.8vw,78px);align-items:start}
.hj-heading{grid-column:2;grid-row:1}.hj-heading h3{font:normal clamp(32px,3.4vw,54px)/1.07 Georgia,serif;letter-spacing:-.045em;color:#f9f2e3;margin:13px 0}.hj-heading>p:last-child{font:15px/1.5 'Segoe UI',sans-serif;margin:0;color:#dadfce}
.hj-atlas .hj-source a{color:inherit;text-decoration-color:#98a395;text-underline-offset:3px}
.hj-atlas .hj-kicker{font:650 10px/1.45 'Segoe UI',sans-serif;text-transform:uppercase;letter-spacing:.145em;color:#e1c68f;margin:0}.hj-kicker span{margin:0 .36em;opacity:.7}
.hj-chart{grid-column:1;grid-row:1/3;align-self:center;margin:0;min-width:0}.hj-paper{position:relative;aspect-ratio:640/390;isolation:isolate;background:radial-gradient(ellipse at 35% 36%,#f5edda,#e1d3b4);overflow:hidden;border:1px solid #d6bd8d}.hj-map{position:absolute;inset:0;width:100%;height:100%;display:block}
.hj-surface{position:absolute;inset:0}.hj-paper:after{content:'';position:absolute;inset:6px;border:1px solid #71644750;pointer-events:none}
.hj-atlas .hj-pin{position:absolute;display:inline-flex;align-items:center;min-height:44px;transform:translate(-11px,-50%);gap:3px;z-index:1;text-decoration:none;line-height:1;color:#233f34;border-radius:3px;font-family:Georgia,serif}
.hj-dot{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;border:1px solid #52654f;background:#f2e8cf;font:700 11px/1 'Segoe UI',sans-serif}.hj-place{padding:3px 5px 4px 3px;border-radius:3px;background:#efe4cce8;font:normal clamp(13px,1.45vw,20px)/1.1 Georgia,serif}
.hj-pin[aria-current=step] .hj-dot{background:#1d4539;color:white;border:2px solid #f1d796}.hj-pin[aria-current=step] .hj-place{font-weight:bold}.hj-pin:hover .hj-place{text-decoration:underline}.hj-atlas a:focus-visible,.hj-atlas button:focus-visible{outline:3px solid #e7c27f;outline-offset:3px}.hj-atlas .hj-pin:focus-visible{outline-color:#264e41}
.hj-chart figcaption{font:italic 13px/1.5 Georgia,serif;margin:8px 0 0;color:#d1d4bf}
.hj-page{grid-column:2;grid-row:2;margin-top:clamp(17px,2vw,31px);padding-top:clamp(16px,1.8vw,25px);border-top:1px solid #b9b98d55}
.hj-entry{scroll-margin-top:100px}.hj-entry+.hj-entry:not([hidden]){margin-top:20px}.hj-atlas .hj-entry[hidden],.hj-atlas .hj-controls[hidden]{display:none}.hj-enhanced .hj-entry+.hj-entry:not([hidden]){margin-top:0}
.hj-entry h4{font:normal clamp(24px,2.3vw,35px)/1.12 Georgia,serif;letter-spacing:-.025em;margin:7px 0 9px;color:#faf2e4}.hj-prose{font:normal 17px/1.48 Georgia,serif;color:#f0ead9;margin:0}.hj-source{font:12px/1.5 'Segoe UI',sans-serif;color:#c7cbb7;margin:10px 0 3px}.hj-atlas .hj-passage{font:600 13px/1.55 'Segoe UI',sans-serif;color:#f0d69e;text-underline-offset:3px}.hj-controls{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-top:17px}.hj-controls button{background:none;color:#f2ecd8;border:1px solid #a6ae8c8c;border-radius:2px;min-height:44px;padding:4px 12px;font:600 13px/1.2 'Segoe UI',sans-serif;cursor:pointer}.hj-controls button:hover:enabled{background:#25453a}.hj-controls button:disabled{opacity:.46;cursor:default}.hj-ticks{display:flex;gap:4px}.hj-ticks i{height:3px;width:12px;background:#6b7b64}.hj-ticks i.hj-done{background:#e3c48b}
@keyframes hj-note-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){html:not([data-motion=off]) .hj-enhanced .hj-entry:not([hidden]){animation:hj-note-in .32s ease-out}}
@media(max-width:820px){.hj-layout{display:flex;flex-direction:column;gap:20px}.hj-heading,.hj-chart,.hj-page{width:100%}.hj-page{margin:0}.hj-paper{max-height:none}.hj-place{font-size:clamp(13px,3.1vw,19px)}}
@media(max-width:520px){.hj-atlas{padding-inline:16px}.hj-paper{aspect-ratio:640/566}.hj-surface{width:145%;left:-21%}.hj-chart figcaption{font-size:12px}.hj-entry h4{font-size:26px}.hj-layout{gap:15px}}
@media(max-width:360px){.hj-surface{left:-28%}}
@media print{.hj-atlas{color:#17251d;background:#fff;padding:10px 0}.hj-atlas .hj-kicker,.hj-entry h4,.hj-prose,.hj-source,.hj-chart figcaption,.hj-heading h3,.hj-heading>p:last-child{color:#17251d}.hj-layout{display:block}.hj-atlas .hj-entry[hidden]{display:block}.hj-atlas .hj-controls,.hj-atlas .hj-passage{display:none}.hj-chart{max-width:450px}.hj-entry{break-inside:avoid;margin-top:10px!important}}


.wl-interlude{--wl-gold:#e5c68b;--wl-paper:#f9f3e4;--wl-soft:#d5d9c6;background:#142e27;color:var(--wl-paper);padding:clamp(3rem,7vw,7rem) clamp(1.15rem,6vw,7rem);text-align:left}
.wl-inner{max-width:1180px;margin:0 auto}
.wl-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:3rem;position:static}
.wl-kicker,.wl-label,.wl-frame-mark,.wl-still figcaption span{font:650 .68rem/1.5 "Segoe UI",sans-serif;letter-spacing:.15em;text-transform:uppercase}
.wl-kicker{display:flex;align-items:center;gap:.7rem;color:var(--wl-gold);margin:0 0 .8rem}
.wl-kicker i{display:block;width:2.8rem;height:1px;background:var(--wl-gold)}
.wl-heading h2{color:var(--wl-paper);font:normal clamp(2.6rem,5.5vw,5.65rem)/.99 Georgia,serif;letter-spacing:-.055em;margin:0;max-width:13ch}
.wl-intro{color:var(--wl-soft);font:normal clamp(.96rem,1.3vw,1.16rem)/1.55 Georgia,serif;max-width:30ch;margin:0}
.wl-tabs{display:flex;margin:clamp(1.5rem,4vw,3rem) 0 0;border-top:1px solid #698078;border-bottom:1px solid #698078}
.wl-interlude [hidden]{display:none!important}
.wl-tabs button{width:33.3333%;min-height:56px;display:flex;align-items:center;justify-content:center;gap:.62rem;position:relative;border:0;border-radius:0;background:transparent;color:var(--wl-soft);padding:.75rem .3rem;cursor:pointer;font:600 clamp(.78rem,1.24vw,.98rem)/1.2 "Segoe UI",sans-serif;transition:background .22s ease,color .22s ease}
.wl-tabs button+button{border-left:1px solid #536c60}
.wl-tabs svg{width:1.55rem;height:1.55rem;flex:none}
.wl-tabs button[aria-selected=true]{color:var(--wl-gold);background:#244035;box-shadow:inset 0 -3px var(--wl-gold)}
.wl-tabs button:hover{background:#253f34}
.wl-interlude :focus-visible{outline:3px solid #f3d89c;outline-offset:3px;z-index:1}
.wl-panels{margin-top:1.25rem}
.wl-panel{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,1fr);background:#203b32;color:var(--wl-paper);margin:0;padding:0;min-width:0;overflow:hidden}
.wl-panel+.wl-panel{margin-top:1.25rem}
.wl-enhanced .wl-panel{margin-top:0}
.wl-still{display:grid;align-content:end;position:relative;isolation:isolate;overflow:hidden;min-height:20rem;margin:0;background:#3a4535}
.wl-still-image{position:absolute;inset:0;z-index:-2;background-image:var(--wl-image);background-size:cover;background-position:var(--wl-focal)}
.wl-still::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(0deg,rgba(11,24,18,.91) 0%,transparent 39%,transparent 75%,rgba(11,24,18,.30) 100%)}
.wl-frame-mark{position:absolute;top:1.1rem;left:1.2rem;color:white;background:#172a23dd;border:1px solid #a4ad914d;padding:.28rem .52rem}
.wl-still figcaption{padding:clamp(1.15rem,3vw,2.4rem);font:italic clamp(1.05rem,2vw,1.55rem)/1.25 Georgia,serif;color:#fff5dc;max-width:none}
.wl-still figcaption span{display:block;font-style:normal;color:#edce93;margin-bottom:.4rem}
.wl-note{padding:clamp(1.3rem,3.7vw,3.7rem);align-self:center;min-width:0}
.wl-label{margin:0 0 .85rem;color:var(--wl-gold)}
.wl-note h3{font:normal clamp(2rem,3.5vw,3.65rem)/1.01 Georgia,serif;color:var(--wl-paper);letter-spacing:-.046em;margin:0}
.wl-account,.wl-detail p{font:normal clamp(1rem,1.3vw,1.13rem)/1.59 Georgia,serif;color:#f1eddd}
.wl-account{margin:1rem 0}
.wl-detail{border-block:1px solid #627469;margin:.9rem 0;color:var(--wl-paper);background:transparent}
.wl-detail summary{cursor:pointer;color:var(--wl-paper);font:600 .91rem/1.4 "Segoe UI",sans-serif;padding:.75rem 0}
.wl-detail p{margin:0 0 1rem;font-size:1rem}
.wl-sources{display:flex;gap:.3rem .95rem;flex-wrap:wrap}
.wl-sources a,.wl-read{font:600 .79rem/1.55 "Segoe UI",sans-serif;text-decoration:underline;text-underline-offset:.23em;color:var(--wl-gold)}
.wl-read{display:inline-block;margin-top:.95rem;color:#fff4d7}
.wl-enhanced .wl-panel.wl-reveal .wl-still-image{animation:wl-focus .9s cubic-bezier(.16,.72,.18,1) both}
.wl-enhanced .wl-panel.wl-reveal .wl-note{animation:wl-ink .38s ease-out both}
@keyframes wl-focus{from{transform:scale(1.035);opacity:.56}to{transform:scale(1);opacity:1}}
@keyframes wl-ink{from{opacity:.5;transform:translateY(.3rem)}to{opacity:1;transform:none}}
@media(max-width:720px){.wl-heading{display:block}.wl-intro{margin:.95rem 0 0;max-width:48ch}.wl-panel{grid-template-columns:1fr}.wl-still{min-height:0;aspect-ratio:1.95}.wl-note{align-self:start}.wl-note h3{max-width:none}}
@media(max-width:440px){.wl-tabs button{flex-direction:column;gap:.25rem}.wl-tabs svg{width:1.35rem;height:1.35rem}.wl-frame-mark{top:.65rem;left:.8rem}}
@media(prefers-reduced-motion:reduce){.wl-interlude *, .wl-interlude *::after{animation:none!important;transition:none!important}}
html[data-motion=off] .wl-interlude *,html[data-motion=off] .wl-interlude *::after{animation:none!important;transition:none!important}

@media(max-width:760px){:root{--art-hero:url("hero-mobile.6885b2da1937.webp");--art-early:url("early-mobile.158fbcd8573a.webp");--art-makkah:url("makkah-mobile.8c715a0f5aa5.webp");--art-hijrah:url("hijrah-mobile.6870985d3da9.webp");--art-madinah:url("madinah-mobile.f8e4084427e9.webp");--art-final:url("final-mobile.169f0d6837fc.webp");--art-horizon:url("horizon-mobile.ce766089e7d4.webp");--art-coast:url("coast-mobile.74c559d97f33.webp");--art-courtyard:url("courtyard-mobile.b437fe0d197c.webp");--art-land:url("land-mobile.db8b10df50a2.webp");--art-treaty:url("treaty-mobile.1fb3a0531fcc.webp");--art-prayer:url("prayer-mobile.be8c74df5426.webp");--art-well:url("well-mobile.3d0ba6d46b65.webp");--art-meal:url("meal-mobile.056e3d3ce6b7.webp");}}
.defer-art .chapter-opener:not(.art-ready) :is(.scene-art,.chapter-near),
.defer-art .still-window:not(.art-ready) .still-layer,
.defer-art .cutaway-window:not(.art-ready) .illustration,
.defer-art .wl-interlude:not(.art-ready) .wl-still-image{background-image:none}
@media print{.hero,.chapter-opener{break-after:avoid}}

/* The directory masthead has a compact menu below its 900px breakpoint. */
:root{--mast:72px}
.hub-masthead{
  position:sticky;top:0;z-index:80;width:100%;height:var(--mast);
  display:flex;align-items:center;justify-content:space-between;
  padding:0 clamp(18px,4.5vw,76px);background:rgba(5,47,39,.97);color:#fff;
  border-bottom:1px solid rgba(255,255,255,.13);box-shadow:0 8px 32px rgba(2,24,20,.16);
  backdrop-filter:blur(16px);font-family:'DM Sans','Segoe UI',sans-serif;
  font-weight:500;line-height:1.4
}
.hub-masthead .site-brand{display:flex;align-items:center;flex:0 0 auto;padding:0;min-height:44px}
.hub-masthead .site-brand-logo{display:block;width:98px;height:auto;max-height:56px;object-fit:contain;filter:drop-shadow(0 4px 12px #0003)}
.hub-masthead .hub-mobile-switch{display:none}
.hub-masthead #main-nav{display:flex;align-items:center;gap:clamp(14px,2vw,28px);margin-left:auto}
.hub-masthead #main-nav>a:not(.button),.hub-masthead .nav-dropdown-toggle{
  position:relative;display:inline-flex;align-items:center;padding:22px 0;color:#fff;
  text-decoration:none;white-space:nowrap;font:inherit;font-size:12px;min-height:44px
}
.hub-masthead #main-nav>a.palestine-nav-link{color:#f1cf79}
.hub-masthead #main-nav>a:not(.button)::after{content:"";position:absolute;left:0;right:0;bottom:15px;height:1px;background:#c9a85b;transform:scaleX(0);transform-origin:left;transition:transform .2s ease}
.hub-masthead #main-nav>a:is(:hover,:focus-visible,[aria-current="page"])::after{transform:scaleX(1)}
.hub-masthead .button-gold{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;background:#c9a85b;color:#062f27;border-radius:9px;font-weight:700;font-size:12px;white-space:nowrap;text-decoration:none}
.hub-masthead .button-gold:hover{background:#ead8a7}
.hub-masthead summary{cursor:pointer;list-style:none}
.hub-masthead summary::-webkit-details-marker{display:none}
.hub-masthead .nav-dropdown{position:relative}
.hub-masthead .nav-dropdown-toggle{gap:7px;color:#ffffffe0}
.hub-masthead .nav-dropdown-toggle>span{width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}
.hub-masthead .nav-dropdown[open] .nav-dropdown-toggle>span{transform:translateY(2px) rotate(225deg)}
.hub-masthead .nav-dropdown-panel{
  position:absolute;top:calc(100% - 4px);left:50%;z-index:2;width:254px;
  padding:8px;border:1px solid #10201b21;border-radius:15px;background:#fbfaf5;
  box-shadow:0 22px 55px #0118133d;transform:translateX(-50%)
}
.hub-masthead .nav-dropdown-panel a{display:grid;gap:3px;padding:12px 14px;border-radius:10px;color:#062f27;text-decoration:none}
.hub-masthead .nav-dropdown-panel a:is(:hover,:focus-visible){background:#edf3ef}
.hub-masthead .nav-dropdown-panel b{font-size:13px}
.hub-masthead .nav-dropdown-panel small{font-size:11px;line-height:1.35;color:#53635c}
.hub-masthead .header-socials{display:flex;align-items:center;gap:8px}
.hub-masthead .social-link{display:grid;place-items:center;width:34px;height:34px;border:1px solid #d7b14870;border-radius:10px;background:#ffffff0e}
.hub-masthead .social-link img{display:block;width:16px;height:16px}
.hub-masthead .social-link:hover{border-color:#c9a85b;background:#d7b14820}
.hub-masthead :is(a,summary):focus-visible{outline:3px solid #e5b354;outline-offset:2px}
@media(max-width:1100px){.hub-masthead #main-nav{gap:14px}.hub-masthead #main-nav>a:not(.button),.hub-masthead .nav-dropdown-toggle{font-size:11px}}
@media(max-width:900px){
  :root{--mast:68px}
  .hub-masthead{padding-inline:18px}
  .hub-masthead .hub-mobile-switch{display:block;margin-left:auto}
  .hub-masthead .menu-button{display:grid;place-items:center;min-height:44px;min-width:44px;padding:8px 12px;border:1px solid #ffffff66;border-radius:8px;color:#fff;font-size:14px}
  .hub-masthead #main-nav{
    display:none;position:absolute;top:calc(100% - 5px);left:14px;right:14px;margin:0;
    max-height:calc(100vh - var(--mast) - 8px);max-height:calc(100dvh - var(--mast) - 8px);overflow:auto;overscroll-behavior:contain;
    flex-direction:column;align-items:stretch;gap:4px;padding:16px 18px 18px;background:#fbfaf5;border:1px solid #dbe4de;border-radius:18px;box-shadow:0 22px 55px #0118133d
  }
  .hub-masthead .hub-mobile-switch[open]~#main-nav{display:flex}
  .hub-masthead #main-nav>a:not(.button),.hub-masthead .nav-dropdown-toggle{padding:10px 8px;min-height:44px;color:#062f27;font-size:14px}
  .hub-masthead #main-nav>a[aria-current="page"]{background:#e8e9d9;border-radius:8px;font-weight:700}
  .hub-masthead #main-nav>a:not(.button)::after{display:none}
  .hub-masthead .nav-dropdown-toggle{display:flex;justify-content:space-between;width:100%;font-weight:700;border-bottom:1px solid #10201b20}
  .hub-masthead .nav-dropdown-panel{position:static;width:auto;margin:4px 0;padding:3px 5px;border:0;border-left:2px solid #c9a85b;border-radius:0;transform:none;box-shadow:none}
  .hub-masthead .nav-dropdown-panel a{padding:9px 13px}
  .hub-masthead .header-socials{justify-content:center;padding:8px 0;border-top:1px solid #10201b20}
  .hub-masthead .social-link{width:44px;height:44px;background:#062f27;border-radius:12px}
  .hub-masthead .button-gold{font-size:14px}
}
@media(max-width:600px){.hub-masthead{padding-inline:14px}.hub-masthead .site-brand-logo{width:82px;max-height:48px}}
@media(prefers-reduced-motion:reduce){.hub-masthead #main-nav>a::after{transition:none}}
@media print{.hub-masthead{display:none}}

#reader-tools{color:#223b30;background:#f6f2e6;border-block:1px solid #d8cdb8}
.reader-tools-inner{max-width:1410px;margin:auto;padding:15px clamp(22px,6vw,94px);display:flex;align-items:center;justify-content:space-between;gap:12px 28px}
.reader-tools-title{display:flex;flex-direction:column;gap:2px}
.reader-tools-title span{font:650 10px/1.3 'Segoe UI',sans-serif;letter-spacing:.13em;text-transform:uppercase;color:#586950}
.reader-tools-title strong{font:400 24px/1.16 Georgia,serif;letter-spacing:-.025em}
.reader-tools-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px}
.reader-tools-actions :is(a,button){display:inline-flex;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:6px 15px;color:#223c31;background:transparent;border:1px solid #bdbda8;border-radius:4px;text-decoration:none;white-space:nowrap;font:600 14px/1.25 'Segoe UI',sans-serif}
.reader-tools-actions #motion-toggle{color:#223c31}
.reader-tools-actions :is(a,button):hover{background:#e7e4d3}
.reader-tools-actions .contents-button{color:#fff8e9;background:#1f3e32;border-color:#1f3e32}
.reader-tools-actions .contents-button:hover{background:#305341}
@media(max-width:680px){
  .reader-tools-inner{display:block;padding:15px 20px 17px}
  .reader-tools-title{flex-direction:row;align-items:baseline;gap:10px;margin-bottom:10px}
  .reader-tools-title strong{font-size:21px}
  .reader-tools-actions{gap:6px}
  .reader-tools-actions :is(a,button){padding-inline:10px;font-size:13px}
}
@media(max-width:375px){.reader-tools-actions{display:grid;grid-template-columns:1fr 1fr}}
@media print{#reader-tools{display:none}}
