/* =====================
   Reset
   ===================== */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; border: 0; }
h1 { margin: .67em 0; font-size: 2em; }

a { background-color: transparent; }
a:active, a:hover { outline: 0; }
p a { color: #5a91d3; }
p a:hover, p a:active { color: #397FC0; }

/* =====================
   Layout
   ===================== */
.black-bg { background-color: #fff; }

.site-wrapper {
  padding: 64px;
  animation: fadeIn 0.8s ease-out forwards;
}

.logo-wrapper { display: block; }

.tagline-wrapper {
  width: 80%;
  max-width: 640px;
  margin-top: 64px;
}

.content-wrapper {
  max-width: 640px;
  margin: 64px 0;
}

.content-wrapper--spaced { margin-top: 100px; }
.content-wrapper--flush { margin-top: 0; }

.email-wrapper {
  margin: 32px 0;
  text-decoration: none;
  transition: opacity .2s cubic-bezier(.165, .84, .44, 1);
}
.email-wrapper:hover { opacity: .7; }

@keyframes fadeIn {
  from { opacity: 0; filter: blur(5px); }
  to { opacity: 1; filter: blur(0); }
}

/* =====================
   Typography
   ===================== */
.logo {
  color: #000;
  letter-spacing: .5px;
  text-transform: uppercase;
  font-family: Rubik, sans-serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1em;
  text-decoration: none;
  display: inline;
}

.home-link {
  text-decoration: none;
  display: inline-block;
  transition: opacity .2s;
}
.home-link:hover { opacity: .7; }

.tagline {
  color: #000;
  letter-spacing: -.2px;
  margin: 0;
  font-family: Rubik, sans-serif;
  font-size: 44px;
  font-weight: 300;
  line-height: 1.1em;
  display: inline-block;
}

.section-heading {
  color: #000;
  margin: 48px 0 24px;
  font-family: Rubik, sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 100%;
  text-decoration: none;
}

.section-heading.gray-text {
  margin-bottom: 24px;
  font-weight: 300;
}

.gray-text { color: #000; }

.body-text {
  font-family: Rubik, sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5em;
  margin-bottom: 24px;
}

.body-text--tight { margin-bottom: -38px; }
.body-text--tight-q1 { margin-bottom: 20px; }
.body-text--spaced { margin-top: 30px; }

.subhead {
  font-family: Rubik, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2em;
  margin: 0;
}

.subhead--spaced { margin-top: 13px; }

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #000;
  opacity: 0.55;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.social-link:hover { opacity: 1; }
.social-link svg { width: 22px; height: 22px; fill: currentColor; display: block; }

.caption {
  font-family: Rubik, sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.2em;
  margin-top: 10px;
}

.caption__name { font-weight: 400; }

/* =====================
   Companies Grid
   ===================== */
.companies-grid {
  display: grid;
  grid-template:
    ". Area-2"
    ". ."
    ". Area"
    / 1fr 1fr;
  grid-auto-columns: 1fr;
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  margin: 32px 0;
}

.company-block {
  background-color: #000;
  width: 100%;
  height: 192px;
  display: inline-block;
  transition: border-color .2s cubic-bezier(.165, .84, .44, 1);
}

.barrel-logo-wrapper,
.alt-logo-wrapper {
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: opacity .2s;
  display: flex;
}
.barrel-logo-wrapper:hover,
.alt-logo-wrapper:hover { opacity: .5; }

.barrel-logo {
  width: 44%;
  max-width: 144px;
  margin: 0 auto;
}

.alt-logo-image { width: 45%; }
.alt-logo-image.vo { width: 35%; }

#prima-mode-card { grid-area: Area; }
#ao2-card,
#vaulted-oak-card { grid-area: span 1 / span 1 / span 1 / span 1; }

/* =====================
   Headshot
   ===================== */
.headshot {
  margin-top: -8px;
  margin-bottom: 16px;
  width: 220px;
}

/* =====================
   Buttons
   ===================== */
.button {
  background-color: #4593d8;
  margin-bottom: 40px;
  padding: 12px 20px;
  font-family: Rubik, sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  border: 1.5px solid #4593d8;
  border-radius: 0;
  line-height: inherit;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover {
  background-color: #3a7fc0;
  border-color: #3a7fc0;
}

.button-secondary {
  background-color: rgba(69, 147, 216, 0.06);
  margin-bottom: 40px;
  padding: 12px 20px;
  font-family: Rubik, sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #4593d8;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  border: 1.5px solid rgba(69, 147, 216, 0.4);
  border-radius: 0;
  line-height: inherit;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.button-secondary:hover {
  background-color: #4593d8;
  border-color: #4593d8;
  color: #fff;
}

.button-icon {
  width: 11px;
  height: 11px;
  margin-right: 6px;
  vertical-align: -1px;
  display: inline-block;
}

.button-row {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: -24px;
}

.button-wrapper {
  margin-top: 0;
  margin-bottom: -24px;
}

/* =====================
   Bullet Lists
   ===================== */
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.bullet-list li {
  font-family: Rubik, sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.55;
  color: #000;
  padding: 4px 0 4px 16px;
  position: relative;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #000;
  opacity: 0.6;
}

/* =====================
   Resource Box
   ===================== */
.resource-box {
  border: 1px solid #000;
  padding: 35px 38px 29px;
}

.resource-box__header { margin-bottom: 5px; }

.resource-box__logo {
  height: 22px;
  width: auto;
  display: block;
}

.resource-box__label {
  font-family: Rubik, sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.45);
  margin: 0 0 19px;
  line-height: 1.4;
}

.resource-box__text {
  font-family: Rubik, sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: #000;
  margin: 0 0 22px;
}

.resource-box__btn { margin-bottom: 0; }

/* =====================
   Criteria Cards
   ===================== */
.criteria-card {
  display: flex;
  gap: 22px;
  margin-top: 26px;
  padding: 26px 29px;
  border-left: 3px solid #4593d8;
  background-color: rgba(69, 147, 216, 0.14);
}

.criteria-card__number {
  font-family: Rubik, sans-serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  color: #4593d8;
  flex-shrink: 0;
  width: 29px;
  padding-top: 2px;
}

.criteria-card__content {
  flex: 1;
  min-width: 0;
}

.criteria-card__title {
  font-family: Rubik, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  color: #000;
  margin: 0 0 3px;
}

.criteria-card__subtitle {
  font-family: Rubik, sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.45);
  margin: 0 0 16px;
  line-height: 1.4;
}

.criteria-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.criteria-card__list li {
  font-family: Rubik, sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  color: #000;
  padding: 6px 0 6px 13px;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.criteria-card__list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.criteria-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #000;
  opacity: 0.6;
}

/* =====================
   Responsive: Tablet
   ===================== */
@media screen and (max-width: 991px) {
  .site-wrapper { padding: 48px; }
  .tagline-wrapper { margin-top: 48px; }
  .tagline { font-size: 32px; }
  .section-heading { margin-top: 0; margin-bottom: 16px; }
  .section-heading.gray-text { font-size: 24px; }
  .content-wrapper { margin-top: 48px; }
  .companies-grid { grid-column-gap: 20px; margin-top: 24px; }
  .company-block { height: 160px; }
  .barrel-logo { width: 50%; }
  .logo { font-size: 18px; }
  .caption { margin-top: 10px; }
}

/* =====================
   Responsive: Mobile Landscape
   ===================== */
@media screen and (max-width: 767px) {
  .site-wrapper { padding: 44px; }
  .tagline-wrapper { width: 100%; margin-top: 32px; }
  .tagline { font-size: 42px; }
  .section-heading,
  .section-heading.gray-text { font-size: 30px; }
  .content-wrapper { margin-top: 32px; margin-bottom: 48px; }
  .companies-grid {
    grid-column-gap: 12px;
    grid-row-gap: 16px;
    margin-top: 16px;
  }
  .company-block { height: auto; aspect-ratio: 308 / 192; }
  .button-row { row-gap: 10px; margin-bottom: 16px; }
  .button-row .button,
  .button-row .button-secondary { margin-bottom: 0; }
  .barrel-logo { width: 50%; }
  .logo { font-size: 24px; }
  .body-text { font-size: 21px; }
  .body-text--tight-q1 { margin-bottom: 24px; }
  .subhead { font-size: 21px; }
  .caption { margin-top: 8px; font-size: 21px; }
  .bullet-list li { font-size: 21px; }
  .headshot { width: 100%; max-width: 220px; }

  .button { padding: 14px 22px; font-size: 17px; }
  .button-secondary { padding: 14px 22px; font-size: 17px; }

  .resource-box { padding: 26px 22px 19px; }
  .resource-box__logo { height: 29px; }
  .resource-box__text { font-size: 20px; }

  .criteria-card { padding: 19px 16px; gap: 14px; }
  .criteria-card__number { font-size: 39px; width: 32px; }
  .criteria-card__title { font-size: 23px; }
  .criteria-card__list li { font-size: 18px; }
}

/* =====================
   Responsive: Mobile Portrait
   ===================== */
@media screen and (max-width: 479px) {
  .site-wrapper { padding: 28px; }
  .tagline-wrapper { margin-top: 24px; }
  .tagline { font-size: 30px; }
  .section-heading { font-size: 24px; }
  .section-heading.gray-text { font-size: 18px; }
  .content-wrapper { margin-top: 32px; margin-bottom: 32px; }
  .companies-grid { width: 100%; margin-top: 16px; }
  .barrel-logo { width: 60%; }
  .logo { font-size: 20px; line-height: 20px; }
  .body-text { font-size: 17px; }
  .body-text--tight-q1 { margin-bottom: 24px; }
  .subhead { font-size: 17px; }
  .caption { margin-top: 8px; font-size: 15px; }
  .bullet-list li { font-size: 17px; }
  .alt-logo-image { width: 65%; }
  .alt-logo-image.vo { width: 46%; }
  .button { padding: 12px 20px; font-size: 16px; }
  .button-secondary { padding: 12px 20px; font-size: 16px; }

  .resource-box { padding: 19px 16px 16px; }
  .resource-box__logo { height: 24px; }
  .resource-box__text { font-size: 17px; }

  .criteria-card { flex-direction: column; gap: 6px; padding: 16px 13px; }
  .criteria-card__number { font-size: 33px; }
  .criteria-card__title { font-size: 21px; }
  .criteria-card__subtitle { font-size: 15px; }
  .criteria-card__list li { font-size: 17px; }
}
