:root{color-scheme:light;--ink:#1c3037;--olive:#526927;--paper:#fafaf4;--muted:#536064;--line:#d8dfd2;--pale:#edf2ea;--blue:#acc8d4;--display:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;--sans:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:75px}body{margin:0;color:var(--ink);background:var(--paper);font:16px/1.58 var(--sans);-webkit-font-smoothing:antialiased}a{color:inherit}a:focus-visible,button:focus-visible,summary:focus-visible,label:has(input:focus-visible){outline:3px solid #327898;outline-offset:4px}.wrap{width:min(1190px,calc(100% - clamp(40px,10vw,150px)));margin-inline:auto}.sr,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}.skip:focus{position:fixed;background:white;z-index:20;padding:12px}.nav,footer>.wrap{display:flex;align-items:center;justify-content:space-between;gap:16px}header{position:sticky;top:0;z-index:4;background:rgba(250,250,244,.97);border-bottom:1px solid var(--line)}.nav{height:66px}.brand{display:inline-flex;align-items:center;gap:9px;font-family:var(--display);font-size:24px;font-weight:bold;text-decoration:none;letter-spacing:-1px}.brand img{border-radius:50%;width:32px;height:32px}.nav nav{display:flex;gap:clamp(15px,2.7vw,40px)}nav a,footer a{text-decoration:none;font-size:14px;font-weight:580}nav a:hover,footer a:hover,.text-link:hover{color:var(--olive);text-decoration:underline;text-underline-offset:4px}
.hero {
  --logo-olive:#606f11;
  --ink:#343629;
  --olive:var(--logo-olive);
  background:linear-gradient(116deg,#fcfaf1 25%,#f8f0d9 100%);
  color:var(--ink);
  border-bottom:1px solid #e2deca;
}
.hero .wordmark {color:var(--logo-olive)}
.hero .primary {background:#535f23;border-color:#535f23}
.hero .primary:hover {background:#424d18;color:#fff}
.hero .secondary {border-color:#bbb99d}
.hero-grid{display:grid;grid-template-columns:1.22fr .78fr;gap:clamp(30px,5vw,82px);align-items:center;padding-block:clamp(50px,6.2vw,94px)}.kicker{display:flex;align-items:center;gap:12px;font:650 12px/1.35 var(--sans);text-transform:uppercase;letter-spacing:.16em;color:var(--olive);margin:0 0 18px}h1,h2,h3,p,figure{margin:0}h1,h2,.subtitle,.loops h3{font-family:var(--display);font-weight:500}h1{font-size:clamp(64px,7.4vw,112px);line-height:1;letter-spacing:-.065em;margin-left:-.045em}.subtitle{font-size:clamp(23px,2.35vw,37px);line-height:1.18;letter-spacing:-.033em;margin:16px 0 28px;text-wrap:balance}.subtitle span{display:block}.subtitle em{color:var(--olive);white-space:nowrap}.actions{display:flex;gap:12px;margin-top:28px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:11px 19px;border:1px solid var(--ink);border-radius:7px;text-decoration:none;font-weight:600;font-size:15px}.primary{background:var(--ink);color:white}.secondary{background:transparent;border-color:#a8b4a6}.button:hover{background:#e4ead8;color:var(--ink)}
.art{justify-self:center;width:min(100%,405px);padding:11px;background:#fffdf2;border:1px solid #d6d9c7;transform:rotate(2deg);box-shadow:4px 8px 0 #dfe5d5,0 14px 32px #35423313}.art img{width:100%;height:auto;display:block}.summary{display:grid;grid-template-columns:.85fr 1.15fr;gap:8%;align-items:center;padding-block:clamp(43px,5vw,73px)}h2{font-size:clamp(34px,3.8vw,60px);line-height:1.04;letter-spacing:-.045em}.summary h2{font-size:clamp(30px,3.0vw,45px)}.summary p,.section-intro>p:not(.kicker),.section-heading>p,.loops article>p:last-child,.measurement{color:var(--muted)}.summary p{font-size:18px;line-height:1.6}.band{background:var(--pale);border-block:1px solid var(--line)}.split{display:grid;grid-template-columns:.7fr 1.3fr;gap:7%;align-items:center;padding-block:clamp(50px,6vw,82px)}.section-intro>p:not(.kicker){margin:20px 0}.text-link{font-size:14px;font-weight:600;text-underline-offset:4px}.video-frame{background:#142833;border:1px solid #b9c8bd;border-radius:10px;overflow:hidden;box-shadow:0 9px 24px #152e240d}.video-frame video{display:block;width:100%;height:auto;max-height:500px;background:#172632}.section{padding-block:clamp(55px,6.4vw,92px)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:6%;margin-bottom:30px}.section-heading h2{max-width:620px}.section-heading>p{max-width:405px;margin-bottom:2px}.section .kicker{margin-bottom:11px}figure{background:#fff;border:1px solid var(--line);border-radius:10px;padding:clamp(12px,2.4vw,34px)}.figure-link img{display:block;width:100%;height:auto}figcaption{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-top:16px;padding-top:14px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}.loops{display:grid;grid-template-columns:1fr 1fr;gap:7%;margin-top:31px}.loops h3{font-size:28px;line-height:1.2;letter-spacing:-.025em;margin-bottom:9px}.results{background:#eff3f3}.results .section-heading strong{color:var(--ink)}.plot{background:#fff;border:1px solid #ccdad6;padding:clamp(18px,2.6vw,36px);border-radius:10px}.plot-head{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--line);padding-bottom:19px}.key,.key span{display:flex;align-items:center;gap:8px}.key{gap:17px;font-size:14px}.key i{width:12px;height:12px;border-radius:2px;background:var(--blue)}.key span+span i{background:#587142}fieldset{display:flex;border-radius:8px;background:#eaf0ec;padding:3px;border:0;margin:0}fieldset label{padding:5px 13px;font-size:14px;font-weight:650;cursor:pointer;position:relative;border-radius:5px}fieldset label:has(:checked){color:white;background:var(--ink)}fieldset input{opacity:0;position:absolute;inset:0;margin:0;width:100%;cursor:pointer}details{border-bottom:1px solid #c9d6d3;padding:18px 0}summary{cursor:pointer;font-weight:600;width:fit-content}.measurement{font-size:14px;margin-top:14px;max-width:850px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}caption{text-align:left;color:var(--muted);padding:14px 0}td,th{padding:10px 12px;border-bottom:1px solid var(--line);text-align:right}th:first-child{text-align:left}thead{background:#dde8e6}
.citation{display:grid;grid-template-columns:.55fr 1.45fr;gap:6%}.bib{background:#eff0e8;min-width:0;border-radius:8px;padding:20px 23px}.bib-top{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:650;color:var(--muted)}.bib button{margin-left:auto;cursor:pointer;border:1px solid #a9b6a3;border-radius:5px;background:transparent;color:var(--ink);padding:6px 10px;font:inherit}.bib button:hover{background:white}#copy-status:empty{display:none}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.55 ui-monospace,Menlo,Consolas,monospace;margin:15px 0 0}footer{border-top:1px solid var(--line);padding:23px 0}footer .brand{font-size:21px}
@media(max-width:790px){.hero-grid{gap:26px;grid-template-columns:1.15fr .85fr}.hero-grid h1{font-size:clamp(56px,8.2vw,75px)}.section-heading{display:block}.section-heading>p{margin-top:14px;max-width:650px}.split{grid-template-columns:.8fr 1.2fr;gap:5%}.citation{grid-template-columns:1fr;gap:20px}}
@media(max-width:620px){.nav{height:56px}.nav nav{gap:13px}.nav nav a{font-size:13px}.brand{font-size:20px;gap:5px}.brand img{width:23px;height:23px}.hero-grid{grid-template-columns:1fr;padding-block:37px 32px;gap:29px}.hero-grid h1{font-size:clamp(59px,13vw,80px)}.subtitle{margin:12px 0 19px;font-size:clamp(23px,5.7vw,30px)}.subtitle span{display:inline}.art{width:min(75%,285px);padding:7px}.actions{margin-top:20px}.summary,.split,.loops{grid-template-columns:1fr;gap:20px}.summary p{font-size:16px}.section-intro br{display:none}.section-intro>p:not(.kicker){margin:12px 0}.loops{gap:24px}.section-heading{margin-bottom:22px}figcaption{align-items:start}.plot-head{flex-wrap:wrap}.key{gap:10px}.key span{gap:5px}.button{padding:10px 15px}footer>.wrap{gap:10px;flex-wrap:wrap}}
@media(max-width:360px){.brand img{display:none}.nav nav{gap:9px}.wrap{width:calc(100% - 28px)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Paired benchmark scores */
.results .plot {padding:clamp(16px,2.4vw,30px);border-radius:16px;box-shadow:0 8px 26px #213b3408}
.plot-controls {display:flex;align-items:center;gap:16px}
#replay {padding:8px 12px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);font:600 14px var(--sans);cursor:pointer}
#replay:hover {background:var(--pale)}
.key i {border-radius:2px;width:10px;height:10px;background:#89a9ba}
#scores {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(10px,1.6vw,24px);margin-top:20px}
#scores article {min-width:0;padding:18px 14px 10px;border:1px solid #dce3da;border-radius:10px;background:linear-gradient(145deg,#f4f7ee,#fff 68%)}
#scores h3 {font:600 clamp(16px,1.3vw,21px)/1.3 var(--sans)}
.difference {margin:5px 0 0;color:#47652e;font:500 clamp(29px,3vw,46px)/1.15 var(--display);letter-spacing:-.045em;font-variant-numeric:lining-nums tabular-nums}
.difference small {font:550 14px var(--sans);letter-spacing:0}
#scores svg {display:block;width:100%;overflow:visible;font-family:var(--sans)}
.score-grid path {fill:none;stroke:#dbe2dd;stroke-width:1;stroke-dasharray:2 4}
.score-grid text,.unit,.method-label {fill:#586762;font-size:12px}
.score-grid text {text-anchor:end}
.score-grid path:first-child {stroke:#b4c3ba;stroke-dasharray:none}
.method-label,.bar-value {text-anchor:middle}
.bar-value {fill:var(--ink);font-size:15px;font-weight:650;font-variant-numeric:tabular-nums}
.guided .bar-value {fill:#3f5f2a}
.score-bar {transform-box:fill-box;transform-origin:center bottom}
.vanilla .score-bar {fill:#89a9ba}
.guided .score-bar {fill:#587542}
@media (prefers-reduced-motion:no-preference) {
  #scores article:not(.revealed) .score-bar {transform:scaleY(0)}
  #scores article:not(.revealed) :is(.bar-value,.difference) {opacity:0}
  .revealed .score-bar {animation:grow-bar .88s cubic-bezier(.22,.68,.2,1) both}
  .revealed .guided .score-bar {animation-delay:.23s}
  .revealed .bar-value {animation:reveal-score .3s .62s both}
  .revealed :is(.guided .bar-value,.difference) {animation:reveal-score .3s .93s both}
  @keyframes grow-bar {from{transform:scaleY(0)}to{transform:scaleY(1)}}
  @keyframes reveal-score {from{opacity:0}to{opacity:1}}
}
@media (max-width:800px) {
  #scores {grid-template-columns:1fr}
  #scores article {display:grid;grid-template-columns:minmax(90px,.8fr) minmax(170px,1.8fr);column-gap:16px;align-content:center;padding:14px 18px}
  #scores h3 {align-self:end}
  #scores svg {grid-column:2;grid-row:1 / 3;max-height:185px}
}
@media (max-width:520px) {
  .plot-controls {gap:8px}
  #scores article {display:block;padding:14px}
  #scores svg {max-height:205px}
}
@media (prefers-reduced-motion:reduce),print {#replay{display:none}}

.title-stage {position:relative;isolation:isolate}
.wordmark-baseline {display:inline-block;width:0;height:0}
.title-particles {position:absolute;inset:-9px -8px;width:calc(100% + 16px);height:calc(100% + 18px);pointer-events:none}

.hero .actions {flex-wrap:wrap;gap:9px}
.hero .button {padding-inline:15px}
.button-icon {display:block;flex:none;width:18px;height:18px}
.hero .primary .button-icon {width:20px;height:20px;padding:2px;object-fit:contain;background:#fff;border-radius:3px}
.title-replay {position:absolute;inset:0;width:100%;border:0;border-radius:6px;background:transparent;cursor:pointer}
.title-replay:focus-visible {outline-offset:2px}
@media(max-width:620px){.hero .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:340px}.hero .button{padding-inline:7px}}

.skills-section {background:#f5f4e9;border-top:1px solid #dedfcf}
@media(max-width:420px){.nav nav{gap:8px}.nav .brand{font-size:17px}.nav{gap:8px}.nav nav a{font-size:12px}}
.skill-row + .skill-row {margin-top:26px}
.skill-row>h3 {display:flex;align-items:center;gap:16px;margin-bottom:10px;color:#4f5d36;font:600 15px var(--sans)}
.skill-row>h3::after {content:"";height:1px;background:#d6dac7;flex:1}
.skill-grid,.paper-panels {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}
.skill-tile {border:1px solid #d9d9c5;border-radius:12px;padding:0;background:#fffdf6;overflow:hidden}
.skill-tile summary {display:grid;grid-template-columns:38% 1fr;position:relative;align-items:center;gap:clamp(12px,1.3vw,22px);width:100%;min-height:115px;padding:12px 23px 12px 12px;list-style:none;color:#343a28}
.skill-tile summary::-webkit-details-marker {display:none}
.skill-tile summary::after {content:"+";position:absolute;right:10px;bottom:4px;color:#63733c;font-size:18px}
.skill-tile[open] summary::after {content:"−"}
.skill-tile summary:hover,.skill-tile[open] summary {background:#f7f1e1}
.skill-tile summary:focus-visible {outline-offset:-4px}
.skill-drawing {display:block;width:100%;aspect-ratio:1;background-image:url("assets/skills/illustrations.jpg");background-size:300% 300%;background-position:var(--x) var(--y);border-radius:7px}
.tile-title,.paper-panel h4 {font:550 clamp(20px,1.65vw,27px)/1.12 var(--display);letter-spacing:-.025em}
.skill-tile[open] {border-color:#b9c3a1}
.skill-reading {padding:19px clamp(14px,1.5vw,22px) 16px;border-top:1px solid #e2e3d3}
.skill-reading>p {line-height:1.65;color:#374035}
.skill-reading mark {color:#35421d;background:linear-gradient(transparent 42%,#e6edbb 42%);font-weight:620;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.skill-excerpt {margin:16px 0;padding:12px 15px 14px;border:0;border-left:3px solid #b19b59;border-radius:0 8px 8px 0;background:#f7f1e1}
.skill-excerpt figcaption {display:block;margin:0 0 5px;padding:0;border:0;color:#706039;font:650 12px/1.4 var(--sans);letter-spacing:.03em}
.skill-excerpt blockquote {margin:0;color:#443e2d;font:italic 18px/1.45 var(--display)}
.skill-links {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;border-top:1px solid #e3e5d8;padding-top:12px}
.skill-file,.paper-panel code {font:13px/1.5 ui-monospace,Menlo,monospace;color:#516529;overflow-wrap:anywhere}
.skill-file {display:inline-flex;align-items:center;gap:7px;max-width:100%;text-decoration:none}
.skill-file::before {content:"";width:10px;height:13px;border:1.4px solid currentColor;border-radius:2px;flex:none;background:linear-gradient(currentColor,currentColor) 2px 4px/5px 1px no-repeat,linear-gradient(currentColor,currentColor) 2px 7px/4px 1px no-repeat}
.skill-file:hover {text-decoration:underline;text-underline-offset:3px}
.skill-links .text-link {font-size:13px}
.skill-source {margin-top:15px}
.paper-cases {margin-top:clamp(36px,5vw,65px)}
.case-heading {display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:17px;flex-wrap:wrap}
.case-heading h3 {font:500 clamp(27px,3vw,42px)/1.1 var(--display);letter-spacing:-.035em}
.paper-panel {border:1px solid #d4d9c9;border-radius:12px;background:#fffef9;padding:clamp(14px,1.7vw,24px);scroll-margin-top:85px}
.paper-panel h4 {margin:0 0 4px}
.case-image {cursor:zoom-in;display:block;margin:14px 0;background:#fff;border-radius:6px;border:1px solid #e9ebe1;padding:8px}
.case-image img {display:block;width:100%;height:auto;object-fit:contain}
.paper-panel details {padding:0;border:0}
.paper-panel details p {padding-block:9px}
@media (min-width:701px) and (max-width:920px){.skill-tile summary{grid-template-columns:1fr;align-content:start;gap:10px;min-height:170px}.skill-drawing{width:84px}.tile-title{font-size:20px}}
@media (max-width:700px){.skill-grid,.paper-panels{grid-template-columns:1fr;gap:10px}.skill-tile summary{grid-template-columns:78px 1fr;min-height:0;padding:8px 24px 8px 8px}.tile-title{font-size:22px}.paper-panel{max-width:100%}}

html:has(#figure-preview[open]) {overflow:hidden}
#figure-preview {width:min(630px,calc(100% - 20px));max-width:none;max-height:92vh;max-height:92dvh;margin:auto;padding:0;color:var(--ink);background:white;border:1px solid #cbd3bf;border-radius:12px;overflow:hidden;box-shadow:0 18px 65px #17241c44}
#figure-preview[open] {display:flex;flex-direction:column}
#figure-preview::backdrop {background:rgb(24 32 25 / 70%)}
.preview-toolbar {flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 14px;background:#faf9f0;border-bottom:1px solid var(--line)}
.preview-toolbar h2 {font:600 17px/1.3 var(--sans);letter-spacing:0}
.preview-toolbar button {cursor:pointer;min-height:42px;border:1px solid #bcc7ac;border-radius:7px;background:#fffef9;color:var(--ink);font:600 14px var(--sans);padding:0 12px}
.preview-toolbar button span {margin-left:4px;font-size:18px}
.preview-image {min-height:0;overflow:auto;overscroll-behavior:contain;padding:8px}
.preview-image img {display:block;width:100%;height:auto}
