:root {
  --logo-orange: #f05a18;
  --hot-orange: #ff7a1b;
  --deep-red: #8f1d12;
  --wine: #5a130d;
  --gold: #ffd47a;
  --cream: #fff7df;
  --paper: rgba(255, 255, 255, 0.15);
  --paper-strong: rgba(255, 255, 255, 0.22);
  --line: rgba(255, 255, 255, 0.28);
  --shadow: rgba(86, 17, 7, 0.36);
  --max-page: 480px;
}

@font-face {
  font-family: "InviteTitleSerif";
  src: url("assets/fonts/SourceHanSerifSC-Heavy.ttf") format("truetype");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--cream);
  font-family: "PingFang SC", "Microsoft YaHei", "Heiti SC", Arial, sans-serif;
  background:
    radial-gradient(ellipse at 16% 6%, rgba(255, 246, 210, 0.86) 0, rgba(255, 166, 54, 0.22) 24%, transparent 45%),
    radial-gradient(ellipse at 85% 24%, rgba(255, 211, 107, 0.46) 0, transparent 36%),
    linear-gradient(155deg, #ff8b24 0%, var(--logo-orange) 44%, #e64512 100%);
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
}

body::before {
  z-index: -4;
  background:
    repeating-radial-gradient(ellipse at 18% 78%, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 18px),
    repeating-radial-gradient(ellipse at 82% 18%, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 24px);
  opacity: 0.46;
}

body::after {
  z-index: -3;
  background:
    linear-gradient(112deg, transparent 0 42%, rgba(255, 255, 255, 0.12) 43%, transparent 46% 100%),
    repeating-linear-gradient(108deg, transparent 0 24px, rgba(255, 255, 255, 0.04) 25px 26px, transparent 27px 48px);
  mix-blend-mode: screen;
  opacity: 0.42;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.wechat-share-thumb {
  position: fixed;
  left: -9999px;
  top: -9999px;
  width: 320px;
  height: 320px;
  object-fit: cover;
  opacity: 0.01;
  pointer-events: none;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.light-sweep,
.silk,
.dot-field,
.line-ring,
.space-grid,
.orbit-line,
.cityline {
  position: absolute;
  display: block;
}

.light-sweep {
  width: min(118vw, 760px);
  height: 170px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 251, 219, 0.48) 48%, transparent 100%);
  filter: blur(10px);
  opacity: 0.78;
  transform-origin: center;
  animation: sweepDrift 8s ease-in-out infinite alternate;
}

.light-sweep-a {
  top: 10vh;
  left: -22vw;
  transform: rotate(-10deg);
}

.light-sweep-b {
  right: -34vw;
  bottom: 16vh;
  transform: rotate(17deg);
  animation-duration: 10s;
}

.silk {
  width: 150vw;
  max-width: 780px;
  height: 118px;
  left: 50%;
  border-radius: 999px;
  background:
    linear-gradient(92deg, transparent 0%, rgba(255, 244, 197, 0.22) 18%, rgba(255, 255, 255, 0.35) 50%, transparent 78%),
    linear-gradient(180deg, #b91910 0%, #ef4b16 48%, #ff8f24 100%);
  box-shadow: 0 22px 45px rgba(110, 20, 10, 0.24);
  opacity: 0.72;
  transform-origin: center;
  animation: silkFloat 7.5s ease-in-out infinite alternate;
}

.silk-a {
  top: 7vh;
  transform: translateX(-50%) rotate(-8deg);
}

.silk-b {
  top: 18vh;
  transform: translateX(-48%) rotate(8deg);
  opacity: 0.52;
  animation-duration: 9s;
}

.silk-c {
  bottom: 4vh;
  transform: translateX(-52%) rotate(-4deg);
  opacity: 0.34;
  animation-duration: 10s;
}

.dot-field {
  width: 240px;
  height: 240px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.46) 1px, transparent 1.4px);
  background-size: 15px 15px;
  opacity: 0.28;
  mask-image: radial-gradient(circle, #000 0 36%, transparent 70%);
  animation: dotPulse 7.2s ease-in-out infinite alternate;
  will-change: opacity, scale;
}

.dot-field::before,
.dot-field::after {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  display: none;
  pointer-events: none;
  content: "";
}

.dot-field::before {
  background: radial-gradient(circle at 32% 40%, rgba(255, 250, 218, 0.68), transparent 19%);
  mix-blend-mode: screen;
  animation: none;
}

.dot-field::after {
  background: linear-gradient(112deg, transparent 0 42%, rgba(255, 238, 178, 0.36) 48%, transparent 56% 100%);
  opacity: 0;
  transform: translateX(-40%) rotate(12deg);
  mix-blend-mode: screen;
  animation: none;
}

.dot-field-a {
  top: 22vh;
  left: max(8px, calc((100vw - var(--max-page)) / 2 + 10px));
}

.dot-field-b {
  right: max(0px, calc((100vw - var(--max-page)) / 2 - 24px));
  bottom: 20vh;
  transform: rotate(24deg);
  opacity: 0.2;
  animation-duration: 8s;
}

.line-ring {
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  opacity: 0.38;
}

.line-ring::before,
.line-ring::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: inherit;
  content: "";
}

.line-ring::before {
  inset: 22px;
}

.line-ring::after {
  inset: 46px;
}

.line-ring::before,
.line-ring::after {
  animation: ringInnerPulse 5.8s ease-in-out infinite;
}

.line-ring::after {
  animation-delay: 820ms;
}

.line-ring-a {
  top: 43vh;
  left: max(-180px, calc((100vw - var(--max-page)) / 2 - 190px));
  animation:
    slowTurn 26s linear infinite,
    ringGlowBreath 6.4s ease-in-out infinite;
}

