html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

:root {
  --aqaq-title-cn: "方正黑体_GBK", "FZHei-B01S", "SimHei", "Noto Serif SC", serif;
}

.mobile-site-menu {
  display: none;
}

.font-display-lg,
.font-headline-md,
.font-display,
.text-display-lg-mobile,
.text-display-lg,
h1[class*="text-"],
h2[class*="text-"],
h3[class*="text-"] {
  font-family: var(--aqaq-title-cn) !important;
  letter-spacing: 0 !important;
}

.aqaq-wordmark,
.wordmark,
.aqaq-brand-text {
  font-family: "FZ YunDong ZhongHei", sans-serif !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
}

.brand-philosophy-signature,
.brand-philosophy-signature .aqaq-brand-text {
  font-family: "Hanken Grotesk", "Noto Sans SC", sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: .5em !important;
}

.store-logo {
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #050505;
}

.store-logo img,
.store-logo svg {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: 74px;
  height: 74px;
  object-fit: contain;
  border-radius: 16px;
}

/* Keep the original subjects while lifting the site out of an overly dark palette. */
main img[src*="/assets/images/stitch/"] {
  filter: brightness(1.08) contrast(.97) saturate(1.04);
}

main img[src$="/assets/images/stitch/image-1.jpg"] {
  filter: sepia(.2) saturate(1.15) hue-rotate(145deg) brightness(1.13) contrast(.96);
}

main img[src$="/assets/images/stitch/image-2.jpg"] {
  filter: sepia(.14) saturate(.82) brightness(1.12) contrast(.96);
}

main img[src$="/assets/images/stitch/image-4.jpg"] {
  filter: sepia(.16) saturate(.8) hue-rotate(72deg) brightness(1.1) contrast(.97);
}

/* People stay editorial black-and-grey; no portrait receives a blue background treatment. */
main img[src$="/assets/images/stitch/image-16.jpg"],
main img[src$="/assets/images/stitch/image-21.jpg"],
main img[src$="/assets/images/stitch/image-25.jpg"] {
  filter: grayscale(1) brightness(1.09) contrast(1.02);
}

.site-footer {
  border-top: 1px solid #e5e5e3;
  background: #fbfbfa;
  color: #101010;
  padding: 70px 0 40px;
}

.site-footer .container {
  width: min(calc(100% - 96px), 1440px);
  margin-inline: auto;
}

.site-footer .footer-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.site-footer .wordmark {
  color: #101010;
  font-family: "FZ YunDong ZhongHei", sans-serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  text-decoration: none;
}

.site-footer .footer-links {
  display: flex;
  gap: 28px;
  font-size: 10px;
  letter-spacing: .12em;
}

.site-footer .footer-links a {
  color: #101010;
  text-decoration: none;
}

.site-footer .copyright {
  color: #6d6d6d;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.site-footer .copyright a {
  color: inherit;
  text-decoration: none;
  margin-left: .65em;
}

@media (max-width: 767px) {
  .journal-pagination {
    padding-inline: 20px;
    gap: 12px;
    justify-content: space-between;
  }

  .journal-pagination-label {
    display: none;
  }

  .mobile-site-menu {
    position: fixed;
    inset: 72px 0 auto;
    z-index: 100;
    padding: 28px 24px 34px;
    border-bottom: 1px solid #e5e5e5;
    background: rgba(249, 249, 249, .98);
    backdrop-filter: blur(14px);
  }

  .mobile-site-menu.is-open {
    display: grid;
    gap: 18px;
  }

  .mobile-site-menu a {
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
  }

  .site-footer .container {
    width: calc(100% - 40px);
  }

  .site-footer .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer .footer-links {
    flex-wrap: wrap;
  }
}
