/* 25-home-extras.css – homepage video section + certifications carousel */

/* --- Video section --- */
.video-section__header{text-align:center;margin-bottom:var(--space-6);}
.video-section__embed{position:relative;width:100%;max-width:900px;margin:0 auto;aspect-ratio:16/9;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-card);background:#000;}
.video-section__embed iframe,
.video-section__embed video{position:absolute;inset:0;width:100%;height:100%;border:0;}

/* --- Certifications carousel --- */
.certs-carousel__header{text-align:center;margin-bottom:var(--space-6);}
.certs-carousel__viewport{overflow:hidden;position:relative;-webkit-mask-image:linear-gradient(to right,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(to right,transparent,#000 8%,#000 92%,transparent);}
.certs-carousel__track{display:flex;align-items:center;gap:var(--space-10);width:max-content;animation:certs-scroll 30s linear infinite;}
.certs-carousel__item{flex:0 0 auto;display:flex;align-items:center;justify-content:center;height:90px;}
.certs-carousel__logo{max-height:90px;width:auto;object-fit:contain;filter:grayscale(100%);opacity:.7;transition:filter var(--duration-base) var(--ease-out),opacity var(--duration-base) var(--ease-out);}
.certs-carousel__item:hover .certs-carousel__logo{filter:grayscale(0);opacity:1;}
.certs-carousel__viewport:hover .certs-carousel__track{animation-play-state:paused;}
@keyframes certs-scroll{from{transform:translateX(0);}to{transform:translateX(-50%);}}
@media(prefers-reduced-motion:reduce){.certs-carousel__track{animation:none;flex-wrap:wrap;justify-content:center;width:auto;}}
/* Partner logos read larger than cert badges — client names are a
   stronger trust signal and several are wordmarks that need the width. */
.certs-carousel--partners .certs-carousel__item{height:150px;}
/* Name-drop bands show logos in their true colors (no grayscale), per client
   request. Scoped to --partners so the certifications carousel keeps its
   muted treatment. */
.certs-carousel--partners .certs-carousel__logo{max-height:150px;filter:none;opacity:1;}