/* ============================================
   HERO — Title, tilted cards, passport banner, marquee
   ============================================ */

.hero {
  padding: calc(var(--nav-height) + 24px) 0 0;
  min-height: auto;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* --- Title area --- */
.hero__title-wrap {
  text-align: center;
  padding: var(--space-lg) var(--space-lg) 0;
  position: relative;
}

.hero__name {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6.5vw, 5rem);
  color: var(--accent-orange);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  text-transform: none;
  letter-spacing: normal;
  color: var(--brown-light);
  margin-top: var(--space-md);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* --- Decorative diamonds --- */
.hero__diamond {
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--pink);
  transform: rotate(45deg);
  border-radius: 3px;
  opacity: 0.7;
}

.hero__diamond--1 { top: 15%; left: 8%; }
.hero__diamond--2 { top: 25%; right: 12%; width: 14px; height: 14px; }
.hero__diamond--3 { top: 60%; left: 5%; width: 12px; height: 12px; }
.hero__diamond--4 { top: 45%; right: 6%; width: 16px; height: 16px; }
.hero__diamond--5 { bottom: 30%; left: 15%; width: 10px; height: 10px; }

/* --- Decorative star sparkles --- */
.hero__star {
  position: absolute;
  color: var(--accent-orange);
  font-size: 1.4rem;
  opacity: 0.85;
  z-index: 1;
}

.hero__star--1 { top: 14%; left: 22%; font-size: 1.6rem; }
.hero__star--2 { top: 10%; right: 18%; font-size: 1.2rem; }
.hero__star--3 { top: 28%; right: 25%; font-size: 0.9rem; }

/* --- Scattered Polaroid cards --- */
.hero__cards {
  position: relative;
  height: 340px;
  margin: var(--space-md) auto 0;
  max-width: 900px;
  width: 100%;
  z-index: 2;
  margin-bottom: -50px;
}

.hero__card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease-spring);
}

.hero__card:hover {
  z-index: 10;
}

.hero__card--1:hover { transform: rotate(-6deg) scale(1.05); }
.hero__card--2:hover { transform: rotate(3deg) scale(1.05); }
.hero__card--3:hover { transform: rotate(5deg) scale(1.05); }
.hero__card--4:hover { transform: rotate(-4deg) scale(1.05); }

/* Card 1: Photo placeholder — tilted left */
.hero__card--1 {
  width: 200px;
  height: 260px;
  left: 1.4%;
  bottom: 0;
  transform: rotate(-6deg);
  z-index: 2;
}

/* Card 2: Role text — tilted right */
.hero__card--2 {
  width: 200px;
  height: 160px;
  left: 27.4%;
  bottom: 40px;
  transform: rotate(3deg);
  z-index: 4;
  padding: var(--space-lg);
  display: flex;
  align-items: center;
}

.hero__card--2 p,
.hero__card--3 p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--brown);
  font-weight: 400;
}

.hero__card--2 em,
.hero__card--3 em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--brown-light);
}

.hero__card--2 strong,
.hero__card--3 strong {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 700;
  color: var(--accent-orange);
}

.hero-highlight {
  background: var(--pink-light);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-style: normal;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--accent-orange);
}

/* Card 3: Text card — tilted right */
.hero__card--3 {
  width: 190px;
  height: 160px;
  left: 52.6%;
  bottom: 40px;
  transform: rotate(5deg);
  z-index: 2;
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  background: #E8EAD6;
}

/* Card 3 p styling merged with Card 2 above */

/* Card 4: Map/location — tilted left */
.hero__card--4 {
  width: 200px;
  height: 210px;
  left: 77%;
  bottom: 20px;
  transform: rotate(-4deg);
  z-index: 1;
}

/* Card content: images & labels */
.hero__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__card-label {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-hand);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--accent-orange);
  white-space: nowrap;
}

/* --- Passport / green banner --- */
.hero__passport {
  background: var(--olive);
  border: 2px dashed var(--olive-light);
  border-radius: var(--radius-lg);
  margin: 0 var(--space-lg) 0;
  padding: 80px var(--space-xl) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero__passport-greeting {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--bg-cream);
  font-style: italic;
  flex-shrink: 0;
}

.hero__passport-arrow {
  width: 44px;
  height: 44px;
  background: var(--olive-light);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* --- Marquee ticker --- */
.marquee {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee__track {
  display: inline-flex;
  gap: var(--space-xl);
  animation: marqueeScroll 20s linear infinite;
}

.marquee__item {
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--bg-cream);
  opacity: 0.85;
  white-space: nowrap;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- Hero reveal override (MUST be after base.css .reveal) --- */
.hero .reveal {
  opacity: 0;
  transform: translateY(40px);
  animation: heroReveal 0.9s var(--ease-expo) forwards;
  transition: none;
}

.hero .hero__title-wrap > .reveal:nth-child(1) { animation-delay: 0.15s; }
.hero .hero__title-wrap > .reveal:nth-child(2) { animation-delay: 0.35s; }
.hero > .hero__cards.reveal { animation-delay: 0.5s; }
.hero > .hero__passport.reveal { animation-delay: 0.65s; }

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