/* Tre famiglie cromatiche, la stessa firma. I media mantengono i colori originali. */
.curated-project{background:var(--project-wall);color:var(--project-light);--bg:var(--project-wall);--accent:var(--project-accent)}
.curated-project .project-context{gap:20px;min-height:56px}
.curated-project .project-context nav{gap:7px}
.curated-project .project-context nav button{padding-inline:10px;min-width:44px}
.curated-project .work-heading{padding-block:30px 24px;align-items:end}
.curated-project .work-heading h1{font-size:clamp(46px,6.25vw,96px);max-width:18ch}
.curated-project .work-heading .eyebrow{margin-bottom:10px;color:var(--project-accent)}
.project-subtitle{font-size:15px;line-height:1.5;margin-top:12px}
.project-intro-actions{flex:none;max-width:390px;display:grid;gap:16px;padding-bottom:3px}
.project-role{font-size:15px;text-align:right;line-height:1.5}
.project-intro-actions>div{display:flex;align-items:center;gap:15px;flex-wrap:wrap;justify-content:flex-end}
.project-watch{background:var(--project-paper);color:var(--project-ink);border-color:var(--project-paper);font-weight:600;gap:12px;min-height:46px}
.project-watch small{font:11px var(--mono);margin-left:8px}
.project-gallery-action{display:inline-flex;gap:10px;align-items:center;font-size:13px;min-height:44px;border-bottom:1px solid currentColor;white-space:nowrap}
.project-gallery-action small{font:11px var(--mono)}
.curated-project .cover,.curated-project .cover:not(.scope){width:min(100%,1180px,calc((100svh - 335px)*var(--cover-ratio)));padding-bottom:26px}
.curated-project .cover-button{background:transparent}
.curated-project .cover-button img{height:auto;max-height:none;min-height:0;object-fit:contain}
.curated-project .cover figcaption{max-width:1180px;margin:auto;color:var(--project-light);font-size:12px}
.curated-project .cover figcaption small{font-size:10px}
.curated-project .enlarge{width:44px;height:44px;background:var(--project-wall);color:var(--project-light)}
.curated-project .project-film{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:7%;padding-block:70px 80px;border-top:1px solid #ffffff45}
.project-film-copy{align-self:center;display:grid;justify-items:start;gap:20px}
.project-film-copy h2{font-size:clamp(40px,4.6vw,70px);max-width:11ch}
.project-film-copy p{line-height:1.6;font-size:17px;max-width:35ch}
.local-status{font:11px var(--mono);color:var(--project-accent);margin-top:-8px}
.project-film-image>button{display:block;position:relative;width:100%;background:transparent}
.project-film-image>button img{width:100%;height:auto;object-fit:contain}
.film-mark{display:grid;place-items:center;position:absolute;left:18px;bottom:18px;width:52px;height:52px;border-radius:50%;background:var(--project-paper);color:var(--project-ink);font-size:18px}
.film-source .external{font-size:13px;min-height:44px;border-color:#ffffff45}
.film-source .external small{font-size:10px}
.project-environments{background:var(--project-paper);color:var(--project-ink)}
.environments-heading{padding-block:66px 32px}
.environments-heading h2{font-size:clamp(41px,5.8vw,84px);margin-top:22px;max-width:16ch}
.environments-heading>p{margin-top:20px;font-size:16px;line-height:1.5}
.project-chapter{padding-block:40px 68px}
.chapter-heading{display:grid;grid-template-columns:1fr 2fr;gap:30px;border-top:1px solid currentColor;padding-top:22px;margin-bottom:32px}
.chapter-number{font:italic clamp(46px,5vw,72px)/1 var(--serif);letter-spacing:-.08em}
.chapter-heading>div{display:flex;gap:5%;align-items:start}
.chapter-heading h3{flex:1;font-size:clamp(28px,3vw,44px);max-width:14ch;line-height:1.06}
.chapter-heading p{flex:1;max-width:40ch;font-size:15px;line-height:1.6}
.chapter-pictures{display:grid;grid-template-columns:1.4fr 1fr;gap:6%;align-items:center}
.chapter-pictures figure{min-width:0}
.chapter-pictures figure .picture{background:transparent}
.chapter-pictures img{width:100%;height:auto;object-fit:contain}
.chapter-pictures figcaption{font-size:12px;line-height:1.4;gap:6px;flex-wrap:wrap}
.chapter-pictures figcaption small{font-size:10px}
.chapter-diptych .chapter-pictures figure:nth-child(2){padding-top:13%}
.chapter-wide .chapter-pictures{display:block;width:92%;margin:auto}
.chapter-landscape .chapter-pictures{grid-template-columns:1fr 1.45fr;align-items:start}
.chapter-landscape .chapter-pictures figure:last-child{padding-top:12%}
.chapter-night{background:var(--project-night);color:var(--project-light);padding-top:54px}
.chapter-night .chapter-pictures{grid-template-columns:1.5fr 1fr;align-items:end}
.chapter-night .chapter-pictures figure:last-child{padding-bottom:9%}
.curated-project .project-gallery{padding-block:70px 80px}
.project-gallery-heading{display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:36px}
.project-gallery-heading h2{margin-top:20px;font-size:clamp(40px,5.2vw,74px)}
.project-gallery-heading p{font-size:14px;line-height:1.5;max-width:23ch}
.project-gallery-index{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px 20px;align-items:end}
.project-gallery-index .picture{background:transparent}
.project-gallery-index img{width:100%;height:auto;object-fit:contain}
.project-gallery-index figcaption{font:11px/1.5 var(--mono)}
.curated-project .facts{background:var(--project-paper);color:var(--project-ink)}
.curated-project .facts-grid h2{font-size:clamp(38px,4.5vw,65px);max-width:13ch;margin-top:20px}
.curated-project .facts dl div{border-color:currentColor;line-height:1.45}
.curated-project .project-end{padding-block:42px;gap:35px;min-height:210px}
.project-return{min-height:44px;display:inline-flex;align-items:center;white-space:nowrap;font-size:14px}
.curated-project .next-project{display:flex;gap:26px;align-items:center;max-width:72%;justify-content:flex-end}
.curated-project .next-project>div{display:grid;gap:12px;justify-items:end;min-width:0}
.curated-project .next-project b{font-size:clamp(23px,2.8vw,40px);font-weight:400}
.curated-project .next-project small{font-size:12px}
.curated-project .next-project img{width:170px;height:114px;object-fit:cover;flex:none}
.curated-project a:hover,.curated-project button:hover{color:inherit}
.curated-project .project-watch:hover{color:var(--project-ink)}
.curated-project .picture:focus-visible,.project-film-image>button:focus-visible{outline:3px solid var(--project-accent);outline-offset:4px}
#project-media{position:fixed;inset:0;margin:0;width:100%;max-width:none;height:100dvh;max-height:none;padding:0 clamp(12px,3vw,44px);background:var(--project-night);color:var(--project-light);overflow:hidden}
#project-media[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.project-media-head{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:90px;padding-block:12px;border-bottom:1px solid #ffffff55}
.project-media-head>div{min-width:0}
.project-media-head .eyebrow{font-size:10px;color:var(--project-accent)}
.project-media-head h2{font-size:clamp(22px,2.3vw,34px);line-height:1.05;margin-top:7px}
.project-media-head>.btn{flex:none}
.project-screen,.project-mat{display:flex;align-items:center;justify-content:center;position:relative;min-height:0;overflow:hidden;padding-block:12px}
.project-screen video{width:100%;height:100%;max-width:1440px;object-fit:contain;background:#000;color-scheme:dark}
.project-mat img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.project-mat.is-zoomed{display:block;overflow:auto;text-align:center;overscroll-behavior:contain;touch-action:auto}
.project-mat.is-zoomed img{display:inline-block;max-width:none;max-height:none;width:auto;height:auto}
.project-media-foot{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:96px;border-top:1px solid #ffffff55;padding-block:12px}
.project-media-foot .eyebrow{font-size:10px}
.project-media-foot b{display:block;font:italic 25px/1.1 var(--serif);margin-top:4px}
.project-media-foot p{font-size:14px;margin-top:6px}
.project-media-foot small{display:block;font-size:11px;line-height:1.5;margin-top:5px}
.project-view-controls{display:flex;gap:8px;align-items:center}
.project-view-controls button{min-width:44px;min-height:44px}
.project-flight{position:fixed;pointer-events:none;transform-origin:0 0;object-fit:contain;max-width:none}
.project-media-error{position:absolute;inset:auto 20px;background:var(--project-night);padding:25px;max-width:600px;line-height:1.6}
.project-media-error[hidden]{display:none}
@media (hover:hover) and (prefers-reduced-motion:no-preference){.curated-project .enlarge,.film-mark{transition:transform .22s ease-out}.curated-project .picture:hover .enlarge{transform:translate(-4px,-4px)}.project-film-image>button:hover .film-mark{transform:scale(1.08)}}
@media(max-width:1050px){.curated-project .work-heading{display:block}.project-intro-actions{max-width:none;display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:20px}.project-role{text-align:left}.project-intro-actions>div{gap:14px}.chapter-heading{grid-template-columns:.45fr 2fr}.curated-project .cover-button img{max-height:65svh}.curated-project .project-film{gap:5%}.chapter-heading>div{display:block}.chapter-heading p{margin-top:16px;max-width:55ch}.project-gallery-index{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){
 .curated-project .project-context{align-items:start;flex-wrap:wrap;gap:0;min-height:88px;padding-top:4px}
 .curated-project .project-context>a{width:100%;min-height:44px;font-size:12px}
 .curated-project .project-context nav{justify-content:space-between;width:100%;gap:0}
 .curated-project .project-context nav button{padding-inline:0;font-size:12px}
 .curated-project .work-heading{padding-block:22px 21px}
 .curated-project .work-heading h1{font-size:clamp(40px,10.8vw,60px);line-height:1;max-width:100%}
 .project-subtitle{font-size:13px;margin-top:10px}
 .project-intro-actions{display:block;margin-top:13px}
 .project-role{font-size:13px;line-height:1.5}
 .project-intro-actions>div{justify-content:flex-start;margin-top:18px;gap:8px 17px}
 .project-watch{font-size:13px;padding-inline:12px;gap:8px}
 .project-watch small{margin-left:1px}
 .project-gallery-action{font-size:12px;gap:8px}
 .curated-project .cover,.curated-project .cover:not(.scope){width:100%;padding-bottom:28px}
 .curated-project .cover-button img{max-height:none;width:100%;height:auto}
 .curated-project .cover figcaption{flex-wrap:wrap;gap:2px;font-size:11px}
 .curated-project .project-film{grid-template-columns:1fr;padding-block:38px 42px;gap:26px}
 .project-film-copy{gap:16px}
 .project-film-copy h2{font-size:45px;max-width:none}
 .project-film-copy p{font-size:15px;line-height:1.55;max-width:35ch}
 .film-source .external{flex-wrap:wrap;gap:3px 8px}
 .environments-heading{padding-block:38px 10px}
 .environments-heading h2{font-size:44px;margin-top:18px;max-width:12ch}
 .environments-heading>p{font-size:14px;margin-top:18px}
 .project-chapter{padding-block:30px 40px}
 .chapter-heading{grid-template-columns:40px 1fr;gap:20px;padding-top:18px;margin-bottom:22px}
 .chapter-number{font-size:36px}
 .chapter-heading h3{font-size:30px;max-width:none}
 .chapter-heading p{font-size:14px;line-height:1.55;margin-top:14px}
 .chapter-pictures,.chapter-landscape .chapter-pictures,.chapter-night .chapter-pictures{display:flex;flex-direction:column;gap:22px;align-items:stretch}
 .chapter-pictures figure:nth-child(2){width:88%;align-self:flex-end;padding:0!important}
 .chapter-landscape .chapter-pictures figure:first-child{width:88%}
 .chapter-landscape .chapter-pictures figure:last-child{width:100%}
 .chapter-wide .chapter-pictures{width:100%}
 .chapter-pictures figcaption{font-size:11px;display:grid;gap:0}
 .chapter-pictures figcaption small{font-size:10px}
 .project-gallery-heading{display:block;margin-bottom:25px}
 .project-gallery-heading h2{font-size:42px;margin-top:18px}
 .project-gallery-heading p{max-width:none;font-size:13px;margin-top:16px}
 .curated-project .project-gallery{padding-block:38px 42px}
 .project-gallery-index{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
 .project-gallery-index figcaption{font-size:10px}
 .project-gallery-index .enlarge{width:32px;height:32px;font-size:20px}
 .curated-project .facts-grid h2{font-size:40px;max-width:none;margin-top:15px}
 .curated-project .facts dl{font-size:14px}
 .curated-project .project-end{display:block;padding-block:27px 32px}
 .curated-project .next-project{margin-top:22px;max-width:100%;justify-content:space-between;text-align:left;gap:16px}
 .curated-project .next-project>div{justify-items:start;gap:10px}
 .curated-project .next-project .eyebrow{font-size:9px}
 .curated-project .next-project img{width:94px;height:94px}
 .curated-project .next-project b{font-size:24px;line-height:1.1}
 .project-media-head{min-height:84px;gap:8px;align-items:center}
 .project-media-head h2{font-size:22px;line-height:1.1}
 .project-media-head .eyebrow{font-size:9px}
 .project-media-head>.btn{font-size:12px;padding-inline:10px;gap:8px}
 .project-media-foot{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;min-height:122px}
 .project-media-foot b{font-size:22px}
 .project-media-foot .eyebrow{font-size:9px}
 .project-media-foot small{font-size:10px}
 .project-view-controls{display:grid;grid-template-columns:1fr 1fr;gap:5px;max-width:137px}
 .project-view-controls .btn{grid-column:1/-1;font-size:12px;gap:0;justify-content:center;padding-inline:10px}
 .project-screen,.project-mat{padding-block:8px}
 .project-media-error{inset:auto 0;padding:18px;font-size:14px}
}
@media(prefers-reduced-motion:reduce){.project-flight{display:none}}

.project-preload[hidden],.screen-loading[hidden]{display:none!important}
.screen-loading{position:absolute;left:20px;bottom:70px;padding:10px 15px;background:var(--project-night);color:var(--project-light);font-size:14px;pointer-events:none}
.curated-project h1,.curated-project h2,.curated-project h3,.curated-project .next-project b{overflow-wrap:anywhere}
.curated-page .signature{white-space:normal;min-width:0}
.curated-page .mast-nav{flex-wrap:wrap;row-gap:0}

.curated-page .mobile-menu{min-height:44px}

.curated-project .picture{background-size:contain;background-position:center;background-repeat:no-repeat}

/* Estensione del 23 novembre: immagini sempre nel proprio formato. */
.extended-project .native-image{min-width:0;max-width:min(100%,var(--native-width));margin-inline:auto;width:100%}
.extended-project .native-image .cover{max-width:100%}
.extended-project .chapter-pictures>.native-image:nth-child(2){padding-top:10%}
.extended-project .chapter-wide .chapter-pictures>.native-image{padding-top:0}
.extended-project .native-image .picture{width:100%}
.extended-project .project-film-image>button{max-width:min(100%,var(--still-limit,100%));margin-inline:auto}
.extended-project .project-film-copy h2{max-width:16ch}
.extended-project .project-gallery-index.count-1{grid-template-columns:minmax(0,600px)}
.extended-project .project-gallery-index.count-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.archive-screen{min-height:300px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;padding:45px;border:1px solid #ffffff55;gap:25px;background:var(--project-night)}
.archive-screen strong{font-size:clamp(30px,4vw,55px);font-weight:400;line-height:1.05}
.archive-screen small{font:11px var(--mono)}
.extended-project.record-only .project-film{border-top:1px solid #ffffff55}
@media(max-width:680px){.extended-project .chapter-pictures>.native-image:nth-child(2){width:88%;margin-left:auto;margin-right:0;padding-top:0}.archive-screen{min-height:240px;padding:28px}.extended-project .native-image{max-width:min(100%,var(--native-width))}}

.atlas-type{height:100%;min-height:220px;padding:30px;display:flex;flex-direction:column;justify-content:space-between;background:var(--frame);color:var(--leaf)}.atlas-type>span{font:12px var(--mono)}.atlas-type>strong{font-size:30px;font-weight:400}
