/* Home — scrollytelling spécifique */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline: var(--gutter);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(245,245,245,0.06), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(245,245,245,0.05), transparent 50%),
    radial-gradient(ellipse 90% 65% at 50% 100%, rgba(140,0,12,0.55), transparent 70%);
  z-index: -1;
}

.hero__title {
  font-size: clamp(6rem, 24vw, 18rem);
  overflow: hidden;
}

.hero__title span {
  display: inline-block;
  will-change: transform;
}

.hero__subtitle {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--muted);
  letter-spacing: 0.04em;
}

.hero__scrollcue {
  position: absolute;
  bottom: 2rem;
  left: var(--gutter);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero__scrollcue::after {
  content: "";
  width: 1px;
  height: 40px;
  background: var(--muted);
  transform-origin: top;
  animation: scrollline 1.8s ease-in-out infinite;
}

@keyframes scrollline {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Pinned bio / Kezako */
.bio {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #000;
}

.bio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .bio__grid {
    grid-template-columns: minmax(220px, 340px) 1fr;
  }
}

.bio__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 12px;
}

.bio__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio__text {
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  font-weight: 500;
  line-height: 1.35;
}

.bio__text .fade-word {
  opacity: 0.15;
  transition: opacity 0.1s linear;
}
.bio__text .fade-word.is-active { opacity: 1; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: left;
}

.stat__num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
}

.stat__label {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Sets showcase : transition d'entrée pilotée par GSAP (home.js) uniquement sur cette page */
.set-card {
  opacity: 0;
  transform: translateY(40px);
}

/* Galerie en scroll horizontal — desktop uniquement (cf. home.js matchMedia 860px).
   Sous 860px on garde la grille simple du style.css partagé : plus léger sur mobile. */
@media (min-width: 860px) {
  .sets-scroll { overflow: hidden; }
  .sets-scroll .sets {
    display: flex;
    gap: 1.5rem;
    width: max-content;
  }
  .sets-scroll .set-card {
    width: min(70vw, 480px);
    flex: none;
  }
}

/* CTA pinned */
.cta {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.cta__title {
  font-size: clamp(2.5rem, 8vw, 6rem);
  max-width: 14ch;
}
