@import url("/h5-modes.css");

/* Three-mode layer: Long Poster / Mobile H5 / 4:3 Presentation */
html[data-view-mode="long"] .h5-reveal,
html[data-view-mode="long"] .h5-reveal.is-visible {
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
}

html[data-view-mode="long"] .hero__generated-palace,
html[data-view-mode="long"] .hero__calligraphy,
html[data-view-mode="long"] .hero__kicker,
html[data-view-mode="long"] .hero__subtitle,
html[data-view-mode="long"] .hero__invitation-label,
html[data-view-mode="long"] .hero__details,
html[data-view-mode="long"] .hero__seal,
html[data-view-mode="long"] .hero__brand,
html[data-view-mode="long"] .hero__scroll span,
html[data-view-mode="long"] .hero__lattice {
  animation: none;
}

.mode-dock__modes button {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding-inline: 9px;
  white-space: nowrap;
}

.mode-dock__modes b {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  white-space: nowrap;
}

.mode-dock__modes button[data-mode="h5"] b,
.mode-dock__modes button[data-mode="ppt"] b {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
}

html[data-view-mode="h5"] .ppt-nav,
html[data-view-mode="ppt"] .ppt-nav {
  width: 151px;
  opacity: 1;
  transform: translateX(0);
}

html[data-view-mode="long"] .ppt-nav {
  width: 0;
  opacity: 0;
  transform: translateX(-8px);
}

/* H5 portrait chapters */
html[data-view-mode="h5"],
html[data-view-mode="h5"] body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

