/* =====================================================
   WHAT WE SELL PAGE
===================================================== */

.main-nav a[aria-current="page"] {
  color: var(--gold);
}

.sell-hero {
  position: relative;
  height: 430px;
  overflow: hidden;
  background: var(--blue);
}

.sell-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sell-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 26, 59, .72), rgba(0, 26, 59, .20) 52%, rgba(0, 26, 59, .10));
  border-bottom: 3px solid var(--gold);
}

.sell-title-wrap {
  position: absolute;
  left: 48px;
  bottom: 48px;
  width: min(661px, 55.5vw);
  z-index: 2;
}

.sell-title-image {
  display: block;
  width: 100%;
  height: auto;
}

.asset-section {
  background: var(--blue);
  color: var(--white);
  padding: 64px 0 72px;
}

.asset-inner,
.sell-closing-inner {
  width: min(1380px, calc(100% - 90px));
  margin: 0 auto;
}

.asset-row {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  gap: 48px;
  align-items: start;
  padding: 52px 0;
  border-top: 1.5px solid rgba(229, 158, 14, .68);
}

.asset-row:first-child {
  border-top: none;
  padding-top: 0;
}

.asset-row.reverse {
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
}

.asset-row.reverse .asset-copy {
  order: 2;
}

.asset-row.reverse .asset-media {
  order: 1;
}

.asset-copy {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  column-gap: 24px;
  align-items: start;
  max-width: none;
  min-width: 0;
}

.asset-icon {
  width: 92px;
  height: 92px;
  margin: 0;
  display: block;
}

.asset-text {
  min-width: 0;
}

.asset-copy h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
}

.asset-stat {
  margin: 9px 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.asset-copy p {
  margin: 0;
  max-width: 430px;
  color: rgba(255, 255, 255, .92);
  font-size: 16px;
  line-height: 1.42;
}

.asset-media,
.asset-row.reverse .asset-media {
  position: relative;
  width: 100%;
  margin: 0;
  justify-self: stretch;
  aspect-ratio: 8 / 3;
  overflow: hidden;
  border: 1.5px solid var(--gold);
  border-radius: 6px;
  background: #0e315f;
  box-shadow: 0 22px 48px rgba(0, 0, 0, .24);
  z-index: 3;
}

.asset-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: scale(1.01);
  transform-origin: center center;
}

.asset-slide:first-child {
  opacity: 1;
}

:is(.asset-row:hover, .asset-row:focus-within) .asset-slide {
  animation: assetDissolveFast 11.25s infinite linear;
}

:is(.asset-row:hover, .asset-row:focus-within) .asset-slide:nth-child(1) {
  animation-delay: -2.025s;
}

:is(.asset-row:hover, .asset-row:focus-within) .asset-slide:nth-child(2) {
  animation-delay: 0s;
}

:is(.asset-row:hover, .asset-row:focus-within) .asset-slide:nth-child(3) {
  animation-delay: 2.25s;
}

:is(.asset-row:hover, .asset-row:focus-within) .asset-slide:nth-child(4) {
  animation-delay: 4.5s;
}

:is(.asset-row:hover, .asset-row:focus-within) .asset-slide:nth-child(5) {
  animation-delay: 6.75s;
}

:is(.asset-row:hover, .asset-row:focus-within) .asset-media {
  box-shadow: 0 26px 60px rgba(0, 0, 0, .34);
}

@keyframes assetDissolveFast {
  0% {
    opacity: 1;
    transform: scale(1.01);
  }

  19.99% {
    opacity: 1;
    transform: scale(1.04);
  }

  20%,
  100% {
    opacity: 0;
    transform: scale(1.04);
  }
}

.sell-closing {
  background: #06264a;
  padding: 36px 0;
  color: var(--white);
}

.sell-closing-inner {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  column-gap: 60px;
  align-items: center;
  border-top: none;
  padding-top: 0;
}

.sell-closing-icon-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  padding: 8px 0;
  max-height: 180px;
  border-right: 2px solid #c8a34a;
}

.sell-closing-icon {
  width: 162px;
  height: auto;
  display: block;
}

.sell-closing-copy {
  min-width: 0;
}

.sell-closing-copy h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.05;
}

.sell-closing-copy p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, .92);
  font-size: 16px;
  line-height: 1.42;
}

.sell-closing-copy .sell-closing-tagline {
  margin-top: 22px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 20px;
}

.cta-bar {
  border-top: 3px solid #c8a34a;
}

/* =====================================================
   WHAT WE SELL RESPONSIVE RULES
===================================================== */

@media (max-width: 980px) {
  .sell-hero {
    height: 360px;
  }

  .sell-title-wrap {
    left: 42px;
    width: min(460px, 70vw);
  }

  .asset-inner,
  .sell-closing-inner {
    width: min(680px, calc(100% - 48px));
  }

  .asset-row,
  .asset-row.reverse {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 44px 0;
  }

  .asset-row.reverse .asset-copy,
  .asset-row.reverse .asset-media {
    order: initial;
  }

  .asset-copy {
    grid-template-columns: 78px minmax(0, 1fr);
    column-gap: 20px;
  }

  .asset-copy p {
    max-width: none;
  }

  .asset-icon {
    width: 78px;
    height: 78px;
  }

  .asset-media,
  .asset-row.reverse .asset-media {
    width: 100%;
    margin: 0;
    justify-self: stretch;
  }

  .sell-closing {
    padding: 48px 0 56px;
  }

  .sell-closing-inner {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }

  .sell-closing-icon-wrap {
    min-height: 0;
    padding-bottom: 28px;
    border-right: 0;
    border-bottom: 3px solid #c8a34a;
  }

  .sell-closing-icon {
    width: 150px;
  }
}

@media (max-width: 720px) {
  .sell-hero {
    height: 300px;
  }

  .sell-title-wrap {
    left: 26px;
    width: calc(100% - 52px);
  }

  .asset-copy {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }

  .asset-copy h2 {
    font-size: 36px;
  }

  .asset-copy p,
  .sell-closing-copy p {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(.asset-row:hover, .asset-row:focus-within) .asset-slide {
    animation: none;
  }
}
