
:root {
  color-scheme: dark;
  --background: #101112;
  --foreground: #e9e7e0;
  --body: #c3c1b9;
  --muted: #aaa8a0;
  --subtle: #817f78;
  --line: #343534;
  --line-soft: #272928;
  --accent: #c9bca4;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--foreground); font: 15px/1.75 var(--font-sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 1px; }
::selection { background: #7c715f; color: #fff; }
.shell { width: min(840px, calc(100% - 64px)); margin: 0 auto; }
.site-header { min-height: 113px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 20px; }
.identity { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.emblem { width: 38px; height: 38px; flex: 0 0 auto; color: var(--accent); }
.identity-copy { display: grid; gap: 0; line-height: 1.32; }
.identity-copy strong { font-size: 14px; font-weight: 600; letter-spacing: -.015em; }
.identity-copy small { font-size: 11px; letter-spacing: .07em; color: var(--subtle); }
.navigation { display: flex; gap: 29px; align-items: center; }
.navigation a { font-size: 12px; letter-spacing: .005em; color: var(--muted); transition: color .16s ease; }
.navigation a:hover, .navigation a[aria-current="page"] { color: var(--foreground); }
.intro { padding: 44px 0 46px; }
.eyebrow { margin: 0 0 18px; font: 10px/1.5 var(--font-mono); color: var(--subtle); text-transform: uppercase; letter-spacing: .09em; }
h1 { margin: 0; font-size: clamp(26px, 3.4vw, 32px); letter-spacing: -.041em; font-weight: 480; line-height: 1.32; }
.intro p:not(.eyebrow) { max-width: 580px; margin: 12px 0 0; font-size: 15px; color: var(--body); line-height: 1.9; }
.section { display: grid; grid-template-columns: 174px minmax(0, 1fr); gap: 24px; padding: 35px 0 43px; border-top: 1px solid var(--line); scroll-margin-top: 38px; }
.section-label { padding-top: 6px; margin: 0; font: 10px/1.7 var(--font-mono); letter-spacing: .055em; color: var(--subtle); text-transform: uppercase; }
.entries { display: grid; }
.entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 0 0 27px; }
.entry + .entry { padding-top: 25px; border-top: 1px solid var(--line-soft); }
.entry h3 { margin: 0; font-size: 16px; font-weight: 510; letter-spacing: -.024em; line-height: 1.4; }
.entry p { color: var(--muted); font-size: 13px; line-height: 1.7; max-width: 510px; margin: 7px 0 0; }
.entry .status { color: var(--subtle); padding-top: 5px; font: 10px/1.6 var(--font-mono); text-transform: lowercase; white-space: nowrap; }
.entry-title-link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; transition: text-decoration-color .16s ease, color .16s ease; }
.entry-title-link:hover { color: var(--accent); text-decoration-color: var(--accent); }
.entry:last-child { padding-bottom: 0; }
.about-copy { max-width: 500px; margin: 0; color: var(--body); font-size: 13px; line-height: 1.9; }
.site-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; padding: 24px 0 48px; gap: 15px; color: var(--subtle); font-size: 11px; }
.site-footer a { color: var(--muted); border-bottom: 1px solid #62615b; padding-bottom: 2px; }
.site-footer a:hover { color: var(--foreground); }
.footer-right { display: flex; align-items: center; gap: 21px; }
.footer-right .hanzi { color: #93918a; font-size: 12px; letter-spacing: .2em; border: 0; }
@media (max-width: 680px) {
  .shell { width: min(100% - 40px, 840px); }
  .site-header { min-height: 0; flex-wrap: wrap; align-content: center; justify-content: flex-start; gap: 19px; padding: 24px 0 19px; }
  .emblem { height: 34px; width: 34px; }
  .identity { gap: 10px; }
  .identity-copy strong { font-size: 13px; }
  .identity-copy small { font-size: 10px; }
  .navigation { width: 100%; gap: 26px; }
  .navigation a { font-size: 11px; }
  .intro { padding: 36px 0 38px; }
  .intro p:not(.eyebrow) { font-size: 14px; }
  .section { grid-template-columns: 1fr; gap: 26px; padding: 28px 0 37px; }
  .section-label { padding-top: 0; }
  .entry { gap: 8px; }
  .entry h3 { font-size: 15px; }
  .entry p { font-size: 12px; }
  .entry .status { font-size: 9px; }
  .site-footer { padding-top: 23px; padding-bottom: 34px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.01ms !important; } }
  
/* About page: same quiet typography, with enough room to read. */
.about-main { max-width: 625px; padding: 78px 0 116px; }
.about-main h1 { margin-bottom: 28px; }
.about-main p:not(.eyebrow) { font-size: 15px; color: var(--body); line-height: 1.95; margin: 0 0 21px; }
.about-main a { color: var(--foreground); text-decoration: underline; text-decoration-color: #79736b; text-underline-offset: 4px; }
.about-main a:hover { color: var(--accent); }
.site-footer { margin-top: 12px; }
@media (max-width: 680px) { .about-main { padding: 68px 0 90px; } .about-main p:not(.eyebrow) { font-size: 14px; } }

/* Small usability refinements; retain the original visual language. */
.skip-link { position: absolute; top: 12px; left: 12px; padding: 8px 12px; background: var(--foreground); color: var(--background); transform: translateY(-200%); z-index: 1; }
.skip-link:focus { transform: translateY(0); }
.navigation { flex-wrap: wrap; }
.navigation a { display: inline-flex; align-items: center; min-height: 24px; }
.site-footer { flex-wrap: wrap; }
.empty-state { margin: 0; font-size: 13px; color: var(--muted); }
.listing-main { padding: 78px 0 90px; }
.listing-main > h1 { margin-bottom: 36px; }
@media (max-width: 380px) { .navigation { column-gap: 20px; } .entry { grid-template-columns: 1fr; } }

/* Photography keeps the original framing and lets each image breathe. */
.photographs-main { padding: 44px 0 64px; }
.photographs-main h1 { margin-bottom: 36px; }
.photo-series { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.photo-series figure { margin: 0; }
.photo-link { display: block; cursor: zoom-in; }
.photo-series img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.photo-viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 20px 24px; border: 0; box-sizing: border-box; background: #101112; color: #e8e6e3; }
.photo-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 16px; }
.photo-viewer::backdrop { background: #101112; }
.viewer-toolbar, .viewer-navigation { display: flex; align-items: center; justify-content: space-between; }
.photo-viewer button { font: inherit; color: inherit; background: transparent; border: 1px solid #454649; padding: 10px 14px; min-height: 44px; cursor: pointer; }
.photo-viewer button:hover { border-color: #e8e6e3; }
.photo-count { color: #a5a5a2; font-size: 13px; }
.viewer-image { min-height: 0; display: flex; justify-content: center; align-items: center; }
.viewer-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
html:has(.photo-viewer[open]) { overflow: hidden; }
@media (max-width: 680px) {
  .photographs-main { padding-top: 36px; }
  .photo-series { gap: 12px; }
  .photo-viewer { padding: 12px; }
}

.about-heading { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.about-portrait { display: block; width: 64px; height: auto; flex: 0 0 64px; }
.about-heading h1 { margin-bottom: 0; }
