@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Noto+Serif+SC:wght@400;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

:root {
  --ink: #15212a;
  --muted: #69747a;
  --paper: #f5f4f0;
  --white: #fff;
  --line: #d8d9d4;
  --accent: #b78b49;
  --red: #c41d24;
  --serif: "Noto Serif SC", "Songti SC", serif;
  --sans: "Plus Jakarta Sans", "Microsoft YaHei", sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 64px)); margin: 0 auto; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 5; color: var(--white); }
.nav-wrap { height: 92px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.26); }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { display: block; flex: 0 0 auto; width: 54px; height: 34px; background: transparent url("assets/xin-xing-mark-transparent.png") center / contain no-repeat; }
.brand-copy { display: grid; gap: 4px; }
.brand-copy strong { font-family: var(--serif); font-size: 17px; letter-spacing: 1px; }
.brand-copy small { color: rgba(255,255,255,.68); font-size: 10px; letter-spacing: .04em; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 1.65vw, 26px); font-size: 12px; letter-spacing: .04em; }
.site-nav a { color: rgba(255,255,255,.85); transition: color .2s ease; }
.site-nav a:hover { color: #e6c990; }
.site-nav .nav-cta { padding: 11px 17px; border: 1px solid rgba(255,255,255,.55); color: #fff; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span { display: block; width: 25px; height: 1px; background: #fff; margin: 5px; }

.hero { position: relative; min-height: 760px; display: flex; align-items: center; color: #fff; overflow: hidden; background: #1a252c; }
.hero-media { position: absolute; inset: 0; background: url("assets/sheraton-building.jpg") center 48% / cover no-repeat; transform: scale(1.02); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 21, 28, .82) 0%, rgba(11, 21, 28, .62) 46%, rgba(11, 21, 28, .28) 100%); }
.hero-content { position: relative; z-index: 1; padding-top: 82px; }
.eyebrow, .section-kicker { margin: 0 0 21px; color: #d0b077; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(58px, 8vw, 108px); font-weight: 600; letter-spacing: .03em; line-height: 1.06; }
.hero-title { margin: 22px 0 0; font-family: var(--serif); font-size: clamp(22px, 3vw, 34px); letter-spacing: .05em; }
.hero-description { max-width: 570px; margin: 22px 0 0; color: rgba(255,255,255,.72); font-size: 14px; line-height: 2; }
.hero-actions { display: flex; gap: 13px; margin-top: 37px; }
.button { display: inline-flex; align-items: center; gap: 21px; padding: 14px 20px; font-size: 12px; letter-spacing: .04em; }
.button span { font-size: 16px; line-height: 1; }
.button-primary { background: var(--accent); color: #fff; }
.button-ghost { border: 1px solid rgba(255,255,255,.48); color: #fff; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 35px; margin-top: 85px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.6); font-family: var(--mono); font-size: 10px; }
.hero-meta strong { display: block; margin-bottom: 6px; color: #fff; font-family: var(--serif); font-size: 19px; font-weight: 600; }
.scroll-cue { position: absolute; z-index: 1; right: 5%; bottom: 41px; color: rgba(255,255,255,.65); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; writing-mode: vertical-rl; }
.scroll-cue span { margin-top: 13px; font-size: 15px; }

.intro-band { background: #e2e0da; }
.intro-grid { display: grid; grid-template-columns: 1fr 1.65fr 1.05fr; gap: 45px; align-items: center; min-height: 185px; }
.intro-grid .section-kicker { margin: 0; color: var(--accent); }
.intro-text { margin: 0; font-family: var(--serif); font-size: 23px; line-height: 1.65; }
.intro-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }

.section { padding: 125px 0; }
.about-section { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(60px, 10vw, 140px); align-items: center; }
.portrait-frame { position: relative; width: min(100%, 395px); aspect-ratio: .82; background: #d3d1c9; }
.portrait-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.portrait-placeholder { position: absolute; inset: 13px; display: grid; place-items: center; align-content: center; gap: 10px; color: rgba(255,255,255,.83); background: #6e787d; font-family: var(--serif); font-size: 15px; text-align: center; }
.portrait-initial { color: rgba(255,255,255,.55); font-family: var(--serif); font-size: 108px; font-weight: 600; line-height: 1; }
.portrait-placeholder small { color: rgba(255,255,255,.56); font-family: var(--sans); font-size: 10px; }
.portrait-caption { position: absolute; right: -34px; bottom: 31px; padding: 13px 15px; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 9px; line-height: 1.7; letter-spacing: .12em; }
.portrait-caption span { color: #d0b077; }
.about-copy h2, .section-heading h2, .contact-section h2 { margin: 0; font-family: var(--serif); font-size: clamp(30px, 4vw, 49px); font-weight: 600; line-height: 1.35; letter-spacing: .04em; }
.about-copy > p:not(.section-kicker) { max-width: 620px; color: var(--muted); font-size: 13px; line-height: 2; }
.credentials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 37px; padding-top: 23px; border-top: 1px solid var(--line); }
.credentials div { display: grid; gap: 12px; }
.credentials strong { color: var(--accent); font-family: var(--mono); font-size: 11px; }
.credentials span { color: var(--ink); font-size: 11px; line-height: 1.75; }

.services-section { background: #ecebe6; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 54px; }
.section-heading > p { width: 260px; margin: 0 0 4px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.service-list { border-top: 1px solid var(--ink); }
.service-item { display: grid; grid-template-columns: 70px 1fr; gap: 22px; align-items: start; padding: 28px 0; border-bottom: 1px solid #c7c8c1; }
.service-number { color: var(--accent); font-family: var(--mono); font-size: 11px; }
.service-item h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.service-item p { max-width: 670px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }

.research-section { padding: 125px 0; color: #fff; background: var(--ink); }
.research-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(55px, 9vw, 125px); align-items: center; }
.research-intro h2 { margin: 0; font-family: var(--serif); font-size: clamp(31px, 4vw, 49px); font-weight: 600; line-height: 1.4; letter-spacing: .04em; }
.research-intro > p:not(.section-kicker) { max-width: 490px; margin: 25px 0 0; color: rgba(255,255,255,.69); font-size: 13px; line-height: 2; }
.research-note { display: block; max-width: 490px; margin-top: 22px; color: rgba(255,255,255,.4); font-family: var(--mono); font-size: 10px; line-height: 1.7; }
.research-panel { padding: 27px; border: 1px solid rgba(255,255,255,.23); background: rgba(255,255,255,.035); }
.research-panel-head, .research-footer { display: flex; justify-content: space-between; gap: 20px; color: #d0b077; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }
.research-flow { display: grid; grid-template-columns: 1fr 25px 1fr 25px 1fr; gap: 10px; align-items: center; margin: 66px 0; }
.research-flow div { display: grid; gap: 12px; }
.research-flow strong { color: #d0b077; font-family: var(--mono); font-size: 11px; }
.research-flow span { font-family: var(--serif); font-size: 19px; line-height: 1.7; }
.research-flow i { color: #d0b077; font-size: 20px; font-style: normal; }
.research-footer { align-items: end; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.55); line-height: 1.7; letter-spacing: 0; }
.research-symbol { color: #d0b077; font-size: 24px; line-height: 1; }

.cases-section { background: var(--paper); }
.compact { align-items: start; }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.case-card { min-height: 265px; display: flex; flex-direction: column; justify-content: flex-end; padding: 31px; background: #fff; border-top: 2px solid #ccd0cb; }
.case-card.case-featured { background: var(--ink); color: #fff; border-color: var(--accent); }
.case-tag { margin-bottom: auto; color: var(--accent); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }
.case-card h3 { max-width: 400px; margin: 20px 0 11px; font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.45; }
.case-card p { max-width: 430px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.85; }
.case-featured p { color: rgba(255,255,255,.62); }
.case-line { width: 32px; height: 1px; margin-top: 28px; background: var(--accent); }

.firm-section { padding: 125px 0; color: #fff; background: #24313a; }
.firm-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(55px, 8vw, 110px); align-items: start; }
.firm-visual { position: sticky; top: 35px; overflow: hidden; background: #17242c; }
.firm-visual img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.firm-visual-caption { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; color: rgba(255,255,255,.56); font-family: var(--mono); font-size: 9px; letter-spacing: .09em; }
.firm-visual-caption strong { color: #d0b077; font-family: var(--serif); font-size: 15px; font-weight: 400; letter-spacing: .12em; }
.firm-content h2 { margin: 0; font-family: var(--serif); font-size: clamp(34px, 5vw, 62px); font-weight: 600; line-height: 1.32; }
.firm-content > p:not(.section-kicker) { max-width: 600px; margin: 25px 0 0; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.95; }
.firm-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 37px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.18); }
.firm-metrics div { min-width: 0; padding: 20px 15px; background: #24313a; }
.firm-metrics strong { display: block; color: #d0b077; font-family: var(--serif); font-size: clamp(24px, 3vw, 37px); font-weight: 600; line-height: 1; }
.firm-metrics sup { font-size: .48em; vertical-align: super; }
.firm-metrics span { display: block; margin-top: 10px; color: rgba(255,255,255,.55); font-size: 10px; line-height: 1.5; }
.firm-principles { display: grid; gap: 0; margin: 38px 0 0; border-top: 1px solid rgba(255,255,255,.28); }
.firm-principles div { display: grid; grid-template-columns: 112px 1fr; gap: 26px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.firm-principles dt { color: #d0b077; font-family: var(--serif); font-size: 15px; font-weight: 600; letter-spacing: .06em; }
.firm-principles dd { margin: 0; color: rgba(255,255,255,.88); font-family: var(--serif); font-size: 18px; line-height: 1.75; letter-spacing: .04em; }

.contact-section { padding: 115px 0; background: #d7d5ce; }
.contact-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(55px, 8vw, 105px); align-items: start; }
.contact-intro > p:not(.section-kicker) { max-width: 430px; margin: 25px 0 0; color: #5d6668; font-size: 12px; line-height: 1.95; }
.contact-details { border-top: 1px solid rgba(21,33,42,.28); }
.contact-item { display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start; padding: 24px 0; border-bottom: 1px solid rgba(21,33,42,.18); }
.contact-icon { display: grid; place-items: center; width: 42px; height: 42px; color: var(--accent); border: 1px solid rgba(183,139,73,.72); border-radius: 50%; }
.contact-icon svg { display: block; width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.contact-item-body { min-width: 0; }
.contact-label { display: block; margin-bottom: 10px; color: #6b655b; font-family: var(--mono); font-size: 9px; letter-spacing: .11em; }
.contact-phone-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.phone-link { color: var(--ink); font-family: var(--mono); font-size: clamp(22px, 3vw, 32px); letter-spacing: .02em; }
.copy-phone { padding: 9px 12px; color: var(--ink); background: transparent; border: 1px solid rgba(21,33,42,.35); font-family: var(--sans); font-size: 10px; cursor: pointer; }
.copy-phone:hover, .copy-phone:focus-visible { color: #fff; background: var(--ink); outline: none; }
.contact-feedback { display: block; min-height: 16px; margin-top: 6px; color: #80725d; font-size: 10px; }
.address-text, .contact-materials { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 16px; line-height: 1.75; }
.contact-materials { max-width: 450px; font-size: 14px; }

.social-section { padding: 92px 0; background: #ecebe6; border-top: 1px solid #c9cac4; }
.social-grid { display: grid; grid-template-columns: minmax(280px, 1fr) auto; gap: clamp(45px, 7vw, 95px); align-items: center; }
.social-copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(30px, 4vw, 45px); font-weight: 600; line-height: 1.4; letter-spacing: .04em; }
.social-copy > p:not(.section-kicker) { max-width: 390px; margin: 22px 0 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.social-qr-grid { display: grid; grid-template-columns: repeat(3, 120px); gap: 24px; justify-content: end; }
.social-qr-card { min-width: 0; margin: 0; padding: 0; background: transparent; }
.social-qr-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; mix-blend-mode: multiply; }
.social-qr-card figcaption { display: grid; gap: 5px; margin-top: 13px; text-align: center; }
.social-qr-card strong { font-family: var(--serif); font-size: 13px; font-weight: 600; }
.social-qr-card span { color: var(--accent); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; }

.site-footer { background: var(--ink); color: rgba(255,255,255,.58); }
.footer-wrap { min-height: 85px; display: flex; align-items: center; justify-content: space-between; gap: 25px; font-size: 10px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.footer-brand .brand-mark { width: 43px; height: 27px; }
.footer-wrap p { margin: 0; }
.back-top { color: #d0b077; font-family: var(--mono); font-size: 19px; }

@media (max-width: 980px) {
  .social-grid { grid-template-columns: 1fr; }
  .social-qr-grid { justify-content: start; }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 92px; right: 32px; left: 32px; display: none; padding: 20px; background: var(--ink); border: 1px solid rgba(255,255,255,.2); }
  .site-nav.is-open { display: grid; gap: 18px; }
  .site-nav .nav-cta { text-align: center; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 38px, 560px); }
  .nav-wrap { height: 76px; }
  .site-nav { top: 76px; right: 19px; left: 19px; padding: 18px; }
  .hero { min-height: 720px; }
  .hero-content { padding-top: 65px; }
  .hero-description { font-size: 13px; }
  .hero-meta { gap: 18px; margin-top: 58px; }
  .scroll-cue { display: none; }
  .intro-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 25px; }
  .intro-grid { padding: 48px 0; }
  .intro-text { font-size: 21px; }
  .section { padding: 78px 0; }
  .portrait-frame { max-width: 330px; }
  .about-copy h2, .section-heading h2, .contact-section h2 { font-size: 34px; }
  .credentials { grid-template-columns: 1fr; gap: 17px; }
  .section-heading { display: block; }
  .section-heading > p { width: auto; margin-top: 24px; }
  .research-section { padding: 78px 0; }
  .research-grid { grid-template-columns: 1fr; gap: 40px; }
  .research-flow { margin: 45px 0; }
  .research-flow span { font-size: 16px; }
  .service-item { grid-template-columns: 42px 1fr; gap: 10px; }
  .service-item h3 { font-size: 19px; }
  .case-grid { grid-template-columns: 1fr; }
  .case-card { min-height: 245px; padding: 25px; }
  .firm-section { padding: 78px 0; }
  .firm-grid { grid-template-columns: 1fr; gap: 45px; }
  .firm-visual { position: relative; top: auto; }
  .firm-metrics { grid-template-columns: repeat(3, 1fr); }
  .firm-metrics div { padding: 18px 10px; }
  .firm-principles div { grid-template-columns: 1fr; gap: 8px; align-items: start; }
  .firm-principles dd { font-size: 16px; }
  .contact-details { margin-top: 20px; }
  .contact-item { grid-template-columns: 40px 1fr; gap: 14px; }
  .contact-icon { width: 38px; height: 38px; }
  .contact-phone-row { align-items: flex-start; }
  .social-section { padding: 72px 0; }
  .social-grid { grid-template-columns: 1fr; gap: 38px; }
  .social-qr-grid { grid-template-columns: 1fr; width: min(100%, 120px); margin: 0 auto; gap: 18px; }
  .social-qr-card { padding: 0; }
  .footer-wrap { padding: 22px 0; align-items: start; flex-wrap: wrap; }
  .footer-wrap p { width: 100%; order: 3; line-height: 1.7; }
}
