/* Recovered correspondence: the same ivory paper, wine ink and quiet motion. */
.mara-fragment[hidden],#riddle-question[hidden],#maze-game[hidden],#maze-chapter-lead[hidden]{display:none!important}
.mara-fragment{animation:mara-page-reveal .65s ease both}
.mara-fragment .chapter-lead{max-width:39ch;margin-inline:auto}
.mara-hand{font:400 clamp(1.9rem,5vw,2.65rem)/1.25 var(--script);color:#683443;margin:24px 0 10px;text-wrap:balance}
.mara-stamp{display:inline-block;font:400 .875rem/1.5 var(--print);letter-spacing:.14em;color:#6d3540;border-block:1px solid #814a4655;padding:7px 0;margin:4px 0 16px}
.mara-fragment-footer{font:italic 1.0625rem/1.5 var(--serif);color:#674c3e;border-top:1px solid #8e69413d;margin:21px 0;padding-top:18px}
.mara-artifacts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:25px 0 20px}
.mara-artifact{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:12px 6px;background:#fffcf026;border:1px solid #8b5e3230;color:#58342e;transition:transform .25s ease,background .25s ease,border-color .25s ease}
button.mara-artifact{cursor:pointer}
button.mara-artifact:hover{transform:translateY(-3px);background:#fff5dc99}
button.mara-artifact[aria-pressed=true]{background:#fff4d2a3;border-color:#803c4f;box-shadow:0 2px 0 #803c4f}
.mara-artifact-art{display:block;width:100%;max-width:152px;aspect-ratio:2/2.4;background-image:url('assets/mara-keepsakes.png');background-size:300% 100%;background-repeat:no-repeat;flex:none}
.mara-artifact-art[data-artifact="0"]{background-position:0 50%}
.mara-artifact-art[data-artifact="1"]{background-position:50% 50%}
.mara-artifact-art[data-artifact="2"]{background-position:100% 50%}
.mara-artifact-name{font:400 1rem/1.3 var(--serif);text-align:center;margin-top:6px}
.mara-artifact-detail{min-height:190px;text-align:left;padding:18px 22px;border-left:2px solid #854452;background:#fff8e233}
.mara-artifact-detail h3{font:italic 1.5rem/1.2 var(--serif);margin:0 0 10px;color:#643c3c}
.mara-artifact-detail p{font:400 1.0625rem/1.5 var(--serif);color:#654b3c;margin:0}
.mara-artifact-detail .mara-arrival-clue{font-style:italic;margin-top:12px;color:#763b48}
.mara-found-note{display:flex;align-items:center;gap:17px;margin:20px 0;padding-bottom:15px;border-bottom:1px solid #996b4d40}
.mara-found-note .mara-artifact-art{width:82px;flex:none}
.mara-found-note blockquote{font:italic 1.4rem/1.4 var(--serif);color:#704344;margin:0}
.mara-note-context{font:400 1.0625rem/1.55 var(--serif);color:#6c5142;max-width:42ch}
.mara-consent{display:flex;align-items:flex-start;gap:12px;text-align:left;font:400 1rem/1.5 var(--serif);color:#684b3e;margin:20px 0 8px;padding:13px 0;cursor:pointer}
.mara-consent input{width:20px;height:20px;flex:none;margin:3px 0 0;accent-color:#6d2c42}
.mara-consent small{display:block;font-size:.875rem;color:#7c6250;margin-top:4px}
.mara-role-paper{max-width:740px;margin:30px auto 0;padding:34px clamp(23px,5vw,48px);background:linear-gradient(115deg,#f0e5ce,#e1cba7);color:#593d32;border:1px solid #bb96745c;box-shadow:0 18px 65px #0005;text-align:left}
.mara-role-paper .paper-meta{color:#815d49}
.mara-role-commission{display:grid;grid-template-columns:105px minmax(0,1fr);gap:24px;align-items:center;margin:22px 0}
.mara-role-paper h2{font:italic clamp(1.85rem,4vw,2.4rem)/1.15 var(--serif);color:#643643;margin:0 0 12px;text-wrap:balance}
.mara-role-paper p{font:400 1.0625rem/1.55 var(--serif);margin:0}
.mara-role-paper #mara-role-detail{font-size:.875rem;color:#7d5843;margin-top:12px}
.mara-role-paper .mara-signature{font:2rem/1.2 var(--script);color:#7c3e4c;text-align:right;margin:10px 0 18px}
.mara-role-paper .ink-button{width:100%;min-height:50px;margin-top:10px}
.mara-role-paper details{border-top:1px solid #906a4740;padding-top:14px;margin-top:23px}
.mara-role-paper summary{font:400 1rem/1.5 var(--serif);cursor:pointer;min-height:44px;display:list-item;padding:8px 0}
#mara-kept-line{font:italic 1.2rem/1.5 var(--serif);margin:18px 0;overflow-wrap:anywhere;white-space:pre-wrap}
.role-view .keepsake-cinema{max-width:740px;margin:26px auto 0}
.role-view .keepsake-screen{aspect-ratio:2.4/1;min-height:210px}
.role-view .keepsake-film-caption{padding:19px 25px}
.role-view .keepsake-film-caption p{max-width:48ch;margin:0}
.role-view .role-wardrobe{max-width:740px}
.role-view #keepsake-title{font-size:clamp(2.6rem,6vw,4.1rem)}
.mara-booking-bridge{max-width:620px;margin:26px auto 0;text-align:center;font:italic 1.15rem/1.6 var(--serif);color:#d6bfa6}
.mara-booking-bridge .text-link{display:block;margin:10px auto;font-size:1rem;min-height:44px}
.mara-fragment button:focus-visible,.mara-role-paper button:focus-visible,.mara-consent input:focus-visible,.mara-role-paper summary:focus-visible{outline:2px solid #752d44;outline-offset:5px}
.mara-fragment button:active,.mara-role-paper button:active{transform:translateY(1px)}
body.reduced-motion .mara-fragment{animation:none}
@keyframes mara-page-reveal{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){.mara-artifacts{gap:7px;margin-top:20px}.mara-artifact{padding:8px 3px}.mara-artifact-name{font-size:.9375rem}.mara-artifact-detail{padding:17px;min-height:215px}.mara-role-commission{grid-template-columns:72px minmax(0,1fr);gap:15px}.mara-role-paper{padding:25px 22px;margin-top:23px}.mara-found-note{gap:10px}.mara-found-note .mara-artifact-art{width:63px}.mara-found-note blockquote{font-size:1.25rem}.role-view .keepsake-screen{aspect-ratio:1.65/1}.mara-role-paper .paper-meta{font-size:.875rem}.mara-stamp{letter-spacing:.08em}}
@media(prefers-reduced-motion:reduce){.mara-fragment{animation:none}.mara-artifact{transition:none}button.mara-artifact:hover{transform:none}}


.role-wardrobe summary{cursor:pointer;min-height:44px;font:1.0625rem/1.5 var(--serif);padding:10px 0}.role-wardrobe summary:focus-visible{outline:2px solid #e0c7a7;outline-offset:4px}

#mara-maze-recovered{scroll-margin-top:24px;margin-top:28px}
