:root {
  --paper:        #F5EFE3;
  --paper-shade:  #ECE3D0;
  --paper-deep:   #E2D6BC;
  --ink:          #1B1714;
  --ink-soft:     #4A413A;
  --ink-faint:    #837972;
  --cinnabar:     #B7332A;
  --cinnabar-deep:#8E2418;
  --cinnabar-glow:#D14430;
  --rule:         rgba(27,23,20,0.13);
  --rule-soft:    rgba(27,23,20,0.07);

  /* Type families — overridden per page (EN vs CN) */
  --font-display: 'Cormorant Garamond', 'Noto Serif SC', serif;
  --font-body:    'Inter', 'PingFang SC', 'Noto Sans SC', -apple-system, sans-serif;
  --font-seal:    'Noto Serif SC', 'STSong', 'Songti SC', serif;

  /* Letter-spacing presets — CN page overrides for tighter spacing */
  --ls-tight:  -0.025em;
  --ls-normal: 0;
  --ls-wide:   0.18em;
  --ls-meta:   0.22em;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* paper grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse at 15% 20%, rgba(165,42,31,0.025) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 80%, rgba(27,23,20,0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 40%, rgba(183,51,42,0.015) 0%, transparent 60%);
  z-index: 0;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 36px;
  position: relative;
  z-index: 1;
}

/* ─── nav ─── */
nav {
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--rule-soft);
  gap: 16px;
  flex-wrap: wrap;
}

.nav-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--ink);
  font-weight: 500;
}

.seal-mini {
  width: 24px;
  height: 24px;
  background: var(--cinnabar);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: 'Cormorant Garamond', 'EB Garamond', Georgia, 'Times New Roman', serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  padding-bottom: 2px;
  border-radius: 2px;
  box-shadow:
    inset 0 0 0 1px rgba(245,239,227,0.22),
    inset 0 0 0 2px rgba(165,42,31,0.0);
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 11px;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cinnabar); }

.nav-divider {
  opacity: 0.3;
  user-select: none;
}

.nav-lang {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  letter-spacing: 0.06em;
}

.nav-lang .lang-active {
  color: var(--cinnabar);
  font-weight: 500;
}

.nav-lang .lang-slash {
  opacity: 0.35;
}

.nav-lang a {
  color: var(--ink-soft);
}
.nav-lang a:hover {
  color: var(--cinnabar);
}

/* ─── hero ─── */
.hero {
  padding: 96px 0 110px;
  text-align: center;
  position: relative;
}

.seal {
  width: 104px;
  height: 104px;
  margin: 0 auto 48px;
  background: var(--cinnabar);
  display: grid;
  place-items: center;
  font-family: 'Cormorant Garamond', 'EB Garamond', Georgia, 'Times New Roman', serif;
  color: var(--paper);
  font-size: 80px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0;
  padding-bottom: 6px;
  box-shadow:
    inset 0 0 0 2px rgba(245,239,227,0.12),
    0 14px 36px -16px rgba(165,42,31,0.45);
  transform: rotate(-2.5deg);
  position: relative;
  border-radius: 3px;
  text-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.seal::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(165,42,31,0.18);
  border-radius: 3px;
}

.seal::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(245,239,227,0.14);
  border-radius: 1px;
  pointer-events: none;
}

h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(54px, 9vw, 84px);
  line-height: 1.02;
  letter-spacing: var(--ls-tight);
  color: var(--ink);
  margin-bottom: 22px;
}

h1 em {
  font-style: italic;
  color: var(--cinnabar);
  font-weight: 400;
}

.tagline {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 24px);
  font-style: italic;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: var(--ls-meta);
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 9px 22px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(245,239,227,0.5);
}

.meta-dot {
  width: 6px;
  height: 6px;
  background: var(--cinnabar);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(183,51,42,0.18);
}

/* ─── section ─── */
section {
  padding: 88px 0;
  border-top: 1px solid var(--rule);
  position: relative;
}

.section-label {
  font-size: 11px;
  letter-spacing: var(--ls-meta);
  text-transform: uppercase;
  color: var(--cinnabar);
  margin-bottom: 26px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--cinnabar);
}

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 30px;
  color: var(--ink);
  max-width: 22ch;
}

h2 em {
  font-style: italic;
  color: var(--cinnabar);
}

