@font-face {
  font-family: Geist;
  src: url("./assets/geist.woff2") format("woff2");
  font-weight: 400 750;
  font-display: swap;
}

:root {
  color-scheme: light;
  --sans: Geist, system-ui, sans-serif;
  --paper: #fbfaf7;
  --white: #fffefa;
  --ink: #182229;
  --muted: #5d6466;
  --line: #dedcd4;
  --navy: #141f29;
  --gold: #ebc987;
  --bronze: #765729;
  --shell: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.5 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
img { display: block; max-width: 100%; }
button, select, input { font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; text-decoration: none; }
:is(a, button, input, select, [tabindex]):focus-visible { outline: 2px solid #9d682b; outline-offset: 4px; }
::selection { color: var(--navy); background: var(--gold); }

.shell { width: min(calc(100% - 88px), var(--shell)); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 8; padding: 12px; background: var(--white); }

.header { position: relative; z-index: 3; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 13px; font-size: 1.15rem; font-weight: 700; letter-spacing: -.035em; }
.brand img { width: 68px; height: 60px; object-fit: contain; mix-blend-mode: multiply; }
.navigation { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); font-weight: 560; font-size: .9375rem; }
.navigation > a:not(.button):hover { text-decoration: underline; text-underline-offset: 5px; }
.menu-toggle { display: none; }

.button {
  display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 5px; min-height: 42px;
  padding: 8px 14px; font-weight: 650; font-size: .875rem; line-height: 1.25; text-align: center;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.button-outline { background: transparent; color: var(--ink); border-color: #c8c7be; }
.button-outline:hover { background: #f1eee6; border-color: #a8aba4; }
.button-dark { background: var(--navy); color: white; }
.button-dark:hover { background: #30404b; }
.button-gold { background: var(--gold); color: #231a11; }
.button-gold:hover { background: #f6dda4; }
.text-link {
  display: inline-block; width: fit-content; padding: 0 0 1px; border: 0; border-bottom: 1px solid #9a8061;
  color: var(--ink); background: transparent; font-size: .875rem; font-weight: 650;
}
.text-link:hover { color: var(--bronze); }

.collection { padding-block: 32px 53px; scroll-margin-top: 16px; }
.collection-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr); align-items: center; gap: 30px; }
.collection-heading h1 { font-size: clamp(2.75rem, 4.4vw, 4.7rem); font-weight: 680; line-height: .99; letter-spacing: -.052em; }
.collection-heading > p { margin-top: 12px; color: var(--muted); }
.collection-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 14px; }
#results { color: var(--muted); font-size: .875rem; }
#results:empty { display: none; }

.next-show {
  min-width: 0; padding: 17px 20px 19px; border-radius: 7px; color: white;
  background: radial-gradient(ellipse at right bottom, #3c352c, transparent 65%), var(--navy);
  border: 1px solid #624d35; box-shadow: 0 6px 18px #14212b1a;
}
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 680; letter-spacing: .09em; text-transform: uppercase; }
.next-show .eyebrow { color: var(--gold); }
.show-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px #ebc98724; }
.next-show h2 { margin-top: 5px; font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 650; letter-spacing: -.03em; }
.next-show time { display: block; margin-top: 4px; color: #e6dfd2; font-size: .875rem; }
.next-show-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 11px; margin-top: 12px; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(38px, 1fr)); gap: 5px; }
.countdown > span { display: grid; align-content: center; justify-items: center; gap: 1px; min-height: 46px; padding: 4px 6px; border: 1px solid #ebc98745; border-radius: 4px; background: #0c141e58; }
.countdown b { color: #fff5dd; font-size: 1.12rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown small { color: #e1d2ba; font-size: .75rem; line-height: 1; }

.catalog-tools {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px;
  margin: 26px 0 18px; padding-block: 9px; border-block: 1px solid var(--line);
}
.filters, .catalog-inputs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.filters button, .sort-wrap select, .search-wrap input {
  min-height: 42px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 5px;
  background: transparent; color: var(--ink); font-size: .875rem; white-space: nowrap;
}
.filters button { border-color: transparent; }
.filters button[aria-pressed="true"] { border-color: #d9d3c7; background: #ece8de; font-weight: 650; }
.filters button:hover, .sort-wrap select:hover, .search-wrap input:hover { border-color: #9da39d; }
.search-wrap, .sort-wrap { position: relative; display: block; }
.search-wrap input { width: 174px; max-width: 100%; padding-inline-start: 30px; }
.search-wrap input::placeholder { color: var(--muted); opacity: 1; }
.search-wrap::before, .search-wrap::after { position: absolute; pointer-events: none; content: ""; }
.search-wrap::before { top: 13px; left: 10px; width: 9px; height: 9px; border: 1.5px solid #59676a; border-radius: 50%; }
.search-wrap::after { top: 24px; left: 20px; width: 5px; height: 1.5px; background: #59676a; transform: rotate(45deg); }
.sort-wrap select { width: 100%; padding-right: 31px; appearance: none; }
.sort-wrap::after {
  position: absolute; top: 15px; right: 12px; width: 7px; height: 7px; pointer-events: none; content: "";
  border: solid #59676a; border-width: 0 1px 1px 0; transform: rotate(45deg);
}
.catalog-empty { padding: 32px 0; border-bottom: 1px solid var(--line); text-align: center; }
.catalog-empty button { margin-top: 8px; }
.catalog-note { margin-top: 16px; color: var(--muted); font-size: .875rem; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 23px 16px; }
.product-card {
  display: flex; min-width: 0; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
}
.photo-stage {
  position: relative; isolation: isolate; aspect-ratio: 1.19; overflow: hidden;
  background: radial-gradient(ellipse at 48% 38%, #fffefa 0%, #efede5 64%, #e8e4db 100%);
  color: var(--ink);
}
.photo-open { position: absolute; inset: 0; display: grid; width: 100%; place-items: center; padding: 0; border: 0; background: transparent; perspective: 650px; }
.photo-open:focus-visible { outline-offset: -4px; }
.watch-photos {
  position: absolute; inset: 5.5% 10% 5.5%; display: grid; place-items: center;
  transform: rotateX(var(--pitch, 0deg)) rotateY(var(--yaw, 0deg));
  transform-style: preserve-3d; transition: transform 170ms ease-out;
}
.watch-angle {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transform: translateZ(0) rotateY(-12deg) scale(.98);
  filter: drop-shadow(0 11px 9px #1b202335);
  transition: opacity 280ms ease, transform 420ms cubic-bezier(.2,.65,.2,1);
}
.watch-angle.original-photo { filter: none; }
.photo-stage[data-angle="0"] [data-photo-index="0"],
.photo-stage[data-angle="1"] [data-photo-index="1"] { opacity: 1; transform: translateZ(13px) rotateY(0) scale(1); }
.angle-toggle {
  position: absolute; bottom: 8px; right: 8px; display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; min-width: 56px; min-height: 38px; padding: 5px 9px; border: 1px solid #bbb8ac; border-radius: 5px;
  background: #fffef9f2; color: var(--ink); font-size: .8125rem; font-weight: 650; font-variant-numeric: tabular-nums;
}
.angle-toggle:hover { border-color: #7a776f; background: white; }
.angle-icon { position: relative; width: 11px; height: 9px; border: 1px solid currentColor; border-radius: 1px; }
.angle-icon::after { position: absolute; inset: -4px 2px 2px -4px; z-index: -1; content: ""; border: 1px solid currentColor; border-radius: 1px; }

.product-info { display: flex; flex: 1; flex-direction: column; padding: 14px 13px 13px; }
.product-brand { color: var(--bronze); font-size: .8125rem; font-weight: 680; letter-spacing: .07em; text-transform: uppercase; }
.product-info h3 { margin: 4px 0 12px; font-size: 1.075rem; font-weight: 650; line-height: 1.23; letter-spacing: -.025em; }
.product-name { padding: 0; border: 0; background: transparent; color: inherit; text-align: left; }
.product-name:hover { color: var(--bronze); }
.product-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.product-specs > div { min-width: 0; padding: 0 0 0 7px; border-left: 1px solid var(--line); }
.product-specs > div:first-child { border: 0; padding-left: 0; }
.product-specs dt { color: var(--muted); font-size: .75rem; line-height: 1.25; }
.product-specs dd { margin-top: 3px; font-size: .8125rem; font-weight: 580; line-height: 1.26; }
.product-actions {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px;
  margin-top: auto; padding-top: 14px;
}
.product-price, .detail-price { font-size: clamp(1.3rem, 1.75vw, 1.58rem); font-weight: 690; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.product-buy { min-height: 40px; padding-inline: 9px; white-space: nowrap; }

.auction-section { padding: 27px 0; scroll-margin-top: 10px; border-block: 1px solid var(--line); background: #f1eee6; }
.auction-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .88fr); align-items: center; gap: 22px; }
.auction-inner h2, .reviews h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 670; letter-spacing: -.045em; }
.auction-inner p { margin-top: 7px; color: var(--muted); }
.auction-schedule { min-width: 0; }
.auction-schedule > a { margin-top: 9px; }
.show-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid #d3cec3; }
.show-list a { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding: 8px 0; border-bottom: 1px solid #d3cec3; }
.show-list span { font-weight: 650; }
.show-list time { color: var(--muted); font-size: .875rem; }
.show-list a:hover span { text-decoration: underline; text-underline-offset: 3px; }

.reviews { padding-block: 45px 49px; scroll-margin-top: 10px; }
.reviews-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.review-controls { display: flex; gap: 5px; }
.review-controls .button { padding-inline: 11px; }
.marketplace-ratings { display: flex; gap: 12px 22px; flex-wrap: wrap; margin: 14px 0 17px; padding-block: 12px; border-block: 1px solid var(--line); }
.marketplace-ratings a { display: flex; align-items: center; gap: 9px; }
.marketplace-ratings a + a { padding-left: 22px; border-left: 1px solid var(--line); }
.marketplace-ratings a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.marketplace-ratings strong { color: var(--bronze); font-size: 1.55rem; font-weight: 690; letter-spacing: -.04em; white-space: nowrap; }
.marketplace-ratings span { font-size: .875rem; font-weight: 600; }
.marketplace-ratings small { display: block; color: var(--muted); font-size: .8125rem; font-weight: 400; }
.review-track {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 28px) / 3); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.review-track::-webkit-scrollbar { display: none; }
.review-track figure {
  display: flex; min-width: 0; min-height: 131px; flex-direction: column; gap: 15px; justify-content: space-between;
  padding: 15px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); scroll-snap-align: start;
}
.review-track blockquote { font-weight: 500; }
.review-track figcaption { color: var(--bronze); font-size: .8125rem; overflow-wrap: anywhere; }
.review-track figcaption span { display: block; color: var(--muted); }
.review-position { margin-top: 8px; color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }

.footer { background: #ede9df; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 17px; padding-block: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 21px; font-size: .9375rem; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { padding-block: 12px 18px; border-top: 1px solid #d7d2c6; color: var(--muted); font-size: .875rem; }

.product-dialog {
  position: fixed; width: min(820px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0;
  border: 1px solid #b9b4a7; border-radius: 7px; background: var(--white); color: var(--ink);
}
.product-dialog::backdrop { background: #101923dc; backdrop-filter: blur(4px); }
.close-dialog {
  position: absolute; top: 9px; right: 9px; z-index: 1; width: 42px; height: 42px;
  border: 1px solid #b9b4a7; border-radius: 50%; background: var(--white); font-size: 1.5rem; line-height: 1;
}
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; }
.detail-gallery { background: #ece8de; }
.detail-gallery img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.gallery-controls { display: flex; justify-content: center; gap: 6px; padding: 8px; }
.gallery-controls button[aria-pressed="true"] { background: var(--navy); color: white; }
.detail-info { align-self: center; padding: 42px 24px 26px; }
.detail-info .eyebrow { color: var(--bronze); }
.detail-info h2 { margin: 5px 0 11px; font-size: clamp(1.6rem, 3.7vw, 2.3rem); font-weight: 670; letter-spacing: -.035em; }
.detail-info #detail-description { color: var(--muted); }
.detail-info .product-specs { margin-top: 15px; }
.detail-price { margin: 13px 0 8px; }
.detail-note { margin-top: 8px; color: var(--muted); font-size: .875rem; }

@media (max-width: 1100px) {
  .shell { width: calc(100% - 64px); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 73px; }
  .brand img { width: 53px; height: 47px; }
  .brand { gap: 9px; font-size: 1rem; }
  .menu-toggle { display: grid; align-content: center; justify-items: center; gap: 6px; width: 43px; height: 43px; background: transparent; border: 1px solid var(--line); border-radius: 5px; }
  .menu-toggle span { width: 17px; height: 1px; background: var(--ink); transition: transform 160ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .navigation { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 10px 20px 17px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .menu-toggle[aria-expanded="true"] + .navigation { display: grid; gap: 3px; }
  .navigation > a:not(.button) { padding: 8px 0; }
  .navigation .button { justify-self: start; }
  .collection { padding-block: 23px 35px; }
  .collection-intro { grid-template-columns: 1fr; gap: 16px; }
  .collection-heading h1 { font-size: clamp(2.35rem, 7vw, 3.55rem); }
  .collection-heading > p { margin-top: 7px; }
  .collection-links { margin-top: 9px; }
  .collection-break { display: none; }
  .next-show { padding: 13px; }
  .next-show-actions .button { min-height: 43px; }
  .catalog-tools { margin: 17px 0 13px; }
  .filters { gap: 3px; }
  .filters button { padding-inline: 7px; }
  .catalog-inputs { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 10.1rem); }
  .search-wrap input { width: 100%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .photo-stage { aspect-ratio: 1.06; }
  .product-info { padding: 11px 8px 8px; }
  .product-info h3 { font-size: 1rem; margin-bottom: 8px; }
  .product-actions { align-items: start; flex-direction: column; padding-top: 8px; }
  .product-buy { width: 100%; }
  .auction-inner { grid-template-columns: 1fr; gap: 12px; }
  .reviews { padding-block: 33px; }
  .review-track { grid-auto-columns: calc((100% - 14px) / 2); }
}

@media (max-width: 540px) {
  .product-specs { grid-template-columns: 1fr; gap: 3px; }
  .product-specs > div { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 0 5px; padding: 2px 0 0; border: 0; border-top: 1px solid var(--line); }
  .product-specs > div:first-child { padding: 2px 0 0; border-top: 1px solid var(--line); }
  .product-specs dd { margin: 0; }
  .review-track { grid-auto-columns: 100%; }
  .marketplace-ratings { gap: 6px 12px; }
  .marketplace-ratings a { flex: 1 1 45%; gap: 4px; align-items: start; flex-direction: column; }
  .marketplace-ratings a + a { padding-left: 12px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-gallery img { max-height: 39svh; }
  .detail-info { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .watch-photos, .watch-angle { transform: none !important; }
}
