:root {
  --ink: #0b0c0f;
  --ink-soft: #1d1d1f;
  --paper: #fbfbfd;
  --paper-2: #f5f5f7;
  --paper-3: #eeeef1;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);
  --accent: #2997ff;
  --teal: #1f5767;
  --gold: #c5a059;
  --serif: "EB Garamond", Georgia, "Noto Serif SC", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

/* Hidden but DOM-present thumbnail for WeChat share auto-pick.
   Stays off-screen but is still parsed by crawlers. */
.wechat-share-thumb {
  position: fixed;
  top: 0;
  left: -9999px;
  width: 300px;
  height: 300px;
  pointer-events: none;
  opacity: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background: var(--paper-2);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(251, 251, 253, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.header.is-scrolled {
  background: rgba(251, 251, 253, 0.86);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 64px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 44px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: clamp(130px, 11vw, 160px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.4vw, 44px);
  flex: 1;
  justify-content: center;
}

.nav a {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.86;
  transition: opacity 0.2s var(--ease);
}

.nav a:hover {
  opacity: 1;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-cta:hover {
  background: #000;
  transform: translateY(-1px);
}

/* ---------- Shared ---------- */

main {
  display: block;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.74);
}

h1,
h2 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--ink);
}

h1 {
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.06;
}

h3 {
  font-family: var(--sans);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.15;
}

h4 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 8px;
}

.muted-line {
  color: var(--muted);
  font-weight: 600;
}

p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.55;
}

.lead {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--ink-soft);
  line-height: 1.45;
  margin-top: 8px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(56px, 10vw, 120px) 22px clamp(40px, 6vw, 60px);
  min-height: calc(100vh - 64px);
  background:
    radial-gradient(60rem 38rem at 50% -10%, rgba(41, 151, 255, 0.10), transparent 60%),
    radial-gradient(45rem 36rem at 18% 110%, rgba(197, 160, 89, 0.16), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--paper-2) 100%);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
}

.hero-copy h1 {
  margin: 8px 0 18px;
}

.hero-copy .lead {
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto;
}

.hero-links {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-links a,
.tile-links a,
.tile-link {
  color: var(--accent);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: opacity 0.2s var(--ease);
}

.hero-links a span,
.tile-links a span,
.tile-link span {
  display: inline-block;
  margin-left: 2px;
  transition: transform 0.25s var(--ease);
}

.hero-links a:hover span,
.tile-links a:hover span,
.tile-link:hover span {
  transform: translateX(4px);
}

.hero-stage {
  position: relative;
  width: min(1080px, 100%);
  margin: clamp(40px, 7vw, 80px) auto 0;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, #ffffff, var(--paper-3) 80%);
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.03),
    0 30px 60px -20px rgba(31, 87, 103, 0.18);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-orb {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 60%;
  height: 110%;
  background: radial-gradient(circle, rgba(41, 151, 255, 0.35), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-orb--accent {
  top: auto;
  left: auto;
  bottom: -20%;
  right: -10%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.45), transparent 70%);
}

.hero-scroll {
  position: relative;
  margin-top: clamp(28px, 4vw, 44px);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ---------- Tile system ---------- */

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100% - 24px);
  max-width: 1340px;
  margin: 12px auto 0;
  padding: clamp(60px, 9vw, 120px) clamp(24px, 5vw, 60px);
  border-radius: 28px;
  background: var(--paper);
  overflow: hidden;
  text-align: center;
}

.tile--dark {
  background:
    radial-gradient(50rem 30rem at 80% 0%, rgba(41, 151, 255, 0.18), transparent 60%),
    radial-gradient(40rem 30rem at 0% 100%, rgba(197, 160, 89, 0.20), transparent 60%),
    linear-gradient(180deg, #0b0c0f, #14161b);
  color: #fff;
}

.tile--dark h1,
.tile--dark h2,
.tile--dark h3,
.tile--dark h4,
.tile--dark p {
  color: #fff;
}

.tile--dark .muted-line {
  color: rgba(255, 255, 255, 0.62);
}

.tile--soft {
  background:
    radial-gradient(50rem 36rem at 50% 0%, rgba(255, 255, 255, 0.9), transparent 60%),
    linear-gradient(180deg, #ffffff, var(--paper-2));
}

.tile--feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  text-align: left;
  background:
    radial-gradient(40rem 26rem at 100% 0%, rgba(31, 87, 103, 0.10), transparent 60%),
    var(--paper);
}

.tile-text {
  max-width: 960px;
  margin: 0 auto;
}

.tile-text--top {
  margin-bottom: clamp(40px, 6vw, 70px);
}

.tile-text--center {
  margin-bottom: clamp(36px, 5vw, 64px);
}

.tile-sub {
  max-width: 640px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.tile--dark .tile-sub {
  color: rgba(255, 255, 255, 0.72);
}

.tile-sub--center {
  margin: 20px auto 0;
}

.tile-text h2 {
  letter-spacing: -0.028em;
}

.tile-links {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.tile-visual {
  width: min(820px, 100%);
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tile-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
}

/* ---------- Grid tiles (3-up) ---------- */

.grid-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: calc(100% - 24px);
  max-width: 1340px;
  margin: 12px auto 0;
}

.tile-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(36px, 4vw, 52px);
  min-height: 480px;
  border-radius: 24px;
  background: var(--paper);
  overflow: hidden;
  text-align: left;
}

.tile-card h3 {
  margin-bottom: 12px;
}

.tile-card p {
  color: var(--muted);
  max-width: 30ch;
}

.tile-link {
  margin-top: 16px;
  align-self: flex-start;
}

.tile-card-figure {
  position: absolute;
  inset: auto -10% -20% auto;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(0.5px);
  opacity: 0.85;
  pointer-events: none;
}

.tile-card-figure--mat {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), transparent 55%),
    radial-gradient(circle at 60% 60%, rgba(41, 151, 255, 0.32), transparent 60%),
    linear-gradient(140deg, #e3efff, #f6f8fc);
}

