:root {
  --sand: #f1e8d8;
  --sand-soft: #faf6ee;
  --espresso: #281a15;
  --brown: #54392d;
  --blue: #1649d8;
  --blue-dark: #103db4;
  --paper: #fffdf8;
  --line: rgba(40, 26, 21, 0.2);
  --serif: "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--espresso);
  background: var(--sand-soft);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--espresso);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus { transform: translateY(0); }
.section-shell { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  padding: 17px 0;
  background: rgba(250, 246, 238, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 0.2s ease, padding 0.2s ease;
}

.site-header.scrolled { border-color: var(--line); padding-block: 11px; }

.nav-shell {
  width: min(calc(100% - 64px), var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: 0.03em; }
.brand-mark { position: relative; display: inline-flex; width: 35px; height: 25px; }
.brand-mark i { position: absolute; width: 22px; height: 22px; border: 2px solid currentColor; border-radius: 50%; }
.brand-mark i:first-child { left: 0; }
.brand-mark i:last-child { right: 0; background: var(--blue); border-color: var(--blue); mix-blend-mode: multiply; }

.site-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 600; }
.site-nav > a:not(.nav-cta) { position: relative; }
.site-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transition: right 0.2s ease;
}
.site-nav > a:hover::after { right: 0; }
.nav-cta { padding: 10px 18px; color: #fff; background: var(--espresso); border-radius: 999px; }
.nav-cta span { margin-left: 6px; }
.menu-toggle { display: none; border: 0; background: transparent; cursor: pointer; }

.hero {
  position: relative;
  min-height: 765px;
  padding-top: 76px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 30px;
  align-items: center;
  overflow: hidden;
}

.hero-copy { position: relative; z-index: 3; padding-bottom: 75px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 27px; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; }
.eyebrow > span { width: 28px; height: 2px; background: var(--blue); }
.eyebrow.light { color: var(--sand); }
.eyebrow.light > span { background: currentColor; }

h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 700; }
.hero h1 { margin-bottom: 30px; font-size: clamp(72px, 8.1vw, 124px); line-height: 0.95; letter-spacing: -0.08em; }
.hero h1 em { position: relative; color: var(--blue); font-style: normal; }
.hero h1 em::after { content: ""; position: absolute; right: -18px; bottom: 10px; width: 13px; height: 13px; background: var(--blue); border-radius: 50%; }
.hero-intro { max-width: 530px; color: var(--brown); font-size: 17px; line-height: 1.9; }
.hero-actions { margin-top: 37px; display: flex; align-items: center; gap: 35px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-size: 14px; font-weight: 700; transition: transform 0.2s ease, background 0.2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover { background: var(--blue-dark); }
.text-link { padding-block: 10px; border-bottom: 1px solid var(--espresso); font-size: 14px; font-weight: 700; }
.text-link span { margin-left: 8px; }

.hero-poster { position: relative; z-index: 2; justify-self: end; width: min(100%, 520px); transform: rotate(2deg); }
.poster-shadow { position: absolute; inset: 24px -15px -19px 21px; background: var(--espresso); border-radius: 55% 45% 48% 52% / 5% 5% 4% 4%; transform: rotate(-4deg); }
.poster-card { position: relative; min-height: 590px; padding: 27px; overflow: hidden; background: var(--sand); border: 1px solid rgba(40,26,21,0.25); border-radius: 26px 26px 80px 26px; }
.poster-topline { display: flex; justify-content: space-between; align-items: center; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; }
.poster-dot { width: 7px; height: 7px; background: var(--blue); border-radius: 50%; }
.poster-visual { position: relative; height: 410px; margin: 12px -5px 0; }
.shape { position: absolute; }
.shape-blue { top: 38px; right: 14px; width: 67%; height: 68%; background: var(--blue); border-radius: 46% 54% 66% 34% / 52% 36% 64% 48%; transform: rotate(-9deg); }
.shape-sand { z-index: 2; left: 0; bottom: 20px; width: 58%; aspect-ratio: 1; background: #d6b887; border: 2px solid var(--espresso); border-radius: 47% 53% 33% 67% / 61% 40% 60% 39%; }
.shape-ring { z-index: 3; top: 4px; left: 22%; width: 128px; height: 128px; border: 28px solid var(--espresso); border-radius: 50%; }
.poster-line { position: absolute; z-index: 4; inset: 35px 0 auto; width: 100%; height: 300px; overflow: visible; }
.poster-line path { fill: none; stroke: var(--paper); stroke-width: 2; }
.poster-line circle { fill: var(--sand); stroke: var(--espresso); stroke-width: 2; }
.poster-caption { position: relative; z-index: 5; display: flex; justify-content: space-between; align-items: end; }
.poster-caption p { margin: 0; font-family: var(--serif); font-size: 23px; font-weight: 700; line-height: 1.45; }
.poster-caption span { font-size: 9px; font-weight: 700; letter-spacing: 0.2em; writing-mode: vertical-rl; }
.poster-tab { position: absolute; z-index: 6; right: -36px; top: 50%; padding: 10px 19px; color: #fff; background: var(--espresso); border-radius: 999px; font-size: 11px; letter-spacing: 0.13em; transform: rotate(90deg) translateX(50%); transform-origin: right center; }

.hero-orbit { position: absolute; border: 1px solid rgba(40,26,21,0.15); border-radius: 50%; }
.orbit-one { right: 25%; top: 3%; width: 480px; height: 480px; }
.orbit-two { right: -10%; bottom: 5%; width: 320px; height: 320px; }
.hero-index { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); color: rgba(40,26,21,0.55); font-size: 9px; font-weight: 700; letter-spacing: 0.2em; }

.marquee-band { overflow: hidden; color: var(--sand); background: var(--espresso); transform: rotate(-1.1deg) scale(1.02); }
.marquee-track { display: flex; align-items: center; justify-content: center; gap: 36px; min-width: max-content; padding: 19px 0; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 34px); font-weight: 700; }
.marquee-track i { width: 8px; height: 8px; background: var(--blue); border-radius: 50%; }

.about { position: relative; padding: 155px 0 140px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 90px; }
.section-number { position: absolute; top: 110px; right: 0; color: rgba(40,26,21,0.07); font-family: var(--serif); font-size: 160px; line-height: 1; }
.about-heading h2, .method-copy h2 { margin: 0; font-size: clamp(43px, 5.2vw, 75px); line-height: 1.2; letter-spacing: -0.055em; }
.about-heading h2 span, .method-copy h2 span { position: relative; color: var(--blue); white-space: nowrap; }
.about-body { padding-top: 66px; }
.about-body > p { max-width: 650px; color: var(--brown); }
.about-body .lead { color: var(--espresso); font-family: var(--serif); font-size: 24px; font-weight: 700; line-height: 1.65; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 50px; border-top: 1px solid var(--line); }
.principles div { padding: 24px 12px 0 0; }
.principles b, .principles span { display: block; }
.principles b { font-family: var(--serif); font-size: 24px; }
.principles span { margin-top: 3px; color: #725e52; font-size: 12px; }

.services { padding: 128px 0; color: var(--sand-soft); background: var(--espresso); }
.services-header { display: grid; grid-template-columns: 1fr 0.55fr; gap: 80px; align-items: end; margin-bottom: 66px; }
.services-header h2 { margin-bottom: 0; font-size: clamp(42px, 5vw, 72px); line-height: 1.17; letter-spacing: -0.055em; }
.services-header > p { max-width: 390px; margin-bottom: 6px; color: #cdbeb2; }
.service-list { border-top: 1px solid rgba(255,255,255,0.22); }
.service-card { position: relative; display: grid; grid-template-columns: 60px 105px 1fr 36px; gap: 30px; align-items: center; padding: 42px 8px; border-bottom: 1px solid rgba(255,255,255,0.22); transition: background 0.25s ease, padding 0.25s ease; }
.service-card:hover { padding-inline: 23px; background: rgba(255,255,255,0.045); }
.service-no { align-self: start; padding-top: 8px; color: #b8a99e; font-size: 11px; letter-spacing: 0.12em; }
.service-icon { display: grid; width: 82px; height: 82px; place-items: center; color: var(--sand); background: var(--blue); border-radius: 48% 52% 39% 61% / 55% 38% 62% 45%; transition: transform 0.25s ease; }
.service-card:nth-child(2) .service-icon { border-radius: 50%; background: #c5a778; }
.service-card:nth-child(3) .service-icon { border-radius: 30px 12px 30px 12px; }
.service-card:hover .service-icon { transform: rotate(5deg); }
.service-icon svg { width: 43px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.service-copy { display: grid; grid-template-columns: 0.7fr 1fr; gap: 42px; align-items: center; }
.service-copy h3 { margin: 0; font-family: var(--serif); font-size: 29px; }
.service-copy p { margin: 0; color: #cdbeb2; font-size: 14px; }
.service-copy ul { grid-column: 1 / -1; display: flex; gap: 9px; margin: -20px 0 0; padding: 0; list-style: none; }
.service-copy li { padding: 5px 11px; color: #cdbeb2; border: 1px solid rgba(255,255,255,0.22); border-radius: 99px; font-size: 10px; }
.service-arrow { color: var(--sand); font-size: 25px; }

.method { padding: 145px 0; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 105px; align-items: center; }
.method-poster { position: relative; min-height: 575px; overflow: hidden; color: var(--sand); background: var(--blue); border-radius: 110px 28px 28px 28px; transform: rotate(-2deg); }
.method-grid { position: absolute; inset: 0; opacity: 0.2; background-image: linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px); background-size: 58px 58px; }
.method-word { position: absolute; z-index: 2; top: 43px; left: 39px; font-family: var(--serif); font-size: clamp(82px, 10vw, 145px); font-weight: 700; line-height: 1; letter-spacing: -0.09em; writing-mode: vertical-rl; }
.method-circle { position: absolute; right: -77px; bottom: -45px; width: 340px; height: 340px; border: 75px solid var(--sand); border-radius: 50%; }
.method-stamp { position: absolute; z-index: 3; right: 35px; top: 47px; display: grid; grid-template-columns: auto 1fr; gap: 7px 12px; align-items: center; padding: 17px; border: 1px solid rgba(255,255,255,0.65); border-radius: 15px; font-size: 10px; letter-spacing: 0.12em; transform: rotate(5deg); }
.method-stamp i { grid-row: 1 / 3; grid-column: 2; width: 38px; height: 38px; border: 1px solid currentColor; border-radius: 50%; }
.method-copy > p:not(.eyebrow) { max-width: 570px; margin-top: 32px; color: var(--brown); }
.method-copy blockquote { margin: 48px 0 0; padding: 20px 0 20px 28px; border-left: 3px solid var(--blue); }
.method-copy blockquote p { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 700; }

.process { padding: 120px 0 130px; background: var(--sand); }
.process-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 65px; }
.process-heading h2 { margin: 0; font-size: clamp(50px, 6vw, 82px); line-height: 1; letter-spacing: -0.06em; }
.process-heading .eyebrow { margin-bottom: 7px; }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; counter-reset: steps; }
.process-list li { position: relative; min-height: 255px; padding: 23px 28px 25px 0; border-right: 1px solid var(--line); }
.process-list li + li { padding-left: 28px; }
.process-list li:last-child { border-right: 0; }
.step-no { color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: 0.15em; }
.process-list div { position: absolute; right: 28px; bottom: 18px; left: 0; }
.process-list li + li div { left: 28px; }
.process-list h3 { margin-bottom: 7px; font-family: var(--serif); font-size: 26px; }
.process-list p { margin: 0; color: var(--brown); font-size: 13px; }
.process-list li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--blue); border-radius: 50%; }
.process-list li + li::before { left: 28px; }

.connect { padding: 125px 0; }
.connect-card { position: relative; min-height: 520px; padding: 78px clamp(38px, 8vw, 110px); overflow: hidden; color: #fff; background: var(--blue); border-radius: 35px 135px 35px 35px; }
.connect-card h2 { position: relative; z-index: 2; max-width: 780px; margin-bottom: 24px; font-size: clamp(49px, 6.5vw, 89px); line-height: 1.12; letter-spacing: -0.06em; }
.connect-card h2 span { color: var(--sand); }
.connect-card > p:not(.eyebrow) { position: relative; z-index: 2; max-width: 610px; color: #dce4ff; }
.button-light { position: relative; z-index: 2; margin-top: 17px; color: var(--espresso); background: var(--sand); }
.button-light:hover { background: #fff; }
.connect-shape { position: absolute; right: -86px; bottom: -146px; width: 490px; height: 490px; border: 92px solid var(--espresso); border-radius: 50%; opacity: 0.95; }
.connect-note { position: absolute; right: 45px; top: 65px; font-size: 10px; letter-spacing: 0.2em; writing-mode: vertical-rl; }

.site-footer { padding: 45px 0 55px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 35px; }
.footer-brand .brand-name { font-size: 13px; }
.footer-inner nav { display: flex; gap: 28px; font-size: 12px; font-weight: 600; }
.footer-inner nav a:hover { color: var(--blue); }
.back-top { justify-self: end; font-size: 12px; font-weight: 700; }
.back-top span { display: inline-block; margin-left: 10px; }

@media (max-width: 960px) {
  .section-shell, .nav-shell { width: min(calc(100% - 40px), var(--max)); }
  .hero { min-height: auto; padding: 80px 0 90px; grid-template-columns: 1fr 0.85fr; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { font-size: clamp(61px, 9vw, 88px); }
  .poster-card { min-height: 510px; }
  .poster-visual { height: 340px; }
  .poster-caption p { font-size: 19px; }
  .about { gap: 55px; }
  .services-header { grid-template-columns: 1fr; gap: 30px; }
  .service-copy { grid-template-columns: 1fr; gap: 8px; }
  .service-copy ul { grid-column: auto; margin: 7px 0 0; }
  .method { gap: 55px; }
  .method-poster { min-height: 510px; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-list li:nth-child(2) { border-right: 0; }
  .process-list li:nth-child(3), .process-list li:nth-child(4) { border-top: 1px solid var(--line); }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-inner nav { display: none; }
}

@media (max-width: 720px) {
  .section-shell, .nav-shell { width: min(calc(100% - 32px), var(--max)); }
  .site-header { padding-block: 13px; }
  .brand-name { font-size: 14px; }
  .menu-toggle { position: relative; z-index: 102; display: flex; align-items: center; gap: 10px; padding: 7px; }
  .menu-label { font-size: 12px; font-weight: 700; }
  .menu-icon { display: grid; gap: 5px; width: 21px; }
  .menu-icon i { height: 2px; background: var(--espresso); transition: transform 0.2s ease; }
  .menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: fixed; z-index: 101; top: 0; right: 0; width: min(88vw, 390px); height: 100vh; padding: 104px 34px 40px; display: flex; flex-direction: column; align-items: stretch; gap: 0; background: var(--sand); box-shadow: -20px 0 50px rgba(40,26,21,0.14); transform: translateX(105%); visibility: hidden; transition: transform 0.25s ease, visibility 0.25s; }
  .site-nav.open { transform: translateX(0); visibility: visible; }
  .site-nav > a { padding: 17px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 24px; }
  .site-nav > a:not(.nav-cta)::after { display: none; }
  .site-nav .nav-cta { margin-top: 25px; padding: 14px 20px; color: #fff; border: 0; border-radius: 999px; font-family: var(--sans); font-size: 14px; text-align: center; }
  body.menu-open { overflow: hidden; }

  .hero { padding: 58px 0 76px; display: block; overflow: visible; }
  .hero h1 { font-size: clamp(61px, 21vw, 92px); }
  .hero h1 em::after { width: 9px; height: 9px; }
  .hero-intro { font-size: 15px; }
  .hero-actions { gap: 22px; align-items: stretch; flex-direction: column; }
  .button-primary { align-self: flex-start; }
  .text-link { align-self: flex-start; }
  .hero-poster { width: calc(100% - 12px); margin: 70px auto 35px; }
  .poster-card { min-height: 525px; padding: 22px; border-radius: 21px 21px 65px 21px; }
  .poster-visual { height: 360px; }
  .shape-ring { width: 105px; height: 105px; border-width: 22px; }
  .poster-caption p { font-size: 21px; }
  .poster-tab { right: -27px; }
  .hero-index { position: static; margin-top: 65px; }
  .hero-index span:nth-child(2) { display: none; }
  .orbit-one { right: -30%; top: 35%; width: 350px; height: 350px; }

  .marquee-track { justify-content: flex-start; gap: 23px; padding-left: 16px; }
  .about { padding: 115px 0 95px; display: block; }
  .section-number { top: 55px; font-size: 105px; }
  .about-heading h2, .method-copy h2 { font-size: clamp(40px, 12vw, 55px); }
  .about-body { padding-top: 45px; }
  .about-body .lead { font-size: 21px; }
  .principles { grid-template-columns: 1fr; }
  .principles div { display: flex; align-items: baseline; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .principles span { margin: 0; }

  .services { padding: 95px 0; }
  .services-header { margin-bottom: 45px; }
  .services-header h2 { font-size: 42px; }
  .service-card { grid-template-columns: 45px 1fr 25px; gap: 14px; padding: 32px 0; }
  .service-card:hover { padding-inline: 0; }
  .service-icon { grid-column: 2; grid-row: 1; width: 68px; height: 68px; }
  .service-icon svg { width: 35px; }
  .service-no { grid-column: 1; grid-row: 1; }
  .service-copy { grid-column: 2 / 4; gap: 10px; margin-top: 8px; }
  .service-copy h3 { font-size: 26px; }
  .service-arrow { grid-column: 3; grid-row: 1; }
  .service-copy ul { flex-wrap: wrap; }

  .method { padding: 105px 0; display: flex; flex-direction: column-reverse; gap: 65px; }
  .method-poster { width: calc(100% - 12px); min-height: 465px; align-self: center; border-radius: 80px 24px 24px; }
  .method-copy blockquote p { font-size: 20px; }
  .method-circle { right: -115px; }

  .process { padding: 90px 0; }
  .process-heading { display: block; }
  .process-heading .eyebrow { margin-bottom: 24px; }
  .process-heading h2 { font-size: 54px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { min-height: 170px; padding: 22px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-list li:nth-child(3), .process-list li:nth-child(4) { border-top: 0; }
  .process-list li:last-child { border-bottom: 0; }
  .process-list li::before, .process-list li + li::before { left: 0; }
  .process-list li + li div, .process-list div { left: 0; right: 0; bottom: 22px; }

  .connect { padding: 75px 0; }
  .connect-card { min-height: 570px; padding: 55px 30px; border-radius: 26px 90px 26px 26px; }
  .connect-card h2 { font-size: clamp(43px, 13vw, 60px); }
  .connect-shape { right: -180px; bottom: -110px; width: 380px; height: 380px; border-width: 68px; }
  .connect-note { right: 22px; top: 50px; }
  .footer-inner { display: flex; flex-direction: column; align-items: flex-start; }
  .footer-brand .brand-name { max-width: 220px; }
  .back-top { align-self: flex-end; }
}

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

@media (prefers-contrast: more) {
  :root { --line: rgba(40, 26, 21, 0.48); }
  .services-header > p, .service-copy p, .service-copy li { color: #f1e8d8; }
}
