.six16-popup,
.six16-popup * {
  box-sizing: border-box;
}

.six16-popup {
  --six16-ink: #11110f;
  --six16-ivory: #fffdf8;
  --six16-paper: #f4f0e7;
  --six16-gold: #b7954e;
  --six16-gold-bright: #e2c57b;
  --six16-muted: #6d685f;
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  transition: opacity 240ms ease, visibility 240ms ease;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

.six16-popup.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.six16-popup__scrim {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 15, .78);
  -webkit-backdrop-filter: blur(13px);
  backdrop-filter: blur(13px);
}

.six16-popup__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 1020px);
  height: min(680px, calc(100vh - 40px));
  max-height: calc(100vh - 40px);
  overflow: hidden;
  grid-template-columns: minmax(0, 1.02fr) minmax(290px, .98fr);
  background: var(--six16-ivory);
  border: 1px solid rgba(226, 197, 123, .72);
  border-radius: 25px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, .36), 0 0 0 7px rgba(255, 253, 248, .05);
  transform: translateY(14px) scale(.985);
  transition: transform 300ms cubic-bezier(.23, 1, .32, 1);
}

.six16-popup.is-open .six16-popup__dialog {
  transform: translateY(0) scale(1);
}

.six16-popup__copy {
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 50px);
  overflow: hidden;
}

.six16-popup__copy::before,
.six16-popup__copy::after {
  position: absolute;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(183, 149, 78, .16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.six16-popup__copy::before {
  right: -130px;
  top: -120px;
}

.six16-popup__copy::after {
  right: -85px;
  top: -75px;
}

.six16-popup__brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 25px;
  color: var(--six16-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.six16-popup__brand img {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.six16-popup__eyebrow,
.six16-popup__detail-label,
.six16-popup__visual-caption span,
.six16-popup__reassurance {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.six16-popup__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: #8c6b2d;
}

.six16-popup h2 {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0;
  color: var(--six16-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4.6vw, 62px);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .88;
}

.six16-popup__intro {
  position: relative;
  z-index: 1;
  max-width: 450px;
  margin: 18px 0 0;
  color: var(--six16-muted);
  font-size: 14px;
  line-height: 1.6;
}

.six16-popup__details {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 450px;
  margin-top: 19px;
  padding: 15px 0;
  border-top: 1px solid rgba(17, 17, 15, .14);
  border-bottom: 1px solid rgba(17, 17, 15, .14);
}

.six16-popup__details strong {
  display: block;
  margin-top: 4px;
  color: var(--six16-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 400;
}

.six16-popup__detail-label {
  color: #8c6b2d;
}

.six16-popup__note {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin: 13px 0 0;
  color: #514d45;
  font-size: 11px;
  line-height: 1.6;
}

.six16-popup__note span {
  display: inline-block;
  margin-right: 8px;
  color: var(--six16-gold);
}

.six16-popup__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 19px;
}

.six16-popup__cta,
.six16-popup__dismiss {
  min-height: 48px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 160ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.six16-popup__cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 0 21px 0 24px;
  color: var(--six16-ivory);
  background: var(--six16-ink);
  text-decoration: none;
}

.six16-popup__cta span {
  color: var(--six16-gold-bright);
  font-size: 18px;
  font-weight: 400;
}

.six16-popup__cta:hover,
.six16-popup__cta:focus-visible {
  color: var(--six16-ink);
  background: var(--six16-gold-bright);
}

.six16-popup__dismiss {
  padding: 0 3px;
  color: var(--six16-muted);
  border: 0;
  background: transparent;
  cursor: pointer;
  letter-spacing: .13em;
}

.six16-popup__dismiss:hover,
.six16-popup__dismiss:focus-visible {
  color: var(--six16-ink);
}

.six16-popup__cta:active,
.six16-popup__dismiss:active {
  transform: scale(.97);
}

.six16-popup__reassurance {
  position: relative;
  z-index: 1;
  margin: 13px 0 0;
  color: #8c6b2d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: .03em;
  text-transform: none;
}

.six16-popup__visual {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: var(--six16-ink);
}

.six16-popup__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  transition: transform 1.2s cubic-bezier(.23, 1, .32, 1);
}

.six16-popup.is-open .six16-popup__visual img {
  transform: scale(1);
}

.six16-popup__visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 15, .05) 25%, rgba(17, 17, 15, .82) 100%);
}

