/* ==========================================================================
   Page d'accueil : slider « portes d'entrée », bandeau formats, équipage,
   sélecteur « Par où commencer ? ». Chargé uniquement sur /.
   ========================================================================== */

.home-page {
  --home-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Slider ---------- */
.uhero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 680px;
  max-height: 1100px;
  overflow: hidden;
  isolation: isolate;
  background: hsl(var(--background));
}

.uhero__stage {
  position: absolute;
  inset: 0;
}

.uhero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--home-ease), visibility 0s linear 0.9s;
}

.uhero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s var(--home-ease), visibility 0s;
  z-index: 1;
}

.uhero__media,
.uhero__media picture,
.uhero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.uhero__media img {
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 8s linear;
  will-change: transform;
}

.uhero__slide.is-active .uhero__media img {
  transform: scale(1.02);
}

.uhero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, hsl(var(--background) / 0.92) 0%, hsl(var(--background) / 0.7) 34%, hsl(var(--background) / 0.15) 64%, transparent 100%),
    linear-gradient(180deg, hsl(var(--background) / 0.55) 0%, transparent 22%, transparent 62%, hsl(var(--background)) 100%);
}

.uhero__slide--right .uhero__scrim {
  background:
    linear-gradient(270deg, hsl(var(--background) / 0.92) 0%, hsl(var(--background) / 0.7) 34%, hsl(var(--background) / 0.15) 64%, transparent 100%),
    linear-gradient(180deg, hsl(var(--background) / 0.55) 0%, transparent 22%, transparent 62%, hsl(var(--background)) 100%);
}

/* Teinte d'ambiance propre à chaque porte d'entrée */
.uhero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: 0.55;
}
.uhero__slide--cosmic::after { background: radial-gradient(60% 70% at 20% 40%, hsl(270 65% 55% / 0.6), transparent 70%); }
.uhero__slide--neon::after   { background: radial-gradient(60% 70% at 20% 40%, hsl(200 90% 55% / 0.55), transparent 70%); }
.uhero__slide--sunset::after { background: radial-gradient(60% 70% at 20% 40%, hsl(20 90% 55% / 0.55), transparent 70%); }
.uhero__slide--dream::after  { background: radial-gradient(60% 70% at 80% 40%, hsl(250 70% 60% / 0.6), transparent 70%); }
.uhero__slide--arcade::after { background: radial-gradient(60% 70% at 20% 40%, hsl(350 85% 55% / 0.5), transparent 70%); }

.uhero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 6.5rem;
  padding-bottom: 9rem;
}

.uhero__content {
  max-width: 40rem;
}

.uhero__slide--right .uhero__content {
  margin-left: auto;
}

/* Apparition échelonnée du contenu */
.uhero__content > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--home-ease), transform 0.7s var(--home-ease);
}
.uhero__slide.is-active .uhero__content > * {
  opacity: 1;
  transform: none;
}
.uhero__slide.is-active .uhero__content > *:nth-child(1) { transition-delay: 0.15s; }
.uhero__slide.is-active .uhero__content > *:nth-child(2) { transition-delay: 0.25s; }
.uhero__slide.is-active .uhero__content > *:nth-child(3) { transition-delay: 0.35s; }
.uhero__slide.is-active .uhero__content > *:nth-child(4) { transition-delay: 0.45s; }
.uhero__slide.is-active .uhero__content > *:nth-child(5) { transition-delay: 0.55s; }
.uhero__slide.is-active .uhero__content > *:nth-child(6) { transition-delay: 0.65s; }

.uhero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.1rem;
  padding: 0.4rem 0.9rem 0.4rem 0.7rem;
  border-radius: 999px;
  background: hsl(var(--glass-bg));
  border: 1px solid hsl(var(--glass-border));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--foreground) / 0.9);
}

.uhero__kicker svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--accent));
}

.uhero__logo-title {
  margin: 0 0 1.25rem;
  line-height: 0;
}

.uhero__logo {
  height: clamp(4rem, 9vw, 6.5rem);
  width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 6px 30px hsl(var(--primary) / 0.45));
}

