/* Hero: headline over a background canvas, with arrows to switch backgrounds. */
.hero {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
  background: var(--bg-hero);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__inner {
  position: relative; max-width: var(--max); margin: 0 auto; padding: 112px 32px 112px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 48px; min-height: 620px;
}
.hero__copy { flex: 1 1 480px; max-width: 620px; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: 64px; line-height: 1.02; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
.hero__lede { margin: 0; font-size: 18px; color: var(--text-2); max-width: 520px; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.hero__switch {
  position: absolute; right: 32px; bottom: 28px;
  display: flex; align-items: center; gap: 8px;
}
.hero__switch[hidden] { display: none; }
.hero__arrow {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 50%;
  background: rgba(0, 0, 0, 0.35); color: var(--text-2); cursor: pointer;
  transition: color .15s, border-color .15s;
}
.hero__arrow:hover, .hero__arrow:focus-visible { color: var(--accent); border-color: var(--accent); }
.hero__background-name {
  min-width: 120px; text-align: center;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
}

@media (max-width: 640px) {
  .hero__inner { padding: 56px 20px; }
  .hero h1 { font-size: 44px; }
  .hero__switch { right: 20px; bottom: 16px; }
}
