/* Referenze reali e servizi web agency. */
:root{--agency-ink:#242c2b;--agency-muted:#646d69}.agency-services{padding:70px 0 30px;margin-top:55px;border-top:1px solid var(--line)}.agency-heading{display:grid;grid-template-columns:1.2fr .8fr;align-items:end;gap:45px;margin-bottom:40px}.agency-eyebrow{font-size:12px;letter-spacing:1.8px;color:#68746e}.agency-heading h2{font-size:clamp(40px,5vw,64px);font-weight:500;line-height:1.08;letter-spacing:-2.7px;margin:22px 0 0;color:var(--agency-ink)}.agency-heading h2>span{color:#768078}.agency-heading>p{font-size:16px;line-height:1.9;color:var(--agency-muted);margin:0 0 5px;max-width:360px}.agency-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}.agency-service-card{padding:27px 28px 0;border-radius:15px;background:var(--tone);border:1px solid #00000007;min-width:0;color:#292f2c}.tone-rose{--tone:#f0e5e0}.tone-violet{--tone:#e9e7f0}.tone-sand{--tone:#efe8da}.tone-mint{--tone:#e2ece4}.tone-peach{--tone:#f2e3d7}.tone-blue{--tone:#e2ebf1}.agency-service-top{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:11px;letter-spacing:1px;color:#656d66}.agency-service-top>span:last-child{font-size:25px}.service-visual{display:block;width:100%;height:auto;aspect-ratio:1.8;margin:20px 0 27px;object-fit:contain}.agency-service-subtitle{font-size:12px;color:#596259}.agency-service-card h3{font-size:30px;font-weight:500;letter-spacing:-1px;line-height:1.2;margin:12px 0 15px}.agency-service-card>p{font-size:15px;line-height:1.9;margin:0 0 25px;max-width:430px;color:#535f56}.agency-service-card details{border-top:1px solid #00000014;border-bottom:1px solid #00000014}.agency-service-card summary{display:flex;justify-content:space-between;align-items:center;gap:20px;cursor:pointer;list-style:none;font-size:13px;padding:17px 0;min-height:50px}.agency-service-card summary::-webkit-details-marker{display:none}.agency-service-card summary>span{font-size:23px;transition:transform .2s}.agency-service-card details[open] summary>span{transform:rotate(45deg)}.agency-service-card ul{margin:0;padding:0 0 20px;list-style:none}.agency-service-card li{font-size:13px;line-height:1.9;padding:7px 0 7px 19px;position:relative;color:#535f56}.agency-service-card li:before{content:'·';position:absolute;left:0}.agency-service-contact{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px 0;font-size:14px;font-weight:500;min-height:62px}.agency-service-contact>span{font-size:23px}.agency-services-foot{display:flex;align-items:center;justify-content:space-between;gap:35px;padding:27px 0 0}.agency-services-foot p{font-size:13px;line-height:1.9;max-width:620px;color:var(--muted);margin:0}.agency-services-foot>a{font-size:12px;line-height:1.8;white-space:nowrap}.service-swipe-hint{display:none}.real-case-intro{padding:30px 0 10px}.case-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px}.case-chips>span{padding:8px 12px;border:1px solid #deded9;border-radius:25px;font-size:12px;background:white}.real-case-intro>h3{font-size:32px;letter-spacing:-1px;font-weight:500;margin:0 0 16px}.real-case-intro>p{font-size:16px;line-height:1.9;color:var(--muted);max-width:730px}.case-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:30px 0}.case-values article{border-top:1px solid var(--line);padding-top:20px}.case-values article>span{font-size:12px;color:#828279}.case-values h4{font-size:18px;font-weight:500;line-height:1.35;letter-spacing:-.4px;margin:18px 0 12px}.case-values p{font-size:14px;line-height:1.9;color:var(--muted);margin:0}.case-capture-section{padding:0 0 25px}.case-capture-section .gallery-label{font-size:13px;line-height:1.6;gap:20px}.case-capture-scroll{height:530px;border:1px solid #dadbd7;border-radius:10px;overflow:auto;overscroll-behavior:contain;background:#e3e4df;padding:18px;scrollbar-width:thin}.case-capture-scroll>img{width:min(100%,660px);height:auto;margin:0 auto;display:block}.capture-note{font-size:12px;line-height:1.9;color:var(--muted);margin:14px 0 22px}.capture-top img{object-position:center top}.capture-process img{object-position:center 23%}.capture-quality img{object-position:center 67%}.capture-rgr-catalog img{object-position:center 42%}.capture-rgr-contact img{object-position:center 84%}.capture-tolve-method img{object-position:center 25%}.capture-tolve-products img{object-position:center 66%}.project-card:has([alt*="Costruzioni"]),.project-card:has([alt*="R.G.R."]),.project-card:has([alt*="Tenuta"]){border-color:#d7d8d0}.project-cover img[src*="/cases/"]{object-fit:cover;object-position:center}.web-browser>img[src*="/cases/"]{object-fit:cover;object-position:center;aspect-ratio:1.43;background:#0b1831}.web-browser:has(img[src*="/cases/"]) .web-open-label{bottom:12px;left:auto;right:12px;padding:9px 14px}.project-story .gallery-frame img{height:auto;aspect-ratio:1.43;object-fit:cover}.project-story .gallery-frame[class*="capture-"] img{height:auto;aspect-ratio:1.43;object-fit:cover}.app-portrait{display:none}
@media(min-width:701px){.personal-portrait{overflow:hidden}body{padding:30px 35px 0}.header,main,.footer{max-width:1180px}.header{padding-left:4.5%;padding-right:4.5%;gap:20px}.desktop-nav{font-size:13px;gap:18px}.header-person span{font-size:10px}.header-person strong{font-size:12px}.personal-hero h1{font-size:clamp(78px,10vw,138px)}.personal-composition{grid-template-columns:1fr 1.55fr .85fr;gap:22px;min-height:520px}.personal-portrait img{height:550px;width:100%;object-fit:contain;object-position:center bottom}.personal-role{padding-bottom:40px}.personal-role h2{font-size:26px;letter-spacing:-1px}.personal-role p{font-size:16px;line-height:1.8;max-width:280px}.personal-links .button{font-size:13px;min-width:200px;min-height:47px;padding:13px 17px}.personal-links>.text-small{font-size:12px}.personal-intro{font-size:12px}.hero-foot{font-size:12px}.web-title-row{font-size:12px}.web-title-row .studio-kicker,.web-index{font-size:11px}.web-showcase>h2{font-size:clamp(48px,5.5vw,72px);letter-spacing:-3px}.web-showcase-copy h3{font-size:31px}.web-showcase-copy p{font-size:16px}.web-showcase-copy li{font-size:14px;padding:13px 0}.web-showcase-copy small{font-size:11px}.editorial-heading p{font-size:16px;max-width:650px}.tab{font-size:14px;padding:12px 16px}.search{min-width:260px}.search input{font-size:14px;padding:14px 15px 14px 37px}.result-info{font-size:12px}.card-title h3{font-size:25px}.project-card p{font-size:15px;line-height:1.8}.card-meta{font-size:12px}.approach-intro p{font-size:15px}.approach-steps h3{font-size:21px}.approach-steps p{font-size:15px}.closing-section p{font-size:16px}.project-story>h2{font-size:52px}.story-description,.story-section p{font-size:16px}.plain-benefits li{font-size:15px}.story-credit span{font-size:12px}.gallery-controls{font-size:13px}dialog{width:min(930px,calc(100% - 90px))}.profile-info>p{font-size:17px}.contact-links a{font-size:15px}}
@media(min-width:701px) and (max-width:1100px){.header-person{display:none}.brand-logo{width:210px}.desktop-nav{gap:14px;font-size:12px}.personal-links .button{min-width:160px;font-size:11px;padding:12px}.personal-role h2{font-size:23px}.personal-role p{font-size:14px}.personal-portrait img{height:510px}.personal-composition{min-height:480px}.personal-composition{grid-template-columns:1fr 1.5fr .85fr;gap:17px}.web-showcase-layout{gap:30px}.web-showcase-copy h3{font-size:26px}.web-showcase-copy p{font-size:15px}.toolbar{flex-direction:column;align-items:stretch}.search{width:100%}.agency-service-card{padding:23px 22px 0}.agency-service-card h3{font-size:27px}}
@media(max-width:700px){.header-person{display:block}.personal-hero{display:none}.mobile-welcome{padding-top:22px}.app-person strong{font-size:15px}.app-person small{font-size:11px;line-height:1.6}.app-intro{display:grid;grid-template-columns:minmax(0,1fr) 43%;gap:0;align-items:end;padding-top:25px;margin-bottom:0}.app-intro>div:first-child{padding-bottom:22px;z-index:1}.app-intro span{font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:var(--muted)}.app-intro h1{font-size:clamp(29px,8.3vw,37px);line-height:1.07;letter-spacing:-1.3px;margin:17px 0 15px}.app-intro p{font-size:14px;line-height:1.7;max-width:180px;margin:0}.app-portrait{display:flex;align-items:end;height:245px;margin-left:-5px;margin-right:-7px}.app-portrait img{width:100%;height:100%;object-fit:contain;object-position:center bottom;mask-image:linear-gradient(#000 89%,transparent)}.app-contact-actions{margin-top:8px}.app-contact-actions .button{font-size:12px;min-height:46px}.app-section-label h2{font-size:18px}.app-section-label>span{font-size:12px}.featured-card small{font-size:11px}.featured-card strong{font-size:22px}.featured-card>span{padding:16px}.featured-card>img{aspect-ratio:1.43}.deck-controls{font-size:13px}.editorial-heading h2{font-size:29px;line-height:1.2}.editorial-heading p{font-size:14px;max-width:100%;line-height:1.8}.tab{font-size:13px;min-height:44px}.search input{font-size:16px}.result-info{font-size:11px;line-height:1.7}.result-info span:last-child{max-width:160px}.card-title h3{font-size:24px}.card-meta{font-size:11px;line-height:1.7}.project-card p{font-size:14px;line-height:1.8}.project-cover{aspect-ratio:1.43}.agency-services{padding-top:37px;margin-top:35px}.agency-heading{display:block;margin-bottom:22px}.agency-eyebrow{font-size:11px;letter-spacing:1.3px}.agency-heading h2{font-size:41px;letter-spacing:-1.9px;line-height:1.1;margin-top:18px}.agency-heading>p{font-size:15px;line-height:1.8;margin:22px 0 0;max-width:100%}.service-swipe-hint{display:flex;justify-content:space-between;gap:15px;font-size:12px;color:var(--muted);margin:25px 0 14px}.agency-service-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:90%;gap:13px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-left:20px;margin:0 -20px;padding:0 20px 12px;overscroll-behavior-x:contain;scrollbar-width:thin}.agency-service-card{scroll-snap-align:start;padding:22px 22px 0;min-width:0;border-radius:13px}.agency-service-card h3{font-size:29px;letter-spacing:-.9px;line-height:1.15}.agency-service-card>p{font-size:14px;line-height:1.8;margin-bottom:22px}.agency-service-top{font-size:10px}.service-visual{margin:15px 0 24px}.agency-service-subtitle{font-size:12px}.agency-service-card summary{font-size:13px;min-height:50px}.agency-service-card li{font-size:13px}.agency-service-contact{font-size:14px}.agency-services-foot{display:block;padding-top:20px}.agency-services-foot p{font-size:13px;line-height:1.8}.agency-services-foot>a{display:block;margin-top:16px;font-size:13px}.real-case-intro{padding-top:25px}.case-chips{margin-bottom:25px;gap:7px}.case-chips>span{font-size:11px;padding:8px 11px}.real-case-intro>h3{font-size:28px}.real-case-intro>p{font-size:15px;line-height:1.8}.case-values{grid-template-columns:1fr;gap:0;margin-bottom:20px}.case-values article{display:grid;grid-template-columns:25px 1fr;gap:0 12px;padding:20px 0}.case-values article>span{font-size:11px;padding-top:4px}.case-values h4{font-size:19px;margin:0 0 10px;line-height:1.35}.case-values p{font-size:14px;grid-column:2;line-height:1.8}.case-capture-scroll{height:420px;padding:8px;border-radius:8px}.case-capture-section .gallery-label{font-size:12px;flex-wrap:wrap;gap:6px}.capture-note{font-size:11px;line-height:1.8}.case-capture-section>.button{width:100%;font-size:13px}.story-description,.story-section p{font-size:15px}.story-section h3{font-size:28px}.plain-benefits li{font-size:14px;line-height:1.8}.story-eyebrow{font-size:11px}.story-credit span{font-size:10px}.gallery-controls,.gallery-label{font-size:12px}.story-referral strong{font-size:14px}.story-referral p{font-size:12px}.story-contact-bar .button{font-size:12px}.closing-section p{font-size:15px}.closing-person{font-size:12px}.approach-intro p,.approach-steps p{font-size:14px;line-height:1.8}.approach-steps h3{font-size:19px}.profile-info>p{font-size:16px}.contact-links a{font-size:14px}.person p{font-size:12px}.company{font-size:12px;line-height:1.9}.bottom-nav a{font-size:11px}}
@media(max-width:350px){.app-intro{grid-template-columns:minmax(0,1fr) 42%}.app-portrait{height:260px}.app-intro h1{font-size:28px}.app-intro p{font-size:13px}.agency-heading h2{font-size:36px}.agency-service-grid{grid-auto-columns:94%}.agency-service-card{padding:20px 18px 0}.agency-service-card h3{font-size:26px}.agency-service-subtitle{font-size:11px}.card-title h3{font-size:22px}}
@media(prefers-reduced-motion:reduce){.agency-service-card summary>span{transition:none}}
/* Navigazione sempre raggiungibile, senza alterare lo scroll nativo. */
html{scroll-behavior:smooth;scroll-padding-top:0}#catalog,#websites,#services,#approach{scroll-margin-top:130px}.header{position:fixed;left:50%;transform:translateX(-50%);top:18px;width:calc(100% - 70px);z-index:20;background:#fafafae8;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid #e5e5e5bb;border-radius:13px;box-shadow:0 5px 18px #17171704}.header .brand{background:transparent}.header a,.header button{background-color:transparent}.desktop-nav a{transition:color .2s}.desktop-nav a:hover{color:#913d3d}.desktop-nav a.active{color:#171717;text-decoration:underline;text-underline-offset:7px}.header-person{background:transparent}body:not(.studio-body){padding-top:135px}.personal-hero{padding-top:8px}
@media(max-width:700px){html{scroll-padding-top:0}#catalog,#websites,#services,#approach{scroll-margin-top:88px}.header{left:0;transform:none;top:0;width:100%;max-width:100%;min-height:65px;border-radius:0;border-width:0 0 1px;box-shadow:none;background:#fafafae8;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}body:not(.studio-body){padding-top:65px}.catalog-head .toolbar{top:65px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.desktop-nav a{transition:none}}

@media(max-width:700px){.bottom-nav a{width:24%;font-size:10px}.bottom-nav a>span{font-size:23px}.bottom-nav a>img{width:25px;height:25px}}

@media(min-width:701px) and (max-width:850px){.brand-logo{width:175px}.desktop-nav{font-size:10px;gap:10px}.header{gap:14px}}

/* Portfolio a tutta larghezza e presentazione dei progetti. */
@media(min-width:701px){
 body:not(.studio-body){padding-left:0;padding-right:0}
 .header,main,.footer{max-width:none}
 main,.footer{padding-left:clamp(28px,4.5vw,96px);padding-right:clamp(28px,4.5vw,96px)}
 .header{width:calc(100% - clamp(40px,5vw,96px));padding-left:clamp(24px,3vw,58px);padding-right:clamp(24px,3vw,58px)}
 .project-grid{gap:clamp(28px,3vw,52px)}
 .project-card{padding:0 0 26px;background:transparent;border:0;border-bottom:1px solid #d9dcd8;box-shadow:none}
 .project-cover{border-radius:12px;aspect-ratio:1.55;background:#eceeeb}
 .project-cover img{transition:transform .65s cubic-bezier(.2,.7,.3,1)}
 .project-cover:hover img{transform:scale(1.035)}
 .card-meta{margin:21px 0 10px;color:#757c76;letter-spacing:.03em}
 .card-title h3{font-size:clamp(26px,2.25vw,38px);letter-spacing:-1.2px}
 .project-card p{margin:10px 0 18px;max-width:560px;font-size:16px;line-height:1.7}
 .card-discover{display:inline-flex;align-items:center;gap:16px;background:none;border:0;border-bottom:1px solid #a5aaa4;padding:0 0 8px;font-size:14px;font-weight:600;cursor:pointer}
 .card-discover span{transition:transform .2s}.card-discover:hover span{transform:translate(3px,-3px)}
 #project-dialog{width:min(1280px,calc(100% - 80px));max-width:none;border-radius:18px}
 .project-story{padding-left:clamp(32px,5vw,76px);padding-right:clamp(32px,5vw,76px)}
 .project-story>h2{font-size:clamp(48px,5vw,76px);letter-spacing:-.045em}
 .story-description{max-width:720px;font-size:18px;line-height:1.7}
 .gallery-track{border-radius:13px;gap:14px;scrollbar-width:none}
 .gallery-frame{border-radius:13px;background:#eff0ed}
 .gallery-frame figcaption{padding:16px 20px;font-size:13px;background:#f0f1ee}
 .gallery-thumbnails{display:flex;gap:12px;margin-top:14px;overflow:auto;padding-bottom:4px}
 .gallery-thumb{flex:0 0 180px;text-align:left;border:1px solid #e1e4df;border-radius:9px;background:#fff;overflow:hidden;padding:0;cursor:pointer}
 .gallery-thumb img{display:block;width:100%;height:80px;object-fit:cover}.gallery-thumb span{display:block;padding:10px;font-size:12px;line-height:1.35}
 .gallery-thumb:hover,.gallery-thumb:focus-visible{border-color:#444}
 .real-case-intro{padding-top:45px}.case-values{gap:30px}.case-values h4{font-size:21px}.case-values p{font-size:15px}
}
@media(max-width:700px){
 .card-discover{display:inline-flex;margin:12px 5px 0;padding:0 0 5px;gap:10px;border:0;border-bottom:1px solid #a5aaa4;background:none;font-size:12px;font-weight:600}
 .gallery-thumbnails{display:flex;gap:9px;overflow-x:auto;scroll-snap-type:x proximity;margin:12px -20px 0;padding:0 20px 6px}
 .gallery-thumb{flex:0 0 132px;scroll-snap-align:start;text-align:left;border:1px solid #dedfda;background:white;border-radius:8px;overflow:hidden;padding:0}
 .gallery-thumb img{display:block;width:100%;height:64px;object-fit:cover}.gallery-thumb span{display:block;padding:8px;font-size:11px;line-height:1.3}
}
@media(prefers-reduced-motion:reduce){.project-cover img,.card-discover span{transition:none}}
@media(min-width:1000px){
 .story-overview{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:clamp(30px,4vw,64px);align-items:start}
 .story-heading{grid-column:2;grid-row:1;position:sticky;top:80px}
 .story-visual{grid-column:1;grid-row:1;min-width:0}
 .story-heading>h2{font-size:clamp(40px,4vw,64px);line-height:1.06;letter-spacing:-.045em;margin:18px 0}
 .story-heading .story-credit{margin-top:30px}
 .story-heading .story-description{font-size:17px}
}

/* Navigazione principale: leggibile e compatta su ogni schermo. */
@media(min-width:701px){
 .header{top:14px;min-height:76px;padding-top:10px;padding-bottom:10px;border-radius:16px;background:rgba(255,255,255,.88);border-color:rgba(225,226,222,.9);box-shadow:0 8px 28px rgba(25,32,27,.07);gap:clamp(12px,2vw,32px)}
 .brand-logo{width:clamp(170px,16vw,225px)}
 .desktop-nav{display:flex;align-items:center;justify-content:center;gap:3px;font-size:14px;font-weight:500}
 .header .desktop-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 clamp(9px,1vw,15px);border-radius:10px;color:#4a514d;white-space:nowrap;transition:background .2s,color .2s}
 .header .desktop-nav a:hover,.header .desktop-nav a:focus-visible{background:#f2f3f0;color:#1b2420}
 .header .desktop-nav a.active{background:#eceeea;color:#1d2822;text-decoration:none}
 .header .header-person{display:flex;align-items:center;flex-shrink:0;gap:10px;border:1px solid #e4e7e1;border-radius:999px;padding:5px 14px 5px 5px;background:#fff;transition:border-color .2s,box-shadow .2s}
 .header .header-person:hover{border-color:#bfc6bc;box-shadow:0 3px 14px #1423150d}
 .header-person img{width:40px;height:40px}.header-person span{font-size:10px}.header-person strong{font-size:12px}
 body:not(.studio-body){padding-top:112px}
}
@media(min-width:701px) and (max-width:1100px){
 .header .header-person{display:none}.desktop-nav{gap:0;font-size:13px}
 .header .desktop-nav a{padding-inline:clamp(7px,1vw,12px)}
}
@media(min-width:701px) and (max-width:850px){.brand-logo{width:165px}.header{gap:10px}.desktop-nav{font-size:12px}}
@media(max-width:700px){
 .header{min-height:64px;padding:10px 20px;background:rgba(255,255,255,.9)}
 .header .header-person{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #e7e8e3;border-radius:50%;background:#f5f6f3}
 .header-person img{width:34px;height:34px;object-fit:cover;object-position:center 25%}
 .bottom-nav{left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));height:68px;padding:5px;gap:3px;border:1px solid #e5e7e1;border-radius:19px;background:rgba(255,255,255,.94);box-shadow:0 8px 30px rgba(26,33,27,.12);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
 .bottom-nav a{width:25%;min-width:0;min-height:56px;justify-content:center;gap:4px;border-radius:14px;font-size:10px;color:#626b65;line-height:1.15;white-space:nowrap;transition:background .2s,color .2s}
 .bottom-nav a .nav-icon{width:21px;height:21px;flex:none}
 .bottom-nav a>img{width:23px;height:23px;object-position:center 25%}
 .bottom-nav a.active{background:#eef1eb;color:#26352b;font-weight:650}
 .bottom-nav a.active:before{display:none}
 .bottom-nav a:focus-visible{outline:2px solid #8f4141;outline-offset:-2px}
}
@media(prefers-reduced-motion:reduce){.desktop-nav a,.bottom-nav a,.header-person{transition:none}}
@media(max-width:700px){body:not(.studio-body){padding-bottom:calc(92px + env(safe-area-inset-bottom))}}

/* Ruolo di Susi accanto al nome nella hero desktop. */
.hero-position{display:flex;justify-content:center;align-items:center;gap:20px;position:relative;z-index:2;margin:0 0 14px;font-size:clamp(11px,1.1vw,15px);font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#454541}.hero-position a{white-space:nowrap;color:inherit}.personal-hero .personal-composition{margin-top:-10px}@media(max-width:700px){.hero-position{display:none}.app-person-row{display:flex;align-items:center;gap:8px}.app-person-row .app-person{min-width:0;flex:1}.app-person-row .app-person small{font-size:10px;line-height:1.35}.app-phone{font-size:11px;font-weight:600;white-space:nowrap;text-decoration:none}.app-person-row .app-person>span:last-child{display:none}}@media(max-width:350px){.app-person-row .app-person small{font-size:9px}.app-phone{font-size:10px}}
