/* One connected rectangular seven-piece jigsaw within one portrait viewport. */
body[data-page=home]{height:100vh;height:100svh;height:100dvh;min-height:0;display:grid;grid-template-rows:50px minmax(0,1fr) 48px;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);box-sizing:border-box}body[data-page=home]>.site-header{height:50px;min-height:0;padding:3px 14px}body[data-page=home] .brand{width:130px}body[data-page=home]>.site-footer{height:48px;margin:0 auto;width:100%;max-width:900px;padding:2px 14px;flex-wrap:nowrap}body[data-page=home] .sound-volume{display:none}.adventure-entry{display:grid;grid-template-rows:72px 26px auto minmax(0,1fr);gap:5px;width:min(100%,800px);height:100%;min-height:0;padding:4px 14px 8px;align-items:center;justify-items:center;margin:0 auto;text-align:center}.landing-logo{height:72px;width:196px;margin:0;line-height:0}.landing-logo .stitched-logo{height:100%;width:100%}.landing-logo img{height:100%;width:100%;object-fit:contain}.entry-tagline{font-size:9px;line-height:14px;margin:0;letter-spacing:.12em;color:#c3c4b9}.adventure-entry h1{font-size:22px;line-height:1.14;margin:0;max-width:330px}.adventure-doors{height:100%;min-height:0;width:100%;max-width:520px;display:flex;justify-content:center;align-items:center}.connected-puzzle{width:100%;height:100%;overflow:visible;display:block}.adventure-door{cursor:pointer;outline:none}.puzzle-piece{fill:#26332a;stroke:#b6ad82;stroke-width:1.15;transition:fill .18s ease}.adventure-door:nth-child(2n) .puzzle-piece{fill:#2d3639}.adventure-door:nth-child(3n) .puzzle-piece{fill:#39342d}.adventure-door:last-of-type .puzzle-piece{fill:#263b4b}.door-caption{font-family:Georgia,serif;font-size:14.4px;font-weight:500;fill:#f0e4c6;pointer-events:none;user-select:none}.adventure-door:hover .puzzle-piece,.adventure-door:focus-visible .puzzle-piece,.adventure-door.opening .puzzle-piece,.adventure-door.emblem-lit .puzzle-piece{fill:#536147;stroke:#fff0bd;stroke-width:2.5}.puzzle-border{fill:none;stroke:#c6b989;stroke-width:1.5;pointer-events:none}body[data-page=home]>.site-footer .motion-toggle{font-size:10px;min-height:44px}body[data-page=home]>.site-footer .sound-toggle{min-height:44px;font-size:10px;padding:4px 9px}body[data-page=home]>.site-footer .secret-key{min-height:44px}
@media(min-width:701px){.adventure-entry{grid-template-rows:90px 30px auto minmax(0,1fr);gap:6px;padding:8px 24px}.landing-logo{height:90px;width:244px}.adventure-entry h1{max-width:none;font-size:28px}}
@media(max-height:600px)and(max-width:700px){body[data-page=home]{grid-template-rows:46px minmax(0,1fr) 46px}body[data-page=home]>.site-header{height:46px}body[data-page=home]>.site-footer{height:46px}.adventure-entry{grid-template-rows:52px 20px auto minmax(0,1fr);gap:3px;padding:2px 10px 5px}.landing-logo{height:52px;width:142px}.entry-tagline{font-size:8px;line-height:12px}.adventure-entry h1{font-size:20px;max-width:290px}}
@media(prefers-reduced-motion:reduce){.puzzle-piece{transition:none}}
/* Keep all four footer actions comfortable even on a 320px phone. */
body[data-page=home]>.site-footer{gap:4px;justify-content:space-between;position:relative}body[data-page=home]>.site-footer .motion-toggle{width:70px;min-width:44px;padding:3px;white-space:normal;line-height:1.2}body[data-page=home]>.site-footer #jukebox-open{width:65px;min-width:44px;padding:3px}body[data-page=home]>.site-footer .sound-controls{min-width:0;flex-wrap:nowrap}body[data-page=home]>.site-footer .sound-toggle{width:80px;min-width:70px;white-space:normal;line-height:1.2}body[data-page=home]>.site-footer .sound-feedback{position:absolute;bottom:calc(100% + 4px);right:10px;width:min(260px,90vw);max-width:260px;padding:7px;background:#172014;border:1px solid #667452;border-radius:5px;z-index:5}

/* Breathing room below the animated logo; keep the extra space above its tagline. */
.entry-tagline{align-self:end}

/* A quiet artist's sign-off beneath the interactive rooms. */
@font-face{font-family:Allura;src:url('/assets/fonts/Allura-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
.adventure-entry{grid-template-rows:72px 26px auto minmax(0,1fr) auto}
.creator-signature{width:min(100%,480px);padding:5px 8px 1px;margin:0;text-align:center}
.creator-statement{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:11px;line-height:1.5;color:#b0b3a9;margin:0;text-wrap:balance}
.creator-statement q{quotes:'“' '”' '‘' '’'}
.creator-name{font-family:Allura,'Segoe Script','Snell Roundhand',cursive;font-size:21px;line-height:24px;letter-spacing:0;color:#c7bea4;margin:2px 8px 0 0;font-weight:400;text-align:right}
@media(min-width:701px){.adventure-entry{grid-template-rows:90px 30px auto minmax(0,1fr) auto}.creator-signature{padding:6px 16px 2px}.creator-statement{font-size:12px}.creator-name{font-size:22px;line-height:25px}}
@media(max-height:600px)and(max-width:700px){.adventure-entry{grid-template-rows:52px 20px auto minmax(0,1fr) auto}.creator-signature{padding:3px 4px 1px}.creator-name{margin-top:1px}}
/* Let very short landscape windows scroll rather than squeeze the puzzle away. */
@media(max-height:480px){body[data-page=home]{min-height:540px}}
