:root{--radius:6px}
/* Shared card language, deliberately scoped away from the protected hero. */
#portfolio,#servizi,#team{--card-radius:8px}
#portfolio>.shell,#servizi>.shell,#team>.shell{min-width:0}
.service-tile{min-height:0;border-radius:var(--radius,6px);box-shadow:none;background:#121212;gap:16px}
.service-tile--featured{min-height:0;background:linear-gradient(135deg,#1d1414,#121212 80%);border-color:#4c3534}
.service-tile--visual{min-height:240px}
.service-tile p{line-height:1.6}
.service-tile-media{border-radius:var(--radius,6px)}
.service-tile--featured::before{height:1px;background:#c6534e}
.service-tile-foot{padding-top:4px}
.team-carousel{--team-gap:24px}
.team-carousel .team-card{border-radius:var(--radius,6px);background:#111;border-color:#343434}
.team-carousel .team-copy{padding:22px 20px 23px}
.team-carousel .team-copy p{font-size:14px;line-height:1.6}
.team-carousel .team-tags span{border-radius:var(--radius,6px)}
.studio-contact .studio-card,.studio-contact .map-card,.contact .contact-panel,.contact .contact-form-card{border-radius:var(--radius,6px)!important;border:1px solid #343434!important;box-shadow:none!important;background:#111!important;overflow:hidden}
.contact .contact-panel{min-height:0!important;padding:clamp(24px,3vw,42px)!important}
.contact .contact-panel p,.contact .contact-point p,.studio-card p{line-height:1.65}
.contact .contact-form-card{padding:clamp(24px,3vw,42px)!important}
.contact input,.contact textarea,.contact select{border-radius:var(--radius,6px)!important;background:#0e0e0e!important}
.section:not(#top) .button{border-radius:var(--radius,6px);box-shadow:none}
#comunicazione-napoli details{border-radius:var(--radius,6px);box-shadow:none}
#portfolio .portfolio-controls{margin-top:30px;margin-bottom:24px}
#portfolio .portfolio-actions{padding-top:26px!important}
#portfolio .portfolio-intro,#servizi .editorial-heading,#team .editorial-heading{padding-bottom:0}
#portfolio .portfolio-intro{border-bottom:0}
@media(min-width:621px){.team-carousel .team-photo,.team-carousel .team-fallback{aspect-ratio:6/5}}
@media(max-width:620px){#portfolio>.shell{width:calc(100% - 32px)!important}.service-tile{border-radius:var(--radius,6px);padding:19px 17px}.service-tile--featured{min-height:0}.service-tile--visual{min-height:225px}.team-carousel{--team-gap:16px}.team-carousel .team-card{border-radius:var(--radius,6px)}.team-carousel .team-copy{padding:18px 14px}.team-carousel .team-copy p{font-size:13px}.studio-contact .studio-card,.studio-contact .map-card,.contact .contact-panel,.contact .contact-form-card{border-radius:var(--radius,6px)!important}.contact .contact-panel,.contact .contact-form-card{padding:22px!important}}
/* Project explanations and website collections share these foundations. */
.project-story-intro{max-width:76ch;margin:0 0 32px;color:#d3d3d3;font-size:18px;line-height:1.75}
.project-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:0 0 58px}
.project-story-block{min-width:0;padding:26px;border:1px solid #343434;border-radius:var(--radius,6px);background:#111}
.project-story-block h3{margin:0 0 16px;font:400 20px/1.3 var(--font-ui);color:#f2f2f2}
.project-story-block p{margin:0;font-size:16px;line-height:1.75;color:#c9c9c9}
.project-section-nav{display:flex;flex-wrap:wrap;gap:12px 22px;margin-top:28px;font:400 12px/1.5 var(--font-ui)}
.project-section-nav a{text-decoration:underline;text-underline-offset:5px;min-height:40px;display:inline-flex;align-items:center}
.website-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:start}
.website-project-card{min-width:0;overflow:hidden;border:1px solid #343434;border-radius:var(--radius,6px);background:#111}
.website-project-screen{position:relative;display:block;background:#181818;border-bottom:1px solid #343434}
.website-project-screen img{display:block;width:100%;aspect-ratio:16/10;height:auto;object-fit:contain;object-position:center}
.website-project-screen-label{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 20px;background:#171717;color:#ddd;font:400 12px/1.5 var(--font-ui)}
.website-project-body{padding:26px}
.website-project-body h2,.website-project-body h3{margin:0 0 15px;font:900 28px/1.12 var(--font-title);letter-spacing:-.025em}
.website-project-body>p{margin:0 0 22px;font-size:16px;line-height:1.7;color:#ccc}
.website-project-body dl{display:grid;gap:10px;margin:0 0 24px}
.website-project-body dt{margin-top:8px;color:#e78680;font:400 11px/1.5 var(--font-ui);letter-spacing:.05em;text-transform:uppercase}
.website-project-body dd{margin:0;color:#c8c8c8;font-size:15px;line-height:1.7}
.website-project-actions{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center}
.website-project-actions>a:last-child{font-size:14px;text-decoration:underline;text-underline-offset:5px}
.website-project-card a:focus-visible{outline:3px solid #fff;outline-offset:-4px}
.websites-service-examples{padding-top:56px}
.websites-service-examples>h2{font:400 28px/1.25 var(--font-ui);margin:0 0 24px}
.website-project-card--compact .website-project-body{padding:22px}
.website-project-card--compact .website-project-body h3{font-size:24px}
.project-gallery figure{overflow:hidden;border:1px solid #303030;border-radius:var(--radius,6px)}
.public-team img,.public-service-list article{border-radius:var(--radius,6px)}
#portfolioDialog .viewer-case-study{display:grid;gap:10px;margin-top:22px}
#portfolioDialog .viewer-case-study details{padding:13px 14px;border:1px solid #3a3a3a;border-radius:var(--radius,6px);background:#141414}
#portfolioDialog .viewer-case-study summary{font:400 13px/1.5 var(--font-ui);cursor:pointer;color:#eee}
#portfolioDialog .viewer-case-study p{margin:14px 0 0;font:300 14px/1.65 var(--font-body);color:#ccc}
#portfolioDialog .viewer-case-link{display:inline-flex;align-items:center;min-height:44px;margin-top:18px;color:#eee;font:400 12px/1.5 var(--font-ui);text-decoration:underline;text-underline-offset:5px}
@media(max-width:980px){.project-story-grid{grid-template-columns:1fr;gap:16px}.project-story-block{padding:24px}.website-project-grid{gap:22px}.website-project-body{padding:22px}}
@media(max-width:620px){.website-project-grid{grid-template-columns:1fr;gap:24px}.website-project-card,.project-story-block,.project-gallery figure{border-radius:var(--radius,6px)}.project-story-intro{font-size:16px;line-height:1.7}.project-story-grid{margin-bottom:40px}.project-story-block{padding:22px}.project-story-block p{font-size:15px}.website-project-body{padding:22px}.website-project-body h2{font-size:26px}.website-project-body>p,.website-project-body dd{font-size:15px}}

.project-story-heading{margin:0 0 24px;font:400 clamp(24px,3vw,36px)/1.25 var(--font-ui);letter-spacing:-.025em}

@media(max-width:640px){.project-header{flex-wrap:wrap;gap:8px;padding:18px 0 12px}.project-header nav{width:100%;flex-direction:row;flex-wrap:wrap;gap:6px 24px;font-size:12px}.project-header .project-brand{font-size:17px}.project-breadcrumb{padding:24px 0}.website-overview-page .project-description{font-size:17px;line-height:1.7}}

/* Public surfaces and controls share a single radius, at every breakpoint. */
:root body :is(button,.button,[role="button"],.tab-chip,.portfolio-card,.service-tile,.service-card,.team-card,.studio-card,.map-card,.contact-panel,.contact-form-card,.site-menu,.work-viewer,.viewer-project-picker select,.viewer-thumbnail,.viewer-image-frame,.viewer-case-study details,.service-tile-media,.card-tag,.team-tags span,.project-tags li,.project-story-block,.project-preview,.project-lightbox,.project-gallery figure,.website-project-card,.public-team article,.public-service-list article,.portfolio-site-screen,details,input:not([type="checkbox"]):not([type="radio"]),textarea,select){border-radius:var(--radius)!important}
:root body :is(button,.button,.tab-chip,summary){-webkit-tap-highlight-color:transparent}
:root body :is(button,.button,.tab-chip,summary,a):focus-visible{outline:2px solid #f1a19b;outline-offset:4px}
:root body :is(button,.button,.tab-chip){min-height:44px!important}
/* A restrained reading width replaces the old full-width, oversized desktop rails. */
body .section:not(#top){padding-top:64px;padding-bottom:20px}
body .section:not(#top)>.shell{width:min(1280px,calc(100% - 64px))!important;max-width:1280px!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}
body #team>.shell{max-width:1100px!important}
body .section:not(#top) :is(.editorial-heading,.portfolio-intro){margin-bottom:28px!important}
body .section:not(#top) :is(.editorial-heading,.portfolio-intro) h2{font-size:clamp(36px,4.2vw,58px)!important;line-height:1.06!important;max-width:1000px!important;letter-spacing:-.04em}
body .section:not(#top) .heading-lead{font-size:clamp(24px,2.3vw,31px)!important;line-height:1.16!important;max-width:36ch;margin-top:22px!important}
body .section:not(#top) .heading-copy{font-size:17px!important;line-height:1.65!important;max-width:72ch!important;margin-top:20px!important}
body .site-header .header-inner{width:min(1280px,calc(100% - 48px))!important;padding-inline:0!important;margin-inline:auto!important}
body .site-header .brand img{height:54px}
body .site-footer .footer-inner{width:min(1280px,calc(100% - 64px))!important;max-width:1280px!important;padding-inline:0!important;margin-inline:auto!important}
body #servizi .service-spotlight{margin-top:24px}
body #servizi .services-grid{margin-top:18px!important}
body #servizi .service-spotlight-grid,body #servizi .services-grid{grid-auto-rows:1fr;align-items:stretch}
body #servizi .service-tile{height:100%;min-height:0;padding:24px}
body #servizi .service-tile--visual{min-height:230px}
body #servizi .service-tile h3{font-size:27px}
body .studio-contact-grid,body .contact-grid{gap:24px!important}
body .studio-card,body .map-card{min-height:0!important}
@media(max-width:980px){body .section:not(#top)>.shell{width:calc(100% - 40px)!important}body .site-header .header-inner{width:calc(100% - 40px)!important}}
@media(max-width:620px){body .section:not(#top){padding-top:48px;padding-bottom:16px}body .section:not(#top)>.shell{width:calc(100% - 32px)!important}body .section:not(#top) :is(.editorial-heading,.portfolio-intro) h2{font-size:clamp(32px,8.2vw,42px)!important}body .section:not(#top) .heading-copy{font-size:16px!important;margin-top:18px!important}body #servizi .service-tile{padding:19px 17px}body #servizi .service-tile h3{font-size:clamp(19px,5vw,23px)}body .site-header .header-inner{width:calc(100% - 32px)!important}body .site-footer .footer-inner{width:calc(100% - 32px)!important}body .studio-contact-grid,body .contact-grid{gap:18px!important}}

body .section#team>.shell{max-width:1100px!important}



:root body :is(.legal-aside,.legal-card,.legal-status-item){border-radius:var(--radius)!important}