.line-ring-b {
  right: max(-205px, calc((100vw - var(--max-page)) / 2 - 210px));
  bottom: 2vh;
  width: 420px;
  height: 420px;
  animation:
    slowTurn 32s linear infinite reverse,
    ringGlowBreath 7.6s ease-in-out infinite;
  animation-delay: 0s, 1.1s;
}

.space-grid {
  left: 50%;
  bottom: -22vh;
  width: min(118vw, 560px);
  height: 46vh;
  opacity: 0.18;
  background:
    linear-gradient(90deg, rgba(255, 241, 190, 0.18) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 241, 190, 0.2) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.78) 38%, transparent 82%);
  transform: translateX(-50%) perspective(520px) rotateX(64deg) translateY(10px);
  transform-origin: 50% 100%;
  mix-blend-mode: screen;
  animation: spaceGridDrift 10.5s ease-in-out infinite alternate;
}

.orbit-line {
  width: 420px;
  height: 190px;
  border: 1px solid rgba(255, 242, 194, 0.16);
  border-radius: 50%;
  opacity: 0.26;
  mix-blend-mode: screen;
}

.orbit-line::before {
  position: absolute;
  left: 8%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 248, 219, 0.9);
  box-shadow: 0 0 18px rgba(255, 235, 170, 0.54);
  content: "";
}

.orbit-line-a {
  top: 12vh;
  right: max(-170px, calc((100vw - var(--max-page)) / 2 - 156px));
  transform: rotate(-18deg);
  animation: orbitDriftA 13s ease-in-out infinite alternate;
}

.orbit-line-b {
  left: max(-190px, calc((100vw - var(--max-page)) / 2 - 178px));
  bottom: 16vh;
  width: 360px;
  height: 150px;
  opacity: 0.18;
  transform: rotate(16deg);
  animation: orbitDriftB 15s ease-in-out infinite alternate;
}

