:root {
  --paper: #faf9f6;
  --ink: #252b30;
  --muted: #626561;
  --accent: #a2442f;
  --line: #deded5;
  --soft: #f0f0e9;
  --body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Songti SC", "STSong", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
::selection { color: var(--ink); background: #ead6bd; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
a:hover { color: var(--accent); }
p, h1, h2, h3, figure { margin: 0; }
.page { max-width: 1000px; margin: 0 auto; padding: 0 56px; }
.skip-link { position: absolute; top: -100px; left: 16px; padding: 8px 16px; background: var(--ink); color: white; z-index: 10; }
.skip-link:focus { top: 10px; }
.site-header { min-height: 106px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; letter-spacing: .1px; }
.brand-mark { display: block; width: 35px; height: 35px; flex-shrink: 0; object-fit: cover; border: 1px solid #d5cdbf; border-radius: 50%; }
nav { display: flex; gap: 28px; font-size: 13px; color: var(--muted); }
nav a { transition: color 150ms ease; }
.hero { padding: 74px 0 68px; display: grid; grid-template-columns: 1fr 140px; gap: 52px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; letter-spacing: 1.1px; }
.small-rule { display: inline-block; height: 1px; width: 22px; background: var(--accent); }
h1 { font-size: 42px; font-weight: 500; letter-spacing: -1.8px; line-height: 1.35; margin: 22px 0; }
h1 > span { font-family: var(--serif); font-size: 49px; font-weight: 500; letter-spacing: -1.8px; white-space: nowrap; }
.accent { color: var(--accent); }
.intro { max-width: 580px; line-height: 1.95; }
.intro a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #aeb1aa; }
.secondary { margin-top: 12px; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 30px; }
.button { background: var(--ink); color: var(--paper); display: inline-flex; justify-content: space-between; gap: 22px; align-items: center; border-radius: 4px; padding: 10px 17px; font-size: 13px; transition: background 150ms ease, transform 150ms ease; }
.button:hover { color: white; background: var(--accent); transform: translateY(-2px); }
.text-link { font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.text-link > span { transition: transform 150ms ease; }
.text-link:hover > span { transform: translate(2px, -2px); }
.portrait { width: 140px; transform: rotate(4deg); background: #f5f0e6; border: 1px solid #d5cdbf; padding: 9px 9px 0; margin-top: -16px; }
.portrait-inner { aspect-ratio: 1; background: #e7e3d9; overflow: hidden; }
.portrait-inner img { display: block; width: 100%; height: 100%; object-fit: cover; }
figcaption { font-size: 10px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 5px; height: 31px; letter-spacing: .5px; }
.tiny-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); display: inline-block; }
.content-section { border-top: 1px solid var(--line); padding: 31px 0 45px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
h2 { font-size: 19px; font-weight: 600; letter-spacing: -.3px; }
.section-number { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 15px; color: var(--accent); margin-right: 13px; }
.section-label { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 14px; }
.project-card { padding: 26px 28px 23px; border: 1px solid #d8dcd2; border-radius: 6px; background: #f0f2eb; transition: border-color 160ms ease; }
.project-card:hover { border-color: #a8b39a; }
.project-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; }
.project-symbol { width: 32px; height: 32px; display: grid; place-items: center; color: #f4f4eb; background: #354838; border-radius: 5px; font-family: monospace; font-size: 17px; font-weight: 600; }
.badge { font-size: 10px; letter-spacing: .8px; color: #455d3f; padding: 1px 9px; border: 1px solid #bfcbb6; border-radius: 3px; }
.project-title-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.project-title-row h3 { font-family: var(--serif); font-size: 29px; font-weight: 500; line-height: 1.3; letter-spacing: -.8px; }
.project-role { font-size: 11px; color: var(--muted); }
.project-card p { font-size: 13px; margin-top: 12px; color: #51594f; }
.project-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 23px; }
.project-tags { display: flex; gap: 16px; font-size: 10px; color: #586251; letter-spacing: .5px; }
.placeholder { border: 1px dashed #c9c9bd; border-radius: 5px; }
.product-placeholder { margin-top: 13px; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px 28px; }
.placeholder-label { color: var(--muted); font-size: 10px; letter-spacing: .7px; }
.product-placeholder h3 { margin-top: 3px; font-size: 14px; font-weight: 500; }
.placeholder p { font-size: 12px; color: var(--muted); margin-top: 3px; }
.placeholder-plus { font-family: var(--serif); font-size: 26px; color: #7b7d71; }
.service-content { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; padding-top: 2px; }
.service-label { color: var(--accent); font-size: 11px; letter-spacing: .6px; }
.service-content h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; margin: 6px 0 12px; line-height: 1.5; letter-spacing: -.7px; }
.service-content p { color: var(--muted); font-size: 13px; line-height: 1.95; margin-bottom: 18px; }
.service-brief { border-left: 1px solid var(--line); padding: 9px 0 6px 29px; align-self: center; }
.service-brief-label { color: var(--muted); font-size: 10px; letter-spacing: .7px; }
.service-brief ul { list-style: none; padding: 0; margin: 11px 0 0; }
.service-brief li { color: var(--muted); font-size: 12px; padding: 4px 0; }
.service-brief li::before { content: "—"; margin-right: 12px; color: #85867a; }
.section-intro { color: var(--muted); font-size: 13px; margin-top: -10px; margin-bottom: 18px; }
.article-placeholder { display: grid; grid-template-columns: 25px 1fr 16px; align-items: center; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.article-index { font-family: var(--serif); font-style: italic; color: #77796d; font-size: 14px; align-self: start; margin-top: 3px; }
.article-placeholder h3 { font-size: 16px; font-weight: 500; margin-top: 3px; }
.article-placeholder p { font-size: 12px; color: var(--muted); margin-top: 5px; }
.article-end { color: #77796d; }
.contact-section { display: grid; grid-template-columns: 1.4fr 1fr; gap: 35px; padding: 37px 34px 35px; background: var(--soft); border-radius: 5px; margin-bottom: 40px; }
.contact-section .eyebrow { font-size: 10px; color: var(--accent); }
.contact-section h2 { font-family: var(--serif); font-size: 28px; line-height: 1.6; font-weight: 500; margin: 10px 0; letter-spacing: -.5px; }
.contact-section p:not(.eyebrow) { font-size: 12px; color: var(--muted); }
.contact-options { display: flex; flex-direction: column; align-self: center; gap: 2px; padding-left: 22px; min-width: 0; }
.contact-link { display: flex; align-items: center; gap: 13px; min-height: 44px; font-size: 13px; color: var(--ink); }
.contact-link:hover { color: var(--accent); }
.contact-icon { width: 16px; flex-shrink: 0; text-align: center; font-size: 16px; color: var(--muted); }
.copy-wechat { padding: 0; background: none; border: 0; font-family: inherit; line-height: inherit; text-align: left; cursor: pointer; }
.copy-hint { font-size: 10px; color: var(--muted); border: 1px solid #c9c9bd; border-radius: 3px; padding: 0 5px; margin-left: auto; }
.contact-note { font-size: 10px; color: var(--muted); margin: 3px 0 0 29px; }
.site-footer { border-top: 1px solid var(--line); padding: 22px 0 30px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--muted); font-size: 10px; }
.footer-note { color: var(--muted); }
.site-footer a { font-size: 10px; }
.copy-field { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; }
.error-page { padding-top: 15vh; padding-bottom: 60px; }
.error-page h1 { max-width: none; }
.error-page .button { margin-top: 25px; }
@media (max-width: 800px) {
  .page { padding: 0 32px; }
  .hero { gap: 28px; grid-template-columns: 1fr 112px; }
  .portrait { width: 112px; }
  h1 { font-size: 35px; }
  h1 > span { font-size: 40px; }
  .service-content { gap: 30px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 20px; }
  body { font-size: 14px; }
  .page { padding: 0 22px; }
  .site-header { min-height: 80px; }
  .brand { font-size: 13px; gap: 8px; }
  .brand-mark { height: 29px; width: 29px; }
  nav { gap: 16px; font-size: 11px; }
  nav a:last-child { display: none; }
  .hero { padding: 41px 0 37px; grid-template-columns: 1fr; gap: 0; position: relative; }
  .hero-copy { min-width: 0; }
  .eyebrow { font-size: 9px; letter-spacing: .3px; gap: 6px; }
  .small-rule { width: 13px; }
  h1 { font-size: 31px; letter-spacing: -1px; margin: 22px 0; max-width: calc(100% - 80px); }
  h1 > span { display: block; font-size: 42px; letter-spacing: -1.5px; margin-top: 3px; }
  .intro { font-size: 13px; line-height: 1.95; }
  .secondary { margin-top: 11px; }
  .desktop-break { display: none; }
  .hero-actions { gap: 21px; margin-top: 24px; }
  .button { font-size: 12px; padding: 9px 13px; gap: 18px; }
  .text-link { font-size: 12px; }
  .portrait { position: absolute; width: 74px; padding: 5px 5px 0; right: 4px; top: 84px; margin: 0; }
  figcaption { height: 23px; font-size: 8px; }
  .content-section { padding: 25px 0 31px; }
  .section-heading { margin-bottom: 20px; gap: 8px; }
  h2 { font-size: 17px; }
  .section-number { font-size: 13px; margin-right: 8px; }
  .section-label { font-size: 11px; }
  .project-card { padding: 20px; }
  .project-title-row { display: block; }
  .project-title-row h3 { font-size: 27px; overflow-wrap: anywhere; }
  .project-role { display: block; margin-top: 5px; }
  .project-card p { font-size: 12px; margin-top: 11px; }
  .project-bottom { flex-wrap: wrap; gap: 14px; margin-top: 18px; }
  .project-tags { gap: 12px; }
  .product-placeholder { padding: 16px 20px; }
  .product-placeholder h3 { font-size: 13px; }
  .product-placeholder p { font-size: 11px; }
  .service-content { grid-template-columns: 1fr; gap: 24px; }
  .service-content h3 { font-size: 26px; }
  .service-content p { font-size: 12px; }
  .service-brief { padding-left: 16px; }
  .service-brief ul { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 7px; }
  .service-brief li { font-size: 11px; }
  .service-brief li::before { margin-right: 6px; }
  .section-intro { font-size: 12px; }
  .article-placeholder { gap: 10px; grid-template-columns: 21px 1fr 12px; padding: 18px 0; }
  .article-placeholder h3 { font-size: 14px; }
  .article-placeholder p { font-size: 11px; }
  .contact-section { grid-template-columns: 1fr; padding: 25px 22px; gap: 24px; margin-bottom: 28px; }
  .contact-section h2 { font-size: 25px; }
  .contact-section p:not(.eyebrow) { font-size: 11px; }
  .contact-options { padding-left: 0; gap: 11px; }
  .site-footer { flex-wrap: wrap; gap: 10px; padding: 18px 0 24px; }
  .footer-note { order: 3; flex-basis: 100%; }
}
@media (max-width: 360px) {
  .page { padding: 0 17px; }
  nav { gap: 12px; }
  .section-label { display: none; }
  .portrait { width: 60px; top: 86px; }
  h1 { max-width: calc(100% - 70px); }
  h1 > span { font-size: 32px; }
  figcaption { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
