/* _hero.css — Hero block BEM */

.block--hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-stone-50);
}

.block--hero .block__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem var(--pad-x-mobile);
}

@media (min-width: 768px) {
  .block--hero .block__main {
    padding: 3rem var(--pad-x-desktop);
  }
}

.block--hero .block__container {
  max-width: var(--max-prose);
  text-align: center;
}

.block--hero .block__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.875rem;
  line-height: 1.2;
  color: var(--color-stone-800);
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .block--hero .block__title {
    font-size: 3rem;
  }
}

.block--hero .block__lead {
  font-size: 1.125rem;
  color: var(--color-stone-500);
  line-height: 1.7;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .block--hero .block__lead {
    font-size: 1.25rem;
  }
}

.block--hero .block__scroll-down {
  display: flex;
  justify-content: center;
  padding-bottom: 2rem;
  color: var(--color-stone-400);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
  animation: hero-bounce 1s infinite;
}

.block--hero .block__scroll-down:hover {
  color: var(--color-teal-700);
}

.block--hero .block__scroll-icon {
  width: 1.5rem;
  height: 1.5rem;
}

@keyframes hero-bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
  50%       { transform: translateY(0);   animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}