.cityline {
  --city-scale: 1;
  --city-scale-end: 1.02;
  --city-opacity-from: 0.16;
  --city-opacity-to: 0.28;
  left: 50%;
  bottom: -4px;
  width: min(112vw, 560px);
  height: 126px;
  opacity: 0.24;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  background:
    linear-gradient(0deg, rgba(105, 20, 9, 0.55), rgba(255, 190, 95, 0.08) 70%, transparent),
    linear-gradient(90deg,
      transparent 0 3%,
      rgba(255, 241, 204, 0.36) 3% 8%,
      transparent 8% 11%,
      rgba(255, 241, 204, 0.28) 11% 15%,
      transparent 15% 18%,
      rgba(255, 241, 204, 0.42) 18% 25%,
      transparent 25% 29%,
      rgba(255, 241, 204, 0.3) 29% 34%,
      transparent 34% 38%,
      rgba(255, 241, 204, 0.4) 38% 46%,
      transparent 46% 50%,
      rgba(255, 241, 204, 0.32) 50% 56%,
      transparent 56% 61%,
      rgba(255, 241, 204, 0.44) 61% 68%,
      transparent 68% 73%,
      rgba(255, 241, 204, 0.3) 73% 78%,
      transparent 78% 82%,
      rgba(255, 241, 204, 0.38) 82% 89%,
      transparent 89% 100%);
  mask-image: linear-gradient(0deg, #000 0 66%, transparent 98%);
  mix-blend-mode: screen;
  animation: cityDrift 12s ease-in-out infinite alternate;
}

.cityline::before,
.cityline::after {
  position: absolute;
  inset: 34px 8% 12px;
  background-image: radial-gradient(rgba(255, 250, 226, 0.42) 1px, transparent 1.6px);
  background-size: 12px 10px;
  opacity: 0.36;
  content: "";
}

.cityline::after {
  inset: auto 5% 0;
  height: 18px;
  background: linear-gradient(90deg, transparent, rgba(255, 235, 170, 0.42), transparent);
  filter: blur(7px);
  opacity: 0.54;
}

.cityline-b {
  --city-scale: 0.82;
  --city-scale-end: 0.84;
  --city-opacity-from: 0.08;
  --city-opacity-to: 0.14;
  bottom: 58px;
  width: min(104vw, 520px);
  height: 96px;
  opacity: 0.12;
  transform: translateX(-50%) scale(0.82);
  animation-duration: 15s;
}

.music-toggle {
  position: fixed;
  top: calc(env(safe-area-inset-top) + 16px);
  right: max(16px, calc((100vw - var(--max-page)) / 2 + 16px));
  z-index: 20;
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  color: #fff;
  background: rgba(94, 17, 8, 0.18);
  box-shadow: 0 12px 26px rgba(82, 18, 7, 0.18);
  backdrop-filter: none;
}

.music-icon {
  position: relative;
  width: 14px;
  height: 16px;
}

.music-icon::before,
.music-icon::after {
  position: absolute;
  top: 1px;
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.music-icon::before {
  left: 2px;
}

.music-icon::after {
  right: 2px;
}

.music-toggle.is-paused .music-icon::before {
  top: 1px;
  left: 3px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid currentColor;
  border-radius: 0;
  background: transparent;
}

.music-toggle.is-paused .music-icon::after {
  display: none;
}

.section-nav {
  position: fixed;
  top: 50%;
  right: max(12px, calc((100vw - var(--max-page)) / 2 + 12px));
  z-index: 18;
  display: grid;
  gap: 9px;
  transform: translateY(-50%);
}

.section-nav a {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: transparent;
  transition: transform 260ms ease, background-color 260ms ease, height 260ms ease;
}

.section-nav a.is-active {
  height: 20px;
  border-radius: 999px;
  background: var(--cream);
  transform: translateX(-1px);
}

.invite-page {
  position: relative;
  width: 100%;
  max-width: var(--max-page);
  min-height: 100svh;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 90px rgba(87, 19, 8, 0.22);
}

.section {
  position: relative;
  min-height: 100svh;
  padding: calc(env(safe-area-inset-top) + 58px) 26px calc(env(safe-area-inset-bottom) + 62px);
  isolation: isolate;
  overflow: hidden;
  transform-origin: center;
}

.section > * {
  transform-origin: center;
}

.section.is-page-active {
  z-index: 1;
}

.section.is-page-entering {
  z-index: 2;
}

.section.is-page-leaving {
  z-index: 1;
  pointer-events: none;
}

body.is-flipping .ambient {
  animation: cameraPushForward 1180ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.is-flipping-back .ambient {
  animation-name: cameraPullBack;
}

body.is-flipping::before {
  animation: backgroundDepthShift 1180ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.is-flipping .space-grid {
  animation:
    spaceGridFlip 1180ms cubic-bezier(0.16, 1, 0.3, 1) both,
    spaceGridDrift 10.5s ease-in-out 1180ms infinite alternate;
}

body.is-flipping .cityline {
  opacity: 0.3;
}

body.is-flipping .page-flip {
  animation: pageCueCommit 860ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse at 50% 20%, rgba(255, 255, 255, 0.14) 0, transparent 33%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 28%, rgba(95, 19, 9, 0.12) 100%);
}

.hero-section {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.hero-section::after {
  position: absolute;
  right: -26%;
  bottom: 12%;
  z-index: -1;
  width: 82%;
  height: 42%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: repeating-radial-gradient(ellipse, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 11px);
  transform: rotate(-18deg);
  content: "";
}

.hero-inner {
  width: 100%;
  min-height: calc(100svh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand-logo {
  width: min(54vw, 220px);
  height: auto;
  margin-top: 4px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.brand-logo.reveal {
  filter: brightness(0) invert(1) blur(6px);
}

.brand-logo.reveal.is-visible {
  filter: brightness(0) invert(1);
}

.eyebrow {
  margin: clamp(24px, 6.2vh, 48px) 0 12px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 700;
}

.hero-title {
  width: min(100%, 360px);
  margin: 0;
  color: #fff;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(22px, 6.05vw, 29px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 5px 18px rgba(85, 16, 8, 0.24);
}

.hero-title span {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  color: transparent;
  background: linear-gradient(104deg, #ffffff 0%, #ffffff 42%, #fff2c6 50%, #ffffff 58%, #ffffff 100%);
  background-size: 255% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: titleShine 10.6s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.hero-title span:nth-child(2) {
  animation-delay: 260ms;
}

.hero-title span:nth-child(3) {
  animation-delay: 520ms;
}

.hero-title span:nth-child(4) {
  animation-delay: 780ms;
}

.invite-word {
  margin-top: clamp(34px, 8vh, 62px);
  display: grid;
  justify-items: center;
  gap: 8px;
}

.invite-word small {
  color: rgba(255, 255, 255, 0.86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
}

.invite-word strong {
  display: flex;
  justify-content: center;
  gap: 4px;
  color: #fff;
  font-family: "InviteTitleSerif", "Source Han Serif SC Heavy", "Source Han Serif SC", "Songti SC", "STSong", serif;
  font-size: clamp(50px, 14.2vw, 70px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.015em;
  text-shadow: 0 12px 22px rgba(76, 14, 6, 0.28);
}

.hero-meta {
  width: 100%;
  margin-top: auto;
  display: grid;
  gap: 12px;
}

.hero-meta div {
  padding: 11px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.hero-meta span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 700;
}

.hero-meta strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: clamp(14px, 3.9vw, 17px);
  line-height: 1.35;
  font-weight: 800;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom) + 20px);
  width: 22px;
  height: 22px;
  border-right: 2px solid rgba(255, 255, 255, 0.86);
  border-bottom: 2px solid rgba(255, 255, 255, 0.86);
  transform: translateX(-50%) rotate(45deg);
  animation: cueMove 1.6s ease-in-out infinite;
}

.page-flip {
  --flip-cycle: 2.9s;
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom) + 14px);
  z-index: 22;
  width: 54px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateX(-50%);
  transition: opacity 280ms ease, transform 280ms ease;
  touch-action: manipulation;
}

.page-flip::before {
  position: absolute;
  left: 50%;
  top: 11px;
  z-index: 2;
  width: 22px;
  height: 22px;
  border-right: 2px solid rgba(255, 255, 255, 0.9);
  border-bottom: 2px solid rgba(255, 255, 255, 0.9);
  transform: translateX(-50%) rotate(45deg);
  transform-origin: center;
  animation: pageArrowFloat var(--flip-cycle) ease-in-out infinite;
  content: "";
}

.page-flip::after {
  position: absolute;
  left: 50%;
  top: 5px;
  z-index: 1;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 244, 197, 0.13), transparent 64%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  box-shadow: 0 0 0 0 rgba(255, 230, 166, 0.2);
  transform: translateX(-50%);
  transform-origin: center;
  animation: pageRingPulse var(--flip-cycle) ease-in-out infinite;
  content: "";
}

.page-flip.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(14px);
}

.content-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.origin-section {
  justify-content: flex-start;
}

.agenda-section {
  justify-content: flex-start;
}

.section-head {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 26px;
}

.section-head span {
  color: rgba(255, 255, 255, 0.28);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 18vw, 84px);
  line-height: 0.78;
  font-weight: 800;
}

.section-head h2 {
  margin: 0 0 2px;
  color: #fff;
  font-size: clamp(28px, 8vw, 38px);
  line-height: 1.08;
  font-weight: 900;
  text-shadow: 0 8px 20px rgba(94, 19, 8, 0.24);
}

.section.is-page-active .section-head h2 {
  animation: sectionTitleBreath 5.8s ease-in-out infinite;
}

.copy-block {
  display: grid;
  gap: 15px;
}

.prologue-copy {
  gap: 10px;
}

.copy-block p,
.info-note,
.closing-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.86;
  text-align: justify;
}

.copy-block p {
  position: relative;
  padding: 16px 0 16px 18px;
}

.copy-block p::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, var(--gold));
  content: "";
}

