/* Studio Tossani V20 — standalone professional portfolio and personal photography */
.archive-body{--body:#183048;background:#f1eee5;color:#183048}
.archive-section{scroll-margin-top:90px}
.archive-hero{background:#183048;color:#f3eee5;position:relative;padding:calc(var(--head-height) + 55px) clamp(21px,5.5vw,100px) 95px;overflow:hidden}
.archive-hero__meta,.archive-hero__sub,.archive-gallery__bar,.archive-card__number,.photo-card__caption span,.archive-card__tag{font:700 11px/1.4 Avenir,Arial,sans-serif;letter-spacing:.14em}
.archive-hero__meta{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #ffffff55;padding-bottom:18px}
.archive-hero__headline{margin-top:clamp(60px,9vw,150px);position:relative;z-index:2}.archive-hero__headline p{font:700 12px Avenir,Arial,sans-serif;letter-spacing:.15em;color:#ffad86}.archive-hero h1{font:800 clamp(55px,10.7vw,190px)/.94 Avenir,Arial,sans-serif;letter-spacing:-.075em;margin:30px 0 60px}.archive-hero h1 em{color:#ed3f13;font-style:normal}.archive-hero__sub{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #ffffff44;padding-top:18px;position:relative;z-index:2}
.archive-hero__feature{display:flex;gap:clamp(6px,1.1vw,18px);justify-content:flex-end;margin-top:-25px;position:relative;z-index:1;align-items:flex-end}.archive-hero__feature img{height:clamp(145px,21vw,355px);width:auto;max-width:31%;object-fit:contain;box-shadow:0 18px 30px #0006;transform:rotate(var(--lean,0deg));transition:transform .7s ease}.archive-hero__feature img:first-child{--lean:-8deg}.archive-hero__feature img:nth-child(2){--lean:7deg}.archive-hero__feature img:last-child{--lean:-4deg}.archive-hero__feature:hover img{transform:translateY(-15px) rotate(0)}
.archive-hero--photo{padding-bottom:35px}.archive-hero--photo .archive-hero__headline{margin-top:70px}.archive-hero--photo h1{font-size:clamp(75px,12vw,200px);margin-bottom:40px}.archive-photo-hero{margin:70px 0 0}.archive-photo-hero img{width:100%;height:auto;max-height:750px;object-fit:contain;box-shadow:0 28px 50px #0004}.archive-photo-hero figcaption{font:700 10px/1.5 Avenir,sans-serif;letter-spacing:.14em;margin-top:15px;color:#dce1e0}
.archive-intro{background:#f1eee5;display:grid;grid-template-columns:1.4fr 1fr;gap:6vw;padding:clamp(85px,10vw,160px) clamp(21px,5.5vw,100px)}.archive-intro span{font:700 11px Avenir,Arial,sans-serif;letter-spacing:.17em;color:#ed3f13}.archive-intro h2{font:800 clamp(38px,5.5vw,96px)/1.03 Avenir,Arial,sans-serif;letter-spacing:-.065em;margin:28px 0 0}.archive-intro h2 em{color:#ed3f13;font-style:normal}.archive-intro p{font:400 clamp(17px,1.65vw,24px)/1.55 Avenir,Arial,sans-serif;max-width:640px;align-self:end;margin:0}
.archive-gallery{background:#f1eee5;padding:20px clamp(21px,5.5vw,100px) 120px}.archive-gallery__bar{display:flex;justify-content:space-between;padding:16px 0;border-block:1px solid #18304855;gap:15px}.archive-filters{display:flex;gap:9px;flex-wrap:wrap;padding:30px 0 60px}.archive-filters button{font:700 10px/1 Avenir,Arial,sans-serif;letter-spacing:.12em;border:1px solid #18304875;background:transparent;border-radius:40px;color:#183048;padding:14px 18px;transition:background .25s,color .25s}.archive-filters button.is-active,.archive-filters button:hover,.archive-filters button:focus-visible{color:#f6f0e6;background:#183048}
.archive-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(20px,4vw,75px);row-gap:clamp(85px,10vw,180px)}.archive-card{min-width:0;transition:opacity .55s ease,transform .7s cubic-bezier(.2,.8,.2,1);opacity:1;transform:translateY(0)}.archive-card.is-pending,.photo-card.is-pending{opacity:.3;transform:translateY(28px)}.archive-card[hidden],.photo-card[hidden]{display:none!important}.archive-card__number{color:#ed3f13;margin-bottom:15px}.archive-card__number span{color:#18304877}.archive-art{display:flex;align-items:center;justify-content:center;position:relative;border:0;background:#e4dfd6;min-height:clamp(290px,43vw,650px);padding:clamp(20px,3vw,40px);width:100%;cursor:zoom-in}.archive-art img{height:auto;width:auto;max-width:100%;max-height:min(550px,42vw);object-fit:contain;filter:drop-shadow(0 15px 15px #152d3a32);transform:translateY(var(--image-drift,0px));transition:transform .65s cubic-bezier(.15,.85,.2,1)}.archive-art:hover img,.archive-art:focus-visible img{transform:translateY(calc(var(--image-drift,0px) - 12px)) rotate(-2deg) scale(1.025)}.archive-art__zoom,.photo-card__image>span{position:absolute;right:16px;bottom:15px;background:#183048;color:#fff;border-radius:50%;display:grid;place-items:center;width:42px;height:42px;font-size:24px}
.archive-card__line{height:1px;background:#18304866;margin:22px 0 24px;position:relative}.archive-card__line:before{content:'';display:block;height:2px;width:20%;background:#ed3f13;transition:width .65s}.archive-card:hover .archive-card__line:before{width:100%}.archive-card__details{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,.45fr);gap:20px}.archive-card__tag{color:#ed3f13}.archive-card h3{font:800 clamp(25px,3.5vw,55px)/1 Avenir,sans-serif;letter-spacing:-.06em;margin:15px 0 0;overflow-wrap:anywhere}.archive-card h3 small{display:block;font:500 clamp(13px,1.3vw,19px)/1.45 Avenir,sans-serif;letter-spacing:0;margin:10px 0 0}.archive-card__details p{font:400 clamp(14px,1.15vw,17px)/1.55 Avenir,sans-serif;margin:24px 0 0}
.photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(45px,6vw,105px) clamp(20px,3.5vw,65px)}.photo-card{min-width:0;transition:opacity .55s,transform .75s}.photo-card__image{position:relative;display:flex;align-items:center;justify-content:center;width:100%;border:0;background:#e9e3d9;padding:clamp(12px,2vw,27px);cursor:zoom-in;min-height:200px}.photo-card__image img{max-height:min(600px,52vw);width:auto;max-width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 13px 16px #0002);transform:translateY(var(--image-drift,0px));transition:transform .6s ease}.photo-card__image:hover img{transform:scale(1.02) translateY(calc(var(--image-drift,0px) - 6px))}.photo-card__caption{display:flex;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid #18304844}.photo-card__caption span{color:#ed3f13}.photo-card__caption strong{font:800 clamp(13px,1.35vw,20px)/1.25 Avenir,sans-serif;text-align:right}
.archive-note{background:#183048;color:#f3eee5;padding:clamp(70px,10vw,155px) clamp(21px,5.5vw,100px)}.archive-note p{letter-spacing:.17em;font-size:11px;font-weight:700;color:#ffad86}.archive-note h2{font:800 clamp(38px,7.1vw,116px)/1.03 Avenir,sans-serif;letter-spacing:-.055em;max-width:1350px}.archive-note>a{display:inline-block;padding:18px 15px;border:1px solid #f3eee58f;border-radius:40px;font:700 12px Avenir,sans-serif;letter-spacing:.12em}.archive-note>a:hover{background:#ed3f13;border-color:#ed3f13}
.archive-footer{background:#0c2231;color:#f3eee5;padding:70px clamp(21px,5.5vw,100px) 30px}.archive-footer__lead,.archive-footer__bottom{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #ffffff55;padding-bottom:20px;font:700 10px Avenir,sans-serif;letter-spacing:.13em}.archive-footer h2{font:800 clamp(44px,9vw,155px)/1.02 Avenir,sans-serif;letter-spacing:-.07em;margin:60px 0}.archive-footer__links{display:grid;grid-template-columns:repeat(2,1fr);gap:10px 40px}.archive-footer__links a{border-bottom:1px solid #ffffff66;padding:18px 0;font:700 clamp(15px,2.3vw,29px) Avenir,sans-serif}.archive-footer__links a:hover{color:#ffad86}.archive-footer__bottom{border-top:1px solid #ffffff55;border-bottom:0;margin-top:120px;padding:18px 0 0}
.archive-lightbox{background:#0b1721;border:0;padding:45px 20px 24px;color:#fff;width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;overflow:auto;margin:0}.archive-lightbox[open]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px}.archive-lightbox::backdrop{background:#000d}.archive-lightbox img{max-height:calc(100dvh - 140px);max-width:calc(100vw - 50px);width:auto;height:auto;object-fit:contain}.archive-lightbox p{font:700 13px Avenir,sans-serif;letter-spacing:.08em;text-align:center}.archive-lightbox__close{position:fixed;right:20px;top:18px;border:1px solid #ffffff55;border-radius:50%;background:#f3eee5;color:#183048;width:44px;height:44px;font-size:28px;z-index:3}
@media(max-width:750px){.archive-hero{padding-top:calc(var(--head-height) + 55px);padding-bottom:55px}.archive-hero__meta,.archive-hero__sub{font-size:8px;letter-spacing:.055em}.archive-hero__meta span:last-child,.archive-hero__sub span:last-child{max-width:45%;text-align:right}.archive-hero__headline{margin-top:65px}.archive-hero__headline p{font-size:9px}.archive-hero h1{font-size:clamp(45px,13vw,100px);margin-bottom:45px}.archive-hero--photo h1{font-size:clamp(58px,15vw,105px)}.archive-hero__feature{margin-top:30px;gap:5px}.archive-hero__feature img{height:160px;max-width:32%}.archive-photo-hero{margin-top:50px}.archive-intro{grid-template-columns:1fr;padding:80px 20px;gap:30px}.archive-intro h2{font-size:clamp(35px,9.4vw,64px)}.archive-intro p{font-size:16px}.archive-gallery{padding:20px 20px 90px}.archive-gallery__bar{font-size:9px}.archive-filters{padding:23px 0 35px;gap:7px}.archive-filters button{padding:12px 13px;font-size:9px}.archive-grid,.photo-grid{grid-template-columns:1fr;gap:78px}.archive-art{min-height:0;padding:24px}.archive-art img{max-height:min(550px,125vw);max-width:100%}.archive-card__details{grid-template-columns:1fr;gap:8px}.archive-card__details p{margin:0}.archive-card h3{font-size:clamp(27px,8vw,46px)}.photo-card__image img{max-height:140vw}.photo-card__caption{gap:8px}.photo-card__caption span{font-size:9px}.photo-card__caption strong{font-size:14px}.archive-note h2{font-size:clamp(38px,9vw,75px)}.archive-footer__links{grid-template-columns:1fr}.archive-footer__lead,.archive-footer__bottom{font-size:8px}.archive-footer h2{font-size:clamp(43px,9vw,85px)}.archive-footer__bottom{margin-top:65px}}
@media(prefers-reduced-motion:reduce){.archive-card,.photo-card{transition:none!important;opacity:1!important;transform:none!important}.archive-hero__feature img,.archive-art img,.photo-card__image img{transition:none!important;transform:none!important}}


/* V48R22 — Immagini di contesto nei progetti, senza moltiplicare le schede. */
.archive-card .archive-art--support {min-height:0;margin-top:14px;padding:12px;aspect-ratio: 16 / 10;background:#e9e3d8;}
.archive-card .archive-art--support-portrait {aspect-ratio: 5 / 4;}
.archive-card .archive-art--support img {max-height:95%;max-width:95%;object-fit:contain;}
.archive-card .archive-support-caption {font:600 clamp(10px,.92vw,13px)/1.4 Avenir,Arial,sans-serif;color:#526270;letter-spacing:.015em;margin:9px 0 0;}
@media(max-width:750px){.archive-card .archive-art--support-portrait {aspect-ratio: 4 / 4;}}

/* V48R23 — fotografia ambientale Terras Gauda leggibile da mobile. */
@media(max-width:750px) {
 .archive-card .archive-art--support-wide {width:100%;aspect-ratio:4 / 3;min-height:0;padding:8px;overflow:hidden}
 .archive-card .archive-art--support-wide img {display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain}
 .archive-card .archive-support-caption {font-size:12px;line-height:1.45}
}