.uhero__title {
  margin: 0 0 0.9rem;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-shadow: 0 6px 40px hsl(var(--background) / 0.6);
}

.uhero__title .gradient-text,
.uhero__title .gradient-accent-text {
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.uhero__title--pitch {
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.uhero__title--dream {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  font-style: italic;
}

.uhero__blast-logo {
  height: clamp(5rem, 11vw, 8rem);
  width: auto;
  filter: drop-shadow(0 10px 30px hsl(350 85% 50% / 0.55));
}

.uhero__tagline {
  margin: 0 0 0.75rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  color: hsl(var(--accent));
}

.uhero__lead {
  margin: 0 0 1.4rem;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.65;
  color: hsl(var(--foreground) / 0.86);
  max-width: 36rem;
}

.uhero__facts,
.uhero__formats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.uhero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: hsl(var(--background) / 0.55);
  border: 1px solid hsl(var(--foreground) / 0.16);
  font-size: 0.85rem;
  font-weight: 600;
  color: hsl(var(--foreground) / 0.92);
}

.uhero__facts svg {
  width: 0.95rem;
  height: 0.95rem;
}

.uhero__facts .uhero__fact--warn {
  background: hsl(350 85% 50%);
  border-color: transparent;
  color: #fff;
  font-weight: 900;
}

.uhero__formats a,
.uhero__formats button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 0.85rem;
  background: hsl(var(--glass-bg));
  border: 1px solid hsl(var(--glass-border));
  color: hsl(var(--foreground));
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.2s var(--home-ease), background 0.2s ease, border-color 0.2s ease;
}

.uhero__formats a:hover,
.uhero__formats button:hover,
.uhero__formats a:focus-visible,
.uhero__formats button:focus-visible {
  transform: translateY(-2px) rotate(-1deg);
  background: hsl(var(--primary) / 0.25);
  border-color: hsl(var(--primary) / 0.6);
}

.uhero__formats svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--secondary));
}

.uhero__actions,
.home-paths__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.uhero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.2s var(--home-ease), box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.uhero__btn svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.uhero__btn--primary {
  background: var(--gradient-cosmic);
  color: hsl(var(--foreground));
  box-shadow: 0 10px 30px hsl(var(--primary) / 0.35), inset 0 1px 0 hsl(0 0% 100% / 0.25);
}

.uhero__btn--primary:hover,
.uhero__btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px hsl(var(--secondary) / 0.4), inset 0 1px 0 hsl(0 0% 100% / 0.3);
}

.uhero__btn--ghost {
  border: 1px solid hsl(var(--foreground) / 0.25);
  background: hsl(var(--background) / 0.45);
  color: hsl(var(--foreground));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.uhero__btn--ghost:hover,
.uhero__btn--ghost:focus-visible {
  transform: translateY(-2px);
  background: hsl(var(--foreground) / 0.1);
  border-color: hsl(var(--foreground) / 0.45);
}

.uhero__btn--link {
  padding: 0 0.4rem;
  color: hsl(var(--foreground) / 0.85);
}

.uhero__btn--link:hover,
.uhero__btn--link:focus-visible {
  color: hsl(var(--foreground));
}

.uhero__btn--link:hover svg,
.uhero__btn--ghost:hover svg:last-child,
.uhero__btn--primary:hover svg:last-child {
  transform: translateX(3px);
}

.uhero__btn svg {
  transition: transform 0.2s var(--home-ease);
}

/* ---------- Barre de contrôle (onglets + flèches) ---------- */
.uhero__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.5rem;
  z-index: 5;
}

.uhero__bar {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 1.4rem;
  background: hsl(220 25% 5% / 0.55);
  border: 1px solid hsl(var(--glass-border));
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow-glass);
}

.uhero__tabs {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.4rem;
}

.uhero__tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.5rem 0.65rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  background: transparent;
  color: hsl(var(--foreground) / 0.7);
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.uhero__tab:hover {
  background: hsl(var(--foreground) / 0.06);
  color: hsl(var(--foreground));
}

.uhero__tab.is-active {
  background: hsl(var(--foreground) / 0.1);
  border-color: hsl(var(--foreground) / 0.14);
  color: hsl(var(--foreground));
}