.prologue-copy p {
  padding: 12px 12px 12px 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(126deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)),
    rgba(105, 20, 9, 0.1);
  box-shadow: 0 12px 24px rgba(75, 14, 6, 0.13);
  font-size: clamp(12.5px, 3.35vw, 14px);
  line-height: 1.68;
  overflow-wrap: anywhere;
  backdrop-filter: none;
}

.prologue-copy p::before {
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 212, 122, 0.82), transparent);
}

.prologue-copy p::after {
  position: absolute;
  top: -42%;
  bottom: -42%;
  left: -38%;
  width: 28%;
  background: linear-gradient(100deg, transparent, rgba(255, 248, 216, 0.2), transparent);
  transform: rotate(12deg);
  display: none;
  animation: none;
  content: "";
}

.prologue-copy strong {
  color: #fff2be;
  font-weight: 900;
}

.prologue-lead {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 760;
}

.prologue-sign {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  color: #fff2be !important;
  font-size: clamp(15px, 4.1vw, 17px) !important;
  line-height: 1.5 !important;
  font-weight: 900;
  text-align: center !important;
}

.origin-section .section-head {
  margin-bottom: 18px;
}

.origin-section .value-strip {
  margin-top: 18px;
}

.value-strip {
  margin-top: clamp(34px, 6vh, 56px);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.value-strip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.insight-card {
  position: relative;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(100, 21, 9, 0.14);
  box-shadow: 0 16px 34px rgba(80, 16, 7, 0.16);
  backdrop-filter: none;
  animation: insightBreath 5.6s ease-in-out infinite;
}

.insight-card::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 232, 166, 0.22), transparent 28%),
    radial-gradient(circle at 86% 72%, rgba(255, 255, 255, 0.12), transparent 32%);
  pointer-events: none;
  content: "";
}

.insight-toggle {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 76px;
  padding: 14px 14px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 30px;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  border: 0;
  color: #fff;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.insight-toggle::after {
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -46%;
  width: 36%;
  background: linear-gradient(100deg, transparent, rgba(255, 247, 205, 0.2), transparent);
  transform: rotate(12deg);
  animation: insightSweep 6.8s ease-in-out infinite;
  content: "";
}

.insight-toggle span {
  display: grid;
  gap: 3px;
}

.insight-toggle em {
  color: rgba(255, 223, 145, 0.9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.insight-toggle strong {
  color: #fff;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 900;
}

.insight-toggle b {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 800;
}

.insight-toggle i {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 14px rgba(255, 223, 145, 0.18);
  transition: transform 320ms ease, background-color 320ms ease;
}

.insight-toggle i::before {
  position: absolute;
  top: 9px;
  left: 8px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  content: "";
}

.insight-card.is-open .insight-toggle i {
  background: rgba(255, 232, 166, 0.18);
  transform: rotate(180deg);
}

.insight-detail {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 480ms cubic-bezier(0.22, 1, 0.36, 1), opacity 320ms ease;
}

.insight-card.is-open .insight-detail {
  grid-template-rows: 1fr;
  opacity: 1;
}

.insight-detail-inner {
  overflow: hidden;
}

.insight-detail p {
  margin: 0;
  padding: 0 15px 16px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.78;
  text-align: justify;
}

.info-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.info-list li {
  position: relative;
  min-height: 74px;
  padding: 15px 16px 15px 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)),
    rgba(120, 24, 10, 0.13);
  box-shadow: 0 14px 32px rgba(92, 18, 7, 0.18);
  backdrop-filter: none;
}

.info-list li::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #fff8ce, var(--gold), #fff);
  content: "";
}

.info-list li::after {
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: -42%;
  width: 36%;
  background: linear-gradient(100deg, transparent, rgba(255, 247, 210, 0.24), transparent);
  transform: rotate(13deg);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: infoCardSweep 7.2s ease-in-out infinite;
  content: "";
}

.info-list li:nth-child(2)::after {
  animation-delay: 900ms;
}

.info-list li:nth-child(3)::after {
  animation-delay: 1700ms;
}

.info-list li:nth-child(4)::after {
  animation-delay: 2400ms;
}

.info-list li > * {
  position: relative;
  z-index: 1;
}

.info-list > li > span {
  display: block;
  color: rgba(255, 246, 215, 0.76);
  font-size: 12px;
  font-weight: 700;
}

.info-list strong {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 800;
}

.map-card {
  position: relative;
  min-height: 60px;
  margin-top: 14px;
  padding: 8px 12px 8px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  background:
    linear-gradient(116deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.07)),
    rgba(255, 120, 31, 0.18);
  box-shadow: 0 12px 26px rgba(80, 16, 7, 0.18);
  transform: translateZ(0);
  transition: transform 240ms ease, border-color 240ms ease, background-color 240ms ease;
}

.map-card::after {
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -35%;
  width: 34%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  transform: rotate(12deg);
  animation: mapCardSweep 5.8s ease-in-out infinite;
  content: "";
}

