/* ============ HERO — full-bleed image with a quiet caption block ============ */
.hero {
  position: relative;
  min-height: clamp(560px, 86vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}

/* ---- Background slides ---- */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
  pointer-events: none;
}
.hero__slide.is-active { opacity: 1; }

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
/* the active slide slowly drifts, so the hero is never still */
.hero__slide.is-active img {
  animation: heroDrift 9s ease-out forwards;
}
@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.13) translate3d(-1.6%, -1.2%, 0); }
}


/* ---- Vertical social rail ---- */
.hero__social {
  position: absolute;
  left: clamp(14px, 2.2vw, 30px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero__social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  font-size: 0.85rem;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.hero__social a:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateX(3px);
}

/* ---- Content ---- */
.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-h);
  max-width: 980px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-tiny);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
}

.hero__tagline {
  margin-top: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.hero__title {
  margin-top: 18px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero__line { display: block; }
.hero__line--accent { color: var(--red); }

.hero__desc {
  margin-top: 22px;
  max-width: 560px;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

.hero__actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---- Scroll cue ---- */
.hero__cue {
  position: absolute;
  left: 50%;
  bottom: clamp(74px, 11vw, 128px);
  transform: translateX(-50%);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 56px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.7);
}
.hero__cue i { animation: cueBob 1.8s ease-in-out infinite; }
@keyframes cueBob {
  0%, 100% { transform: translateY(-4px); opacity: 0.5; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* ---- Entrance animation ---- */
[data-hero] {
  opacity: 0;
  transform: translateY(26px);
  animation: heroIn 0.9s var(--ease) forwards;
}
[data-hero="1"] { animation-delay: 0.15s; }
[data-hero="2"] { animation-delay: 0.25s; }
[data-hero="3"] { animation-delay: 0.35s; }
[data-hero="4"] { animation-delay: 0.45s; }
[data-hero="5"] { animation-delay: 0.55s; }
[data-hero="6"] { animation-delay: 0.68s; }
[data-hero="7"] { animation-delay: 0.8s; }
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .hero { min-height: 92vh; }
  .hero__cue { display: none; }
  /* social rail stays on tablet/mobile, just a touch smaller */
  .hero__social { left: 12px; gap: 10px; }
  .hero__social a { width: 32px; height: 32px; font-size: 0.78rem; }
}
@media (max-width: 600px) {
  .hero__desc { font-size: 1rem; }
}

/* ---- Slide indicators ---- */
.hero__dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: clamp(74px, 10vw, 128px);
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.hero__dot {
  width: 30px;
  height: 4px;
  border-radius: var(--radius-pill);
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: background 0.4s var(--ease), width 0.4s var(--ease);
}
.hero__dot.is-active { width: 54px; background: var(--red); }
.hero__dot:hover { background: #fff; }

@media (max-width: 600px) {
  .hero__dots { bottom: clamp(66px, 14vw, 96px); }
  .hero__dot { width: 22px; }
  .hero__dot.is-active { width: 40px; }
}
