.trail{--pine:#244b4a;--pale:#fbf4df;--seam:#afc2a8;position:relative;padding:clamp(23px,3vw,52px) 0 clamp(28px,4vw,60px);background:#f9f2df;background-image:repeating-linear-gradient(110deg,transparent 0 7px,#c3b1950b 8px,transparent 9px)}
.trail-wrap{width:min(1360px,93%);margin:auto}
.trail-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:0 auto 15px}
.trail-heading h1{font:670 clamp(3.2rem,6.6vw,7.15rem)/.87 Bricolage,Arial,sans-serif;letter-spacing:-.065em;white-space:nowrap;margin:0}
.trail-heading h1 img{display:inline-block;width:2.9em;height:auto;margin-left:-.065em;vertical-align:-.22em;transform:rotate(-2deg)}
.trail-heading p{max-width:22em;font:550 clamp(.93rem,1.3vw,1.12rem)/1.39 DM,sans-serif;color:#5a4839}
.trail-console{position:relative;background:var(--pine);border:1.75px solid #2c4039;border-radius:20px 22px 18px 17px;padding:12px 12px 4px;box-shadow:0 6px 0 #b5a68b,0 12px 17px #594d3021}
.trail-console:before{content:"";position:absolute;inset:5px;border:1px dashed #b5c8ac73;border-radius:16px;pointer-events:none}
.trail-window{position:relative;overflow:hidden;isolation:isolate;border:1.5px solid #152f32;border-radius:10px 12px 9px 10px;background:#d9e8dd url(assets/meadow.webp) center bottom/cover}
#trail-stage{display:block;width:100%;height:auto;aspect-ratio:2.85/1;min-width:0;background:transparent}
.trail-ticket{position:absolute;top:clamp(9px,1.5vw,24px);left:clamp(10px,1.7vw,25px);display:flex;align-items:center;color:#493b32;background:#fff9e8;gap:.6em;transform:rotate(-2.2deg);padding:4px 11px 5px 9px;border:1.4px solid #87745c;border-radius:3px;box-shadow:1px 2px 0 #6c685b3d;pointer-events:none}
.trail-ticket span{border-right:1px dashed #9c856e;padding-right:8px;font:700 .72rem/1.6 DM,sans-serif;letter-spacing:.07em;color:#79543c}
.trail-ticket h2{margin:0;font:400 clamp(1.05rem,2.1vw,1.65rem)/1 Hand,DM,sans-serif}
.trail-desk{position:relative;display:grid;grid-template-columns:1fr minmax(200px,.8fr) 1fr;align-items:center;gap:15px;min-height:80px;padding:7px clamp(8px,1.8vw,22px);color:var(--pale)}
.spool-unit,.trail-actions,.post-links,.post-identity{display:flex;align-items:center}
.spool-unit{gap:11px}.spool-unit strong,.spool-unit small{display:block}.spool-unit strong{font:400 clamp(1.2rem,2.2vw,1.75rem)/1 Hand,sans-serif}
.spool-unit small{font-size:.77rem;line-height:1.4;color:#ecedce;margin-top:3px}
.spool{--turn:0deg;position:relative;isolation:isolate;border:0;border-radius:50%;width:68px;height:68px;flex-shrink:0;padding:0;touch-action:none;background:transparent;cursor:grab;user-select:none;-webkit-user-select:none}
.spool:active{cursor:grabbing}.spool img{width:100%;height:100%;object-fit:contain;transform:rotate(var(--turn));filter:drop-shadow(1px 2px 0 #152e30);pointer-events:none}.spool:hover img{filter:drop-shadow(1px 3px 1px #0e2427) brightness(1.07)}
#trail-stops{display:flex;list-style:none;padding:0;margin:0;position:relative;justify-content:space-between}
#trail-stops:before{content:"";position:absolute;inset:6px 12% auto;border-top:1.5px dashed var(--seam)}
#trail-stops li{z-index:1;display:grid;justify-items:center;gap:4px;min-width:30%;font:600 .79rem/1.2 DM,sans-serif;color:#d4decd}
#trail-stops b{width:12px;height:12px;box-sizing:border-box;border:1.5px solid #d5dac0;background:var(--pine);border-radius:50%}
#trail-stops li[aria-current=step]{color:#ffe7a2}#trail-stops li[aria-current=step] b{background:#ffdf89;border:2px solid #ffdf89;outline:1px solid #ffe6aa;outline-offset:2px}
.trail-actions{justify-content:flex-end;gap:9px}
.trail-actions button,.post-links button{border:1px solid #443e30;font:750 .91rem/1.15 DM,sans-serif;background:#f4d686;color:#393d2d;border-radius:8px 11px 7px 8px;min-height:40px;padding:8px 15px;box-shadow:0 2px 0 #142f31}
.trail-actions button:hover,.post-links button:hover{background:#ffe5a7}
.trail-actions #trail-rewind{border:1px solid #b1c1a8;background:transparent;color:var(--pale);font:500 1.65rem/.8 DM,sans-serif;min-height:38px;min-width:38px;padding:0;box-shadow:none}.trail-actions button:disabled{opacity:.5}
.trail button:focus-visible,.trail input:focus-visible{outline:3px solid #e19355;outline-offset:3px}
.trail-post{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:20px auto 0;background:#fff9e8;border:1px solid #9a8166;box-shadow:2px 3px 0 #8e775533;padding:14px clamp(14px,2.5vw,34px);border-radius:3px;animation:open-card .45s ease-out}
.trail-post[hidden],#trail-manual[hidden]{display:none}
.trail-post:before{content:"";height:4px;position:absolute;top:0;left:0;right:0;background:repeating-linear-gradient(128deg,#a65a42 0 9px,transparent 10px 20px,#557b83 21px 31px,transparent 32px 43px)}
.post-identity{gap:12px}.post-identity h2{font:400 clamp(1.55rem,2.5vw,2.1rem)/1 Hand,sans-serif;margin:0}.post-identity p{font-size:.87rem;margin-top:3px}
.post-stamp{color:#587270;background:#dbe5d3;border:2px dotted #66817b;padding:4px 9px;transform:rotate(-8deg);font:400 2rem/1.1 Hand,sans-serif}
.post-links{gap:8px}.post-links button{background:#f5dc97;box-shadow:0 2px 0 #bba685}.post-links button+button{background:#fffaf0}
#trail-manual{width:100%;padding:8px;border:1px solid #a48f78;border-radius:4px}
#trail-status{font-size:.88rem;margin:0}#trail-status:not(:empty){margin-top:12px}.trail-post~#trail-status:not(:empty){color:#4d523e}
.outfit-trip-link{display:block;font:600 .88rem/1.3 DM,sans-serif;margin:9px 0 0;text-align:center;padding:8px;border-top:1px dashed #baaa8c;color:#36595b;text-decoration:underline;text-underline-offset:3px}
@keyframes open-card{from{transform:translateY(-8px) rotate(-.6deg);opacity:0}to{transform:none;opacity:1}}
@media(min-width:1650px){#trail-stage{aspect-ratio:3.05/1}}
@media(max-width:850px){.trail-heading{gap:14px}.trail-heading p{max-width:18em;font-size:.94rem}.trail-desk{grid-template-columns:1fr auto;gap:5px 12px}.spool-unit{grid-column:1;grid-row:1}.trail-actions{grid-column:2;grid-row:1}#trail-stops{display:none}.trail{padding-top:23px}#trail-stage{aspect-ratio:2.15/1}}
@media(max-width:640px){.trail{padding:21px 0 28px}.trail-wrap{width:94%}.trail-heading{display:block;margin-bottom:12px;padding:0 4px}.trail-heading h1{font-size:clamp(2.7rem,9.3vw,4.2rem)}.trail-heading p{font-size:.91rem;max-width:34em;margin:8px 0 0;line-height:1.3}.trail-console{padding:7px 7px 3px;border-radius:12px}.trail-console:before{inset:3px;border-radius:9px}.trail-window{border-radius:6px}#trail-stage{aspect-ratio:1.48/1}.trail-desk{gap:4px 5px;padding:6px 1px;min-height:62px}.spool{width:50px;height:50px}.spool-unit{gap:4px}.spool-unit strong{font-size:1.1rem}.spool-unit small{font-size:.66rem}.trail-actions{gap:4px}.trail-actions button,.post-links button{font-size:.79rem;min-height:38px;padding:7px}.trail-actions #trail-rewind{min-width:32px;min-height:34px}.trail-post{padding:13px 10px}.post-stamp{font-size:1.4rem}.post-links{gap:6px}.nav-row nav{gap:10px}.outfit-trip-link{grid-column:1/-1;margin:0;padding:5px}.portrait-card{row-gap:4px}}
@media(max-width:365px){.nav-row nav{gap:7px;font-size:.77rem}.spool{width:43px;height:43px}.spool-unit small{max-width:65px}.spool-unit strong{font-size:1rem}.trail-actions button{font-size:.74rem}.trail-ticket{top:6px;left:6px}}
@media(max-width:400px){.trail-heading h1{font-size:9.6vw}.trail-heading h1 img{width:2.72em}}
#home{scroll-margin-top:70px}
.theatre-switch{position:absolute;top:clamp(7px,1.3vw,20px);right:clamp(7px,1.3vw,20px);display:grid;place-items:center;min-width:36px;height:36px;padding:0 6px;border:1px solid #78694f;border-radius:6px;color:#433d32;background:#fff9e8ed;box-shadow:1px 2px #50463444}
.theatre-switch span{font:500 1.65rem/1 Arial,sans-serif}.theatre-switch:hover{background:#ffdfa0}
#trail-theatre{width:100%;height:100%;max-width:none;max-height:none;inset:0;padding:0;margin:0;border:0;background:#183c3d;color:#fff4d8}
#trail-theatre::backdrop{background:#183c3d}body:has(#trail-theatre[open]){overflow:hidden}
#trail-theatre .trail{min-height:100%;background:#183c3d;padding:clamp(13px,3vh,30px) 0}
#trail-theatre .trail-wrap{width:96%;max-width:1800px}
#trail-theatre .trail-heading h1{font-size:clamp(2rem,4vw,4.4rem)}
#trail-theatre .trail-heading h1 img{filter:brightness(1.65) saturate(.72)}
#trail-theatre .trail-heading p{color:#f3e7c9}
#trail-theatre #trail-stage{height:clamp(245px,65svh,810px);aspect-ratio:auto}
#trail-theatre .trail-post{color:#49372e}
#trail-theatre #trail-status{color:#fff3cb}
@media(max-width:640px){.theatre-switch{min-width:33px;height:33px}#trail-theatre #trail-stage{height:clamp(240px,50svh,520px)}}
@media(max-height:500px) and (orientation:landscape){#trail-theatre .trail{padding:4px 0}#trail-theatre .trail-heading{display:none}#trail-theatre #trail-stage{height:calc(100svh - 110px);min-height:100px}}
