:root {
  --text: #18110d;
  --muted: #5b5148;
  --accent: #c49976;
  --accent-strong: #a97852;
  --container: 1220px;
  --hero-stack-gap: 26px;
  --font-body: "Helvetica Neue", "Arial Nova", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-display: "Helvetica Neue", "Arial Nova", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  background: #ffffff;
  color: var(--text);
  font-family: var(--font-body);
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

body.is-mobile-menu-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

img,
svg {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.site-shell {
  width: 100%;
  margin: 0;
  overflow-x: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  background: #ffffff;
  overflow-x: clip;
  overflow-y: visible;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 28px;
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.brand,
.button {
  font-family: var(--font-display);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 38px;
}

.brand-logo {
  display: block;
  height: 50px;
  width: auto;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #18110d;
  border-radius: 999px;
  background: #ffffff;
  color: #18110d;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.mobile-menu-toggle-lines {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-toggle-lines span {
  display: block;
  width: 12px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

body.is-mobile-menu-open .mobile-menu-toggle-lines span:first-child {
  transform: translateY(2.75px) rotate(45deg);
}

body.is-mobile-menu-open .mobile-menu-toggle-lines span:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

.mobile-menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid rgba(24, 17, 13, 0.08);
  box-shadow: 0 24px 54px rgba(24, 17, 13, 0.1);
  z-index: 25;
}

.mobile-menu-panel-inner {
  width: min(calc(100% - 28px), var(--container));
  margin: 0 auto;
  padding: 22px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-menu-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  font-family: var(--font-body);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1;
  color: #18110d;
}

.mobile-menu-utility {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(24, 17, 13, 0.08);
}

.mobile-menu-cta {
  min-height: 40px;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 52px;
}

.topnav-primary {
  display: flex;
  align-items: center;
  gap: 50px;
  min-height: 38px;
}

.topnav-utility {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 38px;
}

.topnav-link,
.topnav-cta,
.lang-divider {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
}

.topnav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  font-family: var(--font-body);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  color: #5b5148;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  min-width: 86px;
  gap: 8px;
  line-height: 1;
  white-space: nowrap;
}

.mobile-lang-switch {
  display: none;
}

.lang-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1;
  color: #82766d;
  transition: color 160ms ease;
}

.lang-option[lang="zh-CN"] {
  font-family: var(--font-body);
  letter-spacing: 0;
}

.lang-option[lang="en"] {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
}

.lang-option.is-active {
  color: #18110d;
}

.lang-option:hover,
.lang-option:focus-visible {
  color: #18110d;
}

.lang-divider {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1;
  color: #b1a59b;
}

.topnav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #18110d;
  border-radius: 999px;
  color: #18110d;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero {
  min-height: auto;
  padding: 0 0 24px;
  overflow-x: hidden;
}

.hero-layout {
  position: relative;
  min-height: clamp(600px, 54vw, 760px);
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(66%, 860px);
  padding-top: clamp(236px, 23vw, 320px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--hero-stack-gap);
  pointer-events: none;
}

.hero-actions,
.hero-actions * {
  pointer-events: auto;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.72rem, 4.6vw, 5.02rem);
  line-height: 0.93;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.hero-accent {
  color: var(--accent);
}

