body {
  font-family: 'IBM Plex Sans JP', sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

.hero-section {
    display: flex;
    flex-direction: column;
    gap: 21px;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
     min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
}

.hero-headline {
    color: #ffffff;
    text-align: center;
    font-size: var(--size-font-size-desktop-h1, 41.88999938964844px);
    font-weight: 400;
    position: relative;
    align-self: stretch;
}

.subtitle {
    color: #ffffff;
    text-align: center;
    font-size: var(--size-font-size-desktop-h3, 16px);
    font-weight: 400;
    position: relative;
    align-self: stretch;
    letter-spacing: 0.25em;
  opacity: 0.85;
}

/* Overlay negro para el fade-in del fondo */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  animation: fadeOutOverlay 1.6s ease forwards;
  z-index: 1;
}

/* Asegura que el texto quede arriba del overlay */
.hero-content {
  position: relative;
  z-index: 2;
}

/* Animación: negro → transparente */
@keyframes fadeOutOverlay {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.hero-headline {
    color: #ffffff;
    text-align: center;
    font-size: var(--size-font-size-desktop-h1, 41.88999938964844px);
    font-weight: 400;
    position: relative;
    align-self: stretch;

    /* Siempre visible, pero desenfocado */
    filter: blur(10px);
    animation: focusTitle 1.0s ease forwards;
    animation-delay: 0.6s; /* aparece antes que termine el scramble */
}

@keyframes focusTitle {
    to {
        filter: blur(0);
    }
}

.signature {
  margin-top: 40px;
  color: #ffffff;
  font-size: 14px;
  opacity: .85;
  letter-spacing: 0.02em;
}