:root {
  color-scheme: light;
  --ink: #111111;
  --paper: #f5f5f7;
  --muted: #6e6e73;
  --white: #ffffff;
  --blue: #0071e3;
  --blue-strong: #005bb8;
  --tea: #9a6a2f;
  --jade: #0a6f5a;
  --line: rgba(0, 0, 0, 0.12);
  --radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.global-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 max(18px, env(safe-area-inset-left));
  background: rgba(245, 245, 247, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: saturate(180%) blur(20px);
}

.brand-lockup {
  position: absolute;
  left: max(18px, env(safe-area-inset-left));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(0, 0, 0, 0.86);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 48px);
  color: rgba(0, 0, 0, 0.72);
  font-size: 12px;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: #000;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  place-items: start center;
  min-height: 88svh;
  margin-bottom: 12px;
  padding: clamp(88px, 11vh, 132px) 24px 42px;
  overflow: hidden;
  text-align: center;
  background: #fff;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 42%;
  content: "";
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.46));
  pointer-events: none;
}

.hero-primary::before {
  background-image:
    linear-gradient(to bottom, rgba(247, 248, 249, 0.2), rgba(247, 248, 249, 0.12) 45%, rgba(0, 0, 0, 0.2)),
    url("https://images.unsplash.com/photo-1544787219-7f47ccb76574?auto=format&fit=crop&w=2200&q=90");
}

.hero-dark {
  place-items: end center;
  color: #fff;
  background: #050506;
}

.hero-dark::before {
  background-image:
    radial-gradient(circle at 50% 15%, rgba(255, 255, 255, 0.06), transparent 32%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.54)),
    url("https://images.unsplash.com/photo-1506126613408-eca07ce68773?auto=format&fit=crop&w=2200&q=88");
  filter: saturate(0.86) brightness(0.7);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(880px, 100%);
}

.hero-primary .hero-copy {
  color: #fff;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.24);
}

.eyebrow {
  margin: 0 0 12px;
  color: currentColor;
  font-size: clamp(15px, 2vw, 21px);
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1,
.hero h2 {
  margin: 0;
  font-size: clamp(56px, 11vw, 132px);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h2 {
  font-size: clamp(42px, 7vw, 88px);
}

.hero-subtitle {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: clamp(21px, 3.2vw, 34px);
  line-height: 1.22;
  font-weight: 650;
  letter-spacing: 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 17px;
  line-height: 1.15;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: var(--blue);
  color: #fff;
}

.button-primary:hover {
  background: var(--blue-strong);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
  background: rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
}

.button-secondary:hover {
  background: #fff;
  color: #111;
}

.button-light {
  color: #111;
  background: #fff;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  left: 50%;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  transform: translateX(-50%);
}

.statement {
  display: grid;
  place-items: center;
  min-height: 46svh;
  padding: clamp(54px, 8vw, 98px) 24px;
  background: #fff;
  text-align: center;
}

.statement p {
  max-width: 980px;
  margin: 0;
  font-size: clamp(26px, 4.4vw, 56px);
  line-height: 1.16;
  font-weight: 750;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
}

.section-heading {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 34svh;
  padding: 54px 24px;
  text-align: center;
  background: #f5f5f7;
}

.section-heading h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(34px, 5.2vw, 72px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: 0;
}

.section-heading .eyebrow {
  color: var(--muted);
  font-size: 17px;
}

.service-card {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111;
  color: #fff;
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  transform: scale(1.03);
}

.service-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.58));
}

.service-card div {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  padding: clamp(28px, 5vw, 58px);
  text-align: center;
}

.service-card h3 {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.service-card p {
  max-width: 560px;
  margin: 14px auto 0;
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.36;
  font-weight: 600;
}

.service-card-light {
  color: #111;
}

.service-card-light::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.76));
}

.service-card-warm::after {
  background: linear-gradient(to bottom, rgba(20, 10, 4, 0.12), rgba(72, 39, 13, 0.66));
}

.service-card-deep::after {
  background: linear-gradient(to bottom, rgba(1, 9, 10, 0.1), rgba(1, 14, 18, 0.72));
}

.immersive {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 92svh;
  margin: 0 0 12px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background: #0a0b0b;
}

.immersive-media {
  position: absolute;
  inset: -9% 0;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.72)),
    url("https://images.unsplash.com/photo-1511895426328-dc8714191300?auto=format&fit=crop&w=2200&q=90");
  background-position: center;
  background-size: cover;
  filter: saturate(0.88) brightness(0.78);
  will-change: transform;
}

