/* Hero - Video Slider — Hero - Simple header (its CSS is loaded too) + a centred slider of video cards. */
html:not(#syn#syn) .syn-hs.syn-hv{padding:var(--hs-pt,140px) 0 var(--hs-pb,80px)}

/* ---------- slider: full width, the active card in the middle ---------- */
html:not(#syn#syn) .syn-hv__slider{position:relative;z-index:1;container-type:inline-size;--hv-W:min(calc(var(--hv-w,66) * 1cqw),var(--hv-max,1280px));--hv-R:16 / 9}
html:not(#syn#syn) .syn-hv__slider.has-top{margin-top:var(--hv-space,64px)}
html:not(#syn#syn) .syn-hv.is-r-21-9 .syn-hv__slider{--hv-R:21 / 9}
html:not(#syn#syn) .syn-hv.is-r-3-2 .syn-hv__slider{--hv-R:3 / 2}
html:not(#syn#syn) .syn-hv__track{display:flex;gap:var(--hv-gap,24px);overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 calc((100% - var(--hv-W)) / 2);-webkit-overflow-scrolling:touch}
html:not(#syn#syn) .syn-hv__track::-webkit-scrollbar{display:none}
html:not(#syn#syn) .syn-hv__slide{position:relative;flex:0 0 var(--hv-W);scroll-snap-align:center;scroll-snap-stop:always;opacity:var(--hv-dim,.25);transition:opacity .6s var(--syn-ease)}
html:not(#syn#syn) .syn-hv__slide.is-active{opacity:1}
html:not(#syn#syn) .syn-hv__slide:not(.is-active):hover{opacity:calc(var(--hv-dim,.25) + (1 - var(--hv-dim,.25)) * .35)}

/* ---------- card ---------- */
html:not(#syn#syn) .syn .syn-hv__card{position:relative;isolation:isolate;display:block;aspect-ratio:var(--hv-R);border-radius:16px;overflow:hidden;background:#1C1C1C;color:#fff;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
html:not(#syn#syn) .syn div.syn-hv__card{cursor:default}
html:not(#syn#syn) .syn-hv__slide:not(.is-active) .syn-hv__card{cursor:pointer}
html:not(#syn#syn) .syn-hv__media{position:absolute;inset:0;z-index:-2;overflow:hidden;border-radius:inherit;container-type:size}
html:not(#syn#syn) .syn .syn-hv__poster{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;margin:0;object-fit:cover;transition:transform .9s var(--syn-ease)}
/* Video / iframe: covers the card whatever its shape (16:9 source), fades in once it plays. */
html:not(#syn#syn) .syn-hv__player{position:absolute;inset:0;opacity:0;transition:opacity .5s ease}
html:not(#syn#syn) .syn-hv__player.is-on{opacity:1}
html:not(#syn#syn) .syn-hv__player video{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;background:transparent}
html:not(#syn#syn) .syn-hv__player iframe{position:absolute;top:50%;left:50%;width:max(100cqw,177.78cqh);height:max(100cqh,56.25cqw);max-width:none;border:0;transform:translate(-50%,-50%) scale(var(--hv-crop,1));pointer-events:none}
/* YouTube keeps a title bar and a logo even without controls: crop them out. */
html:not(#syn#syn) .syn-hv__player[data-type="yt"]{--hv-crop:1.2}
/* ...and flashes a play/pause sign when it starts: show it a moment later. */
html:not(#syn#syn) .syn-hv__player[data-type="yt"].is-on{transition-delay:.8s}
html:not(#syn#syn) .syn-hv.has-shade .syn-hv__card::before{content:"";position:absolute;inset:auto 0 0;z-index:-1;height:45%;background:linear-gradient(to top,rgba(10,10,10,.62),rgba(10,10,10,0));pointer-events:none}

/* name + play icon, bottom left */
html:not(#syn#syn) .syn-hv__label{position:absolute;left:24px;right:120px;bottom:22px;display:flex;align-items:center;gap:14px}
html:not(#syn#syn) .syn-hv__play{display:flex;align-items:center;justify-content:center;flex:none;width:42px;height:42px;border-radius:50%;background:#fff;color:var(--syn-ink);transition:transform .45s var(--syn-ease)}
html:not(#syn#syn) .syn-hv__play svg{display:block;width:18px;height:18px;margin-left:2px}
html:not(#syn#syn) .syn .syn-hv__name{font-family:var(--syn-sans);font-size:clamp(18px,1.7vw,26px);font-weight:500;line-height:1.2;letter-spacing:-.01em;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 12px rgba(0,0,0,.25)}
html:not(#syn#syn) .syn .syn-hv__slide.is-active a.syn-hv__card:hover .syn-hv__play{transform:scale(1.08)}
html:not(#syn#syn) .syn .syn-hv__slide.is-active a.syn-hv__card:hover .syn-hv__poster{transform:scale(1.03)}
html:not(#syn#syn) .syn .syn-hv__card:focus-visible{outline:none}
html:not(#syn#syn) .syn .syn-hv__card:focus-visible::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 5px var(--syn-ink);pointer-events:none}

/* ---------- pause / sound buttons, bottom right of the active card ---------- */
html:not(#syn#syn) .syn-hv__ctrl{position:absolute;right:20px;bottom:20px;z-index:2;display:flex;gap:8px;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility 0s linear .3s}
html:not(#syn#syn) .syn-hv__slide.is-active .syn-hv__ctrl{opacity:1;visibility:visible;transition:opacity .3s ease .2s,visibility 0s}
html:not(#syn#syn) .syn .syn-hv__btn{display:flex;align-items:center;justify-content:center;width:42px;height:42px;margin:0;padding:0;border:0;border-radius:50%;background:rgba(18,18,18,.48);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;cursor:pointer;box-shadow:none;transition:background-color .2s ease,transform .3s var(--syn-ease)}
html:not(#syn#syn) .syn .syn-hv__btn:hover{background:rgba(18,18,18,.72);transform:scale(1.06)}
html:not(#syn#syn) .syn .syn-hv__btn:focus-visible{outline:2px solid #fff;outline-offset:2px}
html:not(#syn#syn) .syn-hv__btn svg{display:block;width:20px;height:20px}
html:not(#syn#syn) .syn-hv__btn--pause .syn-hv__i-play,html:not(#syn#syn) .syn-hv__btn--pause[aria-pressed="true"] .syn-hv__i-pause{display:none}
html:not(#syn#syn) .syn-hv__btn--pause[aria-pressed="true"] .syn-hv__i-play{display:block}
html:not(#syn#syn) .syn-hv__btn--pause .syn-hv__i-play svg{margin-left:2px}
html:not(#syn#syn) .syn-hv__btn--sound .syn-hv__i-sound,html:not(#syn#syn) .syn-hv__btn--sound[aria-pressed="true"] .syn-hv__i-muted{display:none}
html:not(#syn#syn) .syn-hv__btn--sound[aria-pressed="true"] .syn-hv__i-sound{display:block}
/* Pause button turned off in the module: still there for visitors who prefer reduced motion. */
html:not(#syn#syn) .syn .syn-hv__btn.is-optional{display:none}
@media (prefers-reduced-motion:reduce){
  html:not(#syn#syn) .syn .syn-hv__btn.is-optional{display:flex}
}
/* the name keeps clear of the buttons */
html:not(#syn#syn) .syn-hv__slide:not(:has(.syn-hv__ctrl)) .syn-hv__label{right:24px}

/* ---------- nav ---------- */
html:not(#syn#syn) .syn-hv__nav-wrap{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:24px;padding:0 var(--syn-gutter)}
/* prev / next arrows at the sides of the nav (option) */
html:not(#syn#syn) .syn .syn-hv__arrow{display:flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;margin:0;padding:0;border:0;border-radius:50%;background:#fff;color:var(--syn-ink);cursor:pointer;box-shadow:0 6px 24px rgba(0,0,0,.12);transition:transform .3s var(--syn-ease),background-color .2s ease}
html:not(#syn#syn) .syn-hv.is-dark-text .syn-hv__arrow{box-shadow:0 0 0 1px var(--syn-line),0 6px 24px rgba(0,0,0,.06)}
html:not(#syn#syn) .syn .syn-hv__arrow:hover{background:#EFECE6;transform:scale(1.06)}
html:not(#syn#syn) .syn .syn-hv__arrow:focus-visible{outline:2px solid currentColor;outline-offset:2px}
html:not(#syn#syn) .syn-hv:not(.is-dark-text) .syn .syn-hv__arrow:focus-visible,html:not(#syn#syn) .syn-hv.syn-dark .syn-hv__arrow:focus-visible{outline-color:#fff}
html:not(#syn#syn) .syn-hv__arrow svg{display:block;width:18px;height:18px}
/* mouse drag (desktop): no snapping while the card follows the mouse */
html:not(#syn#syn) .syn-hv__track.is-draggable{cursor:grab}
html:not(#syn#syn) .syn-hv__track.is-dragging{cursor:grabbing;scroll-snap-type:none;-webkit-user-select:none;user-select:none}
html:not(#syn#syn) .syn-hv__track.is-dragging .syn-hv__card{cursor:grabbing}
html:not(#syn#syn) .syn-hv__nav{display:flex;align-items:center;gap:4px;padding:6px 10px;border-radius:999px;background:#fff;box-shadow:0 6px 24px rgba(0,0,0,.12)}
html:not(#syn#syn) .syn-hv.is-dark-text .syn-hv__nav{box-shadow:0 0 0 1px var(--syn-line),0 6px 24px rgba(0,0,0,.06)}
html:not(#syn#syn) .syn .syn-hv__dot{position:relative;display:block;width:24px;height:24px;margin:0;padding:0;border:0;border-radius:999px;background:transparent;cursor:pointer;box-shadow:none;transition:width .5s var(--syn-ease)}
/* the visible pill sits inside a 24px tall hit area */
html:not(#syn#syn) .syn-hv__dot::before{content:"";position:absolute;left:8px;right:8px;top:50%;height:8px;margin-top:-4px;border-radius:999px;background:#C9C6C0;transition:background-color .2s ease}
html:not(#syn#syn) .syn .syn-hv__dot:hover::before{background:#8F8B84}
html:not(#syn#syn) .syn .syn-hv__dot.is-active{width:56px;cursor:default}
html:not(#syn#syn) .syn .syn-hv__dot.is-active::before{background:#D9D6D0}
/* Progress: the pill clips a full-width bar that slides in from the left, so both ends stay round. */
html:not(#syn#syn) .syn-hv__fill{position:absolute;left:8px;right:8px;top:50%;height:8px;margin-top:-4px;border-radius:999px;overflow:hidden;opacity:0;-webkit-mask-image:-webkit-radial-gradient(white,black)}
html:not(#syn#syn) .syn-hv__fill::after{content:"";position:absolute;inset:0;border-radius:999px;background:var(--syn-ink);transform:translateX(calc((var(--p,0) - 1) * 100%))}
html:not(#syn#syn) .syn-hv__dot.is-active .syn-hv__fill{opacity:1}
/* without progress the active item is simply dark */
html:not(#syn#syn) .syn-hv:not(.has-progress) .syn-hv__dot.is-active .syn-hv__fill{--p:1}
html:not(#syn#syn) .syn .syn-hv__dot:focus-visible{outline:2px solid var(--syn-ink);outline-offset:0}

/* Accidental selection: never the cards or icons. */
html:not(#syn#syn) .syn .syn-hv__media,html:not(#syn#syn) .syn .syn-hv__play,html:not(#syn#syn) .syn .syn-hv__ctrl,html:not(#syn#syn) .syn .syn-hv__nav{-webkit-user-select:none;user-select:none;-webkit-user-drag:none}

@media (prefers-reduced-motion:reduce){
  html:not(#syn#syn) .syn-hv__slide,html:not(#syn#syn) .syn .syn-hv__poster,html:not(#syn#syn) .syn-hv__play,html:not(#syn#syn) .syn .syn-hv__dot{transition:none}
}

/* ---------- tablet ---------- */
@media (max-width:992px){
  html:not(#syn#syn) .syn-hs.syn-hv{padding:var(--hs-pt-md,120px) 0 var(--hs-pb-md,72px)}
  html:not(#syn#syn) .syn-hv__slider{--hv-W:min(calc(var(--hv-w-md,80) * 1cqw),var(--hv-max-md,100cqw))}
  html:not(#syn#syn) .syn-hv__track{gap:min(var(--hv-gap,24px),18px)}
}

/* ---------- phone ---------- */
@media (max-width:768px){
  html:not(#syn#syn) .syn-hs.syn-hv{padding:var(--hs-pt-sm,100px) 0 var(--hs-pb-sm,56px)}
  html:not(#syn#syn) .syn-hv__slider{--hv-W:min(calc(var(--hv-w-sm,88) * 1cqw),var(--hv-max-sm,var(--hv-max-md,100cqw)))}
  html:not(#syn#syn) .syn-hv__slider.has-top{margin-top:min(var(--hv-space,64px),40px)}
  html:not(#syn#syn) .syn-hv.is-rsm-4-5 .syn-hv__slider{--hv-R:4 / 5}
  html:not(#syn#syn) .syn-hv.is-rsm-1-1 .syn-hv__slider{--hv-R:1 / 1}
  html:not(#syn#syn) .syn-hv.is-rsm-16-9 .syn-hv__slider{--hv-R:16 / 9}
  html:not(#syn#syn) .syn-hv__track{gap:min(var(--hv-gap,24px),12px)}
  html:not(#syn#syn) .syn .syn-hv__card{border-radius:14px}
  html:not(#syn#syn) .syn-hv__label{left:16px;right:104px;bottom:16px;gap:10px}
  html:not(#syn#syn) .syn-hv__slide:not(:has(.syn-hv__ctrl)) .syn-hv__label{right:16px}
  html:not(#syn#syn) .syn-hv__play{width:34px;height:34px}
  html:not(#syn#syn) .syn-hv__play svg{width:15px;height:15px}
  html:not(#syn#syn) .syn .syn-hv__name{font-size:17px}
  html:not(#syn#syn) .syn-hv__ctrl{right:12px;bottom:12px;gap:6px}
  html:not(#syn#syn) .syn .syn-hv__btn{width:38px;height:38px}
  html:not(#syn#syn) .syn-hv__btn svg{width:18px;height:18px}
  html:not(#syn#syn) .syn-hv__nav-wrap{margin-top:18px}
  /* a 16:9 card on a phone is short: keep the label on one line */
  html:not(#syn#syn) .syn-hv.is-rsm-16-9 .syn-hv__label{bottom:12px}
  html:not(#syn#syn) .syn-hv.is-rsm-16-9 .syn-hv__ctrl{bottom:10px}
}
