/* Motion is progressive enhancement: content stays visible without JavaScript. */
:root{--motion-ease:cubic-bezier(.16,1,.3,1)}
.reading-progress{position:fixed;inset:0 0 auto;height:2px;z-index:80;background:#c0e8ff;transform:scaleX(0);transform-origin:left;pointer-events:none}
.site-header{transition:background .3s,box-shadow .3s}.site-header.header-scrolled{background:#080e16fa;box-shadow:0 8px 30px #0003}
.hero-line{display:block;overflow:hidden;padding-bottom:.12em;margin-bottom:-.12em}.hero-line>span{display:block}
@keyframes haltija-line{from{transform:translateY(112%)}to{transform:translateY(0)}}
@keyframes haltija-image{from{opacity:.35;clip-path:inset(0 0 0 20%)}to{opacity:1;clip-path:inset(0)}}
@keyframes haltija-panel{from{opacity:0;transform:translateY(-18px)}to{opacity:1;transform:translateY(0)}}
@keyframes haltija-dialog{from{opacity:0;transform:translateY(36px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
.motion-enabled .hero-content>h1{animation:none}
.motion-enabled .hero-line>span{animation:haltija-line 1.1s var(--motion-ease) backwards}
.motion-enabled .hero-line:nth-child(2)>span{animation-delay:.14s}
.motion-enabled .hero-content>.eyebrow{animation-duration:.9s}
.motion-enabled .hero-content>p{animation-delay:.28s;animation-duration:1s}
.motion-enabled .hero-content>.light-button{animation-delay:.38s;animation-duration:1s}
.motion-enabled .hero-reservation{animation-delay:.46s;animation-duration:1s}
.motion-enabled .mountain-photo{animation:haltija-image 1.4s var(--motion-ease) backwards}
.motion-enabled #mobile-menu:not(.hidden),.motion-enabled #shop-menu[open] .shop-dropdown,.motion-enabled .header-search-panel:not([hidden]){animation:haltija-panel .5s var(--motion-ease) backwards;transform-origin:top center}
.motion-enabled #mobile-menu:not(.hidden) a{animation:north-rise .55s var(--motion-ease) backwards;animation-delay:.08s}
.motion-enabled #mobile-menu:not(.hidden)>div>a:nth-child(2){animation-delay:.12s}
.motion-enabled #mobile-menu:not(.hidden)>div>a:nth-child(3){animation-delay:.16s}
.motion-enabled #product-modal:not(.hidden)>div,.motion-enabled #quote-modal:not(.hidden)>div{animation:haltija-dialog .55s var(--motion-ease) backwards}
.motion-enabled #cart-drawer{transition:transform .6s var(--motion-ease)}
.motion-enabled .collection-tile>img{transition:transform 1s var(--motion-ease)}
.motion-enabled .collection-copy{transition:transform .7s var(--motion-ease)}
.motion-enabled .gear-card{transition:transform .5s var(--motion-ease),border-color .3s,box-shadow .5s}
.motion-enabled .product-image-frame img{transition:transform .8s var(--motion-ease)}
.motion-enabled .light-button span{display:inline-block;margin-left:12px;transition:transform .4s var(--motion-ease)}
.motion-enabled .filter-btn,.motion-enabled .product-style-options button{transition:background .25s,border-color .25s,transform .25s}
.motion-enabled .filter-btn:active,.motion-enabled .product-style-options button:active{transform:scale(.97)}
@media(hover:hover) and (pointer:fine){
 .motion-enabled .collection-tile:hover>img{transform:scale(1.075)}
 .motion-enabled .collection-tile:hover .collection-copy{transform:translateX(6px) scale(1.025)}
 .motion-enabled .gear-card:hover{transform:translateY(-7px);border-color:#86b6d5!important;box-shadow:0 20px 45px #0005}
 .motion-enabled .gear-card:hover .product-image-frame img{transform:scale(1.055)}
 .motion-enabled .light-button:hover span{transform:translateX(5px)}
}
@media(min-width:1024px){.motion-enabled .mountain-photo{transform:translate3d(var(--hero-x,0px),calc(var(--hero-y,0px) + var(--hero-scroll,0px)),0) scale(1.07);transition:transform .6s var(--motion-ease)}}
@media(max-width:1023px){
 .mountain-hero{flex-direction:column;align-items:stretch;height:auto;min-height:0;max-height:none}
 .mountain-photo{position:relative;inset:auto;width:100%;height:clamp(420px,65vw,580px);object-position:55% 50%;z-index:0}
 .mountain-shade{inset:0 0 auto;height:clamp(420px,65vw,580px);background:linear-gradient(0deg,#0c1621,transparent 18%);z-index:1;pointer-events:none}
 .hero-content{padding:28px 32px 38px;background:#0c1621;z-index:2}
 .hero-content h1{font-size:clamp(3.5rem,8vw,5.5rem);line-height:1;max-width:100%}
 .hero-location{display:none}
 .motion-enabled .mountain-photo{transform:none;animation-duration:1s}
 .motion-enabled .hero-line>span{animation-duration:.85s}
 .motion-enabled .hero-atmosphere{display:none}
 .motion-enabled #cart-drawer{transition-duration:.4s}
 .motion-enabled #product-modal:not(.hidden)>div,.motion-enabled #quote-modal:not(.hidden)>div{animation-duration:.4s}
}
@media(max-width:639px){
 .mountain-photo,.mountain-shade{height:clamp(360px,110vw,500px)}
 .hero-content{padding:20px 24px 32px}
 .hero-content h1{font-size:clamp(3rem,12vw,4.8rem);line-height:.98}
 .hero-content>p{font-size:.9rem;line-height:1.65}
 .hero-reservation{font-size:.7rem;line-height:1.7}
}
@media(prefers-reduced-motion:reduce){
 .reading-progress{display:none}
 .mountain-photo,.collection-copy,.gear-card,.product-image-frame img,.hero-line>span{transform:none!important}
 *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
/* Explicit transform avoids a translate/transform transition mismatch. */
#cart-drawer{translate:none!important;transform:translate3d(100%,0,0);visibility:hidden;transition:transform .55s var(--motion-ease),visibility 0s .55s;width:min(460px,100vw);box-shadow:-24px 0 80px #0005}
#cart-drawer.cart-open{transform:translate3d(0,0,0);visibility:visible;transition-delay:0s}
.motion-enabled #cart-drawer{transition:transform .55s var(--motion-ease),visibility 0s .55s}
.motion-enabled #cart-drawer.cart-open{transition-delay:0s}
#cart-overlay,#cart-overlay.hidden{display:block;opacity:0;visibility:hidden;pointer-events:none;background:#030911a6;transition:opacity .4s ease,visibility 0s .4s}
#cart-overlay:not(.hidden){opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s}
#cart-drawer>div:first-child{padding:24px;border-bottom-color:#314758;background:#0d1722}
#cart-drawer>div:first-child>div{font-size:1.35rem;letter-spacing:.06em}
#cart-drawer>div:first-child>button{width:44px;height:44px;display:grid;place-items:center;border:1px solid #32495d;border-radius:50%}
#cart-items{padding:22px;min-height:0;overscroll-behavior:contain}
#cart-drawer>div:last-child{padding:24px;background:#0d1722;border-top-color:#314758}
@keyframes haltija-cart-item{from{opacity:0;transform:translateX(20px)}to{opacity:1;transform:translateX(0)}}
.motion-enabled .cart-open #cart-items>div{animation:haltija-cart-item .6s var(--motion-ease) backwards;animation-delay:.12s}
.motion-enabled .cart-open #cart-items>div:nth-child(2){animation-delay:.17s}
.motion-enabled .cart-open #cart-items>div:nth-child(n+3){animation-delay:.22s}
.collection-intro{max-width:1600px;margin:0 auto;padding:38px 42px 8px;display:flex;align-items:center;gap:24px;border-top:1px solid #d1e5f112}
.collection-intro .eyebrow{font-size:.68rem;letter-spacing:.18em;margin:0;white-space:nowrap;color:#9fbacd}
.collection-intro p{font:600 1.35rem 'Barlow Condensed',sans-serif;letter-spacing:.05em;margin:0;color:#e5f2fa}
.collection-intro a{margin-left:auto;font-size:.65rem;letter-spacing:.12em;min-height:44px;display:flex;align-items:center;gap:14px;color:#bbd7e9}
.north-collections{padding:16px 42px 36px;gap:16px;grid-template-columns:1.2fr 1fr 1fr}
.north-collections .collection-tile{min-height:275px;border-radius:3px;border-color:#adcee51c}
.north-collections .collection-copy{position:relative;padding:28px}
.north-collections .collection-copy:before{display:block;font:500 .6rem Inter,sans-serif;color:#a5c1d5;letter-spacing:.16em;content:'01 / FIELD EQUIPMENT';margin-bottom:12px}
.north-collections .collection-tile:nth-child(2) .collection-copy:before{content:'02 / MODULAR SYSTEMS'}
.north-collections .collection-tile:nth-child(3) .collection-copy:before{content:'03 / FINISHING DETAILS'}
.north-collections .collection-arrow{position:absolute;right:28px;bottom:28px;width:36px;height:36px;display:grid;place-items:center;border:1px solid #c8e2f544;border-radius:50%;font-size:1.1rem}
.north-collections .collection-copy p{padding-right:36px}
.hero-scroll-cue{position:absolute;bottom:24px;left:clamp(32px,5vw,90px);display:flex;gap:16px;align-items:center;font-size:.6rem;letter-spacing:.2em;color:#d4e6f2;min-height:36px}
.hero-scroll-cue span{display:grid;place-items:center;width:30px;height:30px;border:1px solid #c8e2f544;border-radius:50%;font-size:1rem;transition:transform .4s var(--motion-ease)}
.hero-scroll-cue:hover span{transform:translateY(4px)}
.catalog-heading{padding-bottom:18px;border-bottom:1px solid #c8e2f51c}.catalog-heading h2{font-size:clamp(2.7rem,4vw,4rem);letter-spacing:.015em}
.category-filters{border-bottom:0}.catalog-count{font-size:.7rem;letter-spacing:.06em}
.gear-card{border-radius:4px!important}.gear-card .product-image-frame{background:radial-gradient(ellipse at center,#ffffff,#d9e8f2)!important}
@media(max-width:1023px){
 .hero-scroll-cue{display:none}
 .collection-intro{padding:28px 28px 4px;gap:16px;flex-wrap:wrap}
 .collection-intro a{margin-left:auto}
 .north-collections{padding:16px 28px 28px;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}
 .north-collections .collection-copy{padding:20px}
 .north-collections .collection-arrow{right:16px;bottom:20px;width:30px;height:30px}
 .north-collections .collection-tile{min-height:230px}
 #cart-drawer,.motion-enabled #cart-drawer{transition-duration:.4s,0s;transition-delay:0s,.4s}
 #cart-drawer.cart-open,.motion-enabled #cart-drawer.cart-open{transition-delay:0s}
}
@media(max-width:639px){
 .collection-intro{padding:26px 20px 6px;gap:8px 14px}.collection-intro .eyebrow{width:100%;font-size:.6rem}
 .collection-intro p{font-size:1.1rem;max-width:200px}.collection-intro a{font-size:.6rem;letter-spacing:.04em;gap:8px}
 .north-collections{padding:12px 14px 24px;grid-template-columns:1fr;gap:12px}
 .north-collections .collection-tile{min-height:190px}.north-collections .collection-copy{padding:24px}
 .north-collections .collection-arrow{right:24px;bottom:24px}
 .catalog-heading h2{font-size:2.6rem}
 #cart-drawer{width:100%}
 #cart-drawer>div:first-child,#cart-items,#cart-drawer>div:last-child{padding:18px}
}
@media(prefers-reduced-motion:reduce){
 #cart-drawer,#cart-overlay{transition:none!important}
 .hero-scroll-cue span{transform:none!important}
}
