/* ============================================
   Noor — Hero component
   Full-bleed section with layered effects
   - .hero (section) = full viewport width
   - .hero__surface = background + effects (full-bleed)
   - .hero__content = centered content (.container)
   ============================================ */

.hero {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 500px;
  max-height: 850px;
  margin-top: calc(-1 * var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Seam: fade band at the bottom of the hero — kills the hard cut */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 250px;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(14, 14, 14, 0) 0%, #0e0e0e 100%);
}

/* --- Surface layers (full-bleed, behind content) --- */

.hero__surface {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--surface-bg);
}

/* --- Content layer (centered via .container) --- */

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  width: min(100% - 2 * var(--gutter), var(--content-max));
  margin-inline: auto;
}

.hero__logo {
  width: min(420px, 60vw);
  height: auto;
}

/* --- UI labels overlay (name / roles / edition) --- */

.hero-ui {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none; /* CRITICAL: keeps cursor effect alive */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--edge-margin);
  padding-top: calc(var(--nav-height) + clamp(12px, 1.6vw, 24px));
  color: var(--text-primary, #fff);
}

.hero-ui__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.hero-ui__name,
.hero-ui__roles,
.hero-ui__edition {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  line-height: 1.35;
  opacity: 0.85;
}

.hero-ui__roles {
  text-align: right;
}

.hero-ui__bottom {
  display: flex;
  justify-content: center;
  padding-bottom: clamp(8px, 1.2vw, 16px);
}

@media (max-width: 520px) {
  .hero-ui__name,
  .hero-ui__roles,
  .hero-ui__edition {
    font-size: 10px;
    letter-spacing: 0.14em;
  }
  .hero-ui__top {
    gap: 16px;
  }
}
