:root {
  --paper: #f7f6ef;
  --ink: #17241f;
  --blue: #1434ae;
  --line: #d8d9cf;
  --orange: #ffb774;
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
}
.wrap {
  width: min(1320px, calc(100% - 8vw));
  margin: auto;
}
header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.top,
.actions,
.brand,
.tools,
nav,
.sectionhead,
.browse,
.gallery {
  display: flex;
  align-items: center;
}
.top {
  min-height: 76px;
  justify-content: space-between;
}
.brand {
  font-weight: 800;
  letter-spacing: -1.7px;
  font-size: 29px;
  text-decoration: none;
}
.brand > span {
  color: var(--blue);
}
.brandmark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin-right: 9px;
  transform: skew(-9deg);
}
.brandmark b {
  background: var(--blue);
  width: 7px;
  height: 23px;
}
.brandmark b:nth-child(2) {
  height: 17px;
}
.brandmark b:last-child {
  height: 11px;
}
.actions {
  gap: 12px;
}
.actions button,
.gallery button,
#reset {
  border: 1px solid var(--line);
  background: transparent;
  min-height: 44px;
  border-radius: 24px;
  padding: 0 16px;
}
.actions #language {
  border: 0;
}
.actions #saved {
  display: flex;
  align-items: center;
  gap: 8px;
}
.heart {
  font-size: 24px;
}
.actions #saved[aria-pressed="true"],
#detail-save {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
#count {
  font-size: 12px;
}
.hero {
  margin-top: 24px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #082187;
  color: white;
  border-radius: 15px;
  min-height: 264px;
}
.hero > img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: cover;
  object-position: center;
}
.herocopy {
  align-self: center;
  padding: 28px 0 30px clamp(24px, 4vw, 62px);
  position: relative;
  z-index: 1;
}
.herocopy p,
small {
  font-weight: 650;
  font-size: 11px;
  letter-spacing: 1.55px;
  text-transform: uppercase;
}
.herocopy p {
  color: #ffca9e;
  margin: 0 0 15px;
}
h1,
h2,
p {
  margin: 0;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
h1 {
  font-size: clamp(52px, 6.3vw, 92px);
  line-height: 0.91;
  letter-spacing: -0.06em;
}
h1 em {
  font-weight: normal;
  color: #fff3de;
}
.browse {
  margin-top: 22px;
  gap: 18px;
  width: max-content;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  min-height: 42px;
  border-bottom: 1px solid #ffffff70;
}
.browse > span:last-child {
  font-size: 20px;
}
#catalogue {
  padding: 34px 0 72px;
  scroll-margin-top: 12px;
}
.sectionhead {
  justify-content: space-between;
  gap: 12px;
}
.sectionhead h2 {
  font-size: clamp(35px, 4.2vw, 56px);
  letter-spacing: -0.045em;
}
#results {
  font-size: 13px;
  color: #596256;
}
.tools {
  justify-content: space-between;
  gap: 12px;
  margin: 17px 0 22px;
}
nav {
  gap: 6px;
  flex-wrap: wrap;
}
nav button,
.search {
  border: 1px solid var(--line);
  border-radius: 25px;
  min-height: 44px;
  background: transparent;
}
nav button {
  padding: 0 15px;
  font-size: 14px;
}
nav button[aria-pressed="true"] {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.search {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  background: #fff;
}
.search span {
  font-size: 24px;
}
.search input {
  background: transparent;
  border: 0;
  width: 135px;
  min-width: 0;
  font-size: 16px;
}
.search input:focus {
  outline: 0;
}
.search:focus-within,
:focus-visible {
  outline: 3px solid #e88431;
  outline-offset: 3px;
}
#cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 17px;
}
.card {
  position: relative;
}
.open {
  width: 100%;
  display: block;
  border: 0;
  text-align: left;
  padding: 0;
  background: transparent;
}
.imagebox {
  display: block;
  aspect-ratio: 1.28;
  background: #fff;
  border: 1px solid #dcddd5;
  border-radius: 12px;
  overflow: hidden;
}
.imagebox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.card .copy {
  display: block;
  padding: 11px 2px;
}
.copy small,
#detail-cat {
  color: var(--blue);
  font-size: 10px;
}
.copy strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(17px, 1.6vw, 23px);
  letter-spacing: -0.032em;
  line-height: 1.19;
  font-weight: 600;
}
.pick {
  position: absolute;
  right: 7px;
  top: 7px;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  background: #fffffff2;
  font-size: 24px;
}
.pick[aria-pressed="true"] {
  color: var(--blue);
}
#empty {
  text-align: center;
  padding: 44px 0;
}
#reset {
  margin-top: 14px;
}
#status {
  margin: 18px 0;
  color: #525a50;
}
dialog {
  border: 0;
  padding: 0;
  border-radius: 17px;
  background: var(--paper);
  color: var(--ink);
  width: min(880px, 92vw);
  max-height: 90dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #101b19a6;
}
.detailinner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  position: relative;
}
#close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 1;
  width: 44px;
  height: 44px;
  font-size: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
}
.visual {
  background: white;
  padding: 20px;
  display: grid;
  place-items: center;
  min-width: 0;
}
.visual > img {
  width: 100%;
  height: clamp(220px, 42vh, 450px);
  object-fit: contain;
}
.gallery {
  justify-content: center;
  gap: 14px;
  font-size: 13px;
}
.gallery button {
  font-size: 26px;
  padding: 0;
  width: 44px;
}
.detailcopy {
  align-self: center;
  padding: 48px 32px 38px;
}
.detailcopy h2 {
  font-size: clamp(29px, 3.3vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  margin: 12px 0;
}
.detailcopy p {
  line-height: 1.6;
  color: #515a51;
}
.detailcopy button {
  margin-top: 24px;
  min-height: 46px;
  border: 0;
  border-radius: 24px;
  padding: 0 18px;
}
.skip {
  position: fixed;
  top: -100px;
  z-index: 8;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 5px;
}
[hidden] {
  display: none !important;
}
html:lang(zh) h1 {
  line-height: 1.04;
  letter-spacing: -0.03em;
}
html:lang(zh) .copy strong {
  letter-spacing: 0;
}
@media (max-width: 1050px) {
  #cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tools {
    flex-wrap: wrap;
  }
  .hero > img {
    max-height: 300px;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: 92%;
  }
  .top {
    min-height: 65px;
  }
  .hero {
    min-height: 200px;
    margin-top: 16px;
  }
  .hero > img {
    object-position: 45% center;
  }
  .herocopy {
    padding: 21px 0 19px 18px;
  }
  .herocopy p {
    font-size: 9px;
    letter-spacing: 0.8px;
  }
  h1 {
    font-size: clamp(37px, 7vw, 55px);
  }
  .brand {
    font-size: 23px;
  }
  .actions {
    gap: 1px;
  }
  .actions button {
    padding: 0 10px;
  }
  #catalogue {
    padding-top: 23px;
  }
  #cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .search {
    width: 100%;
  }
  .search input {
    flex: 1;
  }
  nav button {
    font-size: 13px;
    padding: 0 11px;
  }
  .tools {
    gap: 10px;
  }
  .detailinner {
    grid-template-columns: 1fr;
  }
  .visual > img {
    height: min(34vh, 280px);
  }
  .detailcopy {
    padding: 21px;
  }
  .browse {
    font-size: 12px;
    margin-top: 12px;
  }
  .pick {
    width: 40px;
    height: 40px;
  }
}
