/* Shared live-control primitives. Each direction owns its page composition. */
.fw-shell,.fw-shell *{box-sizing:border-box}
.fw-shell{color:var(--text);background:var(--page);font-family:"Valkra DM Sans",Arial,sans-serif;line-height:1.5;isolation:isolate;overflow-wrap:anywhere}
.fw-shell :is(h1,h2,h3,p,figure){margin:0}
.fw-shell :is(h1,h2,h3,.fw-brand,.fw-card-title){font-family:var(--display);font-weight:400}
.fw-shell :is(h1,h2,h3){line-height:1.08;text-wrap:balance}
.fw-shell h1{font-size:clamp(2.4rem,6.2vw,6rem);letter-spacing:-.045em}
.fw-shell h2{font-size:clamp(1.5rem,3vw,2.6rem);letter-spacing:-.025em}
.fw-shell h3{font-size:clamp(1.35rem,2vw,1.8rem)}
.fw-shell button{appearance:none;border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;line-height:1.35;padding:.7rem .9rem;cursor:pointer;overflow-wrap:anywhere;min-width:0;min-height:44px;text-align:inherit;border-radius:0;touch-action:manipulation}
.fw-shell button:hover{background:var(--secondary)}
.fw-shell :is(button,[tabindex]):focus-visible{outline:3px solid var(--focus);outline-offset:4px;position:relative;z-index:5}
.fw-shell [hidden]{display:none!important}
.fw-shell :is(img,picture,svg){display:block;max-width:100%}
.fw-shell img{height:auto;object-fit:cover}
.fw-shell .fw-art img{width:100%;height:100%;object-fit:cover}
.fw-shell .fw-art picture{height:100%}
.fw-shell .fw-brand{font-size:1.4rem;letter-spacing:-.045em;background:none;border:0;padding:.3rem 0}
.fw-shell .fw-header-caption,.fw-shell .fw-eyebrow,.fw-shell .fw-card-label{font-size:.68rem;letter-spacing:.13em;text-transform:uppercase;font-weight:600}
.fw-shell .fw-nav{display:flex;flex-wrap:wrap;gap:.2rem}
.fw-shell .fw-nav button{border-color:transparent;background:transparent;font-size:.8rem;padding:.55rem .65rem}
.fw-shell .fw-nav button[aria-pressed=true]{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.35em}
.fw-shell :is(.fw-cta,.fw-header-cta){background:var(--primary);color:var(--onPrimary);border-color:var(--primary);font-size:.8rem;font-weight:600}
.fw-shell :is(.fw-cta,.fw-header-cta):hover{background:var(--primary);box-shadow:inset 0 0 0 2px var(--onPrimary)}
.fw-shell .fw-intro>*+*{margin-top:1rem}
.fw-shell .fw-lead{max-width:35ch;font-size:clamp(.9rem,1.4vw,1.1rem);color:var(--muted)}
.fw-shell .fw-cards{min-width:0}
.fw-shell .fw-route-card{width:100%;padding:0;display:block;overflow:visible;background:var(--surface);text-align:left}
.fw-shell .fw-route-card[aria-pressed=true]{outline:2px solid var(--primary);outline-offset:3px}
.fw-shell .fw-card-photo{width:100%;aspect-ratio:3/2;object-fit:cover}
.fw-shell .fw-card-copy{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;padding:1.25rem}
.fw-shell .fw-card-title{font-size:1.5rem;line-height:1.1}
.fw-shell .fw-card-facts{font-size:.85rem;font-weight:600}
.fw-shell .fw-card-terrain{font-size:.8rem;color:var(--muted)}
.fw-shell .fw-card-action{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;padding-top:.4rem}
.fw-shell .fw-tabs{min-width:0}
.fw-shell .fw-discovery-title{margin-bottom:1rem}
.fw-shell [role=tablist]{display:flex;flex-wrap:wrap;gap:.4rem}
.fw-shell [role=tab]{font-size:.8rem;padding:.65rem .8rem}
.fw-shell [role=tab][aria-selected=true]{background:var(--primary);color:var(--onPrimary);border-color:var(--primary);box-shadow:0 3px 0 var(--border)}
.fw-shell .fw-route-panel>*+*{margin-top:1rem}
.fw-shell .fw-detail-copy{color:var(--muted);max-width:55ch;font-size:.9rem}
.fw-shell .fw-map{min-width:0}
.fw-shell .fw-map svg{width:100%;height:auto;border:1px solid var(--border)}
.fw-shell .fw-map text{font-family:"Valkra DM Sans",Arial,sans-serif}
.fw-shell .fw-map figcaption{font-size:.65rem;letter-spacing:.025em;margin-top:.5rem;color:var(--muted)}
.fw-shell .fw-map-key{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 12px;font:12px/1.5 "Valkra DM Sans",Arial,sans-serif;color:var(--text);padding-top:8px}
.fw-shell .fw-map-key span{white-space:nowrap}
.fw-shell .fw-map-key span:nth-child(2){font-weight:600}
.fw-shell .fw-map figcaption{font-size:12px;line-height:1.5;letter-spacing:0}
/* The four weakest generic map panels now carry their own material language. */
.fw-handcrafted .fw-map{border-style:dashed;background:var(--page);box-shadow:3px 4px 0 var(--secondary)}
.fw-handcrafted .fw-map-key{font-style:italic}
.fw-technical .fw-map-key{font-family:Arial,sans-serif;border-top:1px solid var(--border);margin-top:8px}
.fw-futuristic .fw-map-key{border-bottom:1px solid var(--border);padding-bottom:8px}
.fw-baroque .fw-map-key{justify-content:center;column-gap:16px}
.fw-baroque .fw-map{outline:1px solid var(--border);outline-offset:-5px}
.fw-shell .fw-prepare>*+*{margin-top:.8rem}
.fw-shell .fw-prepare>p:not(.fw-eyebrow){font-size:.88rem;max-width:62ch;color:var(--muted)}
.fw-shell .fw-pack-list{font-weight:600}
.fw-shell .fw-footer{font-size:.7rem;color:var(--muted);border-top:1px solid var(--border)}
.fw-shell .fw-footer>span{display:block;text-transform:uppercase;font-size:.6rem;letter-spacing:.12em;margin-top:.75rem}
.fw-shell .fw-route-index button{width:100%;display:flex;flex-wrap:wrap;gap:.5rem 1rem;justify-content:space-between;border-width:1px 0 0;background:none}
.fw-shell .fw-route-index button[aria-pressed=true]{box-shadow:inset 3px 0 var(--primary)}
@media(prefers-reduced-motion:no-preference){.fw-shell button{transition:background-color .15s,box-shadow .15s}}
@media(max-width:600px){.fw-shell h1{font-size:clamp(2.1rem,11vw,3.5rem)}.fw-shell .fw-header-caption{font-size:.6rem}.fw-shell .fw-nav button{font-size:.72rem;padding:.5rem}.fw-shell .fw-card-copy{padding:1rem}.fw-shell .fw-card-title{font-size:1.35rem}}
