/* V9 / Line identity. Pure inline SVG; no emoji, icon font, CDN or raster logo.
   UI: 24-unit grid / 1.5-unit main stroke. Editorial plates: two optical weights.
   The 3D engine and factual copy are intentionally not changed by this layer. */
:root{--icon-ink:var(--sage);--identity-highlight:rgba(165,67,52,.075)}
svg.ui-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;display:inline-block;flex-shrink:0;vertical-align:middle;overflow:visible;pointer-events:none}
svg.inline-icon{width:15px;height:15px;margin-left:5px;vertical-align:-3px}
.brand{gap:15px;flex-shrink:0}
.brand-seal{width:49px;height:62px;border-radius:2px;transform:none;background:var(--red);box-shadow:inset 0 0 0 1px rgba(81,39,27,.1);flex-shrink:0}
.brand-seal svg.brand-symbol{width:49px;height:61.25px;color:#faf2e1;stroke-width:1.2;overflow:visible}
.brand-keyline{fill:none;stroke:currentColor;stroke-width:.65;opacity:.42}
.brand-name{font-size:24px;letter-spacing:3.3px;line-height:1.3;white-space:nowrap}
.brand-name small{font-size:8px;letter-spacing:2.8px;line-height:1.4;margin-top:7px;color:var(--muted)}
.brand-dot{display:inline-block;width:3px;height:3px;padding:0;margin:0 10px 6px 7px;background:var(--red);transform:rotate(45deg);opacity:.85}
.about-button .ui-icon,.footer-source .ui-icon{width:15px;height:15px}
.primary-button .ui-icon{width:18px;height:18px}
.quiet-link .ui-icon,.back-link .ui-icon{width:17px;height:17px;margin:0}
.back-link{align-items:center}
.heritage-mark{width:31px;height:34px;border:0;border-radius:0;color:var(--sage)}
.heritage-mark .ui-icon{width:29px;height:29px}
.viewer-tools{gap:2px}
.tool-button{width:40px;height:40px;border:1px solid transparent;border-radius:3px}
.tool-button .ui-icon{width:20px;height:20px;transition:transform .18s ease}
.tool-button:hover,.tool-button:focus-visible{background:var(--identity-highlight);border-color:var(--line)}
.tool-button.is-active{background:var(--identity-highlight);border-color:rgba(165,67,52,.18)}
.tool-separator{width:15px;margin:3px 0}
.view-mode-tabs .ui-icon{width:17px;height:17px}
.theme-toggle .ui-icon{width:18px;height:18px}
.scene-instructions .ui-icon{width:16px;height:16px;opacity:.85}
.inspect-part .ui-icon{width:15px;height:15px}
.card-nav{width:35px;min-height:35px;display:flex;align-items:center;justify-content:center}
.card-nav .ui-icon{width:18px;height:18px;margin:0}
.compass{width:43px}
.compass svg.compass-rose{width:43px;height:43px;opacity:.9;stroke-width:.8}
.compass #compass-needle{fill:var(--red);fill-opacity:.18;stroke:var(--red);stroke-width:.85}
.finial-step-tabs .ui-icon{width:15px;height:15px}
.finial-archive-link .ui-icon{width:15px;height:15px}
.detail-view-controls .ui-icon{width:13px;height:13px;margin:0;vertical-align:-2px}
.heritage-chapter-nav a{display:inline-flex;align-items:center;gap:8px}
.heritage-chapter-nav .ui-icon{width:16px;height:16px;color:var(--icon-ink)}
.heritage-chapter-nav .inline-icon{width:12px;height:12px;margin-left:0}
.heritage-card-heading{gap:20px;min-height:94px;margin-top:9px}
.story-glyph{opacity:1;width:84px;height:84px;display:flex;align-items:center;justify-content:center;color:var(--icon-ink);flex:0 0 84px;font-size:inherit;position:relative}
.story-glyph:before{content:'';position:absolute;inset:7px;border-radius:50%;background:rgba(87,109,95,.035);pointer-events:none}
svg.story-engraving{width:84px;height:84px;opacity:.9;fill:none;stroke:currentColor;overflow:visible;position:relative;pointer-events:none}
.heritage-card[data-category=legend] .story-glyph{color:var(--red)}
.heritage-card[open] .story-glyph{color:var(--red)}
.expand-story b{width:21px;height:21px;display:inline-flex;align-items:center;justify-content:center}
.expand-story b .ui-icon{margin:0;width:18px;height:18px}
.story-top .ui-icon{width:13px;height:13px;vertical-align:-3px}
.story-model-jump .ui-icon{width:16px;height:16px;margin:0}
.reading-stops button{gap:12px}
.reading-stops button>span.reading-engraving{margin:0 0 5px;height:84px;display:flex;align-items:center;color:var(--icon-ink)}
svg.engraving{width:82px;height:82px;overflow:visible;stroke-width:1.4;fill:none;stroke:currentColor;pointer-events:none}
.reading-stops button:hover .reading-engraving{color:var(--red)}
.reading-stops button>span:not(.reading-engraving) .ui-icon{width:14px;height:14px}
.heritage-faq summary>span{height:22px;width:22px;display:inline-flex;align-items:center;justify-content:center;transition:transform .2s ease}
.heritage-faq summary .ui-icon{width:18px;height:18px;margin:0}
.source-count i{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;width:22px;height:22px;transition:transform .2s ease}
.source-count i .ui-icon{width:18px;height:18px;margin:0}
.heritage-source h4 a .ui-icon{width:14px;height:14px;vertical-align:-1px}
.source-link .ui-icon{width:14px;height:14px;margin:0}
.source-link{align-items:center}
.visit{gap:64px;padding-top:60px;padding-bottom:60px}
.visit-art{display:flex;flex-direction:column;align-self:center;min-height:400px;color:var(--icon-ink);width:100%;isolation:isolate}
.visit-art:before{content:'';position:absolute;inset:60px 15% 70px;background:radial-gradient(ellipse,rgba(144,154,117,.07),transparent 70%);pointer-events:none;z-index:-1}
.visit-plate-label{width:100%;display:flex;justify-content:space-between;align-items:baseline;padding:0 22px;margin:5px 0 2px}
.visit-plate-label>span{font:17px/1.5 var(--serif);letter-spacing:4px;color:var(--ink)}
.visit-plate-label small{font:8px/1.5 Georgia,serif;letter-spacing:2px;opacity:.8}
.visit-art svg.visit-engraving{width:100%;height:auto;max-height:none;display:block;stroke-width:1;opacity:1;overflow:visible}
.visit-engraving .plate-frame{stroke-width:.65;opacity:.40}
.visit-engraving .plate-halo{stroke-width:.6;opacity:.24}
.visit-engraving .land-contour{stroke-width:.8;opacity:.33}
.visit-engraving .river-fill{fill:currentColor;fill-opacity:.03;stroke:none}
.visit-engraving .river-edge{stroke-width:1;opacity:.66}
.visit-engraving .river-thread{stroke-width:.6;opacity:.38}
.visit-engraving .shore-stone{stroke-width:.9;opacity:.9;fill:var(--paper)}
.visit-engraving .tree-outline{stroke-width:.9;opacity:.55;fill:var(--paper)}
.visit-engraving .plate-smallmark{stroke-width:.6;opacity:.4}
.visit-engraving .plate-river-word{font:11px var(--serif);letter-spacing:5px;fill:currentColor;stroke:none;opacity:.8}
.visit-art .map-caption{position:static;left:auto;bottom:auto;text-align:center;display:block;margin:6px 0 0;font-size:10px;letter-spacing:2px;line-height:1.8}
.visit-art .map-caption small{font-size:9px;letter-spacing:1px;margin-top:4px}
.visit-route ol{gap:8px 0}
.visit-route li{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.visit-route li+li:before{content:none}
svg.route-chevron{width:12px;height:12px;opacity:.5;margin:0 4px}
.visit-address .ui-icon{width:18px;height:18px}
.footer-wordmark{display:inline-flex;gap:12px;align-items:center;font-size:20px;letter-spacing:2px}
.footer-wordmark .footer-mark{width:34px;height:43px;color:var(--red);stroke-width:1.2}
.footer-wordmark>span small{display:block;font:7px/1.4 Georgia,serif;letter-spacing:2.4px;margin-top:5px;color:var(--muted)}
.site-footer{padding-top:26px;padding-bottom:25px}
body[data-theme=night]{--identity-highlight:rgba(213,142,106,.09)}
body[data-theme=night] .brand-seal svg.brand-symbol{color:#273432}
body[data-theme=night] .story-glyph:before{background:rgba(200,208,171,.04)}
body[data-theme=night] .visit-engraving .river-fill{fill-opacity:.035}
@media(max-width:1150px){.brand{gap:11px}.brand-seal{width:44px;height:55px}.brand-seal svg.brand-symbol{width:44px;height:55px}.brand-name{font-size:22px;letter-spacing:2.8px}.brand-name small{font-size:7px;letter-spacing:2.5px}.brand-dot{margin-left:5px;margin-right:8px}.visit{gap:38px}.visit-art{min-height:350px}}
@media(max-width:700px){
 .site-header{gap:12px}
 .brand{gap:10px}
 .brand-seal{width:38px;height:47.5px}
 .brand-seal svg.brand-symbol{width:38px;height:47.5px}
 .brand-name{font-size:21px;letter-spacing:2.7px}
 .brand-name small{font-size:6.5px;letter-spacing:2px;margin-top:5px}
 .brand-dot{width:2.5px;height:2.5px;margin:0 7px 5px 4px}
 .tool-button{width:40px;height:40px}
 .tool-button .ui-icon{width:20px;height:20px}
 .heritage-chapter-nav{gap:10px 17px}
 .heritage-chapter-nav .ui-icon{width:16px;height:16px}
 .heritage-chapter-nav a{gap:6px}
 .heritage-chapter-nav .inline-icon{width:11px;height:11px}
 .heritage-card-heading{gap:12px;min-height:86px}
 .heritage-card-heading h3{font-size:22px;line-height:1.65}
 .story-glyph{width:70px;height:76px;flex-basis:70px}
 svg.story-engraving{width:70px;height:70px}
 .reading-stops button{padding:22px 17px}
 .reading-stops button>span.reading-engraving{height:76px;margin-bottom:2px}
 svg.engraving{width:76px;height:76px}
 .reading-stops button>span:not(.reading-engraving) .ui-icon{width:13px;height:13px;margin-left:0}
 .visit{padding-top:34px;padding-bottom:40px;gap:33px}
 .visit-art{min-height:0;padding:0;margin:0;width:100%}
 .visit-plate-label{padding:0 12px;margin-top:2px}
 .visit-plate-label>span{font-size:16px;letter-spacing:3px}
 .visit-plate-label small{font-size:7px;letter-spacing:1.5px}
 .visit-art .map-caption{margin-top:3px;font-size:10px}
 .visit-art .map-caption small{font-size:9px}
 .visit-route li{font-size:11px;gap:2px}
 svg.route-chevron{margin:0 3px;width:11px;height:11px}
 .footer-wordmark{gap:10px;font-size:19px}
 .footer-wordmark .footer-mark{width:31px;height:39px}
 .site-footer{gap:17px;padding-top:24px}
 .source-count i{margin-left:5px}
}
@media(max-width:370px){.brand-name{font-size:19px}.brand-seal{width:35px;height:43.75px}.brand-seal svg.brand-symbol{width:35px;height:43.75px}.story-glyph{flex-basis:62px;width:62px}.story-engraving{width:62px!important;height:62px!important}.heritage-card-heading h3{font-size:21px}.heritage-chapter-nav{gap:7px 13px}}
@media(prefers-reduced-motion:reduce){.tool-button .ui-icon,.heritage-faq summary>span,.source-count i{transition:none}}
/* Older mobile styles fixed the original sketch's height. Let the new plate
   participate in normal document flow so its caption cannot overlap copy. */
.visit-art{height:auto}
@media(max-width:700px){.visit-art{height:auto;min-height:0;justify-content:flex-start}.visit-art svg.visit-engraving{flex:none}.visit-art .map-caption{padding-bottom:3px}}
/* Resolve the semantic ink token on the themed element, rather than inheriting
   the day palette's already-computed alias from :root. */
body{--icon-ink:var(--sage)}
.heritage-card-heading h3{text-wrap:balance}
.reading-stops h4{margin:0}

/* V9.1: discreet footer link; inherits both day and night palettes. */
.footer-meta{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px 24px;flex-wrap:wrap}
.footer-links{display:flex;align-items:center;gap:8px 22px;flex-wrap:wrap}
.footer-home-link{display:inline-flex;align-items:center;gap:7px;min-height:36px;font-family:var(--sans);font-size:11px;letter-spacing:.8px;line-height:1.5;color:var(--muted);text-decoration:none}
.footer-home-link .ui-icon{width:13px;height:13px;flex-shrink:0}
.footer-home-link:hover{color:var(--red)}
.footer-home-link:hover>span{text-decoration:underline;text-underline-offset:4px}
.footer-home-link:focus-visible{outline:1px solid var(--red);outline-offset:4px;border-radius:1px}
.footer-meta>small{font-size:8px;letter-spacing:1px;line-height:1.8;color:var(--muted);opacity:.7;text-align:right}
.museum-home-link{display:inline-flex;align-items:center;gap:7px;min-height:36px;font-size:12px;letter-spacing:1px;color:var(--muted);white-space:nowrap;transition:color .2s}
.museum-home-link:hover{color:var(--red)}
.museum-home-link .ui-icon{width:14px;height:14px}
@media(max-width:700px){.header-right{gap:12px}.museum-home-link{min-height:44px;font-size:10px;letter-spacing:.5px}.museum-home-link .ui-icon{display:none}.footer-meta{gap:5px;flex-direction:column;align-items:flex-start}.footer-links{gap:2px 18px}.footer-home-link{min-height:44px}.footer-meta>small{text-align:left}}
