@font-face {
  font-family: "Druk Wide";
  src: url("assets/druk-wide-bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Veneer Clean";
  src: url("assets/veneer-clean-regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: light;
  --royal: #00417d;
  --navy: #001528;
  --paper: #f5f5f5;
  --display: "Druk Wide", "Archivo Black", Arial, sans-serif;
  background: #fff;
  color: #373737;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul { margin: 0; }
img { display: block; max-width: 100%; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.skip, .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  z-index: 8;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  clip-path: none;
  padding: 12px;
  background: white;
  color: var(--royal);
}

.site {
  container-type: inline-size;
  overflow: clip;
}
.site > section {
  --layout-width: min(100cqw, 1440px);
  --u: calc(var(--layout-width) / 1199);
  width: var(--layout-width);
  margin-inline: auto;
}

.hero::before, .belts-band::before, .plank::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: 0;
  left: 50%;
  width: 100cqw;
  transform: translateX(-50%);
  background: var(--section-background);
}

h1, h2, h3, .date, .bid {
  font-family: var(--display);
  font-weight: 700;
  line-height: .91;
  text-transform: uppercase;
}

.hero {
  --section-background: linear-gradient(198.68deg, #014a8e .61%, #001528 81.66%);
  --bat-float-distance: clamp(9px, 1.4cqw, 19px);
  position: relative;
  z-index: 2;
  min-height: calc(700 * var(--u));
  color: white;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 58%;
  padding-block: calc(204 * var(--u)) calc(88 * var(--u));
  margin-left: 10.51%;
  pointer-events: none;
}

.presenter {
  display: flex;
  align-items: flex-end;
  gap: calc(3 * var(--u));
  width: max-content;
  margin-bottom: calc(9 * var(--u));
  font: calc(9.586 * var(--u))/1.05 "Veneer Clean", Arial, sans-serif;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.wordmark { position: relative; display: block; padding: 3px 9px 3px 0; }
.wordmark-mark { position: absolute; top: 0; right: 0; }

.hero h1 {
  color: #e8e8e8;
  font-size: calc(117.044 * var(--u));
  line-height: .897;
}

.hero-intro {
  max-width: calc(665 * var(--u));
  margin-top: calc(2 * var(--u));
  font-size: max(16px, calc(26.812 * var(--u)));
  line-height: .97;
}

.hero-note {
  max-width: calc(560 * var(--u));
  margin-top: calc(14 * var(--u));
  font-size: max(12px, calc(16.187 * var(--u)));
  font-style: italic;
  line-height: 1.15;
}

.hero-bat {
  --bat-u: var(--u);
  position: absolute;
  left: 78.1%;
  top: calc(26 * var(--u));
  width: 0;
  height: 0;
}
.hero-poster {
  position: absolute;
  left: calc(-294 * var(--bat-u));
  top: calc(117 * var(--bat-u));
  width: calc(589.138 * var(--bat-u));
  height: calc(587.654 * var(--bat-u));
  transform: rotate(43.51deg);
  overflow: hidden;
  pointer-events: none;
}
.hero-poster img {
  position: absolute;
  top: -18.22%;
  left: -18.05%;
  width: 136.09%;
  height: 136.44%;
  max-width: none;
}
.bat-stage {
  position: absolute;
  top: 0;
  left: calc(-125 * var(--bat-u));
  width: calc(250 * var(--bat-u));
  height: calc(832 * var(--bat-u));
  opacity: 0;
  transition: opacity .24s ease;
}
.bat-stage model-viewer {
  width: 100%;
  height: 100%;
  --poster-color: transparent;
  --progress-bar-height: 0px;
  transform: rotate(var(--bat-tilt, 0deg));
  transition: transform .32s ease-out;
}
.hero-bat:focus-visible .bat-stage {
  opacity: 1;
  outline: 2px solid var(--paper);
  outline-offset: 4px;
}
.hero-bat.is-ready .bat-stage {
  opacity: 1;
  animation: bat-float 4s ease-in-out infinite;
}
.hero-bat.is-ready .hero-poster { visibility: hidden; }

@keyframes bat-float {
  from, to { transform: translateY(var(--bat-float-distance)); }
  50% { transform: translateY(calc(-1 * var(--bat-float-distance))); }
}

.belts-visual {
  position: relative;
  height: calc(742 * var(--u));
}
.belts-visual h2 {
  position: absolute;
  z-index: 1;
  top: calc(253 * var(--u));
  left: 8.26%;
}
.belts-visual h2 span {
  display: block;
  font-size: calc(45.425 * var(--u));
}
.belts-visual h2 strong {
  display: block;
  color: var(--royal);
  background: linear-gradient(72.74deg, #011528 24.605%, #014482 95.419%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: calc(91.92 * var(--u));
}
.straight-belts img, .looped-belts img { position: absolute; }
.straight-belts img { width: 34.1%; }
.straight-belts img:nth-child(1) { left: 47.74%; top: calc(151 * var(--u)); }
.straight-belts img:nth-child(2) { left: 54.83%; top: calc(138.52 * var(--u)); }
.straight-belts img:nth-child(3) { left: 62.15%; top: calc(125 * var(--u)); }

.belts-band {
  --section-background: linear-gradient(-32.33deg, #014a8e 3.35%, #001528 113.12%);
  position: relative;
  isolation: isolate;
  min-height: calc(272 * var(--u));
  padding: calc(132 * var(--u)) 8% calc(61 * var(--u));
  color: var(--paper);
  text-align: center;
}
.looped-belts img:nth-child(1) { width: 28.27%; left: 12.25%; top: calc(-141 * var(--u)); }
.looped-belts img:nth-child(2) { width: 22.85%; left: 39%; top: calc(-117.03 * var(--u)); }
.looped-belts img:nth-child(3) { width: 23%; left: 59.42%; top: calc(-119.31 * var(--u)); }
.belts-band p {
  position: relative;
  max-width: calc(959 * var(--u));
  margin-inline: auto;
  font-size: max(16px, calc(26.812 * var(--u)));
  line-height: 1.05;
  letter-spacing: -.05em;
}

.lot {
  width: 82.55%;
  margin: calc(111 * var(--u)) auto 0;
}
.lot:first-of-type { margin-top: calc(116 * var(--u)); }
.lot-summary {
  display: grid;
  grid-template-columns: 32.33% minmax(0, 1fr);
  align-items: start;
  gap: 8.39%;
  margin-bottom: calc(43 * var(--u));
}
.lot-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 320 / 305;
  object-fit: cover;
  background: #f4f4f4;
}
.lot-copy { padding-top: calc(33 * var(--u)); }
.lot h3 { color: var(--royal); font-size: calc(53.25 * var(--u)); }
.date {
  margin: calc(6 * var(--u)) 0 calc(5 * var(--u)) calc(3 * var(--u));
  font-size: clamp(10px, calc(6.5px + 7 * var(--u)), 15px);
  line-height: 1.05;
}
.date time { display: block; font-size: max(10px, .88em); }
.cards {
  padding-left: calc(18 * var(--u));
  color: #565656;
  font-size: clamp(.8125rem, calc(16 * var(--u)), 1.125rem);
  letter-spacing: -.05em;
  line-height: 1.05;
}

.bid {
  display: inline-grid;
  place-items: center;
  min-width: calc(158 * var(--u));
  min-height: max(29px, calc(29.43 * var(--u)));
  padding: 6px 14px;
  margin-top: calc(12 * var(--u));
  color: var(--paper);
  background: var(--royal);
  text-decoration: none;
  font-size: max(10px, calc(11.31 * var(--u)));
  letter-spacing: -.01em;
}
.bid:hover { background: #075797; }

.gallery { position: relative; }
.gallery-window {
  display: grid;
  isolation: isolate;
  overflow: clip;
  touch-action: pan-y pinch-zoom;
}
.gallery-track {
  display: grid;
  grid-area: 1 / 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.84%;
}
.gallery-tile {
  aspect-ratio: 233.78 / 222.82;
  overflow: hidden;
  background: #f4f4f4;
}
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; }
.gallery-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  place-items: center;
  width: max(37px, calc(48 * var(--u)));
  min-height: 44px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.gallery-arrow:hover img { opacity: .58; }
.gallery-arrow.previous { right: 100%; }
.gallery-arrow.next { left: 100%; }
.gallery-arrow.previous img { transform: scaleX(-1); }

.plank {
  --section-background: linear-gradient(-53.08deg, #014a8e 3.35%, #001528 113.12%);
  position: relative;
  isolation: isolate;
  display: flow-root;
  min-height: calc(572 * var(--u));
  margin-block: calc(162 * var(--u)) calc(112 * var(--u));
  color: var(--paper);
}
.plank-copy {
  position: relative;
  z-index: 1;
  width: 47.79%;
  margin-left: 8.76%;
  padding-block: calc(50 * var(--u)) calc(47 * var(--u));
}
.plank h2 {
  margin: 0 0 calc(25 * var(--u)) calc(-6 * var(--u));
}
.plank h2 span {
  display: block;
  font-size: calc(45.425 * var(--u));
}
.plank h2 strong {
  display: block;
  font-size: calc(91.92 * var(--u));
  margin: calc(9 * var(--u)) 0 calc(4 * var(--u));
}
.plank h2 span:last-child { text-align: right; }
.plank p {
  margin: calc(15 * var(--u)) 0 0 calc(15 * var(--u));
  font-size: max(15px, calc(26.812 * var(--u)));
  font-style: italic;
  line-height: 1.05;
  letter-spacing: -.05em;
}
.bid-on-blue {
  min-width: calc(204 * var(--u));
  min-height: max(32px, calc(38 * var(--u)));
  margin-top: calc(30 * var(--u));
  background: var(--paper);
  color: var(--royal);
  font-size: max(10px, calc(14.603 * var(--u)));
}
.bid-on-blue:hover { background: #dbeafb; }
.bid-on-blue:focus-visible { outline-color: var(--paper); }
.hero .bid { pointer-events: auto; }
.plank .bid { margin-left: calc(15 * var(--u)); }
.plank-detail {
  position: absolute;
  left: 62.39%;
  top: calc(-157 * var(--u));
  width: 34.97%;
  height: calc(841 * var(--u));
  overflow: hidden;
  pointer-events: none;
}
.plank-detail img {
  position: absolute;
  left: 31.39%;
  top: 5.94%;
  width: 33.39%;
  height: auto;
}

@media (max-width: 680px) {
  .hero {
    --mobile-bat-u: clamp(.35px, .10cqw, .46px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(54px, 22cqw, 145px);
    align-items: center;
    gap: clamp(12px, 3cqw, 22px);
    min-height: max(330px, calc(832 * var(--mobile-bat-u) + 32px));
    padding: clamp(40px, 8cqw, 54px) 6.2%;
  }
  .hero-copy {
    width: auto;
    margin: 0;
    padding: 0;
  }
  .hero h1 { font-size: 10.4cqw; }
  .presenter { margin-bottom: 9px; font-size: 9px; }
  .hero-intro { margin-top: 12px; font-size: clamp(15px, 3.55cqw, 21px); line-height: 1.18; }
  .hero-note { margin-top: 12px; font-size: clamp(12px, 2.95cqw, 16px); line-height: 1.25; }
  .hero-bat {
    --bat-u: var(--mobile-bat-u);
    position: relative;
    top: auto;
    left: auto;
    justify-self: center;
    transform: translateY(calc(-416 * var(--bat-u)));
  }
  .bat-stage { left: calc(-93 * var(--bat-u)); width: calc(186 * var(--bat-u)); }

  .belts-visual { height: clamp(264px, 68vw, 416px); }
  .belts-visual h2 { left: 6.2%; top: 35%; }
  .belts-visual h2 span { font-size: 3.7cqw; }
  .belts-visual h2 strong { font-size: 7.8cqw; }
  .straight-belts img { width: 36%; }
  .straight-belts img:nth-child(1) { left: 47%; top: 35%; }
  .straight-belts img:nth-child(2) { left: 54%; top: 33%; }
  .straight-belts img:nth-child(3) { left: 61%; top: 31%; }
  .belts-band {
    min-height: 0;
    padding: max(59px, 16cqw) 7.5% clamp(29px, 6cqw, 42px);
  }
  .belts-band p { font-size: clamp(16px, 3.55cqw, 21px); line-height: 1.25; letter-spacing: -.025em; }
  .looped-belts img:nth-child(1) { width: 34%; left: 6%; top: -13cqw; }
  .looped-belts img:nth-child(2) { width: 29%; left: 36%; top: -11.2cqw; }
  .looped-belts img:nth-child(3) { width: 29%; left: 63%; top: -11.7cqw; }

  .lot, .lot:first-of-type { width: calc(100% - 86px); margin-top: 54px; }
  .lot-summary { grid-template-columns: 1fr; gap: 19px; margin-bottom: 22px; }
  .lot-photo { max-height: 320px; }
  .lot-copy { padding-top: 0; }
  .lot h3 { font-size: clamp(24px, 6.8vw, 41px); }
  .date { margin: 7px 0 6px; }
  .cards { padding-left: 1em; line-height: 1.24; letter-spacing: -.02em; }
  .bid { min-height: 44px; min-width: 120px; margin-top: 14px; }

  .gallery-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gallery-tile:nth-child(n+3) { display: none; }
  .gallery-arrow { width: 41px; }
  .gallery-arrow img { height: auto; max-width: 12px; }

  .plank {
    --detail-width: clamp(30px, 10cqw, 66px);
    --detail-inset: clamp(8px, 3cqw, 20px);
    --copy-inset: max(46px, 8.76cqw);
    margin-top: 78px;
    margin-bottom: 0;
    min-height: 0;
  }
  .plank-copy {
    width: calc(100% - var(--copy-inset) - var(--detail-inset) - var(--detail-width) - 44px);
    margin-left: var(--copy-inset);
    padding: 29px 0 32px;
  }
  .plank h2 { margin: 0 0 18px; }
  .plank h2 span { font-size: 4.15cqw; }
  .plank h2 strong { font-size: 7.8cqw; margin-block: 5px 3px; }
  .plank .gallery-arrow { width: 44px; }
  .plank p { margin: 14px 0 0; line-height: 1.25; letter-spacing: -.025em; }
  .plank .bid { margin-left: 0; }
  .plank-detail {
    inset: -24px var(--detail-inset) 0 auto;
    width: var(--detail-width);
    height: auto;
  }
  .plank-detail img {
    top: 0;
    left: 0;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bat-stage, .bat-stage model-viewer { transition: none; }
  .hero-bat.is-ready .bat-stage { animation: none; }
}
