/* Wornsteps 1.2: the selected identity is shared by header, masthead and footer. */
.brand-lockup { min-width: 0; }
.brand-lockup--image { width: 196px; max-width: 100%; flex: 0 1 196px; }
.brand-image-link { display: flex; align-items: center; width: 100%; min-height: 44px; max-width: 100%; transform: none; }
.wornsteps-brand-logo { display: block; max-width: 100%; height: auto; object-fit: contain; }
.wornsteps-brand-logo--header { width: 196px; height: auto; max-width: 100%; max-height: 76px; object-position: left center; }
.footer-logo-link { display: block; width: 360px; max-width: 100%; flex: 0 1 360px; text-decoration: none; }
.wornsteps-brand-logo--footer { width: 100%; height: auto; max-height: 145px; object-position: left center; }
/* Separate the photographic fragment from the logo's silhouette. */
.masthead-with-logo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 29%);
  grid-template-areas: 'index photograph' 'logo logo';
  gap: 4px 25px;
  align-items: end;
  margin-top: 22px;
}
.masthead-with-logo .hero-wordmark-logo {
  grid-area: logo;
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: 1;
  transform: none;
  filter: none;
  -webkit-mask-image: none;
  mask-image: none;
}
.wornsteps-brand-logo--masthead {
  width: 100%;
  height: auto;
  max-height: 365px;
  object-position: left center;
  filter: none;
  transform: none;
}
.masthead-with-logo .masthead-fragment {
  grid-area: photograph;
  position: relative;
  top: auto;
  right: auto;
  width: 100%;
  height: 112px;
  margin: 0 0 0 auto;
  transform: rotate(2deg);
}
.masthead-with-logo .hero-index {
  grid-area: index;
  position: static;
  align-self: end;
  justify-self: start;
  padding: 0 0 15px;
}
@media (max-width:900px), (hover:none) {
  .brand-lockup--image { width: 185px; max-width: 100%; }
  .wornsteps-brand-logo--header { max-height: 64px; }
}
@media (max-width:760px) {
  .masthead-with-logo {
    grid-template-columns: minmax(0, 1fr) minmax(100px, 30%);
    gap: 8px 18px;
    margin-top: 20px;
  }
  .masthead-with-logo .masthead-fragment { height: 80px; }
  .masthead-with-logo .hero-index { font-size: 11px; padding-bottom: 7px; }
  .wornsteps-brand-logo--masthead { max-height: 260px; }
  .footer-logo-link { width: 290px; }
}
@media (max-width:480px) {
  .brand-lockup--image { width: 100%; min-width: 0; }
  .brand-image-link { min-height: 44px; }
  .wornsteps-brand-logo--header { max-height: 54px; }
  .masthead-with-logo { grid-template-columns: minmax(0, 1fr) 32%; gap: 10px 12px; margin-top: 18px; }
  .masthead-with-logo .masthead-fragment { height: 66px; }
  .masthead-with-logo .hero-index { display: block; font-size: 10px; max-width: 18ch; padding-bottom: 5px; }
  .wornsteps-brand-logo--masthead { max-height: 180px; }
  .footer-logo-link { width: 280px; }
  .footer-links { margin-top: 12px; }
}
@media print {
  .masthead-with-logo { display: block; }
  .masthead-with-logo .masthead-fragment, .masthead-with-logo .hero-index { display: none; }
  .wornsteps-brand-logo--masthead { max-height: 180px; }
}
@media (forced-colors:active) {
  .wornsteps-brand-logo--image { forced-color-adjust: none; background-color: #fff; }
}
