/* Final refinements for the homepage and the two collection entry cards. */

/* Keep the familiar upper-left mark, with a little more breathing room from the edge. */
:root:root:root body:has(.hero) .home-brand-lockup {
  left: 4.2% !important;
}

/* Give both translucent collection labels a little more presence. */
.collection-index .collection-scene-mark,
.collection-index .collection-nine-mark {
  min-height: 32px !important;
  padding: 6px 12px !important;
  font-size: 13px !important;
}

.collection-index .collection-nine-mark {
  font-size: 15px !important;
}

@media (max-width: 760px) {
  /* Keep the full hero question inside the viewport at narrow phone widths. */
  :root:root:root body:has(.hero) .home-brand-lockup {
    left: 18px !important;
  }

  :root:root:root body:has(.hero) .hero .copy {
    left: 16px !important;
    right: 16px !important;
    width: auto !important;
    max-width: none !important;
  }

  :root:root:root body:has(.hero) .hero .copy #welcome-title {
    width: 100% !important;
    max-width: none !important;
    font-size: clamp(25px, 7vw, 30px) !important;
    line-height: 1.12 !important;
    letter-spacing: -.015em !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    text-wrap: balance !important;
  }

  :root:root:root body:has(.hero) .hero .copy #welcome-title > span {
    display: block !important;
    width: 100% !important;
    max-width: 25ch !important;
    margin-inline: auto !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    text-wrap: balance !important;
  }

  .collection-index .collection-scene-mark,
  .collection-index .collection-nine-mark {
    min-height: 28px !important;
    padding: 5px 10px !important;
    font-size: 11px !important;
  }

  .collection-index .collection-nine-mark {
    font-size: 12px !important;
  }
}