p {
  color: var(--ink-soft);
  margin-bottom: 18px;
  max-width: 62ch;
}

p strong {
  color: var(--ink);
  font-weight: 500;
}

p em {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05em;
  color: var(--cinnabar-deep);
}

/* ─── services grid ─── */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 44px;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.service {
  padding: 30px 26px 30px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background 0.35s ease;
}

.service:hover {
  background: var(--paper-shade);
}

.service-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--cinnabar);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.service-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.25;
  letter-spacing: -0.005em;
}

.service-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ─── pullquote ─── */
.pullquote {
  margin: 40px 0;
  padding: 28px 32px;
  border-left: 2px solid var(--cinnabar);
  background: linear-gradient(to right, rgba(183,51,42,0.04), transparent 60%);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink);
  max-width: none;
}

/* ─── promise list ─── */
.promises {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
  border-top: 1px solid var(--rule-soft);
  padding-top: 28px;
}

.promise {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-soft);
}

.promise::before {
  content: '✕';
  color: var(--cinnabar);
  font-size: 11px;
  line-height: 1;
  flex-shrink: 0;
}

.promise.ok::before { content: '✓'; }

/* ─── contact card ─── */
.contact-card {
  margin-top: 40px;
  padding: 50px 40px 44px;
  background: var(--paper-shade);
  border: 1px solid var(--rule);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--cinnabar);
}

.contact-card::after {
  content: 'C';
  position: absolute;
  right: -10px;
  bottom: -90px;
  font-family: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 320px;
  color: rgba(183,51,42,0.05);
  line-height: 1;
  pointer-events: none;
  transform: rotate(-8deg);
}

.contact-prompt {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  position: relative;
}

.email-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 34px);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--cinnabar);
  padding-bottom: 4px;
  transition: color 0.25s, border-color 0.25s;
  letter-spacing: -0.005em;
  position: relative;
}

.email-link:hover {
  color: var(--cinnabar);
  border-color: var(--cinnabar-glow);
}

.contact-fine {
  margin-top: 26px;
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  position: relative;
}

/* ─── footer ─── */
footer {
  padding: 64px 0 80px;
  text-align: center;
  border-top: 1px solid var(--rule);
  font-size: 11px;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--ink-faint);
}

footer .seal-mini {
  margin: 0 auto 18px;
  width: 32px;
  height: 32px;
  font-size: 24px;
  padding-bottom: 3px;
}

footer .footer-line {
  margin-bottom: 8px;
}

footer .footer-fine {
  opacity: 0.65;
  font-family: var(--font-display);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 13px;
  font-style: italic;
  margin-top: 4px;
}

/* ─── CN page overrides ─── */
:lang(zh) {
  --ls-tight: 0.02em;
  --ls-wide:  0.14em;
  --ls-meta:  0.18em;
}

:lang(zh) body {
  font-weight: 400;
  line-height: 1.85;
}

:lang(zh) h1 {
  letter-spacing: 0.04em;
  font-weight: 500;
}

:lang(zh) h2 {
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

:lang(zh) .tagline {
  font-style: normal;
  font-weight: 300;
}

:lang(zh) .pullquote {
  font-style: normal;
  font-weight: 400;
}

:lang(zh) .contact-prompt {
  font-style: normal;
}

:lang(zh) .service-title {
  font-weight: 500;
  letter-spacing: 0.01em;
}

:lang(zh) .meta-pill,
:lang(zh) .section-label,
:lang(zh) footer,
:lang(zh) .nav-links {
  text-transform: none;
}

:lang(zh) footer .footer-fine {
  font-style: normal;
}

:lang(zh) .promise {
  font-size: 13.5px;
}

/* ─── mobile ─── */
@media (max-width: 640px) {
  .wrap { padding: 0 24px; }
  .hero { padding: 64px 0 78px; }
  .seal { width: 88px; height: 88px; font-size: 40px; }
  section { padding: 64px 0; }
  .services { grid-template-columns: 1fr; }
  .promises { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
  .nav-links .section-link,
  .nav-divider { display: none; }
  .contact-card { padding: 36px 24px 30px; }
  .pullquote { padding: 22px 22px; font-size: 19px; }
}

/* fade-in */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero > * { animation: rise 0.9s ease both; }
.hero .seal { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.18s; }
.hero .tagline { animation-delay: 0.32s; }
.hero .meta-pill { animation-delay: 0.46s; }