.map-card:active {
  transform: translateY(1px) scale(0.99);
}

.map-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.78);
  outline-offset: 3px;
}

.map-preview {
  position: relative;
  flex: 0 0 78px;
  height: 46px;
  overflow: hidden;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 248, 219, 0.9), rgba(255, 218, 141, 0.7)),
    linear-gradient(90deg, rgba(219, 71, 18, 0.12), rgba(255, 255, 255, 0.16));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.map-preview::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 21px, rgba(216, 82, 25, 0.24) 22px 23px, transparent 24px 44px, rgba(255, 255, 255, 0.4) 45px 46px, transparent 47px),
    linear-gradient(0deg, transparent 0 15px, rgba(216, 82, 25, 0.22) 16px 17px, transparent 18px 33px, rgba(255, 255, 255, 0.42) 34px 35px, transparent 36px);
  opacity: 0.86;
  content: "";
}

.map-preview::after {
  position: absolute;
  right: -18px;
  bottom: -14px;
  width: 64px;
  height: 42px;
  border: 2px solid rgba(240, 90, 24, 0.35);
  border-radius: 50%;
  content: "";
}

.map-route {
  position: absolute;
  left: 13px;
  top: 26px;
  z-index: 1;
  width: 52px;
  height: 18px;
  border-top: 2px solid rgba(239, 82, 23, 0.82);
  border-right: 2px solid rgba(239, 82, 23, 0.82);
  border-radius: 0 14px 0 0;
  animation: mapRoutePulse 2.8s ease-in-out infinite;
}

.map-pin {
  position: absolute;
  left: 43px;
  top: 9px;
  z-index: 2;
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--logo-orange);
  box-shadow: 0 5px 13px rgba(128, 24, 9, 0.22);
  transform: rotate(-45deg);
  animation: mapPinFloat 2.4s ease-in-out infinite;
}

.map-pin::after {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.map-card-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
}

.map-card-copy em {
  color: rgba(255, 243, 211, 0.76);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.map-card-copy b {
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
}

.map-card-arrow {
  position: relative;
  z-index: 1;
  width: 19px;
  height: 19px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
}

.map-card-arrow::before {
  position: absolute;
  top: 6px;
  left: 5px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  content: "";
}

.info-note {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.agenda-tabs {
  position: sticky;
  top: calc(env(safe-area-inset-top) + 12px);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(118, 25, 11, 0.22);
  box-shadow: 0 12px 26px rgba(88, 18, 7, 0.18);
  backdrop-filter: none;
}

.agenda-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: transparent;
  cursor: pointer;
  transition: color 240ms ease, background-color 240ms ease, transform 240ms ease;
}

.agenda-tabs button:active {
  transform: scale(0.98);
}

.agenda-tabs button.is-active {
  color: #a9240d;
  background: #fff8e8;
}

.agenda-tabs span {
  display: block;
  font-size: 14px;
  font-weight: 900;
}

.agenda-panels {
  margin-top: 22px;
}

.timeline-panel {
  position: relative;
  display: grid;
  gap: 11px;
  padding-left: 17px;
}

.timeline-panel[hidden] {
  display: none;
}

.timeline-panel::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 3px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), var(--gold), rgba(255, 255, 255, 0.14));
  content: "";
}

.timeline-card {
  position: relative;
  padding: 13px 14px 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.19), rgba(255, 255, 255, 0.07)),
    rgba(96, 20, 9, 0.12);
  box-shadow: 0 12px 24px rgba(78, 15, 6, 0.17);
  backdrop-filter: none;
}

.timeline-card::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent, rgba(255, 244, 195, 0.22), transparent);
  opacity: 0;
  transform: translateY(70%);
  pointer-events: none;
  content: "";
}

.timeline-card::before {
  position: absolute;
  top: 18px;
  left: -20px;
  width: 9px;
  height: 9px;
  border: 2px solid #fff8e5;
  border-radius: 50%;
  background: var(--hot-orange);
  box-shadow: 0 0 0 5px rgba(255, 212, 122, 0.16);
  content: "";
}

.timeline-card time {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.timeline-card h3 {
  position: relative;
  z-index: 1;
  margin: 5px 0 0;
  color: #fff;
  font-size: clamp(15px, 4.3vw, 17px);
  line-height: 1.36;
  font-weight: 900;
}

.timeline-card p {
  position: relative;
  z-index: 1;
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.55;
}

.agenda-panels.is-visible .timeline-panel.is-active .timeline-card,
.timeline-panel.is-switching .timeline-card {
  animation: itemIn 680ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i, 0) * 58ms);
}

.agenda-panels.is-visible .timeline-panel.is-active .timeline-card::after,
.timeline-panel.is-switching .timeline-card::after {
  animation: timelineGlowUp 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i, 0) * 58ms + 80ms);
}

.timeline-panel.is-active:not(.is-switching) .timeline-card::after {
  animation: timelineGlowLoop 5.6s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 210ms);
}

.timeline-panel.is-active .timeline-card::before {
  animation: timelineDotPulse 3.8s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 160ms);
}

.closing-section {
  display: grid;
  place-items: center;
  text-align: center;
}

.closing-section::after {
  position: absolute;
  left: 50%;
  bottom: -86px;
  z-index: -1;
  width: 420px;
  height: 220px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.13) 0 1px, transparent 1px 12px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent);
  transform: translateX(-50%);
  content: "";
}

.closing-inner {
  width: 100%;
}

