#atlas-root{--ink:#173d36;--deep:#102f29;--paper:#f8f7ef;--soft:#e5ebe3;--line:#ced7cc;--muted:#50665b;--accent:#8c6943;--gold:#b39161}
#atlas-root *{box-sizing:border-box}
#atlas-root{margin:0;background:var(--paper);color:var(--ink);font:16px/1.7 Arial,Helvetica,sans-serif}
#atlas-root button,#atlas-root a,#atlas-root input,#atlas-root select{font:inherit}
#atlas-root button{cursor:pointer;color:inherit}
#atlas-root a{color:var(--ink);text-underline-offset:4px}
#atlas-root button:focus-visible,#atlas-root a:focus-visible,#atlas-root select:focus-visible{outline:3px solid #946123;outline-offset:4px}
#atlas-root [hidden]{display:none!important}
#atlas-root .skip{position:absolute;left:20px;top:-100px}
#atlas-root .skip:focus{top:12px;z-index:99;background:white;padding:12px}
#atlas-root .eyebrow{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:var(--accent);font-weight:700}
#atlas-root .muted{color:var(--muted)}
#atlas-root .fine{font-size:12px;line-height:1.65;color:var(--muted)}
#atlas-root .wrap{max-width:1360px;margin:auto;padding:0 4.5%}
#atlas-root header{border-bottom:1px solid var(--line)}
#atlas-root .head{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:22px 0}
#atlas-root .brand{width:245px;display:block;max-width:64vw}
#atlas-root .brand img{width:100%;display:block}
#atlas-root .head-right{text-align:right;font-size:11px;line-height:1.5}
#atlas-root .edition{display:block;letter-spacing:2px;text-transform:uppercase;color:var(--accent);margin-bottom:5px}
#atlas-root .site-note{background:var(--deep);color:#f2f0e5;padding:9px 16px;text-align:center;font-size:11px;letter-spacing:.8px}
#atlas-root .stones{display:flex;gap:6px;padding:21px 0;flex-wrap:wrap}
#atlas-root .stone{border:1px solid transparent;background:transparent;border-radius:30px;padding:9px 17px;min-height:44px;font-size:13px}
#atlas-root .stone[aria-pressed=true]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
#atlas-root .stone:hover:not([aria-pressed=true]){border-color:var(--line)}
#atlas-root .hero{display:grid;grid-template-columns:1fr 1fr;gap:6%;align-items:center;padding:12px 0 36px}
#atlas-root .hero .picture{min-height:360px;aspect-ratio:1.24}
#atlas-root .hero h1{font:clamp(47px,5.4vw,78px)/1.07 Georgia,serif;letter-spacing:-2px;margin:12px 0 20px}
#atlas-root .subtitle{font:24px/1.45 Georgia,serif;margin:0 0 25px}
#atlas-root .identity{display:grid;grid-template-columns:1fr 1fr 1fr;border-block:1px solid var(--line);padding:18px 0;gap:15px;margin:26px 0}
#atlas-root .identity dt{font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:var(--muted)}
#atlas-root .identity dd{margin:6px 0 0;font-size:14px}
#atlas-root .discovery{font-size:13px;max-width:620px}
#atlas-root .discovery strong{font:19px/1.4 Georgia,serif}
#atlas-root .discovery p{margin:10px 0}
#atlas-root .picture{position:relative;background:#edf0ea;border:1px solid var(--line);overflow:hidden;display:grid;place-items:center;isolation:isolate}
#atlas-root .picture img{display:block;width:100%;height:100%;object-fit:contain;position:absolute;inset:0;opacity:0;transition:opacity .2s;background:#eff0ec}
#atlas-root .picture.loaded img{opacity:1}
#atlas-root .picture.loaded .image-state{display:none}
#atlas-root .picture .image-state{padding:35px;max-width:400px;text-align:center;font-size:13px;color:var(--muted)}
#atlas-root .image-state b{display:block;font:25px Georgia,serif;color:var(--ink);margin-bottom:12px}
#atlas-root .image-state small{display:block;margin-top:9px}
#atlas-root .picture a{position:absolute;bottom:12px;left:12px;background:#fffdf5e8;backdrop-filter:blur(8px);border:1px solid var(--line);padding:7px 11px;font-size:10px;z-index:3}
#atlas-root .caption{font-size:11px;line-height:1.65;margin:12px 0;color:var(--muted)}
#atlas-root .caption strong{color:var(--ink)}
#atlas-root .refs{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
#atlas-root .refs a{font-size:10px;padding:4px 8px;border:1px solid var(--line);text-decoration:none;max-width:100%}
#atlas-root .tabs{position:sticky;top:0;z-index:15;display:flex;flex-wrap:wrap;gap:2px;background:var(--paper);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:0 0;box-shadow:0 7px 15px #173d3608}
#atlas-root .tab{background:transparent;border:0;border-bottom:3px solid transparent;min-height:56px;padding:12px 19px;font-size:12px}
#atlas-root .tab[aria-selected=true]{border-color:var(--ink);font-weight:bold}
#atlas-root .panel{padding:38px 0 55px;min-height:540px;scroll-margin-top:115px}
#atlas-root .section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:35px;margin-bottom:28px}
#atlas-root .section-head h2{font:39px/1.15 Georgia,serif;letter-spacing:-1px;margin:8px 0}
#atlas-root .section-head p{max-width:400px;font-size:13px;margin:0}
#atlas-root .story-layout{display:grid;grid-template-columns:285px 1fr;gap:6%}
#atlas-root .chapter-list{display:flex;flex-direction:column;gap:3px;align-self:start}
#atlas-root .chapter{display:grid;grid-template-columns:26px 1fr;gap:10px;align-items:start;text-align:left;border:0;border-bottom:1px solid var(--line);padding:14px 10px;background:transparent;font-size:13px;min-height:58px}
#atlas-root .chapter span:first-child{color:var(--accent);font-size:11px;margin-top:2px}
#atlas-root .chapter[aria-current=step]{background:var(--soft);font-weight:600}
#atlas-root .reading{max-width:760px}
#atlas-root .reading h3{font:36px/1.2 Georgia,serif;margin:7px 0 24px;letter-spacing:-.8px}
#atlas-root .reading p{font-size:17px;line-height:1.95;color:#344f45;margin:0 0 22px}
#atlas-root .chapter-controls{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin-top:35px;padding-top:20px}
#atlas-root .btn{border:1px solid var(--ink);background:var(--ink);color:var(--paper);padding:11px 17px;min-height:44px;font-size:12px;text-decoration:none;display:inline-block}
#atlas-root .btn.light{background:transparent;color:var(--ink);border-color:var(--line)}
#atlas-root .btn:disabled{opacity:.45;cursor:default}
#atlas-root .map-layout{display:grid;grid-template-columns:1.6fr 1fr;gap:28px;align-items:start}
#atlas-root .map-wrap{background:#e6ece8;border:1px solid var(--line);padding:16px 13px 10px}
#atlas-root .map-tools{display:flex;gap:10px;justify-content:space-between;flex-wrap:wrap;align-items:center}
#atlas-root .map-tools select{max-width:100%;font-size:12px;background:var(--paper);padding:9px;border:1px solid var(--line);color:var(--ink);min-height:42px}
#atlas-root .map-tools button{font-size:11px;min-height:40px;background:transparent;border:1px solid #b7c5bb;padding:8px 12px}
#atlas-root .map{position:relative;aspect-ratio:2;width:100%;margin:24px 0 12px;overflow:hidden}
#atlas-root .map svg{width:100%;height:100%;color:#f8f7ef;display:block}
#atlas-root .map .grid-line{stroke:#c7d2c9;stroke-width:.65;fill:none}
#atlas-root .map-pin{position:absolute;transform:translate(-50%,-50%);width:32px;height:32px;border:2px solid #fffcf1;background:#315f50;border-radius:50%;box-shadow:0 1px 5px #173d363b;color:white;font:12px/1 Arial;display:grid;place-items:center;z-index:2}
#atlas-root .map-pin[data-kind=object]{background:#855c38}
#atlas-root .map-pin[data-kind=record]{background:#5e677f}
#atlas-root .map-pin[data-kind=discovery]{background:#963f58}
#atlas-root .map-pin[data-kind=history]{background:#766335}
#atlas-root .map-pin[aria-pressed=true]{outline:3px solid var(--ink);outline-offset:3px;z-index:4}
#atlas-root .map-pin:hover{z-index:5}
#atlas-root .map-hint{font-size:11px;line-height:1.6}
#atlas-root .map-detail{padding:20px 22px;background:var(--soft);min-height:180px}
#atlas-root .map-detail h3{font:26px/1.25 Georgia,serif;margin:8px 0}
#atlas-root .map-detail p{font-size:14px;margin:0 0 10px}
#atlas-root .places{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:13px}
#atlas-root .place-button{border:1px solid var(--line);background:transparent;padding:10px;font-size:11px;min-height:44px;text-align:left}
#atlas-root .place-button[aria-pressed=true]{background:var(--ink);color:var(--paper)}
#atlas-root .time-list{display:flex;flex-direction:column;border-left:1px solid #bfccbf;margin-left:10px;padding-left:22px}
#atlas-root .event{position:relative;padding:2px 0 24px}
#atlas-root .event:before{content:'';width:7px;height:7px;border:2px solid var(--accent);background:var(--paper);position:absolute;left:-27px;top:6px;border-radius:50%}
#atlas-root .event h3{font:21px/1.25 Georgia,serif;margin:8px 0}
#atlas-root .event p{font-size:13px;line-height:1.8;margin:0 0 7px}
#atlas-root .event .event-place{border:0;background:none;padding:6px 0;color:var(--ink);text-decoration:underline;font-size:11px;min-height:34px}
#atlas-root .colour-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:7%;align-items:start}
#atlas-root .swatch-stage{min-height:340px;position:relative;display:grid;place-items:center;background:var(--soft);border:1px solid var(--line);padding:50px}
#atlas-root .swatch-large{width:210px;height:210px;background:var(--gem-colour);border-radius:50%;border:14px solid #ffffff80;box-shadow:0 13px 30px #173d3618}
#atlas-root .swatch-stage small{position:absolute;bottom:15px;font-size:10px;left:15px;right:15px;text-align:center;letter-spacing:1px;text-transform:uppercase}
#atlas-root .swatches{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}
#atlas-root .colour-btn{display:flex;align-items:center;gap:10px;padding:9px 12px;border:1px solid var(--line);background:transparent;min-height:44px;font-size:12px}
#atlas-root .colour-btn i{height:16px;width:16px;display:block;border:1px solid #173d3630;border-radius:50%;background:var(--swatch)}
#atlas-root .colour-btn[aria-pressed=true]{background:var(--soft);border-color:var(--ink)}
#atlas-root .colour-copy h3{font:34px/1.2 Georgia,serif}
#atlas-root .colour-copy p{font-size:16px;line-height:1.9}
#atlas-root .definition{border-top:1px solid var(--line);padding:17px 0}
#atlas-root .definition h4{margin:0 0 5px;font:21px Georgia,serif}
#atlas-root .definition p{margin:0;font-size:13px;line-height:1.8}
#atlas-root .gallery{display:grid;grid-template-columns:1fr 1fr;gap:30px}
#atlas-root .gallery .picture{aspect-ratio:1.2;min-height:290px}
#atlas-root .photo-actions{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}
#atlas-root .photo-actions a,#atlas-root .photo-actions button{font-size:11px;background:transparent;border:1px solid var(--line);padding:9px 13px;min-height:40px}
#atlas-root .rights{font-size:11px;padding:15px;background:var(--soft);line-height:1.7}
#atlas-root .rights a{white-space:normal}
#atlas-root .notice{padding:18px 21px;border-left:3px solid var(--accent);background:var(--soft);font-size:13px;margin:22px 0}
#atlas-root .questions{counter-reset:q;display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px;margin-top:25px}
#atlas-root .question{padding:22px;border:1px solid var(--line);font:20px/1.5 Georgia,serif}
#atlas-root .question:before{counter-increment:q;content:'0' counter(q);display:block;font:11px Arial;color:var(--accent);margin-bottom:18px}
#atlas-root .sources-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
#atlas-root .source-card{padding:20px;border:1px solid var(--line);overflow-wrap:anywhere}
#atlas-root .source-card a{font:20px/1.4 Georgia,serif}
#atlas-root .source-card p{font-size:12px;margin-bottom:0}
#atlas-root .source-id{font-size:10px;color:var(--accent);display:block;margin-bottom:9px}
#atlas-root footer{border-top:1px solid var(--line);padding:30px 0;font-size:12px;color:var(--muted)}
#atlas-root .footer-grid{display:flex;justify-content:space-between;gap:30px}
#atlas-root .footer-grid p{max-width:700px}
#atlas-root .fullscreen{padding:25px;border:1px solid var(--line);width:min(1100px,95vw);max-height:94vh;background:var(--paper);color:var(--ink)}
#atlas-root dialog::backdrop{background:#102f29c4}
#atlas-root .modal-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}
#atlas-root .modal-head h2{font:28px Georgia,serif;margin:0}
#atlas-root .modal-photo{width:100%;height:65vh;object-fit:contain;display:block}
#atlas-root .modal-photo-wrap{position:relative}
#atlas-root .small-warning{font-size:11px;color:var(--muted)}
@media(max-width:980px){#atlas-root .story-layout{grid-template-columns:220px 1fr;gap:4%}
#atlas-root .hero{gap:4%}
#atlas-root .hero .picture{min-height:310px}
#atlas-root .map-layout{grid-template-columns:1fr}
#atlas-root .map{max-height:450px}
#atlas-root .time-list{margin-top:15px}
#atlas-root .questions{grid-template-columns:1fr}
#atlas-root .tab{padding-inline:13px}
#atlas-root .head-right{max-width:220px}
#atlas-root .gallery{gap:20px}
#atlas-root .reading p{font-size:16px}
}
@media(max-width:640px){#atlas-root .wrap{padding:0 6%}
#atlas-root .head{padding:18px 0;gap:10px}
#atlas-root .head-right{font-size:9px;max-width:95px}
#atlas-root .edition{letter-spacing:1px}
#atlas-root .brand{width:195px;max-width:58vw}
#atlas-root .site-note{font-size:10px;letter-spacing:0}
#atlas-root .stones{gap:3px;padding:15px 0}
#atlas-root .stone{padding:8px 11px;font-size:11px;min-height:40px}
#atlas-root .hero{grid-template-columns:1fr;padding-top:0;gap:16px}
#atlas-root .hero-photo{order:2}
#atlas-root .hero h1{font-size:57px}
#atlas-root .subtitle{font-size:21px;margin-bottom:17px}
#atlas-root .identity{margin:18px 0}
#atlas-root .hero .picture{min-height:240px;aspect-ratio:1.3}
#atlas-root .discovery{font-size:12px}
#atlas-root .discovery strong{font-size:18px}
#atlas-root .tabs{position:relative}
#atlas-root .tab{flex:1 1 32%;padding:9px 6px;font-size:10px;min-height:48px}
#atlas-root .panel{padding-top:28px;min-height:480px}
#atlas-root .section-head{display:block}
#atlas-root .section-head h2{font-size:34px}
#atlas-root .section-head p{margin-top:14px}
#atlas-root .story-layout{grid-template-columns:1fr;gap:25px}
#atlas-root .chapter-list{display:grid;grid-template-columns:1fr 1fr;gap:3px}
#atlas-root .chapter{font-size:11px;grid-template-columns:18px 1fr;padding:10px 7px;min-height:63px}
#atlas-root .reading h3{font-size:30px}
#atlas-root .reading p{font-size:16px;line-height:1.9}
#atlas-root .colour-layout,#atlas-root .gallery,#atlas-root .sources-grid{grid-template-columns:1fr}
#atlas-root .swatch-stage{min-height:280px}
#atlas-root .swatch-large{width:175px;height:175px}
#atlas-root .colour-copy h3{font-size:29px}
#atlas-root .map{margin-top:18px}
#atlas-root .map-pin{width:26px;height:26px;font-size:10px}
#atlas-root .map-detail{padding:18px}
#atlas-root .places{grid-template-columns:1fr 1fr}
#atlas-root .time-list{padding-left:18px}
#atlas-root .event:before{left:-23px}
#atlas-root .footer-grid{display:block}
#atlas-root .modal-head h2{font-size:23px}
#atlas-root .fullscreen{padding:18px}
#atlas-root .modal-photo{height:55vh}
}
@media(prefers-reduced-motion:reduce){#atlas-root *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
@media print{#atlas-root header,#atlas-root .stones,#atlas-root .tabs,#atlas-root .hero-photo,#atlas-root footer,#atlas-root .chapter-controls,#atlas-root .chapter-list,#atlas-root .photo-actions{display:none!important}
#atlas-root .panel{display:block!important;padding:10px 0;min-height:0;break-inside:auto}
#atlas-root .hero,#atlas-root .story-layout,#atlas-root .map-layout,#atlas-root .colour-layout{display:block}
#atlas-root .reading{max-width:none}
#atlas-root .hero h1{font-size:40px}
#atlas-root .picture{break-inside:avoid}
#atlas-root .event{break-inside:avoid}
}
#atlas-root .hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#atlas-root .hero>*{min-width:0}
#atlas-root .picture{min-width:0}
#atlas-root .identity{grid-template-columns:repeat(3,minmax(0,1fr))}
#atlas-root .identity dd{overflow-wrap:anywhere}
@media(max-width:640px){#atlas-root .hero{grid-template-columns:minmax(0,1fr)}
#atlas-root .hero .picture{width:100%;height:240px;min-height:0;aspect-ratio:auto}
#atlas-root .hero h1{font-size:clamp(42px,12vw,57px)}
#atlas-root .image-state{padding:24px;min-width:0;width:100%}
#atlas-root .gallery .picture{width:100%;height:260px;min-height:0;aspect-ratio:auto}
}

#atlas-root{font:inherit;max-width:1360px;padding:25px 4.5% 55px;margin:auto;background:#f8f7ef;color:#173d36}
#atlas-root .atlas-tools{display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap;font-size:12px;margin:10px 0 15px}
#atlas-root .atlas-tools button{border:1px solid var(--line);background:transparent;padding:10px;min-height:44px}
#atlas-root .tabs{top:100px}#atlas-root .stone{text-decoration:none;display:inline-block}
#atlas-root .picture img{position:static;width:auto;height:auto;max-width:100%;max-height:390px;object-fit:contain}
#atlas-root .picture:not(.loaded) img{display:none}#atlas-root .modal-photo{width:auto;height:auto;max-width:100%;max-height:60vh;margin:auto}
#atlas-root #atlas-text{max-width:850px;margin:35px auto;line-height:1.9}#atlas-root #atlas-text img{width:auto;height:auto;max-width:100%;max-height:400px}
#atlas-root #atlas-text section{margin:30px 0}#atlas-root #atlas-text h3{font:30px Georgia,serif}#atlas-root #atlas-text h4{font:23px Georgia,serif}
#atlas-root .map-pin[data-kind=record]{border-radius:3px}#atlas-root .map-pin[data-kind=object]{border-radius:30% 0}
#atlas-root .map-pin[data-kind=discovery]{border-radius:0 50% 50%}#atlas-root .map-pin[data-kind=history]{border-radius:50% 50% 0 0}
#atlas-root .map-legend{font-size:12px}#atlas-root .map-legend span{display:inline-block;margin-right:12px}
#atlas-root .atlas-connections{border-top:1px solid var(--line);padding-top:20px;display:flex;flex-wrap:wrap;gap:20px}
#atlas-root .refs a{overflow-wrap:anywhere}#atlas-root .hero h1{overflow-wrap:anywhere}
@media(max-width:640px){#atlas-root .tabs{top:auto}#atlas-root .hero .picture{min-height:220px}#atlas-root .hero h1{font-size:48px}#atlas-root .atlas-tools{gap:12px}}
@media print{#atlas-root #atlas-visual,#atlas-root .atlas-tools,#atlas-root .stones,.site-header,.site-footer{display:none!important}#atlas-root #atlas-text[hidden]{display:block!important}}
