@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;700;900&display=swap');

:root { --bg: #f7f7f5; --surface: #eeeeeb; --ink: #181817; --muted: #73736e; --line: #d8d8d2; --accent: #d54b31; --sans: Inter, 'Noto Sans SC', Arial, sans-serif; --mono: 'DM Mono', monospace; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); }
button { color: inherit; font: inherit; }
.site-shell { width: min(920px, calc(100% - 40px)); margin: 0 auto; }
.topbar { display: flex; align-items: center; height: 70px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 14px; }
.status { margin-left: auto; margin-right: 30px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .04em; }
.status i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #4b9b68; }
.top-link { color: var(--muted); font-family: var(--mono); font-size: 10px; text-decoration: none; }
.top-link span { color: var(--accent); font-size: 15px; }
.intro { display: grid; grid-template-columns: 1fr 250px; gap: 40px; align-items: end; padding: 52px 0 48px; border-bottom: 1px solid var(--line); }
.intro-main { display: flex; align-items: center; gap: 24px; }
.avatar { width: 168px; height: 168px; flex: 0 0 auto; border: 3px solid #c48a25; border-radius: 50%; object-fit: cover; }
.kicker, .card-head, .writing-card button, .dialog-label { color: var(--accent); font-family: var(--mono); font-size: 10px; letter-spacing: .05em; }
.kicker { margin: 0 0 22px; }
h1, h2, p, blockquote { margin-top: 0; }
h1 { margin-bottom: 0; font-size: clamp(34px, 5vw, 58px); font-weight: 800; letter-spacing: -.09em; line-height: 1.08; }
h1 em, h2 em, blockquote em { color: var(--accent); font-style: normal; }
.intro-copy { margin: 0 0 5px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.overview { display: grid; grid-template-columns: 1.05fr .95fr; gap: 12px; padding: 12px 0 50px; }
.card { min-width: 0; padding: 21px; background: var(--surface); }
.card-head { display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; }
.card-head span:last-child { color: var(--accent); }
.about-card, .work-card { min-height: 296px; }
.about-card h2, .writing-card h2 { margin: 43px 0 18px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.08em; line-height: 1.18; }
.card p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.detail-button { margin-top: 15px; padding: 0; border: 0; border-bottom: 1px solid var(--ink); background: none; cursor: pointer; font-size: 11px; }
.detail-button span { margin-left: 8px; color: var(--accent); }
.work-card { background: var(--ink); color: var(--bg); }
.work-card .card-head { color: #9a9a94; }
.work-list { margin-top: 23px; border-top: 1px solid #444440; }
.work-row { display: grid; grid-template-columns: 25px 1fr auto; gap: 8px; align-items: center; width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid #444440; background: none; color: inherit; text-align: left; cursor: pointer; }
.work-row:hover strong { color: var(--accent); }
.work-row b { color: var(--accent); font-family: var(--mono); font-size: 9px; font-weight: 400; }
.work-row strong { display: block; font-size: 12px; font-weight: 600; transition: color .2s ease; }
.work-row small { grid-column: 2; color: #999993; font-family: var(--mono); font-size: 8px; }
.work-row > span { grid-column: 3; grid-row: 1 / span 2; color: #999993; font-size: 16px; }
.writing-card { min-height: 210px; grid-column: 1 / -1; }
.writing-card h2 { margin-top: 34px; font-size: 27px; }
.writing-links { display: flex; flex-direction: column; gap: 0; }
.writing-card .writing-links { margin-top: 38px; }
.writing-link { display: flex; align-items: center; justify-content: space-between; padding: 12px 0 10px; border-bottom: 1px solid var(--line); color: var(--ink); cursor: pointer; font-family: var(--sans); font-size: 12px; letter-spacing: 0; text-decoration: none; }
.writing-link:hover { color: var(--accent); }
.writing-link span { color: var(--accent); font-family: var(--mono); }
.principle-card { background: #e5e5e1; }
.principle-mark { margin-top: 32px; color: var(--accent); font-family: Georgia, serif; font-size: 50px; line-height: .5; }
blockquote { margin-bottom: 12px; font-size: clamp(22px, 3vw, 31px); font-weight: 700; letter-spacing: -.08em; line-height: 1.2; }
.principle-card p { margin: 0; font-family: var(--mono); font-size: 9px; }
.footer { display: flex; gap: 25px; padding: 18px 0 28px; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 9px; }
.footer span:last-child { margin-left: auto; }
.detail-dialog { width: min(430px, calc(100% - 32px)); padding: 28px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.16); }
.detail-dialog::backdrop { background: rgba(24,24,23,.35); }
.dialog-close { position: absolute; top: 12px; right: 15px; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 24px; line-height: 1; }
.dialog-label { margin-bottom: 28px; }
.detail-dialog h2 { margin-bottom: 15px; font-size: 27px; letter-spacing: -.07em; }
.detail-dialog p:last-child { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
@media (max-width: 680px) { .site-shell { width: min(100% - 32px, 520px); } .intro { display: block; padding: 42px 0 34px; } .intro-main { align-items: flex-start; gap: 16px; } .avatar { width: 104px; height: 104px; border-width: 2px; } h1 { font-size: 34px; } .intro-copy { max-width: 360px; margin-top: 27px; } .overview { display: block; } .card { margin-bottom: 12px; } .status { display: none; } .footer { flex-wrap: wrap; gap: 8px 18px; } .footer span:last-child { margin-left: 0; } }
