/* Progressive enhancement: the same product information is available to everyone. */
body:not([data-view]),body[data-view=home]{font-family:Georgia,'Times New Roman',serif}
/* Painted scene lettering keeps its metrics while the detail font changes. */
.mailbox-word{font-family:Georgia,'Times New Roman',serif}
.skip-info{position:fixed;left:12px;top:12px;z-index:100;padding:14px;background:#faf2df;color:#513a25;transform:translateY(-180%);font:14px/1.4 Arial,sans-serif}
.skip-info:focus{transform:none}
.site-info{position:fixed;left:max(12px,env(safe-area-inset-left));bottom:max(10px,env(safe-area-inset-bottom));z-index:12;color:#403122;font:14px/1.6 Georgia,serif}
.site-info:not([open]){display:none}
.site-info>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;padding:10px 16px;background:#f9f0dded;border:1px solid #d7c5a1;border-radius:2px;list-style:none}
.site-info>summary::-webkit-details-marker{display:none}
.site-info>summary::after{content:"+";margin-left:16px;font-size:20px;line-height:1}
.site-info[open]>summary::after{content:"−"}
.info-content{position:fixed;left:max(12px,env(safe-area-inset-left));bottom:64px;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 90px);overflow:auto;overscroll-behavior:contain;padding:24px 28px;background:#faf2df;border:1px solid #d7c5a1;box-shadow:0 10px 35px #30271e44}
.info-content h1{font-size:28px;line-height:1.2;margin:0 0 18px}
.info-content h2{font-size:23px;margin:26px 0 10px}.info-content h3{font-size:17px;margin:18px 0 8px}
.info-content a,.document-content a{color:#793728;text-underline-offset:3px;overflow-wrap:anywhere;display:inline-block;min-height:44px;padding-block:9px}
.info-content p{margin:0 0 12px}.info-content section+section{border-top:1px solid #dbcbb0;margin-top:18px}
.info-content footer{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;border-top:1px solid #dbcbb0;margin-top:20px;padding-top:12px}
.info-content button{min-height:44px;padding:8px 12px;border:1px solid #c7ad85;background:#f4e6ca;color:#593e27;font:inherit;cursor:pointer}
#fallback-status:empty{display:none}
.site-info summary:focus-visible,.info-content a:focus-visible,.info-content button:focus-visible,.document-content a:focus-visible{outline:3px solid #873a2e;outline-offset:3px}
body[data-view]:not([data-view=home]) .site-info{visibility:hidden}
body:not([data-ready]){height:auto;min-height:100%;overflow:auto;background:#faf2df}
html:has(body:not([data-ready])){height:auto;overflow:auto;overscroll-behavior:auto}
body:not([data-ready]) .world{visibility:hidden;pointer-events:none}
body:not([data-ready]) .load-message{display:none}
body:not([data-ready]) .site-info{position:relative;left:auto;bottom:auto;max-width:760px;margin:0 auto;padding:20px}
body:not([data-ready]) .site-info>summary{display:none}
body:not([data-ready]) .info-content{position:static;max-height:none;width:auto;padding:12px 0;border:0;box-shadow:none}
body:not([data-ready]) [data-close-info]{display:none}
body[data-ready] .reload-scene{display:none}
html.js-pending,html.js-pending body:not([data-ready]){height:100%;overflow:hidden}
.js-pending body:not([data-ready]){background:#e9dfc9}
.js-pending body:not([data-ready]) .site-info{display:none}
.js-pending body:not([data-ready]) .load-message{display:block}
.privacy-link{display:block;width:max-content;max-width:100%;font:11px/1.5 var(--sans,Arial,sans-serif);color:var(--red,#873a2e);margin:0 0 8px;text-underline-offset:3px;min-height:44px;padding-block:8px}
.document-page{margin:0;background:#faf2df;color:#403122;font:17px/1.65 Georgia,serif}
html:has(.document-page),body.document-page{height:auto;overflow:auto;overscroll-behavior:auto}
.document-content{max-width:800px;margin:0 auto;padding:24px 24px 60px}
.document-content h1{font-size:clamp(28px,5vw,40px);line-height:1.2;overflow-wrap:anywhere}
.document-content h2{font-size:23px;margin:30px 0 12px}
@media(max-width:600px){.site-info{font-size:13px}.site-info>summary{padding:8px 12px}.info-content{padding:20px}.info-content h1{font-size:25px}.privacy-link{font-size:10px;margin-bottom:4px}}

/* Immediate text access while the illustrated village is preparing. */
.loading-info{display:none}
.js-pending body:not([data-ready]) .loading-info{display:block;position:fixed;z-index:20;left:50%;bottom:32px;translate:-50% 0;width:max-content;max-width:calc(100% - 32px);padding:14px 18px;background:#faf2df;color:#593e27;text-align:center;font:14px/1.5 Arial,sans-serif}
.section-status{position:fixed;z-index:50;left:50%;bottom:max(18px,env(safe-area-inset-bottom));translate:-50% 0;width:min(440px,calc(100% - 24px));padding:16px 20px;background:#faf2df;color:#403122;border:1px solid #c7ad85;box-shadow:0 6px 22px #30271e44;font:14px/1.5 var(--sans,Arial,sans-serif)}
.section-status[hidden]{display:none}.section-status p{margin:0 0 10px}.section-status>div{display:flex;flex-wrap:wrap;gap:8px}
.section-status button,.copy-email{min-height:44px;padding:10px 12px;border:1px solid #ad9272;background:#f7ecd5;color:#6d3025;font:13px/1.4 var(--sans,Arial,sans-serif);cursor:pointer}
.email-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.letter-copy .email{display:block;width:max-content;max-width:100%;overflow-wrap:anywhere;white-space:normal;user-select:text}
.letter-copy .sender{margin-bottom:12px}
.letter-copy .email-hint,.info-content .email-hint{font:13px/1.5 var(--sans,Arial,sans-serif);margin:10px 0 0;max-width:36em}
.letter-copy .email-status,.info-content .email-status{font:13px/1.5 var(--sans,Arial,sans-serif);margin:8px 0 0}
.email-status:empty{display:none}.copy-email[hidden]{display:none}
.letter-copy .privacy-link{font-size:12px;line-height:1.5;margin:6px 0 0;min-height:44px;padding-block:10px}
.copy-email:hover,.section-status button:hover{background:#ead8b5}.copy-email:disabled{cursor:wait}
@media(min-width:701px) and (min-height:551px){
 .letter-copy>.eyebrow{margin-bottom:6px}
 .letter-copy h3{margin-bottom:4px}
 .letter-copy .email{margin-bottom:6px}
 .letter-copy .sender{line-height:1.6;margin-bottom:8px}
 .letter-copy .email-hint{margin-top:8px}
}
@media(forced-colors:active){.section-status{background:Canvas;color:CanvasText;border-color:CanvasText}.copy-email{color:ButtonText;border-color:ButtonText}}
.world[data-state="home"][data-phase="idle"][data-scene-target]{cursor:pointer}
/* Keep rotated letters in permanent compositor layers, including at rest.
   Promoting them only when a neighbouring image gets a filter can change
   glyph rasterization even though all DOM coordinates remain unchanged. */
.world .sign,.world .mailbox-word,.world .shop-plaque{will-change:transform}
.world .sign,.world .sign:hover{color:var(--scene-sign-color,#fff9e9);transition:none}
.world[data-layout="mobile-scene"] .sign{--scene-sign-color:#fff2cf}
.world .group:not(.brand) img{will-change:filter;transition:filter 320ms cubic-bezier(.22,1,.36,1)}
/* Feather only the shop's lower-left turf into the unchanged landscape.
   The upper 87% and the right 54% retain their original alpha. */
.world .shop img{mask-image:linear-gradient(90deg,transparent,#000 46%),linear-gradient(#000 0 87%,#0008 90%,#0002 95%,transparent 100%);mask-composite:add}
.world[data-state="home"][data-phase="idle"] .group:is([data-scene-hover],:has(>.sign:focus-visible)) img{filter:brightness(1.12) saturate(1.06)}
.world:not([data-state="home"][data-phase="idle"]) .group img,
.world:not([data-state="home"][data-phase="idle"]) .sign{transition:none}
@media(prefers-reduced-motion:reduce){
 .world .group img,.world .sign{transition:none}
}
