/* Give discovery links the same visual weight as the first home-page action. */
.portfolio-video-card>.hls-external-video,
.hls-video-player>.hls-external-video {position:relative;display:block;width:100%;height:100%;min-height:0;padding:0;background:#080a18;color:#f2ecff;overflow:auto}
.hls-external-notice {min-height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:18px;text-align:center;box-sizing:border-box}
.hls-external-notice strong {font-size:16px;line-height:1.3}
.hls-external-notice p {margin:0;font:400 12px/1.5 Arial,sans-serif;color:#f2ecff}
.hls-external-notice a {font:400 12px/1.5 Arial,sans-serif;color:#f2d19a;text-decoration:underline}
.hls-external-video button {position:static;display:block;width:auto;height:auto;min-height:44px;padding:10px 12px;border:1px solid #f2d19a;border-radius:10px;background:#161329;color:#f2ecff;font:700 12px/1.4 Arial,sans-serif;cursor:pointer}
.hls-external-video button:focus-visible,.hls-external-video a:focus-visible {outline:2px solid #f2d19a;outline-offset:3px}
.hls-external-video>[data-external-revoke] {position:relative;z-index:2;width:100%;border-radius:0}
.hls-external-video>iframe {position:static;display:block;width:100%;height:calc(100% - 44px);min-height:180px;border:0}
.hls-external-video [hidden] {display:none!important}
body :is(.scrollLink,.portfolio-link,.button:not(.button-gold),.photoHeroCopy>a) {
  display:inline-flex;align-items:center;justify-content:space-between;gap:24px;
  width:fit-content;max-width:100%;min-height:46px;padding:14px 20px;
  color:#f2ecff!important;background:rgba(8,10,27,.94);
  border:1px solid rgba(242,209,154,.72);border-radius:999px;
  box-shadow:0 10px 28px rgba(0,0,0,.18),0 0 24px rgba(217,154,69,.1);
  font-size:12px;font-weight:700;line-height:1.5;letter-spacing:.04em;
  white-space:normal;text-align:left;
}
body :is(.scrollLink,.portfolio-link,.button:not(.button-gold),.photoHeroCopy>a)>span {color:#f2d19a;flex-shrink:0}
body :is(.hero-scroll,.scrollLink,.portfolio-link,.button,.photoHeroCopy>a):hover {border-color:#f2d19a;box-shadow:0 10px 30px rgba(0,0,0,.24),0 0 24px rgba(217,154,69,.22)}
body :is(.hero-scroll,.scrollLink,.portfolio-link,.button,.photoHeroCopy>a):focus-visible {outline:2px solid #f2d19a;outline-offset:4px}

/* A tall grid must start at its top: centered overflow can be unreachable. */
@media(min-width:821px) {
  .horizontal-panel>.portfolio-panel-hybrid {
    min-height:0;overflow-y:auto;overflow-x:hidden;
    align-items:safe center;grid-template-rows:minmax(min-content,1fr);
    overscroll-behavior-y:auto;scrollbar-gutter:stable;
  }
}

/* Keep the entire photo at zero zoom without drawing a darker letterbox. */
html body .page .creativeCollaborationGallery>figure[data-hls-format-frame],
html body .page .creativeCollaborationGallery>figure[data-hls-format-frame]>img {background:transparent!important}

/* The contact decoration is a CSS circle, shared by all closing sections. */
body :is(.contact,.note,.hls-video-contact) {position:relative;isolation:isolate;overflow:hidden}
body :is(.contact,.note,.hls-video-contact)>:not(.contactOrbit):not(.hls-video-orbit) {position:relative;z-index:1}
body .note::before,
body :is(.contact .contactOrbit,.hls-video-contact .hls-video-orbit),
body #seuil .contactOrbit {
  position:absolute;z-index:0;left:50%;right:auto;top:50%;bottom:auto;
  width:min(68vw,900px);height:auto;max-width:none;aspect-ratio:1;
  margin:0;transform:translate(-50%,-50%);pointer-events:none;
  border:1px solid rgba(173,131,255,.34);border-radius:50%;background:transparent;
  box-shadow:0 0 120px rgba(109,53,255,.18),inset -52px 0 0 rgba(217,154,69,.055);
  opacity:1;
}
@media(max-width:820px) {
  body .note::before,
  body :is(.contact .contactOrbit,.hls-video-contact .hls-video-orbit),
  body #seuil .contactOrbit {width:min(118vw,600px);opacity:.78}
}

/* Keep consent readable inside the small home carousel cards. */
.portfolio-panel-video .portfolio-video-carousel {grid-auto-columns:min(85%,260px);min-height:290px}
.portfolio-video-card .hls-external-notice {gap:8px;padding:12px}
.portfolio-video-card .hls-external-notice strong {font-size:14px}

/* Contrast fixes on plain light panels and dark footers. */
body .hls-hybrid-page :is(.hls-hybrid-possibilities,.hls-hybrid-method)>.button {background:#11142c;color:#f2ecff!important}
body .hls-hybrid-page :is(.hls-hybrid-possibilities,.hls-hybrid-method)>.button:hover {background:#211c3d}
body .groups .familyHeading>p,body .groups .card p {color:#5f5865}
body .site-footer small,body footer small,body .footer small,body .contactPageFooter small {color:#aaa4b6}


/* Slide arrows handle alignment; ordinary page scrolling must remain free. */
@media(min-width:821px){.horizontal-chapter .horizontal-sticky{position:relative;top:0}}
