/* Home hero — PDF Block 0–5 content blocks (phases strip, vectors column) */

.hs-title {
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hs-core {
  font-family: var(--font-mono);
  font-size: var(--text-ui-sm);
  font-weight: var(--font-mono-weight);
  line-height: 1.65;
  letter-spacing: 0.03em;
  color: var(--tx2);
  margin-bottom: 26px;
  max-width: 320px;
  padding-left: 10px;
  border-left: 0.5px solid color-mix(in srgb, var(--teal) 35%, transparent);
}

.vectors-tag {
  font-family: var(--font-mono);
  font-size: var(--text-ui-xs);
  letter-spacing: 0.2em;
  color: var(--teal);
  margin-bottom: 8px;
  font-weight: var(--font-mono-weight);
}

.vectors-intro {
  font-size: var(--text-ui-sm);
  line-height: 1.55;
  color: var(--tx2);
  margin-bottom: 14px;
  max-width: 280px;
}

.hero-phases {
  grid-column: 1 / -1;
  padding: 28px 0 8px;
  border-top: 0.5px solid var(--b1);
  margin-top: 8px;
  overflow: visible;
}

.hp-head {
  margin-bottom: 18px;
  max-width: 720px;
}

.hp-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-ui-xs);
  letter-spacing: 0.2em;
  color: var(--teal);
  margin-bottom: 8px;
  font-weight: var(--font-mono-weight);
}

.hp-title {
  font-family: Georgia, serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--tx);
  margin-bottom: 10px;
}

.hp-intro {
  font-size: var(--text-sm);
  line-height: 1.68;
  color: var(--tx2);
  max-width: 640px;
  height: 8.4em;
  margin: 0;
  overflow: hidden;
}

.hp-track-stage {
  position: relative;
  overflow: visible;
  padding: 10px 0 14px;
}

.hp-pseudo-cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 28px;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  transition:
    left 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease;
  will-change: left, top;
}

.hp-pseudo-cursor.is-visible {
  opacity: 1;
}

.hp-track-stage.is-user-active .hp-pseudo-cursor {
  opacity: 0;
}

.hp-pseudo-cursor img {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.hp-track {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.hp-step {
  flex: 1 1 0;
  min-width: 0;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 12px;
  background-color: #0a3033;
  background-image: url("/static/svg/card_hero.svg");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: cover;
  border: 0.5px solid color-mix(in srgb, var(--teal) 18%, transparent);
  border-radius: clamp(12px, 1.6vw, 18px);
  overflow: visible;
  cursor: default;
  outline: none;
  position: relative;
  transform: scale(1);
  transform-origin: center center;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    filter 0.22s ease;
}

.hp-step:hover,
.hp-step.is-active,
.hp-step:focus-visible {
  transform: scale(1.03);
  border-color: color-mix(in srgb, var(--teal) 42%, transparent);
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.16));
  z-index: 1;
}

.hp-step-num {
  font-family: var(--font-mono);
  font-size: var(--text-ui-xs);
  letter-spacing: 0.12em;
  color: #3edfc9;
  line-height: 1;
  font-weight: var(--font-mono-weight);
}

.hp-step-label {
  font-size: var(--text-ui-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #f4faf9;
  line-height: 1.3;
}

.hp-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  font-family: var(--font-mono);
  font-size: var(--text-ui-sm);
  color: var(--tx3);
  opacity: 0.55;
  user-select: none;
}

.hp-cta {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: var(--text-ui-xs);
  letter-spacing: 0.1em;
  color: var(--teal);
  text-decoration: none;
  transition: opacity 0.18s;
}

.hp-cta:hover {
  opacity: 0.78;
}

.hero-v2 .vectors-tag,
.hero-v2 .vectors-intro {
  max-width: none;
}

.hero-v2 .hero-phases {
  margin-top: 4px;
  padding-top: 24px;
}

@media (max-width: 960px) {
  .hp-intro {
    height: auto;
    min-height: 0;
  }

  .hp-track-stage {
    padding: 8px 0 12px;
    overflow: hidden;
  }

  .hp-track {
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
  }

  .hp-arrow {
    display: none;
  }

  .hp-step {
    min-width: 0;
    width: 100%;
    padding: 14px 12px;
  }

  .hp-step:hover,
  .hp-step.is-active,
  .hp-step:focus-visible {
    transform: none;
  }

  .vectors-intro {
    max-width: none;
  }

  .hs-core {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp-step {
    transition: border-color 0.22s ease, filter 0.22s ease;
  }

  .hp-step:hover,
  .hp-step.is-active,
  .hp-step:focus-visible {
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-phases {
    animation: fadein 0.65s ease 0.2s both;
    opacity: 0;
  }
}
