/* =========================================
   HERO — video scrolls with parallax, text fixed, black transition bar
========================================= */
.hero {
  position: relative;
  z-index: 1;
  background: #000;
}

.hero-image-row {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  overflow: hidden;
  will-change: transform;
  background: #000;
}

.hero-bg .hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transform-origin: center center;
  pointer-events: none;
  display: block;
  opacity: 0;
  transition: opacity 3.8s cubic-bezier(0.32, 0, 0.12, 1);
}

.hero.hero-video-ready .hero-bg-video {
  opacity: 1;
}

.hero-white-bar {
  height: 50px;
  width: 100%;
  background: #000;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 1;
}

.hero-content-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 8% 10% 8%;
  pointer-events: none;
  clip-path: inset(0 0 0 0);
  overflow: hidden;
}

.hero-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
  pointer-events: auto;
  margin-left: auto;
}

.hero-nav-item {
  position: relative;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.028em;
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
  display: block;
  text-align: right;
}

.hero-nav-item:hover {
  color: rgba(255, 255, 255, 0.85);
}

.hero-nav-reserve {
  visibility: hidden;
  display: block;
  white-space: nowrap;
}

.hero-nav-live {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  white-space: nowrap;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 1;
}

.hero-text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  min-height: 4.4em;
  justify-content: center;
}

.hero-name {
  font-family: var(--font-display), sans-serif;
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.028em;
  word-spacing: -0.08em;
  color: #fff;
  margin: 0;
  line-height: 1;
  position: relative;
}

.hero-subtitle {
  position: relative;
  margin: 0;
  font-family: var(--font-body), sans-serif;
  font-size: clamp(1.12rem, 2.55vw, 1.58rem);
  font-weight: 400;
  letter-spacing: 0.012em;
  word-spacing: 0;
  line-height: 1.02;
  color: #fff;
  white-space: nowrap;
}

.hero-reserve {
  visibility: hidden;
  display: block;
  white-space: nowrap;
}

.hero-name .hero-reserve {
  font-family: var(--font-display), sans-serif;
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.028em;
  word-spacing: -0.08em;
  line-height: 1;
}

.hero-subtitle-reserve {
  visibility: hidden;
  display: block;
  font-family: var(--font-body), sans-serif;
  font-size: clamp(1.12rem, 2.55vw, 1.58rem);
  font-weight: 400;
  letter-spacing: 0.012em;
  word-spacing: 0;
  line-height: 1.02;
}

.hero-live {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  white-space: nowrap;
}

.hero-subtitle-live {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  white-space: nowrap;
}

.hero-scroll-mask {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  background: #000;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 640px) {
  .hero-name {
    letter-spacing: 0.022em;
    word-spacing: -0.06em;
  }

  .hero-subtitle,
  .hero-subtitle-reserve {
    letter-spacing: 0.01em;
    word-spacing: 0;
  }
}
