/* Vertical rhythm: standard sections, compact bands and internal spacing. */
:root{--section-space:96px;--section-space-compact:32px;--section-inner-gap:48px}
@media(max-width:1199px){:root{--section-space:64px;--section-space-compact:24px;--section-inner-gap:40px}}
@media(max-width:700px){:root{--section-space:48px;--section-space-compact:20px;--section-inner-gap:32px}}
html[data-slides] :is(.about-section,.marketing-section,.portfolio-section,.testimonials-section,.platform-section,.ai-section,.consulting-section,.education-section,.careers-section,.faq-section,.site-footer){padding-block:var(--section-space);margin-block:0;min-height:0}
html[data-slides] :is(.numbers-map,.clients-section){padding-block:var(--section-space-compact);margin-block:0;min-height:0}
html[data-slides] .marketing-core{padding-block:0;min-height:0}
/* About is a full slide by explicit request; grow naturally on small screens. */
html[data-slides] .about-section{min-height:calc(100svh - var(--slide-header));display:flex;align-items:center}
html[data-slides] .services-block{padding-block:0;min-height:0;margin-top:var(--section-inner-gap);margin-bottom:0}
/* Reserve a safe area for the fixed contact button at the end of the page. */
html[data-slides] .site-footer{padding-bottom:max(var(--section-space),96px)}
/* The circular seal belongs to the image, so account for its protrusion. */
@media(max-width:700px){html[data-slides] .about-visual{margin-top:48px}}
/* Section entry alignment is mandatory, handled only by native browser scroll. Native scroll
   snap still allows reading the interior of an oversized snap area. */
html[data-slides]{scroll-snap-type:y mandatory}
html[data-slides] :is(.hero-shell,main>section,.site-footer){scroll-snap-align:start;scroll-snap-stop:normal;scroll-margin-top:0}

/* Approved content rhythm. One distance per relationship, after component CSS. */
:root{
 --rhythm-chip:16px;
 --rhythm-title:24px;
 --rhythm-paragraph:16px;
 --rhythm-content:48px;
 --rhythm-cta:32px;
 --rhythm-card:24px;
 --service-columns:5;
}
@media(max-width:1199px){:root{
 --rhythm-chip:12px;--rhythm-title:20px;--rhythm-content:40px;
 --rhythm-cta:28px;--rhythm-card:20px;--service-columns:4;
}}
@media(max-width:1000px){:root{--service-columns:3}}
@media(max-width:700px){:root{
 --rhythm-title:16px;--rhythm-content:32px;--rhythm-cta:24px;
 --rhythm-card:16px;--service-columns:2;
}}
@media(max-width:359px){:root{--service-columns:1}}

/* Block chips avoid the extra baseline space of an inline line box. */
html[data-slides] :is(.about-chip,.clients-chip,.portfolio-chip,.platform-chip,.ai-chip,.education-chip,.careers-chip,.faq-chip){
 display:flex;width:fit-content;margin-block:0 var(--rhythm-chip);
}
html[data-slides] :is(.clients-chip,.platform-chip,.education-chip,.careers-chip){margin-inline:auto}
html[data-slides] :is(.about-copy,.marketing-intro,.platform-intro,.ai-copy,.consulting-copy,.education-copy,.careers-copy,.faq-intro)>h2,
html[data-slides] .portfolio-heading h2{margin-block:0}
html[data-slides] :is(.about-description,.marketing-intro>p,.platform-description,.ai-description,.consulting-copy>p,.education-copy>p:last-child,.careers-description,.faq-intro>p:last-child){margin-block:0}
html[data-slides] :is(.about-copy,.marketing-intro,.platform-intro,.ai-copy,.consulting-copy,.education-copy,.careers-copy,.faq-intro)>h2+:is(p,.about-description){margin-top:var(--rhythm-title)}
html[data-slides] .about-description>p{margin:0}
html[data-slides] .about-description>p+p{margin-top:var(--rhythm-paragraph)}

/* Introductory text or heading to the main content; no absent subtitle spacer. */
html[data-slides] .marketing-intro{margin-block:0 var(--rhythm-content)}
html[data-slides] .portfolio-heading{margin-block:0 var(--rhythm-content)}
html[data-slides] .testimonials-section h2{margin-block:0 var(--rhythm-content)}
html[data-slides] :is(.clients-carousel,.platform-grid,.education-grid,.about-highlights,.ai-highlights){margin-block:var(--rhythm-content) 0}
/* Explicit exception approved in institutional adjustments, part1 (26/10/2026). */
html[data-slides] .about-highlights{margin-top:var(--rhythm-paragraph)}
html[data-slides] .services-chip{display:flex;width:fit-content;margin-block:0 var(--rhythm-content)}
html[data-slides] .clients-note{margin-block:var(--rhythm-paragraph) 0}
html[data-slides] :is(.about-highlights,.ai-highlights){gap:var(--rhythm-paragraph)}

/* A button follows content with one margin, never an extra inline line box. */
html[data-slides] :is(.about-cta,.marketing-cta,.testimonials-cta,.consulting-cta,.careers-cta){
 display:flex;width:fit-content;max-width:100%;margin-block:var(--rhythm-cta) 0;
}
html[data-slides] .careers-cta{margin-inline:auto}
html[data-slides] .ai-actions{margin-block:var(--rhythm-cta) 0}
html[data-slides] .education-action{
 display:flex;width:fit-content;margin:var(--rhythm-cta) auto 0;padding-top:0;
}

/* Grid gutters share a scale; attached stage descriptions keep their seam. */
html[data-slides] :is(.education-grid,.platform-grid,.testimonials-grid,.services-grid){gap:var(--rhythm-card)}
html[data-slides] .stage-grid{column-gap:var(--rhythm-card);row-gap:0}
html[data-slides] .service-item{
 flex-basis:calc((100% - (var(--service-columns) - 1)*var(--rhythm-card))/var(--service-columns));
}
html[data-slides] :is(.about-inner,.consulting-inner,.faq-inner,.footer-main){gap:var(--rhythm-content)}
html[data-slides] .platform-card-heading{margin-bottom:var(--rhythm-paragraph)}
@media(max-width:700px){
 html[data-slides] .stage{margin-bottom:var(--rhythm-card)}
 html[data-slides] .stage:last-child{margin-bottom:0}
}

/* Footer headings label link groups rather than introduce a full section. */
html[data-slides] .footer-brand{margin-top:0}
html[data-slides] .site-footer h2{margin-block:0 var(--rhythm-paragraph)}
html[data-slides] :is(.footer-sitemap ul,.footer-contacts ul){row-gap:var(--rhythm-paragraph);column-gap:var(--rhythm-card)}
html[data-slides] .footer-bottom{margin-top:var(--rhythm-content);padding-top:var(--rhythm-cta);gap:var(--rhythm-card)}
html[data-slides] .footer-bottom nav{gap:var(--rhythm-card)}

/* Marketing has one snap area, including its stages, services and CTA. */
html[data-slides] :is(.marketing-core,.services-block){scroll-snap-align:none;scroll-snap-stop:normal}
/* Client supporting copy follows the same typography as section introductions. */
.clients-note{font:400 16px/1.75 Montserrat,sans-serif;color:#3D3D3D;white-space:normal;max-width:none}
@media(min-width:1000px) and (max-height:900px){.clients-note{font-size:14px;line-height:1.65}}
