/* ===== HERO — Marketing Systems (animated) =====
   Self-contained. All selectors are .vh-* so nothing collides with style.css.
   Plays once on load. Honours prefers-reduced-motion. No JS required. */

.vh-hero {
  --vh-bg: #0B0F14;
  --vh-gold: #C9A227;
  --vh-text: #F5F5F5;
  --vh-muted: #8B94A3;
  --vh-border: rgba(255,255,255,.08);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  background: var(--vh-bg);
  color: var(--vh-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 132px 0 0;
  border-bottom: 1px solid var(--vh-border);
}
.vh-hero *, .vh-hero *::before, .vh-hero *::after { box-sizing: border-box; }

.vh-glow {
  position: absolute; top: -260px; left: -160px;
  width: 820px; height: 620px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(201,162,39,.13), rgba(201,162,39,0));
  animation: vh-glow 1.8s ease-out .1s both;
}

.vh-wrap { position: relative; max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.vh-eyebrow {
  display: inline-block; margin-bottom: 22px;
  font-family: 'IBM Plex Mono', monospace; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--vh-gold);
  animation: vh-rise .7s cubic-bezier(.22,1,.36,1) .15s both;
}

.vh-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 600;
  letter-spacing: -.025em; line-height: 1.1;
  font-size: clamp(32px, 4.6vw, 54px);
  margin: 0 0 22px; text-wrap: balance;
}
.vh-title span { display: block; }
.vh-title .vh-gold { display: inline; color: var(--vh-gold); }
.vh-line-1 { animation: vh-rise .85s cubic-bezier(.22,1,.36,1) .30s both; }
.vh-line-2 { animation: vh-rise .85s cubic-bezier(.22,1,.36,1) .45s both; }

.vh-sub {
  max-width: 60ch; margin: 0 0 34px;
  font-size: 17.5px; line-height: 1.65; color: #9CA3AF; text-wrap: pretty;
  animation: vh-rise .85s cubic-bezier(.22,1,.36,1) .68s both;
}

.vh-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  animation: vh-rise .85s cubic-bezier(.22,1,.36,1) .85s both;
}
.vh-btn {
  display: inline-flex; align-items: center; padding: 14px 26px;
  border-radius: 6px; font-size: 15px; text-decoration: none;
}
.vh-btn-primary {
  background: var(--vh-gold); color: #0B0F14; font-weight: 600;
  border: 1px solid var(--vh-gold);
  transition: transform .25s ease, box-shadow .25s ease;
}
.vh-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201,162,39,.22); color: #0B0F14; }
.vh-btn-outline {
  color: var(--vh-text); font-weight: 500; border: 1px solid rgba(255,255,255,.18);
  transition: border-color .25s ease, background .25s ease;
}
.vh-btn-outline:hover { border-color: rgba(201,162,39,.6); background: rgba(255,255,255,.04); color: var(--vh-text); }

/* ---- customer journey ---- */
.vh-journey { position: relative; width: 100%; margin-top: 78px; padding: 0 max(24px, 4vw) 72px; }
.vh-journey-inner { position: relative; width: 100%; max-width: 1320px; margin: 0 auto; }

.vh-rail { position: absolute; left: 0; right: 0; top: 5px; height: 1px; overflow: hidden; }
.vh-rail span {
  display: block; width: 100%; height: 1px; transform-origin: left center;
  background: linear-gradient(90deg, rgba(255,255,255,.06) 0%, rgba(201,162,39,.28) 38%, rgba(201,162,39,.9) 100%);
  animation: vh-rail 2.7s cubic-bezier(.42,0,.32,1) .95s both;
}

.vh-grid {
  position: relative; display: grid; grid-template-columns: repeat(6, 1fr);
  column-gap: 26px; row-gap: 0; margin: 0; padding: 0; list-style: none;
}
.vh-step { position: relative; padding: 31px 8px 0 0; }
.vh-step:last-child { padding-right: 0; }