.closing-logo {
  width: min(70vw, 286px);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.closing-logo.reveal {
  filter: brightness(0) invert(1) blur(6px);
}

.closing-logo.reveal.is-visible {
  filter: brightness(0) invert(1);
}

.closing-kicker {
  margin: 44px 0 12px;
  color: rgba(255, 255, 255, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 800;
}

.closing-section h2 {
  margin: 0;
  color: #fff;
  font-family: "InviteTitleSerif", "Source Han Serif SC Heavy", "Source Han Serif SC", "Songti SC", "STSong", serif;
  font-size: clamp(48px, 14vw, 70px);
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-shadow: 0 14px 28px rgba(80, 15, 6, 0.28);
}

.closing-title {
  position: relative;
  display: inline-block;
  padding: 4px 0 8px;
  isolation: isolate;
}

.closing-title::before {
  position: absolute;
  inset: -24px -38px -16px;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 28% 38%, rgba(255, 255, 255, 0.28), transparent 36%),
    radial-gradient(ellipse at 72% 60%, rgba(255, 213, 112, 0.36), transparent 42%),
    conic-gradient(from 120deg, transparent, rgba(255, 234, 170, 0.2), transparent, rgba(255, 255, 255, 0.16), transparent);
  filter: blur(14px);
  opacity: 0.72;
  animation: closingAura 8.6s ease-in-out infinite;
  content: "";
}

.closing-title::after {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 238, 176, 0.9), transparent);
  box-shadow: 0 0 20px rgba(255, 223, 144, 0.38);
  animation: closingLineGlow 4.8s ease-in-out infinite;
  content: "";
}

.closing-title span {
  display: block;
  color: transparent;
  background: linear-gradient(100deg, #ffffff 0%, #fffef6 30%, #ffd47a 44%, #fff 54%, #ffe9ae 66%, #ffffff 100%);
  background-size: 310% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 16px 34px rgba(91, 16, 6, 0.26);
  animation: closingTitleShine 11.5s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.closing-title span:nth-child(2) {
  animation-delay: 680ms;
}

.closing-copy {
  position: relative;
  max-width: 360px;
  margin: 30px auto 0;
  padding: 16px 0;
  display: grid;
  gap: 7px;
  text-align: center;
}

.closing-copy::before,
.closing-copy::after {
  position: absolute;
  left: 7%;
  right: 7%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 229, 154, 0.62), transparent);
  content: "";
}

.closing-copy::before {
  top: 0;
}

.closing-copy::after {
  bottom: 0;
}

.closing-copy span {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(14px, 3.85vw, 16px);
  line-height: 1.72;
  font-weight: 700;
  text-shadow: 0 8px 18px rgba(79, 14, 6, 0.18);
}

.closing-copy span:last-child {
  color: rgba(255, 238, 187, 0.96);
  font-weight: 800;
}

.closing-date {
  margin-top: 36px;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  font-weight: 900;
}

.stage-item {
  transform-origin: center;
  backface-visibility: hidden;
  will-change: opacity, filter, transform;
}

.section.is-page-entering .stage-item {
  animation: cinematicStageInForward 980ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--stage-in, 0) * 74ms + 80ms);
}

.section.is-entering-down .stage-item {
  animation-name: cinematicStageInBack;
}

.section.is-page-leaving .stage-item {
  animation: cinematicStageOutForward 540ms cubic-bezier(0.7, 0, 0.2, 1) both;
  animation-delay: calc(var(--stage-out, 0) * 18ms);
}

.section.is-leaving-down .stage-item {
  animation-name: cinematicStageOutBack;
}

.section.is-page-entering .hero-title.stage-item,
.section.is-page-entering .closing-title.stage-item {
  animation-duration: 1120ms;
}

.section.is-page-entering .timeline-card.stage-item {
  animation-delay: calc(var(--stage-in, 0) * 44ms + 110ms);
}

.section.is-page-leaving .timeline-card.stage-item {
  animation-delay: calc(var(--stage-out, 0) * 14ms);
}

.reveal {
  opacity: 0;
  filter: blur(6px);
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

[data-split] .char {
  display: inline-block;
  opacity: 0;
  filter: blur(6px);
  transform: translateY(24px) scale(0.92);
  transition:
    opacity 680ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 680ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 74ms + 140ms);
}

