/* Home-only motion layer; the approved compact layout remains unchanged. */
.reference-home .reading-line{position:absolute;inset:auto 0 -1px;height:2px;background:var(--orange);transform:scaleX(var(--reading-progress,0));transform-origin:left;pointer-events:none}
/* Operatie Blauw already uses :before for its photograph. */
.reference-home #main>#teambuilding:before{inset:0;width:auto;height:auto;background:linear-gradient(90deg,rgba(8,18,34,.83) 8%,rgba(8,23,44,.65) 42%,rgba(15,48,85,.08) 78%),url('assets/photography/forest-training-chase.webp') center 55%/cover;transform-origin:center}
.reference-home .card-photo{transition:transform .65s cubic-bezier(.2,.65,.3,1)}
.reference-home .card>b{transition:transform .3s ease}
.reference-home .card:focus-visible{outline:3px solid var(--orange);outline-offset:4px}
.reference-home .card:focus-visible>b{transform:translateX(4px)}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .reference-home .card:hover .card-photo{transform:scale(1.06)}
 .reference-home .card:hover>b{transform:translateX(4px)}
}
@media(min-width:901px) and (prefers-reduced-motion:no-preference){
 .reference-home.motion-ready .hero-photo{transform:translateY(var(--photo-shift,0px)) scale(var(--photo-scale,1.055))}
 .reference-home.motion-ready .mountain-art{transform:translateY(var(--photo-shift,0px)) scale(var(--photo-scale,1.07))}
 .reference-home.motion-ready #main>#teambuilding:before{transform:translateY(var(--photo-shift,0px)) scale(var(--photo-scale,1.07))}
}
@media(max-width:760px){
 .reference-home #main>#teambuilding:before{background-image:linear-gradient(90deg,rgba(8,18,34,.86),rgba(8,23,44,.52)),url('assets/photography/forest-training-chase.webp');background-position:65% center}
}
@media(prefers-reduced-motion:reduce){
 .reference-home{scroll-behavior:auto}
 .reference-home .reading-line{display:none}
 .reference-home .card-photo,.reference-home .card>b{transition:none!important;transform:none!important}
}
@media print{
 .reference-home .reading-line{display:none}
 .reference-home .hero-photo,.reference-home .mountain-art{transform:none!important}
}

