:root {
  --ink: #292857;
  --accent: #c9c7e2;
  --white: #ffffff;
  --mist: #e9e8f0;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(24px, 5vw, 64px) clamp(22px, 7vw, 108px) clamp(22px, 4vw, 44px);
}

.heroImage,
.heroShade {
  position: absolute;
  inset: 0;
}

.heroImage {
  z-index: -2;
  background: url("assets/puerto-proximamente.webp") center center / cover no-repeat;
  animation: imageIn 1200ms ease-out both;
}

.heroShade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(28, 27, 65, 0.94) 0%, rgba(28, 27, 65, 0.82) 42%, rgba(28, 27, 65, 0.36) 76%, rgba(28, 27, 65, 0.5) 100%),
    linear-gradient(0deg, rgba(17, 17, 17, 0.58), transparent 48%);
}

.brandHeader {
  animation: rise 760ms 80ms ease-out both;
}

.brandLogo {
  display: block;
  width: clamp(132px, 15vw, 205px);
  height: auto;
  filter: brightness(0) invert(1);
}

.content {
  align-self: center;
  max-width: 820px;
  padding: clamp(34px, 8vh, 76px) 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(18px, 3vh, 28px);
  color: var(--mist);
  font-family: "DM Mono", monospace;
  font-size: clamp(0.68rem, 1.2vw, 0.8rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: rise 780ms 180ms ease-out both;
}

.eyebrow span {
  width: 42px;
  height: 2px;
  background: var(--accent);
}

h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.45rem, 7.3vw, 6.25rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  animation: rise 860ms 300ms ease-out both;
}

.lead {
  max-width: 650px;
  margin: clamp(22px, 4vh, 32px) 0 clamp(24px, 4vh, 36px);
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  font-weight: 500;
  line-height: 1.65;
  animation: rise 860ms 420ms ease-out both;
}

.mailLink {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
  color: var(--white);
  font-family: "DM Mono", monospace;
  font-size: clamp(0.72rem, 1.2vw, 0.84rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease;
  animation: rise 860ms 540ms ease-out both;
}

.mailLink:hover,
.mailLink:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.mailLink:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.footer {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.66);
  font-family: "DM Mono", monospace;
  font-size: clamp(0.62rem, 1vw, 0.74rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: rise 780ms 660ms ease-out both;
}

.footerLine {
  width: 38px;
  height: 1px;
  background: rgba(255, 255, 255, 0.42);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes imageIn {
  from {
    opacity: 0;
    transform: scale(1.025);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 680px) {
  .hero {
    padding: 26px 22px 24px;
  }

  .heroImage {
    background-position: 60% center;
  }

  .heroShade {
    background:
      linear-gradient(90deg, rgba(28, 27, 65, 0.96), rgba(28, 27, 65, 0.78)),
      linear-gradient(0deg, rgba(17, 17, 17, 0.58), transparent 48%);
  }

  .content {
    padding: 42px 0 34px;
  }

  .eyebrow {
    max-width: 310px;
    line-height: 1.45;
  }

  h1 {
    font-size: clamp(2.08rem, 10vw, 3.35rem);
  }

  .lead {
    line-height: 1.5;
  }

  .mailLink {
    line-height: 1.45;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    line-height: 1.45;
  }

  .footerLine {
    display: none;
  }
}

@media (max-height: 620px) {
  .hero {
    padding-block: 18px;
  }

  .brandLogo {
    width: 122px;
  }

  .content {
    padding: 20px 0;
  }

  h1 {
    font-size: clamp(2.25rem, 10vh, 4.2rem);
  }

  .lead {
    max-width: 590px;
    margin: 16px 0 18px;
    font-size: 0.94rem;
    line-height: 1.42;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}