.reveal.is-visible [data-split] .char {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.motion-paused *,
.motion-paused *::before,
.motion-paused *::after {
  animation-play-state: paused !important;
  scroll-behavior: auto !important;
}

@keyframes cinematicStageInForward {
  0% {
    opacity: 0;
    transform: perspective(760px) translate3d(0, 72px, -60px) rotateX(14deg) scaleX(0.84) scaleY(0.18);
  }
  38% {
    opacity: 0.9;
    transform: perspective(760px) translate3d(0, -8px, 18px) rotateX(-4deg) scaleX(1.02) scaleY(1.08);
  }
  100% {
    opacity: 1;
    transform: perspective(760px) translate3d(0, 0, 0) rotateX(0) scaleX(1) scaleY(1);
  }
}

@keyframes cinematicStageInBack {
  0% {
    opacity: 0;
    transform: perspective(760px) translate3d(0, -56px, 72px) rotateX(-12deg) scaleX(1.1) scaleY(0.2);
  }
  42% {
    opacity: 0.9;
    transform: perspective(760px) translate3d(0, 8px, -14px) rotateX(4deg) scaleX(0.98) scaleY(1.08);
  }
  100% {
    opacity: 1;
    transform: perspective(760px) translate3d(0, 0, 0) rotateX(0) scaleX(1) scaleY(1);
  }
}

@keyframes cinematicStageOutForward {
  0% {
    opacity: 1;
    transform: perspective(760px) translate3d(0, 0, 0) rotateX(0) scaleX(1) scaleY(1);
  }
  42% {
    opacity: 0.88;
    transform: perspective(760px) translate3d(0, -18px, 14px) rotateX(-6deg) scaleX(1.02) scaleY(0.68);
  }
  100% {
    opacity: 0;
    transform: perspective(760px) translate3d(0, -66px, -72px) rotateX(-14deg) scaleX(0.82) scaleY(0.16);
  }
}

@keyframes cinematicStageOutBack {
  0% {
    opacity: 1;
    transform: perspective(760px) translate3d(0, 0, 0) rotateX(0) scaleX(1) scaleY(1);
  }
  44% {
    opacity: 0.86;
    transform: perspective(760px) translate3d(0, 16px, -8px) rotateX(5deg) scaleX(0.96) scaleY(0.7);
  }
  100% {
    opacity: 0;
    transform: perspective(760px) translate3d(0, 62px, 70px) rotateX(12deg) scaleX(1.08) scaleY(0.18);
  }
}

@keyframes cameraPushForward {
  0%,
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  48% {
    opacity: 0.92;
    transform: translate3d(0, -2.6vh, 0) scale(1.09) rotate(-1.2deg);
  }
}

@keyframes cameraPullBack {
  0%,
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  48% {
    opacity: 0.9;
    transform: translate3d(0, 2.4vh, 0) scale(0.94) rotate(1deg);
  }
}

@keyframes backgroundDepthShift {
  0%,
  100% {
    opacity: 0.46;
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    opacity: 0.58;
    transform: translate3d(0, -10px, 0) scale(1.05);
  }
}

@keyframes spaceGridFlip {
  0%,
  100% {
    opacity: 0.18;
    transform: translateX(-50%) perspective(520px) rotateX(64deg) translateY(10px) scale(1);
  }
  50% {
    opacity: 0.32;
    transform: translateX(-50%) perspective(520px) rotateX(60deg) translateY(-28px) scale(1.12);
  }
}

@keyframes spaceGridDrift {
  from {
    opacity: 0.13;
    transform: translateX(-50%) perspective(520px) rotateX(64deg) translateY(10px) scale(0.98);
  }
  to {
    opacity: 0.22;
    transform: translateX(-50%) perspective(520px) rotateX(63deg) translateY(2px) scale(1.02);
  }
}

@keyframes orbitDriftA {
  from {
    transform: translate3d(0, 0, 0) rotate(-18deg) scale(0.98);
  }
  to {
    transform: translate3d(-18px, 18px, 0) rotate(-12deg) scale(1.04);
  }
}

@keyframes orbitDriftB {
  from {
    transform: translate3d(0, 0, 0) rotate(16deg) scale(0.96);
  }
  to {
    transform: translate3d(22px, -12px, 0) rotate(10deg) scale(1.05);
  }
}

@keyframes cityDrift {
  from {
    opacity: var(--city-opacity-from);
    transform: translateX(-50%) translateY(0) scale(var(--city-scale));
  }
  to {
    opacity: var(--city-opacity-to);
    transform: translateX(-50%) translateY(-5px) scale(var(--city-scale-end));
  }
}

@keyframes pageCueCommit {
  0%,
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
  36% {
    opacity: 0.5;
    transform: translateX(-50%) translateY(15px) scale(0.78);
  }
  72% {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px) scale(1.08);
  }
}

@keyframes sweepDrift {
  from {
    opacity: 0.44;
    translate: -26px -8px;
  }
  to {
    opacity: 0.86;
    translate: 24px 10px;
  }
}

@keyframes silkFloat {
  from {
    translate: -18px 0;
  }
  to {
    translate: 18px 13px;
  }
}

@keyframes dotPulse {
  from {
    opacity: 0.24;
    scale: 0.96;
  }
  to {
    opacity: 0.48;
    scale: 1.04;
  }
}

@keyframes ringGlowBreath {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.1);
    opacity: 0.3;
  }
  50% {
    border-color: rgba(255, 242, 194, 0.24);
    opacity: 0.54;
  }
}

@keyframes ringInnerPulse {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.07);
  }
  50% {
    border-color: rgba(255, 240, 190, 0.2);
  }
}

@keyframes slowTurn {
  to {
    rotate: 360deg;
  }
}

@keyframes cueMove {
  0%,
  100% {
    opacity: 0.4;
    translate: 0 0;
  }
  50% {
    opacity: 1;
    translate: 0 8px;
  }
}

@keyframes pageFlipHalo {
  0%,
  100% {
    opacity: 0.25;
    scale: 0.82;
  }
  50% {
    opacity: 0.78;
    scale: 1.08;
  }
}

@keyframes pageArrowFloat {
  0%,
  100% {
    opacity: 0.66;
    transform: translateX(-50%) translateY(0) rotate(45deg);
  }
  38% {
    opacity: 0.96;
    transform: translateX(-50%) translateY(5px) rotate(45deg);
  }
  62% {
    opacity: 0.8;
    transform: translateX(-50%) translateY(8px) rotate(45deg);
  }
}

@keyframes pageRingPulse {
  0%,
  100% {
    opacity: 0.28;
    box-shadow: 0 0 0 0 rgba(255, 230, 166, 0.18);
    transform: translateX(-50%) scale(0.84);
  }
  32% {
    opacity: 0.78;
    box-shadow: 0 0 18px 2px rgba(255, 230, 166, 0.24);
    transform: translateX(-50%) scale(1);
  }
  62% {
    opacity: 0.36;
    box-shadow: 0 0 0 9px rgba(255, 230, 166, 0);
    transform: translateX(-50%) scale(1.1);
  }
}

@keyframes titleShine {
  0%,
  50% {
    background-position: 150% 0;
  }
  84%,
  100% {
    background-position: -80% 0;
  }
}

