*{box-sizing:border-box}body{margin:0;background:#eee9de;color:#282b29;font-family:Georgia,serif}header{display:flex;align-items:center;justify-content:space-between;padding:25px 6%;border-bottom:1px solid #d6d1c7;background:#faf9f6}.brand{font-size:25px;letter-spacing:.02em}nav a{margin-left:25px;color:inherit;text-decoration:none;font:12px Arial;letter-spacing:.15em}nav a:hover{color:#9d7957}main{max-width:1300px;margin:auto}.hero{padding:75px 6% 40px;display:grid;grid-template-columns:1fr 1.15fr;align-items:center;gap:7%}.eyebrow{font:12px Arial;letter-spacing:.25em;color:#98785f}h1{font-weight:normal;font-size:clamp(43px,6vw,90px);line-height:1.05;margin:20px 0}p{line-height:1.8;color:#66645e;font-size:17px}.hero img{width:100%;height:490px;object-fit:contain;filter:drop-shadow(0 9px 12px #0001)}.gallery{padding:50px 6% 90px}.gallery h2{font-size:36px;font-weight:normal;text-align:center}.cards{display:grid;grid-template-columns:repeat(2,1fr);gap:35px}.card{background:#fff;padding:22px;text-decoration:none;color:inherit;display:block}.card img{width:100%;height:330px;object-fit:contain}.card h3{font-size:25px;font-weight:normal;margin:15px 0 5px}.card small{font:12px Arial;letter-spacing:.08em;color:#817d76}.strip{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:50px}.strip img{width:100%;height:170px;object-fit:contain;background:#fff}footer{padding:35px;text-align:center;border-top:1px solid #d6d1c7;font:12px Arial;color:#777}.artistic .hero{background:linear-gradient(90deg,#f2ece0e8,#f2ece0e0),url('https://static.wixstatic.com/media/dcf01d_9d584629f35d4db4b2338ef7a0344432~mv2.jpg/v1/fit/w_1000,h_1000,q_78/dcf01d_9d584629f35d4db4b2338ef7a0344432~mv2.jpg') center/cover}.artistic .hero img{background:#ffffffd0;padding:20px}.artistic .card{background:#f8f5ee}@media(max-width:700px){header{display:block;text-align:center}nav{margin-top:20px}nav a{margin:0 8px;font-size:10px}.hero{grid-template-columns:1fr;padding-top:40px}.hero img{height:310px}.cards{grid-template-columns:1fr}.strip{grid-template-columns:repeat(2,1fr)}h1{font-size:48px}} .brand img{display:block;max-width:210px;max-height:100px;width:auto;height:auto}.card,.artistic .card{background:transparent;padding:0}.card img{display:block;width:100%;height:350px;object-fit:cover;background:transparent}.strip img{background:transparent;object-fit:cover}.artistic .hero img{background:transparent;padding:0;filter:none} @media(max-width:700px){.brand img{margin:auto}.card img{height:270px}} 
/* Revisione C */
.gallery{padding-bottom:0}.gallery .cards{padding-bottom:75px}.featured{background:#d9d0c3;padding:66px max(6%,calc((100vw - 1144px)/2)) 78px; margin-top:0}.featured h2{text-align:center;font-weight:normal;font-size:clamp(30px,4vw,43px);margin:0 0 8px}.featured .intro{text-align:center;margin:0 0 35px}.featured .strip{margin-top:0}.featured .strip img{height:200px;object-fit:cover}.featured .strip a{display:block}.featured .strip a:hover img{opacity:.82}.gallery .card img{object-fit:contain;height:350px}.hero img{object-fit:contain}.gallerypage{max-width:1200px;margin:0 auto;padding:60px 6% 90px}.gallerypage h1{font-size:clamp(38px,6vw,66px);text-align:center;margin:0 0 10px}.gallerypage .lead{text-align:center;max-width:750px;margin:0 auto 50px}.artgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px 24px}.artgrid a{display:block;color:inherit;text-decoration:none}.artgrid img{width:100%;height:260px;object-fit:contain;display:block;transition:transform .2s}.artgrid a:hover img{transform:scale(1.025)}.artgrid figcaption{text-align:center;font-size:14px;color:#665f55;margin-top:13px}.artgrid figure{margin:0}.gallerypage .back{display:block;text-align:center;margin:45px 0 0;color:#71573e}.note{text-align:center;font-size:13px;color:#6e665e}.overlay{position:fixed;inset:0;background:rgba(18,17,16,.94);z-index:999;display:none;align-items:center;justify-content:center;padding:60px 55px}.overlay:target{display:flex}.overlay img{max-width:95%;max-height:85vh;object-fit:contain}.overlay .close{position:absolute;top:20px;right:30px;color:white;font:35px Arial;text-decoration:none}.overlay .caption{position:absolute;bottom:15px;color:#eee;font:14px Arial;text-align:center}@media(max-width:750px){.artgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.artgrid img{height:190px}.featured{padding:50px 6%}.featured .strip img{height:130px}.gallerypage{padding:40px 5% 60px}.overlay{padding:50px 12px}}


/* PROVA D — identità cromatica per sezione */
body{background:#fff6e6;color:#49352b}header{background:#fffaf0;border-bottom:3px solid #e9a458}nav a{font-weight:700}nav a:hover,nav a[aria-current="page"]{color:#b95b22}.eyebrow{color:#b65b2d}.hero{background:linear-gradient(100deg,rgba(255,241,207,.96),rgba(255,244,221,.75)),url('https://static.wixstatic.com/media/dcf01d_9d584629f35d4db4b2338ef7a0344432~mv2.jpg/v1/fit/w_1000,h_1000,q_78/dcf01d_9d584629f35d4db4b2338ef7a0344432~mv2.jpg') center/cover!important}.gallery{background:#fff7e9}.featured{background:#e8b76f!important}.featured h2{color:#713b27}.featured .intro{color:#713b27}.card h3{color:#a6532e}.card img,.strip img{background:transparent!important;box-shadow:none!important}.artistic .hero img{background:transparent!important;padding:0!important}.featured .strip img{object-fit:contain!important}.strip a:hover img{transform:scale(1.035);transition:transform .25s}.gallerypage{max-width:1280px}.gallerypage .lead{color:#53645f}.artgrid figure{background:transparent}.artgrid img{object-fit:contain}.artgrid figcaption{color:inherit}.gallerypage h1{color:var(--accent)}.back{color:var(--accent)!important}footer{background:rgba(255,255,255,.6)}
body.page-watercolor{background:#eaf6f1;--accent:#287b79;color:#244d50}body.page-watercolor header{background:#e0f2eb;border-bottom-color:#56aaa7}body.page-watercolor nav a:hover,body.page-watercolor nav a[aria-current="page"]{color:#287b79}body.page-watercolor .gallerypage{background:linear-gradient(180deg,#eaf6f1,#f7fbf8)}
body.page-trompe{background:#f7eaf0;--accent:#843c62;color:#513347}body.page-trompe header{background:#f4dfe8;border-bottom-color:#a85c81}body.page-trompe nav a:hover,body.page-trompe nav a[aria-current="page"]{color:#843c62}body.page-trompe .gallerypage{background:linear-gradient(180deg,#f7eaf0,#fff8fa)}
.section-intro{padding:18px 6%;text-align:center;font:12px Arial,sans-serif;letter-spacing:.18em;color:var(--accent,#a6532e)}.color-rule{height:9px;background:linear-gradient(90deg,#d86b35 0 33%,#54aba6 33% 66%,#a65b82 66%)}
@media(max-width:700px){.featured .strip{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{background-position:center}.gallerypage h1{font-size:42px}}



/* PROVA E: home con gallerie per località, senza trompe-l’œil né opere in evidenza */
body.page-home{background:#fff8ea}header{border-bottom-color:#e4a35b}.color-rule{background:linear-gradient(90deg,#e39c4e 0 25%,#5bb7b2 25% 50%,#b46e91 50% 75%,#8eac62 75%)}
.intro-home{text-align:center;padding:76px 20px 54px;background:linear-gradient(145deg,#fff0cf,#fff8ea 62%,#f5e6dc)}.intro-home h1{font-size:clamp(42px,6vw,76px);line-height:1.1;margin:18px 0 15px}.intro-home p{max-width:650px;margin:auto}.places{padding:42px 6% 90px}.places h2{text-align:center;font-size:clamp(30px,4vw,45px);font-weight:normal;margin:0 0 35px;color:#8b4b2d}.place-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px;max-width:1200px;margin:auto}.place{grid-column:span 2;position:relative;min-height:290px;display:flex;flex-direction:column;justify-content:end;align-items:start;padding:25px;text-decoration:none;color:#49352b;overflow:hidden;border-radius:2px;transition:transform .2s}.place:hover{transform:translateY(-4px)}.place span{font-size:35px;position:relative}.place small{font:12px Arial;letter-spacing:.07em;position:relative;margin-top:10px}.place img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.85}.place-roma{background:#e6c69e}.place-roma:before{content:'';position:absolute;inset:0;background:linear-gradient(transparent 40%,#fff0d4d9);z-index:1}.place-roma span,.place-roma small{z-index:2}.p2{background:#d7e8e0}.p3{background:#e9c8cb}.p4{background:#e8dcad}.p5{background:#bcdde3}.place:nth-child(4),.place:nth-child(5){grid-column:span 3}.note{max-width:800px;margin:36px auto 0}.place:not(.place-roma){background-image:linear-gradient(145deg,#ffffff30,transparent 65%)}@media(max-width:750px){.intro-home{padding:48px 7% 36px}.places{padding:35px 5% 65px}.place-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.place,.place:nth-child(4),.place:nth-child(5){grid-column:span 1;min-height:210px;padding:17px}.place span{font-size:26px}.place small{font-size:10px}.place-roma{grid-column:span 2;min-height:250px}}


/* Anteprime HOME: stesso trattamento di Roma */
.place:not(.place-roma):has(img):before{content:"";position:absolute;inset:0;background:linear-gradient(transparent 40%,#fff0d4d9);z-index:1}
.place:not(.place-roma):has(img) span,.place:not(.place-roma):has(img) small{z-index:2}
.place img{opacity:.75}

