
/* Recovered structure: historical February/May 2026 screenshots. No new design system. */
.inner-page{background:#f1ede6}.inner-page .site-header{position:sticky;top:0;background:var(--paper);min-height:74px;box-shadow:0 1px 4px #0001}.inner-page .header-inner{min-height:74px}.inner-page main{min-height:50vh}
/* historic masthead is small, not a fixed tall bar */
.site-header:not(.menu-open) .brand img{max-height:48px}.site-header{min-height:58px}.header-inner{min-height:58px}
.davide-hero{background:#f1ede6;min-height:710px;overflow:hidden}.davide-layout{max-width:1500px;min-height:710px;margin:auto;display:grid;grid-template-columns:50% 50%;position:relative;align-items:center}.davide-message{padding:65px 0 65px max(35px,6.4vw);z-index:1;align-self:center}.davide-eyebrow{font-size:13px;font-weight:800;color:#5a5a5a}.davide-message h1{font-size:clamp(28px,2.4vw,42px);line-height:1.18;margin:22px 0 65px;font-weight:800}.davide-message h2{font-size:clamp(25px,2.6vw,40px);color:#888;margin:0 0 14px}.davide-message p{font-size:14px;line-height:1.9;max-width:540px}.davide-sign{width:390px;margin:68px 0 0 65px}.davide-portrait{position:absolute;right:0;bottom:0;max-height:92%;height:auto;width:auto;max-width:49%;object-fit:contain;object-position:bottom right;opacity:.32;mix-blend-mode:multiply}.competence-title{background:var(--paper);padding:60px 5vw 20px}.competence-title h2{font-size:42px;color:#888;margin:0}.numbers-band{background:#0b0d10 url('sfondo-footer.gif') center 40%/cover;min-height:235px;display:flex;align-items:center;position:relative;color:white}.numbers-band:before{content:"";position:absolute;inset:0;background:#050505b8}.numbers-grid{display:grid;grid-template-columns:repeat(4,1fr);position:relative;gap:30px;width:min(1120px,90%);margin:auto;text-align:center}.numbers-grid div{display:flex;flex-direction:column;align-items:center}.numbers-grid span{font-size:38px;color:#e2ab00;line-height:1}.numbers-grid b{font-size:54px;line-height:1.25}.numbers-grid small{font-size:12px;color:#ddd}.davide-bio{background:white;min-height:580px;padding:110px max(calc((100% - 1050px)/2),7%)}.davide-bio div{max-width:500px}.davide-bio h2{font-size:40px;margin:0}.davide-bio p{font-size:15px;line-height:1.95}
.inner-banner{height:300px;background-position:center;background-size:cover;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:white;position:relative}.inner-banner:before{content:"";position:absolute;inset:0;background:#0003}.inner-banner>*{position:relative}.inner-banner h1{font-size:clamp(35px,4.3vw,65px);text-shadow:2px 3px 6px #0006;margin:0;font-weight:800}.inner-banner h2{font-size:clamp(18px,2.3vw,32px);text-shadow:1px 2px 5px #0008}.before-banner{background-image:url('abr-terrazzo-dopo.webp')}.contact-banner{background-image:url('piscine-2.webp')}.banner-intro{position:relative;z-index:2;text-align:center;background:white;width:min(900px,calc(100% - 32px));margin:-50px auto 30px;padding:42px 30px 48px;min-height:150px}.banner-intro h2{font-size:15px;color:#85979b}.banner-intro p{font-size:14px;color:#889397}
.historic-work{background:#f1ede6;padding:0 0 30px}.historic-work-content{background:#f9f7f4;width:min(920px,calc(100% - 30px));margin:auto;padding:18px 14px 12px;border:9px solid #f4f0eb;border-radius:19px;box-shadow:0 1px 10px #0002}.historic-work h2{font-size:32px;color:#242a39;margin:18px 0 22px}.historic-work-content>p{max-width:510px;color:#aaa;font-size:14px;line-height:1.8}.work-mix{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:36px;align-items:start;margin:25px 0 75px}.work-mix figure{margin:0;text-align:center}.work-mix img{width:100%;height:235px;object-fit:cover;border-radius:5px;box-shadow:0 4px 12px #0002}.work-mix figcaption{font-size:13px;color:#999;margin-top:10px}.work-mix figure:nth-of-type(2) img{outline:2px solid #dba600}.work-mix .result{font-size:14px;line-height:1.5;color:#999}.work-mix .result b{color:#db9e00}.work-mix .result strong{color:#aa842b}.work-mix.right-photos{grid-template-columns:1.7fr 1fr 1fr;gap:33px}.work-whatsapp{background:#242735;color:#e3b000;text-decoration:underline;display:block;border-radius:6px;text-align:center;padding:16px 10px;font-weight:700;font-size:14px}
.interior-detail{background:white;min-height:620px;padding:110px 0}.detail-shell{width:min(1000px,calc(100% - 38px));margin:auto}.interior-detail h2{font-size:36px;position:relative;margin:0 0 70px}.interior-detail h2:before,.interior-detail h2:after,.photo-gallery h2:before,.photo-gallery h2:after{content:"";display:block;background:#ee6b5d;height:1px;width:150px;margin:0 0 28px}.interior-detail h2:after,.photo-gallery h2:after{margin:28px 0 0}.historic-compare{width:min(432px,100%);aspect-ratio:1/1;margin:auto;position:relative;overflow:hidden;border:2px solid #e4ad05;border-radius:8px;box-shadow:0 4px 12px #0002;--split:50%}.historic-compare>img,.compare-after>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.compare-after{position:absolute;inset:0;clip-path:inset(0 0 0 var(--split))}.compare-line{position:absolute;left:var(--split);top:0;bottom:0;width:2px;background:#e4a800;transform:translateX(-50%)}.compare-knob{position:absolute;top:50%;left:var(--split);transform:translate(-50%,-50%);border-radius:20px;background:#e4ad00;padding:9px 4px;font-size:12px;color:white;pointer-events:none}.historic-compare input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize}
.photo-gallery{background:#f1ede6;padding:75px 0 100px}.photo-gallery-inner{width:min(1000px,calc(100% - 38px));margin:auto}.photo-gallery h2{font-size:34px}.historic-slider{display:flex;align-items:center;gap:8px;margin-top:45px}.photo-items{display:flex;overflow:hidden;gap:4px;flex:1}.photo-items img{width:calc((100% - 8px)/3);flex:0 0 calc((100% - 8px)/3);height:300px;object-fit:cover}.historic-slider button{border:0;background:transparent;color:#888;font-size:40px}
.contact-intro{padding:50px 80px 60px}.contact-intro p{max-width:650px;margin:20px auto 0}.contact-promise{background:#fff;width:min(1020px,calc(100% - 30px));margin:0 auto 40px;padding:35px;display:grid;grid-template-columns:1fr 1fr;gap:35px}.promise-copy h2{font-size:clamp(36px,4vw,66px);line-height:1.25;font-weight:500;margin:0 0 30px}.promise-copy>p{font-size:13px;color:#888;margin-bottom:55px}.promise-copy ul{padding:0;list-style:none;font:18px Georgia,serif;color:#61636a}.promise-copy li{margin:12px 0}.promise-copy li:before{content:"⊙";color:#dca600;margin-right:12px}.promise-visual img{width:100%;height:560px;object-fit:cover}.contact-page .contact-band{background-color:#fff;background-image:none}.contact-page .contact-band:before{content:"";position:absolute;left:0;top:0;bottom:0;width:25%;background:url('sfondo-contatti.gif') left center/cover}.contact-page .contact-band{position:relative}.contact-page .contact-band-inner{position:relative}
/* historical fade-and-rise animation. Avoid JS hiding content permanently. */
.js-reveal{opacity:1;transform:none}.enhanced .js-reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}.enhanced .js-reveal.in-view{opacity:1;transform:none}
@media(max-width:800px){.davide-layout{grid-template-columns:1fr;min-height:690px}.davide-message{padding:90px 25px 160px}.davide-portrait{max-width:65%;opacity:.2}.davide-sign{margin:50px 0 0;width:260px}.numbers-grid{grid-template-columns:repeat(2,1fr);padding:28px 0}.competence-title h2{font-size:32px}.work-mix,.work-mix.right-photos{gap:12px}.contact-promise{gap:15px;padding:22px}.promise-visual img{height:470px}}
@media(max-width:600px){.inner-page .header-inner{min-height:56px}.inner-page .site-header{min-height:56px}.davide-hero,.davide-layout{min-height:590px}.davide-message{padding:80px 24px 165px}.davide-message h1{font-size:29px;margin-bottom:50px}.davide-message h2{font-size:26px}.davide-portrait{max-width:83%;opacity:.16}.numbers-grid b{font-size:40px}.numbers-grid small{font-size:10px}.inner-banner{height:275px}.inner-banner h1{font-size:36px}.banner-intro{margin-top:-35px;padding:30px 16px}.historic-work-content{border-width:5px}.work-mix,.work-mix.right-photos{grid-template-columns:1fr 1fr;gap:12px}.work-mix .result{grid-column:1/-1;grid-row:2}.work-mix.right-photos .result{grid-row:2}.work-mix img{height:190px}.interior-detail{min-height:480px;padding:70px 0}.interior-detail h2{font-size:30px;margin-bottom:45px}.photo-items img{height:190px;flex-basis:calc((100% - 4px)/2)}.contact-promise{grid-template-columns:1fr}.promise-copy h2{font-size:42px}.promise-visual img{height:330px}.contact-intro{padding:35px 20px}.contact-page .contact-band:before{display:none}}
@media(prefers-reduced-motion:reduce){.enhanced .js-reveal{opacity:1;transform:none;transition:none}}