/* Home refinement: readable navigation, aligned card arrows and compact footer. */
.reference-home .nav .links{font-weight:750}
.reference-home .nav .links .header-linkedin{order:0;flex:none;display:inline-flex;padding:10px;width:44px;height:44px;border:0}
.reference-home .card>b{margin-top:auto}
.reference-home .footer-contact a{font-weight:750}
.reference-home .footergrid .home-copyright{margin:5px 0 0;font-size:.8125rem;color:#b5bec9;line-height:1.4}
.reference-home .experience-quote{max-width:590px;margin:16px 0;border-left:2px solid var(--orange);padding-left:16px;font-size:clamp(1.1rem,1.6vw,1.35rem);line-height:1.4;font-weight:750}
@media(max-width:760px){
 .reference-home .nav{grid-template-columns:44px minmax(0,1fr);column-gap:14px}
 .reference-home .nav .menu{grid-column:1;grid-row:2}
 .reference-home .nav .navcta{grid-column:2;grid-row:2;justify-self:end}
 .reference-home .nav .links .header-linkedin{align-self:flex-start}
}
/* Exact fragments of the orange logo, cropped without redrawing. */
.reference-home .brand-trail{position:absolute;background-repeat:no-repeat;background-size:contain;background-position:center;pointer-events:none;z-index:3;opacity:.65}
/* Original mountain strokes assemble into one short brand signature. */
.brand-intro{display:none}
@media(prefers-reduced-motion:no-preference){
 .intro-pending .brand-intro{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;background:#000;overflow:hidden;animation:mh-intro-reveal 2.7s cubic-bezier(.4,0,.2,1) forwards}
 .intro-pending .intro-mark{position:relative;width:clamp(240px,32vw,440px);aspect-ratio:670/400;isolation:isolate;animation:mh-mark-assemble 2.7s cubic-bezier(.16,1,.3,1) both}
 .intro-mark:before{content:"";position:absolute;inset:-25%;z-index:-1;background:radial-gradient(ellipse,rgba(255,122,47,.16),transparent 64%);opacity:0;animation:mh-mark-glow 2.7s ease both;pointer-events:none}
 .intro-mark svg{display:block;width:100%;height:100%;overflow:visible}
 .intro-ridge{transform-box:fill-box;transform-origin:center;will-change:transform,clip-path}
 .intro-ridge-back{animation:mh-ridge-back 1.25s cubic-bezier(.16,1,.3,1) .15s both}
 .intro-ridge-front{animation:mh-ridge-front 1.15s cubic-bezier(.16,1,.3,1) .4s both}
 .intro-logo-guide{animation:mh-logo-guide 1.6s ease both}
 .intro-logo-light{animation:mh-logo-light .85s cubic-bezier(.4,0,.2,1) 1.3s both}
 .intro-skip{position:absolute;bottom:24px;right:24px;padding:10px 16px;background:transparent;border:1px solid #ffffff55;color:#fff;font-size:.875rem;cursor:pointer}
 .intro-skip:focus-visible{outline:2px solid var(--orange);outline-offset:4px}
}
@keyframes mh-ridge-back{
 0%{opacity:0;clip-path:inset(0 100% 0 0);transform:perspective(700px) translateX(-42px) rotateY(-14deg)}
 35%{opacity:1}
 100%{opacity:1;clip-path:inset(0 0 0 0);transform:perspective(700px) translateX(0) rotateY(0)}
}
@keyframes mh-ridge-front{
 0%{opacity:0;clip-path:inset(0 0 0 100%);transform:perspective(700px) translateX(36px) translateY(12px) rotateY(12deg)}
 35%{opacity:1}
 100%{opacity:1;clip-path:inset(0 0 0 0);transform:perspective(700px) translateX(0) translateY(0) rotateY(0)}
}
@keyframes mh-logo-guide{0%{opacity:0}25%,55%{opacity:.3}100%{opacity:0}}
@keyframes mh-logo-light{0%{opacity:0;transform:translateX(0)}15%,80%{opacity:.75}100%{opacity:0;transform:translateX(1100px)}}
@keyframes mh-mark-glow{0%,25%{opacity:0}62%{opacity:1}100%{opacity:0}}
@keyframes mh-mark-assemble{0%,8%{opacity:0;transform:scale(.9)}24%{opacity:1}70%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.12)}}
@keyframes mh-intro-reveal{0%,76%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden;pointer-events:none}}
@media print{.brand-intro,.brand-trail{display:none!important}}

.reference-home .reference-approach .mountain-art{background-image:url(assets/photography/mountain-horizon.webp);background-position:center 45%}
.reference-home .reference-approach:after{background:linear-gradient(90deg,rgba(11,18,22,.7),rgba(11,18,22,.28) 55%,rgba(11,18,22,.12))}
@media(max-width:900px){.reference-home .reference-approach:after{background:linear-gradient(90deg,rgba(11,18,22,.8),rgba(11,18,22,.5))}}