.uhero__tab:focus-visible,
.uhero__arrow:focus-visible,
.home-paths__choice:focus-visible,
.home-paths__random:focus-visible,
.home-crew__card:focus-visible {
  outline: 2px solid hsl(var(--secondary));
  outline-offset: 2px;
}

.uhero__tab-thumb {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.7rem;
  overflow: hidden;
  background: hsl(var(--muted));
  box-shadow: 0 0 0 1px hsl(var(--foreground) / 0.12);
  transition: transform 0.3s var(--home-ease);
}

.uhero__tab.is-active .uhero__tab-thumb {
  transform: rotate(-4deg) scale(1.06);
  box-shadow: 0 0 0 2px hsl(var(--accent));
}

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

.uhero__tab-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.uhero__tab-label {
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.uhero__tab-hint {
  font-size: 0.74rem;
  color: hsl(var(--muted-foreground));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.uhero__tab-progress {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.25rem;
  height: 3px;
  border-radius: 3px;
  background: hsl(var(--foreground) / 0.12);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.uhero__tab.is-active .uhero__tab-progress {
  opacity: 1;
}

.uhero__tab-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gradient-sunset);
  transform: scaleX(0);
  transform-origin: left center;
}

.uhero__tab.is-active .uhero__tab-progress span {
  transform: scaleX(var(--progress, 0));
}

.uhero__nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding-left: 0.5rem;
  border-left: 1px solid hsl(var(--foreground) / 0.1);
}

.uhero__count {
  min-width: 4.2rem;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  color: hsl(var(--muted-foreground));
  text-align: center;
}

.uhero__count b {
  color: hsl(var(--foreground));
  font-weight: 800;
}

.uhero__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--foreground) / 0.18);
  background: hsl(var(--foreground) / 0.05);
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s var(--home-ease);
}

.uhero__arrow:hover {
  background: hsl(var(--foreground) / 0.15);
  transform: scale(1.06);
}

.uhero__arrow svg {
  width: 1.1rem;
  height: 1.1rem;
}

.uhero__icon-play { display: none; }
.uhero.is-paused .uhero__icon-pause { display: none; }
.uhero.is-paused .uhero__icon-play { display: block; }

/* ---------- Bandeau défilant des formats ---------- */
.home-ticker {
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
  border-block: 1px solid hsl(var(--foreground) / 0.08);
  background: linear-gradient(90deg, hsl(var(--primary) / 0.12), hsl(var(--secondary) / 0.08), hsl(var(--accent) / 0.12));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.home-ticker__track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  animation: home-ticker 38s linear infinite;
}

.home-ticker span {
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: hsl(var(--foreground) / 0.85);
}

.home-ticker i {
  font-style: normal;
  color: hsl(var(--accent));
}

.home-ticker:hover .home-ticker__track {
  animation-play-state: paused;
}

@keyframes home-ticker {
  to { transform: translateX(-50%); }
}

/* ---------- En-têtes de sections ---------- */
.home-section-head {
  max-width: 46rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.home-section-head h2 {
  margin: 0 0 1rem;
}

.home-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsl(var(--accent));
}

/* ---------- Équipage ---------- */
.home-crew__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  perspective: 1000px;
}

.home-crew__card {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 1.5rem;
  overflow: hidden;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--glass-border));
  box-shadow: 0 10px 30px hsl(var(--glass-shadow));
  color: hsl(var(--foreground));
  text-decoration: none;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.35s var(--home-ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-crew__card:hover,
.home-crew__card:focus-visible {
  box-shadow: 0 20px 50px hsl(var(--glass-shadow)), var(--shadow-glow);
  border-color: hsl(var(--primary) / 0.5);
}

.home-crew__card--villain:hover,
.home-crew__card--villain:focus-visible {
  box-shadow: 0 20px 50px hsl(var(--glass-shadow)), 0 0 40px hsl(350 85% 55% / 0.35);
  border-color: hsl(350 85% 55% / 0.55);
}

.home-crew__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--home-ease);
}

.home-crew__card:hover img,
.home-crew__card:focus-visible img {
  transform: scale(1.08);
}