.page-en .topnav-link {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

.page-en .mobile-menu-link {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

.page-en .topnav-cta,
.page-en .button {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  font-weight: 700;
}

html[lang="zh-CN"] .hero-actions .button {
  font-weight: 700;
}

.page-en .hero h1 {
  letter-spacing: -0.04em;
}

.page-en .hero-subhead {
  max-width: clamp(36rem, 42vw, 44rem);
  font-weight: 500;
  line-height: 1.72;
}

.page-en .footer-heading {
  letter-spacing: 0.02em;
}

.hero-subhead {
  max-width: clamp(34rem, 39vw, 41rem);
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.86;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  margin-top: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  transition:
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button-primary {
  color: #fff8f1;
  background: transparent;
  box-shadow: 0 18px 32px rgba(196, 153, 118, 0.24);
}

.button-primary::before,
.button-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;
  transition: opacity 220ms ease;
}

.button-primary::before {
  background: linear-gradient(135deg, #c49976 0%, #b7875d 100%);
  opacity: 1;
}

.button-primary::after {
  background: linear-gradient(135deg, #292522 0%, #000000 100%);
  opacity: 0;
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.16);
}

.button-primary:hover::before,
.button-primary:focus-visible::before {
  opacity: 0;
}

.button-primary:hover::after,
.button-primary:focus-visible::after {
  opacity: 1;
}

.button-primary span {
  position: relative;
  z-index: 1;
}

.hero-map {
  position: absolute;
  top: clamp(-68px, -4.6vh, -32px);
  right: -112px;
  width: min(68vw, 920px);
  z-index: 1;
}

.hero-map-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 784.077 / 458.627;
}

.world-map-image {
  display: block;
  width: 100%;
  height: auto;
}

.map-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.map-marker {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  transform: translate(-50%, -50%);
  pointer-events: auto;
  cursor: pointer;
  outline: none;
  border: 0;
  background: transparent;
  padding: 0;
}

.map-marker-dot {
  display: block;
  width: clamp(12px, 1.45vw, 20px);
  height: clamp(12px, 1.45vw, 20px);
  border-radius: 999px;
  fill: var(--accent);
  background: var(--accent);
  stroke: #ffffff;
  border: 1.5px solid #ffffff;
}

.map-marker-label {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translate(-20px, -50%);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.01em;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  text-align: right;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.map-marker:hover .map-marker-dot,
.map-marker:focus-visible .map-marker-dot,
.map-marker.is-active .map-marker-dot {
  fill: #101010;
  background: #101010;
}

.map-marker:hover .map-marker-label,
.map-marker:focus-visible .map-marker-label,
.map-marker.is-active .map-marker-label {
  opacity: 1;
  transform: translate(0, -50%);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 540ms ease,
    transform 540ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  margin-top: 0;
  position: relative;
  background: var(--accent);
  color: #18110d;
  overflow-x: hidden;
}

.footer-shell {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.footer-main {
  min-height: 238px;
  padding: 58px 0 52px;
  display: block;
}

.footer-heading,
.footer-link,
.footer-text,
.footer-legal {
  color: inherit;
}

.footer-columns {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-top: 6px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-column-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 18px;
  width: min(100%, 420px);
  margin-left: auto;
}

.footer-heading {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.footer-link {
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.45;
  color: rgba(24, 17, 13, 0.82);
  transition: color 160ms ease;
}

.footer-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.45;
  color: rgba(24, 17, 13, 0.82);
}

.footer-link:hover,
.footer-link:focus-visible {
  color: #18110d;
}

.footer-bottom {
  position: relative;
  min-height: 56px;
  padding: 12px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-top: 1px solid rgba(24, 17, 13, 0.16);
}

.footer-meta {
  display: inline-flex;
  align-items: center;
  gap: 22px;
}

.footer-meta-link {
  font-family: var(--font-body);
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(24, 17, 13, 0.86);
  text-decoration: none;
}

.footer-meta-link:hover,
.footer-meta-link:focus-visible {
  color: #18110d;
}

.footer-legal {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(24, 17, 13, 0.86);
  text-align: right;
}

.footer-legal-link {
  color: inherit;
  text-decoration: none;
}

.footer-legal-link:hover,
.footer-legal-link:focus-visible {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .hero-layout {
    min-height: clamp(560px, 58vw, 700px);
  }

  .hero-copy {
    width: min(72%, 800px);
    padding-top: clamp(210px, 24vw, 286px);
  }

  .hero-map {
    width: min(72vw, 860px);
    top: clamp(-54px, -3.4vh, -22px);
    right: -88px;
  }

  .footer-main {
    min-height: auto;
  }

  .footer-columns {
    flex-direction: column;
    gap: 36px;
  }

  .footer-column-group {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    width: min(100%, 560px);
    margin-left: 0;
  }
}

@media (max-width: 920px) {
  .hero {
    padding-bottom: 30px;
  }

  .hero-layout {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .hero-copy {
    width: min(84%, 38rem);
    order: 2;
    padding-top: 0;
    gap: 24px;
  }

  .page-en .hero-copy {
    width: min(86%, 40rem);
  }

  .hero h1 {
    white-space: normal;
  }

  .hero-subhead {
    max-width: 38rem;
  }

  .hero-map {
    position: relative;
    top: auto;
    right: auto;
    order: 1;
    align-self: flex-end;
    width: min(112%, 760px);
    max-width: none;
    margin-top: 34px;
    margin-right: -6%;
    margin-bottom: -44px;
  }

  .topbar-inner {
    min-height: 76px;
  }

  .topnav {
    display: none;
  }

  .mobile-lang-switch {
    display: inline-flex;
    margin-left: auto;
    order: 2;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    order: 3;
  }

  .footer-main {
    padding: 48px 0 42px;
  }
}

@media (max-width: 760px) {
  .hero-layout {
    width: min(calc(100% - 28px), 100%);
  }

  .topbar-inner {
    width: min(calc(100% - 28px), 100%);
    margin: 0 auto;
    min-height: 72px;
    gap: 10px;
  }

  .footer-shell {
    width: min(calc(100% - 28px), 100%);
    margin: 0 auto;
  }

  .brand-logo {
    height: 40px;
  }

  .mobile-lang-switch {
    min-width: auto;
    gap: 6px;
  }

  .hero {
    min-height: auto;
    padding: 0 0 26px;
  }

  .hero-copy {
    width: min(92%, 32rem);
    padding-top: 0;
    gap: 22px;
  }

  .hero h1 {
    font-size: clamp(2.42rem, 12.8vw, 3.98rem);
  }

  .page-en .hero h1 {
    letter-spacing: -0.035em;
  }

  .hero-subhead {
    max-width: none;
    font-size: 0.98rem;
    line-height: 1.8;
  }

  .hero-map {
    width: min(122%, 620px);
    margin-top: 28px;
    margin-right: -10%;
    margin-bottom: -30px;
  }

  .button {
    min-height: 46px;
    padding: 0 20px;
  }

  .topnav-cta {
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .lang-option {
    font-size: 0.76rem;
  }

  .map-marker-label {
    font-size: 13.5px;
  }

  .map-marker-dot {
    border-width: 1px;
  }

  .footer-main {
    padding: 40px 0 34px;
  }

  .footer-columns {
    gap: 24px;
  }

  .footer-column-group {
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
  }

  .footer-column {
    gap: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 52px;
    padding: 12px 0 18px;
    gap: 8px;
  }

  .footer-legal {
    text-align: left;
    font-size: 0.8rem;
  }

  .footer-meta {
    gap: 18px;
    flex-wrap: wrap;
  }

  .footer-meta-link {
    font-size: 0.8rem;
  }
}

@media (max-width: 560px) {
  .hero-copy {
    width: 100%;
  }

  .hero-map {
    width: min(130%, 560px);
    margin-right: -14%;
    margin-bottom: -18px;
  }
}
