:root {
  --ink: #17211c;
  --muted: #4e5b54;
  --cedar: #10241c;
  --cedar-deep: #0c1c17;
  --gold: #8d6d2f;
  --gold-bright: #e4d2a4;
  --ivory: #f4f1ea;
  --paper: #fffcf8;
  --line: rgba(23, 33, 28, 0.12);
  --header: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  color: var(--ink);
  background: var(--ivory);
  font-family: "DengXian", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

::selection {
  background: var(--gold-bright);
  color: var(--cedar);
}

:focus-visible {
  outline: 2px solid #a6843a;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  padding: 8px 12px;
  background: #fff;
  color: var(--cedar);
}

.skip:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1120px, calc(100% - 80px));
  margin-inline: auto;
}

.rail {
  background: var(--cedar);
  box-shadow: inset -1px 0 0 rgba(228, 210, 164, 0.35);
}

.rail-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.rail-mark {
  width: 22px;
  height: 22px;
}

.rail-inner span {
  writing-mode: vertical-rl;
  letter-spacing: 0.46em;
  font-size: 13px;
  color: var(--gold-bright);
}

.site {
  min-height: 100vh;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
}

main {
  flex: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(244, 241, 234, 0.94);
  border-bottom: 1px solid rgba(23, 33, 28, 0.08);
  backdrop-filter: blur(16px);
}

.site-header.is-stuck {
  box-shadow: 0 10px 28px rgba(16, 36, 28, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  flex: none;
}

.logo-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  color: #24312b;
  font-size: 15px;
  letter-spacing: 0.06em;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(23, 33, 28, 0.16);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -6px;
}

.nav-toggle-lines::after {
  top: 6px;
}

