:root {
  --gold: #a99d80;
  --ink: #111;
  --card: #ebeef5;
  --logo-h: 100px;
  --header-pad: 2vw;
  --sans:
    Poppins, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #fff;
  background: var(--gold);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  padding-top: calc(var(--logo-h) + var(--header-pad) * 2);
}

main {
  --main-pad: 12px;
  padding-inline: var(--main-pad);
}

main > :last-child {
  margin-inline: calc(-1 * var(--main-pad));
}

/* main section {
  padding: 0 12px !important;
} */
img {
  max-width: 100%;
  height: auto;
}

button,
a {
  font-family: inherit;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 40;
  background: #fff;
  color: #111;
  padding: 8px 12px;
}

.skip:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: var(--gold);
  text-align: center;
  padding: var(--header-pad) 56px;
  border: 1px solid #000;
}

.logo-link {
  display: inline-block;
  line-height: 0;
}

.site-header img {
  height: var(--logo-h);
  width: auto;
}

.menu-btn {
  display: none;
  position: absolute;
  top: 50%;
  right: 16px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
}

.plus,
.plus::before,
.plus::after {
  display: block;
  background: #fff;
}

.plus {
  position: relative;
  width: 18px;
  height: 1px;
  margin: 0 auto;
}

.plus::before,
.plus::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 1px;
}

.plus::after {
  width: 1px;
  height: 18px;
  left: 8px;
  top: -8px;
}

.plus.is-open {
  background: transparent;
}

.plus.is-open::before {
  transform: rotate(45deg);
}

.plus.is-open::after {
  left: 0;
  top: 0;
  width: 18px;
  height: 1px;
  transform: rotate(-45deg);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 25;
  background: var(--gold);
}

.menu-overlay[hidden] {
  display: none;
}

.wrap {
  width: min(1200px, 100%);
  margin-inline: auto;
  padding-inline: 3vw;
}

.col {
  width: 41.6%;
  max-width: 480px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.92fr);
  column-gap: 48px;
  align-items: center;
  padding-block: 46px 64px;
}

.hero-grid > img {
  width: 100%;
  height: auto;
  aspect-ratio: 529 / 465;
  object-fit: cover;
  display: block;
}

.hero-copy {
  container-type: inline-size;
  min-width: 0;
}

.hero-copy h1 {
  margin: 0;
  text-align: center;
  font-size: min(29.8px, calc(100cqi / 15.2));
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-copy p {
  margin: 28px 0 0;
}

.gallery {
  position: relative;
  height: 35vh;
  min-height: 240px;
  /* background: #8f856c; */
  padding: 0 15px;
}

.gallery-track {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.gallery-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.gallery-track img.is-active {
  opacity: 1;
}

/* .gallery-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 36px;
  height: 42px;
  border: 0;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.72);
  color: #4a4a4a;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
} */
.gallery-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 28px;
  height: 39px;
  border: 0;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.42);
  color: #4a4a4a;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.gallery-btn.prev {
  left: 36px;
}

.gallery-btn.next {
  right: 36px;
}

.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.dots button.is-active {
  background: #fff;
}

.floors {
  padding: 92px 0 28px;
}

.floors p,
.access p,
.privilege-card p {
  margin: 0 0 16px;
}

.floors p:last-child,
.access p:last-child,
.privilege-card p:last-child {
  margin-bottom: 0;
}

.lead {
  text-align: center;
  margin-bottom: 28px;
}

strong {
  font-weight: 700;
}

.pair {
  padding: 80px 0 8px;
}

.pair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 12px;
  align-items: start;
  padding-bottom: 68px;
}

.pair-grid img {
  width: 100%;
  aspect-ratio: 484 / 295;
  object-fit: cover;
  display: block;
}

/* .pair-grid img:last-child {
  margin-top: 68px;
} */

.access {
  padding: 0px 0 32px;
}

.privilege {
  padding: 0px 3vw 36px;
}

.privilege-card {
  width: min(640px, 54%);
  margin: 0 auto;
  padding: 34px 28px;
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  text-align: center;
}

.poster {
  padding: 0px 0 33px;
}

.poster img {
  /* width: 136px; */
  width: min(300px, 50vw);
  height: auto;
  display: block;
  margin: 0 auto;
}

.scan {
  background: #fff;
  color: var(--ink);
  padding: 0 0 180px;
}

.scan-grid {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  padding: 0 6vw;
  text-align: center;
}

.scan figure {
  margin: 0;
}

.scan .qr {
  width: min(227px, 78%);
  height: auto;
  display: block;
  margin: 0 auto;
}

.scan figcaption {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
}

.xhs-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.xhs-line img {
  width: 23px;
  height: 23px;
  flex: none;
}

@media (max-width: 799px) {
  :root {
    --logo-h: 50px;
    --header-pad: 6vw;
  }

  .menu-btn {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    row-gap: 28px;
    padding-block: 49px 69px;
  }

  .hero-grid > img {
    aspect-ratio: 16 / 10;
  }

  .hero-copy h1 {
    font-size: min(1.65rem, calc(100cqi / 15.2));
  }

  .col,
  .privilege-card {
    width: 100%;
    max-width: none;
  }

  .floors {
    padding-top: 60px;
  }

  .pair-grid {
    column-gap: 8px;
    padding-bottom: 22px;
  }

  /* .pair-grid img:last-child {
    margin-top: 22px;
  } */

  .poster img {
    width: min(390px, 90vw);
  }

  .scan {
    /* padding-bottom: 72px; */
    padding: 30px 1px 42px;
  }

  .scan-grid {
    padding-inline: 16px;
    column-gap: 12px;
  }

  .scan .qr {
    width: min(220px, 100%);
  }

  .scan figcaption {
    font-size: 15px;
    line-height: 1.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .gallery-track img {
    transition: none;
  }
}
