/* =========================================================================
   SPORT EXTREME — pagine interne. Stessi colori, caratteri e componenti della home (css/style.css):
   neve, inchiostro, verde ghiaccio (in estate arancio), Archivo largo + Instrument Serif corsivo.
   ========================================================================= */
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--snow); font-weight: 650; text-decoration: none; }
.skip:focus { left: 10px; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
html.page body { overflow-x: hidden; overflow-x: clip; }
.lang a { padding: 6px 9px; border-radius: 999px; font: 600 .68rem/1 var(--f-m); letter-spacing: .06em; opacity: .6; text-decoration: none; transition: opacity .3s, background .3s; }
.lang a[aria-current] { opacity: 1; background: rgba(127, 140, 160, .2); }
.lang a:hover { opacity: 1; }

/* passaggio tra le pagine: una "tormenta bianca" che copre e si dirada (View Transitions, dove il browser le supporta) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: wo-out .45s cubic-bezier(.7, 0, .2, 1) both; }
::view-transition-new(root) { animation: wo-in .6s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes wo-out { to { opacity: 0; filter: blur(10px) brightness(1.6); transform: scale(1.015); } }
@keyframes wo-in { from { opacity: 0; filter: blur(12px) brightness(1.8); transform: scale(.99); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ------------------------------------------------ altimetro a destra: la lettura come una discesa (o, d'estate, una salita) */
.palti { position: fixed; right: 8px; top: 50%; z-index: 30; display: grid; justify-items: end; gap: 2px; translate: 0 -50%; color: var(--ink); opacity: 0; pointer-events: none; mix-blend-mode: difference; color: #fff; transition: opacity .4s; }
.palti b { font-weight: 800; font-stretch: 110%; font-size: .98rem; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.palti .mono { font-size: .6rem; opacity: .75; }
.palti__scale { width: 22px; height: 110px; margin-top: 6px; background: repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 10px); -webkit-mask: linear-gradient(transparent, #000 25%, #000 75%, transparent); mask: linear-gradient(transparent, #000 25%, #000 75%, transparent); opacity: .45; }

/* ------------------------------------------------ titolo della pagina */
.phero { position: relative; display: grid; align-content: end; gap: 34px; min-height: min(100vh, 980px); min-height: min(100svh, 980px); padding: clamp(130px, 18vh, 190px) var(--pad) clamp(50px, 8vh, 90px); overflow: hidden; }
.phero--short { min-height: 0; padding-bottom: clamp(40px, 6vh, 70px); }
.phero--dark { background: radial-gradient(120% 90% at 80% 10%, #152a44 0%, #0a1626 55%, var(--night) 100%); color: #eef3f9; }
.phero--dark .label, .phero--dark .crumbs { color: #8ea7bf; }
.phero--dark .label span:first-child { background: var(--x); color: #fff; }
.crumbs { margin: 0 0 18px; color: var(--ink-3); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--glacier); }
.phero--dark .crumbs a:hover { color: var(--x-l); }
.crumbs [aria-current] { color: var(--ink-2); }
.phero--dark .crumbs [aria-current], .vmap__card .crumbs [aria-current] { color: #c9d6e3; }
.phero__h { position: relative; margin: 0; font-weight: 800; font-stretch: 118%; font-size: clamp(3.1rem, 8.6vw, 9.8rem); line-height: .88; letter-spacing: -.04em; }
.phero__h .line { display: block; overflow: hidden; padding: 0 .08em .1em 0; margin-bottom: -.1em; }
.phero__h .line__in { display: inline-block; }
.phero__h em { font-size: 1.04em; letter-spacing: -.025em; }
.phero__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(30px, 6vw, 90px); align-items: end; }
.phero__lead { margin: 0; max-width: 46ch; font-size: clamp(1.05rem, 1.3vw, 1.22rem); line-height: 1.55; color: var(--ink-2); }
.phero--dark .phero__lead { color: #b7c8da; }
.phero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.phero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-3); }
.phero--dark .phero__meta { color: #7f9ab4; }
.phero--dark .btn--ink { background: #eef3f9; color: var(--ink); } .phero--dark .btn--ink:hover { background: var(--x); color: #fff; }
.phero--dark .btn--line:hover { background: #eef3f9; color: var(--ink); border-color: #eef3f9; }
/* categoria: titolo a sinistra, foto verticale a destra */
.phero--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; column-gap: clamp(30px, 5vw, 80px); }
.phero--split > .phero__txt { display: grid; gap: 26px; align-content: end; }
.phero--split .phero__h { font-size: clamp(3rem, 7.2vw, 8.4rem); }
.phero__fig { position: relative; margin: 0; align-self: stretch; min-height: 420px; max-height: 78vh; border-radius: 28px; overflow: hidden; background: var(--snow-2); box-shadow: 0 40px 80px -40px rgba(11, 26, 43, .5); }
.phero__fig img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.phero__fig figcaption { position: absolute; left: 18px; bottom: 16px; right: 18px; display: flex; justify-content: space-between; gap: 10px; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.chips li { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line); font-size: .82rem; font-weight: 600; background: rgba(255, 255, 255, .5); }

/* ------------------------------------------------ blocchi */
.blk { padding: clamp(90px, 14vh, 160px) var(--pad); }
.blk--alt { background: var(--snow-2); }
.blk--dark { background: #0a1626; color: #eef3f9; }
.blk--dark .label { color: #8ea7bf; } .blk--dark .label span:first-child { background: var(--x); color: #fff; }
.blk__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 30px 60px; align-items: end; margin-bottom: clamp(40px, 7vh, 80px); }
.blk__head .label { grid-column: 1 / -1; margin: 0; }
.blk__head p { margin: 0; color: var(--ink-3); }
.blk--dark .blk__head p { color: #a9bcd0; }
.h3 { margin: 0; font-weight: 800; font-stretch: 115%; font-size: clamp(2.2rem, 4.8vw, 5.4rem); line-height: .92; letter-spacing: -.035em; }
.h3 em { font-size: 1.04em; letter-spacing: -.02em; }

/* "In breve": la risposta in poche righe, per chi legge di fretta e per gli assistenti AI */
.strip { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 30px; padding: clamp(60px, 9vh, 100px) var(--pad); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .label { margin: 6px 0 0; }
.strip p { margin: 0; max-width: 32ch; font-family: var(--f-s); font-size: clamp(1.7rem, 3.2vw, 3.2rem); line-height: 1.12; letter-spacing: -.01em; }
.strip p .w { opacity: .14; transition: opacity .2s; }

/* come scegliere: titolo fisso a sinistra, quattro voci numerate */
.guide { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.guide__head { position: sticky; top: 120px; }
.guide__list { list-style: none; margin: 0; padding: 0; counter-reset: g; }
.guide__list li { counter-increment: g; display: grid; grid-template-columns: 4rem 1fr; gap: 6px 18px; padding: 30px 0 32px; border-top: 1px solid var(--line); }
.guide__list li::before { content: counter(g, decimal-leading-zero); grid-row: span 2; font: 500 .8rem/1.9 var(--f-m); color: var(--x); filter: brightness(.8); }
.guide__list b { font-weight: 750; font-stretch: 112%; font-size: clamp(1.4rem, 2vw, 1.9rem); letter-spacing: -.02em; line-height: 1.1; }
.guide__list p { margin: 0; color: var(--ink-2); max-width: 56ch; }

/* consiglio rapido */
.chooser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 80px); align-items: center; perspective: 1200px; }
.chooser__q { margin: 0 0 24px; font-weight: 750; font-stretch: 112%; font-size: clamp(1.7rem, 3vw, 2.8rem); line-height: 1; letter-spacing: -.03em; }
.chooser__opts { display: flex; flex-wrap: wrap; gap: 10px; }
.chooser__opts button { height: 56px; padding: 0 24px; border-radius: 999px; border: 1.5px solid var(--ink); font-weight: 700; font-size: 1rem; transition: background .3s, color .3s, transform .3s; }
.chooser__opts button:hover { background: rgba(11, 26, 43, .06); }
.chooser__opts button[aria-pressed="true"] { background: var(--ink); color: var(--snow); }
.chooser__tip { position: relative; min-height: 200px; padding: 30px 32px; border-radius: 26px; background: var(--ink); color: #eef3f9; box-shadow: 0 40px 70px -40px rgba(11, 26, 43, .7); transform-origin: top center; }
.chooser__tip.is-empty { display: grid; place-items: center; background: none; color: var(--ink-3); box-shadow: none; border: 1.5px dashed var(--line); }
.chooser__tip.is-empty > * { display: none; } .chooser__tip.is-empty::after { content: attr(data-empty); font-size: .95rem; }
.chooser__tip .mono { color: var(--x-l); }
.chooser__tip p { margin: 12px 0 0; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.45; }

/* in negozio */
.instore { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: end; }
.instore p:not(.label) { margin: 18px 0 0; max-width: 56ch; color: #b7c8da; font-size: 1.08rem; }
.instore__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.blk--dark .btn--ink { background: #eef3f9; color: var(--ink); } .blk--dark .btn--ink:hover { background: var(--x); color: #fff; }
.blk--dark .btn--line:hover { background: #eef3f9; color: var(--ink); border-color: #eef3f9; }

/* marchi: nastro */
.mq { overflow: hidden; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mq__track { display: flex; width: max-content; will-change: transform; }
.mq__track span { flex: none; padding: 0 28px; font-weight: 800; font-stretch: 125%; font-size: clamp(2rem, 5vw, 4.6rem); letter-spacing: -.04em; white-space: nowrap; }
.mq__track span::after { content: "✕"; margin-left: 56px; font-size: .45em; vertical-align: .55em; color: var(--x); }

/* domande frequenti */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq__head { position: sticky; top: 120px; }
.faq__list { border-top: 1px solid var(--line); }
.blk--dark .faq__list, .blk--dark .faq__list details { border-color: var(--line-l); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { position: relative; display: block; padding: 24px 56px 24px 0; cursor: pointer; list-style: none; font-weight: 700; font-stretch: 108%; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.3; letter-spacing: -.01em; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 6px; top: 18px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); font-weight: 400; font-size: 1.2rem; transition: transform .4s var(--ease-out), background .3s, color .3s; }
.faq__list details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: var(--snow); }
.faq__list .a { padding: 0 56px 26px 0; color: var(--ink-2); max-width: 64ch; }
.faq__list .a p { margin: 0; }

/* prossima pagina */
.nextp { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px; padding: clamp(70px, 12vh, 130px) var(--pad); border-top: 1px solid var(--line); text-decoration: none; overflow: hidden; }
.nextp .mono { grid-column: 1 / -1; color: var(--ink-3); }
.nextp__t { font-weight: 800; font-stretch: 118%; font-size: clamp(2.6rem, 7vw, 7.6rem); line-height: .9; letter-spacing: -.04em; transition: transform .7s var(--ease-out); }
.nextp__img { position: absolute; right: var(--pad); bottom: 50%; width: 200px; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; translate: 0 50%; opacity: 0; transform: rotate(6deg) scale(.9); transition: opacity .5s, transform .7s var(--ease-out); pointer-events: none; }
.nextp__img img { width: 100%; height: 100%; object-fit: cover; }
.nextp__arr { display: grid; place-items: center; width: clamp(64px, 7vw, 96px); height: clamp(64px, 7vw, 96px); border-radius: 50%; border: 1px solid var(--line); font-size: 1.6rem; transition: transform .6s var(--ease-out), background .4s, color .4s; }
.nextp:hover .nextp__t { transform: translateX(14px); }
.nextp:hover .nextp__img { opacity: 1; transform: rotate(-3deg) scale(1); }
.nextp:hover .nextp__arr { background: var(--ink); color: var(--snow); transform: rotate(-45deg); }

/* fascia "vieni a trovarci" */
.visitband { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; padding: clamp(60px, 10vh, 110px) var(--pad); background: var(--ink); color: #eef3f9; }
.visitband .h3 { font-size: clamp(2rem, 4vw, 4.2rem); }
.visitband__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.visitband .btn--ink { background: var(--x); color: #fff; } .visitband .btn--ink:hover { background: #eef3f9; }
.visitband .btn--line:hover { background: #eef3f9; color: var(--ink); border-color: #eef3f9; }
.open { display: inline-flex; align-items: center; gap: 10px; margin: 16px 0 0; color: #b7c8da; }
.open i, .sh-open i { width: 9px; height: 9px; border-radius: 50%; background: #e06464; box-shadow: 0 0 0 4px rgba(224, 100, 100, .2); }
.open.is-open i, .sh-open.is-open i { background: #3fd28a; box-shadow: 0 0 0 4px rgba(63, 210, 138, .22); animation: live 2s infinite; }

/* ------------------------------------------------ negozio: le sei categorie della stagione, sfalsate come porte di slalom */
.seg--page { margin: 0; justify-self: start; }
html[data-pick="summer"] [data-season-list="winter"], html:not([data-pick="summer"]) [data-season-list="summer"] { display: none; }
.cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.cats { align-items: start; }
.cats li:nth-child(3n + 2) { margin-top: clamp(30px, 7vh, 80px); } /* sfalsate come porte di slalom (margine: la comparsa anima transform) */
.cat { position: relative; display: grid; align-content: end; aspect-ratio: 4 / 5; padding: 22px; border-radius: 26px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.cat img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 17, 29, 0) 35%, rgba(7, 17, 29, .78)); }
.cat .mono { opacity: .85; }
.cat b { display: block; margin: 8px 0 6px; font-weight: 800; font-stretch: 112%; font-size: clamp(1.6rem, 2.4vw, 2.4rem); line-height: .98; letter-spacing: -.03em; }
.cat small { display: block; font-size: .8rem; opacity: .85; line-height: 1.4; }
.cat__arr { position: absolute; right: 18px; top: 18px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .5s var(--ease-out), background .4s, color .4s; }
.cat:hover img { transform: scale(1.06); }
.cat:hover .cat__arr { transform: rotate(-45deg); background: #fff; color: var(--ink); }

/* ------------------------------------------------ SKI SERVICE: laboratorio */
.lab { background: #0a1626; color: #eef3f9; }
.lab__pin { position: relative; height: 100vh; height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; gap: 20px; padding: clamp(96px, 13vh, 120px) var(--pad) clamp(28px, 5vh, 50px); overflow: hidden; }
.lab__top { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.lab__top .label { margin: 0 0 14px; color: #8ea7bf; } .lab__top .label span:first-child { background: var(--x); color: #fff; }
.lab__count { font-weight: 800; font-stretch: 125%; font-size: clamp(2.4rem, 5vw, 5rem); line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.lab__count small { font-size: .35em; opacity: .5; }
.lab .svc__ski { align-self: center; }
.lab .svc__steps li { opacity: .3; }
.lab .svc__steps li.is-on { opacity: .75; } .lab .svc__steps li.is-cur { opacity: 1; }
.lab .svc__steps small { font-size: .9rem; }

/* sciolina di oggi */
.wax { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 4vw, 70px); align-items: center; --band: var(--x); }
.wax__thermo { position: relative; width: 54px; height: 360px; border-radius: 999px; background: linear-gradient(to top, #3f7dd8, #7b6ad6 33%, #e0566a 66%, #f2c94c); padding: 6px; }
.wax__thermo::before { content: ""; position: absolute; inset: 6px; border-radius: 999px; background: #0d1d33; }
.wax__fill { position: absolute; left: 6px; right: 6px; bottom: 6px; top: 6px; border-radius: 999px; background: linear-gradient(to top, #3f7dd8, #7b6ad6 33%, #e0566a 66%, #f2c94c); transform-origin: bottom; transform: scaleY(.5); transition: transform 1s var(--ease-out); }
.wax__t { display: block; font-weight: 800; font-stretch: 125%; font-size: clamp(4.4rem, 10vw, 10rem); line-height: .85; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.wax__src { display: block; margin-top: 10px; color: #8ea7bf; }
.wax__out { margin-top: 26px; padding: 24px 26px; border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid var(--band); transition: border-color .5s; }
.wax__out b { display: block; font-weight: 800; font-stretch: 112%; font-size: 1.7rem; letter-spacing: -.02em; color: var(--band); transition: color .5s; }
.wax__out p { margin: 8px 0 0; color: #c9d6e3; }
.wax__range { width: 100%; margin-top: 22px; accent-color: var(--x); }
.wax__bands { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wax__bands li { display: grid; grid-template-columns: 16px 1fr; gap: 4px 14px; align-items: baseline; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line-l); opacity: .55; transition: opacity .4s, background .4s, border-color .4s; }
.wax__bands li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c); grid-row: span 2; align-self: center; }
.wax__bands li.is-on { opacity: 1; background: rgba(255, 255, 255, .06); border-color: var(--c); }
.wax__bands b { font-weight: 700; } .wax__bands small { color: #a9bcd0; font-size: .84rem; }

/* quando farlo: la stagione come una pista */
.when { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; }
.when::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: repeating-linear-gradient(90deg, var(--x) 0 14px, transparent 14px 22px); opacity: .6; }
.when li { position: relative; padding: 0 30px 0 0; }
.when li span { position: relative; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 50%; background: var(--x); color: #fff; font: 600 .74rem/1 var(--f-m); }
.when b { display: block; font-weight: 750; font-stretch: 112%; font-size: 1.5rem; letter-spacing: -.02em; }
.when p { margin: 8px 0 0; color: #b7c8da; max-width: 34ch; }
.price-wrap .price { margin-bottom: 18px; }

/* ------------------------------------------------ NOLEGGIO */
.phero--rent { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; }
.phero--rent .rent__stage { display: grid; place-items: center; min-height: 460px; perspective: 1400px; }
.cable { background: linear-gradient(180deg, var(--snow) 0%, #e6eef6 100%); }
.cable__pin { position: relative; height: 100vh; height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; gap: 20px; padding: clamp(96px, 13vh, 120px) var(--pad) clamp(28px, 5vh, 50px); overflow: hidden; }
.cable__svg { width: 100%; height: 100%; min-height: 0; overflow: visible; }
.cable__svg .rope { fill: none; stroke: var(--ink); stroke-width: 2; }
.cable__svg .station circle { fill: var(--snow); stroke: var(--ink); stroke-width: 2; transition: fill .4s; }
.cable__svg .station.is-on circle { fill: var(--x); }
.cable__svg .station text { font: 500 13px var(--f-m); fill: var(--ink-3); letter-spacing: .08em; }
.cable__svg .mtn { fill: #d7e2ee; }
.cable__card { justify-self: start; width: min(520px, 100%); padding: 22px 26px; border-radius: 22px; background: var(--ink); color: #eef3f9; box-shadow: 0 30px 60px -30px rgba(11, 26, 43, .6); }
.cable__card .mono { color: var(--x-l); }
.cable__card b { display: block; margin-top: 6px; font-weight: 800; font-stretch: 112%; font-size: clamp(1.5rem, 2.4vw, 2.2rem); letter-spacing: -.02em; }
.cable__card p { margin: 6px 0 0; color: #c2d1e0; font-size: 1.02rem; }
.cable__dots { display: flex; gap: 6px; margin-top: 14px; } .cable__dots i { width: 26px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .2); transition: background .4s; } .cable__dots i.is-on { background: var(--x); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.ticks li { position: relative; padding: 20px 0 20px 38px; border-top: 1px solid var(--line); font-size: 1.08rem; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 14px; height: 7px; border-left: 2px solid var(--x); border-bottom: 2px solid var(--x); transform: rotate(-45deg); filter: brightness(.8); }
.rs { margin-top: clamp(40px, 7vh, 70px); }
.rs__bar { position: relative; height: 10px; border-radius: 999px; background: var(--snow-2); }
.rs__bar i { position: absolute; inset: 0; border-radius: 999px; background: var(--x); transform-origin: left; transform: scaleX(0); }
.rs__mark { position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 4px solid var(--snow); translate: -50% -50%; }
.rs:not(.is-during) .rs__mark { display: none; }
.rs__ends { display: flex; justify-content: space-between; margin-top: 12px; color: var(--ink-3); }
.rs__note { margin: 0 0 14px; font-weight: 700; font-stretch: 108%; font-size: 1.15rem; }
.rs__note:empty { display: none; }

/* ------------------------------------------------ TAX FREE */
.taxh { background: var(--night); color: #eaf2fb; }
.taxh__pin { position: relative; height: 100vh; height: 100dvh; display: grid; place-items: center; text-align: center; padding: 100px var(--pad) 60px; overflow: hidden; }
.taxh__n { display: block; font-weight: 800; font-stretch: 125%; font-size: clamp(9rem, 32vw, 30rem); line-height: .78; letter-spacing: -.07em; font-variant-numeric: tabular-nums; transition: color .5s; }
.taxh__n small { font-size: .38em; letter-spacing: -.03em; }
.taxh.is-zero .taxh__n { color: var(--x-l); }
.taxh__iva { display: block; margin-top: 14px; color: #7f9ab4; }
.taxh__bar { width: min(560px, 80vw); height: 3px; margin: 26px auto 0; background: rgba(255, 255, 255, .12); }
.taxh__bar i { display: block; height: 100%; background: #e06464; transform-origin: left; }
.tl { position: relative; list-style: none; margin: 0; padding: 0; max-width: 900px; }
.tl__rail { position: absolute; left: 30px; top: 30px; bottom: 30px; width: 2px; background: var(--line); }
.tl__rail i { position: absolute; inset: 0; background: var(--x); transform-origin: top; transform: scaleY(0); }
.tl__step { position: relative; display: grid; grid-template-columns: 62px 1fr; gap: 28px; padding-bottom: 54px; }
.tl__step:last-child { padding-bottom: 0; }
.tl__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--snow); border: 2px solid var(--line); font: 600 .7rem/1 var(--f-m); transition: background .5s, color .5s, border-color .5s; }
.tl__step.is-on .tl__dot { background: var(--ink); color: var(--snow); border-color: var(--ink); }
.tl__step b { display: block; margin-top: 8px; font-weight: 800; font-stretch: 115%; font-size: clamp(1.6rem, 2.6vw, 2.4rem); letter-spacing: -.03em; line-height: 1; }
.tl__step p { margin: 10px 0 0; max-width: 60ch; color: var(--ink-2); }
.rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.rules li { display: grid; align-content: start; gap: 8px; padding: 26px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.rules .v { font-weight: 800; font-stretch: 112%; font-size: clamp(1.7rem, 2.5vw, 2.5rem); line-height: .95; letter-spacing: -.035em; color: var(--ink); overflow-wrap: anywhere; }
.rules b { font-weight: 700; } .rules p { margin: 0; color: var(--ink-3); font-size: .92rem; }
.note { margin-top: 26px; padding: 16px 20px; border-radius: 16px; background: rgba(var(--x-rgb), .08); border: 1px solid rgba(var(--x-rgb), .3); color: var(--ink-2); font-size: .94rem; }
.srcs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 18px 0 0; padding: 0; }
.srcs a { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: var(--snow); font-size: .84rem; text-decoration: none; }
.srcs a:hover { background: var(--glacier); }

/* ------------------------------------------------ CHI SIAMO */
.quote { margin: 0; max-width: 22ch; font-family: var(--f-s); font-size: clamp(2.4rem, 5.6vw, 6.2rem); line-height: 1.02; letter-spacing: -.02em; }
.story { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.story__year { position: sticky; top: 120px; font-weight: 800; font-stretch: 125%; font-size: clamp(4rem, 11vw, 11rem); line-height: .8; letter-spacing: -.06em; color: var(--x); filter: brightness(.85); }
.story__txt p { margin: 0 0 1.2em; font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.6; color: var(--ink-2); max-width: 58ch; }
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.nums > div { display: grid; gap: 6px; padding: 26px 20px 0 0; }
.nums b { font-weight: 800; font-stretch: 118%; font-size: clamp(2.2rem, 4vw, 4.4rem); white-space: nowrap; line-height: .9; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.nums span { color: var(--ink-3); font-size: .92rem; }
.vals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.vals li { display: grid; align-content: start; gap: 12px; min-height: 260px; padding: 28px; border-radius: 26px; background: #fff; border: 1px solid var(--line); transition: transform .6s var(--ease-out), box-shadow .6s; }
.vals li:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(11, 26, 43, .4); }
.vals .mono { color: var(--x); filter: brightness(.8); }
.vals b { font-weight: 800; font-stretch: 115%; font-size: 2rem; letter-spacing: -.03em; }
.vals p { margin: 0; color: var(--ink-2); }
.band-img { position: relative; height: clamp(320px, 60vh, 640px); overflow: hidden; }
.band-img img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }

/* ------------------------------------------------ DOVE SIAMO */
.vmap { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); background: var(--night); color: #eaf2fb; overflow: hidden; }
.vmap__fig { position: relative; margin: 0; min-height: 70vh; }
.vmap__fig .terrain { position: absolute; inset: 0; width: 100%; height: 100%; }
.vmap__fig.is-off { background: url("../assets/img/winter-end-1920.webp") center / cover; }
.vmap__card { position: relative; z-index: 2; align-self: center; margin: clamp(110px, 14vh, 140px) var(--pad) 60px 0; padding: 30px; border-radius: 28px; background: rgba(10, 22, 38, .82); border: 1px solid var(--line-l); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.vmap__card .crumbs, .vmap__card .label { color: #8ea7bf; }
.vmap__card .label span:first-child { background: var(--x); color: #fff; }
.vmap__card .h3 { font-size: clamp(1.9rem, 2.6vw, 2.7rem); line-height: .95; }
.vmap__h .line { display: block; }
.vmap__card dl { display: grid; gap: 14px; margin: 24px 0; }
.vmap__card dt { color: #7f9ab4; } .vmap__card dd { margin: 4px 0 0; font-size: 1.05rem; } .vmap__card a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.vmap__card .btn--ink { background: var(--x); color: #fff; } .vmap__card .btn--ink:hover { background: #eef3f9; }
.vmap__card .btn--line:hover { background: #eef3f9; color: var(--ink); border-color: #eef3f9; }
.routes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.routes li { display: grid; align-content: start; gap: 10px; padding: 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.routes svg { width: 100%; height: 70px; overflow: visible; }
.routes svg path { fill: none; stroke: var(--x); stroke-width: 3; stroke-linecap: round; filter: brightness(.85); }
.routes svg circle { fill: var(--ink); }
.routes .mono { color: var(--ink-3); } .routes b { font-weight: 800; font-stretch: 112%; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.05; } .routes p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* ------------------------------------------------ testi (privacy, note legali) */
.prose { max-width: 72ch; padding: 0 var(--pad) clamp(90px, 14vh, 150px); font-size: 1.06rem; line-height: 1.7; color: var(--ink-2); }
.prose h2 { margin: 2em 0 .5em; color: var(--ink); font-weight: 800; font-stretch: 112%; font-size: 1.6rem; letter-spacing: -.02em; }
.prose p { margin: 0 0 1em; }
.prose a { color: var(--glacier); }

/* ------------------------------------------------ 404 */
.nf { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; gap: 24px; padding: 140px var(--pad) 80px; }
.nf .phero__h { font-size: clamp(4rem, 14vw, 14rem); }

/* ------------------------------------------------ footer delle pagine */
.pfoot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; padding-bottom: 20px; }
.pfoot__h { margin: 0 0 14px; color: var(--ink-3); }
.pfoot__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pfoot__cols a { text-decoration: none; font-weight: 600; } .pfoot__cols a:hover { color: var(--glacier); }
.pfoot__cols p { margin: 0; color: var(--ink-2); line-height: 1.6; }
.pfoot .foot__big { margin-top: 20px; }

/* ------------------------------------------------ telefono: barra in basso con la X e pannelli che salgono */
.tab, .sheet { display: none; }
html.sheet-open, html.sheet-open body { overflow: hidden; }
@media (max-width: 899px) {
  :root { --tabh: calc(84px + env(safe-area-inset-bottom)); }
  .hdr .nav, .hdr .lang, .burger { display: none !important; }
  .palti { display: none; }
  .foot { padding-bottom: calc(var(--tabh) + 30px); }
  .tab { position: fixed; z-index: 140; left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right)); bottom: calc(10px + env(safe-area-inset-bottom)); max-width: 520px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; padding: 7px 4px; border-radius: 24px; background: rgba(11, 26, 43, .9); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 22px 44px -20px rgba(4, 12, 22, .6); color: rgba(238, 243, 249, .66); transform: translateY(calc(100% + 40px)); transition: transform .9s var(--ease-out); }
  .tab-ready .tab { transform: none; }
  html:not(.tab-ready) .tab { animation: tabUp 0s 4s forwards; }
  .tab__i { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 5px; min-height: 50px; padding: 4px 0 3px; color: inherit; text-decoration: none; font: 600 .64rem/1 var(--f-d); letter-spacing: .02em; -webkit-tap-highlight-color: transparent; }
  .tab__i svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
  .tab__i circle { fill: currentColor; stroke: none; }
  .tab__i:active svg { transform: scale(.85); }
  .tab__i.is-cur, .tab__i[aria-expanded="true"] { color: #fff; }
  .tab__i.is-cur svg, .tab__i[aria-expanded="true"] svg { stroke: var(--x); }
  .tab__fab { color: #fff; }
  /* la tessera rossa con la X vera del logo, come la favicon di Sport Extreme; aperta diventa un cerchio con la chiusura */
  .tab__x { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-top: -30px; border-radius: 14px; background: var(--x); border: 4px solid #0d1f33; box-shadow: 0 12px 26px -10px rgba(var(--x-rgb), .85); transition: transform .5s var(--ease-out), border-radius .5s; }
  .tab__x i { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .3s, transform .5s var(--ease-out); }
  .tab__x .a svg { width: 30px; height: 30px; fill: #fff; }
  .tab__x .b { opacity: 0; transform: rotate(-90deg) scale(.6); } .tab__x .b svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.2; }
  .tab__fab[aria-expanded="true"] .tab__x { border-radius: 50%; transform: rotate(90deg); }
  .tab__fab[aria-expanded="true"] .tab__x .a { opacity: 0; transform: scale(.6); } .tab__fab[aria-expanded="true"] .tab__x .b { opacity: 1; transform: rotate(-90deg); }
  .sheet { display: block; position: fixed; inset: 0; z-index: 130; pointer-events: none; }
  .sheet[hidden] { display: none; }
  .sheet.is-in { pointer-events: auto; }
  .sheet__bg { position: absolute; inset: 0; background: rgba(4, 12, 22, .5); opacity: 0; transition: opacity .45s var(--ease-out); }
  .sheet.is-in .sheet__bg { opacity: 1; }
  .sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-width: 620px; margin: 0 auto; max-height: calc(100svh - 40px); overflow-y: auto; overscroll-behavior: contain; padding: 0 18px calc(var(--tabh) + 24px); border-radius: 26px 26px 0 0; background: var(--snow); color: var(--ink); transform: translateY(104%); transition: transform .62s cubic-bezier(.2, .9, .2, 1); outline: none; scrollbar-width: none; }
  .sheet.is-in .sheet__panel { transform: none; }
  .sheet__top { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: 1fr auto; align-items: center; margin: 0 -18px; padding: 24px 18px 12px; background: linear-gradient(var(--snow) 80%, transparent); touch-action: none; }
  .sheet__grip { position: absolute; left: 50%; top: 9px; width: 42px; height: 4px; translate: -50% 0; border-radius: 4px; background: rgba(11, 26, 43, .18); }
  .sheet__k { margin: 0; color: var(--ink-3); }
  .sheet__x { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; }
  .sheet__x svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
  .sheet__h { margin: 2px 0 18px; font-weight: 800; font-stretch: 115%; font-size: 2.1rem; line-height: .95; letter-spacing: -.035em; }
  .sheet__body > * { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease-out), transform .7s var(--ease-out); }
  .sheet.is-in .sheet__body > * { opacity: 1; transform: none; }
  .sheet.is-in .sheet__body > :nth-child(2) { transition-delay: .07s; } .sheet.is-in .sheet__body > :nth-child(3) { transition-delay: .13s; } .sheet.is-in .sheet__body > :nth-child(n+4) { transition-delay: .19s; }
  .sh-open { display: flex; align-items: center; gap: 10px; margin: -6px 0 16px; font-weight: 600; font-size: .92rem; }
  .sh-acts { display: grid; gap: 8px; }
  .sh-act { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 13px 18px 13px 13px; border-radius: 20px; background: #fff; border: 1px solid var(--line); text-decoration: none; }
  .sh-act > svg { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: var(--snow-2); fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .sh-act b { display: block; font-weight: 750; font-stretch: 108%; font-size: 1.08rem; } .sh-act small { display: block; margin-top: 2px; color: var(--ink-3); font-size: .8rem; overflow-wrap: anywhere; } .sh-act i { font-style: normal; color: var(--ink-3); }
  .sh-act--main { background: var(--ink); color: #fff; border-color: var(--ink); } .sh-act--main > svg { background: var(--x); stroke: var(--ink); } .sh-act--main small { color: rgba(255, 255, 255, .7); }
  .sh-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .sh-tiles a { display: grid; align-content: space-between; gap: 22px; min-height: 104px; padding: 14px 15px 15px; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-decoration: none; }
  .sh-tiles .mono { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--ink); color: var(--snow); font-size: .62rem; }
  .sh-tiles b { font-weight: 800; font-stretch: 112%; font-size: 1.3rem; letter-spacing: -.02em; }
  .sh-tiles a[aria-current] { border-color: var(--ink); }
  .sh-sub { margin: 22px 0 10px; color: var(--ink-3); }
  .sh-langs { display: flex; gap: 6px; margin: 0; } .sh-langs a { flex: 1; display: grid; place-items: center; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-weight: 650; text-decoration: none; } .sh-langs a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
  .sh-legal { display: flex; gap: 18px; margin: 20px 0 0; color: var(--ink-3); } .sh-legal a { text-decoration: none; padding: 6px 0; }

  /* pagine su telefono */
  .phero { min-height: 0; padding-top: 110px; gap: 26px; }
  .phero__row, .phero--split, .phero--rent, .guide, .faq, .chooser, .instore, .visitband, .story, .wax, .vmap, .blk__head, .strip { grid-template-columns: minmax(0, 1fr); }
  .phero__fig { min-height: 0; aspect-ratio: 4 / 4.4; order: -1; margin-top: -10px; }
  .guide__head, .faq__head, .story__year { position: static; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cats li:nth-child(3n + 2) { margin-top: 0; }
  .cats li:nth-child(2n) { margin-top: 34px; }
  .cats { padding-bottom: 34px; }
  .cat { padding: 14px; border-radius: 20px; } .cat b { font-size: 1.25rem; } .cat small { display: none; } .cat__arr { width: 36px; height: 36px; right: 10px; top: 10px; }
  .lab__pin, .cable__pin { padding-top: 84px; padding-bottom: calc(var(--tabh) + 8px); }
  .lab .svc__steps { grid-template-columns: 1fr 1fr; }
  .lab .svc__ski { margin: 0 -38vw; }
  .when, .vals, .nums { grid-template-columns: 1fr; gap: 26px; }
  .when::before { display: none; }
  .ticks { grid-template-columns: 1fr; }
  .wax__thermo { display: none; }
  .vmap__fig { min-height: 62vh; }
  .vmap__card { margin: -80px 12px 30px; }
  .nextp__img { display: none; }
  .nextp__arr { width: 56px; height: 56px; }
  .pfoot__cols { grid-template-columns: 1fr 1fr; }
  .pfoot__contact { grid-column: 1 / -1; }
  .strip p { font-size: 1.6rem; }
  .mq__track span { font-size: 2.2rem; }
}
@keyframes tabUp { to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .tab, .sheet__panel, .sheet__bg, .sheet__body > * { transition: none !important; animation: none !important; } }

/* ------------------------------------------------ home: "scopri di più" che porta alle pagine */
.svc__face--w .svc__cta { border-color: rgba(var(--x-rgb), .55); color: #e6f6f4; }
.svc__face--w .svc__cta:hover { background: var(--x); color: #fff; }
.rent__more { margin-left: 10px; }
.tax__more { display: inline-flex; gap: 8px; margin-top: 18px; color: var(--x-l); font-weight: 650; text-decoration: none; }
.tax__more:hover { text-decoration: underline; text-underline-offset: 4px; }
.about__more { margin: clamp(40px, 7vh, 70px) 0 0; }
@media (max-width: 899px) { .rent__more { margin: 10px 0 0; } }

@media (max-width: 899px) { .guide__list li { grid-template-columns: 2.4rem 1fr; gap: 6px 12px; padding: 24px 0 26px; } }

/* telefono: laboratorio Ski Service con una sola scheda (il passo in corso), soletta più grande */
@media (max-width: 899px) {
  .lab .svc__steps { display: block; border-top: 0; }
  .lab .svc__steps li { display: none; }
  .lab .svc__steps li.is-cur { display: grid; opacity: 1; gap: 6px; padding: 20px 20px 22px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(var(--x-rgb), .4); }
  .lab .svc__steps li.is-cur span { color: var(--x-l); }
  .lab .svc__steps li.is-cur strong { font-size: 1.5rem; }
  .lab .svc__steps li.is-cur small { font-size: .95rem; color: #c2d1e0; }
  .lab .svc__ski { margin: 0 -60vw; }
  .cable__svg { min-height: 220px; }
}

/* ------------------------------------------------ accessibilità e titoli (dopo la verifica) */
:root { --x-ink: #086c64; } html[data-season="summer"] { --x-ink: #a1520a; } /* il colore della stagione, abbastanza scuro per i testi su fondo chiaro */
.guide__list li::before, .vals .mono { color: var(--x-ink); filter: none; }
.story__year { color: var(--x-ink); filter: none; }
.hdr.is-hidden { visibility: hidden; transition: transform .6s var(--ease), visibility 0s .6s; } /* fuori schermo: non riceve il fuoco */
.hdr { transition: color .5s, transform .6s var(--ease), visibility 0s; }
.lang a { opacity: .82; }
.wax__bands li { opacity: 1; } .wax__bands li:not(.is-on) { border-color: rgba(255, 255, 255, .08); }
.wax__bands li:not(.is-on)::before { opacity: .45; }
.wax__bands small { color: #a9bcd0; }
.tax__note { color: #8aa3bd; }
html[data-wx="night"] .chap--end .chap__label { color: var(--ink); }
/* il titolo non supera la colonna: la sua grandezza tiene conto della parola più lunga */
.phero, .phero__txt { container-type: inline-size; }
.phero__h { font-size: min(clamp(3.1rem, 8.6vw, 9.8rem), calc(100cqi / (var(--lw, 8) * .64))); }
.phero--split .phero__h { font-size: min(clamp(3rem, 7.2vw, 8.4rem), calc(100cqi / (var(--lw, 8) * .64))); }
.phero__h--sm { font-size: min(clamp(2.8rem, 6vw, 6.4rem), calc(100cqi / (var(--lw, 8) * .64))); }
.nf .phero__h { font-size: min(clamp(4rem, 14vw, 14rem), calc(100cqi / (var(--lw, 8) * .64))); }
.nf { container-type: inline-size; }

.cat b { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; } /* parole lunghe (es. Funktionsbekleidung) a capo con il trattino */
/* home, elenco delle categorie: le parole lunghe (es. Funktionsbekleidung) vanno a capo invece di allargare la pagina */
.coll__list .t { min-width: 0; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

/* ------------------------------------------------ elementi che esistono solo sul telefono (css/mobile.css, sotto i 900 px):
   sul computer non generano nulla, i contenitori aggiunti per il telefono non cambiano l'impaginazione */
.m-only { display: none; }
.phero__top, .vmap__more, .rpanel { display: contents; }

/* =========================================================================
   SPORT (6 novembre 2026): linguette delle facce e "il kit, pezzo per pezzo"
   ========================================================================= */
.faces { display: flex; flex-wrap: wrap; gap: 6px; margin: 26px 0 0; padding: 5px; width: max-content; max-width: 100%; border-radius: 999px; background: rgba(11, 26, 43, .06); }
.faces a { padding: 10px 18px; border-radius: 999px; font-weight: 650; font-size: .9rem; text-decoration: none; color: var(--ink); transition: background .3s, color .3s; }
.faces a:hover { background: rgba(11, 26, 43, .08); }
.faces a[aria-current="page"] { background: var(--ink); color: #fff; }
.phero--dark .faces { background: rgba(255, 255, 255, .1); } .phero--dark .faces a { color: #eef3f9; }
.phero--dark .faces a[aria-current="page"] { background: var(--x); color: #fff; }

.kit { position: relative; background: var(--night); color: #eef3f9; }
.kit__pin { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); min-height: 100vh; }
.kit__fig { position: relative; margin: 0; overflow: hidden; height: 100vh; background: #0f1d2c; }
.kit__img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; will-change: transform; }
.kit.is-static .kit__img, html.no-js .kit__img { position: relative; width: 100%; height: 100%; object-fit: cover; transform: none !important; }
/* mirino: quattro angoli e un punto, sul pezzo inquadrato */
.kit__finder { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .4s; }
.kit__finder.is-on { opacity: 1; }
.kit__finder i { position: absolute; width: 22px; height: 22px; border: 2px solid #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .45)); }
.kit__finder i:nth-child(1) { left: -78px; top: -78px; border-right: 0; border-bottom: 0; }
.kit__finder i:nth-child(2) { right: -78px; top: -78px; border-left: 0; border-bottom: 0; }
.kit__finder i:nth-child(3) { left: -78px; bottom: -78px; border-right: 0; border-top: 0; }
.kit__finder i:nth-child(4) { right: -78px; bottom: -78px; border-left: 0; border-top: 0; }
.kit__finder b { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--x); box-shadow: 0 0 0 4px rgba(var(--x-rgb), .35); }
.kit__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--x); transform-origin: 0 50%; transform: scaleX(0); }
.kit__panel { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(96px, 14vh, 150px) var(--pad) clamp(40px, 8vh, 80px) clamp(32px, 5vw, 80px); }
.kit__panel .label { color: #8ea7bf; } .kit__panel .label span:first-child { background: var(--x); color: #fff; }
.kit__n { display: block; min-height: 1.2em; margin: 0 0 10px; font: 500 .82rem/1.2 var(--f-m); letter-spacing: .14em; color: var(--x-l); }
.kit__stage { position: relative; min-height: 340px; }
.kit__card, .kit__list > li { list-style: none; }
.kit__list { margin: 0; padding: 0; }
.kit.is-live .kit__card, .kit.is-live .kit__list > li { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(18px); transition: opacity .45s var(--ease-out), transform .6s var(--ease-out); pointer-events: none; }
.kit.is-live .kit__card.is-on, .kit.is-live .kit__list > li.is-on { opacity: 1; transform: none; pointer-events: auto; }
.kit__card h2, .kit__list h3 { margin: 0 0 14px; font-weight: 800; font-stretch: 125%; letter-spacing: -.035em; line-height: .95; color: #fff; }
.kit__card h2 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); }
.kit__list h3 { font-size: clamp(2rem, 3.6vw, 3.6rem); }
.kit__card h2 em, .kit__list h3 em { font-family: var(--f-s); font-style: italic; font-weight: 400; font-stretch: 100%; letter-spacing: -.01em; }
.kit__card p, .kit__list p { max-width: 44ch; margin: 0 0 14px; font-size: 1.05rem; line-height: 1.55; color: #c9d6e3; }
.kit__b { font: 500 .8rem/1.6 var(--f-m) !important; letter-spacing: .06em; color: #8ea7bf !important; }
.kit__b span { color: #fff; }
.kit__hint { font: 500 .74rem/1.4 var(--f-m) !important; letter-spacing: .12em; text-transform: uppercase; color: #8ea7bf !important; }
.kit.is-static .kit__list > li { margin: 0 0 34px; }
.kit.is-static .kit__card[data-kit-outro] { display: none; }
@media (max-width: 899px) {
  .kit__pin { display: block; min-height: 0; height: 100svh; }
  .kit__fig { position: absolute; inset: 0; height: 100%; }
  .kit__panel { position: absolute; left: 12px; right: 12px; bottom: calc(var(--tabh, 70px) + 14px); padding: 18px 18px 16px; border-radius: 22px; background: rgba(7, 17, 29, .78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
  .kit__panel .label { display: none; }
  .kit__stage { min-height: 168px; }
  .kit__card h2 { font-size: 2rem; } .kit__list h3 { font-size: 1.7rem; margin-bottom: 8px; }
  .kit__card p, .kit__list p { font-size: .94rem; margin-bottom: 8px; }
  .kit__finder i:nth-child(1), .kit__finder i:nth-child(3) { left: -56px; } .kit__finder i:nth-child(2), .kit__finder i:nth-child(4) { right: -56px; }
  .kit__finder i:nth-child(1), .kit__finder i:nth-child(2) { top: -56px; } .kit__finder i:nth-child(3), .kit__finder i:nth-child(4) { bottom: -56px; }
  .kit.is-static .kit__pin { height: auto; } .kit.is-static .kit__fig { position: relative; height: 70svh; } .kit.is-static .kit__panel { position: relative; inset: auto; margin: -40px 12px 0; }
}

/* "Come scegliere" in 3D: lo sci (o la tavola) gira e cambia forma con lo scroll */
.b3d { position: relative; background: radial-gradient(120% 90% at 30% 20%, #16283d 0%, #0b1a2b 55%, #07111d 100%); color: #eef3f9; }
.b3d__pin { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); min-height: 100vh; }
.b3d__cv { width: 100%; height: 100vh; display: block; }
.b3d__panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(96px, 14vh, 150px) var(--pad) clamp(40px, 8vh, 80px) clamp(24px, 3vw, 48px); }
.b3d__panel .label { color: #8ea7bf; } .b3d__panel .label span:first-child { background: var(--x); color: #fff; }
.b3d__panel h2 { margin: 0 0 26px; font-weight: 800; font-stretch: 125%; font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: .98; letter-spacing: -.035em; color: #fff; }
.b3d__read { min-height: 1.1em; margin: 0 0 8px; font-weight: 800; font-stretch: 125%; font-size: clamp(2.6rem, 5vw, 5rem); line-height: 1; letter-spacing: -.04em; color: var(--x-l); font-variant-numeric: tabular-nums; }
.b3d__steps { position: relative; margin: 0; padding: 0; list-style: none; min-height: 230px; }
.b3d__steps li { margin: 0; }
.b3d.is-live .b3d__steps li { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease-out), transform .6s var(--ease-out); }
.b3d.is-live .b3d__steps li.is-on { opacity: 1; transform: none; }
.b3d__f { display: block; margin: 0 0 8px; font: 500 .8rem/1.3 var(--f-m); letter-spacing: .12em; text-transform: uppercase; color: #8ea7bf; }
.b3d__steps b { display: block; margin: 0 0 8px; font-size: 1.35rem; color: #fff; }
.b3d__steps p { max-width: 46ch; margin: 0; font-size: 1.02rem; line-height: 1.55; color: #c9d6e3; }
.b3d.is-static .b3d__steps { min-height: 0; } .b3d.is-static .b3d__steps li { margin: 0 0 24px; }
@media (max-width: 899px) {
  .b3d__pin { display: block; height: 100svh; min-height: 0; }
  .b3d__cv { position: absolute; inset: 0; height: 100%; }
  .b3d__panel { position: absolute; left: 12px; right: 12px; bottom: calc(var(--tabh, 70px) + 14px); padding: 18px; border-radius: 22px; background: rgba(7, 17, 29, .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .b3d__panel h2 { font-size: 1.5rem; margin-bottom: 10px; } .b3d__panel .label { display: none; }
  .b3d__read { font-size: 2.4rem; } .b3d__steps { min-height: 150px; } .b3d__steps b { font-size: 1.1rem; } .b3d__steps p { font-size: .92rem; }
}

/* pagina sport: la foto dell'atleta è verticale (2:3); in alto il cielo, quindi l'inquadratura parte dall'alto */
.phero--sport .phero__fig img { object-position: 50% 30%; }
/* il kit senza foto (finché la foto dello sport non c'è): un elenco */
.kitlist__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 90px); }
.kitlist__list { margin: 0; padding: 0; list-style: none; counter-reset: k; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 34px; }
.kitlist__list li { counter-increment: k; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
.kitlist__list li::before { content: counter(k, decimal-leading-zero); display: block; margin-bottom: 8px; font: 500 .76rem/1 var(--f-m); letter-spacing: .12em; color: var(--x-l); }
.kitlist__list h3 { margin: 0 0 8px; font-size: 1.2rem; color: #fff; }
.kitlist__list p { margin: 0 0 6px; color: #c9d6e3; line-height: 1.55; }
/* il posto: dove fare questo sport a Livigno */
.place { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 90px); align-items: end; }
.place > p { margin: 0; max-width: 56ch; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.55; }
@media (max-width: 899px) {
  .kitlist__in, .place { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .kitlist__list { grid-template-columns: minmax(0, 1fr); }
  .faces { margin-top: 18px; width: auto; }
  .faces a { padding: 9px 14px; font-size: .86rem; }
}

/* ======================= METEO E WEBCAM ======================= */
.meteo__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; margin-top: 26px; }
.meteo__now { padding: 24px 26px; border-radius: 24px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.meteo__big { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font-weight: 800; font-stretch: 125%; font-size: clamp(3.6rem, 7vw, 6.4rem); line-height: .9; letter-spacing: -.05em; color: #fff; }
.meteo__big svg, .fc__ic svg { width: .7em; height: .7em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.meteo__big [data-m="icon"] { color: var(--x-l); display: grid; }
.meteo__data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 0; }
.meteo__data div { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 8px; }
.meteo__data dt { font: 500 .72rem/1.3 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: #8ea7bf; }
.meteo__data dd { margin: 3px 0 0; font-weight: 700; font-size: 1.1rem; color: #fff; }
.pano { position: relative; padding: clamp(60px, 10vh, 110px) 0 30px; background: var(--night); color: #eef3f9; }
.pano__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 30px; padding: 0 var(--pad) 22px; }
.pano__head .label { width: 100%; color: #8ea7bf; } .pano__head .label span:first-child { background: var(--x); color: #fff; }
.pano__head h2 { margin: 0; color: #fff; }
.pano__hint { margin: 0; color: #8ea7bf; letter-spacing: .1em; text-transform: uppercase; font-size: .76rem; }
.pano__view { position: relative; height: clamp(260px, 58vh, 620px); overflow: hidden; cursor: grab; touch-action: pan-y; background: #0f1d2c; outline-offset: -3px; }
.pano__view.is-drag { cursor: grabbing; }
.pano__strip { position: absolute; inset: 0; background-repeat: repeat-x; background-size: auto 100%; opacity: 0; transition: opacity .8s; }
.pano.is-ready .pano__strip { opacity: 1; }
.pano__src { margin: 10px var(--pad) 0; font-size: .74rem; } .pano__src a { color: #8ea7bf; }
.cams { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
.cam { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: var(--snow-2); }
.cam img { display: block; width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.cam figcaption { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; justify-content: space-between; gap: 10px; color: #fff; font-size: .74rem; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.cam figcaption a { color: #fff; }
.fc { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.fc__d { padding: 18px 18px 16px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.fc__day { display: grid; margin: 0 0 12px; } .fc__day b { text-transform: capitalize; } .fc__day span { font-size: .72rem; color: var(--ink-3); }
.fc__ic { display: block; color: var(--ink); font-size: 2.6rem; height: 1em; } .fc__d--snow .fc__ic, .fc__d--sun .fc__ic { color: var(--x); }
.fc__t { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 6px; } .fc__t b { font-weight: 800; font-stretch: 125%; font-size: 1.8rem; } .fc__t span { color: var(--ink-3); }
.fc__p { margin: 0; font-size: .74rem; color: var(--ink-3); }
.fc__load { grid-column: 1 / -1; color: var(--ink-3); }
.today { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 90px); }
.today__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.today__list a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 22px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #eef3f9; text-decoration: none; transition: background .3s; }
.today__list a:hover { background: rgba(var(--x-rgb), .18); }
.today__list b { font-size: 1.15rem; color: #fff; } .today__list span { grid-column: 1; color: #c9d6e3; line-height: 1.5; } .today__list i { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; color: var(--x-l); }
.meteo__credits { margin: 0; padding: 18px var(--pad); font-size: .74rem; color: var(--ink-3); background: var(--snow); }
.wx__more { display: block; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 650; font-size: .9rem; text-decoration: none; color: inherit; }
@media (max-width: 899px) {
  .meteo__row, .today, .cams { grid-template-columns: minmax(0, 1fr); }
  .fc { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .fc__d { scroll-snap-align: start; }
  .pano__view { height: 46svh; }
}
.pano__night { position: absolute; left: 50%; top: 50%; translate: -50% -50%; margin: 0; max-width: min(90%, 520px); padding: 12px 18px; border-radius: 14px; background: rgba(7, 17, 29, .7); color: #eef3f9; text-align: center; font-size: .8rem; line-height: 1.5; pointer-events: none; }
