.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5vw;
}

.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  aspect-ratio: unset;
  filter: saturate(0.78) contrast(1.08) brightness(0.85);
  transform: scale(1.04);
  will-change: transform;
}

/* Vidéo hero persistante hors container Barba — toujours dans le DOM,
   positionnée en fixed sous tout le contenu, visible uniquement sur home. */
.hero-video--persist {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: saturate(0.78) contrast(1.08) brightness(0.85);
  transform: scale(1.04);
  will-change: transform;
  display: none;
}
body[data-grade="tungsten"] .hero-video--persist {
  display: block;
}
/* Transparent body background on home so the fixed video shows through.
   Other pages keep var(--ink) — only home (tungsten) uses the persist video. */
body[data-grade="tungsten"] {
  background: transparent;
}

.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0) 30%, rgba(0,0,0,0.65) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}

/* ── Slate strip ── */
.hero-slate {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grade-accent);
  margin-bottom: 2.5rem;
  opacity: 0;
}
.hero-slate-dot {
  display: inline-block;
  width: 4px; height: 4px;
  background: currentColor;
  border-radius: 50%;
  opacity: 0.6;
}

/* ── Content ── */
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  width: 100%;
}
.hero-title-group { will-change: transform; }

/* Title: AXEL MAHÉ split in two voices */
.hero-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(4.5rem, min(17vw, 28vh), 16rem);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  line-height: 0.82;
  letter-spacing: -0.045em;
  color: var(--fg);
  display: flex; flex-direction: column;
  align-items: center;
}
.hero-word {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
  padding-left: 0.06em;
  padding-right: 0.06em;
}
.hero-char {
  display: inline-block;
  will-change: transform;
}
.hero-word--italic {
  font-family: var(--italic);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  margin-top: -0.12em;
  color: var(--grade-accent);
  padding-bottom: 0.18em;
}

.hero-subtitle {
  display: flex; justify-content: center; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  margin-top: 1.8rem;
  font-family: var(--mono);
  font-size: clamp(0.7rem, 0.92vw, 0.82rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0;
}
.hero-subtitle .hero-sep {
  opacity: 0.35;
  font-weight: 300;
}

.hero-cue {
  position: absolute;
  bottom: -4.5rem; left: 50%;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dim);
  opacity: 0;
}
.hero-cue-arrow {
  width: 10px; height: 16px;
  animation: cueBounce 2s ease-in-out infinite;
}
@keyframes cueBounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(3px); opacity: 1; }
}

.hero-scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
}
.hero-scroll-indicator::before {
  content: 'SCROLL';
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--dim);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--fg));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── Hero side markers (aspect ratio ticks) ── */
.hero-ticks {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 2;
  display: flex; flex-direction: column; gap: 0.4rem;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--dim);
  opacity: 0;
}
.hero-ticks--left  { left: 1.5rem; text-align: left; align-items: flex-start; }
.hero-ticks--right { right: 1.5rem; text-align: right; align-items: flex-end; }
.hero-ticks span {
  display: flex; align-items: center; gap: 0.5rem;
}
.hero-ticks--left span::after,
.hero-ticks--right span::before {
  content: ''; width: 14px; height: 1px; background: currentColor; opacity: 0.4;
}
.hero-ticks .is-active { color: var(--grade-accent); opacity: 1; }
.hero-ticks .is-active::after,
.hero-ticks .is-active::before { opacity: 1; }

/* Responsive — hide ticks and cue on small screens */
@media (max-width: 768px) {
  .hero-ticks { display: none; }
  .hero-cue   { bottom: -3rem; }
  .hero-slate { gap: 0.5rem; font-size: 9px; margin-bottom: 1.5rem; }
  .hero-subtitle { font-size: 9px; gap: 0.6rem; }
}