.home-crew__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, hsl(var(--background) / 0.75) 68%, hsl(var(--background) / 0.96) 100%);
}

.home-crew__shine {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at var(--mx) var(--my), hsl(0 0% 100% / 0.22), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.home-crew__card:hover .home-crew__shine {
  opacity: 1;
}

.home-crew__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.1rem 1.1rem 1.2rem;
  transform: translateZ(30px);
}

.home-crew__role {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(var(--accent));
}

.home-crew__card--villain .home-crew__role {
  color: hsl(350 85% 65%);
}

.home-crew__body strong {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.1;
}

.home-crew__line {
  max-height: 0;
  overflow: hidden;
  font-size: 0.85rem;
  line-height: 1.45;
  color: hsl(var(--foreground) / 0.8);
  opacity: 0;
  transition: max-height 0.4s var(--home-ease), opacity 0.3s ease, margin 0.3s ease;
}

.home-crew__card:hover .home-crew__line,
.home-crew__card:focus-visible .home-crew__line {
  max-height: 6rem;
  margin-top: 0.3rem;
  opacity: 1;
}

.home-crew__more {
  margin: 2.25rem 0 0;
  text-align: center;
}

.home-crew__more a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: hsl(var(--foreground) / 0.85);
  text-decoration: none;
  border-bottom: 2px solid hsl(var(--primary) / 0.5);
  padding-bottom: 0.2rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.home-crew__more a:hover {
  color: hsl(var(--foreground));
  border-color: hsl(var(--secondary));
}

.home-crew__more svg {
  width: 1rem;
  height: 1rem;
}

/* ---------- Par où commencer ? ---------- */
.home-paths {
  overflow: hidden;
}

.home-paths::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 15% 50%, hsl(var(--accent) / 0.09), transparent 70%),
    radial-gradient(50% 60% at 85% 50%, hsl(var(--primary) / 0.1), transparent 70%);
  pointer-events: none;
}

.home-paths__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(15rem, 20rem) 1fr;
  gap: 1.75rem;
  align-items: start;
}

.home-paths__choices {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.home-paths__choice,
.home-paths__random {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--glass-border));
  background: hsl(var(--glass-bg));
  color: hsl(var(--foreground) / 0.85);
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s var(--home-ease), color 0.2s ease;
}

.home-paths__choice:hover {
  transform: translateX(4px);
  color: hsl(var(--foreground));
  border-color: hsl(var(--primary) / 0.4);
}

.home-paths__choice.is-active {
  background: linear-gradient(135deg, hsl(var(--primary) / 0.3), hsl(var(--secondary) / 0.2));
  border-color: hsl(var(--primary) / 0.6);
  color: hsl(var(--foreground));
  transform: translateX(6px);
}

.home-paths__choice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.7rem;
  background: hsl(var(--foreground) / 0.08);
}

.home-paths__choice.is-active .home-paths__choice-icon {
  background: var(--gradient-sunset);
}

.home-paths__choice-icon svg,
.home-paths__random svg {
  width: 1.1rem;
  height: 1.1rem;
}

.home-paths__random {
  justify-content: center;
  margin-top: 0.4rem;
  border-style: dashed;
  border-color: hsl(var(--accent) / 0.55);
  color: hsl(var(--accent));
  font-weight: 800;
}

.home-paths__random:hover {
  background: hsl(var(--accent) / 0.12);
}

.home-paths__random.is-rolling svg {
  animation: home-roll 0.6s var(--home-ease);
}

@keyframes home-roll {
  0% { transform: rotate(0) scale(1); }
  50% { transform: rotate(200deg) scale(1.3); }
  100% { transform: rotate(360deg) scale(1); }
}

.home-paths__result {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  overflow: hidden;
  border-radius: 1.75rem;
  min-height: 22rem;
}

.home-paths__result[hidden] {
  display: none;
}

.home-paths__result:hover {
  transform: none;
}

.home-paths__result:not([hidden]) {
  animation: home-pop 0.5s var(--home-ease);
}

@keyframes home-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.home-paths__media {
  position: relative;
  min-height: 14rem;
  background: hsl(var(--muted));
}