.six16-popup__visual-caption {
  position: absolute;
  right: 30px;
  bottom: 30px;
  left: 30px;
  color: var(--six16-ivory);
}

.six16-popup__visual-caption span {
  color: var(--six16-gold-bright);
}

.six16-popup__visual-caption strong {
  display: block;
  margin-top: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .9;
}

.six16-popup__stamp {
  position: absolute;
  top: 25px;
  left: 25px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--six16-gold-bright);
  border: 1px solid rgba(226, 197, 123, .7);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}

.six16-popup__close {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  color: var(--six16-ivory);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  background: rgba(17, 17, 15, .32);
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0;
  font-weight: 300;
  line-height: 0;
  text-align: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color 180ms ease, border-color 180ms ease, transform 160ms ease;
}

.six16-popup__close::before,
.six16-popup__close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 1.5px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%) rotate(45deg);
}

.six16-popup__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.six16-popup__close:hover,
.six16-popup__close:focus-visible {
  border-color: var(--six16-gold-bright);
  background: var(--six16-ink);
}

.six16-popup__close:active {
  transform: scale(.94);
}

.six16-popup a:focus-visible,
.six16-popup button:focus-visible,
.six16-popup__dialog:focus-visible {
  outline: 2px solid var(--six16-gold);
  outline-offset: 3px;
}

html.six16-popup-open,
body.six16-popup-open {
  height: 100%;
  overflow: hidden !important;
  overscroll-behavior: none;
}

@media (max-width: 760px) {
  .six16-popup {
    align-items: end;
    padding: 0;
  }

  .six16-popup__dialog {
    width: 100%;
    height: min(760px, calc(100vh - 8px));
    max-height: calc(100vh - 8px);
    grid-template-columns: 1fr;
    border-radius: 25px 25px 0 0;
    transform: translateY(24px);
  }

  .six16-popup__copy {
    padding: 25px 22px 20px;
  }

  .six16-popup__brand {
    margin-bottom: 17px;
  }

  .six16-popup h2 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .six16-popup__intro {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.6;
  }

  .six16-popup__details {
    margin-top: 15px;
    padding: 12px 0;
  }

  .six16-popup__details strong {
    font-size: 15px;
  }

  .six16-popup__note {
    margin-top: 11px;
    font-size: 11px;
  }

  .six16-popup__actions {
    margin-top: 14px;
  }

  .six16-popup__cta {
    width: 100%;
    justify-content: space-between;
  }

  .six16-popup__dismiss {
    width: 100%;
    min-height: 27px;
  }

  .six16-popup__reassurance {
    margin-top: 10px;
    text-align: center;
  }

  .six16-popup__visual {
    min-height: 145px;
    order: -1;
  }

  .six16-popup__visual-caption {
    right: 22px;
    bottom: 18px;
    left: 22px;
  }

  .six16-popup__visual-caption strong {
    font-size: 31px;
  }

  .six16-popup__stamp {
    top: 18px;
    left: 20px;
    width: 45px;
    height: 45px;
    font-size: 17px;
  }

  .six16-popup__close {
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    color: var(--six16-ink);
    border-color: rgba(255, 253, 248, .7);
    background: rgba(255, 253, 248, .86);
  }
}

@media (prefers-reduced-motion: reduce) {
  .six16-popup,
  .six16-popup__dialog,
  .six16-popup__visual img,
  .six16-popup__cta,
  .six16-popup__dismiss,
  .six16-popup__close {
    transition: none;
  }
}