.tile-card-figure--private {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), transparent 55%),
    radial-gradient(circle at 65% 65%, rgba(197, 160, 89, 0.40), transparent 60%),
    linear-gradient(140deg, #f6efe1, #faf5ec);
}

.tile-card-figure--recovery {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), transparent 55%),
    radial-gradient(circle at 60% 60%, rgba(31, 87, 103, 0.28), transparent 60%),
    linear-gradient(140deg, #e5eef0, #f3f7f8);
}

/* ---------- Values ---------- */

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  width: min(1140px, 100%);
  text-align: left;
  margin-top: 8px;
}

.values--6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1180px, 100%);
}

.value {
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.value-index {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}

.value p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Feature tile (split layout) ---------- */

.feature-media {
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper-3);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-copy {
  max-width: 520px;
}

.feature-copy h2 {
  margin-bottom: 20px;
}

.feature-copy p {
  color: var(--muted);
  font-size: 17px;
}

.bullets {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.bullets li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Audience grid ---------- */

.audience {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(1180px, 100%);
  margin-top: 8px;
}

.audience-item {
  position: relative;
  padding: 28px 26px;
  border-radius: 20px;
  background: #fff;
  text-align: left;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.audience-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.10);
}

.audience-dot {
  display: block;
  width: 10px;
  height: 10px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--teal));
}

.audience-item h4 {
  margin-bottom: 8px;
  font-size: 17px;
}

.audience-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* ---------- Booking ---------- */

.tile--booking {
  background:
    radial-gradient(40rem 28rem at 50% 0%, rgba(41, 151, 255, 0.12), transparent 60%),
    radial-gradient(36rem 30rem at 50% 100%, rgba(197, 160, 89, 0.16), transparent 60%),
    linear-gradient(180deg, #ffffff, var(--paper-2));
}

.booking-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 700px;
}

.booking-note {
  color: var(--muted);
  font-size: 15px;
  margin-top: 18px;
  max-width: 520px;
}

.qr {
  margin-top: clamp(36px, 5vw, 56px);
  padding: 24px;
  display: grid;
  gap: 14px;
  justify-items: center;
  border-radius: 24px;
  background: #fff;
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.04),
    0 24px 50px -12px rgba(0, 0, 0, 0.10);
}

.qr img {
  width: 220px;
  height: 220px;
  object-fit: contain;
}

.qr span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Footer ---------- */

.footer {
  margin-top: 12px;
  padding: clamp(48px, 6vw, 72px) clamp(24px, 5vw, 60px) 28px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
  gap: clamp(28px, 4vw, 80px);
  max-width: 1240px;
  margin: 0 auto;
}

.footer-brand strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin-bottom: 10px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 13px;
  max-width: 32ch;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}

.footer-label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.footer-columns a {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
  transition: color 0.2s var(--ease);
}

.footer-columns a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin: 36px auto 0;
  padding-top: 22px;
  max-width: 1240px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-bottom a {
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.footer-bottom a:hover {
  color: var(--ink);
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .grid-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .values,
  .values--6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .audience {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tile--feature {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .feature-copy {
    margin: 0 auto;
  }
  .bullets {
    display: inline-grid;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .header-inner {
    height: 52px;
    gap: 10px;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .brand img {
    width: 110px;
  }
  .nav {
    gap: 14px;
    justify-content: flex-end;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .nav::-webkit-scrollbar {
    display: none;
  }
  .nav a {
    font-size: 12px;
    white-space: nowrap;
  }
  .nav-cta {
    display: none;
  }
  .hero {
    min-height: auto;
    padding-top: 48px;
  }
  .hero-stage {
    aspect-ratio: 4 / 5;
  }
  .grid-tiles {
    grid-template-columns: 1fr;
  }
  .values,
  .values--6 {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .audience {
    grid-template-columns: 1fr;
  }
  .tile-card {
    min-height: 380px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .qr img {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .hero-links,
  .tile-links {
    gap: 16px;
  }
  h1 {
    font-size: 40px;
    letter-spacing: -0.02em;
  }
  h2 {
    font-size: 32px;
  }
  h3 {
    font-size: 22px;
  }
  .lead {
    font-size: 16px;
  }
  p,
  .feature-copy p,
  .tile-sub {
    font-size: 15px;
  }
  .tile {
    width: calc(100% - 12px);
    margin-top: 8px;
    padding: clamp(48px, 12vw, 64px) clamp(20px, 5vw, 28px);
    border-radius: 22px;
  }
  .grid-tiles {
    width: calc(100% - 12px);
    margin-top: 8px;
  }
  .tile-card {
    min-height: 320px;
    padding: 28px 24px;
    border-radius: 20px;
  }
  .tile-card-figure {
    inset: auto -25% -30% auto;
    width: 80%;
  }
  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }
  .hero-stage {
    border-radius: 20px;
  }
  .audience-item {
    padding: 22px 20px;
  }
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ---------- Apple-style scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Children that stagger in once their parent .reveal becomes visible */
.reveal-child {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible .reveal-child {
  opacity: 1;
  transform: none;
}

/* Slight scale-in for hero stage on first paint */
.hero-stage {
  animation: heroIntro 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.hero-copy > * {
  animation: heroFade 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.hero-copy .eyebrow { animation-delay: 0.05s; }
.hero-copy h1       { animation-delay: 0.15s; }
.hero-copy .lead    { animation-delay: 0.30s; }
.hero-copy .hero-links { animation-delay: 0.45s; }

@keyframes heroIntro {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-child,
  .hero-stage,
  .hero-copy > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}
