@font-face{font-family:Gujarati;src:url(./assets/fonts/NotoSerifGujarati.ttf) format("truetype");font-display:swap}
:root{
 --ground:#f2efe8;--sheet:#fcfaf5;--ink:#2e312b;--faint:#c6c5b8;--rule:#cfcfc2;--muted:#5d6155;--accent:#805337;
 --serif:Georgia,Gujarati,serif;--sans:"Helvetica Neue",Arial,Gujarati,sans-serif;
 font:16px var(--serif);color:var(--ink);background:var(--ground);color-scheme:light
}
*{box-sizing:border-box}html,body,#root,.universe,.stage{height:100%;width:100%;margin:0;overflow:hidden}
body{overscroll-behavior:none}button,input,summary{font:inherit;color:inherit}button{border:0;background:none;cursor:pointer;padding:0;-webkit-tap-highlight-color:transparent}
button:focus-visible,input:focus-visible,summary:focus-visible,a:focus-visible,video:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.universe{position:relative;height:100dvh}.stage{position:relative;isolation:isolate;touch-action:none;user-select:none;cursor:grab;background:var(--ground)}.stage:active{cursor:grabbing}
.cloud,.threads{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.cloud canvas{display:block;width:100%;height:100%}
.threads path{fill:none}.line{stroke:#aaa899;stroke-width:1;opacity:.76}.routeHit{stroke:transparent;stroke-width:14;pointer-events:stroke;cursor:pointer}
.threads g:has(.routeHit:hover) .line{stroke:#7c654a}
.object{position:absolute;transform-origin:center;text-align:left;line-height:1.16;display:flex;flex-direction:column;align-items:flex-start}
.artifact{position:relative;display:block;width:100%;background:#e7e1d6;pointer-events:none;overflow:hidden}
.artifact img{display:block;width:100%;height:100%;object-fit:cover}
.major .artifact{aspect-ratio:2.35}.major.portrait{align-items:center;text-align:center}
.major.portrait .artifact{width:76%;aspect-ratio:1.03}.portrait .artifact img{object-position:center 25%}
.object.book{align-items:center;text-align:center}.book .artifact{width:62%;aspect-ratio:auto;background:none}.book .artifact img{height:auto;display:block}
.object .legend{display:block;width:100%;background:var(--ground);padding:8px 0 2px}
.legend strong{display:block;font-weight:400;font-size:23px;line-height:1.13;letter-spacing:-.025em;text-wrap:balance}
.legend small{display:block;font:13px/1.38 var(--sans);margin-top:4px;color:var(--muted)}
.book .legend{padding:12px 0 3px}.book .legend strong{font-size:35px;letter-spacing:-.03em}
.leaf .artifact{aspect-ratio:1.83}.leaf.portrait .artifact{aspect-ratio:1.1}
.leaf .legend strong{font-size:20px}.object.text .legend{padding:10px 0;border-block:1px solid var(--faint)}
.object:hover strong{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.play{position:absolute;bottom:8px;left:8px;border-radius:50%;background:var(--ink);color:white;display:grid;place-items:center;width:30px;height:30px;font:13px var(--sans)}
.sourceLabel{position:absolute;z-index:101000;transform:translate(-50%,-100%);font:14px/1.3 var(--sans);max-width:180px;background:var(--sheet);padding:5px 7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dock{position:absolute;z-index:3;right:clamp(10px,2vw,38px);top:50%;transform:translateY(-50%);border:1px solid var(--faint);background:var(--sheet);display:grid;border-radius:3px}
.dock button{min-width:52px;min-height:48px;display:flex;gap:3px;flex-direction:column;align-items:center;justify-content:center}
.dock button:first-child{padding:9px 4px 6px}.dock span{font:11px/1.2 var(--sans)}
.dock .language{border-top:1px solid var(--rule);font:18px var(--serif)}
.dock .home{position:absolute;top:calc(100% + 8px);right:-1px;background:var(--sheet);border:1px solid var(--faint);border-radius:3px}
.dock button:hover,.dismiss:hover,.media button:hover{background:#e9e6db}
dialog{width:min(620px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 40px);padding:0;color:var(--ink);border:0;background:transparent;overflow:visible}
dialog::backdrop{background:rgba(37,38,31,.36)}
.itemDialog{width:min(914px,calc(100% - 48px))}.folio{position:relative;max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain;background:var(--sheet);border:1px solid #c4c2b6;border-radius:4px}
.dismiss{position:sticky;top:12px;float:right;margin:12px 12px -56px 0;width:44px;height:44px;background:var(--sheet);z-index:4;border:1px solid var(--rule);border-radius:50%;display:grid;place-items:center}
.reader{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr)}
.media{margin:0;min-width:0;background:#e7e5db;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px}
.readerImage,.media video{display:block;width:100%;max-height:54dvh;object-fit:contain}.media.book .readerImage{width:63%}.media.portrait .readerImage{width:80%}
.media figcaption{width:100%;margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:center;font:13px/1.4 var(--sans)}.media figcaption button{width:44px;height:44px;flex:none}
.inside{--inset:clamp(22px,3vw,44px);padding:var(--inset);min-width:0}.reader .inside,.webReading,.index{padding-top:48px}
.inside>small{display:block;font:14px/1.45 var(--sans);color:var(--muted);margin:0 42px 8px 0}
.inside h1{font:400 clamp(30px,3vw,46px)/1.08 var(--serif);letter-spacing:-.032em;text-wrap:balance;margin:0 0 16px}
.inside p{font:18px/1.56 var(--serif);margin:0 0 20px;max-width:58ch}
.textOnly{display:block;max-width:680px;margin:auto}.itemDialog:has(.textOnly){width:min(640px,calc(100% - 40px))}
.connections{margin-top:24px}.connections h2{font:500 14px/1.4 var(--sans);color:var(--muted);margin:0 0 5px}
.choices,.sectionList{border-top:1px solid var(--rule)}.choices:empty{border:0}
.related,.result,.sectionList button{width:100%;min-height:46px;display:flex;align-items:center;gap:12px;justify-content:space-between;text-align:left;padding:9px 0;border-bottom:1px solid var(--rule);font-size:17px;line-height:1.35}
.related svg,.result svg,.sectionList svg{flex:none;width:14px;color:var(--muted)}
.related span{flex:1}.related img{width:46px;height:34px;object-fit:cover}
.related:hover span,.result:hover,.sectionList button:hover span{text-decoration:underline;text-underline-offset:4px}
.sourceCode{margin-top:24px}.sourceCode summary,.library summary,.backIndex,.enterGallery,.more{width:fit-content;display:flex;align-items:center;gap:9px;min-height:44px;cursor:pointer;font:500 14px/1.4 var(--sans);color:var(--ink)}
.sourceCode summary,.library summary{list-style:none}.sourceCode summary::-webkit-details-marker,.library summary::-webkit-details-marker{display:none}
.sourceCode summary:hover,.backIndex:hover,.enterGallery:hover,.more:hover{text-decoration:underline}
.sourceBody{padding:4px 0 0;display:flex;align-items:center;gap:14px;flex-wrap:wrap}.sourceBody img{width:150px;max-width:100%;height:auto;image-rendering:pixelated}
.credit{font:13px/1.5 var(--sans);color:var(--muted);overflow-wrap:anywhere}
.enterGallery{border-block:1px solid var(--rule);width:100%;justify-content:space-between}
.index h1,.webReading h1{margin-right:36px}.searchBox{display:flex;align-items:center;gap:12px;margin:20px 0;background:white;border:1px solid #a6aa9b;padding:2px 12px}
.searchBox input{min-width:0;font:16px var(--sans);width:100%;min-height:44px;background:none;border:0}
.sectionList button{font-size:21px;min-height:54px}.inside .gestures{font:13px/1.5 var(--sans);margin:18px 0 0;color:var(--muted)}
.library{margin-top:18px}.library summary{color:var(--muted)}.library summary:after{content:'+'}.library[open] summary:after{content:'−'}
.backIndex{margin-bottom:8px}.more{margin-top:8px}
.galleryPortal{width:100%;height:100dvh;max-height:none;margin:0}.exhibitWrap,.exhibitFrame{width:100%;height:100%;border:0;background:var(--ground)}
.returnWorld{position:absolute;top:50%;left:4px;writing-mode:vertical-rl;transform:translateY(-50%);z-index:1;padding:12px 6px;background:var(--sheet);border:1px solid var(--rule);min-width:32px;display:flex;align-items:center;gap:8px;font:13px var(--sans)}
:lang(gu) .legend strong,:lang(gu) h1{line-height:1.32;letter-spacing:0}
@media(max-width:700px){.reader{display:block}.media{padding:16px}.media img,.media video{max-height:26dvh}.media.book .readerImage,.media.portrait .readerImage{width:auto;max-width:100%}.inside{--inset:22px}.reader .inside{padding-top:22px}.textOnly .inside{padding-top:56px}.dock{right:8px}.dock button{min-width:43px}.itemDialog,dialog{width:calc(100% - 24px);max-height:calc(100dvh - 28px)}.folio{max-height:calc(100dvh - 28px)}}

@media(max-aspect-ratio:1/1){
 .stage{width:calc(100% - 56px);margin-left:4px}
 .dock{right:6px}.dock button{min-width:42px}
 .legend strong{font-size:27px}.legend small{font-size:17px}
 .major .artifact{aspect-ratio:1.95}.book .artifact{aspect-ratio:auto}
}

/* The dark mount takes its colour from the shadows in the Rachnabhoomi photograph. */
:root{--ground:#30252a;--sheet:#f6f0e5;--ink:#352824;--muted:#67584b;--rule:#dbd0bf;--accent:#965635;--serif:Baskerville,"Iowan Old Style",Georgia,Gujarati,serif}
.stage{color:#fbf0da}.stage .legend small{color:#debd96}.line{stroke:#b18a70;opacity:.62}
.threads g:has(.routeHit:hover) .line{stroke:#f2bc83}.object .legend{padding-top:8px}
.object.major.book:not(.survey) .artifact{width:100%;aspect-ratio:1.5;background:#462e23 url(./assets/nadiad.webp) center 60%/cover no-repeat;overflow:visible}
.object.major.book:not(.survey) .artifact img{width:40%;height:auto;position:absolute;left:7%;bottom:-6%;transform:rotate(-5deg);transform-origin:bottom center}
.object.major.book:not(.survey) .legend{padding:20px 2px 4px}
.legend strong{letter-spacing:-.015em;font-size:25px}.book .legend strong{font-size:36px}
.major.portrait .artifact{aspect-ratio:.9;border-radius:48% 48% 2px 2px}
.artifact{background:transparent}.object.text .legend{border:0}.object.text .legend strong{font-style:italic}
.object.major:not(.book):not(.portrait) .legend small{font-size:13px}
.dock,.dock .home{background:#eee0c9;border:0;border-radius:2px}.dock{right:clamp(9px,1.4vw,26px)}.dock .language{border:0}.dock button{position:relative}
.dock .language:before{content:"";position:absolute;top:0;left:15px;right:15px;height:1px;background:#cdbda6}
.dock .home{position:absolute;right:0}.folio,.dismiss,.choices,.sectionList,.related,.result,.sectionList button{border:0}
.dismiss{background:#e8dfcc}.related,.result,.sectionList button{padding:9px 5px 9px 0;min-height:44px}
.related:hover,.result:hover,.sectionList button:hover{background:#eee6d8}.connections{margin-top:20px}
.connections h2{color:#895135}.media{background:#412e30;padding:clamp(16px,2vw,32px);color:#f8edda}
.media figcaption button:hover{background:#644947}.sourceCode{margin-top:14px}.sourceCode summary{color:#805030}
.inside>small{color:#865333}.folio{border-radius:2px}.media.portrait .readerImage{width:70%}
.atlasLinks{position:absolute;inset:0;pointer-events:none;width:100%;height:100%;stroke:#ac836e;stroke-width:1}
.prints{height:145px;width:100%;position:relative;display:block}
.prints img{width:74%;height:89%;object-fit:cover;position:absolute;top:8%;left:12%;background:#d9c9b0}
.prints img:first-child{left:0;top:0;transform:rotate(-8deg)}.prints img:nth-child(2){left:25%;top:0;transform:rotate(7deg)}
.object.survey{align-items:center;text-align:center}.object.survey .legend strong{font-size:27px}
.object.survey .legend{background:var(--ground);padding:14px 0 3px}.object.survey .legend small{display:block}
.returnField{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:101005;width:min(520px,88%);display:flex;gap:20px;align-items:flex-start}
.returnField button{flex:1;min-width:0;text-align:left;color:#f8edda;font-size:clamp(15px,2vw,21px)}
.returnField img{display:block;width:100%;height:clamp(65px,12vw,115px);object-fit:cover;margin-bottom:9px}.returnField svg{display:block;margin-top:6px}
.sourceLabel{background:var(--sheet);color:var(--ink)}.searchBox{border-color:#bbab94}
@media(max-aspect-ratio:1/1){.dock{right:6px}.object.survey .prints{height:120px}.legend strong{font-size:27px}.object.major.book:not(.survey) .artifact{width:88%}.object.major:not(.book):not(.portrait) .legend small{font-size:17px}}
.prints{display:grid;grid-template-columns:1.65fr 1fr;grid-template-rows:1fr 1fr;gap:4px;aspect-ratio:1.7;height:auto}
.prints img,.prints img:first-child,.prints img:nth-child(2){position:static;width:100%;height:100%;min-height:0;transform:none}.prints img:first-child{grid-row:span 2}
.object.survey .legend{text-align:left;padding:10px 0 0}.object.survey .legend strong{font-size:29px}
.deepField{position:absolute;inset:8% max(9%,68px);z-index:100600;display:grid;grid-template-columns:minmax(0,1.72fr) minmax(0,1fr);gap:clamp(26px,6vw,110px);align-items:center;pointer-events:none}
.specimen,.deepRelations button{pointer-events:auto;min-width:0;color:#f9edd9;text-align:left}
.specimenImage{display:block;width:100%;height:clamp(140px,39dvh,500px);object-fit:contain;object-position:left center}
.specimenImage.photo,.specimenImage.album,.specimenImage.panorama{object-fit:cover}
.specimenText{display:block;max-width:56ch}.specimenText strong{display:block;font:400 clamp(31px,4vw,66px)/1.07 var(--serif);margin:17px 0 10px;text-wrap:balance}.specimenText>span{font:clamp(18px,1.6vw,27px)/1.45 var(--serif)}
.deepRelations h2{font:400 clamp(14px,1.25vw,19px)/1.3 var(--sans);color:#e1bd96;margin:0 0 15px}
.deepRelations button{width:100%;display:flex;align-items:center;gap:15px;min-height:58px;margin:0 0 16px;font:clamp(19px,1.7vw,27px)/1.15 var(--serif)}
.deepRelations img{width:clamp(64px,7vw,113px);height:clamp(64px,7vw,113px);object-fit:cover}.deepRelations svg{width:14px;flex:none}.deepRelations span{flex:1}
@media(max-aspect-ratio:1/1){
 .deepField{inset:4% 6%;grid-template-columns:1fr;grid-template-rows:auto auto;align-content:center;gap:20px}
 .specimenImage{height:clamp(100px,25dvh,210px)}.specimenText strong{margin-top:11px;font-size:32px}
 .deepRelations h2{margin-bottom:10px}.deepRelations button{min-height:40px;margin-bottom:8px;font-size:17px}
 .deepRelations img{width:48px;height:42px}.object.survey .prints{height:auto}
}

.contextPrint{margin:0 0 12px}.contextPrint img{display:block;width:100%;max-height:30dvh;object-fit:cover}.contextPrint figcaption{font:13px/1.4 var(--sans);color:#dfc5a2;margin-top:6px}
.deepRelations img{object-position:center 26%}.specimenText{max-width:100%}.specimenText>span{display:block;max-width:54ch}
@media(prefers-reduced-motion:no-preference){.deepField,.prints{animation:mount-print 190ms ease-out}@keyframes mount-print{from{opacity:.25}to{opacity:1}}}
