:root {
  --paper: #faf9f5;
  --ink: #252522;
  --muted: #686862;
  --rule: #d8d6cc;
  --accent: #b83e20;
  --serif: "Baskervville", "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: "DM Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 100%;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, h3, p { margin: 0; }
body { min-height: 100vh; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover, .text-button:hover { color: var(--accent); }
:focus-visible { outline: 3px solid #a63c24; outline-offset: 4px; }
img { display: block; max-width: 100%; }
.wrap { width: min(1280px, calc(100% - clamp(40px, 10vw, 176px))); margin-inline: auto; }
.skip { position: absolute; top: 4px; left: 5px; transform: translateY(-160%); background: #fff; padding: 10px; z-index: 4; }
.skip:focus { transform: none; }
.mast { border-bottom: 1px solid var(--rule); }
.mast-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-size: 1.08rem; font-weight: 650; letter-spacing: .02em; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
.mark { width: 26px; height: 30px; display: inline-block; position: relative; flex: 0 0 26px; isolation: isolate; }
.mark::before, .mark::after { content: ""; position: absolute; width: 15px; height: 24px; transform: skewY(-15deg); }
.mark::before { left: 1px; top: 5px; background: var(--ink); }
.mark::after { left: 10px; top: 2px; background: #d04d29; border-left: 2px solid var(--paper); }
.mast nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); flex-shrink: 0; font-size: .94rem; }
.mast nav a { position: relative; padding: 10px 0; }
.mast nav [aria-current="page"]::after { position: absolute; content: ""; bottom: 5px; height: 2px; background: var(--accent); left: 0; right: 0; }
.intro { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.23fr); gap: clamp(28px, 5vw, 86px); align-items: center; padding: clamp(35px, 5vw, 74px) 0; }
.intro-copy { min-width: 0; padding-block: 10px; }
h1, h2, h3 { text-wrap: pretty; overflow-wrap: anywhere; }
.intro h1 { font-size: clamp(3.9rem, 6.75vw, 7.5rem); font-family: var(--serif); line-height: 1.07; letter-spacing: -.065em; font-weight: 650; }
.intro h1 span { display: block; }
.intro h1 i { color: #c84727; font-family: Georgia, serif; font-style: normal; margin-left: .05em; }
.intro h1.signed { font-size: clamp(3.15rem, 6.1vw, 6rem); line-height: 1.13; }
.bio { color: #504f49; font-size: clamp(1rem, 1.18vw, 1.16rem); max-width: 34em; margin-top: clamp(17px, 2vw, 28px); line-height: 1.85; overflow-wrap: anywhere; }
.ink-btn, .outline-btn { display: inline-flex; justify-content: center; align-items: center; width: fit-content; min-height: 44px; padding: 9px 22px; border-radius: 2px; font-weight: 600; line-height: 1.45; font-size: .94rem; }
.ink-btn { color: #fff; background: var(--ink); border: 1px solid var(--ink); }
.ink-btn:hover { background: #9d341e; border-color: #9d341e; color: #fff; }
.outline-btn { border: 1px solid #a8a69a; background: transparent; color: var(--ink); }
.outline-btn:hover { border-color: var(--ink); }
.intro .ink-btn { margin-top: clamp(20px, 2.5vw, 35px); }
.desk { aspect-ratio: 1.48; width: 100%; background: #d9c1a3; overflow: hidden; }
.desk img { width: 100%; height: 100%; object-fit: cover; }
.collection { padding: 0 0 55px; scroll-margin-top: 20px; }
.section-line { border-top: 1px solid var(--ink); display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 25px 0 22px; }
.section-line h2 { font: 650 clamp(1.7rem, 3vw, 2.7rem)/1.2 var(--serif); letter-spacing: -.035em; }
.count, time, figcaption { font-size: .875rem; color: var(--muted); }
.empty-shelf { border-block: 1px solid var(--rule); padding: 35px 20px; display: flex; gap: 15px; align-items: center; justify-content: center; color: var(--muted); text-align: center; }
.folder-icon { position: relative; display: inline-block; width: 25px; height: 17px; border: 1.5px solid #928977; border-radius: 1px 3px 2px 2px; transform: rotate(-4deg); flex-shrink: 0; }
.folder-icon::before { content: ""; position: absolute; bottom: 100%; left: -1.5px; width: 12px; height: 4px; border: 1.5px solid #928977; border-bottom: 0; border-radius: 2px 2px 0 0; }
.featured { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: clamp(20px, 4vw, 64px); margin-bottom: 34px; }
.feature-image, .card-img { display: block; aspect-ratio: 1.55; background: #efede5; overflow: hidden; }
.feature-image img, .card-img img { height: 100%; width: 100%; object-fit: cover; transition: transform .22s; }
.work-card a:hover img, .feature-image:hover img { transform: scale(1.025); }
.meta { font-size: .875rem; font-weight: 600; color: var(--accent); margin-bottom: 7px; }
.featured h3 { font: 650 clamp(1.8rem, 3vw, 3rem)/1.24 var(--serif); margin-bottom: 10px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 25px; }
.work-card h3 { font: 650 clamp(1.35rem, 1.9vw, 2rem)/1.35 var(--serif); margin: 14px 0 5px; }
.work-card p, .featured p:not(.meta) { color: var(--muted); overflow-wrap: anywhere; }
.work-card time, .featured time { display: block; margin-top: 10px; }
.foot { border-top: 1px solid var(--rule); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 24px 32px; color: var(--muted); font-size: .875rem; }
.inline-link, .foot a:hover { text-decoration: underline; text-underline-offset: 5px; }
.case { max-width: 1050px; padding-bottom: 65px; }
.case-head { padding: clamp(30px, 5vw, 68px) 0 30px; }
.case-head .inline-link { font-size: .94rem; color: var(--muted); }
.case-head h1, .missing h1 { font: 650 clamp(2.5rem, 5.8vw, 5rem)/1.16 var(--serif); margin: 24px 0 12px; }
.lead { font-size: clamp(1.1rem, 2vw, 1.4rem); color: #514f48; margin-bottom: 16px; }
.case-photo { margin: 10px 0 28px; }
.case-photo img { width: 100%; max-height: 82vh; object-fit: contain; background: #eeece5; }
.case-photo figcaption { margin-top: 8px; overflow-wrap: anywhere; }
.case-body { max-width: 800px; margin: auto; }
.case-body section { border-top: 1px solid var(--rule); padding: 25px 0 12px; margin-top: 20px; }
.case-body h2 { font: 650 clamp(1.45rem, 3vw, 2rem)/1.3 var(--serif); margin-bottom: 12px; }
.case-body p, .lead { overflow-wrap: anywhere; line-height: 1.85; }
.case-body p + p { margin-top: .85em; }
.external-links { display: flex; flex-wrap: wrap; gap: 16px 26px; overflow-wrap: anywhere; }
.missing { padding-block: 60px 90px; }
.missing p { margin-bottom: 22px; }
@media (max-width: 800px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .intro { gap: 24px; } }
@media (max-width: 620px) {
  .wrap { width: calc(100% - 36px); }
  .mast-inner { min-height: 63px; gap: 12px; }
  .mast nav { gap: 18px; }
  .wordmark { font-size: 1rem; gap: 9px; }
  .intro { display: flex; flex-direction: column; align-items: stretch; gap: 24px; padding: 34px 0 30px; }
  .intro-copy { padding: 0; }
  .intro h1 { font-size: clamp(2.8rem, 10.9vw, 4.2rem); }
  .intro h1 span { display: inline; }
  .bio { margin-top: 13px; }
  .intro .ink-btn { margin-top: 17px; }
  .desk { aspect-ratio: 1.6; }
  .section-line { padding: 20px 0 16px; }
  .featured, .cards { grid-template-columns: minmax(0, 1fr); }
  .featured { gap: 14px; }
  .collection { padding-bottom: 32px; }
  .empty-shelf { padding: 26px 10px; }
  .foot { padding-block: 18px 24px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
