/* Shared spacing contract: component rules apply to both languages and every route. */
:root{
 --section-space:clamp(64px,6vw,96px);
 --layout-gap:clamp(40px,5vw,80px);
 --space-copy:24px;
 --space-heading:24px;
 --space-action:32px;
 --space-component:48px;
 --space-card:clamp(28px,2.4vw,36px);
 --space-scene:clamp(88px,8vw,128px);
 --space-search:28px;
}
body.inner-page main>:is(.page-hero,.article-hero),
body.compact-services main>.page-hero,
body.compact-service main>.page-hero{
 padding-top:calc(var(--section-space) + 80px);
 padding-bottom:var(--section-space);
}
body :is(.page-hero-grid,.offer-hero-grid,.offer-index-lead,.studio-founder,.studio-direction,.contact-page-grid,.approach-grid,.home-faq-grid,.ecosystem-grid,.library-scroll-panel){gap:var(--layout-gap)}
body.studio-page :is(.studio-founder,.studio-direction){gap:var(--layout-gap)}
body .breadcrumbs{margin-bottom:32px}
body :is(.page-hero-copy,.offer-hero-grid>div,.studio-hero,.founder-story,.library-scroll-copy,.contact-invite-panel)>.eyebrow{margin-bottom:var(--space-heading)}
body :is(.page-intro,.offer-hero .offer-intro,.offer-index-lead,.studio-summary){margin-top:32px}
body :is(.page-hero-copy>.text-link,.offer-hero .button,.studio-hero>.text-link,.founder-story>.text-link,.approach-heading>.text-link){margin-top:var(--space-action)}
body .section-meta{padding-bottom:32px}
body .section-heading-row{margin-bottom:var(--space-component)}
body :is(.approach-heading>p,.ecosystem-copy>p:not(.eyebrow)){margin-top:var(--space-heading)}
body .ecosystem-copy>.text-link{margin-top:var(--space-action)}

/* Paragraphs and subheadings keep a readable rhythm in every editorial component. */
body .source-rich p{margin:0 0 var(--space-copy)}
body .source-rich p:last-child{margin-bottom:0}
body .source-rich :is(h2,h3){margin:var(--space-component) 0 20px}
body .source-rich>:is(h2,h3):first-child{margin-top:0}
body .source-rich :is(ul,ol){margin-block:var(--space-copy)}
body .source-block+.source-block{margin-top:var(--space-component)}
body .blog-article .article-copy .source-block>h2:first-child{margin-top:var(--space-component)}
body .blog-article .article-copy .source-block:first-child>h2:first-child{margin-top:0}
body .studio-editorial-copy>.source-rich+.source-rich{margin-top:32px}
body .studio-links{margin-top:var(--space-action);gap:16px}
body .founder-story>h2{margin-bottom:32px}

/* Section padding owns the outer rhythm; full-width scenes have equal breathing room. */
body main>.service-scene,
body main>.library-scroll+.service-scene{margin-block:var(--space-scene)}
body .library-scroll-panel{padding-block:0}
body .library-scroll-copy h2{margin-bottom:var(--space-heading)}
body .library-scroll-copy>p:not(.eyebrow){margin-top:var(--space-copy)}
body .library-scroll-status{margin-top:32px}
body .library-scroll-copy>.library-scroll-disclosure{margin-top:20px!important}

/* The same deliverable card stays vertical, including on a narrow screen. */
body .offer-output-cards{gap:24px;margin:32px 0 0}
body .offer-output-cards>li{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:20px;padding:var(--space-card)}
body .offer-output-cards>li>:is(h3,p){margin:0;max-width:100%}
body .service-surface .service-carousel-track .offer-card-copy{padding:var(--space-card)}
body .offer-card h3{margin-bottom:16px}
body .service-surface .service-carousel-track .offer-card-copy>p{margin-bottom:var(--space-copy)}
body .offer-catalogue>h2{margin-bottom:32px}
body .offer-extra{margin-top:32px}

/* All question/answer rows and closing invitations use the shared component spacing. */
body main details.abm-disclosure:is(.faq-item,.principle)>summary{padding-block:24px}
body main details.abm-disclosure:is(.faq-item,.principle)>:is(.source-rich,.principle-content){padding-top:8px;padding-bottom:28px}
body main details.abm-disclosure:is(.faq-item,.principle)>summary :is(h2,h3){margin:0}
body .contact-invite-panel{padding:clamp(32px,4.5vw,64px)}
body .contact-invite h2{margin-bottom:32px}
body .contact-invite-bottom{gap:32px}
body .contact-invite-copy p{margin:0}
body .contact-invite-copy p+p{margin-top:var(--space-copy)}
body .contact-invite>.offer-related{margin-top:32px;gap:16px 24px}

/* Articles share one hero/body boundary, rather than two accumulated section paddings. */
body.inner-page main>.article-layout{padding-top:0}
body .article-hero .article-deck{margin-top:32px}
body .article-hero>figure{margin-top:var(--space-component)}
body .article-hero>.eyebrow{margin-bottom:var(--space-heading)}
body .article-affiliate{margin-top:32px}
body .article-affiliate>p{margin-bottom:20px}
body .article-affiliate-bottom{margin-top:var(--space-component);padding:32px}
body .article-affiliate-bottom>h2{margin-bottom:24px}
body .journal-grid{gap:48px 32px}
body .journal-card-meta{margin:24px 0 16px}
body .journal-card>h2{margin:0 0 16px}
body .journal-card>p{margin:0}
body .journal-card>.text-link{margin-top:var(--space-copy)}
body.journal-page .journal-card:first-child{column-gap:var(--layout-gap)}
body.journal-page main>.explained-hero,body.faq-page main>.page-hero{padding-bottom:var(--space-search)}
body.journal-page main>.journal-section,body.faq-page main>.faq-section{padding-top:0!important}
body :is(.journal-tools,.faq-tools){margin-bottom:32px;padding-bottom:24px;gap:24px}
body .form-grid{gap:32px 24px}
body .project-form>.button{margin-top:var(--space-action)}
body .site-footer{padding-top:56px;padding-bottom:32px}
body .footer-top{padding-bottom:40px}