@keyframes closingTitleShine {
  0%,
  48% {
    background-position: 145% 0;
  }
  80%,
  100% {
    background-position: -70% 0;
  }
}

@keyframes closingAura {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.96) rotate(0deg);
  }
  50% {
    opacity: 0.86;
    transform: scale(1.04) rotate(4deg);
  }
}

@keyframes closingLineGlow {
  0%,
  100% {
    opacity: 0.34;
    transform: scaleX(0.72);
  }
  50% {
    opacity: 0.9;
    transform: scaleX(1);
  }
}

@keyframes mapCardSweep {
  0%,
  42% {
    left: -38%;
    opacity: 0;
  }
  58% {
    opacity: 1;
  }
  78%,
  100% {
    left: 108%;
    opacity: 0;
  }
}

@keyframes mapRoutePulse {
  0%,
  100% {
    opacity: 0.5;
    transform: translateX(-2px);
  }
  50% {
    opacity: 1;
    transform: translateX(2px);
  }
}

@keyframes mapPinFloat {
  0%,
  100% {
    box-shadow: 0 5px 13px rgba(128, 24, 9, 0.22), 0 0 0 0 rgba(240, 90, 24, 0.26);
    transform: rotate(-45deg) translate(0, 0);
  }
  50% {
    box-shadow: 0 8px 16px rgba(128, 24, 9, 0.18), 0 0 0 7px rgba(240, 90, 24, 0);
    transform: rotate(-45deg) translate(1px, -2px);
  }
}

@keyframes insightBreath {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 34px rgba(80, 16, 7, 0.16), 0 0 0 rgba(255, 223, 145, 0);
  }
  50% {
    border-color: rgba(255, 226, 153, 0.38);
    box-shadow: 0 18px 38px rgba(80, 16, 7, 0.18), 0 0 24px rgba(255, 223, 145, 0.1);
  }
}

@keyframes insightSweep {
  0%,
  48% {
    left: -48%;
    opacity: 0;
  }
  62% {
    opacity: 1;
  }
  82%,
  100% {
    left: 112%;
    opacity: 0;
  }
}

@keyframes sectionTitleBreath {
  0%,
  100% {
    text-shadow: 0 8px 20px rgba(94, 19, 8, 0.24), 0 0 0 rgba(255, 232, 166, 0);
    transform: translateY(0);
  }
  50% {
    text-shadow: 0 10px 24px rgba(94, 19, 8, 0.24), 0 0 22px rgba(255, 232, 166, 0.22);
    transform: translateY(-1px);
  }
}

@keyframes infoCardSweep {
  0%,
  42% {
    left: -42%;
    opacity: 0;
  }
  56% {
    opacity: 0.82;
  }
  78%,
  100% {
    left: 116%;
    opacity: 0;
  }
}

@keyframes prologueSweep {
  0%,
  54% {
    left: -42%;
    opacity: 0;
  }
  68% {
    opacity: 0.76;
  }
  88%,
  100% {
    left: 112%;
    opacity: 0;
  }
}

@keyframes itemIn {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes timelineGlowUp {
  0% {
    opacity: 0;
    transform: translateY(74%);
  }
  42% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    transform: translateY(-74%);
  }
}

@keyframes timelineGlowLoop {
  0%,
  62%,
  100% {
    opacity: 0;
    transform: translateY(76%);
  }
  76% {
    opacity: 0.58;
  }
  92% {
    opacity: 0;
    transform: translateY(-78%);
  }
}

@keyframes timelineDotPulse {
  0%,
  100% {
    box-shadow: 0 0 0 5px rgba(255, 212, 122, 0.16), 0 0 0 rgba(255, 245, 210, 0);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(255, 212, 122, 0.08), 0 0 18px rgba(255, 245, 210, 0.32);
    transform: scale(1.08);
  }
}

@supports not (-webkit-background-clip: text) {
  .hero-title span,
  .closing-title span {
    color: #fff;
    background: none;
  }
}

@media (max-width: 360px) {
  .section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .copy-block p,
  .info-note,
  .closing-copy {
    font-size: 14px;
    line-height: 1.78;
  }

  .hero-title {
    width: min(100%, 310px);
    font-size: 21px;
  }

  .section-nav {
    display: none;
  }
}

@media (max-width: 520px) {
  .invite-page {
    margin-left: auto;
    margin-right: auto;
  }

  .section-nav {
    display: none;
  }

  .hero-inner {
    width: min(100%, 360px);
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title {
    width: min(100%, 330px);
  }
}

@media (max-height: 700px) {
  .section {
    padding-top: calc(env(safe-area-inset-top) + 42px);
    padding-bottom: calc(env(safe-area-inset-bottom) + 44px);
  }

  .brand-logo {
    width: min(50vw, 190px);
  }

  .eyebrow {
    margin-top: 18px;
  }

  .hero-title {
    font-size: clamp(20px, 5.7vw, 25px);
    line-height: 1.18;
  }

  .invite-word {
    margin-top: 26px;
  }

  .invite-word strong {
    font-size: clamp(44px, 12.5vw, 58px);
  }

  .hero-meta {
    gap: 8px;
  }

  .hero-meta div {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .origin-section .section-head {
    margin-bottom: 12px;
  }

  .prologue-copy {
    gap: 8px;
  }

  .prologue-copy p {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 12.2px;
    line-height: 1.58;
  }

  .scroll-cue,
  .page-flip {
    left: 50%;
  }
}

@media (min-width: 520px) {
  body {
    background-color: #9e260f;
  }

  .invite-page {
    min-height: 100vh;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal,
  [data-split] .char {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
