/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  animation: hero-ken-burns 40s ease-in-out infinite alternate;
}

@keyframes hero-ken-burns {
  0%   { transform: scale(1.02) translate(0.5%, -0.3%); }
  33%  { transform: scale(1.06) translate(-1.2%, 0.4%); }
  66%  { transform: scale(1.03) translate(0.3%, -1%); }
  100% { transform: scale(1.07) translate(-0.8%, -0.6%); }
}

.hero__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    hsl(240 10% 6% / 0.25) 30%,
    hsl(240 10% 6% / 0.8) 70%,
    var(--color-bg) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding-bottom: var(--space-3xl);
  text-align: center;
}

.hero__name {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.hero__name-line {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-text);
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  text-shadow: 0 2px 12px hsl(0 0% 0% / 0.6);
}

.hero__descriptor {
  font-family: var(--font-accent);
  font-size: 1rem;
  font-style: italic;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  opacity: 0.8;
}

.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
  color: var(--color-text-muted);
  animation: hero-scroll-pulse 2s ease-in-out infinite;
  transition: opacity var(--duration-normal) ease;
}

.hero__scroll--hidden {
  opacity: 0;
  pointer-events: none;
}

.hero__scroll span {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
}

@keyframes hero-scroll-pulse {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(4px); }
}

@media (max-width: 640px) {
  .hero__content { padding-inline: var(--space-md); }
}