@media(max-width:760px){
 :root{--section-space:56px;--layout-gap:32px;--space-copy:20px;--space-heading:20px;--space-action:28px;--space-component:36px;--space-card:24px;--space-scene:72px;--space-search:24px}
 body.inner-page main>:is(.page-hero,.article-hero),body.compact-services main>.page-hero,body.compact-service main>.page-hero{padding-top:calc(var(--section-space) + 72px)}
 body .breadcrumbs{margin-bottom:28px}
 body :is(.page-intro,.offer-hero .offer-intro,.offer-index-lead,.studio-summary){margin-top:24px}
 body .section-meta{padding-bottom:28px}
 body .offer-output-cards{gap:16px;margin-top:28px}
 body .offer-output-cards>li{gap:18px}
 body .contact-invite-panel{padding:28px}
 body .contact-invite h2{margin-bottom:28px}
 body .contact-invite-bottom{gap:28px}
 body .article-hero .article-deck{margin-top:24px}
 body .article-affiliate-bottom{padding:24px}
 body .journal-grid{gap:40px}
 body :is(.journal-tools,.faq-tools){margin-bottom:28px;padding-bottom:20px;gap:20px}
 body .form-grid{gap:28px 20px}
 body .site-footer{padding-top:40px;padding-bottom:28px}
 body .footer-top{padding-bottom:32px}
}
/* Long Dutch headings must not force a grid column beyond the shared page gutter. */
body main :is(.offer-hero-grid,.page-hero-grid,.contact-invite-bottom,.studio-direction,.studio-founder,.ecosystem-grid,.approach-grid,.home-faq-grid,.contact-page-grid)>*{min-width:0}
body main :is(h1,h2,h3){overflow-wrap:anywhere}
@media(max-width:760px){
 body :is(.offer-hero-grid,.page-hero-grid,.studio-direction,.studio-founder,.ecosystem-grid,.approach-grid,.home-faq-grid,.contact-page-grid){grid-template-columns:minmax(0,1fr)}
}
body main :is(h1,h2,h3){hyphens:auto}

/* Preserve the original centred canvas; all component edges share its gutters. */
body .section-shell,
body.studio-page main>.section-shell,
body .site-header{
 width:100%;
 max-width:1760px;
 margin-inline:auto;
}
body.about-page main>.section-shell{max-width:1160px}
/* Centre the caption on the page canvas, compensating only for the image frame. */
body .campaign-feature figcaption{
 position:relative;
 left:50%;
 transform:translateX(-50%);
 width:calc(100% + 32px);
 max-width:1760px;
 margin-inline:0;
 padding-inline:var(--gutter);
}
/* The two hero actions use the same type, weight, rhythm and touch target. */
body.home-page .hero-buttons{
 flex-wrap:wrap;
 gap:16px;
}
body.home-page .hero-buttons :is(.button,.text-link){
 font-family:var(--body);
 font-size:12px;
 font-weight:400;
 line-height:1.5;
 letter-spacing:-.01em;
 min-height:49px;
 padding:10px 22px;
 gap:18px;
 text-decoration:none;
}
body.home-page .hero-buttons :is(.button-arrow,.text-link>span){
 display:inline-grid;
 place-items:center;
 flex:none;
 width:30px;
 height:30px;
 font-size:22px;
 line-height:1;
}
@media(max-width:760px){
 body .campaign-feature figcaption{width:calc(100% + 20px)}
 body.home-page .hero-buttons{gap:12px}
 body.home-page .hero-buttons :is(.button,.text-link){
  font-size:11px;
  min-height:45px;
  padding:10px 16px;
  gap:12px;
 }
 body.home-page .hero-buttons :is(.button-arrow,.text-link>span){width:27px;height:27px;font-size:20px}
}

/* Content-sized sticky scenes do not add a full empty viewport on tall monitors. */
body main>.home-mission-scroll{height:auto;border-top:0}
body .home-mission-scroll .mission-sticky,
body .home-mission-scroll:not(.mission-gallery-ready) .mission-sticky{
 position:relative;
 top:auto;
 height:auto;
 min-height:0;
 padding-block:48px;
}
body .home-mission-scroll.mission-pinned .mission-sticky{position:sticky;top:var(--mission-top,24px)}
body .ecosystem-section{border-block:0}
/* The ticker follows the cards in the same sticky component, with no extra runway. */
body .service-carousel>.statement-strip{
 width:100vw;
 max-width:none;
 left:50%;
 transform:translateX(-50%) rotate(-1.5deg);
 margin:64px 0 0;
}
body main>#services.service-surface{padding-bottom:32px}
/* Equal breathing room after the last showcase image, without accumulated gaps. */
body main>section.section-shell.library-scroll:not(.hero):not(.page-hero):not(.article-hero):not(.home-mission-scroll):not(.article-layout){padding-bottom:32px}
body main>.library-scroll+.service-scene{margin-top:48px}
@media(max-width:760px){
 body .home-mission-scroll .mission-sticky,
 body .home-mission-scroll:not(.mission-gallery-ready) .mission-sticky{padding-block:28px}
 body .service-carousel>.statement-strip{margin-top:48px}
 body main>section.section-shell.library-scroll:not(.hero):not(.page-hero):not(.article-hero):not(.home-mission-scroll):not(.article-layout){padding-bottom:24px}
 body main>.library-scroll+.service-scene{margin-top:36px}
}
