/* Shared spacing and type scale across desktop, tablet and phone. */
:root{--space-section:clamp(48px,6vw,80px);--space-card:24px;--copy:1rem;--small:.875rem}
body{font-size:16px;line-height:1.6}
.wrap{width:min(1200px,calc(100% - 64px))}
.header{padding:16px 0;gap:24px}
.header nav{font-size:var(--small);gap:28px;margin-right:0}
.header nav a{display:inline-flex;align-items:center;min-height:44px}
.button{min-height:48px;padding:12px 22px;font-size:var(--small);line-height:1.4;border-radius:16px}
.header-contact{font-size:var(--small);padding:12px 18px}
.hero-grid{grid-template-columns:1.05fr 1fr;gap:24px;min-height:540px}
.hero-copy{padding:48px 0 64px;min-width:0}
h1{font-size:clamp(44px,5vw,68px);line-height:1.1;letter-spacing:-.045em}
h2,.contact h2{font-size:clamp(28px,3vw,36px);line-height:1.25;letter-spacing:-.035em;text-wrap:balance}
h3,.project-info h3,.team h3{font-size:22px;line-height:1.3;letter-spacing:-.025em}
.eyebrow,.hero-copy .eyebrow,.contact .eyebrow{font-size:11px;line-height:1.6;letter-spacing:1.6px;margin-bottom:12px}
.hero-copy>p{font-size:20px;line-height:1.6;margin-top:24px;max-width:38ch}
.actions{gap:12px;margin-top:28px;flex-wrap:wrap}
.actions .button{font-size:var(--small);padding:12px 20px}
.hero-art{height:440px;min-width:0}
.original-hero{width:110%}
.art-caption{font-size:10px;letter-spacing:2px;right:0}
.section{padding-top:var(--space-section)}
.section-heading{margin-bottom:24px;gap:24px}
.section-heading p,.section-intro{font-size:var(--copy);line-height:1.6;margin-top:12px}
.subtle{font-size:10px;line-height:1.6}
.project-grid,.team{gap:24px}
.project,.services article,.team article{border-radius:18px}
.project-info{padding:var(--space-card);display:grid;grid-template-columns:1fr;gap:20px}
.project-info p,.services p,.team span,.team p,.steps p{font-size:var(--small);line-height:1.65}
.project-info p{margin-top:8px}
.project-info p br{display:none}
.project-side{flex-direction:row;align-items:center;gap:16px}
.badge{font-size:11px;padding:5px 10px;line-height:1.5}
.text-link{display:inline-flex;align-items:center;min-height:44px;font-size:var(--small);gap:8px}
.text-link span{margin-left:0}
.visual-site,.visual-dashboard{height:auto;aspect-ratio:1.95;min-height:0;padding:20px;background:#18221c}
.institutional-screenshot,.management-screenshot{width:100%;height:100%;object-fit:contain}
.services{gap:24px;margin-top:24px}
.services article{align-items:flex-start;padding:var(--space-card);gap:16px}
.services svg{width:36px;height:36px}
.services article>div{padding-left:16px;min-width:0}
.services h3,.steps h3{font-size:18px;line-height:1.4;letter-spacing:-.02em}
.services p{margin-top:10px}
.team{margin-top:24px}
.team article{padding:var(--space-card);gap:20px;align-items:flex-start}
.team article>div:last-child{padding-left:20px;min-width:0}
.avatar{flex-basis:96px;height:112px;border-radius:18px}
.team h3{margin-bottom:8px}
.team span{display:block;color:#d5ded8}
.team p{margin-top:12px}
.steps{margin-top:32px;gap:24px}
.steps p{margin-top:10px;max-width:26ch;margin-inline:auto}
.steps p br{display:none}
.contact{margin-top:var(--space-section);padding:32px;gap:32px}
.contact>div{padding-left:20px;min-width:0}
.contact p{font-size:var(--copy);line-height:1.6;margin-top:12px}
footer{padding:32px 0;gap:24px}
footer p,footer>span,footer .back-top{font-size:12px;line-height:1.6}
.back-top{display:inline-flex;align-items:center;min-height:44px}
dialog{padding:32px;max-height:calc(100dvh - 32px);line-height:1.6}
.close-dialog{min-width:44px;min-height:44px;right:8px;top:8px}
dialog .eyebrow{padding-right:32px}
#dialog-title{padding-right:16px}
#dialog-description{font-size:var(--copy)}
#dialog-tags span{font-size:12px}
.gallery-controls>button{width:44px;height:44px}
.gallery-controls>span{font-size:var(--small)}
@media(max-width:1050px){
 .header nav{gap:20px}.header-contact{display:none}
 .hero-grid{min-height:480px}.hero-art{height:360px}
 .services{grid-template-columns:1fr}.services article{align-items:center}
 .services h3{font-size:20px}
 .team article{flex-direction:column;gap:20px}.team article>div:last-child{padding-left:0;border-left:0}
 .avatar{flex-basis:auto;width:96px;height:112px}
 .steps{grid-template-columns:repeat(2,1fr);gap:32px 24px}
 .steps article:after{display:none}
 .contact{flex-direction:column;align-items:flex-start}
}
@media(max-width:760px){
 .wrap{width:calc(100% - 40px)}
 .header{padding:12px 0;gap:16px}.header nav{gap:16px;font-size:13px}
 .hero-grid{grid-template-columns:1fr;gap:0;min-height:0}
 .hero-copy{padding:32px 0 16px}
 h1{font-size:clamp(42px,8.6vw,60px)}
 .hero-copy>p{font-size:18px;margin-top:20px}.desktop{display:none}
 .hero-copy .eyebrow{font-size:10px;letter-spacing:1.2px}
 .actions{margin-top:24px}.actions .button{padding:12px 18px}
 .hero-art{height:clamp(200px,55vw,320px);margin:0 0 16px}
 .original-hero{width:100%;max-height:100%}.hero-art .art-caption{font-size:9px;bottom:4px}
 .project-grid,.team{grid-template-columns:1fr;gap:20px}
 .section-heading{margin-bottom:24px}.subtle{display:none}
 .project-info,.services article,.team article{padding:24px}
 .project-info h3,.team h3{font-size:22px}
 .visual-site,.visual-dashboard{aspect-ratio:1.8;padding:16px;min-height:0}
 .services{gap:16px}.services article{gap:20px}.services article>div{padding-left:20px}
 .services p{font-size:var(--small)}
 .team article{flex-direction:row;gap:20px}.team article>div:last-child{padding:0;border:0}
 .avatar{flex:0 0 80px;width:80px;height:100px}
 .steps{gap:32px 20px}.steps h3{font-size:17px}.steps p{font-size:var(--small)}
 .step-icon{width:64px;height:64px;margin-bottom:16px}
 .contact{padding:28px 24px;gap:24px}.contact .button{font-size:var(--small);min-height:48px;width:100%}
 footer{gap:12px;padding:28px 0}footer p{font-size:12px}footer>span{margin-right:0}
 dialog,dialog:has(.project-gallery){padding:28px 20px;width:calc(100% - 24px)}
 .gallery-controls>span{font-size:13px}.gallery-controls>button{width:44px;height:44px}
}
@media(max-width:420px){
 .header{gap:8px}.header nav{gap:12px;font-size:12px}
 .header .brand>.original-logo{width:84px;height:56px}
 .actions{flex-direction:column;align-items:stretch}.actions .button{width:100%}
 .hero-copy .eyebrow{font-size:10px;letter-spacing:.8px}
 .project-info,.services article,.team article{padding:20px}
 .project-side{flex-wrap:wrap;gap:8px 12px}
 .services article{gap:16px}.services article>div{padding-left:16px}
 .services svg{width:30px;height:30px}
 .team article{flex-direction:column;gap:16px}.avatar{flex-basis:auto}
 .steps{grid-template-columns:1fr;gap:24px}.steps article{display:grid;grid-template-columns:56px 1fr;text-align:left;column-gap:16px;align-items:start}
 .step-icon{grid-row:span 2;width:56px;height:56px;margin:0}
 .steps p{max-width:none;margin:6px 0 0}.steps h3{padding-top:2px}
 .contact{padding:24px 20px}.contact>div{padding-left:16px}
}
