/* Kolmachine Motion 1.0 — reusable core. Effect variables: 1 on / 0 off. */
.kmm-scope{--kmm-hero-zoom:1;--kmm-title:1;--kmm-cta-pulse:1;--kmm-parallax:1;--kmm-card-active:1;--kmm-card-hover:1;--kmm-card-touch:1;--kmm-card-reveal:1;--kmm-parallax-distance:32;--kmm-shift:0px}
.kmm-parallax,.kmm-zoom{position:absolute;inset:0;overflow:hidden}
.kmm-parallax{inset:-22px 0;transform:translate3d(0,var(--kmm-shift),0)}
.kmm-zoom{animation:kmm-kenburns 20s ease-in-out infinite alternate;transform-origin:62% 35%}
.kmm-scope .kmm-line-inner{animation:kmm-line .65s cubic-bezier(.16,.74,.22,1) both}
.kmm-line:nth-child(2) .kmm-line-inner{animation-delay:.12s}
.kmm-scope .kmm-pulse{animation:kmm-pulse .7s ease-in-out 2s 1}
.kmm-scope .kmm-card::after{content:"";position:absolute;inset:auto 0 0;height:3px;background:var(--kh-red,#E3121D);transform:scaleX(0);transform-origin:left;transition:transform .45s ease;pointer-events:none}
.kmm-scope .kmm-card.is-kmm-active::after,.kmm-scope .kmm-card:focus-within::after{transform:scaleX(var(--kmm-card-active))}
.kmm-scope .kmm-reveal.is-kmm-seen{animation:kmm-card-in .55s ease both}
.kmm-scope.kh-paused .kmm-zoom,.kmm-scope.kh-paused .kmm-line-inner,.kmm-scope.kh-paused .kmm-pulse,.kmm-scope.kh-paused .kmm-reveal{animation-play-state:paused!important}
.kmm-scope.kmm-off .kmm-zoom,.kmm-scope.kmm-off .kmm-line-inner,.kmm-scope.kmm-off .kmm-pulse,.kmm-scope.kmm-off .kmm-reveal{animation:none!important;transform:none!important;opacity:1!important}
.kmm-scope.kmm-off .kmm-parallax{transform:none!important}
.kmm-scope.kmm-off .kmm-card,.kmm-scope.kmm-off .kmm-card img{transform:none!important;transition:none!important}
.kmm-scope.kmm-off .kmm-card::after{transition:none!important}
@keyframes kmm-kenburns{from{transform:scale(1)}to{transform:scale(calc(1 + .045 * var(--kmm-hero-zoom)))}}
@keyframes kmm-line{from{opacity:calc(1 - var(--kmm-title));transform:translate3d(0,calc(105% * var(--kmm-title)),0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes kmm-pulse{0%,100%{transform:scale(1)}55%{transform:scale(calc(1 + .025 * var(--kmm-cta-pulse)))}}
@keyframes kmm-card-in{from{opacity:calc(1 - var(--kmm-card-reveal));transform:translate3d(0,calc(18px * var(--kmm-card-reveal)),0)}to{opacity:1;transform:translate3d(0,0,0)}}
/* Homepage adapter. No styles apply without the explicit sample marker. */
#km-home2026.kmm-scope .kh-hero{min-height:clamp(740px,calc(100svh - 94px),920px);padding:80px 0 88px;overflow:hidden}
#km-home2026.kmm-scope .kh-hero-media{inset:0;background:var(--kh-black);transform:none!important}
#km-home2026.kmm-scope .kh-hero-media picture{inset:0;width:100%;height:100%;transform:none!important}
#km-home2026.kmm-scope .kh-hero-media picture img{inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:66% 30%;animation:none!important;transform:none!important;filter:none}
#km-home2026.kmm-scope .kh-hero-media::after{inset:0;z-index:1;background:linear-gradient(90deg,#000 0%,rgba(0,0,0,.86) 28%,rgba(0,0,0,.3) 60%,rgba(0,0,0,.06) 100%),linear-gradient(0deg,#000 0%,transparent 36%);transform:none}
#km-home2026.kmm-scope .kh-hero-copy{max-width:770px}
#km-home2026.kmm-scope .kmm-line-inner{animation-name:kmm-line;animation-duration:.65s;animation-timing-function:cubic-bezier(.16,.74,.22,1);animation-fill-mode:both}
#km-home2026.kmm-scope .kmm-line:nth-child(2) .kmm-line-inner{animation-delay:.12s}
#km-home2026.kmm-scope .kh-hero .kh-btn.kmm-pulse{animation:kmm-pulse .7s ease-in-out 2s 1;transform-origin:left center}
#km-home2026.kmm-scope .kh-modes{align-items:stretch}
#km-home2026.kmm-scope .kmm-card{transform:none;transition:transform .25s ease}
#km-home2026.kmm-scope .kmm-card::after{z-index:2}
#km-home2026.kmm-scope .kmm-card>p:empty,#km-home2026.kmm-scope .kh-team>p:empty{display:none!important}
#km-home2026.kmm-scope .kmm-reveal.is-kmm-seen{animation-name:kmm-card-in}
@media(hover:hover) and (pointer:fine){
 #km-home2026.kmm-scope .kmm-card:hover{transform:perspective(1000px) translate3d(0,calc(-8px * var(--kmm-card-hover)),0) rotateX(calc(2deg * var(--kmm-card-hover))) rotateY(calc(-1.3deg * var(--kmm-card-hover)))}
 #km-home2026.kmm-scope .kmm-card:hover::after{transform:scaleX(var(--kmm-card-active))}
 #km-home2026.kmm-scope .kmm-card:hover img{transform:scale(calc(1 + .025 * var(--kmm-card-hover)))}
}
/* All published staff are visible. This phase adds no staff animation. */
#km-home2026.kmm-scope .kh-team{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:30px 24px;overflow:visible;margin:0;padding:0}
#km-home2026.kmm-scope .kh-person-photo{aspect-ratio:1;clip-path:none}
#km-home2026.kmm-scope .kh-person-photo img{width:100%;height:100%;object-fit:cover;object-position:top}
#km-home2026.kmm-scope .kh-person figcaption{padding-top:12px}
#km-home2026.kmm-scope .kh-person h3{font-size:29px;line-height:1.08;overflow-wrap:normal}
#km-home2026.kmm-scope .kh-carousel-hint{display:none}
@media(max-width:1000px) and (min-width:768px){#km-home2026.kmm-scope .kh-team{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){
 #km-home2026.kmm-scope .kh-hero{min-height:calc(100svh - 74px);display:flex;align-items:flex-end;padding:clamp(150px,20svh,180px) 0 24px}
 #km-home2026.kmm-scope .kh-hero>.kh-wrap{width:calc(100% - 40px);margin:0 20px}
 #km-home2026.kmm-scope .kh-hero-media{height:auto;inset:0}
 #km-home2026.kmm-scope .kh-hero-media picture img{object-position:56% 22%}
 #km-home2026.kmm-scope .kh-hero-media::after{background:linear-gradient(0deg,#000 0%,rgba(0,0,0,.96) 27%,rgba(0,0,0,.72) 47%,rgba(0,0,0,.12) 78%,rgba(0,0,0,.02) 100%)}
 #km-home2026.kmm-scope .kh-hero .kh-eyebrow{font-size:16px;padding-top:0;margin-bottom:18px;gap:10px}
 #km-home2026.kmm-scope .kh-hero h1{font-size:21.6vw;line-height:.87;margin-bottom:14px}
 #km-home2026.kmm-scope .kh-hero h1 .kmm-line:nth-child(2){font-size:19.1vw}
 #km-home2026.kmm-scope .kh-tagline{font-size:34px;margin-bottom:18px}
 #km-home2026.kmm-scope .kh-hero-intro{font-size:17px;line-height:1.5;margin-bottom:20px;max-width:370px}
 #km-home2026.kmm-scope .kh-hero .kh-btn{padding:12px 10px;gap:8px}
 #km-home2026.kmm-scope .kh-price-note{font-size:16px;line-height:1.45}
 #km-home2026.kmm-scope .kh-hero .kh-price-note{padding-right:45px}
 #km-home2026.kmm-scope .kh-hero-bottom{padding-right:42px;margin-top:20px}
 #km-home2026.kmm-scope .kh-modes{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;overflow:visible;margin:0;padding:0;scroll-snap-type:none}
 #km-home2026.kmm-scope .kmm-card{display:flex;flex-direction:column;min-width:0;flex:none;overflow:hidden;transform:none}
 #km-home2026.kmm-scope .kmm-card .kh-card-photo{width:100%;height:auto;min-height:0;aspect-ratio:2.2;flex:none}
 #km-home2026.kmm-scope .kmm-card .kh-card-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 44%}
 #km-home2026.kmm-scope .kmm-card .kh-card-num{top:12px;left:10px;font-size:26px}
 #km-home2026.kmm-scope .kmm-card .kh-card-body{padding:20px;min-width:0}
 #km-home2026.kmm-scope .kmm-card h3{font-size:42px;line-height:1.04;overflow-wrap:normal;word-break:normal}
 #km-home2026.kmm-scope .kmm-card .kh-card-tagline{font-size:16px;line-height:1.35;margin:6px 0 12px}
 #km-home2026.kmm-scope .kmm-card p{font-size:16px;line-height:1.45;margin-bottom:18px}
 #km-home2026.kmm-scope .kmm-card .kh-link{font-size:16px;gap:7px;line-height:1.35}
 #km-home2026.kmm-scope .kmm-card .kh-arrow{width:15px;height:15px}
 #km-home2026.kmm-scope .kmm-card.is-kmm-active{transform:scale(calc(1 + .008 * var(--kmm-card-active)))}
 #km-home2026.kmm-scope .kmm-card:active{transform:scale(calc(1 - .03 * var(--kmm-card-touch)))}
 #km-home2026.kmm-scope .kh-team{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 16px}
 #km-home2026.kmm-scope .kh-person{min-width:0;flex:none;scroll-snap-align:none}
 #km-home2026.kmm-scope .kh-person h3{font-size:26px;line-height:1.1}
}
/* Reviewer controls are hidden unless ?kmm-controls=1 is present. */
.kmm-panel{display:none}
.kmm-panel[data-kmm-controls]{display:block;position:fixed;right:12px;top:110px;z-index:10020;max-width:280px;background:#000;color:#fff;border:1px solid #bcbcbc;padding:8px 14px;font:16px/1.4 "Trebuchet MS",Arial,sans-serif}
#km-home2026 .kmm-panel summary{font-size:16px;min-height:36px;padding:5px 0;gap:14px}
#km-home2026 .kmm-panel summary::after{font-size:22px}
.kmm-panel label{display:flex;gap:9px;align-items:center;padding:5px 0;font-size:16px;color:#fff}
.kmm-panel input{width:18px;height:18px;accent-color:#E3121D}
.kmm-panel p{font-size:16px;margin:10px 0 4px}
.kmm-panel button{font:inherit;color:#fff;background:#E3121D;border:0;padding:9px 12px;margin-top:8px}
.kmm-scope.kmm-restarting .kmm-line-inner,.kmm-scope.kmm-restarting .kmm-pulse{animation:none!important}
@media(prefers-reduced-motion:reduce){
 .kmm-scope .kmm-parallax,.kmm-scope .kmm-zoom,.kmm-scope .kmm-line-inner,.kmm-scope .kmm-pulse,.kmm-scope .kmm-card,.kmm-scope .kmm-reveal{animation:none!important;transition:none!important;transform:none!important;opacity:1!important}
 .kmm-scope .kmm-card::after{transition:none!important}
 #km-home2026.kmm-scope .kmm-card img{transform:none!important}
}