.home-paths__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-paths__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
  padding: 2rem;
}

.home-paths__kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(var(--accent));
}

.home-paths__body h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.15;
}

.home-paths__body p {
  margin: 0;
  line-height: 1.6;
}

.home-paths__actions {
  margin-top: 0.4rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .uhero__tab-thumb { width: 2.2rem; height: 2.2rem; }
  .uhero__tab-hint { display: none; }
  .home-crew__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .home-paths__layout { grid-template-columns: 1fr; }
  .home-paths__choices {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .home-paths__choice,
  .home-paths__random {
    width: auto;
    flex: 1 1 calc(50% - 0.6rem);
    padding: 0.65rem 0.8rem;
    font-size: 0.9rem;
  }
  .home-paths__choice:hover,
  .home-paths__choice.is-active { transform: none; }
  .home-paths__random { margin-top: 0; }
  .home-paths__result { grid-template-columns: 1fr; }
  .home-paths__media { aspect-ratio: 16 / 9; min-height: 0; }
}

@media (max-width: 760px) {
  .uhero {
    min-height: 640px;
  }

  .uhero__slide { align-items: flex-end; }

  .uhero__scrim,
  .uhero__slide--right .uhero__scrim {
    background: linear-gradient(180deg, hsl(var(--background) / 0.5) 0%, hsl(var(--background) / 0.2) 22%, hsl(var(--background) / 0.75) 52%, hsl(var(--background) / 0.97) 78%, hsl(var(--background)) 100%);
  }

  .uhero__inner {
    padding-top: 5.5rem;
    padding-bottom: 7.5rem;
  }

  .uhero__slide--right .uhero__content { margin-left: 0; }

  .uhero__lead { font-size: 0.95rem; line-height: 1.55; margin-bottom: 1rem; }
  .uhero__facts, .uhero__formats { margin-bottom: 1.2rem; }
  .uhero__formats a, .uhero__formats button { padding: 0.4rem 0.7rem; font-size: 0.8rem; }
  .uhero__btn { min-height: 2.75rem; padding: 0 1.1rem; font-size: 0.88rem; }
  .uhero__btn--link { display: none; }

  .uhero__controls { bottom: 0.9rem; }
  .uhero__bar { padding: 0.35rem; gap: 0.35rem; border-radius: 1.1rem; }

  .uhero__tabs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .uhero__tabs::-webkit-scrollbar { display: none; }

  .uhero__tab {
    flex: 0 0 auto;
    scroll-snap-align: start;
    gap: 0.45rem;
    padding: 0.4rem 0.6rem 0.5rem 0.4rem;
  }
  .uhero__tab-thumb { width: 1.9rem; height: 1.9rem; border-radius: 0.55rem; }
  .uhero__tab-label { font-size: 0.82rem; }
  .uhero__tab-progress { left: 0.4rem; right: 0.4rem; bottom: 0.15rem; }

  .uhero__nav { padding-left: 0.35rem; }
  .uhero__count, .uhero__nav [data-prev], .uhero__nav [data-next] { display: none; }
  .uhero__arrow { width: 2.3rem; height: 2.3rem; }

  .home-crew__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.9rem;
    margin-inline: -1rem;
    padding: 0.5rem 1rem 1rem;
    scrollbar-width: none;
  }
  .home-crew__grid::-webkit-scrollbar { display: none; }
  .home-crew__grid li { flex: 0 0 68%; scroll-snap-align: center; }
  .home-crew__line { max-height: 6rem; margin-top: 0.3rem; opacity: 1; }
  .home-paths__body { padding: 1.4rem; }
}

@media (max-height: 760px) and (min-width: 761px) {
  .uhero__lead { margin-bottom: 1rem; }
  .uhero__title { font-size: clamp(2.2rem, 5vw, 3.6rem); }
  .uhero__inner { padding-bottom: 7.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .uhero__slide,
  .uhero__media img,
  .uhero__content > *,
  .home-crew__card,
  .home-crew__card img {
    transition: none !important;
  }
  .uhero__media img { transform: none !important; }
  .home-ticker__track { animation: none; }
  .home-paths__result:not([hidden]) { animation: none; }
}
