/* Corrections from the ten annotated phone screenshots. Desktop is unchanged. */
@media (max-width: 600px) {
  /* Keep the main pack prominent and show both neighboring packs in full. */
  body[data-page="home"] #bestsellers-count { display: none; }
  body[data-page="home"] .bestsellers-controls { gap: 15px; }
  body[data-page="home"] .bestsellers-track {
    width: calc(100% + 36px);
    margin-inline: -18px;
    height: min(322px, calc(80vw + 12px));
  }
  body[data-page="home"] .bestseller-card {
    top: 0;
    width: 56vw;
    height: min(310px, 80vw);
  }
  body[data-page="home"] .bestseller-card[data-position="0"] {
    transform: translateX(-50%);
  }
  body[data-page="home"] .bestseller-card[data-position="-1"] {
    z-index: 4;
    opacity: 1;
    transform: translateX(calc(-50% - 37vw)) scale(.34);
    clip-path: none;
    pointer-events: auto;
  }
  body[data-page="home"] .bestseller-card[data-position="1"] {
    z-index: 4;
    opacity: 1;
    transform: translateX(calc(-50% + 37vw)) scale(.34);
    clip-path: none;
    pointer-events: auto;
  }
  body[data-page="home"] .bestsellers-feature { margin-top: -5px; }

  body[data-page="home"] .hero .hero-copy { padding-top: 8px; }
  body[data-page="home"] .hero .hero-lead {
    max-width: 22ch;
    margin-top: 7px;
    line-height: 1.3;
    text-shadow: 0 1px 5px rgba(255,250,244,.45);
  }

  /* The about hero is one continuous photograph, with light only behind the copy. */
  body[data-page="about"] .page-hero-about {
    position: relative;
    display: block;
    min-height: 760px;
  }
  body[data-page="about"] .page-hero-about .page-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 34%;
  }
  body[data-page="about"] .page-hero-about::before {
    display: block;
    z-index: 1;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 72%);
    mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 72%);
    background: linear-gradient(180deg,
      rgba(255,250,241,.72) 0%,
      rgba(255,250,241,.67) 40%,
      rgba(255,250,241,.18) 70%);
  }
  body[data-page="about"] .page-hero-about .page-hero-copy {
    width: 100%;
    min-height: 0;
    padding-bottom: 0;
  }
  body[data-page="about"] .page-hero-about .page-hero-copy > p {
    max-width: 29ch;
    margin-bottom: 10px;
    text-shadow: 0 1px 7px rgba(255,250,241,.62);
  }
  body[data-page="about"] .page-hero-about .page-hero-copy > .button {
    margin: 0 !important;
    align-self: flex-start;
  }
  body[data-page="about"] .about-story-caption {
    min-height: 0;
    justify-content: flex-start;
    padding: 21px 22px 24px;
  }
  body[data-page="about"] .about-story-panel {
    grid-template-rows: max-content 1fr;
  }
  body[data-page="about"] .about-story-caption h3 { margin-bottom: 11px; }
  body[data-page="about"] .about-story-points { margin-top: 13px; }
  body[data-page="about"] .about-contacts-heading p,
  body[data-page="about"] .about-location-copy > .page-lead { display: none; }
  body[data-page="about"] .about-capacity-item:nth-child(3) .about-capacity-value span { margin-left: .08em; }
  body[data-page="about"] .about-capacity-item:nth-child(3) .about-capacity-value sup { display: none; }
  body[data-page="about"] .about-capacity-value sup {
    top: -.43em;
    margin-left: .07em;
    font-size: .48em;
  }

  /* A quiet text link that clears the rounded lower edge. */
  body[data-page="partner"] .partner-hero-actions { padding-bottom: 14px; }
  body[data-page="partner"] .partner-hero-actions .partner-text-link {
    border: 0;
    text-decoration: none;
    box-shadow: none;
  }
  body[data-page="partner"] .partner-hero-actions .partner-text-link:hover,
  body[data-page="partner"] .partner-hero-actions .partner-text-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}
