/* =============================================================
   hero.css — Home hero section
   ============================================================= */

.hero {
  min-height: 100vh;
  background: url("../images/collage.png");
  margin: 0px auto;
  background-size: cover;
  background-position: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  display: flex;
}

/* Ambient gradient overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* --- Text column -------------------------------------------- */
.hero__text {
  position: absolute;
  left: 80px;
}

.hero__headline {
  font-family: var(--font-head);
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--soft-ivory);
  margin-bottom: 32px;
}

/* Staggered line reveal on load */
.hero__headline .line {
  display: block;
  transform: translateY(30px);
  animation: revealLine 0.8s var(--ease-reveal) forwards;
  background-color: rgba(5, 5, 5, 0.5);
}
.hero__headline .line:nth-child(1) {
  animation-delay: 0.1s;
}
.hero__headline .line:nth-child(2) {
  animation-delay: 0.25s;
}
.hero__headline .line:nth-child(3) {
  animation-delay: 0.4s;
}
.hero__headline .line:nth-child(4) {
  animation-delay: 0.55s;
}

@keyframes revealLine {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--soft-ivory);
  max-width: 380px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-reveal) 0.7s forwards;
  background-color: rgba(5, 5, 5, 0.5);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Visual column ------------------------------------------ */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 1s var(--ease-reveal) 0.4s forwards;
}

.hero__img-frame {
  width: 100%;
  max-width: 1500px;
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.8s var(--ease-cinematic);
  will-change: transform;
}
.hero__img-frame:hover {
  transform: scale(1.02);
}

.hero__portrait {
  width: 100%;
  height: auto;
  display: block;
  object-fit: fill;
}

.hero__tag {
  position: absolute;
  bottom: -16px;
  right: 0;
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(245, 241, 232, 0.4);
  text-transform: uppercase;
}

/* --- Responsive --------------------------------------------- */
@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 100px var(--page-x) 60px;
  }
  .hero__visual {
    order: -1;
  }
  .hero__img-frame {
    max-width: 80%;
    margin: 0 auto;
  }
}
