.cover {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: max(760px, 100svh);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  padding: 90px 24px 100px;
  background: transparent;
  color: #e6e9e8;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}

.cover::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 50% 52%, #13c6a00b, transparent 55%);
  content: "";
  pointer-events: none;
}

.cover__content {
  width: 100%;
  max-width: 1100px;
  container-type: inline-size;
}

.cover__label {
  margin: 0 0 18px;
  color: #929b98;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.cover h1 {
  margin: 0;
  font-size: clamp(32px, 5.6vw, 78px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.cover h1 span {
  display: block;
}

.cover__role {
  margin: 22px 0 0;
  color: #a2aaa7;
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.5;
}

.cover__role span,
.cover__headline-accent {
  color: #13c6a0;
}

.cover__headline {
  display: flex;
  justify-content: center;
  margin: 26px 0;
  min-height: 1.1em;
  font-family: Impact, Haettenschweiler, "Arial Narrow", sans-serif;
  font-size: clamp(16px, 5vw, 72px);
  font-size: min(6.4cqw, 76px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.cover__headline-readable {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.cover__typewriter {
  display: inline-block;
  position: relative;
  white-space: pre;
}

.cover__typewriter.is-typing::after {
  position: absolute;
  top: 0.1em;
  right: -0.08em;
  width: 3px;
  height: 0.8em;
  background: #13c6a0;
  content: "";
  animation: typewriter-caret 1s step-end infinite;
}

@keyframes typewriter-caret {
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .cover__typewriter::after {
    display: none;
  }
}

.cover__description {
  margin: 0 auto;
  max-width: 540px;
  color: #99a29e;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.8;
  text-wrap: pretty;
}

.cover__link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  padding: 14px 22px;
  border: 1px solid #13c6a047;
  border-radius: 999px;
  background: #13c6a008;
  color: #dce5e1;
  font-size: 14px;
  text-decoration: none;
  transition: background 180ms, border-color 180ms;
}

.cover__link span {
  color: #13c6a0;
  font-size: 20px;
}

.cover__link:hover {
  border-color: #13c6a0;
  background: #13c6a018;
}

.cover__link:focus-visible {
  outline: 2px solid #13c6a0;
  outline-offset: 5px;
}

html {
  scroll-behavior: smooth;
}

#mi-trayectoria {
  scroll-margin-top: 40px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 900px) {
  .cover {
    min-height: 100svh;
    padding: 80px 20px 70px;
  }

}
