/* ---------- Hero ---------- */
.hero {
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: clamp(40px, 10vw, 96px) 24px var(--section-gap);
  border-bottom: 1px solid var(--line);
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 7vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 28px;
}

.hero__position {
  color: var(--text-secondary);
  font-size: clamp(16px, 2vw, 18px);
  max-width: 520px;
  margin: 0 0 28px;
}

.hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 13px;
}

.hero__links a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.hero__links a:hover {
  color: var(--text-primary);
  border-bottom-color: var(--accent);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero .eyebrow::after {
  display: none;
}

.hero__mark {
  position: relative;
}

.hero__mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.22em;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: left center;
  animation: ignite 1s ease-out;
}

/* On narrow screens the heading wraps, so the bar would
   strike through the second line. Hide it there and
   underline the whole heading instead. */
@media (max-width: 620px) {
  .hero__mark::after {
    display: none;
  }

  .hero .eyebrow::after {
    display: block;
    max-width: 180px;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #1a0400;
}

.btn--primary:hover {
  background: var(--accent-2);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-muted);
}

.btn--ghost:hover {
  border-color: var(--text-primary);
}
