/* Homepage: the mobile menu and the dark chapter between the catalogue and the trades. */
.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.nav-burger span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s;
}
.nav-burger span:first-child {
  top: 15px;
}
.nav-burger span:last-child {
  top: 23px;
}
.nav-burger[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}
.nav-sheet {
  position: fixed;
  inset: 0;
  z-index: 19;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: calc(84px + env(safe-area-inset-top, 0px)) var(--gut-r) 32px var(--gut);
  background: var(--bg);
  overflow-y: auto;
}
.nav-sheet[hidden] {
  display: none;
}
.nav-sheet a {
  font: 400 30px/1.35 var(--serif);
  text-decoration: none;
}
@media (max-width: 820px) {
  .nav .cta-s {
    display: none;
  }
  .nav-burger {
    display: block;
  }
}

.cr {
  position: relative;
  height: 260svh;
  --p: 0;
  background: #f4f0e8;
}
.cr-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: var(--crbg, #f4f0e8);
}
.cr-frame {
  position: absolute;
  inset: 0;
  clip-path: inset(
    calc((1 - var(--p)) * 26%) calc((1 - var(--p)) * 30%) calc((1 - var(--p)) * 26%)
      calc((1 - var(--p)) * 30%) round calc((1 - var(--p)) * 10px)
  );
}
.cr-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(1.14 - var(--p) * 0.14));
}
.cr-copy {
  position: absolute;
  left: max(var(--gut), calc((100vw - 1320px) / 2));
  right: var(--gut-r);
  bottom: clamp(32px, 8vh, 84px);
  z-index: 1;
  max-width: 560px;
  color: #f4f0e8;
  opacity: clamp(0, calc((var(--p) - 0.6) * 3), 1);
}
.cr-copy .kicker {
  color: #c29a72;
}
.cr-copy .h2 {
  margin-top: 10px;
  color: #f4f0e8;
}
.cr-copy .h2 em {
  color: #c29a72;
}
.cr-copy p {
  margin-top: 16px;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.65;
}
.cr-stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 62svh;
  pointer-events: none;
  opacity: clamp(0, calc((var(--p) - 0.6) * 3), 1);
  background: linear-gradient(180deg, rgba(23, 18, 16, 0), rgba(23, 18, 16, 0.9) 62%);
}

.ch {
  background: #171210;
  color: #f4f0e8;
  padding: clamp(40px, 7vw, 96px) var(--gut-r) clamp(56px, 8vw, 110px) var(--gut);
}
.ch-in {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.ch-portrait {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16/11;
  border-radius: 6px;
}
.ch-portrait img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: 50% 30%;
  display: block;
  will-change: transform;
}
.ch-copy .kicker {
  color: #c29a72;
}
.ch-copy .h2 {
  color: #f4f0e8;
  font-size: clamp(32px, 3.6vw, 56px);
}
.ch-copy .h2 em {
  color: #c29a72;
}
.ch-copy p {
  margin: 18px 0 0;
  max-width: 460px;
  color: #d8ccbc;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.65;
}
.ch-copy p + p {
  margin-top: 10px;
}
.ch-copy .btn-gold {
  margin-top: 28px;
}
.btn-gold {
  display: inline-block;
  font: 600 15px var(--sans);
  text-decoration: none;
  color: #171210;
  background: #e9ddca;
  padding: 15px 24px;
  border-radius: 999px;
}
.ch-row {
  max-width: 1320px;
  margin: clamp(32px, 5vw, 72px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 28px);
}
.ch-row a {
  display: block;
  overflow: hidden;
  text-decoration: none;
  border-radius: 6px;
  position: relative;
  aspect-ratio: 4/3;
}
.ch-row img {
  display: block;
  width: 100%;
  height: 116%;
  object-fit: cover;
  will-change: transform;
}
.ch-row span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #f4f0e8;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}
@media (max-width: 860px) {
  .cr {
    height: 200svh;
  }
  .ch-in {
    grid-template-columns: 1fr;
  }
  .ch-row {
    grid-template-columns: 1fr;
  }
  .cr-frame {
    clip-path: inset(
      calc((1 - var(--p)) * 24%) calc((1 - var(--p)) * 16%) calc((1 - var(--p)) * 24%)
        calc((1 - var(--p)) * 16%) round calc((1 - var(--p)) * 10px)
    );
  }
}
@media (prefers-reduced-motion: reduce) {
  .cr {
    height: auto;
    --p: 1;
  }
  .cr-stage {
    position: relative;
    background: #171210;
  }
}

.nw-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}
.nw {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 4px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s;
}
.nw:hover {
  border-color: currentColor;
}
.nw b {
  font-size: 1.15rem;
}
@media (max-width: 900px) {
  .nw-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Three ways in, right under the hero: the buyer knows where to go without scrolling the whole story. */
.px {
  position: relative;
  z-index: 2;
  padding: clamp(48px, 7vw, 96px) var(--gut);
  background: var(--bg);
}
.px-in {
  max-width: 1320px;
  margin: 0 auto;
}
.px-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.px-card {
  display: block;
  color: var(--ink);
  text-decoration: none;
}
.px-img {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: #e9ddca;
}
.px-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.px-card:hover .px-img img {
  transform: scale(1.04);
}
.px-card b {
  display: block;
  margin-top: 14px;
  font: 400 clamp(26px, 2.6vw, 36px) / 1.1 var(--serif);
}
.px-t {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.px-search {
  margin-top: 32px;
}
.px-search label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}
.px-row {
  display: flex;
  gap: 10px;
}
.px-row input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf9f5;
  font: 500 16px var(--sans);
  color: var(--ink);
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .px-card {
      animation: px-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
  }
}
@keyframes px-rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
}
@media (max-width: 760px) {
  .px-grid {
    grid-template-columns: 1fr;
  }
  .px-img {
    aspect-ratio: 16 / 9;
  }
}
