:root{color-scheme:dark;--bg:#101519;--surface:#151b20;--ink:#f1eee8;--muted:#b3bac0;--faint:#99a3a8;--accent:#e3ae82;--rule:#32383b;--serif:Georgia,"Noto Serif CJK SC","Songti SC",SimSun,serif;--sans:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;--mono:ui-monospace,"SFMono-Regular",Consolas,"Liberation Mono",monospace}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0;background:var(--bg);color:var(--ink);font:400 1rem/1.65 var(--sans);-webkit-font-smoothing:antialiased}button,a{font:inherit;color:inherit}a{text-decoration:none}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid #efb989;outline-offset:5px}.shell{width:min(1280px,calc(100% - clamp(44px,12vw,168px)));margin-inline:auto}.skip{position:fixed;z-index:10;left:1rem;top:-6rem;background:var(--ink);color:var(--bg);padding:.6rem 1rem}.skip:focus{top:1rem}
.masthead{background:#101418;border-bottom:1px solid #ffffff12}.mast-inner{height:76px;display:flex;align-items:center;gap:3rem}.brand{display:inline-flex;align-items:center;gap:12px;font-family:Arial,var(--sans);font-size:1.58rem;letter-spacing:-.07em;font-weight:700;line-height:1}.brand img{width:37px;height:auto;object-fit:contain}.brand .hub{font-weight:400}.masthead nav{display:flex;gap:2.15rem;align-items:stretch;align-self:stretch;margin-left:auto}.masthead nav a{position:relative;display:grid;place-items:center;color:#aeb5b8;font-size:.94rem;letter-spacing:.08em}.masthead nav a[aria-current],.masthead nav a:hover{color:#fff}.masthead nav a[aria-current]:after{content:"";position:absolute;bottom:15px;height:2px;width:14px;background:var(--accent);border-radius:2px}.place{padding-left:1.9rem;border-left:1px solid var(--rule);display:flex;align-items:center;gap:9px;color:#b8bec0;font-size:.84rem;letter-spacing:.07em}.pin{display:inline-block;width:10px;height:10px;border:1.3px solid #c0c6c8;border-radius:50% 50% 50% 0;transform:translateY(-2px) rotate(-45deg);position:relative}.pin:after{content:"";position:absolute;inset:2.3px;border-radius:50%;background:#b8bec0}
.hero{position:relative;isolation:isolate;overflow:hidden;background:#142029;border-bottom:1px solid #464849}.hero-picture{position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#0f181e55 0%,#0f181e0b 48%,transparent 72%),linear-gradient(0deg,#0a111acd,transparent 29%),url(dusk.webp) center 49%/cover no-repeat}.hero-inner{position:relative;display:flex;align-items:center;min-height:clamp(490px,38vw,590px);padding-block:60px 67px}.hero-copy{max-width:57%}.eyebrow,.section-label{font:500 .77rem/1.4 var(--mono);color:var(--accent);letter-spacing:.18em;display:flex;align-items:center;gap:.75rem}.eyebrow i,.section-label i{width:27px;height:1px;background:var(--accent);display:inline-block;flex:none}.hero-kicker{margin:0 0 16px;color:#e7bf9f}.hero h1{font:500 clamp(5.4rem,8.4vw,8.2rem)/1.1 var(--serif);letter-spacing:.035em;margin:0 0 20px;color:#f2eee5}.period{display:inline-block;color:var(--accent);font:400 .79em/.7 Georgia,serif;letter-spacing:0;margin-left:.04em}.hello{font-weight:500;font-size:clamp(1.25rem,1.55vw,1.52rem);line-height:1.55;letter-spacing:.045em;margin:0 0 5px}.hello span{font-family:Georgia,serif;font-size:1.14em;font-style:italic}.intro{margin:0;color:#c2c8c9;line-height:1.85;letter-spacing:.06em;font-size:1rem}.browse{display:inline-flex;align-items:center;justify-content:center;gap:.68rem;border:1px solid #ddbc9d9c;background:#19202680;border-radius:5px;min-height:44px;padding:8px 20px;color:#f3dcc5;font-size:.92rem;letter-spacing:.06em;transition:background .2s,border-color .2s}.hero .browse{margin-top:24px}.browse:hover{background:#403832;border-color:var(--accent)}.book-icon{border:1px solid currentColor;width:15px;height:11px;position:relative;border-radius:2px}.book-icon:after{content:"";position:absolute;inset:0 auto 0 6px;border-left:1px solid}
.clock{position:absolute;right:0;bottom:30px;text-align:right;color:#f4eee5;text-shadow:0 2px 14px #0008}.clock p{margin:0 0 3px;display:flex;align-items:center;justify-content:flex-end;gap:7px;font-size:.79rem;letter-spacing:.09em}.clock .utc{font:.74rem var(--mono);letter-spacing:.06em;color:#dedad2}.clock-face{width:12px;height:12px;border-radius:50%;border:1px solid currentColor;position:relative}.clock-face:after{content:"";position:absolute;left:4px;top:2px;width:3px;height:4px;border-left:1px solid;border-bottom:1px solid}.clock time{font:400 clamp(2.7rem,3.8vw,4.1rem)/1.06 var(--mono);display:block;letter-spacing:-.075em;font-variant-numeric:tabular-nums}.clock #sec{font-size:.58em;letter-spacing:-.065em;color:#d8c4b2}.clock-date{font:500 .77rem/1.4 var(--mono);letter-spacing:.04em;color:#cdcfcc}
.projects{padding:55px 0 52px}.section-label{letter-spacing:.155em;font-size:.76rem;color:#c9a98b}.section-label i{width:20px}.section-head{display:flex;justify-content:space-between;align-items:baseline;margin:8px 0 22px}h2{font:500 clamp(1.85rem,2.6vw,2.7rem)/1.4 var(--serif);letter-spacing:.055em;margin:0}.index-label{font-size:.85rem;color:var(--faint);letter-spacing:.12em}.work-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(16px,2.4vw,34px)}.project{min-width:0}.project-link{display:block;border-top:1px solid transparent;border-radius:4px}.project-image{aspect-ratio:3/1;min-height:110px;overflow:hidden;border:1px solid #ffffff16;border-radius:5px;background:#222b2c}.project-image img{height:100%;width:100%;display:block;object-fit:cover;transition:transform .45s}.project-link:hover .project-image img{transform:scale(1.025)}.project-text,.project-title{display:flex;align-items:center}.project-text{justify-content:space-between;gap:1rem;margin-top:15px}.project-title{gap:10px}.swatch{width:7px;height:7px;border-radius:2px;transform:rotate(45deg);background:#c79967}.swatch.jade{background:#8eafa0}.project h3{font:500 1.4rem/1.5 var(--serif);letter-spacing:.06em;margin:0}.project p{color:var(--muted);line-height:1.75;letter-spacing:.015em;margin:4px 0 0}.read{font-size:.84rem;color:#c5b39f;border-bottom:1px solid #85725c60}.project-link:hover .read{color:var(--accent);border-color:currentColor}
.about{border-top:1px solid var(--rule);display:grid;grid-template-columns:.88fr 2.25fr .7fr;align-items:center;gap:clamp(20px,4vw,64px);padding-block:42px 55px}.about h2{margin:8px 0 0}.about-copy{max-width:670px}.about-copy p{margin:0;color:var(--muted);line-height:1.95}.about-copy p+p{margin-top:.45rem}.signature{width:min(100%,143px);height:auto;justify-self:end;opacity:.9}.footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:16px 0 19px;border-top:1px solid var(--rule);color:var(--faint);font-size:.84rem;letter-spacing:.035em}.footer strong{font-family:Arial,sans-serif;font-size:.96rem;color:#c3c9ca;letter-spacing:-.025em}.footer-sep{margin:0 .85rem;color:#687177}.identity-seal{display:grid;place-items:center;min-width:48px;min-height:44px;padding:0 3px;background:none;border:0;touch-action:manipulation;user-select:none;-webkit-user-select:none}.identity-seal span{font:500 .94rem/1.38 var(--serif);letter-spacing:.13em;padding:0 2px 1px 4px;border:1px solid #ad7966;border-radius:2px;color:#c49883}
.note-fallback{display:none}.note-fallback:target{display:block;padding:32px 0}.note-banner{height:150px;background-size:cover;background-position:center}.gold{background-image:url(qianyi.webp)}.green{background-image:url(qiansui.webp)}dialog{border:1px solid #484d4e;border-radius:8px;padding:0;color:var(--ink);background:#161d21;width:min(560px,calc(100% - 32px));max-height:85dvh;overflow:auto;box-shadow:0 24px 100px #0006}dialog::backdrop{background:#060b10bb}body:has(dialog[open]){overflow:hidden}.note-content{padding:27px 32px 30px}.note-content h2{margin-top:.4rem}.note-content h3{font-size:1.07rem;margin:1.4rem 0 .25rem}.note-content p{color:var(--muted);line-height:1.9;margin:.6rem 0}.note-content .lead{color:#ece2d5;font-size:1.07rem}.return{display:inline-block;margin-top:1rem;color:var(--accent);border-bottom:1px solid #b28c6480}.close-dialog{width:44px;height:44px;position:absolute;right:8px;top:8px;background:#11191ee8;border:1px solid #ffffff42;border-radius:50%;color:var(--ink)}.close-dialog:after,.close-dialog:before{content:"";position:absolute;left:13px;right:13px;height:1px;top:21px;background:currentColor;transform:rotate(45deg)}.close-dialog:after{transform:rotate(-45deg)}.entry-dialog .note-content{padding-top:40px}.entry-dialog .browse{margin-top:1rem}
@media(max-width:800px){.mast-inner{gap:1.6rem;height:65px}.place{padding-left:1.2rem}.hero-inner{min-height:485px}.hero-copy{max-width:70%}.about{grid-template-columns:1fr 2fr}.signature{display:none}.clock{bottom:24px}.projects{padding:42px 0}.wide{display:none}}
@media(max-width:600px){html{scroll-padding-top:12px}.shell{width:calc(100% - 40px)}.mast-inner{height:59px;gap:1rem}.brand{font-size:1.32rem;gap:8px}.brand img{width:29px}.masthead nav{gap:1.1rem}.masthead nav a{font-size:.88rem}.masthead nav a[aria-current]:after{bottom:9px}.place{display:none}.hero-picture{background-image:linear-gradient(90deg,#10191fd9 0%,#10191f8c 30%,transparent 86%),linear-gradient(0deg,#0e1721f5,transparent 40%),url(dusk.webp);background-position:88% center}.hero-inner{min-height:485px;align-items:flex-start;flex-direction:column;padding:38px 0 20px;gap:36px}.hero-copy{max-width:100%}.hero-kicker{font-size:.72rem;margin-bottom:13px}.hero h1{font-size:5.3rem;margin-bottom:14px}.intro{font-size:.96rem;max-width:26ch}.hero .browse{margin-top:17px}.clock{position:static;align-self:flex-end;margin-top:auto}.clock time{font-size:2.75rem}.clock p{font-size:.76rem}.projects{padding:34px 0}.section-head{margin:6px 0 15px}.work-grid{grid-template-columns:1fr;gap:26px}.project-image{width:100%;min-height:0;aspect-ratio:2.95/1}.project-text{margin-top:11px}.about{display:block;padding:31px 0}.about-copy{margin-top:12px}.project p,.about-copy p{font-size:1rem}.note-content{padding:21px}.note-banner{height:117px}.footer{padding:10px 0 12px}}
@media(max-width:350px){.shell{width:calc(100% - 32px)}.masthead nav{gap:.85rem}.hero h1{font-size:4.65rem}.hero-kicker{letter-spacing:.1em}.intro{max-width:22ch}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
.has-reader .note-fallback:target{display:none}
.not-found{min-height:90vh;display:grid;align-content:center;justify-items:start;gap:18px}.not-found .brand{margin-bottom:1rem}.not-found h1{font:500 clamp(2.45rem,5vw,4.25rem)/1.3 var(--serif);letter-spacing:.04em;margin:0}.not-found p{margin:0;color:var(--muted)}

/* A gilt mounting edge separates the landscape from the surrounding ink. */
:root {
  --warm-ivory: #f3e9d4;
  --pale-gold: #d7b888;
  --jade: #a5c1ac;
  --paper: #f1ebdd;
  --print: #2d332f;
  --settle: cubic-bezier(.19, 1, .22, 1);
}
.masthead {
  background: linear-gradient(110deg, #11191d, #131719 68%, #192021);
  border-bottom-color: #a9916a45;
}
.hero { border-bottom-color: #9a856447; }
.hero-picture { transform-origin: 79% 43%; }
.landscape-mat {
  position: absolute;
  pointer-events: none;
  inset: 14px 17px;
  border: 1px solid #d7c19b33;
  z-index: 0;
}
.landscape-mat i {
  position: absolute;
  width: 22px;
  height: 14px;
  border: solid #ead3a7b0;
  border-width: 1px 0 0 1px;
}
.landscape-mat i:nth-child(1) { left: -1px; top: -1px; }
.landscape-mat i:nth-child(2) { right: -1px; top: -1px; transform: rotateY(180deg); }
.landscape-mat i:nth-child(3) { right: -1px; bottom: -1px; transform: rotate(180deg); }
.landscape-mat i:nth-child(4) { left: -1px; bottom: -1px; transform: rotateX(180deg); }
.hero .title-glyph { display: inline-block; color: var(--warm-ivory); }
@supports (background-clip: text) {
  .hero .title-glyph {
    background: linear-gradient(165deg, #fff8e7 20%, #f4ead7 65%, #d5bea0);
    background-clip: text;
    color: transparent;
  }
}
.hero .period { color: #dfba87; }
.hero .browse {
  background: linear-gradient(110deg, #403e3475, #19222680);
  border-color: #d8bf947f;
}
.hero .browse:hover { background: #4c4738ba; }
.clock { border-right: 1px solid #cfb18496; padding-right: 16px; }
.projects { position: relative; }
.projects::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0 -3vw auto;
  height: 160px;
  background: radial-gradient(ellipse at 32% 0%, #a3885920, transparent 63%);
  z-index: -1;
}
.section-head { align-items: center; }
.section-head::after {
  content: "";
  order: 1;
  margin: 0 1.3rem;
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, #b197714d, #b197711e);
}
.index-label { order: 2; }
.project-link { border: 0; }
.project-image {
  isolation: isolate;
  position: relative;
  aspect-ratio: 2.55 / 1;
  border-radius: 4px;
  border-color: #b8a88950;
}
.project-image::before, .folio-cover::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #080e10bf, #0a10122e 50%, transparent 80%),
              linear-gradient(0deg, #090e1280, transparent 55%);
}
.project-image::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 9px;
  z-index: 2;
  border: 1px solid #f0d4a233;
}
.project-image img { transition: transform .85s var(--settle); }
.cover-type {
  color: #f7ecdc;
  position: absolute;
  z-index: 2;
  inset: auto auto clamp(18px, 2.4vw, 38px) clamp(20px, 2.6vw, 42px);
}
.cover-topic, .folio-kind {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #e7c9a5;
  letter-spacing: .14em;
  font-size: .82rem;
}
.cover-topic::before, .folio-kind::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}
.project-jade .cover-topic, .folio-jade .folio-kind { color: #cce0ca; }
.cover-type h3 { margin-top: 6px; font-size: clamp(1.65rem, 2.7vw, 2.65rem); }
.project-text { align-items: baseline; gap: 12px; }
.project-text p { margin: 0; }
.project-text .read { flex: none; }
.about { align-items: start; padding-block: 48px 56px; }
.about-copy p + p { margin-top: .9rem; }
.signature { align-self: end; }
/* The reader is a mounted print above a warm, typeset page. */
#reader {
  width: min(812px, calc(100% - 48px));
  max-height: 88vh;
  max-height: 88dvh;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid #c8bca3;
  border-radius: 5px;
}
#reader::backdrop { background: #060c10cf; }
#reader-body {
  max-height: calc(88vh - 2px);
  max-height: calc(88dvh - 2px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #9b8a70 #e6decb;
}
#reader-body:focus-visible { outline: 2px solid #927344; outline-offset: -3px; }
#reader .close-dialog {
  z-index: 5;
  top: 12px;
  right: 16px;
  color: #f7efde;
  background: #17201ef2;
  border-color: #d9ccac90;
}
#reader .close-dialog:focus-visible { outline-color: #e7c694; outline-offset: 1px; }
.folio-cover {
  isolation: isolate;
  position: relative;
  min-height: clamp(178px, 20vw, 225px);
  padding: 38px clamp(25px, 7vw, 82px) 27px;
  display: flex;
  align-items: flex-end;
  background-position: center;
  background-size: cover;
}
.folio-gold { background-image: url(qianyi.webp); }
.folio-jade { background-image: url(moon-garden.webp); background-position: center 48%; }
.folio-heading { position: relative; z-index: 2; }
.folio-kind { margin: 0 0 10px; }
.folio-heading h2 { color: #f5eedf; font-size: clamp(2.2rem, 4.5vw, 3.5rem); line-height: 1.2; }
.folio-subtitle { color: #e9e0d1; margin: 9px 0 0; font-size: 1rem; letter-spacing: .1em; }
.manuscript {
  background: radial-gradient(ellipse at left top, #fffdf4, transparent 75%), var(--paper);
  color: var(--print);
  padding: clamp(24px, 3.2vw, 44px) clamp(25px, 7vw, 82px) clamp(24px, 3.2vw, 40px);
}
.manuscript p { margin: .65rem 0 0; line-height: 1.98; }
.manuscript .standfirst {
  margin: 0 0 1.7rem;
  padding-left: 18px;
  border-left: 2px solid #a38657;
  color: #3c463d;
  font: 500 clamp(1.08rem, 1.8vw, 1.25rem)/1.84 var(--serif);
}
.manuscript h3 {
  color: #28382f;
  margin: 1.65rem 0 .3rem;
  font: 600 clamp(1.18rem, 1.9vw, 1.38rem)/1.55 var(--serif);
  letter-spacing: .025em;
}
.margin-plate { margin: 1.6rem 0 0; }
.margin-plate img { display: block; width: 100%; height: auto; aspect-ratio: 3.5; object-fit: cover; }
.margin-plate figcaption { font-size: .83rem; color: #526056; margin-top: .55rem; }
.colophon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 17px;
  margin-top: 2rem;
  border-top: 1px solid #99896e70;
  color: #536054;
  font-size: .9rem;
}
.colophon .return { margin: 0; color: #4c513e; border-color: #8d8169; padding-block: 4px; }

@keyframes rise-in {
  from { transform: translateY(12px); opacity: .32; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes open-page {
  from { opacity: .3; transform: translateY(14px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: no-preference) {
  .reveal-once { animation: rise-in .85s var(--settle) backwards; }
  .project-jade.reveal-once { animation-delay: .1s; }
  #reader[open] { animation: open-page .36s var(--settle); }
}
@media (hover: hover) and (pointer: fine) {
  .project-link:hover img { transform: scale(1.045); }
}
@media (prefers-reduced-motion: reduce) {
  .project-link:hover .project-image img { transform: none; }
}
@media (max-width: 700px) {
  .landscape-mat { inset: 7px; border-color: #d7c19b24; }
  .landscape-mat i { width: 15px; height: 10px; }
  .clock { padding-right: 10px; }
  .section-head::after { margin-inline: 13px; }
  .project-image { aspect-ratio: 2.48 / 1; }
  .project-text { gap: 10px; }
  .about { padding-block: 33px; }
  #reader { width: min(100% - 16px, 600px); max-height: 92vh; max-height: 92dvh; }
  #reader-body { max-height: calc(92vh - 2px); max-height: calc(92dvh - 2px); }
  .folio-cover { min-height: 168px; }
  .folio-jade { background-position: 68% center; }
  .manuscript { padding-inline: clamp(18px, 5.5vw, 30px); }
}
@media (max-width: 380px) {
  .project-text { display: block; }
  .project-text .read { display: inline-block; margin-top: 6px; }
  .footer-sep { margin-inline: 6px; }
}
@media (forced-colors: active) {
  .hero .title-glyph { background: none; color: CanvasText; }
}


/* The camera and fine lunar dial share one plane with the landscape. */
.hero-picture {
  --scene-x: 50%;
  --scene-y: 33%;
  background-position: var(--scene-x) var(--scene-y);
  transform-origin: 72% 46%;
}
.moonlight {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--scene-x) var(--scene-y);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-picture { animation: mountain-drift 20s ease-in-out infinite; }
}
.hero-picture::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 31% 11% at 65% 64%, #e2e4d126, transparent),
              radial-gradient(ellipse 25% 9% at 43% 78%, #d5e2df1d, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-picture::after { animation: mountain-mist 10s ease-in-out infinite alternate; }
}
@keyframes mountain-mist {
  from { transform: translate(-6%, 1%); }
  to { transform: translate(6%, -1%); }
}
@keyframes mountain-drift {
  0%, 100% { transform: scale(1.008); }
  50% { transform: scale(1.047); }
}
@media (max-width: 900px) {
  .hero-picture { --scene-x: 88%; --scene-y: 44%; }
}
@media (max-width: 680px) {
  .hero-copy { width: 100%; }
  .hero .intro { max-width: min(100%, 25ch); }
}
