/* — Hero — centered title block + full-width image — */
.hero {
  min-height: 100vh;
  padding: 150px 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.hero-title-block {
  padding: 0 48px 56px;
  text-align: center;
  width: 100%;
  max-width: 1200px;
}

.hero-eyebrow {
  margin-bottom: 30px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}
.hero-eyebrow .line {
  width: 36px;
  height: 1px;
  background: var(--ink-mute);
}

.hero h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(48px, 7.5vw, 116px);
  line-height: 0.98;
  letter-spacing: 0.005em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin: 0;
}
.hero h1 .firm-line {
  display: block;
}
.hero h1 .three-sixty-mark {
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--clay);
  text-transform: none;
  margin-left: 0.08em;
}

.hero-tagline {
  display: block;
  margin-top: 22px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(15px, 1.4vw, 19px);
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  text-transform: none;
}

/* Full-width image frame with slider */
.hero-image-frame {
  width: 100%;
  position: relative;
  height: 60vh;
  min-height: 420px;
  overflow: hidden;
  background: var(--bone-deep);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.2s var(--easing);
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.02);
  transform: scale(1.02);
  transition: transform 6s var(--easing);
}
.hero-slide.active img {
  transform: scale(1);
}

.hero-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(31, 27, 22, 0.28));
  pointer-events: none;
  z-index: 2;
}

.hero-slide-caption {
  position: absolute;
  bottom: 24px;
  left: 36px;
  color: var(--bone);
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.01em;
  display: flex;
  align-items: baseline;
  gap: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 1s var(--easing) 0.25s, transform 1s var(--easing) 0.25s;
}
.hero-slide-caption::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--bone);
  opacity: 0.7;
}
.hero-slide.active .hero-slide-caption {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide-meta {
  position: absolute;
  bottom: 24px;
  right: 36px;
  color: var(--bone);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 1s var(--easing) 0.35s, transform 1s var(--easing) 0.35s;
}
.hero-slide.active .hero-slide-meta {
  opacity: 0.85;
  transform: translateY(0);
}

/* Slide indicators */
.hero-indicators {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.hero-indicator {
  width: 28px;
  height: 2px;
  background: rgba(237, 231, 221, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.5s var(--easing), width 0.5s var(--easing);
  position: relative;
  overflow: hidden;
}
.hero-indicator:hover { background: rgba(237, 231, 221, 0.6); }
.hero-indicator.active {
  background: rgba(237, 231, 221, 0.25);
  width: 48px;
}
.hero-indicator.active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bone);
  transform-origin: left;
  animation: indicatorFill var(--indicator-duration, 5.5s) linear forwards;
}
@keyframes indicatorFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Scroll indicator */
.scroll-cue {
  position: absolute;
  bottom: 24px;
  right: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink-mute);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  pointer-events: none;
}
.scroll-cue .line {
  width: 1px;
  height: 36px;
  background: var(--ink-mute);
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--ink);
  animation: trickle 2.4s var(--easing) infinite;
}
@keyframes trickle {
  0% { transform: translateY(0); }
  100% { transform: translateY(400%); }
}