.immersive-copy {
  position: relative;
  width: min(920px, calc(100% - 48px));
}

.immersive-copy h2 {
  margin: 0;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 1;
  letter-spacing: 0;
}

.immersive-copy p:last-child {
  max-width: 720px;
  margin: 18px auto 0;
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.25;
  font-weight: 650;
}

.journey {
  padding: 12px;
}

.journey .section-heading {
  border-radius: var(--radius);
  background: #fff;
}

.step-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.step-card {
  min-height: 320px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius);
  background: #fff;
}

.step-card span {
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
}

.step-card h3 {
  margin: 44px 0 0;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

.step-card p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.story-strip {
  overflow: hidden;
  padding: 44px 0;
  background: #f5f5f7;
}

.strip-track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding: 0 12px;
  animation: drift 28s linear infinite;
}

.strip-track:hover {
  animation-play-state: paused;
}

.strip-track article {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(72vw, 420px);
  min-height: 236px;
  padding: 28px;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(145deg, rgba(0, 113, 227, 0.88), rgba(10, 111, 90, 0.82)),
    #111;
}

.strip-track article:nth-child(2n) {
  background: linear-gradient(145deg, rgba(17, 17, 17, 0.92), rgba(154, 106, 47, 0.84));
}

.strip-track span {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 700;
}

.strip-track strong {
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: 0;
}

.wechat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 520px);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  min-height: 82svh;
  padding: clamp(58px, 9vw, 110px) clamp(24px, 6vw, 92px);
  background: #fff;
}

.wechat-copy h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(38px, 6vw, 86px);
  line-height: 1.02;
  letter-spacing: 0;
}

.wechat-copy p:not(.eyebrow) {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
}

.wechat-copy .button {
  margin-top: 28px;
  border: 0;
}

.wechat-device {
  display: grid;
  place-items: center;
}

.phone-frame {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 9 / 18.5;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 42px;
  background: #181818;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.22);
}

.phone-top {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 94px;
  height: 27px;
  border-radius: 999px;
  background: #050505;
  transform: translateX(-50%);
}

.phone-screen {
  display: grid;
  align-content: end;
  height: 100%;
  padding: 34px 24px;
  border-radius: 30px;
  color: #fff;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(155deg, #0a6f5a, #101112 52%, #9a6a2f);
}

.phone-screen span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 700;
}

.phone-screen strong {
  display: block;
  margin-top: 8px;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: 0;
}

.phone-screen p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  color: #6e6e73;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.toast {
  position: fixed;
  z-index: 80;
  right: 18px;
  bottom: 18px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: rgba(17, 17, 17, 0.92);
  color: #fff;
  font-size: 14px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

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

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

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 6px));
  }
}

@media (max-width: 900px) {
  .global-nav {
    justify-content: flex-end;
  }

  .nav-toggle {
    position: relative;
    z-index: 60;
    display: grid;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 11px 9px;
    border: 0;
    background: transparent;
  }

  .nav-toggle span {
    display: block;
    height: 1px;
    background: #111;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    inset: 44px 0 auto;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 18px 24px 28px;
    background: rgba(245, 245, 247, 0.96);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 220ms ease;
  }

  .nav-open .nav-links {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 22px;
    font-weight: 700;
  }

  .hero {
    min-height: 86svh;
    padding-inline: 18px;
  }

  .hero h1 {
    font-size: clamp(62px, 24vw, 112px);
  }

  .hero-actions {
    gap: 10px;
  }

  .button {
    min-width: 108px;
    font-size: 16px;
  }

  .statement {
    min-height: auto;
  }

  .service-grid,
  .step-row,
  .wechat {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 520px;
  }

  .step-card {
    min-height: 250px;
  }

  .step-card h3 {
    margin-top: 32px;
  }

  .wechat {
    text-align: center;
  }

  .wechat-copy p:not(.eyebrow) {
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 520px) {
  .brand-lockup span:last-child {
    display: none;
  }

  .hero {
    min-height: 84svh;
    margin-bottom: 10px;
  }

  .hero h2,
  .immersive-copy h2,
  .wechat-copy h2 {
    word-break: break-word;
  }

  .hero-subtitle {
    font-size: 23px;
  }

  .service-grid,
  .journey {
    padding: 10px;
  }

  .service-card {
    min-height: 470px;
  }

  .service-card div {
    padding: 28px 20px;
  }

  .strip-track article {
    width: 82vw;
  }

  .phone-frame {
    width: min(88vw, 320px);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
