﻿/* ========== HERO â€” men's fashion editorial slider ========== */
.lux-hero {
  position: relative;
  height: clamp(650px, 78vh, 780px);
  background: var(--lux-ivory);
  overflow: hidden;
  color: var(--lux-ink);
}

.lux-hero-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.lux-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity 0.9s var(--lux-ease), visibility 0.9s;
}

.lux-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.lux-hero-slide.is-leaving {
  opacity: 0;
  visibility: visible;
  z-index: 2;
}

.lux-hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

body.lux-body .lux-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  opacity: 0.85;
  transition: transform 0.95s var(--lux-ease), opacity 0.95s var(--lux-ease);
}

.lux-hero-slide.is-active .lux-hero-media img {
  transform: scale(1);
  opacity: 1;
}

.lux-hero-slide.is-leaving .lux-hero-media img {
  transform: scale(0.985);
}

.lux-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(248, 246, 241, 0.95) 0%,
    rgba(248, 246, 241, 0.82) 22%,
    rgba(248, 246, 241, 0.3) 44%,
    rgba(248, 246, 241, 0) 60%
  );
  pointer-events: none;
}

.lux-hero-frame {
  position: relative;
  z-index: 3;
  height: 100%;
  width: min(100% - 3rem, var(--lux-max));
  margin-inline: auto;
  display: flex;
  align-items: center;
}

.lux-hero-content {
  width: min(100%, 420px);
  padding: 3rem 0;
}

.lux-hero-eyebrow,
.lux-hero-title,
.lux-hero-text,
.lux-hero-actions {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--lux-ease), transform 0.7s var(--lux-ease);
}

.lux-hero-slide.is-active .lux-hero-eyebrow {
  opacity: 1;
  transform: none;
  transition-delay: 0.18s;
}

.lux-hero-slide.is-active .lux-hero-title {
  opacity: 1;
  transform: none;
  transition-delay: 0.3s;
}

.lux-hero-slide.is-active .lux-hero-text {
  opacity: 1;
  transform: none;
  transition-delay: 0.42s;
}

.lux-hero-slide.is-active .lux-hero-actions {
  opacity: 1;
  transform: none;
  transition-delay: 0.54s;
}

.lux-hero-eyebrow {
  margin: 0 0 1rem;
  font-family: var(--lux-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--lux-mute);
}

body.lux-body .lux-hero-title {
  margin: 0 0 1.25rem;
  max-width: 9ch;
  font-family: var(--lux-serif);
  font-weight: 400;
  font-size: clamp(3rem, 5.4vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.015em;
  color: var(--lux-navy);
}

.lux-hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--lux-ink);
}

.lux-hero-text {
  margin: 0 0 2rem;
  max-width: 30ch;
  font-family: var(--lux-sans);
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--lux-mute);
}

.lux-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem 2rem;
}

.lux-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--lux-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lux-navy);
  cursor: pointer;
}

.lux-cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.32);
  transform-origin: left center;
  transition: transform 0.35s var(--lux-ease);
}

.lux-cta .lux-cta-arrow {
  display: inline-block;
  transition: transform 0.35s var(--lux-ease);
}

.lux-cta:hover {
  color: var(--lux-burgundy);
}

.lux-cta:hover::after {
  transform: scaleX(1);
}

.lux-cta:hover .lux-cta-arrow {
  transform: translateX(4px);
}

.lux-cta-muted {
  color: var(--lux-mute);
  font-weight: 500;
}

.lux-cta-muted:hover {
  color: var(--lux-navy);
}

.lux-hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.6rem;
  z-index: 5;
  width: min(100% - 3rem, var(--lux-max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lux-hero-progress {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--lux-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--lux-mute);
}

.lux-hero-progress-track {
  position: relative;
  width: min(180px, 28vw);
  height: 1px;
  background: rgba(35, 42, 97, 0.18);
  overflow: hidden;
}

.lux-hero-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--lux-navy);
  transform-origin: left center;
}

.lux-hero-progress-bar.is-running {
  animation: lux-hero-progress linear forwards;
}

@keyframes lux-hero-progress {
  from { width: 0; }
  to { width: 100%; }
}

.lux-hero-nav {
  display: flex;
  gap: 0.35rem;
}

.lux-hero-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--lux-line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--lux-navy);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.25s var(--lux-ease), border-color 0.25s var(--lux-ease), background 0.25s var(--lux-ease);
}

.lux-hero-btn:hover {
  color: var(--lux-burgundy);
  border-color: var(--lux-burgundy);
  background: #fff;
}

@media (max-width: 1023px) {
  .lux-hero {
    height: auto;
    min-height: 0;
  }

  .lux-hero-track {
    height: auto;
  }

  .lux-hero-slide {
    position: relative;
    inset: auto;
    display: none;
    opacity: 1;
    visibility: visible;
  }

  .lux-hero-slide.is-active {
    display: block;
  }

  .lux-hero-media {
    position: relative;
    height: 56vh;
    min-height: 360px;
  }

  .lux-hero-media::after {
    background: linear-gradient(
      180deg,
      rgba(248, 246, 241, 0) 48%,
      rgba(248, 246, 241, 0.65) 78%,
      var(--lux-ivory) 100%
    );
  }

  .lux-hero-frame {
    height: auto;
    width: min(100% - 1.5rem, var(--lux-max));
    margin-top: -2.5rem;
  }

  .lux-hero-content {
    padding: 0 0 4.5rem;
    width: 100%;
  }

  .lux-hero-controls {
    bottom: 1rem;
    width: min(100% - 1.5rem, var(--lux-max));
  }
}

