:root {
  --night: #061634;
  --night-2: #0a2353;
  --blue: #155ee8;
  --cyan: #64dcf0;
  --red: #e6433b;
  --paper: #f2eee6;
  --paper-2: #fbf8f2;
  --ink: #101826;
  --muted: #616978;
  --line: rgba(16, 24, 38, 0.16);
  --white: #ffffff;
  --page: min(1480px, calc(100vw - 64px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Geist", "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; }

.topic-nav {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 0 32px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 200ms ease, color 200ms ease, border 200ms ease;
}

.topic-nav.is-scrolled {
  color: var(--ink);
  background: rgba(242, 238, 230, 0.94);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}

.topic-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}
.topic-brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.topic-brand > span:last-child { display: grid; gap: 1px; }
.topic-brand strong { font-size: 0.94rem; }
.topic-brand small { font-size: 0.58rem; letter-spacing: 0.12em; opacity: 0.68; }
.topic-nav nav { display: flex; gap: 30px; font-size: 0.88rem; }
.topic-nav nav a { opacity: 0.74; transition: opacity 160ms ease; }
.topic-nav nav a:hover { opacity: 1; }
.nav-entry {
  justify-self: end;
  padding: 11px 15px;
  border: 1px solid currentColor;
  font-size: 0.84rem;
  font-weight: 750;
}

.hero {
  position: relative;
  min-height: 96svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 148px max(32px, calc((100vw - 1480px) / 2)) 74px;
  color: var(--white);
  background: var(--night);
}
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 13, 33, 0.93) 0%, rgba(4, 13, 33, 0.7) 38%, rgba(4, 13, 33, 0.12) 70%),
    linear-gradient(0deg, rgba(4, 13, 33, 0.84) 0%, transparent 48%);
}
.hero__content { position: relative; z-index: 2; width: min(850px, 72vw); }
.hero__overline,
.micro-title {
  margin: 0 0 24px;
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 780;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero__overline { color: rgba(255, 255, 255, 0.74); }
.hero h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(5rem, 10vw, 10.5rem);
  line-height: 0.84;
  letter-spacing: -0.08em;
  font-weight: 820;
}
.hero h1 em { color: #91e9f2; font-style: normal; }
.hero__lead {
  margin: 36px 0 0;
  max-width: 690px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 1.45vw, 1.38rem);
  line-height: 1.82;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid currentColor;
  font-weight: 760;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button--light { color: var(--night); background: var(--white); border-color: var(--white); }
.button--line { color: var(--white); background: rgba(255, 255, 255, 0.07); }
.hero__edition {
  position: absolute;
  z-index: 2;
  right: max(32px, calc((100vw - 1480px) / 2));
  bottom: 74px;
  display: grid;
  gap: 10px;
  text-align: right;
}
.hero__edition span { color: var(--cyan); font-size: 0.72rem; font-weight: 780; letter-spacing: 0.16em; }
.hero__edition strong { font-size: 1.05rem; line-height: 1.45; }

.statement {
  width: var(--page);
  margin: 0 auto;
  padding: 170px 0 150px;
}
.micro-title { color: var(--blue); }
.statement h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(3rem, 6.6vw, 7.7rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 760;
}
.statement h2 .word { opacity: 0.17; transition: opacity 180ms ease; }

.value-grid {
  width: var(--page);
  margin: 0 auto 190px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, minmax(220px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.value-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.value-card--lead { grid-column: span 7; grid-row: span 2; min-height: 520px; background: var(--night); color: var(--white); }
.value-card--connect { grid-column: span 5; background: var(--paper-2); }
.value-card--create { grid-column: span 5; background: var(--blue); color: var(--white); }
.value-card__index { font-size: 0.68rem; font-weight: 800; opacity: 0.56; }
.value-card h2 { margin: 0 0 22px; max-width: 10ch; font-size: clamp(2.6rem, 5vw, 6.2rem); line-height: 0.98; letter-spacing: -0.055em; }
.value-card h3 { margin: 0 0 12px; font-size: clamp(2rem, 3vw, 3.4rem); line-height: 1; }
.value-card p { margin: 0; max-width: 38ch; font-size: 1.02rem; line-height: 1.78; opacity: 0.76; }
.value-card--lead::after,
.value-card--create::after {
  position: absolute;
  width: 300px;
  height: 300px;
  right: -130px;
  top: -120px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transform: rotate(45deg);
  content: "";
}

.friend-method {
  width: var(--page);
  margin: 0 auto 160px;
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 8vw;
}
.method-heading { align-self: start; position: sticky; top: 120px; }
.method-heading h2 { margin: 0; font-size: clamp(2.5rem, 4.8vw, 5.4rem); line-height: 1.04; letter-spacing: -0.05em; }
.method-accordion { border-top: 1px solid var(--line); }
.method-item { border-bottom: 1px solid var(--line); }
.method-item button {
  width: 100%;
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: baseline;
  gap: 24px;
  padding: 30px 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.method-item button span { color: var(--blue); font-size: 0.72rem; font-weight: 800; }
.method-item button strong { font-size: clamp(2rem, 3.4vw, 4rem); letter-spacing: -0.04em; }
.method-item button small { color: var(--muted); }
.method-copy { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 360ms ease; }
.method-copy p { overflow: hidden; margin: 0; max-width: 54ch; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.method-item.is-open .method-copy { grid-template-rows: 1fr; }
.method-item.is-open .method-copy p { padding-bottom: 32px; }

.city-marquee {
  overflow: hidden;
  padding: 24px 0;
  color: var(--white);
  background: var(--blue);
  white-space: nowrap;
}
.city-marquee > div { display: inline-flex; align-items: center; gap: 34px; min-width: max-content; animation: marquee 28s linear infinite; }
.city-marquee span { font-size: clamp(1.5rem, 3vw, 3.2rem); font-weight: 770; letter-spacing: -0.03em; }
.city-marquee i { color: var(--cyan); font-size: 0.92rem; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

.guests {
  width: var(--page);
  margin: 0 auto;
  padding: 170px 0 180px;
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 7vw;
}
.guests__intro { align-self: start; }
.guests__intro h2 { margin: 0 0 30px; font-size: clamp(3.6rem, 7vw, 8.4rem); line-height: 0.9; letter-spacing: -0.07em; }
.guests__intro > p:not(.micro-title) { max-width: 36ch; color: var(--muted); line-height: 1.85; }
.guests__note { padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.82rem; }
.guests__count { display: flex; align-items: baseline; gap: 12px; margin-top: 42px; }
.guests__count strong { color: var(--blue); font-size: clamp(4rem, 7vw, 7rem); line-height: 0.8; letter-spacing: -0.07em; }
.guests__count span { color: var(--muted); font-size: 0.78rem; }
.guest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(16, 24, 38, 0.13); }
.guest-card { min-width: 0; background: var(--paper-2); }
.guest-card[hidden] { display: none; }
.guest-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 22%, rgba(100, 220, 240, 0.8), transparent 22%),
    linear-gradient(145deg, var(--night), var(--blue));
}
.guest-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.88) contrast(1.03); }
.guest-photo--placeholder { display: grid; place-items: center; color: rgba(255, 255, 255, 0.92); }
.guest-photo--placeholder::after { position: absolute; inset: 12%; border: 1px solid rgba(255, 255, 255, 0.24); transform: rotate(8deg); content: ""; }
.guest-photo--placeholder > span:not(.guest-rank) { position: relative; z-index: 1; font-size: clamp(2.4rem, 4vw, 5rem); font-weight: 300; }
.guest-rank { position: absolute; z-index: 2; top: 14px; left: 14px; display: grid; place-items: center; width: 34px; height: 34px; background: rgba(6, 22, 52, 0.84); color: var(--white); font-size: 0.66rem; font-weight: 750; backdrop-filter: blur(8px); }
.guest-copy { padding: 22px 20px 18px; }
.guest-copy h3 { margin: 0 0 10px; font-size: 1.5rem; letter-spacing: -0.03em; }
.guest-role { margin: 0; min-height: 4.8em; color: var(--muted); font-size: 0.82rem; line-height: 1.6; }
.guest-copy details { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.guest-copy summary { list-style: none; color: var(--blue); font-size: 0.76rem; font-weight: 740; cursor: pointer; }
.guest-copy summary::-webkit-details-marker { display: none; }
.guest-copy summary::after { float: right; content: "＋"; }
.guest-copy details[open] summary::after { content: "－"; }
.guest-copy details p { margin: 12px 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.7; }
.show-all {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 66px;
  margin-top: 18px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  font-weight: 760;
  transition: color 180ms ease, background 180ms ease;
}
.show-all:hover { color: var(--white); background: var(--ink); }
.show-all span { margin-left: 12px; }

.join {
  width: var(--page);
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: 7fr 5fr;
  min-height: 560px;
  color: var(--white);
  background: var(--night);
}
.join__copy { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(36px, 6vw, 90px); }
.join__copy .micro-title { color: var(--cyan); }
.join__copy h2 { margin: 0; max-width: 9ch; font-size: clamp(3.5rem, 6vw, 7.5rem); line-height: 0.94; letter-spacing: -0.06em; }
.join__copy > p:last-child { max-width: 48ch; margin: 32px 0 0; color: rgba(255, 255, 255, 0.68); line-height: 1.85; }
.join__entry {
  position: relative;
  display: grid;
  align-content: end;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: clamp(34px, 5vw, 72px);
  background: var(--blue);
  transition: background 180ms ease;
}
.join__entry:hover { background: #0c52da; }
.join__entry span { align-self: end; font-size: clamp(2.3rem, 4vw, 5rem); font-weight: 780; line-height: 0.94; letter-spacing: -0.05em; }
.join__entry strong { align-self: end; font-size: 3.5rem; font-weight: 300; }
.join__entry small { grid-column: 1 / -1; color: rgba(255, 255, 255, 0.74); }

footer {
  width: var(--page);
  margin: 0 auto;
  padding: 24px 0 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
}
footer p { margin: 0; }
footer a { color: var(--ink); font-weight: 760; }

@media (max-width: 1100px) {
  :root { --page: calc(100vw - 40px); }
  .topic-nav { grid-template-columns: 1fr auto; padding: 0 20px; }
  .topic-nav nav { display: none; }
  .hero { padding-left: 20px; padding-right: 20px; }
  .hero__edition { right: 20px; }
  .guest-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --page: calc(100vw - 32px); }
  .topic-nav { height: 66px; }
  .topic-brand small { display: none; }
  .nav-entry { padding: 10px 12px; font-size: 0.74rem; }
  .hero { min-height: 760px; padding: 122px 16px 48px; align-items: end; }
  .hero__image { object-position: 68% center; }
  .hero__veil { background: linear-gradient(90deg, rgba(4, 13, 33, 0.94), rgba(4, 13, 33, 0.38)), linear-gradient(0deg, rgba(4, 13, 33, 0.9), transparent 58%); }
  .hero__content { width: 100%; }
  .hero h1 { font-size: clamp(4.3rem, 22vw, 6.2rem); }
  .hero__lead br { display: none; }
  .hero__edition { display: none; }
  .hero__actions { display: grid; }
  .button { width: 100%; }
  .statement { padding: 100px 0 90px; }
  .statement h2 { font-size: clamp(2.65rem, 12vw, 4.4rem); }
  .value-grid { grid-template-columns: 1fr; grid-template-rows: auto; margin-bottom: 110px; }
  .value-card--lead,
  .value-card--connect,
  .value-card--create { grid-column: auto; grid-row: auto; min-height: 320px; }
  .friend-method,
  .guests { grid-template-columns: 1fr; gap: 62px; }
  .friend-method { margin-bottom: 110px; }
  .method-heading { position: static; }
  .method-item button { grid-template-columns: 32px 1fr; gap: 16px; }
  .method-item button small { grid-column: 2; }
  .guests { padding: 110px 0; }
  .guests__intro h2 { font-size: 4.6rem; }
  .guest-grid { grid-template-columns: 1fr 1fr; }
  .guest-copy { padding: 18px 14px 16px; }
  .guest-copy h3 { font-size: 1.2rem; }
  .guest-role { min-height: 6.4em; font-size: 0.74rem; }
  .join { grid-template-columns: 1fr; min-height: 0; }
  .join__copy { min-height: 440px; padding: 42px 28px; }
  .join__entry { min-height: 300px; padding: 34px 28px; }
  footer { display: grid; }
}

@media (max-width: 420px) {
  .topic-brand > span:last-child { display: none; }
  .hero__overline { max-width: 30ch; line-height: 1.6; }
  .guest-grid { grid-template-columns: 1fr; }
  .guest-role { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .city-marquee > div { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
