/* ── hero · split wordmark that closes over an expanding frame ── */
.hero {
  position: relative;
  height: 260vh;              /* scroll runway for the pinned stage */
  background: var(--white);
}
.hero-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: clip;
  background: var(--white);
}

/* media frame: starts as a centred card, ends full-bleed */
.hero-media {
  position: absolute; left: 50%; top: 50%;
  width: clamp(280px, 34vw, 480px);
  aspect-ratio: 4 / 3;
  translate: -50% -50%;
  overflow: hidden;
  border-radius: 6px;
  background: var(--studio-2);
  will-change: width, height, border-radius;
}
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-media-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.35) 100%);
  opacity: 0;
}

/* the two halves of the name */
.hero-word {
  position: absolute;
  font-size: var(--t-hero);
  font-weight: 400;
  line-height: .82;
  letter-spacing: -.055em;
  color: var(--ink);
  white-space: nowrap;
  will-change: transform;
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em;
}
.hero-word span { display: inline-block; }
.hero-word--a { left: 14vw; top: 16vh; }
.hero-word--b { right: 14vw; bottom: 14vh; }

/* side captions */
.hero-cap {
  position: absolute; top: 50%; translate: 0 -50%;
  font-size: var(--t-small); color: var(--mute); max-width: 14ch; line-height: 1.35;
}
.hero-cap b { color: var(--ink); font-weight: 500; }
.hero-cap--l { left: var(--gutter); }
.hero-cap--r { right: var(--gutter); text-align: right; }

/* tagline shown on the full-bleed state */
.hero-tag {
  position: absolute; right: var(--gutter); top: 50%; translate: 0 -50%;
  color: var(--chalk); font-size: var(--t-small); line-height: 1.45; text-align: right;
  opacity: 0; pointer-events: none;
  text-shadow: 0 1px 12px rgba(0,0,0,.4);
}

/* footer strip of the hero */
.hero-foot {
  position: absolute; bottom: 28px;
  font-size: var(--t-micro); color: var(--mute); line-height: 1.4;
}
.hero-foot--l { left: var(--gutter); }
.hero-foot--r { right: var(--gutter); display: flex; gap: 8px; }
.hero-foot--r a {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line-2); display: grid; place-items: center;
  color: var(--ink); transition: background var(--fast), color var(--fast);
}
.hero-foot--r a:hover { background: var(--ink); color: var(--white); }
.hero-foot--r svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* full-bleed state (class toggled by scroll progress): the studio video is light, so type stays ink */
.hero-stage.is-bleed .hero-word,
.hero-stage.is-bleed .hero-cap,
.hero-stage.is-bleed .hero-foot { color: var(--ink); }
.hero-stage.is-bleed .hero-cap b { color: var(--ink); }
.hero-stage.is-bleed .hero-foot--r a { border-color: var(--line-2); color: var(--ink); }
.hero-tag { color: var(--ink); text-shadow: 0 1px 12px rgba(255,255,255,.6); }
.hero-media-shade { background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(13,22,56,.18) 100%); }

@media (max-width: 760px) {
  .hero { height: 220vh; }
  .hero-media { width: min(72vw, 360px); aspect-ratio: 3 / 4; }
  .hero-word--a { left: 8vw; top: 12vh; }
  .hero-word--b { right: 8vw; bottom: 16vh; }
  .hero-cap { display: none; }
  .hero-tag { left: var(--gutter); right: var(--gutter); text-align: left; top: auto; bottom: 90px; translate: none; }
  .hero-foot--l { max-width: 60%; }
}
