:root {
  color-scheme: light;
  --paper: #faf8f6;
  --white: #ffffff;
  --ink: #352e2b;
  --muted: #776b64;
  --accent: #795548;
  --wash: #f6f0eb;
  --line: #e9e2dc;
  --body-font: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body-font); font-size: 16px; line-height: 1.85; -webkit-text-size-adjust: 100%; overflow-wrap: break-word; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 5px; }
p, h1, h2 { margin: 0; }
.wrap { width: min(860px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; padding: 10px 20px; z-index: 10; background: var(--white); color: var(--ink); border: 2px solid var(--accent); border-radius: 10px; }
.skip-link:focus { top: 12px; }
.site-header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 650; letter-spacing: .01em; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 33px; border-radius: 11px; background: var(--accent); color: #fff9f4; font-family: Georgia, serif; font-size: 25px; line-height: 1; font-weight: 400; padding-bottom: 3px; }
nav { display: flex; align-items: center; gap: 8px; font-size: 13px; }
nav a { padding: 6px 13px; text-decoration: none; border-radius: 10px; }
nav a[aria-current="page"] { background: var(--wash); color: var(--accent); }
.profile-card { border: 1px solid #eee8e3; border-radius: 25px; background: var(--white); padding: 43px 49px 25px; box-shadow: 0 8px 32px rgba(67, 44, 29, .035); }
.profile-intro { padding: 1px 0 37px; }
.avatar { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 24px; border: 1px solid #eaded5; border-radius: 23px; background: var(--wash); color: var(--accent); font-family: Georgia, serif; font-size: 35px; line-height: 1; }
.eyebrow { color: var(--accent); font-size: 12px; margin-bottom: 10px; }
h1 { font-size: 34px; line-height: 1.5; letter-spacing: -.025em; font-weight: 650; }
.intro-description { margin-top: 17px; color: var(--muted); font-size: 15px; line-height: 1.95; }
.button-link { display: inline-flex; align-items: center; justify-content: center; margin-top: 25px; padding: 8px 19px; min-height: 40px; border-radius: 12px; background: var(--accent); color: #fff9f4; text-decoration: none; font-size: 13px; }
.button-link:hover { background: #65463c; color: #ffffff; }
.about { display: grid; grid-template-columns: 107px 1fr; gap: 20px; padding: 29px 0; border-top: 1px solid var(--line); }
h2 { font-size: 16px; line-height: 1.85; font-weight: 600; }
.about-copy { font-size: 14px; color: var(--muted); line-height: 1.95; max-width: 39em; }
.about-copy p + p { margin-top: 12px; }
.closing { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-top: 21px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.closing a { white-space: nowrap; color: var(--accent); }
.site-footer { padding: 23px 5px 33px; display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 11px; }
.not-found { min-height: 60vh; }
.not-found .profile-card { padding-block: 50px; }
.not-found h1 { font-size: 30px; }
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { min-height: 85px; gap: 16px; padding-inline: 4px; }
  .brand { font-size: 17px; gap: 9px; }
  nav { gap: 3px; font-size: 12px; }
  nav a { padding: 6px 11px; }
  .profile-card { padding: 30px 25px 23px; border-radius: 21px; }
  .profile-intro { padding-bottom: 29px; }
  .avatar { width: 61px; height: 61px; border-radius: 20px; font-size: 32px; margin-bottom: 21px; }
  .eyebrow { font-size: 11px; }
  h1 { font-size: 28px; letter-spacing: -.035em; }
  .intro-description { margin-top: 14px; font-size: 14px; }
  .button-link { margin-top: 22px; }
  .about { display: block; padding-block: 24px; }
  h2 { font-size: 15px; margin-bottom: 11px; }
  .about-copy { font-size: 14px; }
  .closing { display: block; padding-top: 19px; font-size: 11px; }
  .closing a { display: inline-block; margin-top: 12px; }
  .site-footer { font-size: 10px; padding-top: 20px; }
  .not-found .profile-card { padding-block: 36px; }
  .not-found h1 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