.vh-dot, .vh-ring {
  position: absolute; left: 0; top: 1px;
  width: 9px; height: 9px; border-radius: 50%;
}
.vh-dot {
  background: var(--vh-gold); box-shadow: 0 0 0 4px rgba(201,162,39,.1);
  animation: vh-pop .7s cubic-bezier(.22,1,.36,1) calc(1.1s + var(--i) * .4s) both;
}
.vh-ring {
  border: 1px solid var(--vh-gold);
  animation: vh-ring 1.5s ease-out calc(1.2s + var(--i) * .4s) both;
}
.vh-step-final .vh-dot, .vh-step-final .vh-ring { left: -1px; top: -1px; width: 13px; height: 13px; }
.vh-step-final .vh-dot { box-shadow: 0 0 0 5px rgba(201,162,39,.13), 0 0 26px rgba(201,162,39,.45); }

.vh-label {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; line-height: 1.45;
  letter-spacing: .1em; text-transform: uppercase; color: #EDEDED;
  min-height: 32px; margin-bottom: 9px;
  animation: vh-rise .6s cubic-bezier(.22,1,.36,1) calc(1.2s + var(--i) * .4s) both;
}
.vh-copy {
  font-size: 14px; line-height: 1.55; color: var(--vh-muted); text-wrap: pretty;
  animation: vh-rise .6s cubic-bezier(.22,1,.36,1) calc(1.28s + var(--i) * .4s) both;
}
.vh-step-final .vh-label { color: var(--vh-gold); }
.vh-step-final .vh-copy { color: #C6CBD4; }

/* ---- stats ---- */
.vh-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px; padding: 34px 0 78px; border-top: 1px solid var(--vh-border);
  animation: vh-rise .9s cubic-bezier(.22,1,.36,1) 3.7s both;
}
.vh-stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.vh-stat-label { font-size: 13.5px; color: #9CA3AF; margin-top: 6px; }

/* ---- responsive ---- */
@media (max-width: 1080px) {
  .vh-grid { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .vh-rail { display: none; }
}

/* Mobile: the journey becomes a vertical timeline that draws downward. */
@media (max-width: 700px) {
  .vh-hero { padding-top: 108px; }
  .vh-journey { margin-top: 56px; padding-bottom: 56px; }
  .vh-grid { grid-template-columns: 1fr; row-gap: 0; column-gap: 0; }

  .vh-step { padding: 0 0 26px 30px; }
  .vh-step:last-child { padding-bottom: 0; }

  .vh-dot, .vh-ring { top: 4px; }
  .vh-step-final .vh-dot, .vh-step-final .vh-ring { top: 2px; }

  /* connector between consecutive dots */
  .vh-step::before {
    content: ""; position: absolute; left: 5px; top: 19px; bottom: 0; width: 1px;
    background: rgba(201,162,39,.34);
    transform-origin: top center;
    animation: vh-vrail .42s ease-out calc(1.25s + var(--i) * .4s) both;
  }
  .vh-step:last-child::before { display: none; }

  .vh-label { min-height: 0; }
  .vh-copy { font-size: 14.5px; }
}

@media (max-width: 400px) {
  .vh-title { font-size: 30px; }
  .vh-sub { font-size: 16px; }
  .vh-btn { flex: 1 1 100%; justify-content: center; }
}

/* ---- keyframes ---- */
@keyframes vh-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes vh-rail { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes vh-vrail { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes vh-pop  { 0% { opacity: 0; transform: scale(.2); } 60% { opacity: 1; transform: scale(1.3); } 100% { opacity: 1; transform: scale(1); } }
@keyframes vh-ring { 0% { opacity: .5; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.8); } }
@keyframes vh-glow { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .vh-hero *, .vh-hero *::before, .vh-hero *::after { animation: none !important; opacity: 1 !important; }
  .vh-hero .vh-rail span, .vh-hero .vh-step::before { transform: none !important; }
}
