/* Decorative masthead mark; geometry is measured from the existing page elements. */
.hero-mark {
  position: absolute;
  z-index: 1;
  display: block;
  visibility: hidden;
  width: 240px;
  height: 240px;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
}

.brand-tagline {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  white-space: nowrap;
  visibility: hidden;
  font-family: 'Jost', sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: .22em;
  line-height: normal;
  text-transform: uppercase;
  pointer-events: none;
}

.brand-tagline i {
  display: block;
  width: 40px;
  height: 1px;
  flex: 0 0 40px;
  background: currentColor;
}

.hero-tagline {
  font-family: Jost, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 500;
}

.hero-tagline:not(.is-fallback) i {
  width: auto;
  flex: 1 1 auto;
}

.hero-tagline.is-fallback i {
  width: 40px;
  flex: 0 0 40px;
}

.hero,
.mast {
  position: relative;
  min-height: var(--hero-mark-min-height, 0px);
}

@media (max-width: 1024px) {
  .hero-mark {
    display: none;
  }
}

.hero .wrap {
  position: relative;
  z-index: 2;
}

/* The homepage carries the same three cream fields as the interior mastheads. */
.hero .planes {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero .planes b {
  position: absolute;
  display: block;
  width: 160%;
  height: 200%;
  left: 54%;
  top: -56%;
  transform: rotate(19deg);
  transform-origin: top left;
  background: #EEE9DF;
}

.hero .planes b:nth-child(2) {
  left: 76%;
  transform: rotate(14deg);
  background: #E7DFD0;
}

@media (min-width: 768px) {
  .hero {
    background: #F7F3EC !important;
  }
}

@media (max-width: 767px) {
  .hero-mark {
    display: none;
  }

  .hero .planes {
    display: none;
  }
}
