/* Shared by every page that opens on electric blue: articles, inner pages,
   and role pages. The opening echoes the homepage hero. */

body.blue-opening {
  --blue: #234bff;
  --ink: #071124;
  --paper: #f0f0ed;
  --stone: #e2e4e1;
  --muted: #586273;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, sans-serif;
  overflow-x: clip;
  scrollbar-color: #234bff #edf0f7;
}
.blue-opening ::selection {
  background: #071124;
  color: #fff;
}
.motion-pending .page-title,
.motion-pending .page-foot > * {
  visibility: hidden;
}

/* Opening */
.page-opening {
  background: var(--blue);
  color: white;
  padding: 150px 5% 70px;
}
.page-kicker {
  margin: 0 0 clamp(24px, 2.4vw, 36px);
  font-size: 15px;
  font-weight: 600;
}
.page-title {
  font-size: clamp(52px, 7.6vw, 132px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1.04;
  margin: 0;
  max-width: 16ch;
}
.hero-line-mask {
  display: block;
  overflow: clip;
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}
.hero-line {
  display: block;
}
.page-foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-top: 60px;
}
.page-foot > p {
  margin: 0;
  max-width: 40ch;
  font-size: clamp(18px, 1.55vw, 23px);
  font-weight: 500;
  line-height: 1.5;
  text-wrap: pretty;
}
.page-foot > a {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 600;
}
.page-foot > a > span {
  font-size: 25px;
}

@media (hover: hover) {
  .page-foot > a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
  }
}

@media (max-width: 700px) {
  .page-opening {
    padding: 125px 6% 45px;
  }
  .page-kicker {
    margin-bottom: 18px;
    font-size: 14px;
  }
  .page-title {
    font-size: clamp(39px, 10.4vw, 68px);
    line-height: 1.08;
  }
  .page-foot {
    flex-direction: column;
    align-items: start;
    gap: 28px;
    margin-top: 40px;
  }
  .page-foot > a {
    font-size: 14px;
    gap: 15px;
  }
}
