/* The route stays in the document: native scroll, no wheel hijacking. */
:root{--header-h:88px}
.journey{position:relative;background:var(--notte)}
.js .journey{height:480svh}
.universe{--chapter-color:#28AAE2;--flight:0;position:sticky;top:var(--header-h);height:calc(100svh - var(--header-h));min-height:0;overflow:hidden;overflow:clip;isolation:isolate;background:var(--notte);color:#fff}
.universe[data-chapter="2"]{color:var(--notte)}
.universe[data-chapter="3"]{color:#25262a}
.universe::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 72% 45%,#28aae220,transparent 65%);z-index:0;pointer-events:none}
.universe[data-chapter="2"]::before{background:radial-gradient(ellipse at 75% 45%,#9f15181c,transparent 70%)}
.universe[data-chapter="3"]::before,.universe[data-chapter="4"]::before{background:none}
.universe canvas{position:absolute;inset:0;width:100%;height:100%;z-index:2;touch-action:pan-y;cursor:grab;outline-offset:-5px;mask-image:linear-gradient(90deg,transparent 29%,#000 45%)}
.universe canvas.dragging{cursor:grabbing}
.universe[data-chapter="4"] canvas{pointer-events:none;opacity:0}
.scene-poster{position:absolute;inset:0 0 0 auto;width:75%;height:100%;object-fit:cover;opacity:.48}
.scene-ready .scene-poster{visibility:hidden}
.arrival-film{position:absolute;inset:0;z-index:0;opacity:0;transition:opacity .65s;overflow:hidden;background:#151719}
.arrival-film img{width:100%;height:100%;object-fit:cover;opacity:.64;transform:scale(1.04);animation:arrival-drift 24s ease-in-out infinite alternate}
.arrival-film::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#151719d9,transparent),linear-gradient(0deg,#151719,transparent 65%)}
.universe[data-chapter="4"] .arrival-film{opacity:1}
@keyframes arrival-drift{to{transform:scale(1.10) translateX(-1%)}}
.travel-veil{position:absolute;inset:-15%;z-index:2;pointer-events:none;background:radial-gradient(ellipse at 70% 48%,transparent 18%,var(--chapter-color) 45%,transparent 70%);opacity:calc(var(--flight)*.12);transform:scale(calc(1 + var(--flight)*.7));filter:blur(35px)}
#travel-caption{position:absolute;top:54%;left:52%;right:7%;z-index:3;text-align:center;font-size:clamp(19px,2.6vw,38px);line-height:1.2;font-weight:800;letter-spacing:-.025em;opacity:0;pointer-events:none}
.universe-top{position:absolute;z-index:5;top:18px;left:5%;right:5%;display:flex;justify-content:space-between;align-items:center;gap:18px;pointer-events:none}
.universe-top>p{margin:0;font-size:9px;font-weight:800;letter-spacing:.13em;line-height:1.8}
.universe-top>p>span{color:#b7d0dd;font-size:8px}
.universe-nav{display:flex;gap:3px;pointer-events:auto;align-items:center}
.universe-nav button{color:inherit;font-size:11px;font-weight:800;min-height:44px;border:1px solid transparent;background:none;padding:10px 12px;border-radius:30px;white-space:nowrap}
.universe-nav small{font-size:8px;opacity:.6;margin-right:4px}
.universe-nav button[aria-pressed=true]{border-color:#ffffff66;background:#ffffff09}
.universe-nav button:hover{background:#ffffff14}
.universe[data-chapter="2"] .universe-nav button[aria-pressed=true],.universe[data-chapter="3"] .universe-nav button[aria-pressed=true]{border-color:#08324a40;background:#08324a08}
.chapter-copy{position:absolute;top:50%;transform:translateY(-46%);left:7%;width:39%;max-width:500px;z-index:3;pointer-events:none}
.chapter-copy .eyebrow{color:var(--chapter-color);font-size:10px;margin-bottom:20px}
.chapter-copy h1{font-size:clamp(48px,5.6vw,84px);line-height:1.02;margin:0 0 24px;letter-spacing:-.06em}
.chapter-copy h1>span{color:var(--chapter-color)}
.chapter-copy>p:not(.eyebrow){font-size:15px;line-height:1.7;max-width:34ch;color:#b7d0dd;margin:0}
.chapter-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:27px;pointer-events:auto}
.chapter-actions a,.chapter-actions button{font:800 12px Nunito,sans-serif;min-height:44px;border-radius:30px;padding:13px 20px;border:1px solid #ffffff40;background:none;color:inherit;cursor:pointer}
.chapter-actions button{color:var(--notte);background:var(--chapter-color);border-color:transparent}
.chapter-actions a{padding:11px 0;border-radius:0;border:0;border-bottom:1px solid #ffffff45}
.chapter-word{position:absolute;right:5%;bottom:12%;font-size:clamp(80px,13vw,200px);line-height:1;letter-spacing:-.065em;color:#ffffff07;font-weight:800;z-index:0;pointer-events:none;max-width:80%;overflow:hidden}
.scene-note{position:absolute;top:18%;right:9%;z-index:3;display:flex;gap:9px;align-items:center;font-size:10px;pointer-events:none}
.note-dot{width:5px;height:5px;border-radius:50%;background:var(--chapter-color)}
.scene-hint{position:absolute;right:11%;bottom:180px;z-index:3;font-size:10px;letter-spacing:.04em;opacity:.65;pointer-events:none}
.scene-info{position:absolute;bottom:96px;right:5%;width:240px;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#08324a9e;color:white;border:1px solid #ffffff30;backdrop-filter:blur(16px);border-radius:6px;padding:14px 18px;min-height:46px;font-size:11px;font-weight:800;text-align:left}
.scene-info:hover{border-color:var(--chapter-color)}
.scene-toolbar{position:absolute;bottom:24px;left:5%;right:5%;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #ffffff30;padding-top:15px}
.scene-pages{display:flex;align-items:center;gap:10px}
.scene-pages button{background:none;border:1px solid #ffffff40;color:inherit;border-radius:50%;width:44px;height:44px;font-size:17px}
.scene-pages>span{font-size:13px;font-weight:800;letter-spacing:.05em;min-width:66px;text-align:center}
.scene-pages i{font-style:normal;font-size:10px;opacity:.6;margin-left:8px}
.scroll-cue{display:flex;align-items:center;gap:12px;font-size:8px;color:#b7d0dd;letter-spacing:.12em}
.scroll-line{height:24px;width:1px;background:#ffffff55;position:relative}
.scroll-line::after{content:'';width:3px;height:7px;position:absolute;left:-1px;top:0;background:var(--chapter-color);animation:scroll-down 2s ease-in-out infinite}
@keyframes scroll-down{0%{transform:translateY(0);opacity:0}35%{opacity:1}100%{transform:translateY(18px);opacity:0}}
.scene-controls{display:flex;align-items:center;gap:20px;font-size:11px}
.scene-controls>button{background:none;border:0;color:inherit;font-weight:800;padding:9px 0;min-height:44px}
.scene-controls>button[aria-pressed=true]{color:var(--chapter-color)}
.scene-settings{position:relative}
.scene-settings>summary{list-style:none;cursor:pointer;font-weight:800;font-size:10px;padding:13px 0;min-height:44px}
.scene-settings summary::-webkit-details-marker{display:none}
.scene-settings>div{position:absolute;right:0;bottom:53px;width:245px;max-height:calc(100svh - 150px);overflow:auto;display:flex;flex-direction:column;gap:4px;background:var(--notte);color:white;border:1px solid #ffffff40;border-radius:6px;padding:16px;box-shadow:0 8px 30px #0004}
.scene-settings button{font-size:12px;text-align:left;background:none;color:white;border:0;min-height:44px;padding:10px 0}
.scene-settings label{font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px}
.scene-settings input{width:95px;min-height:34px;accent-color:var(--arancio)}
.journey-progress{position:absolute;bottom:0;left:0;right:0;height:3px;background:#ffffff18;z-index:6}
.journey-progress span{display:block;width:100%;height:100%;background:var(--chapter-color);transform-origin:left;transform:scaleX(.005)}
#scene-loading{position:absolute;top:38%;left:68%;transform:translateX(-50%);z-index:5;max-width:260px;background:var(--notte);color:#b7d0dd;padding:12px 20px;font-size:12px;border-radius:30px;text-align:center}
.universe[data-chapter="2"] .chapter-copy>p:not(.eyebrow),.universe[data-chapter="3"] .chapter-copy>p:not(.eyebrow),.universe[data-chapter="2"] .universe-top>p>span,.universe[data-chapter="3"] .universe-top>p>span,.universe[data-chapter="2"] .scroll-cue,.universe[data-chapter="3"] .scroll-cue{color:#58616a}
.universe[data-chapter="2"] .chapter-actions a,.universe[data-chapter="3"] .chapter-actions a,.universe[data-chapter="2"] .scene-toolbar,.universe[data-chapter="3"] .scene-toolbar,.universe[data-chapter="2"] .scene-pages button,.universe[data-chapter="3"] .scene-pages button{border-color:#08324a30}
.universe[data-chapter="2"] .chapter-word,.universe[data-chapter="3"] .chapter-word{color:#25262a09}
.universe[data-chapter="3"] .chapter-actions button{color:white}
.universe[data-chapter="4"] .chapter-word,.universe[data-chapter="4"] .scene-hint{display:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
dialog{overscroll-behavior:contain}
#render-dialog,.stop-dialog{width:min(700px,calc(100vw - 36px));max-height:calc(100svh - 36px);border:1px solid #ffffff40;border-radius:8px;background:var(--notte);color:white;padding:24px}
dialog::backdrop{background:#021520de;backdrop-filter:blur(12px)}
#render-dialog img{max-height:65svh;display:block;margin:0 auto;object-fit:contain}
#render-dialog p{font-size:13px;margin:18px 0 0}
#render-close,.dialog-close{display:block;margin:0 0 20px auto;font-size:12px;background:none;color:white;border:1px solid #ffffff50;border-radius:30px;min-height:44px;padding:10px 16px}
.stop-dialog{width:min(510px,calc(100vw - 36px));padding:28px}
.stop-dialog .eyebrow{color:var(--azzurro)}
.stop-dialog h2{font-size:44px;margin-bottom:30px}
.stop-dialog p b,.stop-dialog p span{display:block}
.stop-dialog p b{font-size:18px}.stop-dialog p span{font-size:14px;color:#b7d0dd;margin-top:5px}
.stop-dialog #scene-info-content>a{display:block;font-size:14px;font-weight:800;border-top:1px solid #ffffff40;padding:18px 0 0;min-height:44px}
.scene-focus .site-header{visibility:hidden}
.scene-focus .universe{position:fixed;inset:0;height:100svh;z-index:60}
.scene-focus canvas{mask-image:none}
.scene-focus .chapter-copy{top:auto;bottom:110px;transform:none;width:35%;max-width:410px}
.scene-focus .chapter-copy h1{font-size:clamp(32px,3.8vw,54px);margin-bottom:0}
.scene-focus .chapter-copy>p:not(.eyebrow){display:none}
.scene-focus .chapter-copy .eyebrow{margin-bottom:12px}
.scene-focus .chapter-actions{margin-top:18px}
.scene-focus .scene-note{top:17%}
.scene-fallback .journey{height:auto}
.scene-fallback .universe{position:relative;top:0;min-height:560px}
.scene-fallback #scene-focus,.scene-fallback .scene-hint{display:none}
.scene-fallback .scene-note{display:none}
.scene-fallback #scene-action,.scene-fallback #scene-tour,.scene-fallback .scene-pages,.scene-fallback .scroll-cue,.scene-fallback .journey-progress,.scene-fallback .revisit,.scene-fallback .closing [data-visit]{display:none}
.scene-fallback .scene-toolbar{justify-content:flex-end}
button:disabled{cursor:default}
.scene-fallback #scene-loading{top:18%;left:70%}
/* One anchor offset, readable service content and generous touch targets. */

.revisit{min-height:44px;padding-top:16px}
.service-details summary,.sources summary{min-height:48px}
.service-details a{display:inline-flex;min-height:44px;align-items:center}
.site-header nav a{display:inline-flex;min-height:44px;align-items:center}
.footer-business{overflow-wrap:anywhere}
.city-gallery-nav button{min-height:48px}
.story-art>img{height:auto}
@media(max-width:1050px){.universe-top>p{display:none}.universe-top{justify-content:flex-end}.universe-nav button{font-size:10px;padding:10px}.chapter-copy{left:5%;width:42%}.scene-note{right:7%}.scroll-cue{font-size:7px}.scene-controls{gap:13px}}
@media(max-width:900px){
 :root{--header-h:80px}
 .site-header{height:var(--header-h);padding:8px 5%;flex-wrap:nowrap;justify-content:space-between;gap:16px}
 .brand-home{padding:0;margin:0}.brand-home img{width:120px}
 .site-header nav{width:auto;gap:13px;font-size:10px;justify-content:flex-end}
 .universe-top{top:8px;left:5%;right:5%;justify-content:center}
 .universe-nav{width:100%;gap:2px;justify-content:space-between}
 .universe-nav button{flex:1;padding:8px 2px;font-size:9px;min-width:0;min-height:44px}
 .universe-nav small{display:none}.destination-name{display:inline}
 .universe canvas{mask-image:linear-gradient(0deg,transparent var(--mask-bottom,35%),#000 calc(var(--mask-bottom,35%) + 60px))}
 .chapter-copy{top:auto;bottom:146px;transform:none;left:6%;width:88%;max-width:none}
 .chapter-copy .eyebrow{font-size:8px;letter-spacing:.13em;margin-bottom:9px}
 .chapter-copy h1{font-size:clamp(33px,10.8vw,46px);margin-bottom:13px}
 .chapter-copy>p:not(.eyebrow){font-size:12px;line-height:1.55;max-width:43ch}
 .chapter-actions{margin-top:13px;gap:15px;flex-wrap:nowrap}
 .chapter-actions a,.chapter-actions button{font-size:10px;min-height:44px}
 .chapter-actions button{padding:11px 14px;white-space:nowrap}
 .chapter-actions a{padding:10px 0;line-height:1.4}
 .scene-note{display:none}
 .scene-hint{top:62px;left:6%;right:auto;bottom:auto;font-size:9px;opacity:.55}
 .chapter-word{font-size:80px;right:6%;bottom:350px;max-width:90%}
 .scene-info{left:6%;right:6%;bottom:80px;width:auto;font-size:11px;min-height:44px;padding:12px 14px}
 .scene-toolbar{bottom:18px;left:6%;right:6%;padding-top:10px;gap:8px}
 .scene-pages{gap:5px}.scene-pages>span{font-size:11px;min-width:45px;letter-spacing:0}.scene-pages i{font-size:8px;margin-left:4px}.scene-pages button{width:40px;height:44px}
 .scene-controls{gap:10px;font-size:9px}.scene-controls>button{font-size:9px;white-space:nowrap;min-height:44px}
 .scene-settings>summary{font-size:9px;min-width:44px}
 .scene-settings>div{bottom:51px;width:235px}
 .scroll-cue{position:absolute;left:50%;bottom:-15px;transform:translateX(-50%);font-size:6px;white-space:nowrap;letter-spacing:.1em}.scroll-line{display:none}
 #scene-loading{top:24%;left:50%;font-size:11px}
 .scene-poster{width:100%}
 #travel-caption{top:22%;left:10%;right:10%;font-size:24px}
 .arrival-film img{object-position:65% center}
 .arrival-film::after{background:linear-gradient(0deg,#151719 5%,#15171922 90%),linear-gradient(90deg,#15171944,transparent)}
 .scene-focus .chapter-copy{bottom:146px;width:88%;max-width:none}
 .scene-focus .chapter-copy h1{font-size:35px}
 .scene-focus .chapter-actions{margin-top:13px}
 .scene-fallback .universe{min-height:650px}.scene-fallback #scene-loading{top:19%;left:50%}
 .worlds,.locations,.carbonia{padding-top:70px;padding-bottom:70px}
 .story-content h3{font-size:35px}
 .story-content>p:not(.eyebrow){font-size:15px}
 .service-details>div{font-size:14px}
 .wash-steps li{font-size:11px}
 .city-frame{min-height:530px;aspect-ratio:.72}
 .city-caption h3{font-size:32px}
 .city-caption>p:not(.eyebrow){font-size:14px;line-height:1.6}
 .city-caption a{display:block;min-height:44px;line-height:1.6;padding:9px 0;font-size:13px}
 .city-gallery-nav button{font-size:11px;padding:14px 8px}
 .photo-credit{font-size:11px;line-height:1.8}
 .photo-credit a{display:inline-block;padding:5px 0}
 footer{font-size:12px}.sources>div{font-size:12px}.sources li a{display:inline-block;padding:7px 0}
 .footer-links>a,.footer-business>a{display:inline-block;min-height:44px;padding:9px 0}
}
/* telefoni stretti: «Vieni a trovarci» c'è già grande nella scena, in alto restano logo e menu su una riga */
@media(max-width:420px){.site-header a.contact{display:none}.site-header nav a{white-space:nowrap}.site-header nav{gap:16px;font-size:11px}}
@media(max-width:360px){.site-header{gap:10px}.site-header nav{font-size:9px;gap:9px}.scene-controls{gap:6px}#scene-focus{font-size:0;min-width:36px}#scene-focus::after{content:'⤢';font-size:18px}#scene-focus[aria-pressed=true]::after{content:'↙'}.scene-pages{gap:3px}.scene-pages button{width:38px}.chapter-copy h1{font-size:33px}.chapter-actions{gap:12px}.chapter-actions button{padding-left:11px;padding-right:11px}.universe-nav button{font-size:8px}.city-caption h3{font-size:29px}.story-content h3{font-size:32px}.wash-steps{grid-template-columns:1fr 1fr;gap:14px}}
@media(max-width:900px) and (max-height:680px){.chapter-copy .eyebrow{font-size:7px;margin-bottom:7px}.chapter-copy h1{font-size:35px;margin-bottom:10px}.chapter-copy>p:not(.eyebrow){font-size:11px}.chapter-copy{bottom:140px}.scene-hint{display:none}.chapter-word{display:none}}
@media(min-width:701px) and (max-height:600px){:root{--header-h:66px}.site-header{height:66px}.brand-home img{width:120px}.universe-top{top:5px}.universe-top>p,.scene-note,.scene-hint{display:none}.chapter-copy{top:46%;left:5%;max-width:380px}.chapter-copy h1{font-size:43px;margin-bottom:12px}.chapter-copy .eyebrow{margin-bottom:10px;font-size:8px}.chapter-copy>p:not(.eyebrow){font-size:12px}.chapter-actions{margin-top:14px}.chapter-actions button,.chapter-actions a{font-size:10px}.scene-toolbar{bottom:12px;padding-top:8px}.scene-info{bottom:80px;width:215px}.scene-controls{gap:12px}.scroll-cue{display:none}}
@media(max-width:900px) and (max-height:500px){:root{--header-h:62px}.site-header{height:62px}.brand-home img{width:120px;height:48px;object-fit:contain}.chapter-copy{left:5%;width:46%;top:76px;bottom:auto}.chapter-copy h1{font-size:27px}.chapter-copy>p:not(.eyebrow){display:none}.chapter-copy .eyebrow{font-size:6px}.chapter-actions{gap:10px;flex-direction:column;align-items:flex-start;margin-top:8px}.chapter-actions button,.chapter-actions a{font-size:9px;padding:6px 10px;min-height:36px}.scene-info{width:40%;left:auto;right:5%;bottom:80px}.scene-hint{display:none}.scene-focus .chapter-copy{left:5%;width:42%;top:76px;bottom:auto}.scene-focus .chapter-copy h1{font-size:27px}}
.reduced-motion .arrival-film img{animation:none;transform:none}
@media(min-width:701px) and (max-height:450px){.chapter-copy h1{font-size:35px}.chapter-copy>p:not(.eyebrow){display:none}.chapter-copy{top:48%}.chapter-actions{margin-top:10px}.scene-info{bottom:78px}.universe-nav button{min-height:40px;padding:7px 10px}}
.reduced-motion .scroll-line::after{animation:none}
.scene-info{text-decoration:none}
.destination-journey{display:grid;grid-template-columns:1.13fr 1fr;border:1px solid #28aae233;border-radius:28px;overflow:hidden;background:#082c40;color:#fff;isolation:isolate}
.destination-chart{position:relative;min-height:530px;overflow:hidden;overflow:clip;background:#08324a;isolation:isolate}
.destination-horizon{position:absolute;inset:0;background-image:linear-gradient(#28aae20b 1px,transparent 1px),linear-gradient(90deg,#28aae20b 1px,transparent 1px);background-size:38px 38px;transform:perspective(800px) rotateX(12deg) scale(1.08)}
.destination-horizon svg{width:100%;height:100%}
.destination-thread{stroke-dasharray:8 12;animation:destination-drift 14s linear infinite}
@keyframes destination-drift{to{stroke-dashoffset:-200}}
.chart-eyebrow{position:absolute;top:28px;left:30px;margin:0;font-size:12px;font-weight:900;letter-spacing:.14em;line-height:1.7}.chart-eyebrow span{display:block;font-size:8px;font-weight:700;color:#b1c9d5;letter-spacing:.1em}
.chart-north{position:absolute;top:28px;right:30px;text-align:center;font-size:13px;color:#a9c7d7}
.destination-pin{position:absolute;display:flex;flex-direction:column;align-items:center;gap:12px;background:none;border:0;color:#fff;font:inherit;cursor:pointer;transform:translate(-50%,-50%);min-width:130px;min-height:118px;padding:10px;z-index:2}
.pin-vittoria{left:61%;top:34%}.pin-lubiana{left:32%;top:66%}
.pin-orbit{display:grid;place-items:center;width:62px;height:62px;border-radius:50%;background:#08324a;border:1px solid #28aae277;box-shadow:0 10px 22px #00182799;transition:transform .2s,box-shadow .2s;position:relative}
.pin-orbit::before,.pin-orbit::after{content:'';position:absolute;inset:-8px;border:1px solid #28aae233;border-radius:50%;pointer-events:none}.pin-orbit::after{inset:-19px;border-color:#28aae21a}
.pin-orbit b{font-size:21px;font-weight:900}.destination-pin[aria-pressed=true] .pin-orbit{background:#28aae2;color:#08324a;box-shadow:0 0 34px #28aae255,0 12px 18px #00182788;transform:translateY(-4px)}
.destination-pin:hover .pin-orbit{transform:translateY(-7px)}.destination-pin:focus-visible{outline:2px solid #fff;outline-offset:5px;border-radius:16px}
.pin-caption{font-size:16px;font-weight:900;text-align:center}.pin-caption small{display:block;font-size:8px;letter-spacing:.08em;color:#aac7d5;margin-top:4px}
.chart-coordinates{position:absolute;bottom:34px;left:30px;margin:0;color:#b7d3df;font-size:10px;letter-spacing:.07em}.chart-caption{position:absolute;bottom:17px;left:30px;font-size:8px;letter-spacing:.14em;color:#a0bdcc}
.destination-panel{padding:32px 36px;background:#082c40}.location-switch{display:flex;gap:8px;margin-bottom:30px}.location-switch button{border:1px solid #6c98af66;background:transparent;color:#bed1db;border-radius:24px;font:inherit;font-size:12px;font-weight:800;padding:12px 17px;cursor:pointer;min-height:44px}.location-switch button[aria-pressed=true]{background:#fff;color:#08324a;border-color:#fff}
.destination-panel .location-grid{display:block}.destination-panel .location-grid article{padding:0;border:0;background:none;border-radius:0;color:#fff;min-width:0}.destination-panel .location-grid article[hidden]{display:none}
.destination-panel .location-no{font-size:9px;color:#8cb1c5;letter-spacing:.12em}.destination-panel .location-grid h3{font-size:clamp(35px,3.4vw,49px);line-height:1.03;margin:18px 0 26px}.destination-panel .location-grid ul{margin:0 0 24px;padding:0}.destination-panel .location-grid li{border-color:#fff2;padding:12px 0}.destination-panel .location-grid li b{font-size:14px}.destination-panel .location-grid li span{font-size:12px;color:#b6cfdd;margin-top:5px}.destination-panel .location-grid address{font-size:12px;color:#d4e1e8;font-style:normal;margin:0 0 16px;line-height:1.7}
.destination-panel .service-details{border-color:#fff2;margin:0 0 22px}.destination-panel .service-details summary{font-size:12px;color:#d4e1e8;min-height:44px}.destination-panel .service-details>div{font-size:12px;color:#bfd2dd}.destination-panel .service-details a{display:inline;font-size:12px;padding:0;min-height:0;border:0;color:#fff;text-decoration:underline}
.destination-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.destination-panel .location-grid .navigate-button{display:inline-flex;align-items:center;gap:28px;background:#ff6700;color:#fff;border:0;border-radius:25px;padding:14px 22px;margin:0;min-height:48px;font-size:13px;font-weight:900;text-decoration:none}.destination-panel .location-grid .map-button{display:inline-flex;gap:10px;align-items:center;color:#d3e3ed;border:0;padding:12px 0;margin:0;min-height:44px;font-size:12px;text-decoration:none}.destination-actions a:hover{filter:brightness(1.12)}
.destination-map{position:absolute;inset:0;z-index:3;background:#08324a}.destination-map[hidden]{display:none}.destination-map iframe{border:0;width:100%;height:100%}.destination-map button{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);white-space:nowrap;background:#08324a;color:#fff;border:1px solid #ffffff66;border-radius:25px;padding:12px 20px;min-height:44px;font:inherit;font-weight:800;font-size:12px;cursor:pointer;box-shadow:0 4px 15px #0004}.map-open .destination-pin{visibility:hidden}
@media(max-width:900px){.destination-journey{grid-template-columns:1fr}.destination-chart{min-height:350px}.destination-panel{padding:28px}.destination-panel .location-grid h3{font-size:39px}.destination-panel .location-grid address{font-size:12px}.chart-eyebrow{top:22px;left:22px}.chart-north{top:22px;right:22px}.chart-coordinates,.chart-caption{left:22px}.pin-vittoria{left:66%;top:38%}.pin-lubiana{left:30%;top:68%}.destination-pin{gap:8px;min-width:110px}.pin-orbit{width:48px;height:48px}.pin-caption{font-size:14px}.pin-caption small{font-size:7px}.destination-panel .location-grid article{padding:0}.location-switch{margin-bottom:24px}}
@media(max-width:400px){.destination-panel{padding:24px 20px}.destination-chart{min-height:320px}.chart-eyebrow span{font-size:7px}.destination-actions{gap:8px}.destination-panel .location-grid .navigate-button{padding:13px 17px;gap:16px}.location-switch button{font-size:11px;padding:12px 15px}}
@media(prefers-reduced-motion:reduce){.destination-thread{animation:none}.pin-orbit{transition:none}}
.reduced-motion .destination-thread{animation:none}
body:not(.js) .location-grid article+article{margin-top:36px;padding-top:28px;border-top:1px solid #ffffff33}
body:not(.js) .location-switch,body:not(.js) .destination-pin{display:none}
@media(min-width:901px){.destination-panel{padding:28px 32px}.location-switch{margin-bottom:22px}.destination-panel .location-grid h3{margin:14px 0 20px}.destination-panel .location-grid li{padding:10px 0}.destination-panel .location-grid ul{margin-bottom:18px}}
.geo-chart{background:#b8bfad}.city-render{position:absolute;inset:0;border:0;width:100%;height:100%;z-index:1;pointer-events:none}.city-interactive .city-render{pointer-events:auto}.city-map-loading{position:absolute;inset:0;display:grid;place-content:center;text-align:center;padding:35px;color:#08324a;font-size:17px;font-weight:900;background:linear-gradient(145deg,#d2d0ba,#aab4a5);z-index:2}.city-map-loading[hidden]{display:none}.geo-chart .chart-eyebrow,.geo-chart .chart-north,.geo-chart .chart-coordinates,.geo-chart .chart-caption{display:none}.city-satellite-fallback{position:absolute;bottom:18px;left:18px;right:18px;display:block;border-radius:22px;padding:12px 18px;min-height:44px;background:#08324a;color:#fff;text-align:center;font-size:12px;font-weight:800;z-index:3}.geo-ready .city-satellite-fallback{display:none}.city-explore{position:absolute;top:92px;left:16px;z-index:2;border:1px solid #ffffff77;border-radius:22px;background:#08324ae8;color:#fff;font:800 11px Nunito,sans-serif;min-height:44px;padding:10px 16px;cursor:pointer}.city-explore[hidden]{display:none}.destination-panel .location-grid .street-button{font-size:11px;color:#c3d8e3;border:0;padding:9px 0;margin:0;min-height:44px;display:inline-flex;gap:8px;align-items:center}.destination-panel .destination-actions{column-gap:14px;row-gap:5px}.geo-chart .destination-map{z-index:4}
@media(max-width:900px){.geo-chart{min-height:420px}.city-explore{top:84px;left:12px;font-size:10px;padding:9px 13px}}
@media(max-width:400px){.geo-chart{min-height:380px}}
body:not(.js) .city-map-loading{display:none}
html.reduced-motion{scroll-behavior:auto}
.station-entry{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 20px}.station-entry button{display:inline-flex;gap:13px;align-items:center;min-height:44px;border:1px solid #28aae26b;border-radius:22px;padding:10px 16px;background:#28aae2;color:#08324a;font:900 11px Nunito,sans-serif}.station-entry .station-project-entry{background:transparent;color:#e3edf3;border-color:#d3e3ed55}.station-entry button:hover{filter:brightness(1.12)}#station-dialog{padding:0;border:0;background:#f5f4eb;width:min(1180px,96vw);height:92dvh;max-height:820px;max-width:none;overflow:hidden;border-radius:24px}#station-dialog::backdrop{background:#082e45d9;backdrop-filter:blur(7px)}#station-viewer{display:block;border:0;width:100%;height:100%}#station-dialog-close{position:absolute;top:13px;right:16px;z-index:5;min-width:44px;min-height:44px;border:1px solid #08324a22;border-radius:50%;background:#08324a;color:#fff;font:800 25px Nunito,sans-serif;cursor:pointer}body:has(#station-dialog[open]){overflow:hidden}@media(max-width:600px){#station-dialog{width:100vw;height:100dvh;max-height:none;margin:0;border-radius:0}#station-dialog-close{top:11px;right:12px;min-width:40px;min-height:40px}.station-entry button{font-size:10px;padding:9px 13px}}
@media(min-width:901px){.destination-panel{padding-top:12px;padding-bottom:12px}.destination-panel .location-switch{margin-bottom:20px}.destination-panel .location-grid h3{margin-bottom:18px}.destination-panel .location-grid ul{margin-bottom:18px}.destination-panel .location-grid address{margin-bottom:12px}.destination-panel .service-details{margin-bottom:16px}.station-entry{margin-bottom:16px}}
@media(min-width:901px){.destination-panel .location-grid .navigate-button{padding-left:18px;padding-right:18px;gap:16px}.destination-panel .destination-actions{column-gap:10px}}
.reduced-motion .arrival-film{transition:none}
@media(prefers-reduced-motion:reduce){.arrival-film img{animation:none;transform:none}.arrival-film{transition:none}.scroll-line::after{animation:none}}

@media(min-width:701px) and (max-width:900px) and (min-height:600px){.chapter-copy h1{font-size:54px}.chapter-copy>p:not(.eyebrow){font-size:15px;max-width:43ch}.chapter-copy .eyebrow{font-size:10px}.chapter-actions a,.chapter-actions button{font-size:12px}.universe-nav button{font-size:12px}.scene-controls>button,.scene-settings>summary{font-size:11px}.scene-hint{font-size:11px}}
@media(max-width:900px) and (max-height:500px){.universe canvas{mask-image:linear-gradient(90deg,transparent 30%,#000 48%)}.chapter-word{display:none}}
@media(max-width:900px) and (max-height:500px){.chapter-copy,.scene-focus .chapter-copy{top:74px;left:5%;width:44%;bottom:auto;transform:none}.chapter-copy h1,.scene-focus .chapter-copy h1{font-size:31px;margin-bottom:10px}.chapter-copy .eyebrow{font-size:8px;margin-bottom:8px}.chapter-copy>p:not(.eyebrow){display:none}.chapter-actions{flex-direction:row;gap:12px;margin-top:10px}.chapter-actions a,.chapter-actions button{font-size:10px;min-height:40px}.scene-info{bottom:80px}.scene-hint{display:none}}

/* aurora: due chiazze di colore che vagano dietro la scena (16/10/2026) */
.universe::after{content:'';position:absolute;inset:-30%;z-index:1;pointer-events:none;opacity:.12;mix-blend-mode:screen;background:radial-gradient(40% 50% at 30% 40%,var(--chapter-color) 0%,transparent 70%),radial-gradient(35% 45% at 75% 65%,#ffffff 0%,transparent 70%);animation:aurora 28s ease-in-out infinite alternate;will-change:transform}
.universe[data-chapter="2"]::after,.universe[data-chapter="3"]::after{mix-blend-mode:normal;opacity:.16}
.universe[data-chapter="4"]::after{display:none}
@keyframes aurora{from{transform:translate(-4%,-3%) scale(1)}to{transform:translate(4%,4%) scale(1.15)}}
.reduced-motion .universe::after{animation:none}

/* viaggio interattivo (18/10/2026): testi che scivolano nel volo tra i mondi, tacche delle tappe, contrasto del pulsante OTTANO */
.chapter-copy h1{translate:0 calc(var(--flight)*-26px)}
.chapter-copy>p:not(.eyebrow),.chapter-actions{translate:0 calc(var(--flight)*-14px)}
.chapter-copy .eyebrow{translate:calc(var(--flight)*18px) 0}
.universe[data-chapter="2"] .chapter-actions button{color:#fff}
.journey-progress::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent calc(25% - 1px),#ffffff80 0 25%,transparent 0 calc(50% - 1px),#ffffff80 0 50%,transparent 0 calc(75% - 1px),#ffffff80 0 75%,transparent 0);pointer-events:none}
.universe[data-chapter="2"] .journey-progress,.universe[data-chapter="3"] .journey-progress{background:#08324a14}
.universe-nav button{transition:background .3s,border-color .3s}
.reduced-motion .chapter-copy h1,.reduced-motion .chapter-copy>p:not(.eyebrow),.reduced-motion .chapter-actions,.reduced-motion .chapter-copy .eyebrow{translate:none}
