/* The homepage mast shares the first frame with the film. */
.page-home .reference-mast {
  position: absolute; inset: 0 0 auto; border: 0; background: transparent; color: white;
}
.page-home .head-main > .head-brand img {filter: brightness(0) invert(1);}
.page-home .head-utilities {color: white; box-shadow: inset 1px 0 rgb(255 255 255 / .3);}
.page-home .reference-mast .menu-toggle {background: transparent; color: white;}
.page-home .head-main > a:focus-visible, .page-home .head-mail:focus-visible,
.page-home .menu-toggle:focus-visible {outline-color: white;}
@media (min-width: 992px) {
  .page-home .reference-mast #nav .head-link > a {color: white; background: transparent;}
  .page-home .reference-mast #nav .head-link > a:is(:hover,:focus-visible,[aria-current]) {text-decoration: underline; text-underline-offset: 5px;}
}
@media (max-width: 991px) {
  .page-home .head-utilities {box-shadow: none;}
}
.hardware-collections {--film-gutter: max(clamp(20px, 5vw, 84px), calc((100% - 1516px) / 2));}
.collection-film {
  --film-x: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end; min-height: 100vh; min-height: 100svh;
  padding: 88px var(--film-gutter) max(clamp(38px, 8vh, 104px), env(safe-area-inset-bottom));
  background: #555751 url("jiansheng-hero.jpg") var(--film-x) center/cover;
}
.collection-film .category-film {object-position: var(--film-x) center;}
.collection-film::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(180deg, rgb(14 19 21 / .69), transparent 24%),
              linear-gradient(0deg, rgb(15 20 22 / .84), transparent 54%);
}
.film-caption {color: white;}
.film-caption h1 {
  max-width: 12ch; margin: 0 0 clamp(18px, 3vh, 32px); color: inherit;
  font: 400 clamp(46px, 6.6vw, 112px)/.98 "STIX Two Text", "Iowan Old Style", Georgia, serif;
  letter-spacing: -.045em;
}
.film-collections-link {
  display: inline-flex; align-items: center; gap: 20px; min-height: 44px;
  color: white; border-bottom: 1px solid rgb(255 255 255 / .8); font: 500 16px/1.4 Roboto,Arial,sans-serif;
}
.film-collections-link span {font-size: 20px;}
.film-collections-link:focus-visible, .collection-film .film-toggle:focus-visible {outline-color: white;}
.collection-film .film-toggle {
  width: 44px; height: 44px; right: var(--film-gutter);
  bottom: max(clamp(38px, 8vh, 104px), env(safe-area-inset-bottom)); border: 1px solid rgb(255 255 255 / .58);
}
.collection-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  width: min(100%,1640px); gap: clamp(10px, 1.25vw, 22px); margin: 0 auto;
  padding: clamp(22px,3.2vw,52px) clamp(18px,3.65vw,62px);
}
.model-grid .model-caption {display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; column-gap: 8px;}
.model-caption h2 {grid-column: 1/-1; color: #292d29; line-height: 1.25;}
.model-caption small {grid-column: 1; grid-row: 2;}
.model-grid .model-caption .card-detail {grid-column: 2; grid-row: 2; margin: 0; white-space: nowrap;}
@media (max-width: 520px) {
  .model-grid .model-caption {grid-template-columns: 1fr;}
  .model-grid .model-caption .card-detail {grid-column: 1; grid-row: 3;}
}
.collection-card {display: block; text-decoration: none; color: #282b27; background: #f3f2ed; min-width: 0;}
.collection-card:nth-child(2) {background: #eae9e2;}
.collection-card:nth-child(3) {background: #eeede9;}
.collection-shot {display: grid; place-items: center; height: clamp(174px, min(18vw, 27svh), 280px); overflow: hidden;}
.collection-shot img {display: block; width: 100%; height: 100%; min-height: 0; padding: 14px; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s ease-out;}
.collection-caption {display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #d4d5cb; padding: clamp(12px, 1.4vw, 23px);}
.collection-card h2 {margin: 0 0 2px; color: #272a26; font: 500 clamp(21px, 2.1vw, 31px)/1.14 "STIX Two Text", "Iowan Old Style", Georgia, serif; letter-spacing: -.025em;}
.collection-caption div > span {font-size: 14px; color: #54584e;}
.collection-arrow {display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #bbbcaf; border-radius: 50%; color: #353a33; font: 19px/1 Arial,sans-serif;}
.collection-card:focus-visible {outline: 3px solid #a51428; outline-offset: 3px;}
.collection-card:is(:hover,:focus-visible) .collection-arrow {color: white; background: #353a33; border-color: #353a33;}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .collection-card:hover .collection-shot img {transform: scale(1.045);}
}
.model-search {position: relative; width: min(100%,290px); min-width: 0; color: #333932;}
.model-search input {width: 100%; min-height: 46px; border-color: #a6aba1; border-radius: 2px;}
#model-suggestions {
  position: absolute; z-index: 8; inset: calc(100% + 4px) 0 auto;
  margin: 0; padding: 4px; max-height: min(300px, 42dvh); overflow-y: auto;
  overscroll-behavior: contain; list-style: none; background: white;
  border: 1px solid #b9bdb2; box-shadow: 0 8px 24px rgb(31 35 27 / .15);
}
#model-suggestions[hidden] {display: none;}
#model-suggestions [role="option"] {display: flex; align-items: center; gap: 12px; color: #282e27; padding: 5px 7px; min-height: 50px; text-decoration: none;}
#model-suggestions [role="option"]:is(:hover,[aria-selected="true"]) {background: #eceee6;}
#model-suggestions img {width: 42px; height: 42px; object-fit: contain; background: #f5f4f0; mix-blend-mode: multiply;}
#model-suggestions strong, #model-suggestions small {display: block; line-height: 1.25;}
#model-suggestions small {font-size: 12px; font-weight: 400; color: #53594f;}
@media (max-width:650px) {
  .collection-film {--film-x: 54%; padding-bottom: max(36px, env(safe-area-inset-bottom));}
  .collection-film .film-toggle {bottom: max(36px, env(safe-area-inset-bottom));}
  .film-caption h1 {font-size: clamp(43px, 10.2vw, 63px);}
  .collection-grid {grid-template-columns: 1fr; gap: 7px; padding: 18px 15px 26px;}
  .collection-card {display: grid; grid-template-columns: 31% 1fr;}
  .collection-shot {height: clamp(88px,23vw,116px);}
  .collection-shot img {padding: 5px;}
  .collection-caption {border: 0; padding: 9px 13px 9px 8px;}
  .collection-card h2 {font-size: clamp(21px,5.8vw,29px);}
  .collection-caption div > span {font-size: 12px;}
  .collection-arrow {width: 29px; height: 29px; font-size: 15px;}
  .model-search {width:100%;}
}
