@font-face { font-family: Anton; src: url('/assets/fonts/anton.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/assets/fonts/dm-sans.woff2') format('woff2'); font-style: normal; font-weight: 100 1000; font-display: swap; }

:root {
  --paper: #f6f7f2;
  --white: #fff;
  --ink: #18221b;
  --body: #414c44;
  --muted: #657068;
  --line: #dce2d8;
  --green: #58ab36;
  --link: #347328;
  --soft-green: #eaf1e4;
  --display: Anton, Impact, 'Arial Narrow', sans-serif;
  --sans: 'DM Sans', sans-serif;
  color-scheme: light;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a, summary { -webkit-tap-highlight-color: transparent; }
::selection { background: #d1e9bc; color: var(--ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; border-radius: 2px; }
img { display: block; max-width: 100%; }
.green { color: var(--green); }
.small-label, .eyebrow, .section-label, .project-type, .reading-meta { font-size: 10px; font-weight: 750; letter-spacing: .13em; line-height: 1.5; text-transform: uppercase; }
.small-label { color: var(--muted); }
.skip-link { position: fixed; top: -100px; left: 20px; background: white; z-index: 100; padding: 15px; }
.skip-link:focus { top: 10px; }

.site-header { position: sticky; z-index: 20; top: 0; color: #fff; background: #17221b; }
.header-inner { max-width: 1264px; min-height: 80px; margin: auto; padding: 0 36px; display: flex; align-items: center; gap: 40px; }
.brand { display: flex; gap: 13px; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand-mark { font: 37px/1 var(--display); letter-spacing: -1px; }
.brand-mark > span { color: #8dcf64; }
.brand-caption { font-size: 11px; letter-spacing: .09em; font-weight: 800; }
.brand-caption > span { display: block; margin-top: 4px; font-size: 8px; letter-spacing: .14em; font-weight: 500; color: #a8b6a7; }
.header-nav { display: flex; align-items: center; justify-content: center; gap: 29px; margin-left: auto; }
.header-nav a { padding: 15px 0; font-size: 11px; text-decoration: none; color: #c7d0c5; }
.header-nav a:hover { color: #b3e294; }
.header-nav a > span { margin-left: 3px; font-size: 9px; color: #a4cb8e; }
.header-social { text-decoration: none; font-size: 11px; white-space: nowrap; border: 1px solid #465342; border-radius: 7px; padding: 12px 14px; }
.header-social span { margin-left: 12px; color: #acd690; }
.header-social:hover { border-color: #87bb68; background: #233320; }
.reading-progress { height: 3px; background: #32472b; }
.reading-progress span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: #83c752; }

.page-shell { max-width: 1264px; margin: auto; padding: 0 36px; }
.hero { display: grid; grid-template-columns: 1.38fr 1fr; align-items: center; gap: 68px; padding: 72px 0 62px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--link); }
.status-dot { width: 6px; height: 6px; border-radius: 100%; background: var(--green); }
.edition { color: var(--muted); margin-left: 9px; font-weight: 500; letter-spacing: .065em; }
h1 { font: 400 clamp(80px, 9.1vw, 128px)/1.01 var(--display); letter-spacing: -.025em; margin: 22px 0 20px; }
.hero-roles { font-size: 19px; font-weight: 650; letter-spacing: -.025em; margin: 23px 0 12px; }
.hero-description { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 0 0 28px; }
.button { display: inline-flex; gap: 34px; align-items: center; padding: 15px 20px; border: 1px solid var(--ink); border-radius: 5px; background: var(--ink); color: white; text-decoration: none; font-size: 12px; font-weight: 650; transition: background .2s; }
.button:hover { background: #34462c; }
.button span { color: #a2d77e; font-size: 17px; line-height: 1; }
.hero-secondary { display: inline-flex; gap: 9px; margin-left: 20px; padding: 15px 0; color: var(--body); font-size: 12px; text-decoration: none; }
.hero-secondary:hover { color: var(--link); text-decoration: underline; text-underline-offset: 5px; }
.portrait { margin: 12px 0 0; transform: rotate(2deg); }
.portrait-frame { position: relative; border-radius: 13px; border: 9px solid white; box-shadow: 0 8px 30px #27321e14, 0 0 0 1px var(--line); }
.portrait-frame::before { content: ''; position: absolute; z-index: 1; width: 70px; height: 18px; background: #74b942; opacity: .8; top: -14px; left: calc(50% - 35px); transform: rotate(-5deg); }
.portrait img { width: 100%; height: auto; border-radius: 6px; aspect-ratio: 1; object-fit: cover; }
.portrait-label { position: absolute; bottom: 14px; left: 14px; background: #19251be8; color: #fff; padding: 9px 11px; border-radius: 3px; font-size: 8px; font-weight: 600; letter-spacing: .13em; }
.portrait figcaption { display: flex; align-items: center; justify-content: space-between; font-size: 10px; color: var(--muted); margin-top: 18px; padding: 0 6px; }
.portrait figcaption > span:last-child { font-size: 9px; letter-spacing: .1em; }
.location-dot { color: var(--link); font-size: 16px; vertical-align: -1px; margin-right: 3px; }
.record-strip { display: flex; justify-content: space-between; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); gap: 16px; }
.record-strip p { margin: 0; display: flex; align-items: baseline; gap: 15px; font-size: 11px; color: var(--body); }
.record-strip .small-label { font-size: 8px; letter-spacing: .1em; }

.wiki-layout { display: grid; grid-template-columns: 218px minmax(0, 1fr); gap: 76px; padding: 68px 0 0; align-items: start; }
.sidebar { position: sticky; top: 123px; }
.contents { border-top: 2px solid var(--ink); }
.contents summary { list-style: none; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 20px 0 16px; cursor: pointer; }
.contents summary::-webkit-details-marker { display: none; }
.contents-toggle { display: none; }
.contents nav { display: grid; gap: 4px; }
.contents nav a { display: flex; gap: 13px; align-items: baseline; text-decoration: none; padding: 9px 11px; margin-left: -11px; border-radius: 5px; font-size: 11px; line-height: 1.5; color: var(--muted); transition: color .15s, background .15s; }
.contents nav a > span { font-size: 9px; font-variant-numeric: tabular-nums; color: #7b8379; }
.contents nav a[aria-current="location"] { background: var(--soft-green); color: #2d6724; font-weight: 700; }
.contents nav a:hover { background: #e9ede5; color: var(--ink); }
.sidebar-note { border-top: 1px solid var(--line); margin-top: 29px; padding-top: 25px; }
.sidebar-note .small-label { font-size: 8px; }
.sidebar-note p { color: var(--muted); font-size: 11px; line-height: 1.8; margin-top: 9px; }
.sidebar-note > a { font-size: 10px; color: var(--link); text-underline-offset: 4px; }
.biography { min-width: 0; }
.chapter { padding-bottom: 55px; margin-bottom: 51px; border-bottom: 1px solid var(--line); }
.section-label { color: var(--link); display: flex; align-items: baseline; gap: 12px; font-size: 9px; }
.section-label > span { border: 1px solid #c4d3bb; padding: 2px 5px; border-radius: 3px; font-size: 9px; letter-spacing: .02em; }
h2 { margin: 17px 0 26px; font: 400 clamp(31px, 3.1vw, 42px)/1.15 var(--display); letter-spacing: -.015em; text-wrap: balance; }
.chapter p { color: var(--body); font-size: 16px; line-height: 1.85; margin: 0 0 21px; }
.chapter > p { max-width: 76ch; }
.chapter p:last-child { margin-bottom: 0; }
.chapter .lead { font-size: 18px; line-height: 1.85; }
.chapter p strong { color: var(--ink); font-weight: 700; }
.chapter p a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.chapter p a:hover { text-decoration-thickness: 2px; }
h3 { font-size: 18px; font-weight: 700; letter-spacing: -.025em; margin: 32px 0 14px; }
.citation { font-family: var(--sans); line-height: 0; font-size: 9px; font-weight: 650; margin-left: 3px; scroll-margin-top: 120px; }
.citation a { color: var(--link); text-decoration: none !important; padding: 6px 1px; }
.citation a:hover { background: var(--soft-green); }
.citation:target { background: #d6ebbf; outline: 5px solid #d6ebbf; }
.fact-sheet { display: grid; grid-template-columns: 1fr 1fr; padding: 4px 24px; background: #edf0e8; border: 1px solid var(--line); border-radius: 8px; margin-top: 28px; column-gap: 26px; }
.fact-sheet > div { padding: 19px 0; display: grid; gap: 8px; }
.fact-sheet > div:nth-child(-n+2) { border-bottom: 1px solid #d8dfd1; }
.fact-sheet .small-label { font-size: 8px; }
.fact-sheet > div > span:last-child, .fact-sheet a { font-size: 12px; font-weight: 550; }
.fact-sheet a { color: var(--link); text-decoration: none; }
.margin-note { margin-top: 24px; display: flex; gap: 20px; padding: 24px; background: #edf2e7; border-left: 3px solid var(--green); }
.note-mark { color: var(--link); font-size: 24px; }
.margin-note p { font-size: 14px; margin: 0; line-height: 1.75; }
.milestone-card { background: var(--ink); border-radius: 10px; color: #f3f6ed; padding: 28px 30px; margin: 32px 0; }
.milestone-heading { display: flex; justify-content: space-between; gap: 12px; }
.milestone-heading .small-label, .milestone-heading > span:last-child { color: #b4c8a6; font-size: 9px; letter-spacing: .08em; }
.milestone-values { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; margin: 26px 0; }
.milestone-values > div { display: grid; gap: 9px; }
.milestone-values > div + div { border-left: 1px solid #43503d; padding-left: 34px; }
.milestone-values strong { font: 400 clamp(33px, 4vw, 49px)/1.1 var(--display); }
.milestone-values strong > span { font-size: .65em; color: #bccbb3; }
.milestone-values > div > span { font-size: 11px; color: #c1cdbb; }
.milestone-card p { color: #bfcbb7; font-size: 11px; line-height: 1.8; border-top: 1px solid #43503d; padding-top: 16px; }
.milestone-card p a { color: #b5e094; white-space: normal; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0 36px; }
.project-card { min-width: 0; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 9px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.project-card:hover { border-color: #a2bc92; box-shadow: 0 5px 15px #24341908; }
.project-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.project-type { font-size: 7px; color: var(--muted); letter-spacing: .09em; text-align: right; }
.project-icon { width: 39px; height: 39px; flex-shrink: 0; display: grid; place-items: center; border-radius: 9px; font-family: var(--display); font-size: 24px; }
.receipt-icon { background: #e3ebd4; color: #40512d; display: flex; justify-content: center; gap: 2px; font-size: 16px; }
.receipt-icon > span { font-size: 15px; }
.sway-icon { background: #efe9dc; color: #5b6747; font-size: 43px; }
.rewatch-icon { background: #63b641; color: #18241a; }
.grr-icon { background: #f3e2d4; color: #845537; font-size: 17px; }
.project-card h3 { font-size: 19px; margin: 24px 0 12px; }
.project-card h3 a { display: flex; justify-content: space-between; gap: 10px; text-decoration: none; }
.project-card h3 a:hover { color: var(--link); }
.project-card h3 span { color: var(--muted); font-size: 15px; }
.project-card p { font-size: 13px; line-height: 1.8; margin-bottom: 24px; }
.project-domain { margin-top: auto; color: var(--muted); font-size: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.archive-heading { margin-bottom: 16px; }
.archive-list { border-top: 1px solid var(--line); }
.archive-list > a { display: grid; grid-template-columns: 38px 1fr 1.25fr 12px; align-items: baseline; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 11px; }
.archive-list > a:hover strong { color: var(--link); text-decoration: underline; text-underline-offset: 4px; }
.archive-list span { color: var(--muted); }
.archive-list strong { font-size: 12px; font-weight: 650; }
.chapter .caption { font-size: 11px; line-height: 1.8; margin-top: 14px; color: var(--muted); }
.timeline { list-style: none; padding: 0; margin: 35px 0 0; }
.timeline li { display: grid; grid-template-columns: 116px 1fr; gap: 31px; position: relative; padding-bottom: 30px; }
.timeline li::before { content: ''; width: 7px; height: 7px; border-radius: 100%; border: 3px solid var(--paper); box-sizing: content-box; background: var(--green); position: absolute; left: 124px; top: 3px; z-index: 1; }
.timeline li:not(:last-child)::after { content: ''; position: absolute; top: 9px; bottom: -9px; left: 130px; width: 1px; background: var(--line); }
.timeline time { font-size: 9px; color: var(--muted); font-weight: 700; letter-spacing: .04em; padding-top: 5px; }
.timeline h3 { font-size: 16px; margin: 0 0 6px; }
.timeline p { font-size: 13px; line-height: 1.75; }
.timeline li:last-child { padding-bottom: 0; }
.reading-list { border-top: 1px solid var(--line); margin-top: 28px; }
.reading-list > a { display: grid; gap: 8px; position: relative; padding: 25px 35px 25px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.reading-meta { color: var(--link); font-size: 8px; }
.reading-list strong { font-size: 17px; letter-spacing: -.02em; line-height: 1.5; font-weight: 650; }
.reading-description { font-size: 12px; color: var(--muted); line-height: 1.7; }
.reading-arrow { position: absolute; right: 0; top: 50%; color: var(--link); }
.reading-list > a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.references { border-bottom: 0; padding-bottom: 0; }
.chapter .reference-date { font-size: 12px; color: var(--muted); }
.source-list { margin: 30px 0 0; padding: 0; list-style: none; }
.source-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 13px; border-top: 1px solid var(--line); padding: 21px 0; scroll-margin-top: 110px; }
.source-list li:target { background: #e4efda; box-shadow: 12px 0 #e4efda, -12px 0 #e4efda; }
.ref-number { font-size: 10px; font-weight: 700; line-height: 2; color: var(--link); }
.source-title { font-size: 13px; font-weight: 650; text-decoration: none; line-height: 1.65; }
.source-title:hover { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.source-title span { color: var(--link); font-size: 11px; }
.source-list .source-meta { font-size: 10px; color: var(--muted); margin: 5px 0; line-height: 1.7; }
.source-list .source-note { font-size: 11px; color: var(--muted); margin: 0; line-height: 1.7; }
.backlinks { display: flex; gap: 9px; margin-top: 7px; }
.backlinks a { font-size: 10px; text-decoration: none; color: var(--link); padding: 5px 3px; }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 40px; border-radius: 11px; padding: 44px 50px; color: #fff; background: var(--ink); }
.closing .small-label { color: #b4d39d; font-size: 9px; }
.closing h2 { font-size: clamp(33px, 4.2vw, 54px); margin: 14px 0 0; }
.closing-links { display: grid; gap: 6px; width: 220px; flex-shrink: 0; }
.closing-links a { display: flex; justify-content: space-between; text-decoration: none; font-size: 12px; border-bottom: 1px solid #43503d; padding: 12px 0; }
.closing-links a:hover { color: #b5e094; }
.closing-links a span { color: #b5e094; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 34px 0; color: var(--muted); font-size: 10px; }
.site-footer p { margin: 0; line-height: 1.8; text-align: center; }
.site-footer a { text-underline-offset: 3px; }
.site-footer > a { text-decoration: none; }
.site-footer > a span { margin-left: 6px; }

@media (max-width: 1080px) {
  .header-inner { gap: 24px; }
  .header-nav { gap: 20px; }
  .hero { gap: 38px; }
  .wiki-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 45px; }
  .record-strip p { display: grid; gap: 5px; }
  .hero-secondary { margin-left: 13px; }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 135px; }
  .header-inner { min-height: 68px; padding: 0 24px; }
  .header-nav { display: none; }
  .header-social { margin-left: auto; }
  .page-shell { padding: 0 24px; }
  .hero { gap: 25px; padding: 47px 0 42px; grid-template-columns: 1.15fr 1fr; }
  h1 { font-size: clamp(74px, 12vw, 100px); }
  .edition { display: none; }
  .hero-roles { font-size: 16px; }
  .hero-description { font-size: 13px; }
  .hero-secondary { display: flex; margin: 8px 0 0; width: fit-content; padding: 9px 0; }
  .portrait { align-self: center; }
  .portrait figcaption { font-size: 9px; line-height: 1.8; }
  .portrait figcaption > span:last-child { display: none; }
  .portrait-label { font-size: 6px; padding: 8px; bottom: 8px; left: 8px; }
  .wiki-layout { display: block; padding-top: 0; }
  .sidebar { z-index: 15; top: 71px; margin: 0 -24px 38px; padding: 0 24px; background: #f6f7f2f5; backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .contents { border: 0; }
  .contents summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
  .contents-toggle { display: inline-block; font-size: 15px; line-height: 1; }
  .contents[open] .contents-toggle { transform: rotate(180deg); }
  .contents nav { grid-template-columns: 1fr 1fr; padding: 0 0 18px; max-height: calc(100dvh - 150px); overflow-y: auto; }
  .sidebar-note { display: none; }
  .biography { max-width: 700px; margin: auto; }
  .chapter { scroll-margin-top: 0; }
  .citation, .source-list li { scroll-margin-top: 150px; }
  .closing { padding: 36px; }
}
@media (max-width: 540px) {
  .header-inner { padding: 0 20px; gap: 16px; min-height: 66px; }
  .brand-mark { font-size: 32px; }
  .brand-caption { font-size: 9px; }
  .brand-caption > span { font-size: 6px; }
  .brand { gap: 9px; }
  .header-social { font-size: 10px; padding: 10px 11px; }
  .header-social span { margin-left: 6px; }
  .page-shell { padding: 0 20px; }
  .hero { grid-template-columns: 1fr; padding: 37px 0 32px; gap: 35px; }
  .eyebrow { font-size: 9px; }
  .edition { display: inline; font-size: 8px; margin-left: 4px; }
  h1 { font-size: clamp(80px, 21vw, 113px); margin-top: 22px; }
  .hero-roles { font-size: 18px; }
  .hero-description { font-size: 14px; }
  .hero-secondary { display: inline-flex; margin-left: 13px; font-size: 11px; }
  .button { padding: 14px 17px; gap: 18px; font-size: 11px; }
  .portrait { width: min(310px, 90%); justify-self: center; margin: 0 0 10px; }
  .portrait figcaption { font-size: 10px; }
  .portrait-label { font-size: 7px; }
  .record-strip { flex-wrap: wrap; gap: 18px 24px; padding: 20px 0; }
  .record-strip p { font-size: 10px; }
  .record-strip p:last-child { width: 100%; display: flex; align-items: baseline; gap: 10px; }
  .sidebar { top: 69px; margin-left: -20px; margin-right: -20px; padding: 0 20px; }
  .contents nav { column-gap: 10px; }
  .contents nav a { font-size: 10px; gap: 8px; padding-right: 3px; }
  h2 { font-size: 33px; }
  .chapter { padding-bottom: 37px; margin-bottom: 37px; }
  .chapter p, .chapter .lead { font-size: 15px; line-height: 1.9; }
  .fact-sheet { padding: 2px 17px; column-gap: 18px; }
  .fact-sheet > div > span:last-child, .fact-sheet a { font-size: 11px; line-height: 1.6; }
  .fact-sheet .small-label { font-size: 7px; }
  .margin-note { padding: 20px 17px; gap: 12px; }
  .margin-note p { font-size: 13px; }
  .milestone-card { padding: 23px 20px; }
  .milestone-heading .small-label, .milestone-heading > span:last-child { font-size: 7px; }
  .milestone-values { grid-template-columns: 1.35fr 1fr; gap: 18px; }
  .milestone-values > div + div { padding-left: 18px; }
  .milestone-values strong { font-size: 36px; }
  .milestone-values > div > span { font-size: 9px; line-height: 1.6; }
  .milestone-card p { font-size: 11px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { padding: 24px; }
  .project-card p { font-size: 14px; }
  .project-type { font-size: 8px; }
  .archive-list > a { grid-template-columns: 34px 1fr 12px; gap: 10px; }
  .archive-list > a > span:nth-child(3) { grid-column: 2; grid-row: 2; font-size: 10px; }
  .archive-list > a > span:last-child { grid-column: 3; grid-row: 1; }
  .timeline li { grid-template-columns: 1fr; gap: 8px; padding-left: 24px; padding-bottom: 28px; }
  .timeline li::before { left: -5px; top: 4px; }
  .timeline li:not(:last-child)::after { left: 1px; top: 10px; }
  .timeline time { font-size: 8px; }
  .timeline p { font-size: 13px; }
  .reading-list strong { font-size: 16px; }
  .source-list li { grid-template-columns: 20px minmax(0, 1fr); gap: 10px; }
  .source-title { font-size: 12px; }
  .closing { padding: 30px 26px; flex-direction: column; align-items: stretch; gap: 24px; }
  .closing h2 { font-size: 36px; }
  .closing-links { width: 100%; }
  .site-footer { flex-wrap: wrap; gap: 20px; }
  .site-footer p { order: 3; width: 100%; text-align: left; font-size: 9px; }
  .site-footer > a { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  :root { background: white; color: black; }
  .site-header, .sidebar, .hero .button, .hero-secondary, .closing, .reading-progress, .skip-link, .backlinks { display: none; }
  .page-shell { max-width: none; padding: 0; }
  .hero { padding: 0 0 20px; gap: 30px; }
  h1 { font-size: 60px; }
  .portrait { max-width: 200px; transform: none; }
  .wiki-layout { display: block; padding-top: 30px; }
  .chapter { margin-bottom: 20px; padding-bottom: 20px; }
  h2, h3 { break-after: avoid; }
  .project-card, .timeline li, .source-list li, .milestone-card { break-inside: avoid; }
  .chapter p { font-size: 11pt; }
  .milestone-card { background: white; color: black; border: 1px solid #ccc; }
  .milestone-card * { color: black !important; }
  .source-title::after { content: ' (' attr(href) ')'; font-weight: 400; font-size: 8pt; overflow-wrap: anywhere; }
}
