:root {
  --paper: #f4efe7;
  --paper-soft: #faf7f1;
  --ink: #23211e;
  --muted: #706b63;
  --line: rgba(35, 33, 30, 0.14);
  --accent: #b57a38;
  --accent-soft: #d5aa73;
  --dark: #211f1c;
  --dark-muted: #bcb5aa;
  --radius: 28px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }

::selection { background: rgba(181, 122, 56, .22); }

.skip-link {
  position: fixed;
  left: 18px;
  top: -60px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 18px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(244, 239, 231, .82);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}
.nav-shell {
  width: min(1180px, calc(100% - 48px));
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .04em; }
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent-soft);
  font-family: "Songti SC", "STSong", serif;
  font-size: 17px;
}
.brand-mark.large { width: 48px; height: 48px; font-size: 23px; flex: 0 0 auto; }
.brand-name { font-size: 16px; }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; color: #4c4842; }
.site-nav a { position: relative; transition: color .25s ease; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--accent);
  transition: right .3s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { right: 0; }
.menu-toggle { display: none; }

.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 128px 24px 70px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 12% 8% 8%;
  border: 1px solid rgba(35, 33, 30, .08);
  border-radius: 48% 52% 46% 54% / 45% 50% 50% 55%;
  transform: rotate(-5deg);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 38vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .22;
  pointer-events: none;
}
.hero-glow-a { background: #d6a15f; top: 10%; right: -13%; }
.hero-glow-b { background: #ddc4a2; bottom: -14%; left: -12%; }
.hero-inner { position: relative; z-index: 2; text-align: center; }
.eyebrow, .section-kicker, .section-index {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  color: var(--accent);
}
.hero-title {
  margin: 30px 0 18px;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(72px, 11vw, 158px);
  font-weight: 500;
  line-height: .94;
  letter-spacing: .12em;
  text-indent: .12em;
}
.hero-copy { margin: 0; font-size: clamp(18px, 2vw, 26px); letter-spacing: .16em; color: #5d5851; }
.primary-link {
  width: 150px;
  height: 54px;
  margin: 46px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border: 1px solid rgba(35, 33, 30, .32);
  border-radius: 999px;
  font-size: 14px;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease);
}
.primary-link:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.hero-meta {
  position: absolute;
  left: 5vw;
  right: 5vw;
  bottom: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: .18em;
  color: #918b83;
}

.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 132px 0; }
.section-index { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.section-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; padding-top: 76px; }
.section-title { margin: 18px 0 0; font-family: "Songti SC", "STSong", serif; font-weight: 500; font-size: clamp(40px, 5.2vw, 72px); line-height: 1.18; letter-spacing: -.02em; }
.about-copy { padding-top: 34px; }
.about-copy p { margin: 0 0 26px; color: var(--muted); font-size: 17px; line-height: 2; }

.section-services { padding-top: 72px; }
.section-head { display: grid; grid-template-columns: 1fr 340px; gap: 80px; align-items: end; padding: 76px 0 54px; }
.section-note { margin: 0; color: var(--muted); line-height: 1.8; }
.service-list { border-top: 1px solid var(--line); }
.service-card {
  display: grid;
  grid-template-columns: 90px 1fr 48px;
  gap: 24px;
  align-items: center;
  min-height: 146px;
  border-bottom: 1px solid var(--line);
  transition: padding .35s var(--ease), background .35s var(--ease);
}
.service-card:hover { padding: 0 22px; background: rgba(255,255,255,.28); }
.service-number { font-size: 12px; color: var(--accent); letter-spacing: .1em; }
.service-card h3 { margin: 0 0 10px; font-size: 28px; font-weight: 500; }
.service-card p { margin: 0; color: var(--muted); }
.service-symbol { font-size: 28px; color: var(--accent); transition: transform .35s var(--ease); }
.service-card:hover .service-symbol { transform: translate(4px, -4px); }

.section-contact { width: 100%; max-width: none; padding: 80px 24px 0; }
.contact-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
  min-height: 560px;
  padding: 76px clamp(28px, 6vw, 78px);
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--dark);
  color: #f7f2e9;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-panel .section-kicker { color: var(--accent-soft); }