.band-dark {
  background:
    radial-gradient(880px 380px at 100% 0%, rgba(196, 162, 101, 0.16), transparent 58%),
    linear-gradient(165deg, #0e221c 0%, #16352b 55%, #10241c 100%);
  color: #f4f1ea;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 100px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 240, 230, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 230, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 70%, transparent);
  pointer-events: none;
}

.hero-net {
  position: absolute;
  right: -20px;
  top: 36px;
  width: min(480px, 42%);
  opacity: 0.28;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.82fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.28em;
}

.band-dark .eyebrow {
  color: var(--gold-bright);
}

.hero h1,
.page-hero h1 {
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0.06em;
}

.hero h1 {
  margin-top: 16px;
  font-size: clamp(40px, 4vw, 56px);
}

.en-name {
  margin-top: 16px;
  color: rgba(228, 210, 164, 0.82);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  max-width: 38em;
  margin-top: 22px;
  color: rgba(244, 241, 234, 0.86);
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

.btn-gold {
  background: var(--gold-bright);
  color: var(--cedar);
}

.btn-gold:hover {
  background: #f3e6c4;
}

.btn-ghost {
  border-color: rgba(244, 241, 234, 0.42);
  color: #f4f1ea;
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(244, 241, 234, 0.08);
}

.btn-dark {
  background: var(--cedar);
  color: #f4f1ea;
}

.btn-dark:hover {
  background: #1b3b30;
}

.hero-panel {
  padding: 28px 26px 10px;
  background: rgba(8, 20, 16, 0.62);
  border: 1px solid rgba(228, 210, 164, 0.38);
  backdrop-filter: blur(10px);
}

.hero-panel .panel-kicker {
  margin-bottom: 8px;
  color: var(--gold-bright);
  font-size: 13px;
  letter-spacing: 0.22em;
}

.hero-panel dl > div {
  padding: 16px 0;
  border-top: 1px solid rgba(244, 241, 234, 0.1);
}

.hero-panel dt {
  color: rgba(228, 210, 164, 0.78);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.hero-panel dd {
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.65;
}

.hero-panel a {
  color: var(--gold-bright);
  border-bottom: 1px solid rgba(228, 210, 164, 0.55);
  overflow-wrap: anywhere;
}

.hero-panel a:hover {
  color: #fff;
}

.section {
  padding: 92px 0;
}

.section.flush-top {
  padding-top: 0;
}

.section.flat {
  padding: 0;
}

.section h2,
.cta h2 {
  margin-top: 12px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.about-grid,
.cta-inner,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.contact-grid {
  align-items: stretch;
}

.about-copy {
  border-left: 1px solid rgba(141, 109, 47, 0.5);
  padding-left: 28px;
}

.prose p + p {
  margin-top: 16px;
}

.prose {
  color: #24312b;
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 26px;
  padding-bottom: 2px;
  border-bottom: 1px solid #c4a265;
  letter-spacing: 0.05em;
}

.text-link:hover {
  color: var(--gold);
}

.point-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.point,
.note,
.info-card,
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
}

.point {
  min-height: 196px;
  padding: 26px 24px 28px;
}

.point span,
.service-index,
.step-index {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.point h3,
.service-copy strong,
.step h3 {
  display: block;
  margin-top: 18px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.point p,
.service-copy span,
.step p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.service-list {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.service-row + .service-row {
  border-top: 1px solid var(--line);
}

.service-row a {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px 12px;
  transition: background 0.2s ease, color 0.2s ease;
}

.service-copy strong {
  margin-top: 0;
  font-size: 22px;
}

.service-go {
  letter-spacing: 0.08em;
  color: var(--gold);
}

.service-row:hover a {
  background: var(--cedar);
  color: #f4f1ea;
}

.service-row:hover .service-index,
.service-row:hover .service-go {
  color: var(--gold-bright);
}

.service-row:hover .service-copy span {
  color: rgba(244, 241, 234, 0.76);
}

.process {
  padding: 80px 0;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.step {
  padding-top: 18px;
  border-top: 1px solid rgba(228, 210, 164, 0.45);
}

.step h3 {
  margin-top: 14px;
}

.step p {
  color: rgba(244, 241, 234, 0.76);
}

.cta {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.cta-inner {
  padding: 72px 0;
  align-items: center;
}

.cta .prose {
  margin-top: 14px;
}

.cta-side p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.mail-link {
  color: var(--cedar);
  font-size: 22px;
  letter-spacing: 0.01em;
  border-bottom: 1px solid #c4a265;
  overflow-wrap: anywhere;
}

.cta-side .btn {
  margin-top: 22px;
}

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

.crumb {
  color: rgba(244, 241, 234, 0.7);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.crumb a:hover {
  color: #fff;
}

.crumb span {
  margin: 0 8px;
}

.page-hero h1 {
  margin-top: 14px;
  font-size: clamp(36px, 4vw, 48px);
}

.page-lead {
  max-width: 40em;
  margin-top: 16px;
  color: rgba(244, 241, 234, 0.82);
  font-size: 17px;
  line-height: 1.85;
}

.narrow {
  padding-top: 72px;
  padding-bottom: 20px;
}

.detail {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 28px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}

.detail h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.detail .index {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.detail p {
  margin-top: 12px;
  color: #24312b;
  line-height: 1.9;
}

.note {
  margin: 12px 0 72px;
  padding: 22px 24px;
  color: var(--muted);
  line-height: 1.8;
}

.info-table {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.info-table div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.info-table dt {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.12em;
}

.info-table dd {
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.info-table a {
  border-bottom: 1px solid rgba(141, 109, 47, 0.45);
}

.info-table a:hover {
  color: var(--gold);
}

.contact-grid {
  padding: 72px 0 88px;
}

.info-card,
.form-card {
  padding: 32px 28px;
}

.info-card h2,
.form-card h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.address-block {
  margin-top: 22px;
}

.address-block + .address-block {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.address-block span {
  display: block;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.14em;
}

.address-block strong,
.address-block a {
  display: inline-block;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.address-block a {
  border-bottom: 1px solid #c4a265;
  overflow-wrap: anywhere;
}

.info-card .fine {
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.field label {
  font-size: 14px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(16, 36, 28, 0.16);
  background: #fffcf8;
}

.field textarea {
  min-height: 148px;
  resize: vertical;
}

.form-card .btn {
  margin-top: 8px;
}

.form-note {
  min-height: 1.6em;
  margin-top: 14px;
  color: var(--gold);
  font-size: 14px;
  line-height: 1.7;
}

.site-footer {
  background: var(--cedar-deep);
  color: rgba(244, 241, 234, 0.78);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 52px 0 28px;
}

.footer-name {
  color: #f4f1ea;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.footer-brand p + p {
  margin-top: 8px;
}

.footer-brand a {
  color: var(--gold-bright);
  overflow-wrap: anywhere;
}

.footer-brand a:hover,
.footer-nav a:hover,
.beian a:hover {
  color: #fff;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-content: flex-start;
}

.footer-fine {
  margin-top: 16px;
  color: rgba(244, 241, 234, 0.58);
  font-size: 13px;
}

.footer-base {
  border-top: 1px solid rgba(244, 241, 234, 0.1);
}

.footer-base-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding: 18px 0 22px;
}

.beian a {
  color: var(--gold-bright);
  font-size: 15px;
  letter-spacing: 0.04em;
}

@media (max-width: 980px) {
  body {
    grid-template-columns: minmax(0, 1fr);
  }

  .rail {
    display: none;
  }

  .wrap {
    width: min(1120px, calc(100% - 40px));
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 18px;
    background: #fffcf8;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 0;
  }

  .hero,
  .section,
  .page-hero {
    padding: 56px 0;
  }

  .hero-grid,
  .about-grid,
  .cta-inner,
  .contact-grid,
  .detail,
  .point-grid,
  .process-grid,
  .info-table div {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-grid {
    gap: 22px;
  }

  .about-copy {
    padding-left: 18px;
  }

  .service-row a {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .service-go {
    display: none;
  }

  .cta-inner,
  .contact-grid {
    padding: 48px 0;
  }

  .footer-top,
  .footer-base-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-base-inner {
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
