/* CFE v9. Native motion, self-hosted. Visible content is the default. */
:root{--film-ease:cubic-bezier(.16,1,.3,1);--film-ink:#132345;--film-paper:#f2f3ee;--film-on-dark:#fff;--film-muted-on-dark:#e0e4ed;--film-accent:#3348db;--camera-p:0;--scene-p:0}
/* Document arrival is authored by WAAPI, including browsers without MPA transitions. */
@view-transition{navigation:none}
@media screen and (prefers-reduced-motion:no-preference){
 html.motion-ready .changed,html.motion-ready .chapter.changed .chapter-body{animation:none!important}
}
@media screen{
 body.atlas{overflow-x:clip}
 .motion-word{display:inline-block;overflow:clip;vertical-align:bottom;padding-bottom:.1em;margin-bottom:-.1em}
 .motion-word>span{display:inline-block;transform-origin:0 100%}
 .motion-progress{position:fixed;z-index:90;left:var(--rail,0px);right:0;top:0;height:3px;background:#f4dc6a;transform:scaleX(var(--reading-progress,0));transform-origin:0 50%;pointer-events:none}
 .motion-toggle{position:fixed;bottom:16px;right:16px;z-index:80;display:flex;align-items:center;gap:9px;border:1px solid #c7cbd4;background:#f2f3ee;color:#132345;padding:10px 13px;font:600 11px/1.3 system-ui,sans-serif;box-shadow:0 4px 18px #13234518;cursor:pointer}
 .motion-toggle svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6}
 .motion-toggle:focus-visible{outline:3px solid #3348db;outline-offset:4px}
 .motion-toggle[aria-pressed=true]{background:#132345;color:#f2f3ee}
 html[data-motion=off] *,html[data-motion=off] *::before,html[data-motion=off] *::after{animation:none!important;transition:none!important}
 html[data-motion=off] .opening-photo img{transform:none!important}
 /* The roof becomes the opening shot, with the original illustration label. */
 body.atlas-home .opening{position:relative;isolation:isolate;display:grid;grid-template-columns:1fr;align-items:center;min-height:min(760px,calc(100svh - var(--top)));background:#132345;overflow:clip;color:white}
 body.atlas-home .opening-copy{position:relative;z-index:2;width:min(75%,1100px);padding:42px var(--pad) 100px;pointer-events:none}
 body.atlas-home .opening-copy a{pointer-events:auto}
 body.atlas-home .opening h1{font-size:clamp(58px,6.2vw,112px);line-height:1.04;color:#fff;margin:8px 0 22px;text-shadow:0 2px 18px #0003}
 body.atlas-home .opening h1>span:not(.motion-word){color:inherit}
 body.atlas-home .opening h1 .motion-word,body.atlas-home .opening h1 .motion-word>span{color:inherit}
 body.atlas-home .opening-lead{color:#fff;max-width:44ch;font-size:16px;line-height:1.65}
 body.atlas-home .opening-proof{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-top:22px;color:var(--film-on-dark);font-size:14px;line-height:1.5}
 body.atlas-home .opening-proof strong{font-size:30px;line-height:1.2;letter-spacing:-.025em;font-weight:700;font-variant-numeric:tabular-nums}
 body.atlas-home .opening-proof small{flex-basis:100%;font-size:12px;color:var(--film-muted-on-dark)}
 body.atlas-home .opening-proof a{pointer-events:auto;color:inherit}
 body.atlas-home .opening-starts{max-width:440px;margin-top:22px}
 body.atlas-home .opening-starts a{color:white;border-color:#ffffff55;font-size:14px;transition:background .25s,padding .35s var(--film-ease)}
 body.atlas-home .opening-starts a:hover{padding-inline:14px;background:#ffffff14}
 body.atlas-home .opening-photo{position:absolute;inset:0;z-index:0;width:100%;height:100%;min-height:0;margin:0;overflow:clip;background:#132345}
 body.atlas-home .opening-photo img{width:100%;height:100%;object-fit:cover;object-position:60% 50%;animation:none;transform:translateY(calc(var(--camera-p)*9%)) scale(calc(1.04 + var(--camera-p)*.09));transform-origin:60% 50%}
 body.atlas-home .opening-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#081126e8 0%,#0c1731bb 38%,#08112622 78%),linear-gradient(0deg,#081126bb,transparent 38%);pointer-events:none}
 body.atlas-home .opening-photo figcaption{position:absolute;z-index:1;right:var(--pad);left:auto;bottom:85px;width:270px;max-width:27%;padding:18px;background:#132345df;color:white;font-size:14px;line-height:1.55}
 body.atlas-home .opening-photo figcaption small{color:#e0e4ed;font-size:11px}
 body.atlas-home .opening-bottom{position:absolute;z-index:3;bottom:0;left:0;right:0;width:auto;background:#13234566;color:#fff;border-color:#ffffff44;padding:20px var(--pad)}
 body.atlas-home .opening-bottom a{color:#fff}
 .atlas-page-head{background:#132345;color:#fff;overflow:clip}
 .atlas-page-head h1,.atlas-page-head .lead,.atlas-page-head a,.atlas-page-head .breadcrumb,.atlas-page-head .article-meta,.atlas-page-head .head-side{color:inherit}
 .atlas-page-head .head-side{border-color:#ffffff66}
 .atlas-page-head .head-side p{color:var(--film-muted-on-dark)}
 .atlas-page-head h1 em{color:#f4dc6a}
 /* A three-plane spread assembles as the visitor moves through the topics. */
 .motion-ready:not([data-motion=off]) body.atlas-home .topic-index{position:relative;height:150svh;padding:0 var(--pad);background:#dfe5ff}
 .motion-ready:not([data-motion=off]) body.atlas-home .topic-index>.section-heading{position:sticky;top:0;padding-top:52px;min-height:24svh;margin:0}
 .motion-ready:not([data-motion=off]) body.atlas-home .topic-spreads{position:sticky;top:26svh;height:55svh;min-height:350px;perspective:1400px;gap:14px;align-items:stretch;border:0}
 .motion-ready:not([data-motion=off]) .topic-spreads>a{transform:translateY(calc((1 - var(--scene-p))*var(--travel,100px))) rotate(calc((1 - var(--scene-p))*var(--angle,-2deg)));transform-origin:50% 100%;border:0;padding:30px;display:flex;flex-direction:column;justify-content:space-between;min-width:0;background:#132345;color:#fff}
 .motion-ready:not([data-motion=off]) .topic-spreads>a:nth-child(2){--travel:210px;--angle:1deg;background:#3348db}
 .motion-ready:not([data-motion=off]) .topic-spreads>a:nth-child(3){--travel:320px;--angle:3deg;background:#f4dc6a;color:#132345}
 .motion-ready:not([data-motion=off]) .topic-spreads h3{font-size:clamp(38px,4.3vw,78px);line-height:1.05;letter-spacing:-.035em;margin-block:25px}
 .motion-ready:not([data-motion=off]) .topic-spreads .arrow{width:32px;height:32px}
 .topic-spreads a,.channel-card,.comparison-preview{transition:box-shadow .4s var(--film-ease),background .3s,color .3s}
 .topic-spreads a:hover,.topic-spreads a:focus-visible{box-shadow:0 20px 45px #13234522}
 .catalog-row .arrow,.text-link .arrow,.button .arrow,.btn .arrow{transition:transform .35s var(--film-ease)}
 .catalog-row:hover .arrow,.text-link:hover .arrow,.button:hover .arrow,.btn:hover .arrow{transform:translate(4px,-4px)}
 .catalog-row{transition:background .3s,color .3s,padding .4s var(--film-ease)}
 .catalog-row:hover{background:#dfe5ff}
 .atlas-tool main>.intro,.atlas-tool main>.hero{background:#132345;color:white;padding:clamp(30px,4vw,65px);overflow:clip}
 .atlas-tool main>.intro h1,.atlas-tool main>.hero h1,.atlas-tool main>.intro p,.atlas-tool main>.hero p{color:white}
 body.atlas.atlas-tool main>.intro h1>span:not(.motion-word),body.atlas.atlas-tool main>.hero h1>em{color:#f4dc6a}
 body.atlas.atlas-tool main h1 .motion-word,body.atlas.atlas-tool main h1 .motion-word>span,.atlas-page-head h1 .motion-word,.atlas-page-head h1 .motion-word>span{color:inherit}
 .atlas-tool main>.intro .eyebrow,.atlas-tool main>.hero .eyebrow{color:#f4dc6a!important}
 .atlas-tool .hero .meta,.atlas-tool .intro .privacy-note{color:var(--film-muted-on-dark)}
 /* Match the workbench selectors so dark surfaces retain readable text. */
 body.atlas.atlas-catasto .hero .intro{color:var(--film-on-dark)}
 body.atlas.atlas-catasto .hero .badges,body.atlas.atlas-sheet .intro .dati-locali{color:var(--film-muted-on-dark)}
 .atlas-tool .hero .meta span{color:#e0e4ed;background:transparent;border-color:#ffffff55}
 .atlas-menu{z-index:95}
 .atlas-menu .menu-panel{transform-origin:100% 0;animation:none}
 .atlas-menu[open] .menu-panel{background:#132345;color:#fff;border-top:3px solid #f4dc6a}
 .atlas-menu[open] .menu-panel a,.atlas-menu[open] .menu-panel p,.atlas-menu[open] .menu-panel small{color:inherit}
 .atlas-menu[open] .menu-panel nav>a{border-color:#ffffff44}
 .atlas-menu[open] .menu-panel nav>a:hover{color:#f4dc6a}
 .atlas-menu[open] .menu-intro{color:#fff}
 .atlas-menu[open] .menu-intro a{color:#f4dc6a}
 .atlas-menu[open] .menu-panel nav{counter-reset:none}
 .motion-ready .chapter-title h2,.motion-ready .section-heading h2{transform-origin:0 100%}
 .atlas-footer{position:relative}
 .atlas-footer .footer-name{display:inline-block}
}
@media screen and (max-width:900px){
 body.atlas-home .opening-copy{width:90%;padding-bottom:140px}
 body.atlas-home .opening h1{font-size:clamp(54px,8vw,86px)}
 body.atlas-home .opening-photo figcaption{bottom:85px;max-width:32%;width:230px}
}
@media screen and (max-width:650px){
 body.atlas-home .opening{min-height:0;align-items:start}
 body.atlas-home .opening-copy{width:100%;padding:28px 22px 175px}
 body.atlas-home .opening h1{font-size:clamp(35px,11.5vw,70px);margin:8px 0 20px}
 body.atlas-home .opening-lead{font-size:13px;line-height:1.7}
 body.atlas-home .opening-proof{font-size:12px;gap:3px 9px;margin-top:18px}
 body.atlas-home .opening-proof strong{font-size:26px}
 body.atlas-home .opening-proof small{font-size:11px}
 body.atlas-home .opening-starts{margin-top:18px;max-width:100%}
 body.atlas-home .opening-starts a{font-size:12px;padding-block:11px}
 body.atlas-home .opening-photo{height:100%;min-height:0}
 body.atlas-home .opening-photo img{object-position:65% 50%}
 body.atlas-home .opening-photo::after{background:linear-gradient(90deg,#081126df,#08112666),linear-gradient(0deg,#081126ee,transparent 70%)}
 body.atlas-home .opening-photo figcaption{left:22px;right:22px;bottom:63px;width:auto;max-width:100%;font-size:12px;padding:13px 16px}
 body.atlas-home .opening-photo figcaption small{font-size:10px;margin-top:5px}
 body.atlas-home .opening-bottom{padding:16px 22px;font-size:10px}
 .motion-ready:not([data-motion=off]) body.atlas-home .topic-index{height:auto;padding:42px 22px 50px}
 .motion-ready:not([data-motion=off]) body.atlas-home .topic-index>.section-heading{position:static;padding:0;min-height:0;margin-bottom:28px}
 .motion-ready:not([data-motion=off]) body.atlas-home .topic-spreads{position:static;height:auto;min-height:0;display:grid;gap:14px}
 .motion-ready:not([data-motion=off]) .topic-spreads>a{transform:none;min-height:240px;padding:25px}
 .motion-ready:not([data-motion=off]) .topic-spreads h3{font-size:48px;margin:20px 0}
 .atlas-tool main>.intro,.atlas-tool main>.hero{padding:30px 22px}
 .motion-toggle{right:10px;bottom:10px;padding:9px 10px;font-size:10px}
}
@media screen and (prefers-reduced-motion:reduce){
 .motion-ready body.atlas-home .topic-index{height:auto!important;padding:50px var(--pad)!important}
 .motion-ready body.atlas-home .topic-index>.section-heading,.motion-ready body.atlas-home .topic-spreads{position:static!important;height:auto!important;min-height:0!important}
 .motion-ready body.atlas-home .topic-spreads>a{transform:none!important}
 .opening-photo img{transform:none!important}
 .motion-word>span{transform:none!important;opacity:1!important}
}
@media print{
 .motion-progress,.motion-toggle{display:none!important}
 .motion-word{display:inline!important;overflow:visible!important}.motion-word>span{display:inline!important}
 *,*::before,*::after{animation:none!important;transition:none!important;transform:none!important;clip-path:none!important;opacity:1!important}
 .atlas-page-head,.atlas-tool main>.intro,.atlas-tool main>.hero{background:white!important;color:black!important}
 .atlas-tool main>.intro h1,.atlas-tool main>.hero h1,.atlas-tool main>.intro p,.atlas-tool main>.hero p{color:black!important}
}
