@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/project-media/instrument-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/project-media/instrument-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/project-media/instrument-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/project-media/instrument-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --ink: #183a30;
    --muted: #4c6359;
    --paper: #f5f5eb;
    --white: #fffef9;
    --line: #ccd5c9;
    --forest: #143e33;
    --accent: #cde49e;
    --gutter: clamp(20px, 5vw, 108px);
    --serif: 'Instrument Serif', Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--ui-font); }
h1, h2, h3, p, fieldset, figure, ul, dl, dd { margin: 0; }
fieldset { padding: 0; min-inline-size: 0; border: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #a15312; outline-offset: 4px; }
.skip, .sr { position: absolute; overflow: hidden; width: 1px; height: 1px; padding: 0; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { top: 12px; left: var(--gutter); width: auto; height: auto; clip-path: none; padding: 10px 16px; z-index: 2; background: white; }
.site-head, .foot { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; padding: 1.05rem var(--gutter); }
.site-head { justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.35rem; line-height: 1.2; font-weight: 720; letter-spacing: -.055em; text-decoration: none; }
.brand-symbol { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--forest); color: white; }
.site-head nav { display: flex; gap: clamp(1rem, 2.6vw, 3rem); }
.site-head nav a, .foot a:not(.wordmark) { text-decoration: none; font-size: .9rem; font-weight: 550; }
.site-head nav a:hover, .foot a:hover { text-decoration: underline; }
.entry, .primary, .text-link { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; font-size: .95rem; font-weight: 630; text-decoration: none; }
.entry, .primary { border-radius: 6px; padding: .7rem 1.15rem; }
.entry { border: 1px solid #8c9d8d; }
.entry:hover { background: #e6ecd9; }
.primary { background: var(--forest); color: white; border: 1px solid var(--forest); }
.primary:hover { background: #215948; }
.text-link { padding: .6rem .1rem; border-bottom: 1px solid #829588; }
.text-link:hover { color: #32673d; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 7rem); align-items: center; padding: clamp(38px, 4.5vw, 92px) var(--gutter); }
.hero-copy { min-width: 0; }
.eyeline { color: #51644d; text-transform: uppercase; font-size: .73rem; font-weight: 720; letter-spacing: .13em; }
h1, h2, .headline-stat strong { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(4.2rem, 7.55vw, 10.3rem); line-height: .96; letter-spacing: -.045em; margin: 1.2rem 0; }
h1 em { color: #486745; }
.intro { color: var(--muted); font-size: clamp(1.05rem, 1.17vw, 1.36rem); max-width: 43ch; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1.65rem; margin-top: clamp(1.4rem, 2.4vw, 2.8rem); }
.specimen { min-width: 0; padding: clamp(14px, 1.7vw, 32px); color: #e6eddc; background: var(--forest); border-radius: 16px; }
.figure-bar, .specimen figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; }
.figure-bar > span, .figure-key { font-size: .75rem; font-weight: 650; letter-spacing: .075em; }
.switch { display: inline-flex; padding: 3px; border: 1px solid #648478; border-radius: 6px; }
.switch label { padding: .24rem .65rem; font-size: .77rem; font-weight: 600; border-radius: 3px; cursor: pointer; }
#photo-orig:checked ~ .figure-bar [for="photo-orig"], #photo-overlay:checked ~ .figure-bar [for="photo-overlay"] { background: #d5e5bc; color: #173b32; }
#photo-orig:focus-visible ~ .figure-bar [for="photo-orig"], #photo-overlay:focus-visible ~ .figure-bar [for="photo-overlay"] { outline: 2px solid white; outline-offset: 3px; }
.specimen-field {
    display: grid; place-items: center; overflow: hidden; margin: 12px 0;
    padding: clamp(24px, 2vw, 42px) 18px;
    background-image: linear-gradient(#91b59717 1px, transparent 1px), linear-gradient(90deg, #91b59717 1px, transparent 1px);
    background-size: 24px 24px; background-position: center;
}
.plate { width: min(100%, clamp(200px, 23vw, 440px)); aspect-ratio: 1; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 1px #adcba58c, 0 0 0 8px #143e33, 0 0 0 9px #93b19b70; }
.plate img { width: 100%; height: 100%; object-fit: cover; }
#photo-orig:checked ~ .specimen-field .overlay, #photo-overlay:checked ~ .specimen-field .original { display: none; }
.specimen figcaption { padding-top: .7rem; border-top: 1px solid #58796a; font-size: .75rem; color: #cfddcc; }
.figure-key { display: inline-flex; align-items: center; gap: .6rem; letter-spacing: .015em; }
.figure-key::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.block { padding: clamp(44px, 5vw, 96px) var(--gutter); scroll-margin-top: 1rem; }
.methods, .results { background: var(--white); border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: end; margin-bottom: clamp(1.6rem, 2.5vw, 3rem); }
.section-head > p { max-width: 55ch; justify-self: end; }
.section-head > p, .method-grid p, .project-intro > p:not(.eyeline), .dataset > p, .more p, .references p { color: var(--muted); }
h2 { font-size: clamp(2.65rem, 4.05vw, 5.25rem); line-height: 1.03; letter-spacing: -.035em; margin-top: .55rem; text-wrap: balance; }
h3 { font-size: clamp(1.12rem, 1.35vw, 1.6rem); letter-spacing: -.025em; line-height: 1.23; }
.method-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 40px); }
.method-img { height: clamp(138px, 13vw, 260px); display: grid; place-items: center; border-radius: 8px; overflow: hidden; }
.method-img img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.method-img.light { background: #e5e5dc; }
.method-img.black { background: black; }
.method-img.matrix { background: #fff; border: 1px solid var(--line); }
.method-grid h3 { margin: 1.1rem 0 .6rem; }
.method-grid p, .analysis-band article p { font-size: .96rem; }
.analysis-band { display: grid; grid-template-columns: 1.12fr 1fr 1fr; gap: clamp(22px, 4vw, 88px); background: var(--forest); color: var(--white); }
.analysis-band .eyeline { color: var(--accent); }
.analysis-band h2 { max-width: 13ch; }
.analysis-band article { border-top: 1px solid #829687; padding-top: 1.15rem; }
.analysis-band article p { margin-top: .7rem; color: #d6e0d3; }
.validation { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(20px, 3vw, 64px); margin-bottom: 2rem; }
.headline-stat, .dataset { padding: clamp(22px, 2.7vw, 56px); border-radius: 10px; }
.headline-stat { background: #d9e8b9; display: flex; flex-direction: column; justify-content: center; }
.headline-stat strong { font-size: clamp(4.5rem, 7vw, 9rem); line-height: 1; letter-spacing: -.05em; }
.headline-stat strong span { font-size: .58em; }
.headline-stat p { font-weight: 620; margin: .65rem 0; }
.headline-stat small { font-size: .85rem; color: var(--muted); }
.dataset { border: 1px solid var(--line); }
.dataset p, .project-intro p:not(.eyeline), .more p { margin-top: .9rem; max-width: 70ch; }
.dataset table { margin-top: 1rem; border-collapse: collapse; width: 100%; text-align: left; font-variant-numeric: tabular-nums; }
.dataset th, .dataset td { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.dataset thead { font-size: .8rem; color: var(--muted); }
.dataset td, .dataset thead th:not(:first-child) { text-align: right; }
.more { padding: .95rem 0; border-top: 1px solid var(--line); }
.more:last-child { border-bottom: 1px solid var(--line); }
.more summary { cursor: pointer; font-weight: 620; }
.project { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 6vw, 9rem); align-items: start; border-block: 1px solid var(--line); }
.people { background: var(--white); padding: clamp(18px, 2vw, 38px); border-radius: 10px; border: 1px solid var(--line); }
.university { display: flex; gap: 1rem; align-items: center; font-weight: 630; text-decoration: none; }
.university:hover { text-decoration: underline; }
.university img { width: 60px; height: 60px; object-fit: contain; }
.people dl { margin-top: 1rem; }
.people dl div { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .25rem .8rem; padding: .6rem 0; border-top: 1px solid var(--line); }
.people dt { color: var(--muted); }
.people dd { font-weight: 600; }
.references { background: var(--white); }
.references h2 { margin: 0 0 1rem; font-size: clamp(2.1rem, 2.7vw, 3.2rem); }
.references ul { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: .9rem; }
.references a { font-size: .9rem; }
.foot { border-top: 1px solid var(--line); }
.foot .wordmark { margin-right: auto; }
@media (max-width: 1000px) {
    .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.4rem; }
    .method-img { height: clamp(160px, 21vw, 210px); }
    .analysis-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .analysis-lead { grid-column: 1 / -1; }
    .analysis-band h2 { max-width: none; }
}
@media (max-width: 740px) {
    .site-head { gap: .75rem; }
    .site-head nav { order: 3; width: 100%; justify-content: space-between; padding-top: .6rem; border-top: 1px solid var(--line); }
    .hero, .section-head, .validation, .project { grid-template-columns: minmax(0, 1fr); }
    .hero { gap: 2rem; }
    h1 { font-size: clamp(3.9rem, 13vw, 6.8rem); }
    .plate { width: min(82%, 310px); }
    .section-head { gap: 1rem; }
    .section-head > p { justify-self: start; }
    .project { gap: 1.75rem; }
}
@media (max-width: 510px) {
    .entry { padding: .58rem .7rem; font-size: .83rem; gap: .4rem; }
    .wordmark { font-size: 1.18rem; }
    .brand-symbol { width: 32px; height: 32px; }
    .method-grid, .analysis-band { grid-template-columns: minmax(0, 1fr); }
    .method-img { height: clamp(166px, 51vw, 225px); }
    .switch label { padding: .28rem .45rem; }
    .specimen-field { padding: 22px 10px; }
    .foot { align-items: start; flex-direction: column; gap: .65rem; }
}
