/* apx-scroll (16-10-2026): the scroll-craft layer of apexpartnerships.nl. See scrollcraft-2026-10/BRIEF.md.
   Every animated state lives under html.sx, which apx-scroll.js sets only when motion is allowed.
   Without JS, or with reduced motion, every element stands in its final state and no extra scroll room exists.
   Sizes come from the site's own type tokens (--t-*); no new sizes, fonts or weights. */

/* ── Fallback fonts with matched widths: the hero keeps its line breaks while the web fonts load (no layout shift) ── */
@font-face{font-family:'Apx Serif Fallback';font-style:normal;src:local('Times New Roman'),local('TimesNewRomanPSMT'),local('Times'),local('Noto Serif');size-adjust:97.2%}
@font-face{font-family:'Apx Serif Fallback';font-style:italic;src:local('Times New Roman Italic'),local('TimesNewRomanPS-ItalicMT'),local('Times-Italic'),local('Noto Serif Italic');size-adjust:87.4%}
@font-face{font-family:'Apx Sans Fallback';src:local('Arial'),local('ArialMT'),local('Helvetica'),local('Roboto');size-adjust:104.2%}
html body .hero .hero-title,html body .hero .hero-title em{font-family:'Cormorant Garamond','Apx Serif Fallback',serif!important}
html body .hero .hero-definer,html body .hero .hero-eyebrow-text,html body .hero .proof-link{font-family:'DM Sans','Apx Sans Fallback',sans-serif!important}

/* ── Hero: three planes. The film sinks and pushes in slowly, the words leave faster. ── */
html.sx [data-sx="hero"] .hero-video{transform:translate3d(0,calc(var(--hp,0)*12vh),0) scale(calc(1 + var(--hp,0)*.07));will-change:transform}
html.sx [data-sx="hero"] .hero-content{transform:translate3d(0,calc(var(--hp,0)*-9vh),0);opacity:calc(1 - var(--hp,0)*1.25);will-change:transform,opacity}

/* ── De samenkomst (signature move): the camera starts close on the players arguing, then pulls back
   until the whole photo stands, with him between both teams. The complete real photo, nothing drawn on it. ── */
