/* Matches dmexco.com .new-head proportions */
.hero-shell {
  position: relative;
  color: #fff;
  background: #000;
  overflow: hidden;
}

.hero-shell__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-shell__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64.7% 41.4%;
}

.hero-shell__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Original: fade to white at bottom, no heavy dark veil */
  background: linear-gradient(to bottom, transparent 88%, #fff);
}

.hero {
  position: relative;
  z-index: 2;
  min-height: calc(100svh + 4vw);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: calc(var(--topbar-h, 2.1rem) + var(--nav-h));
}

.hero__content {
  width: 100%;
  padding: 3.5vw var(--pad-x) 2vw;
  display: grid;
  gap: 0;
  max-width: none;
}

.hero__title {
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 6.9vw, 6.25rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 clamp(1rem, 2.4vw, 2.2rem);
  max-width: 14ch;
  text-shadow: none;
}

.hero__headline {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.875vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
  text-shadow: none;
}

.hero__text {
  margin: 1.1rem 0 0;
  max-width: 42ch;
  font-size: clamp(1.05rem, 1.875vw, 1.7rem);
  line-height: 1.2;
  font-weight: 300;
  color: #fff;
  text-shadow: none;
}

.hero__cta {
  margin-top: 1.75rem;
}

.btn--register-hero {
  display: inline-flex;
  min-height: 2.85rem;
  padding: 0.7rem 1.6rem;
  background: #fff;
  color: #000;
  border: 1px solid #fff;
  font-size: 1rem;
  font-weight: 500;
}

.btn--register-hero:hover {
  background: transparent;
  color: #fff;
}

.hero__footer-links {
  display: flex;
  justify-content: flex-end;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: 0 var(--pad-x) clamp(5rem, 10vw, 8rem);
  z-index: 3;
}

.hero__footer-links a {
  color: #fff;
  font-size: clamp(0.95rem, 1.4vw, 1.35rem);
  font-weight: 400;
  line-height: 1.2;
  border-bottom: 1px solid #fff;
  padding-bottom: 0.2rem;
}

.hero__footer-links a:hover {
  opacity: 0.85;
}

@media (max-width: 999px) {
  .hero {
    min-height: 100svh;
  }

  .hero__title {
    font-size: clamp(2.2rem, 11vw, 5.5rem);
    max-width: 12ch;
  }

  .hero__footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-bottom: 3rem;
  }
}

@media (max-width: 500px) {
  .hero__content {
    padding-top: 2rem;
  }

  .hero__title {
    font-size: clamp(2rem, 12vw, 2.8rem);
  }

  .hero__headline,
  .hero__text {
    font-size: 1rem;
    max-width: 34ch;
  }
}
