@font-face {
  font-family: 'Peniel Jua';
  src: url('/assets/popup-fonts/Jua-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* The three brand names in the main hero share a rounded, vivid wordmark. */
#home .brand-colors {
  font-family: 'Peniel Jua', sans-serif;
  font-weight: 400;
  font-synthesis: none;
  white-space: nowrap;
}

#home .brand-colors span {
  display: inline;
  font: inherit;
  letter-spacing: inherit;
  margin: 0;
  padding: 0;
}

#home .director-figure small .brand-colors {
  font-size: inherit;
  font-weight: 400;
}

#home .brand-colors span:nth-child(1) { color: #ed168c; }
#home .brand-colors span:nth-child(2) { color: #9435e8; }
#home .brand-colors span:nth-child(3) { color: #f04420; }
#home .brand-colors span:nth-child(4) { color: #d78a00; }
#home .brand-colors span:nth-child(5) { color: #009b53; }
#home .brand-colors span:nth-child(6) { color: #007cdd; }
#home .brand-colors span:nth-child(7) { color: #8734db; }

/* Increase only the brand line in the heading, and all text in both labels. */
#home h1 .hero-brand {
  font-size: clamp(46px, 4.5vw, 66px);
  line-height: 1.35;
  letter-spacing: -1px;
}
#home .hero-note {
  max-width: 100%;
  box-sizing: border-box;
  font-size: 20px;
  line-height: 1.65;
  padding: 10px 16px;
}
#home .director-figure figcaption {
  max-width: calc(100% - 32px);
  box-sizing: border-box;
  padding: 18px 24px;
}
#home .director-figure figcaption small {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 8px;
}
#home .director-figure figcaption > span { font-size: 18px; }
#home .director-figure figcaption strong { font-size: 28px; }
@media (max-width: 1000px) and (min-width: 701px) {
  #home .hero-note { font-size: 18px; }
  #home .director-figure figcaption { padding: 16px 18px; }
  #home .director-figure figcaption small { font-size: 13px; }
}
@media (max-width: 700px) {
  #home h1 .hero-brand { font-size: clamp(38px, 10vw, 48px); }
  #home .hero-note { font-size: 18px; padding: 10px 12px; }
  #home .director-figure figcaption { padding: 14px 16px; }
  #home .director-figure figcaption small { font-size: 12px; }
  #home .director-figure figcaption > span { font-size: 16px; }
  #home .director-figure figcaption strong { font-size: 24px; }
}