/* Three original mountain fragments, placed outside the text blocks. */
.reference-home .hero>.brand-trail{background-image:url(assets/brand/mountain-crop-hero.svg);top:20px;right:24px;width:180px;height:126px}
.reference-home #aanpak>.brand-trail{background-image:url(assets/brand/mountain-crop-approach.svg);left:54%;bottom:2px;width:190px;height:42px}
.reference-home #teambuilding>.brand-trail{background-image:url(assets/brand/mountain-crop-experience.svg);top:10px;right:8px;width:150px;height:84px}
/* Steel blue typography for the experience; orange branding stays orange. */
.reference-home #teambuilding{--experience-blue:#9BC8EE;color:var(--experience-blue)}
.reference-home #teambuilding h2,.reference-home #teambuilding strong,.reference-home #teambuilding p{color:var(--experience-blue)}
.reference-home #teambuilding .eyebrow.orange{color:var(--orange)}
.reference-home #teambuilding .btn.ghost{color:var(--experience-blue);border-color:var(--experience-blue)}
.reference-home #teambuilding .experience-quote{margin:22px 0 0 auto;max-width:44%;border-left:2px solid var(--orange);padding:0 0 0 16px;text-align:left;font-size:1.125rem;line-height:1.5;font-weight:700;color:var(--experience-blue);text-shadow:none}
@media(max-width:900px){
 .reference-home #teambuilding .experience-quote{max-width:100%;margin:24px 0 0}
 .reference-home .hero>.brand-trail{top:4px;right:10px;width:70px;height:49px}
 .reference-home #teambuilding>.brand-trail{top:0;right:0;width:48px;height:27px}
 .reference-home #aanpak>.brand-trail{left:auto;right:10px;width:150px;height:33px}
}


/* Full original lower mountain stroke, naturally clipped at a photo side. */
.reference-home .hero>.brand-trail,.reference-home #aanpak>.brand-trail,.reference-home #teambuilding>.brand-trail{background-image:url(assets/brand/mountain-stroke-original.svg);background-size:contain;opacity:.22;bottom:auto;z-index:0}
.reference-home .hero>.brand-trail{top:0;left:-35px;right:auto;width:170px;height:63px}
.reference-home #aanpak>.brand-trail{top:0;left:auto;right:-70px;width:220px;height:82px}
.reference-home #teambuilding>.brand-trail{top:0;left:auto;right:-60px;width:260px;height:97px}
.reference-home #teambuilding .wrap{position:relative}
.reference-home #teambuilding{padding-bottom:24px}
@media(min-width:1101px){
 .reference-home #teambuilding .experience-quote{position:absolute;left:calc(56% + 2cm);bottom:32px;width:calc(44% - 2cm);max-width:none;margin:0;transform:none}
}
@media(max-width:1100px){
 .reference-home #teambuilding .experience-quote{position:static;width:auto;max-width:100%;margin:16px 0 0;transform:none}
 .reference-home #aanpak>.brand-trail{top:auto;bottom:0;right:-28px;width:110px;height:41px}
 .reference-home #teambuilding>.brand-trail{right:-25px;width:94px;height:35px}
 .reference-home .hero>.brand-trail{left:-24px;width:120px;height:45px}
}

/* Give the two-line experience quote enough width for its second line. */
@media(min-width:1101px){
 .reference-home #teambuilding .experience-quote{left:auto;right:0;width:max-content;max-width:44%}
}

/* Photo accents follow their nearby quote, always clipped at the right edge. */
.reference-home .hero>.brand-trail,.reference-home #aanpak>.brand-trail,.reference-home #teambuilding>.brand-trail{left:auto;right:var(--quote-trail-right,-48px);top:var(--quote-trail-top,auto);bottom:auto;width:var(--quote-trail-width,150px);height:var(--quote-trail-height,55px)}
.reference-home .hero>.brand-trail{--quote-trail-top:calc(88px + 6cm + 110px)}
.reference-home #aanpak>.brand-trail{--quote-trail-top:160px}
.reference-home #teambuilding>.brand-trail{--quote-trail-top:calc(100% - 48px)}

/* Animate individual text lines without moving their positioned quote box. */
.reference-home .motion-line{display:inline-block;max-width:100%;vertical-align:top}
@media(prefers-reduced-motion:reduce){.reference-home .motion-line{transform:none!important;opacity:1!important}}
@media print{.reference-home .motion-line{transform:none!important;opacity:1!important}}

/* Soft corners keep the development photos clipped during hover motion. */
.reference-home #ontwikkelen .card{border-radius:20px;overflow:hidden}

/* Keep the uninterrupted mountain symbol behind the photo section content. */
.reference-home .hero-inner,.reference-home .hero-quote,.reference-home #teambuilding>.wrap{isolation:isolate}
