/* ===================================================
   Little Harbor — Hero Section
   Full-viewport cinematic hero with title animation
   =================================================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ===== BACKGROUND ===== */
.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.08);
  transition: transform 10s var(--ease-slow);
}

.hero.loaded .hero__bg-img {
  transform: scale(1);
}

/* ===== GRADIENT FADE ===== */
.hero__fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(8, 8, 10, 0.25) 0%,
      rgba(8, 8, 10, 0.05) 30%,
      rgba(8, 8, 10, 0.25) 60%,
      rgba(8, 8, 10, 0.98) 100%
    ),
    radial-gradient(
      ellipse at center,
      transparent 30%,
      rgba(8, 8, 10, 0.4) 100%
    );
}

/* ===== CONTENT ===== */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 1000px;
  padding: 0 2rem;
}

/* ===== LABEL ===== */
.hero__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s var(--ease) 0.3s forwards;
}

.hero__label-line {
  width: 40px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}

.hero__label-text {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ===== TITLE ===== */
.hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 3rem;
}

.hero__title-line {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
  opacity: 0;
  transform: translateY(50px);
  animation: fadeUp 1.2s var(--ease) forwards;
}

.hero__title-line[data-delay="0"] {
  animation-delay: 0.5s;
}

.hero__title-line[data-delay="1"] {
  animation-delay: 0.7s;
}

.hero__title-line[data-delay="2"] {
  animation-delay: 0.9s;
}

.hero__title-line[data-delay="3"] {
  animation-delay: 1.1s;
}

.hero__title-line--italic {
  font-style: italic;
  color: var(--accent);
}

/* ===== BOTTOM CTA AREA ===== */
.hero__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s var(--ease) 1.6s forwards;
}

/* ===== CTA BUTTON ===== */
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(212, 184, 150, 0.35);
  transition: all 0.4s var(--ease);
}

.hero__cta:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.hero__cta-text {
  padding: 0.9rem 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-left: 1px solid rgba(212, 184, 150, 0.2);
  color: var(--accent);
  transition: all 0.3s var(--ease);
}

.hero__cta:hover .hero__cta-icon {
  background: var(--accent-dim);
}

.hero__cta:hover .hero__cta-icon svg {
  transform: translateX(3px);
}

/* ===== SUBTITLE ===== */
.hero__subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ===== SCROLL INDICATOR ===== */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 2.2s forwards;
}

.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .hero__title-line {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .hero__title {
    margin-bottom: 2rem;
  }

  .hero__label {
    margin-bottom: 1.5rem;
  }

  .hero__cta-text {
    padding: 0.8rem 1.5rem;
    font-size: 0.7rem;
  }

  .hero__cta-icon {
    width: 42px;
    height: 42px;
  }
}
