:root {
  --paper: #f9f9f3;
  --ink: #192d27;
  --muted: #4e6057;
  --hairline: #cbd2c6;
  --pine: #174d3f;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', 'Liberation Mono', monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
a:hover { color: var(--pine); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #b85d29; outline-offset: 4px; }
h1,h2,h3,h4,p,ol,figure { margin: 0; }
h1,h2,h3,h4 { font-weight: 400; }
button { font: inherit; }
.wrap { width: min(1280px, calc(100% - clamp(48px, 10vw, 160px))); margin: 0 auto; }
.skip { position: fixed; left: 20px; top: -100px; z-index: 9; background: white; padding: .8rem; }
.skip:focus { top: 1rem; }
.mast,.mast nav,.brand,.foot nav { display: flex; align-items: center; }
.mast { justify-content: space-between; min-height: 83px; border-bottom: 1px solid var(--hairline); gap: 1rem; }
.brand { gap: 12px; font: 500 1.37rem var(--serif); letter-spacing: -.035em; text-decoration: none; }
.seal { display: grid; place-items: center; background: var(--pine); color: #fffdf3; width: 37px; height: 37px; border-radius: 50%; font: italic 1.62rem var(--serif); letter-spacing: -.13em; padding: 0 5px 3px 0; }
.mast nav { gap: clamp(1rem,3vw,2.3rem); }
.mast nav a,.foot nav a { font-size: .92rem; text-decoration: none; }
.mast nav a:hover,.foot nav a:hover { text-decoration: underline; }
.nav-contact { border-left: 1px solid var(--hairline); padding-left: clamp(1rem,3vw,2.3rem); }
.hero { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: clamp(30px,6.7vw,105px); padding: clamp(46px,5.4vw,82px) 0 clamp(52px,5.3vw,84px); }
.eyebrow,.kicker,.tag,.plate-header,.location { font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .1em; }
.eyebrow,.kicker,.tag,.plate-header { text-transform: uppercase; }
.eyebrow,.kicker,.tag { color: var(--pine); }
.intro .eyebrow { display: flex; align-items: center; gap: 10px; }
.rule-mark { width: 25px; height: 2px; background: #bd6739; }
h1 { font: 400 clamp(5rem,7.85vw,7.9rem)/.84 var(--serif); letter-spacing: -.074em; margin: 28px 0 28px -.052em; }
h1 em { font-weight: 400; color: var(--pine); }
.lead { max-width: 29rem; color: #344a40; font-size: clamp(1.05rem,1.5vw,1.38rem); line-height: 1.48; letter-spacing: -.023em; }
.actions { margin-top: 1.9rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.button,.underlink,.source { font-weight: 550; font-size: .96rem; }
.button { padding: .75rem 1.35rem; color: white; background: var(--pine); border-radius: 3px; text-decoration: none; }
.button:hover { color: white; background: #0c362b; }
.plate { min-width: 0; position: relative; background: #102d2b; color: #ecfff0; border-radius: 4px; }
.plate-header { position: absolute; top: 19px; inset-inline: 23px; display: flex; justify-content: space-between; z-index: 1; font-size: .76rem; letter-spacing: .12em; color: #cbe2d3; }
.plate img { display: block; width: 100%; height: auto; border-radius: 4px 4px 0 0; }
.plate figcaption { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .85rem 1.45rem; border-top: 1px solid #44625c; font: 1.1rem var(--serif); }
.plate details { font: .82rem var(--sans); }
.plate summary { cursor: pointer; color: #c6e2d1; text-decoration: underline; text-underline-offset: .2em; }
.figure-note { position: absolute; inset-inline: 12px; bottom: 53px; padding: 1rem; background: #f1f5eb; box-shadow: 0 .5rem 2rem #081d1650; color: var(--ink); line-height: 1.5; z-index: 2; }
.figure-note a { display: inline-block; margin-top: .5rem; }
.section { border-top: 1px solid var(--hairline); padding: clamp(32px,3.6vw,58px) 0 clamp(50px,6vw,90px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.25rem; margin-bottom: 1.85rem; }
.kicker { margin-bottom: .6rem; }
h2 { font: clamp(2.42rem,4.2vw,4rem)/1.06 var(--serif); letter-spacing: -.055em; }
.featured { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px,5vw,85px); padding: clamp(24px,3.5vw,54px); background: #e6ede2; border: 1px solid #c8d4c3; border-radius: 4px; }
.feature-copy { align-self: center; }
.feature-copy h3 { margin: .85rem 0; font: clamp(2.6rem,4.6vw,4.6rem)/.98 var(--serif); letter-spacing: -.055em; }
.feature-copy > p:not(.eyebrow),.work-list article div p,.research-grid article > p:last-child,.section-intro { color: var(--muted); }
.feature-copy > p:not(.eyebrow) { max-width: 28rem; }
.feature-copy > a { display: inline-block; margin-top: 1.3rem; }
.experiment { padding: clamp(16px,2.3vw,32px); background: #fafbf5; border: 1px solid #c6d2c6; border-radius: 2px; }
.trace-heading,.budget,.trace li { display: flex; align-items: center; }
.trace-heading,.budget { justify-content: space-between; gap: .4rem; }
.trace-heading h4 { font: 1.55rem var(--serif); letter-spacing: -.03em; }
.trace-heading code,.budget>span { font-size: .8rem; color: #4c6156; }
.trace { margin: 1rem 0; padding: 0; list-style: none; }
.trace li { padding: .26rem .65rem; gap: 1rem; border-left: 2px solid transparent; }
.trace li span,.trace code,.trace-heading code,.budget button { font-family: var(--mono); }
.trace li span { color: #5e7267; font-size: .8rem; }
.trace .current { background: #dceade; color: #174632; border-left-color: var(--pine); }
.trace .beyond { color: #627068; }
.budget[hidden] { display: none; }
.budget div { display: flex; gap: 3px; }
.budget button { background: transparent; color: var(--pine); width: 32px; height: 32px; border: 1px solid #afbfaf; border-radius: 2px; cursor: pointer; }
.budget button[aria-pressed=true] { background: #214e3d; color: white; }
#trace-result { color: var(--muted); font-size: .85rem; margin-top: .65rem; }
.work-list { margin-top: 1rem; }
.work-list article { display: grid; grid-template-columns: .7fr 2fr .7fr; align-items: baseline; gap: 2rem; border-bottom: 1px solid var(--hairline); padding: 1.65rem 0; }
.work-list h3,.research-grid h3 { font: clamp(1.55rem,2.35vw,2.1rem)/1.16 var(--serif); letter-spacing: -.035em; margin-bottom: .45rem; }
.work-list h3 a,.research-grid h3 a { text-decoration: none; }
.work-list h3 a:hover,.research-grid h3 a:hover { text-decoration: underline; }
.source { justify-self: end; text-align: right; }
.notebook { background: #eef1e9; border-block: 1px solid var(--hairline); padding: clamp(45px,6vw,90px) 0; }
.notebook .section-head { margin-bottom: 1rem; }
.section-intro { font-size: 1.1rem; }
.research-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 2rem; }
.research-grid article { border-top: 1px solid #b9c8b7; padding: 1.55rem 9% 1.7rem 0; }
.research-grid article:nth-child(even) { padding-right: 0; padding-left: 5%; }
.research-grid .tag { margin-bottom: .7rem; }
.archive-links { display: flex; flex-wrap: wrap; gap: .6rem; border-top: 1px solid #b9c8b7; padding-top: 1.35rem; }
.archive-links a { padding: .52rem 1rem; border: 1px solid #a8baaa; text-decoration: none; border-radius: 3px; font-size: .95rem; }
.archive-links a:hover { background: #dfe9df; }
.correction { display: flex; align-items: baseline; gap: 1.4rem; margin-top: 1.55rem; }
.correction a { font-weight: 550; }
.correction p span { display: block; color: var(--muted); font-size: .94rem; }
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px,5vw,80px); padding-block: clamp(45px,7vw,100px); }
.about p+p { margin-top: 1rem; color: var(--muted); }
.about div:nth-child(2) { font-size: 1.14rem; max-width: 42rem; }
.foot { background: #15352d; color: #f5f6ed; }
.foot>.wrap,.foot nav { display: flex; align-items: center; justify-content: space-between; gap: 1.8rem; }
.foot>.wrap { padding-block: 29px; }
.signature { font: italic 1.6rem var(--serif); display: block; }
.location { color: #c7d7cc; }
.foot nav a:hover { color: white; }
@media(max-width: 820px) {
  .wrap { width: calc(100% - 48px); }
  .hero { gap: 24px; grid-template-columns: .94fr 1.06fr; }
  h1 { font-size: clamp(4.2rem,9vw,5.7rem); }
  .work-list article { grid-template-columns: 1fr 2.8fr; gap: .35rem 1.2rem; }
  .source { grid-column: 2; justify-self: start; }
  .featured { gap: 20px; }
}
@media(max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .mast { min-height: 68px; }
  .brand { gap: 6px; }
  .brand>span:last-child { display: none; }
  .mast nav { gap: clamp(.65rem,4vw,1.35rem); }
  .mast nav a { font-size: .87rem; }
  .nav-contact { padding-left: .8rem; }
  .hero,.featured,.about { grid-template-columns: 1fr; }
  .hero { padding-top: 41px; gap: 32px; padding-bottom: 35px; }
  h1 { font-size: clamp(4.5rem,16vw,6.3rem); margin: 21px 0; }
  .lead { max-width: 31rem; font-size: 1.12rem; }
  .actions { margin-top: 1.4rem; gap: 1.15rem; }
  .plate-header { inset-inline: 15px; top: 12px; }
  .plate figcaption { padding: .7rem .9rem; }
  .section-head { align-items: start; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.2rem; }
  .featured { padding: 19px; }
  .feature-copy h3 br { display: none; }
  .work-list article { display: block; padding: 1.3rem 0; }
  .work-list .tag { margin-bottom: .5rem; }
  .source { display: inline-block; margin-top: .5rem; }
  .research-grid { grid-template-columns: 1fr; }
  .research-grid article,.research-grid article:nth-child(even) { padding: 1.2rem 0; }
  .correction { display: block; }
  .correction p { margin-top: .35rem; }
  .foot>.wrap { flex-wrap: wrap; gap: 1rem; }
}
@media(prefers-reduced-motion:no-preference) { html { scroll-behavior: smooth; } }
@media print { .mast,.actions,.foot nav,.budget,.figure-note { display: none; } .wrap { width: 95%; } .hero,.featured,.work-list article,.research-grid article { break-inside: avoid; } }