html[data-view-mode="h5"] body {
  min-height: 100%;
  background:
    radial-gradient(circle at 50% 18%, #17342d 0, #08130f 52%, #020706 100%);
}

html[data-view-mode="h5"] .poster {
  display: block;
  width: min(100%, 390px);
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  box-shadow: 0 0 100px rgb(0 0 0 / 68%);
}

html[data-view-mode="h5"] .poster > section,
html[data-view-mode="h5"] .poster > footer {
  width: 100%;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

html[data-view-mode="h5"] .poster > section::-webkit-scrollbar,
html[data-view-mode="h5"] .poster > footer::-webkit-scrollbar,
html[data-view-mode="h5"] .poster::-webkit-scrollbar {
  display: none;
}

html[data-view-mode="h5"] .poster > section:not(.hero),
html[data-view-mode="h5"] .poster > footer {
  padding-bottom: max(92px, calc(70px + env(safe-area-inset-bottom)));
}

html[data-view-mode="h5"] .hero {
  overflow: hidden;
}

html[data-view-mode="h5"] .hero__scroll {
  display: none;
}

/* In true PPT mode the poster is replaced by an independent 4:3 deck. */
html[data-view-mode="ppt"] .poster {
  display: none !important;
}

.ppt-deck {
  display: none;
}

html[data-view-mode="ppt"] .ppt-deck {
  position: fixed;
  z-index: 9000;
  inset: 0;
  display: grid;
  place-items: center;
  padding:
    max(34px, calc(18px + env(safe-area-inset-top)))
    12px
    max(92px, calc(74px + env(safe-area-inset-bottom)));
  overflow: hidden;
  color: #f5ead2;
  background:
    radial-gradient(circle at 50% 16%, rgb(33 80 69 / 42%), transparent 35%),
    linear-gradient(145deg, #020807 0%, #071713 48%, #020605 100%);
}

.ppt-deck__label {
  position: absolute;
  top: max(10px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  color: rgb(229 213 170 / 52%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8px;
  letter-spacing: 4px;
  white-space: nowrap;
}

.ppt-stage {
  container-type: size;
  position: relative;
  width: min(
    calc(100vw - 24px),
    calc((100dvh - 126px) * 4 / 3),
    960px
  );
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgb(229 213 170 / 35%);
  background: #0b2822;
  box-shadow:
    0 28px 90px rgb(0 0 0 / 55%),
    0 0 0 1px rgb(255 255 255 / 4%);
}

.ppt-stage::after {
  content: "";
  position: absolute;
  z-index: 40;
  inset: 1.2cqw;
  pointer-events: none;
  border: 1px solid rgb(229 213 170 / 14%);
}

.ppt-slide {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(4%, 0, 0) scale(.985);
  transition:
    opacity 520ms cubic-bezier(.22, .61, .36, 1),
    transform 650ms cubic-bezier(.16, 1, .3, 1),
    visibility 0s linear 650ms;
}

.ppt-slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) scale(1);
  transition-delay: 0s;
}

.ppt-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(90deg, rgb(229 213 170 / 9%) 1px, transparent 1px),
    linear-gradient(rgb(229 213 170 / 7%) 1px, transparent 1px);
  background-size: 3.2cqw 3.2cqw;
  -webkit-mask-image: linear-gradient(135deg, #000, transparent 72%);
  mask-image: linear-gradient(135deg, #000, transparent 72%);
}

.ppt-slide--paper {
  color: #17241f;
  background:
    radial-gradient(circle at 85% 10%, rgb(166 56 37 / 12%), transparent 27%),
    #f3ead6;
}

.ppt-slide--jade {
  background:
    radial-gradient(circle at 82% 18%, rgb(201 166 107 / 18%), transparent 30%),
    linear-gradient(145deg, #071c18, #12372f 58%, #061713);
}

.ppt-slide--red {
  background:
    radial-gradient(circle at 85% 18%, rgb(229 213 170 / 16%), transparent 28%),
    linear-gradient(145deg, #641d18, #a23827 54%, #531512);
}

.ppt-slide--ink {
  background:
    radial-gradient(circle at 50% 50%, #173f35, #061714 68%);
}

.ppt-head {
  position: absolute;
  z-index: 4;
  top: 5.4%;
  left: 5.2%;
  right: 5.2%;
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding-bottom: 1.4cqw;
  border-bottom: 1px solid rgb(201 166 107 / 42%);
}

.ppt-slide--paper .ppt-head {
  border-bottom-color: rgb(112 83 51 / 32%);
}

.ppt-head__meta {
  color: #c9a66b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(7px, 1.15cqw, 12px);
  letter-spacing: .28em;
}

.ppt-slide--paper .ppt-head__meta {
  color: #9a6a40;
}

.ppt-head h2 {
  margin: 0;
  color: inherit;
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(17px, 3.7cqw, 38px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .06em;
}

.ppt-head__page {
  color: rgb(229 213 170 / 46%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(7px, 1.15cqw, 12px);
  letter-spacing: .2em;
}

.ppt-slide--paper .ppt-head__page {
  color: rgb(109 78 47 / 48%);
}

.ppt-cover {
  overflow: hidden;
  background: #071c18;
}

.ppt-cover__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
  filter: saturate(.88) contrast(1.08) brightness(.72);
}

.ppt-cover__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #041410ee 0%, #061713b8 43%, #0513101f 73%),
    linear-gradient(0deg, #04120ff2 0%, transparent 44%);
}

.ppt-cover__seal {
  position: absolute;
  z-index: 3;
  top: 7%;
  left: 5.5%;
  display: grid;
  place-items: center;
  width: 4.2cqw;
  aspect-ratio: 1;
  color: #e5d5aa;
  border: 1px solid rgb(229 213 170 / 70%);
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(7px, 1.45cqw, 15px);
}

.ppt-cover__copy {
  position: absolute;
  z-index: 3;
  top: 19%;
  left: 7%;
  width: 43%;
}

.ppt-cover__copy small {
  color: #c9a66b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(7px, 1.25cqw, 13px);
  letter-spacing: .36em;
}

.ppt-cover__copy h2 {
  margin: 2.7cqw 0 1.3cqw;
  color: #f4e6c7;
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(24px, 6.6cqw, 68px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: .12em;
}

.ppt-cover__copy p {
  margin: 0;
  color: rgb(245 234 210 / 78%);
  font-family: "Kaiti SC", STKaiti, serif;
  font-size: clamp(8px, 1.75cqw, 18px);
  letter-spacing: .18em;
}

.ppt-cover__date {
  position: absolute;
  z-index: 3;
  left: 7%;
  bottom: 8.5%;
  display: flex;
  gap: 5cqw;
  color: #f5ead2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(8px, 1.65cqw, 17px);
  letter-spacing: .12em;
}

.ppt-cover__date span::before {
  display: block;
  margin-bottom: .6cqw;
  color: #c9a66b;
  font-size: .62em;
  letter-spacing: .28em;
}

.ppt-cover__date span:first-child::before {
  content: "THE DATE";
}

.ppt-cover__date span:last-child::before {
  content: "THE PLACE";
}

.ppt-invitation {
  position: absolute;
  z-index: 3;
  top: 19%;
  left: 9%;
  right: 9%;
  bottom: 9%;
  display: grid;
  grid-template-columns: 37% 1fr;
  gap: 5%;
  padding: 4.2cqw;
  border: 1px solid rgb(127 82 46 / 33%);
  background:
    radial-gradient(circle at 16% 12%, #fff, transparent 30%),
    rgb(251 246 232 / 92%);
  box-shadow: 0 2cqw 5cqw rgb(70 43 25 / 12%);
}

.ppt-invitation__title {
  align-self: center;
  padding-right: 3cqw;
  border-right: 1px solid rgb(166 56 37 / 28%);
}

.ppt-invitation__title small {
  color: #a63825;
  font-family: Georgia, serif;
  font-size: clamp(7px, 1.05cqw, 11px);
  letter-spacing: .28em;
}

.ppt-invitation__title h3 {
  margin: 1.7cqw 0 1.1cqw;
  color: #8e2e22;
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(16px, 3.45cqw, 35px);
  font-weight: 600;
  line-height: 1.3;
}

.ppt-invitation__title p {
  margin: 0;
  color: #7c4d37;
  font-family: "Kaiti SC", STKaiti, serif;
  font-size: clamp(9px, 1.65cqw, 17px);
  letter-spacing: .12em;
}

.ppt-invitation__body {
  align-self: center;
  color: #654e40;
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(8px, 1.5cqw, 15px);
  line-height: 1.85;
}

.ppt-invitation__body p {
  margin: 0;
}

.ppt-invitation__body strong {
  display: block;
  margin-top: 1.5cqw;
  color: #a63825;
  font-family: "Kaiti SC", STKaiti, serif;
  font-size: 1.12em;
  letter-spacing: .13em;
}

.ppt-card-grid {
  position: absolute;
  z-index: 3;
  top: 20%;
  left: 5.2%;
  right: 5.2%;
  bottom: 7%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1.5cqw;
}

.ppt-place-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgb(229 213 170 / 28%);
  background: rgb(255 255 255 / 5%);
}

.ppt-place-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.84) brightness(.78);
}

.ppt-place-card__copy {
  position: absolute;
  inset: auto 0 0;
  padding: 1.2cqw 1.5cqw;
  background: linear-gradient(transparent, rgb(2 11 9 / 92%) 38%);
}

.ppt-place-card__copy b {
  display: block;
  color: #f5ead2;
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(10px, 2.25cqw, 23px);
  font-weight: 500;
}

.ppt-place-card__copy span {
  color: rgb(229 213 170 / 74%);
  font-size: clamp(7px, 1.05cqw, 11px);
  letter-spacing: .12em;
}

.ppt-food-grid {
  position: absolute;
  z-index: 3;
  top: 20%;
  left: 5.2%;
  right: 5.2%;
  bottom: 8%;
  display: grid;
  grid-template-columns: 1.05fr 1.05fr .9fr;
  gap: 1.5cqw;
}

.ppt-food-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(112 83 51 / 28%);
  background: #fff8e9;
}

.ppt-food-card img {
  width: 100%;
  height: 70%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.03);
}

.ppt-food-card div {
  padding: 1.25cqw 1.4cqw;
}

.ppt-food-card small {
  color: #a63825;
  font-size: clamp(7px, 1cqw, 10px);
  letter-spacing: .16em;
}

.ppt-food-card h3 {
  margin: .45cqw 0 0;
  color: #34261f;
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(10px, 2.2cqw, 22px);
  font-weight: 600;
}

.ppt-food-card--jade {
  color: #f5ead2;
  border-color: rgb(201 166 107 / 45%);
  background: #0b2b24;
}

.ppt-food-card--jade h3 {
  color: #f5ead2;
}

.ppt-concert-layout {
  position: absolute;
  z-index: 3;
  top: 20%;
  left: 5.2%;
  right: 5.2%;
  bottom: 7%;
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 2.1cqw;
}

.ppt-concert-layout__main,
.ppt-concert-layout__vip {
  position: relative;
  overflow: hidden;
}

.ppt-concert-layout__main img,
.ppt-concert-layout__vip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.88) brightness(.82);
}

.ppt-concert-layout__main div {
  position: absolute;
  inset: auto 0 0;
  padding: 2.2cqw;
  background: linear-gradient(transparent, rgb(53 12 9 / 95%) 42%);
}

.ppt-concert-layout h3 {
  margin: 0 0 .65cqw;
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(13px, 2.9cqw, 29px);
  font-weight: 600;
}

.ppt-concert-layout p {
  margin: 0;
  color: rgb(245 234 210 / 75%);
  font-family: "Kaiti SC", STKaiti, serif;
  font-size: clamp(8px, 1.45cqw, 15px);
  line-height: 1.5;
}

.ppt-concert-layout__vip div {
  position: absolute;
  top: 8%;
  right: 5%;
  width: 52%;
  padding: 2cqw;
  color: #17241f;
  background: rgb(251 246 232 / 92%);
  box-shadow: 0 1.8cqw 4cqw rgb(45 9 7 / 23%);
}

.ppt-concert-layout__vip small {
  color: #a63825;
  font-size: clamp(7px, 1cqw, 10px);
  letter-spacing: .16em;
}

.ppt-concert-layout__vip h3 {
  margin-top: 1cqw;
  color: #6d241c;
}

.ppt-concert-layout__vip p {
  color: #5f4c42;
}

.ppt-wellness-layout {
  position: absolute;
  z-index: 3;
  top: 20%;
  left: 5.2%;
  right: 5.2%;
  bottom: 8%;
  display: grid;
  grid-template-columns: 58% 1fr;
  overflow: hidden;
  border: 1px solid rgb(116 91 57 / 30%);
  background: #fbf6e8;
}

.ppt-wellness-layout img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78) contrast(1.03);
}

.ppt-wellness-layout__copy {
  align-self: center;
  padding: 3cqw;
}

.ppt-wellness-layout__copy small {
  color: #9d7954;
  font-family: Georgia, serif;
  font-size: clamp(6px, .9cqw, 9px);
  line-height: 1.5;
  letter-spacing: .08em;
}

.ppt-wellness-layout__copy h3 {
  margin: 1.25cqw 0 1cqw;
  color: #7f2d21;
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(14px, 3cqw, 30px);
  line-height: 1.2;
}

.ppt-wellness-layout__copy p {
  margin: 0;
  color: #65564b;
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(8px, 1.3cqw, 13px);
  line-height: 1.75;
}

.ppt-schedule-grid {
  position: absolute;
  z-index: 3;
  top: 21%;
  left: 5.2%;
  right: 5.2%;
  bottom: 8%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35cqw;
}

.ppt-day {
  padding: 2cqw 1.7cqw;
  border: 1px solid rgb(213 184 126 / 32%);
  background: rgb(244 232 203 / 7%);
}

.ppt-day__number {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: #c9a66b;
  font-family: Georgia, serif;
  font-size: clamp(7px, 1cqw, 10px);
  letter-spacing: .12em;
}

.ppt-day__number strong {
  color: #f5ead2;
  font-size: clamp(17px, 3.6cqw, 36px);
  font-weight: 400;
}

.ppt-day h3 {
  margin: 1cqw 0 1.4cqw;
  color: #f5ead2;
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(11px, 2.1cqw, 21px);
  font-weight: 500;
}

.ppt-day ul {
  display: grid;
  gap: .9cqw;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ppt-day li {
  color: rgb(245 234 210 / 72%);
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(7px, 1.15cqw, 12px);
  line-height: 1.55;
}

.ppt-day li b {
  display: block;
  color: #c9a66b;
  font-weight: 400;
}

.ppt-travel-grid {
  position: absolute;
  z-index: 3;
  top: 21%;
  left: 5.2%;
  right: 5.2%;
  bottom: 8%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.7cqw;
}

.ppt-flight {
  overflow: hidden;
  border: 1px solid rgb(116 91 57 / 30%);
  background: rgb(255 250 239 / 86%);
}

.ppt-flight h3 {
  margin: 0;
  padding: 1.4cqw 1.8cqw;
  color: #f7ead0;
  background: #a63825;
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(11px, 2.05cqw, 21px);
  font-weight: 500;
}

.ppt-flight > p {
  min-height: 5cqw;
  margin: 0;
  padding: 1.25cqw 1.8cqw;
  color: #6f5842;
  border-bottom: 1px solid rgb(116 91 57 / 22%);
  font-size: clamp(7px, 1.1cqw, 11px);
  line-height: 1.55;
}

.ppt-flight__row {
  display: grid;
  grid-template-columns: 1.5fr .65fr .8fr;
  border-bottom: 1px solid rgb(116 91 57 / 18%);
}

.ppt-flight__row span,
.ppt-flight__row strong {
  padding: 1.25cqw 1cqw;
  color: #655341;
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(6px, 1cqw, 10px);
  line-height: 1.4;
}

.ppt-flight__row strong {
  color: #a63825;
  font-family: Georgia, serif;
}

.ppt-weather-layout {
  position: absolute;
  z-index: 3;
  top: 21%;
  left: 5.2%;
  right: 5.2%;
  bottom: 8%;
  display: grid;
  grid-template-columns: 52% 1fr;
  gap: 2cqw;
}

.ppt-weather-days {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1cqw;
}

.ppt-weather-day {
  align-self: stretch;
  padding: 1.7cqw 1.2cqw;
  color: #17241f;
  background: linear-gradient(150deg, #fff, #ece1ca);
  box-shadow: 0 1.5cqw 3cqw rgb(67 11 9 / 16%);
}

.ppt-weather-day small {
  color: #816442;
  font-family: Georgia, serif;
  font-size: clamp(7px, 1.05cqw, 11px);
}

.ppt-weather-day strong {
  display: block;
  margin: 2.2cqw 0 .4cqw;
  color: #a43827;
  font-family: Georgia, serif;
  font-size: clamp(17px, 3.6cqw, 36px);
  font-weight: 400;
}

.ppt-weather-day span {
  color: #597069;
  font-family: Georgia, serif;
  font-size: clamp(9px, 1.55cqw, 16px);
}

.ppt-weather-day em {
  display: block;
  margin-top: 2.2cqw;
  color: #5e756e;
  font-size: clamp(7px, 1.1cqw, 11px);
  font-style: normal;
  letter-spacing: .15em;
}

.ppt-weather-tips {
  padding: 2.2cqw;
  border: 1px solid rgb(241 220 174 / 31%);
  background: rgb(54 9 7 / 20%);
}

.ppt-weather-tips h3 {
  margin: 0 0 1.5cqw;
  color: #e5d5aa;
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(12px, 2.35cqw, 24px);
  font-weight: 500;
}

.ppt-weather-tips ul {
  display: grid;
  gap: 1.05cqw;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ppt-weather-tips li {
  color: rgb(250 236 207 / 78%);
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(7px, 1.15cqw, 12px);
  line-height: 1.55;
}

.ppt-weather-tips b {
  color: #e5d5aa;
  font-weight: 500;
}

.ppt-finale {
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.ppt-finale__rings {
  position: absolute;
  width: 46%;
  aspect-ratio: 1;
  border: 1px solid rgb(229 213 170 / 20%);
  border-radius: 50%;
  box-shadow:
    0 0 0 4cqw rgb(229 213 170 / 5%),
    0 0 0 9cqw rgb(229 213 170 / 3%);
}

.ppt-finale__copy {
  position: relative;
  z-index: 3;
}

.ppt-finale__copy small {
  color: #c9a66b;
  font-family: Georgia, serif;
  font-size: clamp(7px, 1.1cqw, 11px);
  letter-spacing: .35em;
}

.ppt-finale__copy h2 {
  margin: 1.2cqw 0;
  color: #f5ead2;
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(25px, 6cqw, 60px);
  font-weight: 500;
  letter-spacing: .15em;
}

.ppt-finale__copy i {
  display: block;
  width: 5cqw;
  height: 1px;
  margin: 2cqw auto;
  background: #a63825;
}

.ppt-finale__copy strong {
  color: #f4e6c7;
  font-family: Georgia, serif;
  font-size: clamp(12px, 2.5cqw, 25px);
  font-weight: 400;
  letter-spacing: .18em;
}

.ppt-finale__copy p {
  margin: 2.2cqw 0 0;
  color: rgb(229 213 170 / 55%);
  font-family: Georgia, serif;
  font-size: clamp(7px, 1.15cqw, 12px);
  letter-spacing: .3em;
}

@media (max-width: 370px) {
  .mode-dock__modes button {
    min-width: 47px;
    padding-inline: 7px;
  }

  html[data-view-mode="h5"] .ppt-nav,
  html[data-view-mode="ppt"] .ppt-nav {
    width: 142px;
  }
}

@media (max-height: 740px) {
  html[data-view-mode="h5"] .hero__title-wrap {
    top: 70px;
    transform: scale(.84);
    transform-origin: top left;
  }

  html[data-view-mode="h5"] .hero__generated-palace {
    top: -22px;
  }

  html[data-view-mode="h5"] .hero__invitation-label {
    top: auto;
    bottom: 184px;
  }

  html[data-view-mode="h5"] .hero__details {
    bottom: 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ppt-slide,
  .ppt-slide.is-active {
    transition: none;
  }
}

/* H5 keeps the original poster design, split into viewport-sized pages. */
.h5-deck {
  display: none;
}

html[data-view-mode="h5"] .poster {
  display: none !important;
}

html[data-view-mode="h5"] .h5-deck {
  position: fixed;
  z-index: 9000;
  inset: 0;
  display: grid;
  place-items: start center;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 14%, rgb(34 82 70 / 45%), transparent 38%),
    #030b09;
}

.h5-stage {
  container-type: inline-size;
  position: relative;
  width: min(100vw, 390px);
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #071c18;
  box-shadow: 0 0 100px rgb(0 0 0 / 65%);
  touch-action: none;
}

.h5-page {
  position: absolute !important;
  z-index: 1;
  inset: 0;
  width: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 0 !important;
  max-height: none !important;
  box-sizing: border-box;
  overflow: hidden !important;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 3%, 0) scale(.99);
  transition:
    opacity 430ms cubic-bezier(.22, .61, .36, 1),
    transform 560ms cubic-bezier(.16, 1, .3, 1),
    visibility 0s linear 560ms;
}

.h5-page.is-active {
  z-index: 2;
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) scale(1);
  transition-delay: 0s;
}

.h5-page .h5-sequence {
  opacity: 0;
  translate: 0 18px;
  scale: .985;
  transition:
    opacity 620ms ease var(--h5-sequence-delay, 80ms),
    translate 760ms cubic-bezier(.16, 1, .3, 1) var(--h5-sequence-delay, 80ms),
    scale 760ms cubic-bezier(.16, 1, .3, 1) var(--h5-sequence-delay, 80ms);
}

.h5-page.is-entered .h5-sequence {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

.h5-deck .hero__generated-palace,
.h5-deck .hero__calligraphy,
.h5-deck .hero__kicker,
.h5-deck .hero__subtitle,
.h5-deck .hero__invitation-label,
.h5-deck .hero__details,
.h5-deck .hero__seal,
.h5-deck .hero__brand,
.h5-deck .hero__lattice {
  animation: none !important;
}

.h5-page.highlight,
.h5-page.schedule,
.h5-page.travel,
.h5-page.weather {
  padding:
    max(42px, calc(28px + env(safe-area-inset-top)))
    20px
    max(88px, calc(72px + env(safe-area-inset-bottom)));
}

.h5-page .section-heading {
  margin-bottom: clamp(15px, 2.8vh, 26px);
}

.h5-page .section-heading__meta {
  margin-bottom: 7px;
}

.h5-page .section-heading h2 {
  font-size: clamp(25px, 7.3cqw, 29px);
  line-height: 1.2;
}

.h5-page .section-heading > i {
  margin-top: 11px;
}

.h5-page--hero {
  padding: 0;
}

.h5-page--hero .hero__generated-palace {
  width: max(455px, 117%);
  min-height: 64%;
  object-fit: cover;
}

.h5-page--hero .hero__scroll {
  display: none;
}

.h5-page--invitation {
  display: grid;
  place-items: center;
  padding:
    max(48px, calc(34px + env(safe-area-inset-top)))
    20px
    max(90px, calc(74px + env(safe-area-inset-bottom)));
}

.h5-page--invitation .invitation__linework {
  inset: max(24px, env(safe-area-inset-top)) 12px
    max(78px, calc(62px + env(safe-area-inset-bottom)));
}

.h5-page--invitation .paper-card {
  width: 100%;
  padding: clamp(30px, 5.8vh, 46px) 22px clamp(28px, 5vh, 40px);
}

.h5-page--invitation .paper-card__eyebrow {
  margin-bottom: clamp(12px, 2.4vh, 18px);
}

.h5-page--invitation .paper-card h2 {
  margin-bottom: clamp(13px, 2.5vh, 20px);
}

.h5-page--invitation .paper-card__body {
  line-height: clamp(1.75, 2.5vh, 2.05);
}

.h5-page--heritage-one .feature,
.h5-page--heritage-two .feature {
  margin-bottom: 0;
}

.h5-page--heritage-one .feature__generated-photo {
  height: clamp(225px, 37vh, 335px);
  aspect-ratio: auto;
}

.h5-page--heritage-one .feature > div:last-child {
  padding: clamp(18px, 3.2vh, 26px) 22px;
}

.h5-page--heritage-two .feature--reverse {
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  height: clamp(188px, 27vh, 235px);
  margin-bottom: 12px;
}

.h5-page--heritage-two .feature--reverse > img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.h5-page--heritage-two .feature--reverse > div:last-child {
  padding: 15px 13px;
  overflow: hidden;
}

.h5-page--heritage-two .feature h3 {
  font-size: 20px;
}

.h5-page--heritage-two .feature small {
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.h5-page--heritage-two .feature p:last-child {
  font-size: 9px;
  line-height: 1.55;
}

.h5-page--heritage-two .feature-grid {
  height: clamp(220px, 31vh, 275px);
  gap: 10px;
}

.h5-page--heritage-two .mini-feature {
  display: grid;
  grid-template-rows: 47% auto auto 1fr;
  padding: 8px 8px 13px;
  overflow: hidden;
}

.h5-page--heritage-two .mini-feature .scene-photo--mini {
  width: 100%;
  height: 100%;
  margin-bottom: 8px;
  aspect-ratio: auto;
}

.h5-page--heritage-two .mini-feature .feature__number {
  margin: 7px 3px 2px;
}

.h5-page--heritage-two .mini-feature h3 {
  margin: 0 3px 3px;
  font-size: 16px;
}

.h5-page--heritage-two .mini-feature p:last-child {
  margin: 0 3px;
  font-size: 8.5px;
  line-height: 1.45;
}

.h5-page--food .food-story {
  grid-template-rows: auto auto;
}

.h5-page--food .food-story > img {
  height: clamp(120px, 18vh, 155px);
  aspect-ratio: auto;
  object-fit: cover;
}

.h5-page--food .food-story__caption {
  padding: 15px 56px 15px 22px;
}

.h5-page--food .food-story__caption::before {
  top: 16px;
  bottom: 16px;
}

.h5-page--food .food-story__caption h3,
.h5-page--food .hotpot-card h3 {
  margin: 5px 0;
  font-size: 21px;
}

.h5-page--food .hotpot-card {
  display: grid;
  grid-template-columns: 46% 1fr;
  min-height: clamp(165px, 23vh, 205px);
  margin-top: 13px;
}

.h5-page--food .hotpot-card > img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-right: 1px solid rgb(205 170 106 / 40%);
  border-bottom: 0;
}

.h5-page--food .hotpot-card > div:last-child {
  align-self: center;
  padding: 20px 20px;
}

.h5-page--food .hotpot-card > div:last-child::after {
  top: 8px;
  right: 10px;
  font-size: 25px;
}

.h5-page--concert .concert-layout {
  min-height: 0;
  height: clamp(435px, 61vh, 540px);
}

.h5-page--concert .concert-layout::before {
  width: 88%;
  height: 42%;
}

.h5-page--concert .concert-layout__poster {
  height: 45%;
  aspect-ratio: auto;
}

.h5-page--concert .concert-layout__quote {
  top: 25%;
  width: 47%;
  padding: 13px 11px;
}

.h5-page--concert .concert-layout__quote > span {
  height: 17px;
  font-size: 35px;
}

.h5-page--concert .concert-layout__quote p {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.65;
}

.h5-page--concert .concert-layout__vip {
  top: 44%;
  width: 49%;
  height: 50%;
  aspect-ratio: auto;
}

.h5-page--concert .concert-layout__service {
  top: 49%;
  right: 0;
  width: 46%;
  padding: 13% 0 0 18px;
}

.h5-page--concert .concert-layout__service::before {
  left: 17px;
  height: 10%;
}

.h5-page--concert .concert-layout__service h3 {
  margin: 7px 0 9px;
  font-size: 18px;
}

.h5-page--wellness .wellness-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(440px, 62vh, 560px);
  padding: clamp(24px, 4vh, 32px) 20px 20px;
}

.h5-page--wellness .wellness-card__copy p {
  margin-bottom: clamp(16px, 3vh, 24px);
}

.h5-page--wellness .wellness-card > img {
  height: clamp(235px, 36vh, 330px);
  aspect-ratio: auto;
  object-fit: cover;
}

.h5-page--schedule .schedule__line {
  top: 160px;
  bottom: 96px;
  left: 43px;
}

.h5-page--schedule .schedule__days {
  gap: clamp(8px, 1.5vh, 13px);
}

.h5-page--schedule .day-card {
  grid-template-columns: 48px 1fr;
  min-height: 0;
}

.h5-page--schedule .day-card__index {
  padding-top: 10px;
}

.h5-page--schedule .day-card__index strong {
  font-size: 23px;
}

.h5-page--schedule .day-card__content {
  padding: clamp(10px, 1.8vh, 15px) 13px 12px 17px;
}

.h5-page--schedule .day-card__content > p {
  margin-bottom: 8px;
  font-size: 15px;
}

.h5-page--schedule .day-card ul {
  gap: 4px;
}

.h5-page--schedule .day-card li {
  grid-template-columns: 41px 1fr;
  font-size: 9px;
  line-height: 1.4;
}

.h5-page--travel .flight-card + .flight-card {
  margin-top: clamp(12px, 2vh, 18px);
}

.h5-page--travel .flight-card__title {
  grid-template-columns: 49px 1fr;
}

.h5-page--travel .flight-card__title > p {
  min-height: 56px;
  padding: 10px 13px;
}

.h5-page--travel .flight-card__row {
  min-height: 37px;
}

.h5-page--travel .flight-card__row--head {
  min-height: 29px;
}

.h5-page--travel .flight-card__row > * {
  padding: 6px;
}

.h5-page--travel .travel__note {
  margin-top: 11px;
}

.h5-page--weather-one .weather__grid {
  gap: 7px;
}

.h5-page--weather-one .weather-card {
  min-height: clamp(112px, 16vh, 140px);
  padding: 12px 9px 10px;
}

.h5-page--weather-one .tips-card {
  margin-top: clamp(27px, 4vh, 35px);
  padding: clamp(20px, 3vh, 26px) 18px 20px;
}

.h5-page--weather-one .tips-card__label {
  margin-bottom: 17px;
}

.h5-page--weather-one .tips-card ul {
  gap: clamp(8px, 1.5vh, 13px);
}

.h5-page--weather-two .checklist {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(390px, 57vh, 520px);
  margin-top: clamp(32px, 5vh, 48px);
  padding: 35px 24px 28px;
}

.h5-page--weather-two .checklist .tips-card__label {
  margin-bottom: clamp(28px, 5vh, 45px);
}

.h5-page--weather-two .checklist ol {
  gap: clamp(25px, 5vh, 45px);
}

.h5-page--weather-two .checklist li {
  grid-template-columns: 48px 1fr;
}

.h5-page--weather-two .checklist li > b {
  font-size: 22px;
}

.h5-page--weather-two .checklist li > p {
  font-size: 11px;
}

.h5-page--weather-two .checklist li strong {
  margin-bottom: 3px;
  font-size: 14px;
}

.h5-page--finale {
  padding-top: clamp(95px, 14vh, 135px);
}

.h5-page--finale .finale__sign {
  bottom: max(90px, calc(74px + env(safe-area-inset-bottom)));
}

@media (max-height: 720px) {
  .h5-page.highlight,
  .h5-page.schedule,
  .h5-page.travel,
  .h5-page.weather {
    padding-top: max(28px, calc(20px + env(safe-area-inset-top)));
    padding-bottom: max(76px, calc(64px + env(safe-area-inset-bottom)));
  }

  .h5-page .section-heading {
    margin-bottom: 12px;
    transform: scale(.88);
    transform-origin: top left;
    width: 113.5%;
  }

  .h5-page--invitation {
    padding-top: max(31px, calc(23px + env(safe-area-inset-top)));
    padding-bottom: max(78px, calc(66px + env(safe-area-inset-bottom)));
  }

  .h5-page--invitation .paper-card {
    padding-top: 24px;
    padding-bottom: 22px;
  }

  .h5-page--invitation .paper-card__body {
    font-size: 11px;
    line-height: 1.72;
  }

  .h5-page--invitation .paper-card__closing {
    margin-top: 14px;
  }

  .h5-page--heritage-one .feature__generated-photo {
    height: 205px;
  }

  .h5-page--heritage-two .feature--reverse {
    height: 176px;
  }

  .h5-page--heritage-two .feature-grid {
    height: 205px;
  }

  .h5-page--food .food-story > img {
    height: 105px;
  }

  .h5-page--food .hotpot-card {
    min-height: 145px;
  }

  .h5-page--concert .concert-layout {
    height: 405px;
  }

  .h5-page--wellness .wellness-card {
    min-height: 390px;
  }

  .h5-page--wellness .wellness-card > img {
    height: 205px;
  }

  .h5-page--schedule .day-card__content {
    padding-block: 8px;
  }

  .h5-page--schedule .day-card__content > p {
    margin-bottom: 5px;
  }

  .h5-page--weather-two .checklist {
    min-height: 350px;
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .h5-page,
  .h5-page.is-active {
    transform: none;
    transition: none;
  }

  .h5-page .h5-sequence,
  .h5-page.is-entered .h5-sequence {
    opacity: 1;
    translate: none;
    scale: 1;
    transition: none;
  }
}