.sx-samen{position:relative;background:#F3EEE6;color:#1C1B1A}
.sx-samen-pin{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(32px,4vw,72px);align-items:center;max-width:1440px;margin:0 auto;padding:clamp(96px,12vh,140px) clamp(24px,5.5vw,80px)}
.sx-samen-copy{max-width:690px}
.sx-samen-quote{margin:0;font:300 var(--t-h2,40.5px)/1.18 'Cormorant Garamond',serif;letter-spacing:-.01em;color:#1C1B1A}
.sx-samen-quote em{font-style:italic;color:#A94012}
.sx-samen-sig{margin:32px 0 0;max-width:34em;font:400 var(--t-body,16px)/1.75 'DM Sans',sans-serif;color:#4A4540}
html body .sx-samen .sx-samen-sig em{font-family:'DM Sans',sans-serif!important;font-style:normal!important;font-weight:500;color:#1C1B1A}
.sx-samen-fig{position:relative;margin:0;overflow:hidden;border-radius:2px;box-shadow:0 0 0 1px rgba(28,27,26,.14);aspect-ratio:3/2;background:#F3EEE6}
.sx-samen-fig img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 40%}
/* the site sets every <p> to .95rem !important on phones; the quote keeps its own step on the scale */
html body .sx-samen p.sx-samen-quote{font-size:var(--t-h2,40.5px)!important;line-height:1.18!important}
html body .sx-samen p.sx-samen-sig{font-size:var(--t-body,16px)!important;line-height:1.75!important}
@media (max-width:900px){
  html body .sx-samen p.sx-samen-quote{font-size:var(--t-h3,28px)!important;line-height:1.2!important}
  html body .sx-samen p.sx-samen-sig{font-size:var(--t-small,13.5px)!important;line-height:1.6!important}
}
html.sx .sx-samen{height:270vh}
html.sx .sx-samen-pin{position:sticky;top:0;min-height:100vh;box-sizing:border-box}
html.sx .sx-samen-fig img{transform-origin:0 0;will-change:transform}
html.sx .sx-samen .sx-l{opacity:0;transition:opacity .9s cubic-bezier(.32,.72,0,1)}
html.sx .sx-samen .sx-l.on{opacity:1}
html.sx .sx-samen-sig{opacity:0;transform:translate3d(0,18px,0);transition:opacity .9s cubic-bezier(.32,.72,0,1),transform .9s cubic-bezier(.32,.72,0,1)}
html.sx .sx-samen.sx-done .sx-samen-sig{opacity:1;transform:none}
@media (max-width:900px){
  .sx-samen-pin{grid-template-columns:1fr;gap:28px;align-content:center}
  .sx-samen-sig{margin-top:20px}
  html.sx .sx-samen{height:230vh}
  html.sx .sx-samen-pin{padding-top:88px;padding-bottom:40px}
}
@media (max-width:900px) and (max-height:500px){
  /* phone on its side: copy and photo next to each other again, the photo fits the height */
  .sx-samen-pin{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding-top:64px!important}
  html body .sx-samen p.sx-samen-quote{font-size:var(--t-h3,28px)!important}
}

/* ── Veeg: a photo opens from left to right as it scrolls in ── */
html.sx [data-sx="wipe"]{clip-path:inset(0 calc((1 - var(--wp,0))*100%) 0 0)}

/* ── Woorden: a heading arrives word by word ── */
html.sx [data-sx="words"] .sx-w{display:inline-block;opacity:0;transform:translate3d(0,.35em,0);transition:opacity .8s cubic-bezier(.32,.72,0,1),transform .9s cubic-bezier(.32,.72,0,1);transition-delay:calc(var(--i,0)*42ms)}
html.sx [data-sx="words"].sx-on .sx-w{opacity:1;transform:none}

/* ── Drijven: the copy on a big photo rises faster than the photo ── */
html.sx [data-sx="drift"] .proof-content{transform:translate3d(0,calc((.5 - var(--dp,.5))*14vh),0);will-change:transform}

/* ── Kaart: the paper card slides over its photo ── */
html.sx [data-sx="lift"] .apx-card{transform:translate3d(0,calc((1 - var(--lp,1))*110px),0);will-change:transform}

/* phones: the copy fills its photo and the card fills its section, so they stay put there (no clipped links) */
@media (max-width:900px){html.sx [data-sx="drift"] .proof-content,html.sx [data-sx="lift"] .apx-card{transform:none}}

/* ── Lijn: one orange line draws through the five steps of the method ── */
.method-principles[data-sx="line"]{position:relative}
html.sx .method-principles[data-sx="line"]::before{content:"";position:absolute;left:var(--lx,0px);top:var(--ly,0px);bottom:var(--lb,0px);width:1px;background:rgba(28,27,26,.12)}
html.sx .method-principles[data-sx="line"]::after{content:"";position:absolute;left:var(--lx,0px);top:var(--ly,0px);bottom:var(--lb,0px);width:1px;background:#E05C17;transform:scaleY(var(--mp,0));transform-origin:50% 0}
html.sx .method-principles[data-sx="line"] .mprin-num{transition:color .5s cubic-bezier(.32,.72,0,1)}
html.sx .method-principles[data-sx="line"] .mprin.sx-hit .mprin-num{color:#A94012}

/* ── Na elkaar: cards arrive one after the other ── */
html.sx [data-sx="stagger"]>*{opacity:0;transform:translate3d(0,48px,0);transition:opacity .9s cubic-bezier(.32,.72,0,1),transform 1s cubic-bezier(.32,.72,0,1)}
html.sx [data-sx="stagger"]>*:nth-child(2){transition-delay:.14s}
html.sx [data-sx="stagger"]>*:nth-child(3){transition-delay:.28s}
html.sx [data-sx="stagger"]>*:nth-child(4){transition-delay:.42s}
html.sx [data-sx="stagger"]>*:nth-child(5){transition-delay:.56s}
html.sx [data-sx="stagger"]>*:nth-child(6){transition-delay:.7s}
html.sx [data-sx="stagger"]>*:nth-child(7){transition-delay:.84s}
html.sx [data-sx="stagger"]>*:nth-child(8){transition-delay:.98s}
html.sx [data-sx="stagger"].sx-on>*{opacity:1;transform:none}

/* ── Opkomen: a portrait opens top-down, so the head is the first thing you see (never a cut-off head) ── */
html.sx [data-sx="rise"]{clip-path:inset(0 0 100% 0);transition:clip-path 1.3s cubic-bezier(.32,.72,0,1)}
html.sx [data-sx="rise"].sx-on{clip-path:inset(0 0 0 0)}

@media (prefers-reduced-motion:reduce){
  html.sx [data-sx]{clip-path:none!important}
  html.sx .sx-samen{height:auto!important}
}

/* ── De methode (home peak, 16-10 v2): five stills, five steps. The same table from first meeting to years later.
   One aligned block: the label sits level with the top of the photo, the active step and the link sit level with its bottom.
   Pinned; each still wipes in over the last while its step name joins the heading. Without motion: a plain list, first still only. ── */
.sx-method{position:relative;background:#F3EEE6;color:#1C1B1A}
.sx-method-pin{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);grid-template-rows:auto auto;column-gap:clamp(40px,5vw,96px);max-width:1600px;margin:0 auto;padding:clamp(96px,12vh,140px) clamp(24px,5.5vw,80px) clamp(80px,10vh,120px)}
.sx-method-head{grid-column:1;grid-row:1;align-self:start;max-width:690px}
.sx-method-head .method-eyebrow{margin:0}
html body .sx-method h2.sx-method-title{margin:22px 0 0;font:300 var(--t-h2,40.5px)/1.18 'Cormorant Garamond',serif!important;letter-spacing:-.01em;color:#1C1B1A}
.sx-method-title em{font-style:italic;color:#A94012}
.sx-method-foot{grid-column:1;grid-row:2;align-self:end;max-width:690px;padding-top:32px}
.sx-method-steps{list-style:none;margin:0;padding:0}
.sx-ms{padding:20px 0;border-top:1px solid rgba(28,27,26,.12)}
html body .sx-method h3.sx-ms-t{margin:0;font:400 var(--t-h3,28px)/1.2 'Cormorant Garamond',serif!important;color:#1C1B1A}
html body .sx-method p.sx-ms-b{margin:10px 0 0;max-width:34em;font:400 var(--t-body,16px)/1.7 'DM Sans',sans-serif!important;color:#4A4540}
html body .sx-method .sx-method-cta{margin-top:8px!important;color:#8A3A10!important;text-shadow:none!important}
html body .sx-method .sx-method-cta .method-cta-arrow{background:#8A3A10!important}
.sx-method-fig{grid-column:2;grid-row:1/3;align-self:start;position:relative;margin:0;aspect-ratio:4/3;overflow:hidden;border-radius:2px;box-shadow:0 0 0 1px rgba(28,27,26,.14);background:#E8E1D6}
.sx-method-fig img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sx-method-fig img+img{display:none}
/* the eyebrow left its old .method parent: no dark glow on cream, the site's cream-ground label colour */
html body .sx-method .method-eyebrow-text{text-shadow:none!important;color:#7B6123!important}
html body .sx-method .method-eyebrow-line{background:rgba(123,97,35,.45)!important}
html.sx .sx-method{height:400vh}
/* pinned: the whole block is centred in the screen under the nav; the photo is as tall as the screen allows */
html.sx .sx-method-pin{position:sticky;top:0;height:100vh;box-sizing:border-box;padding-top:calc(64px + 5vh);padding-bottom:5vh;align-content:center}
html.sx .sx-method-fig{width:100%;max-height:calc(100vh - 64px - 10vh);aspect-ratio:4/3;justify-self:end}
html.sx .sx-method .sx-st{color:#736A62;transition:color .6s cubic-bezier(.32,.72,0,1)}
html.sx .sx-method .sx-st.on{color:#1C1B1A}
html.sx .sx-method em.sx-st.on{color:#A94012}
html.sx .sx-method-steps{display:grid}
html.sx .sx-ms{grid-area:1/1;opacity:0;transform:translate3d(0,14px,0)}
/* transitions only once the first state is painted, so the steps never fade out together on load */
html.sx .sx-method.sx-run .sx-ms{transition:opacity .6s cubic-bezier(.32,.72,0,1),transform .7s cubic-bezier(.32,.72,0,1)}
html.sx .sx-ms.on{opacity:1;transform:none}
html.sx .sx-method-fig img+img{display:block;clip-path:inset(0 calc((1 - var(--w,0))*100%) 0 0)}
html.sx .sx-method-fig img{transform:scale(calc(1 + (1 - var(--z,1))*.06));transform-origin:50% 40%;will-change:transform}
@media (max-width:900px){
  .sx-method-pin{grid-template-columns:1fr;grid-template-rows:auto auto auto;padding-bottom:64px}
  .sx-method-fig{grid-column:1;grid-row:2;margin-top:20px}
  .sx-method-foot{grid-row:3;padding-top:4px;align-self:start}
  html body .sx-method h2.sx-method-title{font-size:var(--t-h3,28px)!important;margin-top:12px}
  html body .sx-method h3.sx-ms-t{font-size:var(--t-lead,18px)!important}
  html body .sx-method p.sx-ms-b{font-size:var(--t-small,13.5px)!important;line-height:1.6!important}
  html.sx .sx-method{height:380vh}
  html.sx .sx-method-pin{padding-top:80px;padding-bottom:16px;align-content:start}
  html.sx .sx-method-fig{max-height:none;justify-self:stretch}
  html.sx .sx-method .method-eyebrow{display:none}
}
@media (max-width:900px) and (max-height:500px){
  .sx-method-pin{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto 1fr}
  .sx-method-fig{grid-column:2;grid-row:1/3;margin-top:0}
  .sx-method-foot{grid-row:2;align-self:end}
  html.sx .sx-method-pin{padding-top:60px}
  html.sx .sx-method-fig{max-height:calc(100vh - 80px);justify-self:end}
}
@media (prefers-reduced-motion:reduce){html.sx .sx-method{height:auto!important}}

/* ── De filmrol (Serdar peak, 19-10): four HD match photos, big and complete, travel sideways while the page holds.
   Museum labels under each photo. Without motion: the photos stand in a plain two-column grid. ── */
.sx-reel{position:relative;background:#F3EEE6;color:#1C1B1A;padding:clamp(80px,10vh,120px) 0}
.sx-reel-track{display:flex;flex-wrap:wrap;gap:clamp(20px,2.4vw,40px);align-items:flex-start;padding:0 clamp(24px,5.5vw,80px)}
.sx-reel-intro{flex:0 0 100%;max-width:690px;margin-bottom:16px}
html body .sx-reel h2.sx-reel-title{margin:0;font:300 var(--t-display,61px)/1.08 'Cormorant Garamond',serif!important;letter-spacing:-.015em;color:#1C1B1A}
.sx-reel-title em{font-style:italic;color:#A94012}
html body .sx-reel p.sx-reel-lead{margin:22px 0 0;max-width:34em;font:400 var(--t-body,16px)/1.75 'DM Sans',sans-serif!important;color:#4A4540}
.sx-reel-item{margin:0;flex:0 1 calc(50% - 20px)}
.sx-reel-item img{display:block;width:100%;height:auto;border-radius:2px;box-shadow:0 0 0 1px rgba(28,27,26,.14)}
.sx-reel-item figcaption{display:flex;gap:14px;align-items:baseline;margin-top:14px;max-width:46ch}
.sx-reel-item .k{flex:none;font:500 var(--t-label,11px)/1.5 'DM Sans',sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#7B6123}
.sx-reel-item .t{font:400 var(--t-body,16px)/1.5 'DM Sans',sans-serif;color:#4A4540}
html.sx .sx-reel{padding:0}
html.sx .sx-reel-pin{position:sticky;top:0;height:100vh;overflow:hidden;display:flex;align-items:center;padding-top:64px;box-sizing:border-box}
html.sx .sx-reel-track{flex-wrap:nowrap;align-items:center;will-change:transform}
/* breathing room after the last photo (a flex row's own right padding does not count as travel) */
html.sx .sx-reel-track::after{content:"";flex:0 0 clamp(24px,5.5vw,80px);height:1px}
html.sx .sx-reel-intro{flex:0 0 min(480px,80vw);margin:0 clamp(24px,4vw,64px) 0 0}
html.sx .sx-reel-item{flex:0 0 auto}
html.sx .sx-reel-item img{height:min(64vh,780px);width:auto}
@media (max-width:900px){
  .sx-reel-item{flex-basis:100%}
  html body .sx-reel h2.sx-reel-title{font-size:var(--t-h2,29px)!important}
  html.sx .sx-reel-item img{height:min(54vh,560px)}
  html.sx .sx-reel-intro{flex-basis:82vw}
}
@media (max-width:900px) and (max-height:500px){html.sx .sx-reel-item img{height:58vh}html body .sx-reel p.sx-reel-lead{display:none}}
@media (prefers-reduced-motion:reduce){html.sx .sx-reel{height:auto!important}}
/* Serdar, "Wat hij meedraagt": the 01-04 numbers are gone (no sequence counters), so the pillar text takes the full width */
html body .intensity .pillar{grid-template-columns:minmax(0,1fr)!important}

/* ── Aanpak / Advies (19-10): the method frame. Each next photo wipes in over the last instead of fading;
   going back, it wipes out again. The step numbers 01-05 are gone (no sequence counters). ── */
html.sx body .apx-m-frame img{opacity:1!important;scale:1!important;clip-path:inset(0 100% 0 0);transition:clip-path 1.1s cubic-bezier(.65,0,.35,1)!important}
html.sx body .apx-m-frame img:first-child,html.sx body .apx-m-frame img.sx-shown{clip-path:inset(0 0 0 0)}
/* the advisory card on Aanpak/Advies is the section itself, laid over the photo band */
html.sx .ap-advisory[data-sx="lift"]:not(.apx-cardsec){transform:translate3d(0,calc((1 - var(--lp,1))*110px),0);will-change:transform}
@media (max-width:900px){html.sx .ap-advisory[data-sx="lift"]:not(.apx-cardsec){transform:none}}

/* ── Over / Voor topsporters (19-10): the list numbers 01-05 are gone (no sequence counters); the text takes their column ── */
html body .beliefs .belief{grid-template-columns:minmax(0,1fr)!important}
html body .criteria .criteria-item{grid-template-columns:minmax(0,1fr) 320px!important}
@media (max-width:900px){html body .criteria .criteria-item{grid-template-columns:minmax(0,1fr)!important}}
/* Voor topsporters, case study: the quote block was a dark-theme leftover (grey on the paper card). Paper, an orange rule, ink text. */
html body .casestudy .quote-block{background:#F3EEE6!important;border:0!important;border-left:2px solid #E05C17!important;border-radius:2px!important;margin-top:40px!important}
html body .casestudy .quote-text{color:#1C1B1A!important;text-shadow:none!important}
html body .casestudy .quote-text em{color:#A94012!important}
html body .casestudy .quote-attr{color:#6E614B!important}
/* Sport en samenleving: the 01-05 numbers left the audience list, so it becomes two columns (who · what) */
html body.sam:not(#s1):not(#s2):not(#s3):not(#s4):not(#s5) .sm-wielist li{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)!important}
@media (max-width:600px){html body.sam:not(#s1):not(#s2):not(#s3):not(#s4):not(#s5) .sm-wielist li{grid-template-columns:minmax(0,1fr)!important;gap:4px!important}}
/* Cases: phase and condition numbers are gone (no sequence counters); the text takes their column */
html body .progression .phase{grid-template-columns:minmax(0,1fr) 320px!important}
html body .cs-conditions .cs-condition{grid-template-columns:minmax(0,1fr) minmax(0,2.2fr)!important}
@media (max-width:900px){html body .progression .phase,html body .cs-conditions .cs-condition{grid-template-columns:minmax(0,1fr)!important}}
