/* Shared hero crossfade cycle. Does not apply to the homepage splash. */
.hero-cycle{
  position:absolute;
  inset:0;
  margin:0;
  overflow:hidden;
  background:#121413;
}
.hero-cycle .hc-slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:var(--pos, 50% 45%);
  opacity:0;
  z-index:0;
  display:block;
  transition:opacity 1.5s ease-in-out;
}
.hero-cycle .hc-slide.is-on{
  opacity:1;
  z-index:1;
}
/* Incoming slide sits above the current one so the outgoing photo
   stays visible during the fade (a true crossfade, not a fade-to-black). */
.hero-cycle .hc-slide.is-enter{
  z-index:2;
}
@media (prefers-reduced-motion: no-preference){
  .hero-cycle.is-zooming .hc-slide.is-on:not(.is-enter){
    animation:hc-ken 6.5s ease-out forwards;
  }
}
@keyframes hc-ken{
  from{transform:scale(1)}
  to{transform:scale(1.05)}
}
.hc-topscrim{
  position:absolute;
  left:0;right:0;top:0;
  height:260px;
  z-index:5;
  pointer-events:none;
}
/* Gold / cream logos on darker or mixed tops: a gentle dark veil. */
.hero[data-logo="light"] .hc-topscrim,
.hero[data-logo="gold"] .hc-topscrim{
  background:linear-gradient(180deg, rgba(18,20,19,.48) 0%, rgba(18,20,19,.20) 52%, rgba(18,20,19,0) 100%);
}
/* Black logos on light ceilings: a soft pale wash in the mark's corner. */
.hero[data-logo="dark"] .hc-topscrim{
  background:linear-gradient(135deg, rgba(247,243,236,.42) 0%, rgba(247,243,236,.16) 34%, rgba(247,243,236,0) 62%);
}
/* Swap headers: cream logo on desktop, black on small screens. */
.hero[data-logo="swap"] .hc-topscrim{
  background:linear-gradient(180deg, rgba(18,20,19,.48) 0%, rgba(18,20,19,.20) 52%, rgba(18,20,19,0) 100%);
}
@media (max-width:800px){
  .hero[data-logo="swap"] .hc-topscrim{
    background:linear-gradient(135deg, rgba(247,243,236,.42) 0%, rgba(247,243,236,.16) 34%, rgba(247,243,236,0) 62%);
  }
  .hc-topscrim{height:210px}
}

/* Homepage reel captions: project name and Antoon's role on each slide (2026-11-20). */
.hc-cap{
  position:absolute;
  right:64px;
  bottom:26px;
  z-index:6;
  max-width:460px;
  text-align:right;
  font:500 11px/1.5 Manrope, sans-serif;
  letter-spacing:.06em;
  color:#F7F3EC;
  text-decoration:none;
  text-shadow:0 1px 6px rgba(0,0,0,.7);
}
.hc-cap b{font-weight:600}
.hc-cap .hc-credit{display:block;opacity:.85;font-size:10px;letter-spacing:.04em}
.hc-cap:hover{color:#C09D68}
@media (max-width:800px){
  .hc-cap{left:22px;right:22px;bottom:14px;max-width:none;text-align:left;font-size:10px;line-height:1.4}
  .hc-cap .hc-credit{font-size:9px}
}
