.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(243,196,24,0.10), transparent 60%), var(--ink-950);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,25,48,0.5), var(--ink-950) 92%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  padding-block: var(--space-lg);
}

.hero__eyebrow { display: block; }

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 1.6rem;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line span { display: inline-block; will-change: transform; }

.hero__subhead {
  max-width: 46ch;
  font-size: 1.08rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 2.2rem;
}

.hero__ctas { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }

.hero__form {
  position: relative;
  background: var(--paper-50);
  color: var(--text-on-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  box-shadow: 0 24px 48px -24px rgba(9,25,48,0.35);
}
.hero__form h2, .hero__form h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text-on-light); }
.hero__form p.text-muted { margin-bottom: 1.4rem; font-size: 0.9rem; color: var(--text-on-light-muted); }
.hero__form .form-field label { color: var(--text-on-light-muted); }
.hero__form .form-field input,
.hero__form .form-field textarea,
.hero__form .form-field select {
  background: rgba(9,25,48,0.03);
  border-color: var(--color-border-light);
  color: var(--text-on-light);
}
.hero__form .form-consent { color: var(--text-on-light-muted); }

/* Modifier for reused .hero__grid instances that want an even split instead
   of the hero's 1.3fr/1fr text-vs-form ratio (e.g. image+text sections). */
.hero__grid--equal { grid-template-columns: 1fr 1fr; }

@media (max-width: 1024px) {
  .hero__grid, .hero__grid--equal { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero { padding-top: 7rem; }
  .hero__form { padding: 1.5rem; }
}
