:root {
  --bg: #f5f1ea;
  --paper: #fffdf9;
  --ink: #182127;
  --muted: #58625e;
  --line: rgba(24, 33, 39, 0.12);
  --navy: #12263a;
  --navy-soft: #224260;
  --accent: #d9b88e;
  --accent-deep: #b68454;
  --white: #ffffff;
  --shadow: 0 22px 64px rgba(18, 38, 58, 0.12);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(217, 184, 142, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(210, 225, 234, 0.72), transparent 26%),
    linear-gradient(180deg, #f3eee6 0%, #f8f4ee 42%, #fdfbf8 100%);
}

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

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

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.page-shell {
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(245, 241, 234, 0.82);
  border-bottom: 1px solid rgba(24, 33, 39, 0.08);
}

.nav {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.84rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.56);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.96rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--navy);
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 14px 32px rgba(18, 38, 58, 0.2);
}

.page-hero-wrap,
.section,
.footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.page-hero-wrap {
  padding: 34px 0 68px;
}

.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 30px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(18, 38, 58, 0.98), rgba(27, 59, 85, 0.94)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  box-shadow: var(--shadow);
  isolation: isolate;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}

.page-hero h1 {
  margin: 18px 0 0;
  color: var(--white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 6.5vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.page-hero p {
  margin-top: 22px;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: var(--navy);
  box-shadow: 0 16px 32px rgba(217, 184, 142, 0.22);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.hero-checks {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-checks li {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.hero-checks li::before {
  content: "+";
  display: inline-block;
  width: 18px;
  color: var(--accent);
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 28px;
  background: #0b1724;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(0.95) contrast(1.03);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 17, 24, 0.08), rgba(10, 17, 24, 0.52)),
    linear-gradient(135deg, rgba(18, 38, 58, 0.14), rgba(18, 38, 58, 0.56));
}

.hero-note {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 253, 249, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(12, 23, 36, 0.16);
}

.hero-note strong {
  display: block;
  color: var(--navy);
  font-size: 1.02rem;
}

.hero-note span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.section {
  padding: 80px 0;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 34px;
  max-width: 760px;
}

.kicker {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
  font-weight: 800;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.grid-3,
.grid-2,
.stat-grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.stat-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(18, 38, 58, 0.06);
}

.card h3,
.faq-card h3 {
  margin: 18px 0 10px;
  font-size: 1.22rem;
  color: var(--ink);
}

.portfolio-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 18px;
  background: rgba(18, 38, 58, 0.08);
}

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

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(18, 38, 58, 0.06);
  color: var(--navy);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
}

.list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.list span {
  color: var(--muted);
  font-size: 0.96rem;
}

.list span::before {
  content: "+";
  display: inline-block;
  width: 18px;
  color: var(--accent-deep);
  font-weight: 800;
}

.stat-card strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 10px;
  font-weight: 700;
  color: var(--ink);
}

.stat-card p {
  margin-top: 8px;
  font-size: 0.95rem;
}

.faq-list {
  display: grid;
  gap: 14px;
}

details {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(18, 38, 58, 0.05);
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 24px;
  font-weight: 700;
  color: var(--ink);
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  padding: 0 24px 22px;
}

.contact-panel {
  padding: 30px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at bottom left, rgba(217, 184, 142, 0.14), transparent 42%);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(18, 38, 58, 0.06);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-panel .button-secondary {
  border-color: rgba(18, 38, 58, 0.18);
  color: var(--navy);
  background: rgba(18, 38, 58, 0.04);
}

.text-link {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.project-note {
  margin-top: 14px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
}

.related-links {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.related-links a {
  color: var(--navy);
  font-weight: 700;
}

.footer {
  padding: 0 0 42px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.page-shanghai {
  --accent: #d9b88e;
  --accent-deep: #b68454;
}

.page-beijing {
  --accent: #d2a38e;
  --accent-deep: #a5644f;
}

.page-shenzhen {
  --accent: #96c9bf;
  --accent-deep: #4b9a8d;
}

.page-guangzhou {
  --accent: #e2b48c;
  --accent-deep: #be7d48;
}

@media (max-width: 1080px) {
  .page-hero,
  .grid-3,
  .grid-2,
  .contact-grid,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero h1 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: auto;
    padding: 16px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .page-hero,
  .grid-3,
  .grid-2,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-wrap {
    padding-top: 18px;
  }

  .page-hero {
    padding: 26px;
  }

  .hero-visual {
    min-height: 380px;
  }

  .section {
    padding: 62px 0;
  }
}
