/* ---------- Hero Section (Dark, Brutalist & Editorial) ---------- */
#hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(84px, 12vh, 120px);
  padding-bottom: clamp(32px, 5vh, 56px);
  padding-left: clamp(20px, 6vw, 56px);
  padding-right: clamp(20px, 6vw, 56px);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  margin-top: auto;
  width: 100%;
}

/* 1. Status / Metadata Micro-label */
.hero-status-bar {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
  margin-bottom: clamp(18px, 2.5vh, 26px);
  flex-wrap: wrap;
}

.status-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(10.5px, 1vw, 12px);
  color: var(--muted-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 8px rgba(46, 204, 113, 0.7);
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.status-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(46, 204, 113, 0.6);
  animation: statusPulse 2.4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes statusPulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

.status-loc {
  opacity: 0.75;
}

/* 2. Hero Introduction */
.hero-intro {
  margin-bottom: clamp(20px, 3vh, 32px);
}

#hero .kicker {
  font-size: clamp(13px, 1.25vw, 15px);
  color: var(--cream);
  opacity: 0.9;
  margin-bottom: 6px;
  max-width: 48ch;
  line-height: 1.45;
}

.hero-intro .intro-sub {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(13px, 1.2vw, 15px);
  color: var(--muted-dark);
  max-width: 48ch;
  line-height: 1.55;
  font-weight: 400;
}

/* 3. Oversized Monumental Title-Card Headline */
#hero h1 {
  font-size: clamp(44px, 10.5vw, 168px);
  line-height: 0.81;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  display: block;
  margin-bottom: clamp(28px, 4.5vh, 48px);
  font-weight: 900;
  text-shadow: 0 0 30px rgba(20, 18, 15, 0.75);
}

#hero h1 span {
  display: block;
}

#hero h1 .accent {
  color: var(--violet);
}

/* 4. Primary Calls to Action (Editorial, Text-Based) */
.hero-actions {
  display: flex;
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4.5vh, 48px);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cream);
  font-size: clamp(12.5px, 1.15vw, 14px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  cursor: pointer;
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1), letter-spacing 0.25s ease;
}

.hero-cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(240, 235, 224, 0.35);
  transform-origin: right;
  transition: background-color 0.25s ease, height 0.25s ease, transform 0.25s ease;
}

.hero-cta .cta-arrow {
  display: inline-block;
  font-size: 1.1em;
  color: var(--violet);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.hero-cta:hover {
  color: #FFFFFF;
  letter-spacing: 0.11em;
}

.hero-cta:hover::after {
  background: var(--violet);
  height: 1.5px;
}

.hero-cta:hover .cta-arrow {
  transform: translate(3px, -3px);
  color: #FFFFFF;
}

/* Secondary CTA variant */
.hero-cta-alt {
  color: var(--muted-dark);
}

.hero-cta-alt::after {
  background: rgba(163, 155, 139, 0.3);
}

.hero-cta-alt .cta-arrow {
  color: var(--muted-dark);
}

.hero-cta-alt:hover {
  color: var(--cream);
  letter-spacing: 0.11em;
}

.hero-cta-alt:hover::after {
  background: var(--cream);
  height: 1.5px;
}

.hero-cta-alt:hover .cta-arrow {
  transform: translate(3px, -3px);
  color: var(--violet);
}

/* 5. Hero Foot & Scroll Indicator */
.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  flex-wrap: wrap;
  border-top: 1px solid var(--hair-dark);
  padding-top: clamp(20px, 3vh, 32px);
}

.hero-foot p {
  max-width: 48ch;
  color: var(--muted-dark);
  font-size: clamp(14px, 1.3vw, 15.5px);
  line-height: 1.55;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted-dark);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.scroll-cue .cue-line {
  width: 26px;
  height: 1px;
  background: var(--hair-dark);
  display: inline-block;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.scroll-cue .cue-arrow {
  display: inline-block;
  transition: transform 0.25s ease, color 0.25s ease;
  animation: scrollBounce 2.2s ease-in-out infinite;
}

.scroll-cue:hover {
  color: var(--cream);
}

.scroll-cue:hover .cue-line {
  width: 38px;
  background: var(--violet);
}

.scroll-cue:hover .cue-arrow {
  color: var(--violet);
}

.hero-cta:focus-visible,
.scroll-cue:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 4px;
  border-radius: 2px;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* 6. Responsive Tuning */
@media (max-width: 768px) {
  #hero {
    padding-top: clamp(72px, 10vh, 90px);
    padding-bottom: 32px;
  }

  .hero-status-bar {
    gap: 12px;
    margin-bottom: 20px;
  }

  .hero-actions {
    gap: 20px;
  }

  .hero-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-top: 20px;
  }

  .hero-foot p {
    max-width: 100%;
    font-size: 14.5px;
  }
}

@media (max-width: 480px) {
  #hero {
    padding-left: clamp(16px, 4.5vw, 24px);
    padding-right: clamp(16px, 4.5vw, 24px);
    padding-top: 76px;
    padding-bottom: 24px;
  }

  #hero h1 {
    font-size: clamp(26px, 8.2vw, 40px);
    line-height: 0.94;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
    margin-bottom: 24px;
  }

  .hero-status-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
  }

  .status-item {
    font-size: 10px;
    letter-spacing: 0.05em;
  }

  .hero-intro {
    margin-bottom: 20px;
  }

  #hero .kicker {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .hero-intro .intro-sub {
    font-size: 13.5px;
    line-height: 1.5;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 24px;
    width: 100%;
  }

  .hero-cta {
    font-size: 12px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    width: 100%;
  }

  .scroll-cue {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 10px 0;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .status-dot::after,
  .scroll-cue .cue-arrow {
    animation: none !important;
  }
  .hero-cta,
  .hero-cta::after,
  .hero-cta .cta-arrow {
    transition: none !important;
  }
}
