:root {
  --paper: #efeae1;
  --ink: #17271f;
  --green: #203a5e;
  --muted: #69736b;
  --rule: rgba(23, 39, 31, .24);
  --serif: "Lora", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.7; }
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 18px max(32px, calc((100vw - 1120px)/2)); background: rgba(239,234,225,.94); border-bottom: 1px solid var(--rule); backdrop-filter: blur(12px); }
.wordmark { text-decoration: none; font-size: .88rem; font-weight: 700; letter-spacing: -.02em; }
nav { display: flex; gap: 30px; }
nav a { text-decoration: none; color: var(--muted); font-size: .82rem; font-weight: 600; }
nav a:hover, .contents a:hover { color: var(--green); }
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: clamp(40px, 8vw, 110px); align-items: center; padding-top: 100px; padding-bottom: 112px; }
.eyebrow, .section-kicker, .piece-type, .contents-label { color: var(--green); text-transform: uppercase; letter-spacing: .13em; font-size: .68rem; font-weight: 700; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.045em; line-height: 1.05; }
h1 { margin: 24px 0 22px; font-size: clamp(4rem, 8.5vw, 7.6rem); }
h1 em { color: var(--green); font-style: italic; }
.lede { max-width: 580px; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.35; }
.bio-block { max-width: 590px; margin-top: 38px; }
.bio-block p:last-child { color: #3d4b42; font-size: .94rem; }
.section-kicker { margin-bottom: 7px; }
.text-button { display: inline-flex; align-items: center; gap: 28px; margin-top: 24px; padding: 12px 0; color: var(--green); border-bottom: 1px solid var(--green); text-decoration: none; font-weight: 700; font-size: .86rem; }
.text-button span { font-size: 1.2rem; }
.portrait-wrap { max-width: 420px; justify-self: end; }
.portrait { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; object-position: center; border: 1px solid rgba(23,39,31,.15); }
.portrait-note { color: var(--muted); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; text-align: right; }
.work-section { padding-top: 80px; border-top: 1px solid var(--rule); }
.section-heading { max-width: 730px; margin-bottom: 52px; }
.section-heading h2 { margin: 12px 0 14px; font-size: clamp(3rem, 6vw, 5.2rem); }
.section-intro { max-width: 650px; color: #4f5b52; }
.contents { margin: 55px 0 110px; }
.contents-label { margin-bottom: 12px; }
.contents ol { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.contents li { border-bottom: 1px solid var(--rule); }
.contents a { display: grid; grid-template-columns: 54px 1fr 22px; gap: 16px; align-items: center; padding: 17px 0; text-decoration: none; font-family: var(--serif); font-size: clamp(1.05rem, 1.8vw, 1.35rem); }
.contents a span { color: var(--green); font-family: var(--sans); font-size: .72rem; font-weight: 700; }
.contents a b { color: var(--green); font-family: var(--sans); font-size: .9rem; font-weight: 500; }
.piece { padding: 48px 0 80px; border-top: 1px solid var(--rule); scroll-margin-top: 88px; }
.piece-head { display: flex; gap: 22px; align-items: flex-start; }
.piece-number { color: var(--green); font-size: .8rem; font-weight: 700; padding-top: 5px; }
.piece-type { margin: 0 0 10px; font-size: .63rem; }
.piece h3 { margin: 0; font-size: clamp(1.8rem, 3.2vw, 2.65rem); }
.explanation { max-width: 760px; margin: 24px 0 30px 48px; color: #46534a; font-size: .94rem; }
.small-note { margin: 0 0 24px 48px; color: var(--muted); font-size: .78rem; }
.pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; margin-left: 48px; }
.pages img { display: block; width: 100%; height: auto; border: 1px solid rgba(23,39,31,.18); box-shadow: 0 4px 12px rgba(31,38,32,.08); background: #f8f6f1; }
.one-page { grid-template-columns: minmax(0, 720px); }
.resume-section { padding-top: 40px; padding-bottom: 80px; }
.resume-piece { margin-top: 10px; }
.site-footer { padding: 42px 0 32px; background: #e5dfd4; border-top: 1px solid var(--rule); }
.disclosure { max-width: 900px; color: #4c584f; font-size: .75rem; line-height: 1.65; }
.copyright { margin-top: 30px; color: var(--green); font-size: .76rem; font-weight: 700; }
@media (max-width: 720px) {
  .wrap { width: min(100% - 36px, 560px); }
  .site-header { padding: 14px 18px; }
  nav { gap: 16px; }
  nav a { font-size: .75rem; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding-top: 58px; padding-bottom: 68px; }
  h1 { font-size: clamp(3.8rem, 17vw, 5.7rem); }
  .portrait-wrap { width: min(100%, 380px); justify-self: center; }
  .work-section { padding-top: 55px; }
  .contents { margin: 38px 0 70px; }
  .contents a { grid-template-columns: 36px 1fr 18px; gap: 9px; padding: 14px 0; font-size: 1.05rem; }
  .piece { padding: 36px 0 58px; }
  .piece-head { gap: 14px; }
  .piece h3 { font-size: 1.85rem; }
  .explanation, .small-note { margin-left: 0; }
  .pages { grid-template-columns: 1fr; gap: 20px; margin-left: 0; }
  .one-page { grid-template-columns: 1fr; }
  .resume-section { padding-top: 15px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
