/* Shared responsive sizing for the home page and all eight service pages. */
:root{--page-edge:clamp(20px,calc(16.67vw - 112px),208px);--right-edge:clamp(20px,2.1vw,48px);--screen-header:90px;--section-space:clamp(40px,5vw,96px)}
html{scroll-padding-top:calc(var(--screen-header) + 16px)}
body{overflow-wrap:break-word}
img,video,svg{max-width:100%}
#main .wrap,body footer .wrap,#main>.hero .wrap.hero-content,#main>.about-banner .about-banner-grid,#main>.licenses-section>.wrap{width:calc(100% - 2 * var(--page-edge));max-width:1800px;margin-inline:auto}
#main>.services-section>.wrap,#main>.projects-section>.wrap{width:calc(100% - var(--page-edge) - var(--right-edge));max-width:1800px;margin-left:var(--page-edge);margin-right:var(--right-edge)}
/* Keep navigation inside the viewport before switching to the menu. */
body>header .wrap.header{width:calc(100% - 2 * clamp(16px,3vw,80px));max-width:1920px;margin-inline:auto}
body>header .header{height:var(--screen-header);gap:clamp(12px,1.2vw,24px)}
body>header .brand{min-width:0;flex-shrink:0}
body>header .brand img{width:clamp(180px,14vw,300px);height:auto}
body>header nav{gap:clamp(12px,1.2vw,24px);min-width:0}
body>header nav,body>header nav a,body>header .services-toggle{font-size:clamp(14px,1vw,20px)}
body>header .languages{gap:4px;padding-left:12px}
body>header .languages button{font-size:clamp(16px,1.2vw,22px);min-width:34px;min-height:44px;padding:6px}
body>header .services-submenu .wrap{width:calc(100% - 2 * var(--page-edge));margin-inline:auto;max-width:1800px}
#main>.hero{min-height:100svh;padding:calc(var(--screen-header) + 24px) 0 40px}
#main>.hero .hero-content{padding-block:clamp(16px,3vh,48px)}
#main>.hero h1{font-size:clamp(40px,7.8vw,160px);max-width:100%;line-height:1.08;overflow-wrap:anywhere}
.hero-word-mask,.hero-word{max-width:100%;overflow-wrap:anywhere}
#main>.hero .lead{font-size:clamp(18px,1.6vw,30px);max-width:min(100%,820px);margin-block:clamp(18px,2.5vh,32px)}
#main>.hero .eyebrow{font-size:clamp(14px,1.1vw,21px);letter-spacing:.12em;margin-bottom:20px}
#main>.hero .hero-links{gap:clamp(12px,1.2vw,20px);margin-top:24px}
#main>.hero .hero-links .button{font-size:clamp(16px,1.2vw,24px);padding:clamp(14px,1.4vw,24px) clamp(18px,1.7vw,32px);min-height:clamp(54px,5vw,82px);max-width:100%;text-align:center}
#main>.about-banner,#main>.licenses-section,#main>.services-section,#main>.projects-section{padding-block:var(--section-space)}
#main>.about-banner .about-banner-grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.55fr);gap:clamp(24px,3vw,64px)}
#main>.about-banner h2{font-size:clamp(38px,4.4vw,88px);line-height:1.1;overflow-wrap:anywhere}
#main>.about-banner .about-banner-copy p{font-size:clamp(18px,1.55vw,30px);line-height:1.65;margin-bottom:22px}
#main>.about-banner .label,#main>.about-banner .about-subtitle{font-size:clamp(14px,1vw,19px)}
#main>.licenses-section .licenses-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,3vw,64px)}
#main>.licenses-section .licenses-copy h2{font-size:clamp(38px,5vw,96px);overflow-wrap:anywhere}
#main>.licenses-section .licenses-copy>p:not(.label){font-size:clamp(18px,1.55vw,28px);margin-top:20px}
#main>.licenses-section .licenses-copy .label,#main>.licenses-section .licenses-copy .license-date{font-size:clamp(15px,1.2vw,23px)}
#main>.licenses-section .license-documents{min-width:0;width:100%;max-width:760px;margin:0;gap:clamp(16px,1.3vw,24px)}
#main>.licenses-section .license-link-content{padding:clamp(20px,2vw,40px)}
#main>.licenses-section .license-document h3{font-size:clamp(22px,1.8vw,36px);overflow-wrap:anywhere}
#main>.licenses-section .license-document p{font-size:clamp(16px,1.2vw,21px)}
#main>.licenses-section .license-document span{font-size:clamp(16px,1.1vw,19px);padding:10px 16px}
#main>.services-section .main-title,#main>.projects-section h2{font-size:clamp(32px,4.3vw,80px);line-height:1.2}
#main>.services-section .category-title{font-size:clamp(15px,1.2vw,24px)}
#main>.services-section .description,#main>.projects-section .intro{font-size:clamp(17px,1.4vw,26px)}
#main>.services-section .services-icon-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(16px,1.3vw,24px)}
#main>.services-section .icon-card{min-width:0;min-height:clamp(160px,12vw,220px);padding:clamp(20px,1.7vw,32px) 16px}
#main>.services-section .icon-card h3{font-size:clamp(17px,1.35vw,26px);overflow-wrap:anywhere}
#main>.projects-section .projects-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,1.5vw,28px)}
#main>.projects-section .project-card{min-width:0}
#main>.projects-section .project-card .card-content{padding:clamp(18px,1.3vw,26px)}
#main>.projects-section .project-card h3{font-size:clamp(21px,1.5vw,30px)}
#main>.projects-section .project-card p:not(.category){font-size:clamp(16px,1.1vw,21px)}
#main>.contact{padding-block:clamp(32px,4vh,64px)}
#main>.contact .contact-copy h2{font-size:clamp(32px,3.6vw,64px)}
#main>.contact .intro{font-size:clamp(17px,1.4vw,24px)}
#main>.contact .contact-item a{font-size:clamp(21px,1.8vw,30px);overflow-wrap:anywhere}
#main>.contact address{font-size:clamp(17px,1.3vw,22px)}
#main>.contact .social-placeholder{font-size:clamp(15px,1.1vw,18px)}
body footer .footer{font-size:clamp(15px,1.1vw,21px);gap:20px}
body footer .footer-logo{width:clamp(180px,15vw,300px)}
/* Media retains its proportions; the article and sidebar may shrink safely. */
.service-page-heading{padding:calc(var(--screen-header) + 32px) 0 32px}
.service-page-heading h1{font-size:clamp(30px,3.5vw,64px);overflow-wrap:anywhere}
.service-page-layout{grid-template-columns:minmax(180px,230px) minmax(0,1fr);gap:clamp(24px,3vw,64px)}
.service-sidebar{top:calc(var(--screen-header) + 24px);min-width:0}
.service-detail-block h2{font-size:clamp(24px,2vw,36px)}
.service-detail-block p,.service-detail-block li{font-size:clamp(16px,1.15vw,21px)}
.service-detail-visual,.service-video{max-width:100%;min-width:0}
.service-article-network{gap:clamp(20px,2vw,40px)}
.service-detail-visual-security{padding:0;background:transparent}
.service-detail-visual-security img{max-height:none;aspect-ratio:1661/574;object-fit:cover}
@media(max-width:1440px){.service-article-network{grid-template-columns:1fr}.service-article-network .service-copy{grid-column:1;grid-row:1}.service-article-network .service-detail-visual{grid-column:1;grid-row:2;width:min(100%,700px);justify-self:center}.service-article-network .service-return{grid-column:1;grid-row:3}}
@media(max-width:1280px){
 body>header .menu{display:block;padding:8px;background:none;border:0;color:#fff;min-height:44px}
 body>header .brand img{width:200px!important}
 body>header nav{display:none;position:absolute;top:var(--screen-header);left:0;right:0;flex-direction:column;align-items:stretch;gap:16px;padding:24px;background:#0b1724;max-height:calc(100dvh - var(--screen-header));overflow-y:auto}
 body>header nav.open{display:flex}
 body>header nav,body>header nav a,body>header .services-toggle{font-size:18px}
 body>header .services-submenu{position:static;max-height:none;background:transparent;box-shadow:none;margin-top:12px;border:0;transform:none}
 body>header .services-submenu .wrap{width:100%;margin:0;padding:12px 0}
 #main>.projects-section .projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1100px){
 #main>.about-banner .about-banner-grid,#main>.licenses-section .licenses-layout{grid-template-columns:1fr;gap:32px}
 #main>.about-banner h2{font-size:clamp(38px,6vw,66px)}
 #main>.licenses-section .licenses-copy h2{font-size:clamp(38px,6vw,66px)}
 #main>.services-section .services-icon-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .service-page-layout{display:flex;flex-direction:column;gap:32px}
 .service-article{order:0;width:100%}.service-sidebar{position:static;order:1;width:100%;padding-top:24px;border-top:1px solid var(--line)}
 .service-detail-block.with-image{grid-template-columns:1fr}
}
@media(max-width:600px){
 :root{--page-edge:clamp(16px,5vw,24px);--right-edge:var(--page-edge);--screen-header:76px;--section-space:40px}
 body>header .header{gap:8px}
 body>header .brand img{width:clamp(100px,28vw,150px)!important}
 body>header .menu{font-size:14px;padding:8px 2px}
 body>header .languages{padding-left:6px;gap:2px}
 body>header .languages button{min-width:28px;min-height:44px;font-size:14px;padding:4px}
 #main>.hero .hero-content{padding-block:16px}
 #main>.hero h1{font-size:clamp(36px,9vw,54px)}
 #main>.hero .lead{font-size:18px}
 #main>.hero .hero-links .button{width:100%;min-height:54px;padding:16px 18px;font-size:16px}
 #main>.about-banner,#main>.licenses-section,#main>.services-section,#main>.contact{min-height:0}
 #main>.projects-section .projects-grid{grid-template-columns:1fr}
 #main>.projects-section .project-card h3{font-size:23px}
 #main>.services-section .main-title,#main>.projects-section h2{font-size:32px}
 #main>.services-section .icon-card{min-height:160px;padding:20px 12px}
 #main>.services-section .icon-card h3{font-size:17px}
 #main>.services-section .icon-box{width:40px;height:40px;margin-bottom:16px}
 #main>.licenses-section .license-documents{max-width:100%}
 #main>.contact .contact-info{max-width:100%;grid-template-columns:1fr}
 .portfolio-license-note{flex-direction:column;align-items:flex-start}
 .portfolio-license-note a{flex-shrink:1}
 body footer .footer{flex-direction:column;align-items:flex-start}
 .breadcrumbs{display:flex;flex-wrap:wrap;gap:12px;font-size:15px}
 .service-page-heading{padding-top:calc(var(--screen-header) + 24px)}
 .service-detail-visual img,.service-block-image{height:auto}
 .service-detail-visual-security img{max-height:none}
 .license-viewer h2{margin:16px 0 20px;clear:both}
}
@media(max-width:380px){#main>.services-section .services-icon-grid{grid-template-columns:1fr}}
@media(max-height:800px) and (min-width:601px){
 #main>.hero{padding-top:calc(var(--screen-header) + 20px);padding-bottom:28px}
 #main>.hero .hero-content{padding-block:12px}
 #main>.hero h1{font-size:clamp(48px,6.6vw,112px)}
 #main>.hero .lead{font-size:clamp(18px,1.4vw,24px);margin-block:18px}
 #main>.hero .hero-links{margin-top:18px}
 #main>.hero .hero-links .button{min-height:54px;padding-block:14px}
}

/* Give the network illustration room comparable to the accompanying copy. */
.service-page-layout-network{grid-template-columns:minmax(0,1fr)}
.service-page-layout-network .service-article-network{grid-row:1;grid-template-columns:minmax(0,.85fr) minmax(0,1.35fr);gap:clamp(28px,3vw,64px)}
.service-page-layout-network .service-article-network .service-copy{grid-column:1;grid-row:1}
.service-page-layout-network .service-article-network .service-detail-visual{grid-column:2;grid-row:1;width:100%;max-width:none;align-self:start;position:sticky;top:calc(var(--screen-header) + 24px);margin:0;padding:0}
.service-page-layout-network .service-detail-visual img{width:100%;height:auto;max-height:none;object-fit:contain}
.service-page-layout-network .service-article-network .service-return{grid-column:1/-1;grid-row:2}

/* Keep social links in one row on the contact section. */
#main>.contact .contact-social-items{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px}
.contact-social-items .social-placeholder svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.contact-social-items .social-placeholder-disabled{opacity:.62;cursor:not-allowed}
@media(max-width:480px){#main>.contact .contact-social-items{flex-direction:row;align-items:center}}

/* Keep document previews compact; the original remains available in a new tab. */
.license-viewer{width:min(720px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100svh - 32px);padding:16px;overflow:hidden}
.license-viewer-actions{display:flex;justify-content:flex-end;margin-bottom:8px}
.license-viewer-original{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 14px;border-radius:5px;background:#2a2e37;color:#fff;font-size:14px}
.license-viewer-image{width:auto;max-width:100%;height:auto;max-height:calc(100svh - 150px);object-fit:contain;margin-inline:auto}

/* Show complete portfolio cards without oversized rows on smaller screens. */
#main>.projects-section .projects-grid{align-items:stretch}
#main>.projects-section .project-card{min-height:0;height:100%}
#main>.projects-section .project-photo-slot{height:clamp(150px,16vw,200px)}
#main>.projects-section .project-card .card-content{min-height:180px}
#main>.projects-section .project-card h3,#main>.projects-section .project-card p{overflow-wrap:anywhere}
@media(max-width:700px){
 #main>.projects-section .project-photo-slot{height:180px}
 #main>.projects-section .project-card .card-content{min-height:0}
 .license-viewer{padding:12px}
 .license-viewer-image{max-height:calc(100svh - 135px)}
}
.service-page-layout-network .service-sidebar{grid-row:2;position:static;width:100%;padding-top:24px;border-top:1px solid var(--line)}
.service-page-layout-network .service-sidebar nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 24px}
@media(max-width:1100px){
 .service-page-layout-network .service-article-network{grid-template-columns:1fr}
 .service-page-layout-network .service-article-network .service-detail-visual{grid-column:1;grid-row:2;position:static;width:100%;max-width:900px;justify-self:center}
 .service-page-layout-network .service-article-network .service-return{grid-column:1;grid-row:3}
 .service-page-layout-network .service-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){.service-page-layout-network .service-sidebar nav{grid-template-columns:1fr}}

/* Keep the wide security frame while displaying the complete photograph. */
.service-detail-visual-security{position:relative;isolation:isolate;aspect-ratio:1661/574;overflow:hidden;background:#d6e3ee;padding:0}
.service-detail-visual-security::before{content:"";position:absolute;inset:0;z-index:-1;background:#d6e3ee url('/service-security-updated.webp') right top/400% auto no-repeat;filter:none;opacity:1;pointer-events:none}
.service-detail-visual-security img{position:absolute;inset:0 auto 0 50%;transform:translateX(-50%);display:block;width:auto;height:100%;max-width:none;max-height:none;aspect-ratio:16/9;object-fit:contain;object-position:center;mask-image:linear-gradient(to right,transparent 0%,#000 10%,#000 88%,transparent 100%);-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 10%,#000 88%,transparent 100%)}

/* One viewport per main section; content can grow without being clipped. */
#main>.fullscreen-section{width:100%;height:auto;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;justify-content:center;align-items:stretch}
#main>.portfolio-section{height:auto;min-height:100vh;min-height:100dvh}

/* Visible viewport excludes the fixed header; paragraphs are fitted by fit-sections.js. */
html{scroll-padding-top:var(--screen-header)}
#main>.fullscreen-section{height:calc(100vh - var(--screen-header));height:calc(100dvh - var(--screen-header));min-height:0;padding-block:clamp(16px,3vh,40px)}
#main>.hero.fullscreen-section{height:100vh;height:100dvh;min-height:0;padding-top:calc(var(--screen-header) + 16px);padding-bottom:16px}
#main>.fullscreen-section>.wrap{flex:none;min-height:0;overscroll-behavior-y:auto;scrollbar-width:thin}
#main>.hero .hero-content{padding-block:0}
#main>.about-banner .about-banner-copy p{margin-bottom:16px}
#main>.about-banner .about-banner-copy p:last-child{margin-bottom:0}
#main>.services-section .services-header{margin-bottom:clamp(16px,3vh,32px)}
#main>.services-section .icon-card{min-height:clamp(110px,22vh,200px);padding-block:clamp(12px,2vh,24px)}
#main>.services-section .icon-box{width:40px;height:40px;margin-bottom:12px}
#main>.services-section .main-title{margin-block:10px 14px}
#main>.licenses-section .license-link-content{padding:clamp(16px,3vh,30px)}
#main>.licenses-section .license-document p{margin-bottom:16px}
#main>.contact .contact-grid{gap:12px}
@media(max-width:600px){#main>.about-banner .about-banner-grid,#main>.licenses-section .licenses-layout{gap:20px}}

/* Snap only the main home sections; nested service text stays in normal flow. */
html:has(#main>.fullscreen-section){scroll-snap-type:y mandatory;scroll-padding-top:var(--screen-header)}
#main>.fullscreen-section,#main>.portfolio-section{scroll-snap-align:start}
#main>.hero.fullscreen-section{scroll-margin-top:calc(-1 * var(--screen-header))}
html:has(#main>.fullscreen-section) body footer{scroll-snap-align:start}

/* Center the services heading and cards against every viewport, with equal edges. */
#main>.services-section>.wrap{width:calc(100% - 2 * clamp(16px,4vw,80px));max-width:1800px;margin-left:auto;margin-right:auto}
#main>.services-section .services-header{width:100%;text-align:center;margin-inline:auto}
#main>.services-section .services-icon-grid{width:100%;margin-inline:auto}

/* Repeating, smooth section-content entrances. Visible fallback without JavaScript. */
html:has(#main>.fullscreen-section){scroll-behavior:smooth}
#main>.fullscreen-section,#main>.portfolio-section{scroll-snap-stop:always}
.animate-on-scroll.motion-enabled{opacity:0;transform:translateY(60px);transition:opacity .8s ease-out,transform .8s ease-out}
.animate-on-scroll.motion-enabled.show{opacity:1;transform:translateY(0)}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.animate-on-scroll.motion-enabled{opacity:1;transform:none;transition:none}}

/* Footer shares the final contact screen instead of requiring another scroll. */
#main>.contact.fullscreen-section{height:calc(100vh - var(--screen-header) - var(--footer-height,110px));height:calc(100dvh - var(--screen-header) - var(--footer-height,110px));min-height:0}
html:has(#main>.fullscreen-section) body footer{scroll-snap-align:none;scroll-snap-stop:normal}

/* The contact text and adjacent footer stay in normal document flow. */
#main>.contact.fullscreen-section{height:auto;min-height:max(0px,calc(100vh - var(--screen-header) - var(--footer-height,110px)));min-height:max(0px,calc(100dvh - var(--screen-header) - var(--footer-height,110px)));overflow:visible;margin-bottom:0}
#main>.contact.fullscreen-section>.wrap{max-height:none;overflow:visible}
body footer{position:static;inset:auto;transform:none;float:none;clear:both;margin-top:0}

/* Contact details form one vertical column on every screen. */
#main>.contact .contact-grid{display:grid;grid-template-columns:1fr;align-items:center;gap:clamp(28px,4vw,80px)}
.contact-details{min-width:0}
#main>.contact .contact-copy{max-width:none}
#main>.contact .contact-copy h2{font-size:clamp(30px,3vw,52px)}
#main>.contact .intro{font-size:clamp(17px,1.3vw,23px)}
#main>.contact .contact-info{display:grid;grid-template-columns:1fr;gap:0;margin-top:20px;max-width:none}
#main>.contact .contact-item{min-width:0;padding:12px 0}
#main>.contact .contact-address{grid-column:1/-1;order:0}
#main>.contact .contact-social{grid-column:1/-1}
#main>.contact .contact-social-items{flex-direction:column;align-items:flex-start;flex-wrap:nowrap}
#main>.contact .contact-item a{font-size:clamp(19px,1.5vw,27px)}
#main>.contact .contact-item .label{font-size:14px}
#main>.contact address{font-size:clamp(17px,1.3vw,23px)}
.contact-map-link{display:inline-flex;align-items:center;justify-content:space-between;gap:32px;min-height:52px;max-width:100%;margin-top:20px;padding:14px 24px;border-radius:30px;background:#f4f4f1;color:#151a23;font-size:17px;line-height:1.4}
.contact-map-link:hover{background:#fff}
.contact-map-link span{font-size:28px;line-height:1}
@media(max-width:1000px){#main>.contact .contact-grid{grid-template-columns:1fr;gap:28px}}
@media(max-width:480px){#main>.contact .contact-info{grid-template-columns:1fr}.contact-map-link{width:100%;font-size:16px}}

/* Readable navigation on the light expanded menu. */
@media(max-width:1280px){
 body>header nav.open{background:#f4f4f1;color:#2a2e37;border-color:#d3d6d8}
 body>header nav.open>a,body>header nav.open .services-toggle{color:#2a2e37}
 body>header nav.open .services-submenu{background:#f4f4f1;color:#2a2e37;border-color:#d3d6d8}
 body>header nav.open .services-submenu a,body>header nav.open .services-submenu h3{color:#2a2e37}
 body>header nav.open a:hover,body>header nav.open a:focus-visible,body>header nav.open .services-toggle:hover{color:#075b7a}
}

#main>.contact .contact-details{display:flex;flex-direction:column;align-items:flex-start;width:100%}
#main>.contact .contact-copy,#main>.contact .contact-info{width:100%}
#main>.contact .contact-item a{display:inline-block}

/* Location follows all details, with a glass link directly below the address. */
#main>.contact .contact-address .contact-map-link{display:inline-flex;margin-top:16px;background:linear-gradient(135deg,#ffffff24,#ffffff0b);color:#fff;border:1px solid #ffffff50;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:inset 0 1px 0 #ffffff24,0 8px 24px #0002;text-decoration:none}
#main>.contact .contact-address .contact-map-link:hover{background:linear-gradient(135deg,#ffffff38,#ffffff18);border-color:#ffffff90}

/* Footer belongs to the final section and occupies its own space. */
#main>.contact.fullscreen-section{min-height:calc(100vh - var(--screen-header));min-height:calc(100dvh - var(--screen-header));padding-bottom:0;justify-content:space-between;gap:24px}
#main>.contact.fullscreen-section>.contact-grid{margin-block:0}
#main>.contact>footer{position:relative;z-index:1;flex:none;width:100%;margin:0;background:transparent;scroll-snap-align:none}

#main>.contact .contact-social-items a.social-placeholder{display:inline-flex;font-size:inherit;align-items:center;text-decoration:none}
#main>.contact .contact-social-items a.social-placeholder:hover{background:#ffffff20;border-color:#ffffff70}

/* All service pages share the same navigation below their content. */
.service-page-layout{display:flex;flex-direction:column}
.service-page-layout>.service-article{order:0;width:100%;min-width:0}
.service-page-layout>.service-sidebar{order:1;position:static;width:100%;padding-top:24px;border-top:1px solid var(--line)}
.service-page-layout>.service-sidebar nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 24px}
@media(max-width:1100px){.service-page-layout>.service-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.service-page-layout>.service-sidebar nav{grid-template-columns:1fr}}

/* Remove the white frame and contain gaps around service illustrations. */
.service-article .service-detail-visual{padding:0;border:0;box-shadow:none}
.service-article .service-detail-visual:not(.service-detail-visual-security){background:transparent}
.service-article .service-detail-visual:not(.service-detail-visual-security) img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}

/* Keep the fixed navigation out of the portfolio continuation. */
body>header.portfolio-continuation{transform:translateY(-100%);opacity:0;pointer-events:none}
body>header.portfolio-continuation:focus-within{transform:none;opacity:1;pointer-events:auto}

/* Compact stacked contact, reserving space for the attached footer. */
#main>.contact.fullscreen-section{height:calc(100vh - var(--screen-header));height:calc(100dvh - var(--screen-header));min-height:0}
@media(max-height:900px){
 #main>.contact.fullscreen-section{padding-top:12px;gap:10px}
 #main>.contact .contact-copy>.label{margin:0 0 5px;font-size:12px}
 #main>.contact .contact-copy h2{font-size:clamp(28px,3vw,38px);line-height:1.15}
 #main>.contact .intro{font-size:16px;line-height:1.4;margin-top:8px}
 #main>.contact .contact-info{margin-top:10px}
 #main>.contact .contact-item{padding:5px 0}
 #main>.contact .contact-item .label{font-size:12px;line-height:1.3;margin:0 0 3px}
 #main>.contact .contact-item a,#main>.contact address{font-size:18px;line-height:1.35}
 #main>.contact .contact-social-items{gap:4px}
 #main>.contact .social-placeholder,#main>.contact .contact-social-items a.social-placeholder{font-size:15px;line-height:1.3;padding:3px 10px;gap:8px}
 #main>.contact .contact-address .contact-map-link{min-height:38px;padding:7px 18px;margin-top:8px;font-size:16px;line-height:1.3}
 #main>.contact .contact-map-link span{font-size:24px}
 #main>.contact>footer .footer{flex-direction:row;align-items:center;flex-wrap:wrap;padding:12px 0;gap:12px;font-size:14px;line-height:1.4}
 #main>.contact>footer .footer-logo{width:160px;max-width:25%}
}

@media(max-width:700px){
 #main>.contact>footer .footer{display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:8px 0;gap:6px 12px;font-size:12px;line-height:1.3}
 #main>.contact>footer .footer-logo{width:140px;max-width:100%}
 #main>.contact .contact-address .contact-map-link{width:auto;max-width:100%}
}

/* Service copy follows the media and uses the same full width. */
.service-page-layout .service-article{display:flex;flex-direction:column;gap:0}
.service-page-layout .service-article>.service-detail-visual,.service-page-layout .service-article>.service-video{order:0;position:static;width:100%;max-width:none;align-self:stretch;margin:0 0 28px}
.service-page-layout .service-article>.service-copy{order:1;width:100%;max-width:none;min-width:0}
.service-page-layout .service-article>.service-return{order:2;align-self:flex-start;font-size:18px}
.service-page-layout .service-detail-block p{width:100%;max-width:none}
.service-page-layout .service-detail-block p,.service-page-layout .service-detail-block li{font-size:clamp(18px,1.3vw,24px);line-height:1.7}
.service-page-layout .service-detail-block h2{font-size:clamp(28px,2.2vw,40px)}
.service-page-layout .service-detail-block.with-image{display:flex;flex-direction:column-reverse;align-items:stretch;gap:24px}
.service-page-layout .service-detail-block.with-image>div{width:100%}
.service-page-layout .service-sidebar h2{font-size:22px}
.service-page-layout .service-sidebar a{font-size:clamp(16px,1.1vw,20px)}

/* Conference detail sections: copy left, illustration right. */
.service-page-layout .service-article-conference .service-detail-block.with-image{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center;gap:clamp(24px,4vw,64px);background:transparent}
.service-page-layout .service-article-conference .service-block-image{display:block;width:100%;height:auto;max-height:none;object-fit:contain;background:transparent;mix-blend-mode:multiply}
@media(max-width:700px){
 .service-page-layout .service-article-conference .service-detail-block.with-image{grid-template-columns:1fr;gap:20px}
}

/* Navigation follows the active section's surface and contrast. */
body>header,body>header.is-scrolled{background:var(--nav-surface,#171b20);color:var(--nav-ink,#f4f4f1);box-shadow:none}
body>header .brand img{filter:var(--nav-logo,invert(1));mix-blend-mode:var(--nav-blend,screen)}
body>header nav,body>header nav a,body>header .services-toggle,body>header .languages button,body>header .menu{color:var(--nav-ink,#f4f4f1)}
body>header .languages{border-color:var(--nav-tint)}
body>header .languages button[aria-pressed=true]{background:var(--nav-tint);color:var(--nav-ink)}
body>header .services-submenu,body>header nav.open,body>header nav.open .services-submenu{background:var(--nav-surface);color:var(--nav-ink);border-color:var(--nav-tint)}
body>header .services-submenu h3,body>header nav.open>a,body>header nav.open .services-toggle,body>header nav.open .services-submenu a,body>header nav.open .services-submenu h3{color:var(--nav-ink)}

body>header .brand{mix-blend-mode:var(--nav-blend,screen)}
body>header.nav-over-hero,body>header.nav-over-hero.is-scrolled{background:transparent;box-shadow:none}

/* Keep the long portfolio stable while entering and scrolling back. */
#main>.portfolio-section>.wrap{opacity:1;transform:none;transition:none}

/* Viewport adaptation: content may grow beyond one screen without shrinking text. */
:root{--header-row:90px}
html{ -webkit-text-size-adjust:100%;text-size-adjust:100% }
body>header .header{height:var(--header-row)}
#main>.fullscreen-section,#main>.contact.fullscreen-section{
 height:auto;min-height:calc(100svh - var(--screen-header));
 padding-block:var(--section-space);overflow:visible
}
#main>.hero.fullscreen-section{height:auto;min-height:100svh;padding-top:calc(var(--screen-header) + 32px);padding-bottom:40px;overflow:hidden}
#main>.fullscreen-section>.wrap{max-height:none;overflow:visible;min-width:0}
#main>.contact.fullscreen-section{padding-bottom:0;gap:24px}
html:has(#main>.fullscreen-section){scroll-snap-type:y proximity}
#main>.fullscreen-section,#main>.portfolio-section{scroll-snap-stop:normal}
#main .wrap>*,.service-page-layout>*,.partners-layout>*{min-width:0}
#main>.projects-section>.wrap{margin-inline:auto}
.service-page-heading h1,.service-detail-block h2,.partners-copy :is(h1,h2),dialog h2{overflow-wrap:anywhere}
.service-page-layout img,.service-page-layout video{max-width:100%}
#main>.services-section .icon-card{min-height:clamp(160px,12vw,220px)}
body>header .languages{flex-shrink:0}
body>header .menu{flex-shrink:0}
body>header .services-menu-content{min-width:0}
#project-dialog,.license-viewer{max-height:calc(100svh - 32px);overflow-wrap:anywhere}
#project-dialog{padding:clamp(18px,3vw,38px)}
#main>.contact .contact-item a{max-width:100%}
#main>.contact>footer .footer{font-size:clamp(14px,1.1vw,20px);line-height:1.5;padding-block:24px}
body:has(.partners-page:not(.partners-embedded)) #main{padding-top:var(--screen-header)}
@media(min-width:1281px){body>header nav{align-items:center}body>header nav>a{white-space:nowrap}}
@media(max-width:1280px){
 body>header nav{overscroll-behavior:contain}
 body>header nav>a,body>header .services-toggle{min-height:44px;display:flex;align-items:center}
 body>header .services-submenu a{padding-block:12px;overflow-wrap:anywhere}
}
@media(max-width:1100px){
 html:has(#main>.fullscreen-section){scroll-snap-type:none}
 #main>.fullscreen-section:not(.hero){min-height:0}
 #main>.services-section .services-icon-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #main>.contact .contact-copy h2{font-size:clamp(30px,4.5vw,46px)}
 #main>.contact .intro{font-size:18px;line-height:1.6}
 #main>.contact .contact-item{padding-block:12px}
 #main>.contact .contact-item a,#main>.contact address{line-height:1.55}
 .service-sidebar nav{position:static;padding:0;background:transparent;max-height:none;overflow:visible}
}
@media(max-width:600px){
 :root{--header-row:76px}
 #main>.hero h1{font-size:clamp(34px,9vw,54px);letter-spacing:-1px}
 #main>.hero .hero-links{width:100%}
 #main>.services-section .services-icon-grid{grid-template-columns:1fr}
 #main>.services-section .icon-card{min-height:144px;padding:24px 20px}
 #main>.services-section .icon-card h3{font-size:20px;line-height:1.45}
 #main>.projects-section .project-card{grid-template-columns:minmax(0,1fr)}
 #main>.contact>footer .footer{grid-template-columns:1fr;gap:12px;font-size:14px;padding-block:24px}
 #main>.contact>footer .footer-logo{width:180px;max-width:100%}
 #main>.contact .contact-social-items{white-space:normal;max-width:100%}
 .service-page-layout .service-detail-block p,.service-page-layout .service-detail-block li{font-size:18px;line-height:1.65}
 .partners-copy :is(h1,h2){font-size:clamp(32px,9vw,48px)}
}
@media(max-width:359px){
 body>header .wrap.header{width:calc(100% - 24px);gap:4px}
 body>header .brand img{width:88px!important}
 body>header .languages{padding-left:4px;gap:0}
 body>header .languages button{min-width:27px;padding-inline:3px}
}
@media(max-height:600px){
 html:has(#main>.fullscreen-section){scroll-snap-type:none}
 #main>.fullscreen-section:not(.hero){min-height:0}
 #main>.hero h1{font-size:clamp(34px,6vw,80px)}
}
@media(min-width:2200px){
 #main>.services-section>.wrap,#main>.projects-section>.wrap{max-width:1800px;margin-inline:auto}
}

/* Full-screen glass presentations, scoped to the conference service. */
body:has(.service-article-conference){background:linear-gradient(135deg,#f2f2ef 0%,#d9dcde 55%,#ece9e3 100%);background-attachment:fixed}
html:has(.service-article-conference){scroll-snap-type:y proximity;scroll-padding-top:var(--screen-header)}
.service-page-layout .service-article-conference .service-detail-block.conference-screen{
 display:flex;flex-direction:column;justify-content:center;align-items:stretch;
 min-height:calc(100svh - var(--screen-header));height:auto;padding:24px 0;margin:0;
 border:0;background:transparent;scroll-snap-align:start;scroll-snap-stop:always
}
.service-page-layout .service-article-conference .conference-screen>.conference-glass{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;
 gap:clamp(24px,3.5vw,56px);width:100%;max-width:1600px;margin-inline:auto;
 min-height:calc(85svh - var(--screen-header));height:auto;
 padding:clamp(24px,3.5vw,56px);border-radius:24px;
 background:rgba(255,255,255,.28);border:1px solid rgba(255,255,255,.6);
 box-shadow:0 8px 32px rgba(0,0,0,.1);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px)
}
.conference-glass>div{min-width:0}
.service-page-layout .service-article-conference .conference-screen h2{font-size:clamp(28px,3vw,48px);font-weight:700;line-height:1.2;margin:0 0 24px;color:#1a202c}
.service-page-layout .service-article-conference .conference-screen p{font-size:clamp(18px,1.5vw,24px);line-height:1.7;color:#333;margin:0 0 16px}
.service-page-layout .service-article-conference .conference-screen p:last-child{margin-bottom:0}
.service-page-layout .service-article-conference .conference-screen .service-block-image{
 width:100%;height:auto;max-height:min(500px,65svh);object-fit:contain;mix-blend-mode:normal;
 transition:transform .5s ease-in-out;border-radius:12px
}
@media(hover:hover) and (pointer:fine){.conference-glass .service-block-image:hover{transform:scale(1.03)}}
@media(max-width:1024px){
 .service-page-layout .service-article-conference .conference-screen>.conference-glass{padding:30px;gap:30px}
}
@media(max-width:768px){
 html:has(.service-article-conference){scroll-snap-type:none}
 .service-page-layout .service-article-conference .conference-screen>.conference-glass{grid-template-columns:1fr;min-height:0;padding:24px 20px;gap:24px;border-radius:16px;text-align:center}
 .service-page-layout .service-article-conference .conference-screen{min-height:calc(100svh - var(--screen-header));padding-block:16px}
 .service-page-layout .service-article-conference .conference-screen h2{font-size:28px;margin-bottom:16px}
 .service-page-layout .service-article-conference .conference-screen p{font-size:18px;line-height:1.6}
 .service-page-layout .service-article-conference .conference-screen .service-block-image{max-height:40svh}
}
@media(max-height:600px){html:has(.service-article-conference){scroll-snap-type:none}}
@media(prefers-reduced-motion:reduce){.conference-glass .service-block-image{transition:none!important;transform:none!important}}

/* Keep oversized decorative backgrounds within their own growing sections. */
#main>.fullscreen-section,#main>.contact.fullscreen-section{overflow:hidden;overflow:clip}
@media(min-width:1101px) and (min-height:650px){
 #main>.about-banner.fullscreen-section{padding-block:clamp(24px,4vh,48px)}
 #main>.about-banner .about-banner-grid{grid-template-columns:minmax(0,.8fr) minmax(0,1.7fr);gap:clamp(28px,3vw,56px)}
 #main>.about-banner .about-banner-copy p{font-size:var(--about-copy-size,clamp(18px,2.7vh,28px));line-height:1.5;margin-bottom:16px}
 #main>.about-banner h2{font-size:clamp(40px,min(4.4vw,8vh),84px);line-height:1.1}
}

/* Service stills: complete original composition inside a bounded 16:9 frame. */
#main .service-page-layout .service-article>.service-detail-visual{
 position:relative;inset:auto;display:block;flex:none;align-self:center;
 width:min(100%,960px,106.6667svh);max-width:100%;height:auto;
 aspect-ratio:16/9;margin:0 auto 28px;padding:0;border:0;
 background:transparent;overflow:hidden;box-shadow:none;transform:none
}
#main .service-page-layout .service-article>.service-detail-visual::before{content:none;display:none}
#main .service-page-layout .service-article>.service-detail-visual img{
 position:absolute;inset:0;display:block;width:100%;height:100%;
 max-width:100%;max-height:100%;aspect-ratio:auto;object-fit:contain;object-position:center;
 margin:0;padding:0;transform:none;mask-image:none;-webkit-mask-image:none;
 border-radius:0;background:transparent
}
#main .service-page-layout .service-article .service-block-image{
 display:block;position:static;width:100%;height:auto;aspect-ratio:16/9;
 max-width:100%;max-height:none;object-fit:contain;object-position:center;
 transform:none;border-radius:0;mask-image:none;-webkit-mask-image:none
}
#main .service-page-layout .service-article .service-block-image:hover{transform:none}
@media(max-width:600px){
 #main .service-page-layout .service-article>.service-detail-visual{width:100%}
}

/* Keyboard animation owns scrolling; native snapping must not fight its target. */
html:has(#main>.fullscreen-section){scroll-snap-type:none!important}
#main>.fullscreen-section>.animate-on-scroll.motion-enabled{transform:none;transition:opacity .3s ease-out}
@media(min-width:900px) and (min-height:450px){
 #main>.about-banner.fullscreen-section{min-height:calc(100dvh - var(--screen-header));padding-block:clamp(16px,3vh,32px)}
 #main>.about-banner .about-banner-grid{grid-template-columns:minmax(0,.65fr) minmax(0,1.85fr);gap:clamp(24px,3vw,48px);align-items:center}
 #main>.about-banner .about-banner-copy p{font-size:var(--about-copy-size,clamp(17px,2.7vh,28px));line-height:1.4;margin-bottom:12px}
 #main>.about-banner .about-banner-copy p:last-child{margin-bottom:0}
 #main>.about-banner h2{font-size:clamp(32px,min(4vw,7.5vh),76px);line-height:1.1}
 #main>.about-banner .label,#main>.about-banner .about-subtitle{font-size:clamp(12px,1.1vw,18px);margin-bottom:14px}
}

/* Compact conference cards: size to the content instead of reserving a screen. */
.service-page-layout .service-article-conference .service-detail-block.conference-screen{
 min-height:0;height:auto;padding-block:16px;scroll-snap-align:none
}
.service-page-layout .service-article-conference .conference-screen>.conference-glass{
 min-height:0;height:auto;padding:clamp(24px,2.5vw,40px);gap:clamp(24px,3vw,44px)
}
html:has(.service-article-conference){scroll-snap-type:none}

/* Smooth interactive feedback without animating layout or creating nested scrolling. */
html{scroll-behavior:smooth;overflow-x:clip;width:100%}
body{width:100%;overflow-x:clip}
a,button{transition:color .4s ease,background-color .4s ease,border-color .4s ease,box-shadow .4s ease}
.service-card,.project-card,.license-document,.conference-glass{transition:background-color .4s ease,border-color .4s ease,box-shadow .4s ease}
.service-page-layout .service-article-conference .service-detail-block.conference-screen{
 min-height:calc(100svh - var(--screen-header));height:auto;width:100%;padding-block:24px
}
.service-page-layout .service-article-conference .conference-screen>.conference-glass{
 min-height:0;height:auto;max-width:1600px;background:rgba(255,255,255,.28);
 backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px)
}
@media(max-width:768px){
 .service-page-layout .service-article-conference .service-detail-block.conference-screen{min-height:0;padding-block:16px}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto!important}
 a,button,.service-card,.project-card,.license-document,.conference-glass{transition:none}
}

/* Desktop screens use the actual visible viewport, with the fixed header reserved. */
@media(min-width:900px) and (min-height:450px){
 :root{--header-row:clamp(68px,10vh,90px)}
 #main>.fullscreen-section,#main>.contact.fullscreen-section,#main>.partners-embedded{
  box-sizing:border-box;height:calc(var(--viewport-height,100dvh) - var(--screen-header));
  min-height:0;max-height:none;padding-block:clamp(16px,3vh,32px);
  display:grid;grid-template-rows:minmax(0,1fr);align-items:center;overflow:clip
 }
 #main>.hero.fullscreen-section{height:var(--viewport-height,100dvh);padding-top:calc(var(--screen-header) + 20px);padding-bottom:20px}
 #main>.contact.fullscreen-section{grid-template-rows:minmax(0,1fr) auto;padding-bottom:0;gap:12px}
 #main>.partners-embedded{grid-template-rows:minmax(0,1fr) auto;padding-bottom:0}
 #main>.fullscreen-section>.wrap,#main>.partners-embedded>.wrap{
  min-height:0;max-height:none;align-self:center;flex:none;
  transform:scale(var(--section-scale,1))!important;transform-origin:center center;transition:opacity .25s ease!important
 }
 #main>.partners-embedded .partners-card-window{height:clamp(220px,45vh,480px);margin-bottom:0}
 #main>.partners-embedded .partners-ribbon{height:clamp(80px,13vh,150px);margin-top:0}
 #main>.services-section .icon-card{min-height:clamp(120px,20vh,190px);padding-block:16px}
 #main>.about-banner .about-banner-grid{grid-template-columns:minmax(0,.65fr) minmax(0,1.85fr)}
}

/* Responsive full-page conference layout from the supplied design. */
.service-page-layout .service-article-conference .conference-screen>.conference-glass{
 max-width:1400px;gap:clamp(20px,3vw,40px);padding:clamp(20px,3vw,40px);
 border-radius:20px;background:rgba(255,255,255,.6);border:1px solid rgba(255,255,255,.5);
 backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 10px 30px rgba(0,0,0,.08)
}
.service-page-layout .service-article-conference .conference-screen h2{font-size:clamp(28px,3.4vw,52px);line-height:1.2;margin-bottom:20px}
.service-page-layout .service-article-conference .conference-screen p{font-size:clamp(16px,1.6vw,22px);line-height:1.6}
@media(min-width:900px) and (min-height:450px){
 .service-page-layout .service-article-conference .service-detail-block.conference-screen{
  height:calc(var(--viewport-height,100dvh) - var(--screen-header));min-height:0;
  display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-items:center;justify-content:stretch;padding-block:24px
 }
 .service-page-layout .service-article-conference .conference-screen>.conference-glass{
  align-self:center;transform:scale(var(--section-scale,1));transform-origin:center;transition:none
 }
 #main .service-page-layout .service-article-conference .conference-screen .service-block-image{max-height:60svh}
}
@media(max-width:768px){
 .service-page-layout .service-article-conference .conference-screen>.conference-glass{grid-template-columns:1fr;gap:20px;padding:20px;text-align:center}
 #main .service-page-layout .service-article-conference .conference-screen .service-block-image{max-height:45svh}
}

/* Section navigation should never reveal a blank, hidden content layer. */
#main>.fullscreen-section>.animate-on-scroll.motion-enabled{opacity:1!important;transition:none!important}
@media(min-width:900px) and (min-height:450px){
 #main>.fullscreen-section>.wrap,#main>.partners-embedded>.wrap,.conference-screen>.conference-glass{height:max-content;min-height:0}
 html:has(#main>.fullscreen-section),html:has(.conference-screen){scroll-behavior:auto!important;scroll-snap-type:none!important}
}

/* Footer spans the page with consistent edges and readable, balanced columns. */
body footer .wrap.footer,#main>.contact>footer .wrap.footer{
 width:calc(100% - 2 * clamp(20px,4vw,80px));max-width:1800px;margin-inline:auto;
 display:grid;grid-template-columns:minmax(120px,1fr) auto auto auto;
 align-items:center;justify-content:stretch;gap:16px clamp(16px,3vw,48px);
 padding:20px 0;font-size:clamp(14px,1vw,18px);line-height:1.5;text-align:left
}
body footer .wrap.footer>*,#main>.contact>footer .wrap.footer>*{min-width:0;max-width:100%;overflow-wrap:break-word}
body footer .wrap.footer .footer-logo,#main>.contact>footer .wrap.footer .footer-logo{width:clamp(140px,12vw,210px);max-width:100%;height:auto;justify-self:start}
body footer .wrap.footer #top,#main>.contact>footer .wrap.footer #top{justify-self:end;padding-block:8px}
@media(max-width:1099px){
 body footer .wrap.footer,#main>.contact>footer .wrap.footer{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 20px;font-size:14px}
 body footer .wrap.footer>span:first-of-type,#main>.contact>footer .wrap.footer>span:first-of-type{justify-self:end;text-align:right}
}
@media(max-width:420px){
 body footer .wrap.footer,#main>.contact>footer .wrap.footer{grid-template-columns:minmax(0,1fr);gap:8px;text-align:center}
 body footer .wrap.footer>*,#main>.contact>footer .wrap.footer>*{justify-self:center!important;text-align:center!important}
}

/* Full-width footer track; do not let space-between shrink the implicit column. */
#main>.contact.fullscreen-section{grid-template-columns:minmax(0,1fr);justify-content:stretch}
body>footer,#main>.contact>footer{width:100%;max-width:none;min-width:0;justify-self:stretch;grid-column:1 / -1}
body footer .wrap.footer,#main>.contact>footer .wrap.footer{max-width:none}

/* Conference cards flow together on one page, without screen-height gaps. */
.service-page-layout .service-article-conference .service-detail-block.conference-screen{
 display:block;height:auto;min-height:0;max-height:none;padding-block:12px;
 scroll-snap-align:none;scroll-snap-stop:normal;overflow:visible
}
.service-page-layout .service-article-conference .conference-screen>.conference-glass{
 height:auto;min-height:0;max-height:none;transform:none!important
}

/* Shared left edge: 5 CSS cm on wide screens, smaller on laptops and phones. */
:root{--page-edge:clamp(20px,calc(35vw - 300px),5cm)}
#main>section>.wrap,#main>.hero .wrap.hero-content,#main>.about-banner .about-banner-grid,#main>.licenses-section>.wrap{
 width:calc(100% - var(--page-edge) - var(--right-edge));max-width:none;
 margin-left:var(--page-edge);margin-right:var(--right-edge);transform-origin:left center
}
@media(min-width:900px){
 #main>.fullscreen-section{grid-template-columns:minmax(0,1fr);justify-content:stretch}
 #main>.about-banner .about-banner-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}
 #main>.about-banner h2{font-size:clamp(38px,4.5vw,88px);overflow-wrap:normal;word-break:normal}
}
@media(max-width:899px){
 #main>.about-banner .about-banner-grid{grid-template-columns:minmax(0,1fr)}
 #main>.about-banner h2{font-size:clamp(36px,9vw,68px);overflow-wrap:normal;word-break:normal}
}
/* Services keep a centered layout and centered text. */
#main>.services-section>.wrap,#main>.service-page-heading>.wrap,#main>.service-page-layout{
 width:calc(100% - 2 * clamp(20px,5vw,96px));max-width:1600px;margin-inline:auto;transform-origin:center
}

/* Keep visible social links side by side in the contact section. */
#main>.contact .contact-social-items{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px}
#main>.services-section .services-header,#main>.service-page-heading,
#main>.service-page-layout .service-detail-block{text-align:center}
#main>.services-section .services-header .description{margin-inline:auto}
#main>.services-section .icon-card{align-items:center;text-align:center}
#main>.service-page-heading .breadcrumbs{justify-content:center}
#main>.service-page-heading .service-heading-icon{margin-inline:auto}
#main>.service-page-layout .service-detail-block ul{display:inline-block;text-align:left;max-width:100%}

#main>.fullscreen-section>.wrap,#main>.partners-embedded>.wrap{transform-origin:left center}
#main>.services-section>.wrap{transform-origin:center}

/* Match the reference: cards fade into the background at both boundaries. */
#main .partners-card-window{
 --card-edge-fade:clamp(48px,8svh,90px);
 margin-block:0;overflow:hidden;contain:paint;
 -webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 var(--card-edge-fade),#000 calc(100% - var(--card-edge-fade)),transparent 100%);
 mask-image:linear-gradient(to bottom,transparent 0%,#000 var(--card-edge-fade),#000 calc(100% - var(--card-edge-fade)),transparent 100%);
 -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat
}

/* Service text follows the requested left alignment. */
#main>.services-section :is(h1,h2,h3,p,span,div),
#main>.service-page-heading,#main>.service-page-layout .service-detail-block{text-align:left}
#main>.services-section .icon-card{align-items:flex-start;text-align:left}
#main>.services-section .services-header .description{margin-inline:0}
#main>.service-page-heading .breadcrumbs{justify-content:flex-start}
#main>.service-page-heading .service-heading-icon{margin-inline:0}
#main>.service-page-layout .service-detail-block ul{display:block;text-align:left}
/* Keep the moving logos inside a padded window. */
#main .partners-container{min-width:0;padding-block:80px}
#main .partners-container .partners-card-window{
 height:clamp(220px,32svh,360px);margin:0;gap:30px;
 grid-template-columns:repeat(3,minmax(0,200px));justify-content:center;
 --card-edge-fade:36px
}
#main .partner-card-group{gap:30px;padding-bottom:30px}
#main .partner-card{
 width:100%;max-width:200px;height:120px;display:flex;align-items:center;
 justify-content:center;background:transparent;border-radius:10px;
 border:1px solid rgba(255,255,255,.1);padding:15px;box-sizing:border-box
}
#main .partner-card img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
@media(max-width:600px), (max-height:650px){#main .partners-container{padding-block:32px}}
@media(max-width:480px){
 #main .partners-container .partners-card-window{grid-template-columns:repeat(2,minmax(0,200px));gap:16px}
}

#main>.service-page-layout .conference-glass>div{text-align:left}

/* Center only the services introduction requested in the screenshot. */
#main>.services-section .services-header,
#main>.services-section .services-header :is(h1,h2,h3,p,span,div){text-align:center}
#main>.services-section .services-header .description{margin-inline:auto}
/* Four synchronized columns prevent matching logos lining up across independent tracks. */
#main .partners-container .partners-card-window{display:block;height:clamp(300px,40svh,420px)}
#main .partners-container .partner-card-track{display:block;width:100%}
#main .partners-container .partner-card-group{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding-bottom:20px
}
#main .partner-card{max-width:none;background:#fff;border-color:#fff;overflow:hidden;padding:12px}
#main .partner-card img{width:100%;height:100%;object-fit:contain}
#main .partner-card .partner-logo-schneider{filter:url(#partner-schneider-white)}
@media(max-width:600px){
 #main .partners-container .partner-card-group{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding-bottom:16px}
}

/* Size the logo artwork to the card width, not the square image's white margins. */
#main .partner-card{padding:10px}
#main .partner-card :is(.partner-logo-huawei,.partner-logo-bticino){
 flex:none;width:100%;height:auto;max-height:none;object-fit:contain
}
#main .partner-card .partner-logo-legrand{transform:scale(1.2)}

/* Fit the artwork's tight SVG frame, rather than its original square canvas. */
#main .partner-card .partner-logo{
 display:block;width:100%;height:100%;max-width:none;max-height:none;
 flex:none;transform:none;overflow:hidden
}

/* Stabilize service block images and conference glass card layout across all uploaded image sizes. */
#main .service-page-layout .service-article-conference .conference-screen>.conference-glass{
 grid-template-columns:minmax(0,1.35fr) minmax(240px,360px);
 align-items:center
}
#main .service-page-layout .service-article-conference .conference-screen .service-block-image,
#main .service-page-layout .service-article .service-detail-block.with-image .service-block-image{
 width:100%;
 max-width:340px;
 height:255px;
 aspect-ratio:4/3;
 object-fit:contain;
 object-position:center;
 justify-self:center;
 margin-inline:auto;
 border-radius:8px
}
#main .service-page-layout .service-article>img.service-custom-media{
 width:100%;
 max-width:960px;
 aspect-ratio:16/9;
 max-height:460px;
 object-fit:contain;
 object-position:center;
 margin-inline:auto
}
@media(max-width:768px){
 #main .service-page-layout .service-article-conference .conference-screen>.conference-glass{
  grid-template-columns:1fr
 }
 #main .service-page-layout .service-article-conference .conference-screen .service-block-image,
 #main .service-page-layout .service-article .service-detail-block.with-image .service-block-image{
  max-width:280px;
  height:210px
 }
}


/* Comprehensive mobile & tablet responsive polish across all pages and components. */
@media(max-width:768px){
 :root{--page-edge:clamp(16px,4.5vw,24px);--right-edge:var(--page-edge);--screen-header:72px;--header-row:72px;--section-space:44px}
 body>header .wrap.header,#main>section>.wrap,#main>.hero .wrap.hero-content,#main>.about-banner .about-banner-grid,#main>.licenses-section>.wrap,#main>.services-section>.wrap,#main>.projects-section>.wrap,#main>.service-page-heading>.wrap,#main>.service-page-layout,body footer .wrap.footer,#main>.contact>footer .wrap.footer{
  width:calc(100% - 2 * var(--page-edge))!important;
  margin-left:auto!important;
  margin-right:auto!important;
  max-width:100%!important
 }
 body>header .header{height:var(--screen-header);justify-content:space-between;gap:8px}
 body>header .brand img{width:clamp(120px,34vw,170px)!important;max-height:42px}
 body>header .menu{display:inline-flex;align-items:center;justify-content:center;font-size:15px;font-weight:600;padding:8px 10px;min-height:42px}
 body>header .languages{padding-left:8px;gap:2px}
 body>header .languages button{font-size:14px;min-width:30px;min-height:38px;padding:4px 6px}
 body>header nav.open{top:var(--screen-header);max-height:calc(100dvh - var(--screen-header));padding:18px var(--page-edge) 28px;gap:8px;box-shadow:0 16px 36px rgba(0,0,0,.28)}
 body>header nav.open>a,body>header nav.open .services-toggle{min-height:44px;padding:8px 0;font-size:17px;border-bottom:1px solid rgba(128,128,128,.16);width:100%;justify-content:space-between}
 #main>.hero.fullscreen-section{min-height:100svh;height:auto!important;padding-top:calc(var(--screen-header) + 28px)!important;padding-bottom:36px!important}
 #main>.hero h1{font-size:clamp(32px,8.6vw,48px)!important;line-height:1.12!important;letter-spacing:-.02em!important;max-width:100%!important;word-break:normal;overflow-wrap:break-word}
 #main>.hero .lead{font-size:clamp(16px,4.3vw,19px)!important;line-height:1.58!important;margin:18px 0 24px!important}
 #main>.hero .eyebrow{font-size:13px!important;letter-spacing:.14em!important;margin-bottom:14px!important}
 #main>.hero .hero-links{display:flex;flex-direction:column;width:100%;gap:12px;margin-top:20px}
 #main>.hero .hero-links .button{width:100%!important;min-height:54px!important;padding:14px 18px!important;font-size:16px!important;border-radius:10px}
 #main>.fullscreen-section:not(.hero),#main>.contact.fullscreen-section,#main>.partners-embedded{height:auto!important;min-height:0!important;padding-block:48px!important;overflow:visible!important}
 #main>.about-banner .about-banner-grid{grid-template-columns:1fr!important;gap:22px!important}
 #main>.about-banner h2{font-size:clamp(34px,9vw,48px)!important;line-height:1.08!important}
 #main>.about-banner .about-banner-copy p{font-size:16px!important;line-height:1.68!important;margin-bottom:16px!important}
 #main>.licenses-section .licenses-layout{grid-template-columns:1fr!important;gap:24px!important}
 #main>.licenses-section .licenses-copy h2{font-size:clamp(32px,8.5vw,44px)!important;line-height:1.12!important}
 #main>.licenses-section .licenses-copy>p:not(.label){font-size:16px!important;line-height:1.65!important;margin-top:14px!important}
 #main>.licenses-section .license-link-content{padding:22px 20px!important}
 #main>.licenses-section .license-document h3{font-size:21px!important}
 #main>.licenses-section .license-document p{font-size:15px!important;margin-bottom:16px!important}
 #main>.services-section .services-header{margin-bottom:26px!important}
 #main>.services-section .main-title,#main>.projects-section h2{font-size:clamp(28px,7.5vw,38px)!important;line-height:1.18!important}
 #main>.services-section .description{font-size:16px!important;line-height:1.6!important}
 #main>.services-section .services-icon-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 #main>.services-section .icon-card{min-height:148px!important;padding:20px 14px!important;align-items:center!important;text-align:center!important}
 #main>.services-section .icon-card h3{font-size:15px!important;line-height:1.4!important;text-align:center!important}
 #main>.services-section .icon-box{width:36px!important;height:36px!important;margin-bottom:12px!important;margin-inline:auto!important}
 .partners-page .partners-layout{grid-template-columns:1fr!important;gap:20px!important;padding-block:12px 0!important}
 .partners-copy :is(h1,h2){font-size:clamp(30px,8vw,42px)!important;margin-bottom:12px!important}
 .partners-statement{font-size:17px!important;line-height:1.55!important}
 #main .partners-container{padding-block:16px!important}
 #main .partners-container .partners-card-window{height:280px!important;margin-bottom:0!important}
 #main .partners-container .partner-card-group{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;padding-bottom:12px!important}
 #main .partner-card{height:92px!important;padding:10px!important}
 .partners-ribbon{height:80px!important;margin-top:0!important}
 #main>.projects-section .project-filters{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;margin-bottom:20px}
 #main>.projects-section .project-filters button{width:100%;font-size:13px!important;padding:10px 8px!important;text-align:center;line-height:1.3}
 #main>.projects-section .projects-grid{grid-template-columns:1fr!important;gap:18px!important}
 #main>.projects-section .project-card .card-content{padding:18px!important}
 #main>.projects-section .project-card h3{font-size:20px!important}
 #main>.projects-section .project-card p:not(.category){font-size:15px!important}
 #project-dialog{width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;padding:20px 18px!important;border-radius:12px}
 #project-dialog h2{font-size:22px!important;line-height:1.3!important}
 #project-dialog p,#project-dialog li{font-size:15px!important;line-height:1.6!important}
 #main>.contact.fullscreen-section{padding-bottom:0!important}
 #main>.contact .contact-copy h2{font-size:clamp(28px,7.5vw,38px)!important}
 #main>.contact .intro{font-size:16px!important;line-height:1.55!important}
 #main>.contact .contact-item{padding:12px 0!important}
 #main>.contact .contact-item a{font-size:clamp(18px,5vw,22px)!important;word-break:break-word}
 #main>.contact address{font-size:16px!important;line-height:1.55!important}
 #main>.contact .contact-social-items{display:flex;flex-direction:row!important;flex-wrap:wrap!important;gap:8px!important}
 #main>.contact .contact-address .contact-map-link{width:100%;justify-content:space-between;font-size:15px;padding:12px 18px}
 .service-page-heading{padding:calc(var(--screen-header) + 20px) 0 24px!important}
 .service-page-heading h1{font-size:clamp(26px,7vw,36px)!important;line-height:1.2!important}
 .service-page-layout{padding-top:24px!important;padding-bottom:40px!important;gap:28px!important}
 #main .service-page-layout .service-article-conference .conference-screen>.conference-glass{
  grid-template-columns:1fr!important;
  padding:20px 16px!important;
  gap:18px!important;
  border-radius:16px!important
 }
 .service-page-layout .service-article-conference .conference-screen h2{font-size:24px!important;margin-bottom:12px!important}
 .service-page-layout .service-article-conference .conference-screen p,
 .service-page-layout .service-detail-block p,
 .service-page-layout .service-detail-block li{font-size:16px!important;line-height:1.65!important}
 #main .service-page-layout .service-article-conference .conference-screen .service-block-image,
 #main .service-page-layout .service-article .service-detail-block.with-image .service-block-image{
  max-width:280px;
  height:auto;
  max-height:210px;
  aspect-ratio:4/3
 }
}
@media(max-width:420px){
 #main>.services-section .services-icon-grid{grid-template-columns:1fr!important}
 #main>.services-section .icon-card{min-height:124px!important;padding:18px 16px!important}
 #main>.projects-section .project-filters{grid-template-columns:1fr}
}
