:root{--blue:#06375d;--pink:#e94491;--grey:#d9d9d9;--paper:#f4f1eb;--pad:clamp(24px,4vw,80px)}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth}body{margin:0;background:var(--blue);color:var(--paper);font-family:'Louis George Cafe',sans-serif;display:grid;grid-template-rows:clamp(100px,18svh,180px) minmax(450px,1fr) minmax(110px,14svh);min-height:100svh}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button,a,summary{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid currentColor;outline-offset:6px}header{display:flex;align-items:center;gap:24px;padding:24px 4%;position:relative}.studio-label{margin-right:auto;font-size:11px;line-height:1.6;letter-spacing:1.5px;text-transform:uppercase}nav{display:flex;align-items:center;gap:clamp(16px,2vw,32px)}nav a{min-height:44px;display:flex;align-items:center;position:relative;font-size:15px}nav a:after{content:'';position:absolute;bottom:1px;left:0;right:0;height:1px;background:var(--pink);transform:scaleX(0);transform-origin:left;transition:transform .2s}nav a:hover:after,nav a[aria-current]:after{transform:scaleX(1)}.instagram,.language{display:grid;place-items:center;min-width:44px;min-height:44px}.instagram svg{width:22px;height:22px}.language{border-left:1px solid #ffffff40;padding-left:22px;font-size:12px;letter-spacing:1px}.menu{display:none}.central{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;outline:none}.panel{margin:0;padding:var(--pad);min-width:0;display:flex;flex-direction:column;justify-content:center}.pink{background:var(--pink);color:white}.blue{background:var(--blue);color:var(--paper)}.panel-content{width:100%;max-width:700px;margin:auto;min-width:0}.panel h1,.panel h2{font-weight:400;margin:0;line-height:1.18;letter-spacing:-.025em;font-size:clamp(32px,4vw,70px);overflow-wrap:anywhere}.script{font-family:'Brityna Hashim',cursive;font-style:italic!important;font-size:clamp(48px,6vw,106px)!important;line-height:1.3!important;letter-spacing:0!important}body[data-view=home] .panel,body[data-view=studio] .panel:first-child,body[data-view=approccio] .panel:last-child{text-align:center}.prose{font-size:clamp(18px,1.9vw,30px);line-height:1.65}.prose p{margin:0}.prose p+p{margin-top:24px}.prose a{display:block;min-height:44px;overflow-wrap:anywhere}.service h2{font-size:clamp(25px,2.65vw,43px);line-height:1.22}.service p{font-size:clamp(16px,1.45vw,23px);line-height:1.65;margin:18px 0 0}.service+.service{margin-top:30px;padding-top:30px;border-top:1px solid #ffffff45}.collaborations{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;justify-content:center;gap:28px;font-size:clamp(22px,2.8vw,44px);line-height:1.5}.collaborations li{overflow-wrap:anywhere}.photo{padding:24px;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:18px;min-height:420px;background:var(--blue)}.photo>a{display:flex;align-items:center;justify-content:center;min-height:0;max-height:60svh}.photo img{display:block;width:100%;height:100%;min-height:0;object-fit:contain}.photo figcaption{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px;line-height:1.5;letter-spacing:.3px}.photo button{background:none;border:1px solid #ffffff60;border-radius:50%;width:44px;height:44px;flex-shrink:0;font-size:22px}.photo a:hover img{filter:brightness(1.04)}footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;padding-bottom:env(safe-area-inset-bottom)}.footer-logo{background:var(--paper);display:flex;align-items:center;justify-content:center;padding:24px 8%}.footer-logo img{display:block;width:min(100%,390px);height:auto}.footer-contact{margin:0;background:var(--pink);color:var(--blue);display:flex;align-content:center;text-align:center;padding:18px 6%}.footer-contact summary{min-height:60px;list-style:none;display:flex;align-items:center;justify-content:center;gap:18px;font-size:18px;letter-spacing:.7px;cursor:pointer}.footer-contact summary::-webkit-details-marker{display:none}.footer-contact[open] summary span{transform:rotate(45deg)}.footer-contact>div{font-size:14px;line-height:1.6;padding:8px 0 14px;overflow-wrap:anywhere}.footer-contact p{margin:6px 0}.footer-contact a{display:block;min-height:40px;padding:8px 0}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.skip{position:fixed;top:-100px;left:12px;padding:15px;background:var(--paper);color:var(--blue);z-index:40}.skip:focus{top:12px}dialog{width:min(1080px,94vw);max-height:94vh;max-height:94dvh;border:1px solid #ffffff50;padding:18px;background:var(--blue);color:white}dialog::backdrop{background:#00172beb}dialog form{display:flex;justify-content:flex-end;margin-bottom:12px}dialog button{background:none;border:1px solid #ffffff60;min-width:44px;min-height:44px;font-size:24px}dialog>img{display:block;width:100%;height:auto;max-height:calc(94vh - 170px);max-height:calc(94dvh - 170px);object-fit:contain}.gallery-controls{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:12px;font-size:13px}
@media(max-width:1100px){header{gap:14px}.studio-label{font-size:9px;max-width:160px}nav{gap:16px}nav a{font-size:13px}.language{padding-left:14px}.panel{padding:32px}.collaborations{font-size:clamp(22px,2.6vw,32px)}}
@media(max-width:900px){body{grid-template-rows:110px minmax(430px,1fr) minmax(100px,auto)}.menu{display:flex;align-items:center;justify-content:center;gap:12px;margin-left:auto;border:0;background:none;min-width:60px;min-height:44px;font-size:13px}header{padding:22px 5%}nav{display:none;position:absolute;top:100%;left:0;right:0;z-index:10;padding:16px 5% 24px;background:var(--blue);border-top:1px solid #ffffff30;border-bottom:1px solid #ffffff30;box-shadow:0 16px 30px #0002}nav.open{display:grid;grid-template-columns:1fr 1fr;gap:8px 24px}nav a{font-size:16px}.panel{padding:28px}.panel h1,.panel h2{font-size:clamp(28px,4vw,44px)}.prose{font-size:19px}.service h2{font-size:26px}.service p{font-size:17px}.collaborations{font-size:24px}.photo{padding:20px;min-height:380px}}
@media(max-width:600px){body{grid-template-rows:96px auto auto}.studio-label{font-size:8px;letter-spacing:1px}.language{font-size:11px;min-width:36px;padding-left:12px}header{gap:9px;padding:18px 5%}.instagram{min-width:36px}.central{min-height:380px}.panel{padding:32px 16px}.panel h1,.panel h2{font-size:clamp(23px,5.5vw,32px);line-height:1.25}.script{font-size:clamp(32px,8vw,49px)!important;line-height:1.4!important}.prose{font-size:16px;line-height:1.65}.prose p+p{margin-top:20px}.service h2{font-size:clamp(20px,4.8vw,28px)}.service p{font-size:15px;line-height:1.6;margin-top:15px}.service+.service{padding-top:24px;margin-top:24px}.collaborations{font-size:clamp(17px,4.3vw,25px);gap:26px;line-height:1.5}.photo{padding:14px 12px;min-height:350px;grid-template-rows:minmax(220px,1fr) auto}.photo>a{max-height:none}.photo figcaption{font-size:10px;flex-wrap:wrap;min-height:90px;align-content:space-between}.photo button{width:40px;height:40px;margin-left:auto}.footer-logo{padding:24px 12px}.footer-contact{padding:14px 10px}.footer-contact summary{font-size:14px;gap:12px}.footer-contact>div{font-size:12px}.footer-contact>div a{font-size:11px}}
@media(max-width:340px){.panel{padding:28px 12px}.prose{font-size:15px}.service h2{font-size:21px}.service p{font-size:14px}.collaborations{font-size:18px}.studio-label{max-width:110px}.menu{gap:6px;min-width:50px}.language{padding-left:8px}}
@media(max-height:500px) and (min-width:601px){body{grid-template-rows:84px minmax(340px,1fr) minmax(100px,auto)}.photo>a{max-height:none}}
@media(prefers-reduced-motion:no-preference){.central.arriving .panel-content,.central.arriving .photo{animation:arrive .22s ease-out}@keyframes arrive{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
:root{--pink:#cd327e}.footer-contact{display:block}.footer-contact summary{width:100%;min-height:72px}.footer-contact[open] summary{min-height:44px}@media(max-width:600px){.footer-contact summary{min-height:60px}}
.collaborations{justify-content:flex-start}
/* Contact details float above the footer without changing the page geometry. */
footer{position:relative;overflow:visible}.footer-contact{position:relative}.footer-contact>div{position:absolute;bottom:calc(100% + 12px);right:24px;left:24px;z-index:20;background:var(--paper);color:var(--blue);padding:24px;border:1px solid #06375d25;box-shadow:0 12px 36px #001b3030;text-align:left;border-radius:4px}.footer-contact>div:after{content:'';position:absolute;top:100%;left:50%;margin-left:-8px;border:8px solid transparent;border-top-color:var(--paper)}.footer-contact[open] summary{min-height:72px}.footer-contact>div a{min-height:44px}.footer-contact>div p:first-child{font-size:16px}.footer-contact>div p:last-child{font-size:12px}@media(max-width:600px){.footer-contact>div{left:auto;right:12px;width:min(340px,calc(100vw - 24px));padding:20px}.footer-contact>div:after{left:75%}.footer-contact[open] summary{min-height:60px}.footer-contact>div a{font-size:14px}}
.panel-content{overflow-wrap:anywhere}.panel-content p,.panel-content h1,.panel-content h2,.collaborations li{white-space:pre-line}
/* Gallery keeps the same three bands within the available screen height. */
body[data-view="progetti"]{height:100vh;height:100svh;min-height:0;grid-template-rows:clamp(72px,16svh,140px) minmax(0,1fr) clamp(72px,14svh,116px)}body[data-view="progetti"] header{padding:12px 4%;min-height:0}body[data-view="progetti"] .central{min-height:0;height:100%;overflow:visible}body[data-view="progetti"] .photo{min-height:0;height:100%;padding:clamp(10px,2vw,28px);gap:clamp(8px,1.5vh,16px);grid-template-rows:minmax(0,1fr) auto}body[data-view="progetti"] .photo:first-of-type{background:var(--pink);color:white}body[data-view="progetti"] .photo:nth-of-type(2){background:var(--blue);color:var(--paper)}body[data-view="progetti"] .photo>a{width:100%;height:100%;min-height:0;max-height:none;overflow:hidden}body[data-view="progetti"] .photo img{width:100%;height:100%;min-height:0;max-width:100%;max-height:100%;object-fit:contain}body[data-view="progetti"] .photo figcaption{min-height:44px;flex-wrap:nowrap;gap:10px;align-content:normal;font-size:clamp(10px,1vw,14px)}body[data-view="progetti"] .photo button{width:40px;height:40px;min-height:40px;margin:0}body[data-view="progetti"] footer{min-height:0;height:100%}body[data-view="progetti"] .footer-logo{padding:12px 6%;min-height:0}body[data-view="progetti"] .footer-logo img{max-height:100%;object-fit:contain}body[data-view="progetti"] .footer-contact{padding:8px 12px;min-height:0;align-content:center}body[data-view="progetti"] .footer-contact summary,body[data-view="progetti"] .footer-contact[open] summary{min-height:48px}body[data-view="progetti"] .footer-contact>div{max-height:calc(100svh - 100px);overflow:auto}@media(max-width:600px){body[data-view="progetti"] .photo figcaption{flex-wrap:wrap;align-content:center;gap:4px;min-height:68px;line-height:1.3}body[data-view="progetti"] .photo button{margin-left:auto;width:36px;height:36px;min-height:36px}body[data-view="progetti"] .photo{padding:12px;gap:8px}}@media(max-height:400px){body[data-view="progetti"]{grid-template-rows:68px minmax(0,1fr) 64px}body[data-view="progetti"] .photo{padding:8px 14px;gap:4px}body[data-view="progetti"] .photo figcaption{min-height:36px;flex-wrap:nowrap;font-size:10px}body[data-view="progetti"] .photo button{width:32px;height:32px;min-height:32px}body[data-view="progetti"] .footer-contact summary{min-height:44px;font-size:14px}}
/* Eight photos occupy the original two central tiles, two at a time. */
body[data-view="progetti"] .photo[hidden]{display:none!important}
body[data-view="progetti"] .photo:nth-of-type(odd){background:var(--pink);color:white}
body[data-view="progetti"] .photo:nth-of-type(even){background:var(--blue);color:var(--paper)}
body[data-view="progetti"] .photo figcaption{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;min-height:0;align-content:end}
.photo-caption{display:block;overflow-wrap:anywhere;min-height:2.6em;line-height:1.3}
.carousel-actions{display:flex;align-items:center;gap:8px;min-width:0;justify-content:flex-end}
body[data-view="progetti"] .carousel-actions button{width:40px;height:40px;min-height:40px;font-size:20px;display:grid;place-items:center;padding:0}
.carousel-count{font-size:12px;margin-right:auto;font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:600px){body[data-view="progetti"] .carousel-actions{gap:6px}body[data-view="progetti"] .carousel-actions button{width:36px;height:36px;min-height:36px}.carousel-count{font-size:10px}}
@media(max-height:400px){body[data-view="progetti"] .photo figcaption{gap:4px}.photo-caption{font-size:9px;min-height:2.6em}body[data-view="progetti"] .carousel-actions button{width:32px;height:32px;min-height:32px}.carousel-actions{gap:6px}}
/* Edge-to-edge photographs with captions and controls over the image. */
body[data-view="progetti"] .photo{position:relative;display:block;padding:0;gap:0;overflow:hidden;isolation:isolate}
body[data-view="progetti"] .photo>a{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none}
body[data-view="progetti"] .photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
body[data-view="progetti"] .photo a:hover img{filter:none}
body[data-view="progetti"] .photo figcaption{position:absolute;inset:auto 0 0;z-index:1;display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:64px clamp(14px,2.3vw,36px) clamp(14px,2.3vw,28px);margin:0;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.48) 40%,rgba(0,0,0,.78));pointer-events:none;text-shadow:0 1px 3px #0008}
body[data-view="progetti"] .photo-caption{min-height:2.6em;font-size:clamp(11px,1.2vw,17px);line-height:1.3}
body[data-view="progetti"] .carousel-actions{gap:8px;pointer-events:auto}
body[data-view="progetti"] .carousel-actions button{background:rgba(0,0,0,.25);border:1px solid #ffffffb3;color:white;width:44px;height:44px;min-height:44px}
body[data-view="progetti"] .carousel-count{font-size:12px}
@media(max-width:600px){body[data-view="progetti"] .photo figcaption{padding:44px 10px 12px;gap:10px}body[data-view="progetti"] .carousel-actions{gap:5px}body[data-view="progetti"] .carousel-actions button{width:40px;height:40px;min-height:40px}body[data-view="progetti"] .photo-caption{font-size:11px;min-height:3.9em}body[data-view="progetti"] .carousel-count{font-size:11px}}
@media(max-height:400px){body[data-view="progetti"] .photo figcaption{padding:28px 12px 8px;gap:5px}body[data-view="progetti"] .photo-caption{font-size:11px;min-height:2.6em}body[data-view="progetti"] .carousel-actions button{width:36px;height:36px;min-height:36px}}
/* Only the caption is visible on the tiles; controls belong to the lightbox. */
body[data-view="progetti"] .photo figcaption{gap:0;padding:48px clamp(14px,2.3vw,36px) 24px}
body[data-view="progetti"] .photo-caption{min-height:0}
dialog .gallery-controls{display:grid;grid-template-columns:44px minmax(0,1fr) 44px 44px;gap:12px}
dialog .gallery-controls span{text-align:center}
@media(max-width:600px){body[data-view="progetti"] .photo figcaption{padding:36px 12px 16px}body[data-view="progetti"] .photo-caption{font-size:12px;min-height:0}dialog .gallery-controls{gap:8px}}
@media(max-height:400px){body[data-view="progetti"] .photo figcaption{padding:24px 12px 12px}}
