/* Home hero, beige: logo, thin centred headline, then the clips in one large soft frame */
.hero { position: relative; padding-block: calc(var(--nav-h) + clamp(4px, 1.5vh, 20px)) clamp(40px, 5vw, 80px); }
.hero__in { display: grid; justify-items: center; text-align: center; }
.hero__logo { inline-size: clamp(108px, 10.5vw, 164px); margin-block-end: clamp(20px, 3.4vh, 36px); }
.hero__label { color: var(--muted); letter-spacing: .16em; margin-block-end: clamp(14px, 2.2vh, 22px); }
.hero__title { max-inline-size: 18ch; }
.hero__lead { max-inline-size: 46ch; margin-block-start: clamp(16px, 2.6vh, 26px); font-size: var(--fs-lead); line-height: 1.7; color: var(--ink-2); text-wrap: balance; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 32px; margin-block-start: clamp(24px, 4vh, 40px); }

.hero__stage { margin-block-start: clamp(36px, 6.5vh, 72px); }
.hero__media {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 16 / 9; max-block-size: 88svh; inline-size: 100%;
  border-radius: clamp(14px, 1.8vw, 28px); background: var(--paper-3);
  box-shadow: 0 50px 100px -60px rgba(42, 37, 32, .6);
}
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__slide.on { opacity: 1; }
.hero__slide img, .hero__slide video { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.hero__slide img { transform: scale(1.05); transition: transform 9s linear; }
.hero__slide.on img { transform: scale(1); }

/* entrance */
.hero__logo, .hero__label, .hero__title, .hero__lead, .hero__cta, .hero__stage { animation: heroIn 1.2s var(--ease) both; }
.hero__label { animation-delay: .08s; }
.hero__title { animation-delay: .16s; }
.hero__lead { animation-delay: .26s; }
.hero__cta { animation-delay: .36s; }
.hero__stage { animation-delay: .46s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.hero__foot {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 24px;
  padding-block-start: 18px; color: var(--muted); font-size: var(--fs-label); line-height: 1.4;
}
.hero__caption { justify-self: start; letter-spacing: .04em; }
.hero__ticks { display: flex; gap: 10px; }
.hero__tick { inline-size: clamp(34px, 5vw, 64px); block-size: 28px; position: relative; }
.hero__tick::before, .hero__tick i { content: ''; position: absolute; inset-inline: 0; inset-block-start: 50%; block-size: 1px; background: var(--line-strong); }
.hero__tick i { background: var(--ink); block-size: 2px; margin-block-start: -.5px; transform: scaleX(0); }
[dir="rtl"] .hero__tick i { transform-origin: right center; }
[dir="ltr"] .hero__tick i { transform-origin: left center; }
.hero__tick.done i { transform: scaleX(1); }
.hero__tick.on i { animation: heroTick var(--hero-dur, 6500ms) linear forwards; }
@keyframes heroTick { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__scroll { justify-self: end; display: inline-flex; align-items: center; gap: 12px; letter-spacing: .08em; }
.hero__scroll i { inline-size: 1px; block-size: 30px; background: linear-gradient(to bottom, var(--ink) 50%, var(--line) 50%); background-size: 100% 200%; animation: heroScroll 2.2s var(--slow) infinite; }
@keyframes heroScroll { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

@media (max-width: 700px) {
  .hero__media { aspect-ratio: 4 / 5; }
  .hero__foot { grid-template-columns: 1fr; justify-items: center; row-gap: 4px; }
  .hero__caption { justify-self: center; }
  .hero__scroll { display: none; }
  .hero__cta { flex-direction: column; gap: 14px; }
}