.contact-panel h2 { margin: 22px 0; font-family: "Songti SC", "STSong", serif; font-size: clamp(44px, 6vw, 78px); line-height: 1.15; font-weight: 500; }
.contact-panel > p:not(.section-kicker) { max-width: 580px; margin: 0; color: var(--dark-muted); font-size: 17px; line-height: 1.9; }
.contact-brand { display: flex; align-items: center; gap: 18px; margin-top: 70px; }
.contact-brand div { display: grid; gap: 7px; }
.contact-brand strong { font-size: 18px; letter-spacing: .08em; }
.contact-brand span:not(.brand-mark) { color: var(--dark-muted); font-size: 13px; }

.site-footer { background: var(--dark); color: #f7f2e9; padding: 44px 24px 54px; }
.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 28px;
  align-items: end;
}
.footer-brand { display: grid; gap: 8px; }
.footer-brand strong { font-size: 16px; }
.footer-brand span, .footer-copy { color: var(--dark-muted); font-size: 12px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 14px 22px; font-size: 12px; color: var(--dark-muted); }
.footer-legal a { transition: color .25s ease; }
.footer-legal a:hover { color: #fff; }
.police-record { display: inline-flex; align-items: center; gap: 7px; }
.police-record img { width: 18px; height: 20px; object-fit: contain; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 920px) {
  .section-grid, .section-head { grid-template-columns: 1fr; gap: 28px; }
  .about-copy { padding-top: 4px; max-width: 680px; }
  .section-note { max-width: 520px; }
  .footer-inner { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 760px) {
  .nav-shell { width: min(1180px, calc(100% - 32px)); height: 72px; }
  .menu-toggle {
    width: 42px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 6px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    z-index: 3;
  }
  .menu-toggle span { display: block; width: 20px; height: 1px; background: var(--ink); transition: transform .3s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    inset: 0;
    padding: 110px 28px 42px;
    background: rgba(244,239,231,.97);
    backdrop-filter: blur(18px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    transform: translateY(-102%);
    transition: transform .45s var(--ease);
    font-family: "Songti SC", "STSong", serif;
    font-size: 34px;
  }
  .site-nav.is-open { transform: translateY(0); }
  .site-nav a::after { display: none; }
  body.menu-open { overflow: hidden; }
  .hero { min-height: 92svh; padding-top: 110px; }
  .hero-title { font-size: clamp(62px, 23vw, 104px); line-height: 1.03; letter-spacing: .05em; text-indent: .05em; }
  .hero-copy { font-size: 16px; letter-spacing: .12em; }
  .hero-meta { left: 24px; right: 24px; }
  .section { width: calc(100% - 36px); padding: 98px 0; }
  .section-services { padding-top: 34px; }
  .section-grid, .section-head { padding-top: 48px; }
  .section-title { font-size: clamp(38px, 11vw, 58px); }
  .about-copy p { font-size: 15px; }
  .service-card { grid-template-columns: 46px 1fr 30px; gap: 10px; min-height: 126px; }
  .service-card h3 { font-size: 23px; }
  .service-card p { font-size: 13px; line-height: 1.7; }
  .service-card:hover { padding: 0 8px; }
  .section-contact { width: 100%; padding: 48px 12px 0; }
  .contact-panel { min-height: 520px; border-radius: 22px 22px 0 0; }
  .contact-panel h2 { font-size: clamp(42px, 13vw, 64px); }
  .contact-brand { margin-top: 54px; align-items: flex-start; }
  .contact-brand span:not(.brand-mark) { line-height: 1.6; }
  .site-footer { padding: 38px 24px 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
