/* ─────────────────────────────────────────────────────────────────────────
   Shared hero component styles — one source of truth.

   These rules were previously duplicated, byte-for-byte, inside the <style>
   block of ~26 legacy source pages (and copied into each page's `page_styles`
   on import). They are decorative / structural pieces that every hero shares,
   so they live here once. `build_pages.py` strips them from each page's
   `page_styles` (see _strip_shared_hero_css) so there is no duplication.

   Per-page hero specifics that are INTENTIONALLY different — section padding,
   `.hero-inner` layout, `.hero h1` size, `.hero-sub` width — stay in each
   page's own `page_styles`, so every page keeps its own look, image and text.

   Selectors are prefixed with `.legacy-content` to match how `page_styles`
   is scoped in base.html (scope_legacy_css filter).
   ───────────────────────────────────────────────────────────────────────── */

/* Subtle grid texture behind the hero */
.legacy-content .hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* Soft gold glow behind the hero */
.legacy-content .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 75% 50%, rgba(255, 184, 28, .07) 0%, transparent 55%);
}

/* Eyebrow pill */
.legacy-content .eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 184, 28, .12);
  border: 1px solid rgba(255, 184, 28, .25);
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

/* Hero CTA / action rows */
.legacy-content .hero-btns,
.legacy-content .hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero meta line (blog posts) */
.legacy-content .hero-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, .4);
  font-weight: 300;
}
.legacy-content .hero-meta span {
  margin-right: 20px;
}

/* Profile hero (team member) — photo + links + stat */
.legacy-content .hero-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 184, 28, .3);
  flex-shrink: 0;
}
.legacy-content .hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.legacy-content .hero-links {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.legacy-content .hero-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .15);
  padding: 7px 14px;
  border-radius: 8px;
  transition: border-color .2s, color .2s;
}
.legacy-content .hero-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.legacy-content .hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, .5);
  font-weight: 300;
}
.legacy-content .hero-stat strong {
  color: var(--gold);
  font-weight: 500;
}

@media (max-width: 768px) {
  .legacy-content .hero-photo {
    width: 100px;
    height: 100px;
  }
}
