@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Noto+Serif+SC:wght@600;700&display=swap");

:root {
  --paper: #f4f2e9;
  --ink: #1b2720;
  --muted: #525d53;
  --line: #c7c9bc;
  --lime: #d8ed9e;
  --forest: #203a2e;
  --serif: "Noto Serif SC", "Songti SC", SimSun, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 15px/1.7 Manrope, "Microsoft YaHei", system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure { margin: 0; }
.shell { width: min(1216px, calc(100% - clamp(36px, 9vw, 144px))); margin-inline: auto; }
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}
.wordmark { display: flex; align-items: center; gap: 10px; font: 700 21px/1.2 var(--serif); white-space: nowrap; }
.wordmark img { flex: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; }
.wordmark-name { display: grid; }
.wordmark small { margin-top: 6px; font: 800 9px/1 Manrope, sans-serif; letter-spacing: .22em; }
nav { display: flex; align-items: center; gap: clamp(10px, 2.4vw, 34px); font-size: 13px; white-space: nowrap; }
nav a:last-child { border: 1px solid var(--line); border-radius: 30px; padding: 6px 12px; }
nav a:hover, .quiet-link:hover { color: #416044; }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.47fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding: clamp(36px, 5.9vw, 88px) 0;
  border-bottom: 1px solid var(--line);
}
.hero-name { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; color: var(--muted); font-weight: 700; }
.hero-name::before { content: ""; width: 28px; height: 1px; background: currentColor; }
h1 { font: 700 clamp(45px, 6.5vw, 97px)/1.08 var(--serif); letter-spacing: -.075em; }
.separator { display: inline; color: #676f5d; font-size: .55em; letter-spacing: normal; }
.degree { display: block; margin-top: 17px; font-size: .47em; line-height: 1.34; letter-spacing: -.045em; overflow-wrap: anywhere; }
.mobile-break { display: none; }
.intro { max-width: 34em; margin-top: 24px; color: var(--muted); line-height: 1.9; }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 24px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 12px 19px;
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 28px;
  font-weight: 800;
  transition: background .2s, color .2s;
}
.button:hover { background: var(--ink); color: var(--lime); }
.quiet-link { display: inline-block; border-bottom: 1px solid var(--line); font-weight: 700; }
.portrait {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 4.65;
  overflow: hidden;
  border-radius: 49% 49% 8px 8px / 35% 35% 8px 8px;
  background: #53624a;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.portrait figcaption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: linear-gradient(transparent, #17271fea);
  color: #fff;
  font-weight: 700;
}
.portrait figcaption span { font-size: 10px; letter-spacing: .16em; }
h2 { font: 700 clamp(30px, 4.4vw, 53px)/1.2 var(--serif); letter-spacing: -.055em; }
.work, .section-grid { padding: clamp(50px, 7vw, 96px) 0; }
.work h2 { margin-bottom: 24px; }
.featured {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 10px;
  background: #182b22;
  color: #f7f8ee;
}
.featured-copy { z-index: 1; padding: clamp(27px, 5.5vw, 68px); }
.project-type { color: var(--lime); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.featured h3 { margin-top: 7px; font: 700 clamp(36px, 5.9vw, 78px)/1.14 var(--serif); letter-spacing: -.05em; }
.featured p:not(.project-type) { margin: 10px 0 25px; color: #d0dbcb; }
.featured-cta { display: inline-flex; align-items: center; gap: 14px; color: var(--lime); border-bottom: 1px solid #7b9064; }
.lumen-visual { display: grid; place-items: center; position: relative; }
.lumen-ring {
  width: min(70%, 310px);
  aspect-ratio: 1;
  border: 1px solid #e0fca0;
  border-radius: 50%;
  background: radial-gradient(circle at 44% 80%, #a9cb5759, transparent 58%), #1c3025;
  box-shadow: 0 0 36px #9cbd5446, inset 0 0 36px #adc95c70, 0 0 0 19px #d8ed9e1c, 0 0 0 38px #d8ed9e0c;
  transition: transform .3s;
}
.featured:hover .lumen-ring { transform: scale(1.07); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.project { display: block; border-radius: 9px; padding: clamp(20px, 3vw, 37px); border: 1px solid #0001; transition: border-color .2s; }
.project:hover { border-color: currentColor; }
.cet { background: #e2e9d8; }
.cofate { background: #e9e3ef; }
.project-top { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 12px; }
.project-arrow { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #1b27204d; border-radius: 50%; font-size: 17px; }
.project h3 { margin-top: 18px; font: 700 clamp(25px, 3.1vw, 43px)/1.2 var(--serif); }
.project p { margin-top: 11px; color: #425047; }
.project-stat { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 800; }
.footnote { margin-top: 12px; color: var(--muted); font-size: 12px; }
.section-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 28px; border-top: 1px solid var(--line); }
.bio { font-size: clamp(17px, 2vw, 23px); }
.facts { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 28px 0; }
.facts div { display: flex; flex-direction: column-reverse; }
.facts dt { color: var(--muted); font-size: 12px; }
.facts dd { margin: 0; font-size: clamp(20px, 3vw, 34px); font-weight: 800; }
.experience { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.experience li { display: flex; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.experience time { flex: 0 0 65px; color: var(--muted); }
.experience small { color: var(--muted); font-size: 13px; }
.contact { align-items: center; }
.email { margin-top: 16px; overflow-wrap: anywhere; }
.wechat { display: flex; align-items: center; gap: 18px; justify-self: end; padding: 12px 22px 12px 12px; border: 1px solid var(--line); border-radius: 10px; }
.wechat img { width: 120px; height: auto; }
.wechat figcaption { display: grid; gap: 4px; }
.wechat figcaption span { font-size: 13px; color: var(--muted); }
.site-footer { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding: 20px 0; color: var(--muted); font-size: 12px; }

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; }
  h1 { font-size: clamp(38px, 10.7vw, 70px); }
  .degree { font-size: clamp(23px, 5.7vw, 39px); }
  .portrait { width: min(100%, 460px); aspect-ratio: 5 / 5.3; }
  .featured { grid-template-columns: 1.38fr 1fr; }
  .lumen-ring { width: 72%; }
  .section-grid { grid-template-columns: 1fr; }
  .wechat { justify-self: start; }
}
@media (max-width: 420px) {
  nav { gap: 9px; font-size: 11px; }
  nav a:last-child { padding-inline: 7px; }
  .site-header { gap: 9px; }
  .wordmark { gap: 6px; font-size: 18px; }
  .wordmark img { width: 32px; height: 32px; border-radius: 7px; }
  .mobile-break { display: initial; }
  .project-grid { grid-template-columns: 1fr; }
  .hero-name { margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
