:root {
  color-scheme: dark;
  --ink: #111719;
  --accent: #91aaa2;
  --progress: 0;
  --loop-opacity: 0;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #080a0a; }
html { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.28) transparent; }
body { overflow-x: hidden; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }

.scroll-stage { height: 520vh; }
.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #090b0b;
}
.media, .portrait { position: absolute; inset: 0; width: 100%; height: 100%; }
.media { background: #111; }
.portrait {
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(calc(1.004 + var(--progress) * .018));
  filter: saturate(.9) contrast(1.02);
  will-change: opacity, transform;
}
.portrait--reveal { opacity: calc(1 - var(--loop-opacity)); }
.portrait--loop { opacity: var(--loop-opacity); }

.brand {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: min(88vw, 1180px);
  aspect-ratio: 6 / 1;
  transform: translate(-50%, -50%);
}
.logo-layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(10px);
  will-change: opacity, filter, transform;
}
.logo-layer--f { clip-path: inset(0 86.5% 0 0); }
.logo-layer--a { clip-path: inset(0 67% 0 15%); }
.logo-layer--c { clip-path: inset(0 49.5% 0 34%); }
.logo-layer--i { clip-path: inset(0 41% 0 53%); }
.logo-layer--em { clip-path: inset(0 0 0 63%); }
.coming {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: calc(50% + clamp(4.8rem, 8vw, 8.4rem));
  margin: 0;
  transform: translate(-50%, 14px);
  color: rgba(13,20,21,.82);
  font-size: clamp(.78rem, 1.15vw, 1rem);
  font-weight: 400;
  letter-spacing: .48em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  filter: blur(8px);
}
.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: max(1.7rem, env(safe-area-inset-bottom));
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  transform: translateX(-50%);
  color: rgba(255,255,255,.72);
  opacity: calc(1 - min(1, var(--progress) * 8));
  pointer-events: none;
}
.scroll-cue__label { font-size: .69rem; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.scroll-cue__line { display: block; width: 1px; height: 38px; background: rgba(255,255,255,.22); overflow: hidden; }
.scroll-cue__line i { display: block; width: 1px; height: 13px; background: #fff; animation: drift 1.7s ease-in-out infinite; }
@keyframes drift { 0% { transform: translateY(-13px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(38px); opacity: 0; } }

@media (max-width: 700px) {
  .scroll-stage { height: 460vh; }
  .portrait { object-position: 50% center; }
  .brand { width: min(78vw, 390px); }
  .coming {
    top: 73%;
    color: rgba(12,18,19,.94);
    font-size: clamp(.82rem, 3.8vw, 1rem);
    font-weight: 500;
    letter-spacing: .30em;
    text-shadow: 0 1px 12px rgba(255,255,255,.52);
  }
  .scroll-cue__label { font-size: .64rem; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .brand { width: min(78vw, 950px); }
  .coming { top: calc(50% + 3.5rem); }
  .scroll-cue { bottom: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-stage { height: 100svh; }
  .portrait--reveal { opacity: 1; }
  .portrait--loop { display: none; }
  .logo-layer, .coming { opacity: 1 !important; filter: none !important; transform: none !important; }
  .scroll-cue { display: none; }
}
