/* Styles for hero.hbs — the about page's opening block.

   Ported from the legacy `AboutHero.vue`; the 1000 breakpoint and every value
   below it are the legacy's, read off the live site rather than off its source,
   because several of them are inherited rather than declared. */

.about-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 40px 0;
}

.about-hero-texts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-900);
}

.about-hero-eyebrow {
  font-size: 14px;
  font-weight: 700;
}

/* The legacy declared no colour or line-height here and inherited both. The
   colour is pinned because this app gives `body` one of its own; the 1.6 line
   height is this app's global and matches what the legacy resolved to, so it is
   left to inherit. */
.about-hero-title {
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}

/* #ffc80095 — the legacy's own hex, alpha and all. It is a highlighter stroke
   rather than a themed surface, so it is not a token and does not flip with the
   palette. */
.about-hero-title span {
  background-color: #ffc80095;
}

@media (min-width: 1000px) {
  .about-hero {
    flex-direction: row;
  }

  .about-hero-texts {
    align-items: flex-start;
  }

  .about-hero-eyebrow {
    font-size: 20px;
  }

  .about-hero-title {
    font-size: 36px;
    text-align: start;
  }
}
