/* The type sits on the imagery. A narrow halo keeps its edges legible at campus scale. */
.stage::before,.shade{display:none}
.stage{--type-shadow:0 1px 2px #00152b,0 2px 7px #00152b,0 3px 18px #00152bbb}
.stage header{color:#f8f9ee;background:linear-gradient(105deg,#002855 2%,#063b67 53%,#195574 88%,#46657a);border:0;border-bottom:1px solid #8bc0d899}
.stage header::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:linear-gradient(90deg,#eaaa00,transparent 43%,#9ddae6)}
.stage .identity small{color:#c2e5ec}
.stage header nav>a,.profile-menu summary{color:#e8f5fa}
.stage header .cv{color:#ffe49a;border-color:#eaaa0099}
.stage header nav>a:not(.cv),.profile-menu summary{background:linear-gradient(95deg,#eaaa00,#9ddae6) left bottom/0 2px no-repeat;text-decoration:none;transition:background-size .25s ease,color .2s}
.stage header nav>a:hover,.stage header nav>a:focus-visible,.profile-menu summary:hover,.profile-menu summary:focus-visible{background-size:100% 2px;color:white}
.stage .intro{display:grid;justify-items:start;row-gap:clamp(.5rem,1.35svh,1rem);color:#fff;text-shadow:var(--type-shadow);width:43vw}
@media(min-width:701px) and (min-height:501px) and (max-height:800px){.stage .intro{top:50%;row-gap:clamp(.45rem,1.15svh,.8rem)}}
.stage .intro #role{color:#ffe497;border:0;padding:0;margin:0;text-transform:uppercase;font:650 clamp(.85rem,1vw,1.05rem)/1.45 var(--display);letter-spacing:.075em}
.stage .intro h1,.stage[data-step="0"] .intro h1{font:750 clamp(3.3rem,min(5vw,9svh),6rem)/.98 var(--display);letter-spacing:-.058em;text-transform:uppercase;max-width:13ch;margin:clamp(.85rem,2svh,1.45rem) 0 0;color:#fff9e6}
.stage[data-step="0"] .intro h1{font-size:clamp(5rem,min(9vw,16svh),10rem);max-width:5ch}
.stage .intro h1 span{color:#eaaa00}
.stage .intro #sub{font:italic clamp(1.12rem,min(1.6vw,3.6svh),1.68rem)/1.35 Georgia,serif;max-width:32ch;text-wrap:pretty;color:#bbebf3;margin:clamp(1rem,2.4svh,1.85rem) 0 clamp(1.25rem,3.25svh,2.4rem)}
.stage .intro #proof{color:#ffe8a4;background:transparent;border:0;border-bottom:2px solid #eaaa00;padding:.26rem 0;font-weight:650}
.stage .cover-index a,.stage .controls #jump{color:white;text-shadow:var(--type-shadow)}
.stage .cover-index a:hover{color:#9ddae6}.stage #arrow{border-color:#f7f7f7}
.stage #chapters{background:linear-gradient(105deg,#002855,#164e70)}
#notebook{padding:clamp(2.5rem,5vw,6rem) 5vw;background:#f5f5f0;color:#002855}
.collection-head,.archives,.lead-story,.portal-grid{max-width:1600px;margin-inline:auto}
.collection-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;padding:0 0 1.4rem}
.collection-head h2{font:500 clamp(2.7rem,5.5vw,6.6rem)/1 var(--display);letter-spacing:-.07em}
.collection-head h2 span{color:#a57200}.collection-head>a,.archives a{font-weight:650;font-size:.88rem}
.lead-story,.portal{color:inherit;text-decoration:none;display:block}
.lead-story{display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);align-items:center;background:#002855;color:white;position:relative;overflow:hidden}
.lead-copy{padding:clamp(1.8rem,3.5vw,4rem)}
.discipline{font:650 .77rem/1.4 var(--display);letter-spacing:.035em}
.lead-copy .discipline{color:#ffcf54}
.lead-copy h3{font:500 clamp(2.6rem,4.8vw,6rem)/.96 var(--display);letter-spacing:-.06em;margin:1rem 0}
.lead-copy p,.portal-caption p{font-size:clamp(.94rem,1.15vw,1.15rem);line-height:1.5}
.lead-copy p{max-width:43ch;color:#d3e8f4}
.lead-copy strong{display:inline-block;color:#ffd35e;margin:.3rem 0;border-bottom:1px solid #eaaa00;padding-bottom:.2em}
.project-image{margin:0;align-self:stretch;display:grid;align-content:center;padding:7% 5%;background-color:#154a69;background-image:linear-gradient(135deg,#28678388,transparent 62%),repeating-linear-gradient(0deg,transparent 0 23px,#9ddae618 23px 24px),repeating-linear-gradient(90deg,transparent 0 23px,#9ddae618 23px 24px);overflow:hidden}
.project-image img{width:100%;height:auto;box-shadow:0 12px 26px #00132950}
.project-image figcaption{display:flex;justify-content:space-between;color:#deedf4;margin-top:.7rem;font:.73rem var(--display)}
.portal-grid{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:clamp(1.1rem,2.4vw,2.8rem);padding:clamp(1.5rem,3vw,3.4rem) 0}
.portal figure{margin:0;height:clamp(170px,16.5vw,300px);overflow:hidden;position:relative;display:flex;align-items:center;justify-content:center}
.studio-plate{background:radial-gradient(ellipse at 38% 42%,#205472,#051c36);gap:0}
.stack-print{width:68%;height:100%;object-fit:contain;margin-left:-5%}
.studio-print{height:84%;width:auto;box-shadow:0 4px 13px #0006}
.chart-plate{background:#d2e2e6}.teaching-plate{background:#efe5c6}
.chart-plate img{max-width:88%;max-height:85%;width:auto;height:auto;object-fit:contain;box-shadow:0 5px 12px #0028551a}
.portal-caption{padding:.95rem 1.5rem 0 0;position:relative}
.portal-caption .discipline{color:#32596f}
.portal-caption h3{font:600 clamp(1.5rem,2vw,2.6rem)/1.05 var(--display);letter-spacing:-.045em;margin:.42rem 0}
.portal-caption p{color:#354852;margin:.35rem 0;max-width:40ch}
.portal-caption b{position:absolute;right:.1rem;top:1.2rem;font-size:1.2rem}
.archives{border-block:1px solid #95a9b3;padding:.85rem 0;display:flex;gap:.65rem 1.5rem;flex-wrap:wrap;justify-content:flex-start}
.archives span{margin-right:auto;font:600 .82rem var(--display)}
@media(prefers-reduced-motion:no-preference){
 .portal img,.project-image img,.portal-caption b{transition:transform .45s cubic-bezier(.2,.7,.2,1)}
 .portal:is(:hover,:focus-visible) img,.lead-story:is(:hover,:focus-visible) img{transform:translateY(-3px) scale(1.025)}
 .portal:is(:hover,:focus-visible) b{transform:translate(3px,-3px)}
 .works .sample img{transition:transform .35s ease}.works article:hover .sample img{transform:scale(1.035)}
}
@media(max-width:700px){
 .stage .intro{width:90vw;row-gap:clamp(.35rem,1svh,.65rem)}.stage .intro #role{font-size:.76rem}
 .stage .intro h1,.stage[data-step="0"] .intro h1{max-width:none;font-size:clamp(1.8rem,7vw,3.3rem);margin:.65rem 0 0}
 .stage[data-step="0"] .intro h1{font-size:clamp(2.7rem,11vw,4.4rem)}
 .stage .intro #sub{font-size:clamp(.98rem,3.8vw,1.17rem);line-height:1.35;margin:.7rem 0 1.1rem;max-width:35ch}
 .stage .intro #proof{font-size:.85rem}.stage .cover-index{margin-top:.55rem}
 .collection-head{align-items:start;flex-direction:column;gap:.5rem}
 .lead-story{grid-template-columns:1fr}.lead-copy{padding:1.5rem}.lead-copy h3{margin:.6rem 0}.lead-copy p{margin:.6rem 0}
 .project-image{padding:1rem 6%}.project-image img{max-height:250px;object-fit:contain;box-shadow:none}
 .portal-grid{grid-template-columns:1fr}.portal{display:grid;grid-template-columns:minmax(100px,.74fr) 1.26fr;gap:1rem;align-items:center}
 .portal figure{height:135px}.portal-caption{padding:.2rem 0}.portal-caption b{display:none}.portal-caption h3{font-size:1.36rem}.portal-caption p{font-size:.87rem}
 .archives span{width:100%;margin:0}.archives{gap:.6rem 1rem}
}
@media(max-height:500px) and (orientation:landscape){
 .stage .intro{width:48vw;top:47%;transform:translateY(-50%);row-gap:.4rem}.stage .intro h1,.stage[data-step="0"] .intro h1{font-size:2.35rem;max-width:18ch;margin:.45rem 0 0}.stage .intro #sub{font-size:.95rem;margin:.6rem 0 .8rem;line-height:1.35}.stage .intro #role{font-size:.7rem}
}

/* Professional record */
.profile-sheet,.career,.bibliography{padding:clamp(2.8rem,5.3vw,6rem) 5vw}
.profile-sheet{display:grid;grid-template-columns:minmax(185px,.65fr) minmax(0,1.55fr);gap:clamp(1.8rem,4vw,5rem) 6%;background:#e7eff0;color:#002855;color-scheme:light;align-items:center}
.profile-portrait{position:relative;margin:0 0 .65rem .65rem}
.profile-portrait::before{content:"";position:absolute;inset:.65rem .65rem -.65rem -.65rem;border:2px solid #a37300}
.profile-portrait img{display:block;position:relative;width:100%;height:auto;aspect-ratio:1.13;object-fit:cover;object-position:50% 40%}
.profile-story h2,.education-strip>h3{font:650 .86rem/1.4 var(--display);letter-spacing:.05em;margin:0 0 .7rem}
.profile-story h3{font:500 clamp(3rem,5.7vw,7rem)/.96 Georgia,serif;letter-spacing:-.067em}
.profile-story h3 span{font-size:.46em;letter-spacing:-.025em}.profile-story .native-name{color:#345971;letter-spacing:.17em;margin:.5rem 0 1.15rem}
.profile-story .bio-lead{font:500 clamp(1.2rem,1.65vw,1.8rem)/1.34 var(--display);max-width:51ch}
.profile-story p:not(.native-name):not(.bio-lead){font:1rem/1.5 "Segoe UI",Arial,sans-serif;max-width:70ch;color:#213d50}
.profile-story .bio-links a{font-weight:650;color:#00487e}
.education-strip{grid-column:1/-1;border-top:1px solid #8ea7b0;padding-top:1.1rem}
.education-strip .record-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem}
.education-strip .record-list li{display:block;border:0;padding:0 .9rem 0 0}
.education-strip li+li{border-left:1px solid #aebdc2!important;padding-left:1.3rem!important}
.education-strip time,.tenure{display:block;font:600 .82rem/1.4 var(--display);font-variant-numeric:tabular-nums}
.education-strip time{margin-bottom:.4rem;color:#365267}
.career{color:#f7f7ed;background:linear-gradient(118deg,#002855 5%,#083555 76%,#103f58);color-scheme:dark}
.career-head,.bibliography>div:first-child{display:flex;justify-content:space-between;align-items:baseline;gap:1rem}
.career-head h2{font:500 clamp(2.7rem,5.7vw,6.6rem)/1 var(--display);letter-spacing:-.07em}
.career-head h2 span{color:#eaaa00}.career-head>a{color:#fed467;font-size:.95rem;font-weight:600}
.career-axis{position:relative;margin:clamp(1.2rem,2vw,2.3rem) 0 .5rem 45%;height:1.3rem;color:#bbd8e5;font:.78rem/1.3 var(--display)}
.career-axis span{position:absolute;transform:translateX(-50%)}
.career-axis span:first-child{left:0;transform:none}.career-axis span:nth-child(2){left:25%}.career-axis span:nth-child(3){left:50%}.career-axis span:nth-child(4){left:75%}.career-axis span:last-child{right:0;transform:none;color:#ffd04f}
.career-roles{margin:0;padding:0;list-style:none}
.career-roles li{display:grid;grid-template-columns:41% 55%;gap:4%;border-top:1px solid #587589;align-items:stretch}
.career-details{padding:.95rem 0 1.05rem}
.career-details .tenure{color:#afd7e3;margin-bottom:.3rem}
.career-details h3{font:600 clamp(1.15rem,1.8vw,1.95rem)/1.14 var(--display);letter-spacing:-.025em}
.career-details p{margin:.22rem 0 0;color:#c9dce8;font-size:.91rem}
.career-roles li:first-child .tenure{color:#ffd34e}
.track{align-self:stretch;position:relative;border-right:1px solid #7397ac44;background:repeating-linear-gradient(to right,#85aabd44 0 1px,transparent 1px 25%)}
.track i{position:absolute;left:var(--start);width:var(--duration);top:50%;height:4px;background:#9ddae6;transform-origin:left center}
.track i::before,.track i::after{content:"";position:absolute;top:50%;width:8px;height:8px;transform:translate(-50%,-50%);border-radius:50%;background:inherit}
.track i::after{left:100%}.career-roles li:first-child .track i{background:#eaaa00}
.career-roles li:first-child .track i::after{width:14px;height:14px;background:transparent;border:2px solid #eaaa00}
.career-roles li:nth-child(2) .track i::before{border-radius:0;transform:translate(-50%,-50%) rotate(45deg)}
.career-roles li:nth-child(2) .track i::after{display:none}
.bibliography #pub-title{font:500 clamp(2.7rem,5.7vw,6.6rem)/1 Georgia,serif;letter-spacing:-.07em}
.bibliography{font:1rem/1.5 "Segoe UI",Arial,sans-serif;display:block;background:#f7f7f2;color:#002855}
.bibliography>div:first-child{margin-bottom:clamp(1.7rem,3vw,3rem)}
.bibliography .scholar-link{margin:0;font-weight:650;font-size:.93rem}
.bibliography .pub-year{grid-template-columns:minmax(4rem,.22fr) minmax(0,1fr);gap:3%;border-top:1px solid #8a9baa;padding:1.25rem 0 .5rem}
.bibliography .pub-year h3{font:500 clamp(1.65rem,3vw,3.4rem)/1 Georgia,serif;color:#4b657b;letter-spacing:-.055em;margin:0}
.bibliography .pub-year li{margin:0 0 .78rem;padding:0 0 .8rem}
.bibliography .pub-year li:last-child{border-bottom:0;margin-bottom:0}
.bibliography .pub-year li>a{font:500 clamp(1.2rem,1.68vw,1.8rem)/1.26 Georgia,serif;text-decoration:none}
.bibliography .pub-year li>a:is(:hover,:focus-visible){text-decoration:underline;text-decoration-thickness:1px}
.bibliography #papers>.pub-year:first-child{border-top:3px solid #eaaa00}
.bibliography .pub-year p{color:#425367}
.older-pubs{border-block:1px solid #8a9baa}
.older-pubs summary{padding:.85rem .15rem;color:#003962}.older-pubs summary span{margin-left:.8rem;font:500 .81rem "Courier New",monospace;color:#4c6573}
@font-face{font-family:PortfolioIcons;src:url("portfolio/profile-links.woff2") format("woff2");font-display:swap}
footer{border-top:4px solid #eaaa00;background:#002855}
.footer-icons{display:flex;gap:clamp(.7rem,1.7vw,1.7rem);flex-wrap:wrap}
.footer-icons a{display:grid;justify-items:center;gap:.4rem;min-width:44px;font-size:.77rem}
.footer-icons i{font:normal 1.35rem PortfolioIcons;display:grid;place-items:center;width:44px;height:44px;border:1px solid #83aabe;border-radius:50%;color:#ffd24f;transition:background .2s,color .2s,transform .2s}
.footer-icons a:is(:hover,:focus-visible) i{background:#eaaa00;color:#002855;transform:translateY(-2px)}
.footer-links a{text-decoration:underline}
.works article.river-story{grid-template-columns:minmax(0,.73fr) minmax(0,1.12fr);grid-template-rows:auto auto auto auto}
.works .river-story>.sample{display:none}
.works .river-story>.medium,.works .river-story>h3,.works .river-story>p:not(.medium),.works .river-story>a{grid-column:1;grid-row:auto}
.river-method{margin:0;grid-column:2;grid-row:1/5;align-self:center;width:100%}
.river-method img{width:100%;display:block;height:auto}
.river-method figcaption{margin:.5rem 0 0;color:#40576b;font:.77rem/1.3 var(--display)}
@supports (animation-timeline:view()){
 @media(prefers-reduced-motion:no-preference){
  .track i{animation:show-tenure linear both;animation-timeline:view(block);animation-range:entry 0% entry 95%}
  @keyframes show-tenure{from{transform:scaleX(.12)}to{transform:scaleX(1)}}
 }
}
@media(max-width:700px){
 .profile-sheet{grid-template-columns:minmax(0,1fr);gap:1.4rem}
 .profile-portrait{width:min(58%,230px)}
 .education-strip .record-list{display:block}.education-strip .record-list li{padding:.65rem 0!important;border:0!important;border-top:1px solid #bbcbd2!important}
 .career-axis{display:none}.career-head{margin-bottom:1.8rem}
 .career-roles li{display:block;position:relative;border:0;padding-left:1.7rem}
 .career-roles li::before{content:"";position:absolute;left:5px;top:0;bottom:0;width:2px;background:#7895a5}
 .career-roles li:last-child::before{height:1.2rem}
 .career-roles li::after{content:"";position:absolute;left:0;top:.94rem;width:12px;height:12px;border:2px solid #a1d8e3;border-radius:50%;background:#083555;box-sizing:border-box}
 .career-roles li:first-child::after{background:#eaaa00;border-color:#eaaa00}.track{display:none}
 .career-details{padding:.75rem 0 1rem;border-top:1px solid #5b778a}
 .bibliography>div:first-child{display:block}.bibliography .scholar-link{margin-top:.55rem}
 .bibliography .pub-year{grid-template-columns:1fr;gap:.7rem}
 .older-pubs summary span{display:inline-block}
 .works article.river-story{display:block}.works .river-story>h3{margin:.35rem 0 .65rem}
 .works .river-story>a{display:inline-block;margin:.5rem 0 .85rem}.river-method figcaption{font-size:.72rem}
}
@media(prefers-reduced-motion:reduce){.footer-icons i{transition:none}.footer-icons a:is(:hover,:focus-visible) i{transform:none}}
@font-face{font-family:"Kaushan Script";src:url("portfolio/yalin-signature.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Montserrat;src:url("portfolio/montserrat-latin.woff2") format("woff2");font-weight:400 700;font-display:swap}
:root{scroll-padding-top:68px}
.skip:focus{z-index:12}
.masthead{position:fixed;z-index:9;top:0;inset-inline:0;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.15rem 5vw;background:transparent;border:0;color:white;text-shadow:0 1px 6px #141414}
.signature{font:400 clamp(1.65rem,2.5vw,2.55rem)/1.25 "Kaushan Script",cursive;color:#ffce49;white-space:nowrap;text-decoration:none}
.masthead.scrolled,.masthead:has(.menu-toggle[aria-expanded=true]){background:linear-gradient(100deg,#18191b,#21252b 76%,#17232f);box-shadow:0 1px 0 #ffffff26}
.masthead.scrolled{padding-block:.55rem}.masthead.scrolled .signature{font-size:1.6rem}
#site-menu{display:flex;gap:clamp(.45rem,1.2vw,1.5rem);align-items:center}
#site-menu a,.menu-toggle{font:600 clamp(.72rem,.83vw,.9rem)/1.3 var(--display);letter-spacing:.075em;text-transform:uppercase}
#site-menu a{display:inline-block;padding:.65rem .2rem;color:#fff;text-decoration:none;background:linear-gradient(90deg,#eaaa00,#ffdc73) left bottom / 0 2px no-repeat}
#site-menu a:is(:hover,:focus-visible,[aria-current]){color:#ffda78;background-size:100% 2px}
.menu-toggle{display:flex;align-items:center;gap:.65rem;padding:.6rem .8rem;min-height:42px;border:0;border-radius:3px;background:#eaaa00;color:#002855}
.menu-toggle[hidden]{display:none}.menu-toggle i{width:14px;height:10px;border-block:2px solid currentColor;display:grid;align-items:center}.menu-toggle i::after{content:"";height:2px;background:currentColor}
.stage .intro h1,.stage[data-step="0"] .intro h1{font-family:var(--display);font-weight:700;letter-spacing:-.058em}
.stage .intro #role{font-family:var(--display);font-weight:600}
.intro-actions{display:flex;align-items:center;column-gap:clamp(1.5rem,2.5vw,2.75rem)}
.stage .intro #proof{background:#eaaa00;border:0;color:#002855;text-shadow:none;padding:.72rem 1rem;border-radius:2px;font:700 .88rem var(--display)}
.stage .intro #proof:hover{background:#ffd058}
.stage .intro .resume{background:transparent;color:white;border:0;padding:.55rem 0;font:600 .86rem var(--display);text-decoration:underline}
.contact-band{padding:clamp(2.3rem,4.4vw,5rem) 5vw;display:flex;align-items:end;justify-content:space-between;gap:1.5rem;background:#002855;color:#fff}
.contact-band h2 span{color:#eaaa00}.contact-band address{margin:0}
.site-footer{border:0;display:block;text-align:center;background:#fafaf6;color:#28323b;padding:1.3rem 5vw .8rem;color-scheme:light}
.footer-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:2rem;max-width:1200px;margin:auto;font:500 .82rem var(--display)}
.footer-row .footer-icons{align-items:start;gap:1rem}
.footer-row .footer-icons a{color:#344550;font-family:var(--display);text-decoration:none}
.footer-row .footer-icons i{color:white;background:#222;border:none}
.footer-row .footer-icons a:is(:hover,:focus-visible) i{background:#eaaa00;color:#002855}
.site-footer>small{display:block;font-size:.72rem;color:#596875;margin-top:.8rem}
@media(max-width:980px){
 .masthead{padding:.45rem 5vw}.masthead.scrolled{padding-block:.45rem}
 .masthead.enhanced #site-menu{display:none}
 .masthead.enhanced .menu-toggle[aria-expanded=true]+#site-menu{display:grid;grid-template-columns:1fr 1fr;gap:.25rem .75rem;position:absolute;inset:100% 0 auto;padding:.5rem 5vw 1rem;background:#202429;border-top:1px solid #475058;max-height:calc(100dvh - 60px);overflow:auto}
 #site-menu a{padding:.85rem .5rem}.masthead:not(.enhanced){position:static;background:#202429;flex-wrap:wrap}.masthead:not(.enhanced) #site-menu{flex-wrap:wrap}
}
@media(max-width:700px){
 .stage .intro{top:max(73px,11svh)}.stage .intro #proof{padding:.6rem .85rem;font-size:.8rem}
 .contact-band{align-items:start;flex-direction:column}
 .footer-row{grid-template-columns:1fr;gap:.65rem;justify-items:center}
 .footer-row .footer-icons{grid-row:1}.footer-row>span:last-child{font-size:.73rem}
}
@media(max-height:500px) and (orientation:landscape){.stage .intro{top:49%}}
@media(prefers-reduced-motion:no-preference){
 .masthead,.signature{transition:padding .25s ease,font-size .25s ease,box-shadow .25s ease}
 #site-menu a{transition:background-size .2s ease,color .2s ease}
 @keyframes unfold-menu{from{opacity:.6;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
 .menu-toggle[aria-expanded=true]+#site-menu{animation:unfold-menu .18s ease-out}
}
@media(prefers-reduced-motion:no-preference){html:focus-within{scroll-behavior:smooth}}

/* Product plate and the two shelves share the same image and caption rhythm. */
#notebook #work{padding:0;background:none;color:inherit}
#notebook .lead-story{grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr)}
.lead-copy h3{font:650 clamp(2rem,3.35vw,4.2rem)/1.05 var(--display);letter-spacing:-.055em}
/* A static example of the path from statewide geography to one county report. */
.product-link{display:inline-block;color:#ffda73;font:650 .96rem var(--display);text-underline-offset:.25em}
.county-guide{margin:0;padding:clamp(1.3rem,2.4vw,3rem);background:#eaf0eb;color:#002855;align-self:stretch;display:flex;flex-direction:column;justify-content:center}
.county-guide figcaption{font:550 clamp(1.45rem,2.3vw,2.6rem)/1.12 var(--display);letter-spacing:-.035em;max-width:28ch}
.county-steps{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);margin:1.1rem 0 .7rem;padding:0;list-style:none;border-block:1px solid #9caeb4}
.county-steps li{padding:1rem 0}.county-steps h4{font:650 .85rem/1.45 var(--display);margin:0;color:#14415c}
.county-steps h4 span{font:.72rem var(--display);color:#475b64;margin-right:.25rem}
.county-steps img{display:block;width:100%;height:auto}
.county-steps li:nth-child(2){border-left:1px solid #aabbbd;padding-left:clamp(.6rem,1.4vw,1.5rem)}
.county-steps strong{font:650 clamp(2.3rem,4.1vw,4.8rem)/1 var(--display);letter-spacing:-.075em;display:block;margin:.7rem 0 .3rem}
.county-steps p{font-size:.9rem;line-height:1.35;margin:0}.county-steps .county-share{margin-top:.7rem;padding-top:.5rem;border-top:2px solid #eaaa00;color:#394d59}
.county-steps li:last-child{grid-column:1/-1;padding:.75rem 0;border-top:1px solid #aabbbd;display:flex;justify-content:space-between;align-items:baseline;gap:.5rem;flex-wrap:wrap}
.county-steps a{font:650 .86rem/1.4 var(--display);text-underline-offset:.22em}
.county-guide small{font:.69rem/1.45 var(--display);color:#465d68}
.contact-footer a:hover,.contact-footer a:focus-visible{text-decoration:none}
.contact-footer a:focus-visible{outline:2px solid #eaaa00;outline-offset:4px}
.shelf-heading{margin:clamp(1.8rem,3.4vw,4.2rem) 0 0;padding-top:.8rem;border-top:1px solid #9aaab0;font:600 clamp(1.2rem,1.7vw,2rem)/1.2 var(--display);letter-spacing:-.035em}
#notebook .portal-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:1.15rem 0 .5rem}
#notebook .archives{margin-top:2.5rem}
.project-print{background:#dce7e9}
.project-print img{display:block;width:auto;height:auto;max-width:93%;max-height:87%;object-fit:contain}
#work article:nth-child(2) .project-print{background:#092d4a}
#work article:nth-child(3) .project-print{background:#e2e5dc}
.portal-caption h3{font-family:var(--display);font-weight:650;font-size:clamp(1.22rem,1.64vw,2rem);line-height:1.17;letter-spacing:-.046em}
@media(prefers-reduced-motion:no-preference){
 .product-link{transition:color .2s ease}.product-link:hover{color:white}
}
.career{background:#082c48}
.career-head{border-bottom:1px solid #628096;padding-bottom:1.2rem}
.appointment-line{display:grid;grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);column-gap:8%;margin-top:clamp(1.3rem,2.4vw,2.8rem)}
.appointment-line li{display:block;position:relative;grid-column:2;border:0;padding:0 0 0 1.65rem}
.appointment-line li::before{content:"";position:absolute;left:4px;top:0;bottom:0;width:1px;background:#7496a8}
.appointment-line li:nth-child(2)::before{top:.6rem}.appointment-line li:last-child::before{bottom:auto;height:.6rem}
.appointment-line li::after{content:"";position:absolute;top:.36rem;left:0;width:9px;height:9px;border:2px solid #a6d6e1;border-radius:50%;background:#082c48;box-sizing:border-box}
.appointment-line .career-details{border:0;padding:0 0 1.25rem}
.appointment-line li:last-child .career-details{padding-bottom:0}
.appointment-line .tenure{font-size:.8rem;letter-spacing:.025em}
.appointment-line h3{font:600 clamp(1.07rem,1.4vw,1.5rem)/1.2 var(--display);letter-spacing:-.032em}
.appointment-line li:first-child{grid-column:1;grid-row:1/5;padding:0}
.appointment-line li:first-child::before,.appointment-line li:first-child::after{display:none}
.appointment-line li:first-child .career-details{border-top:4px solid #eaaa00;padding:1.1rem 0 0}
.appointment-line li:first-child h3{font:500 clamp(2.3rem,3.7vw,4.5rem)/1.05 var(--display);letter-spacing:-.05em;margin:.65rem 0}
.appointment-line li:first-child p{max-width:37ch;font-size:1rem}
.contact-main h2{font-family:Georgia,serif}
.contact-footer{font-family:"Segoe UI",Arial,sans-serif;display:block;background:linear-gradient(112deg,#17232d,#082e4a);color:#f6f6ec;border-top:3px solid #eaaa00;padding:clamp(2rem,4.2vw,4.5rem) 5vw 1.15rem}
.contact-main,.contact-base{width:100%;max-width:1600px;margin:auto;display:flex;justify-content:space-between;gap:1.25rem}
.contact-main{align-items:start}.contact-main h2 span{color:#eaaa00}.contact-main .email{color:#ffda77}
.contact-profiles{display:grid;justify-items:end;gap:1rem}.contact-profiles address{text-align:right;margin:0}
.contact-footer .footer-icons{gap:clamp(.7rem,1.35vw,1.6rem)}
.contact-footer .footer-icons i{color:#fff;background:#1c2630;border:1px solid #7d99ac}
.contact-footer .footer-icons a:is(:hover,:focus-visible) i{color:#002855;background:#eaaa00}
.contact-base{margin-top:clamp(1.8rem,3vw,3rem);border-top:1px solid #647684;padding-top:1rem;align-items:baseline;color:#d4dee6;font-size:.8rem}
.contact-base small{font-size:inherit}
@media(max-width:700px){
 #notebook .lead-story,#notebook .portal-grid,.appointment-line{grid-template-columns:1fr}
 .county-guide{padding:1.15rem}.county-steps h4{font-size:.78rem}
 #notebook .portal{display:block}.portal figure{height:clamp(145px,49vw,240px)}
 .portal-caption{padding:.72rem 1.5rem .6rem 0}.portal-caption b{display:block}
 .portal-caption p{max-width:52ch}.shelf-heading{margin-top:1.6rem}
 .appointment-line li,.appointment-line li:first-child{grid-column:1;grid-row:auto}
 .appointment-line li:first-child{margin-bottom:1.55rem}
 .appointment-line li:first-child .career-details{border-top:0;padding:0 0 .1rem .95rem;border-left:4px solid #eaaa00}
 .appointment-line li:first-child h3{font-size:2.05rem}
 .contact-main,.contact-base{flex-direction:column}.contact-profiles{justify-items:start}.contact-profiles address{text-align:left}
 .contact-base{gap:.55rem}
}
/* Four equal stops let one indicator travel without measuring button widths. */
.stage #chapters{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:4px;width:min(25rem,100%);border:1px solid #a4c5d288;border-radius:999px;background:#10232ef2;box-shadow:0 4px 18px #0003}
.stage #chapters::before{content:"";position:absolute;z-index:-1;left:4px;top:4px;bottom:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#f1b62a;transform:translateX(calc(var(--chapter-index,0) * 100%))}
.stage #chapters button{border-radius:999px;min-height:44px;padding:.42rem .24rem;background:transparent;color:#e6f0f3;font:500 1rem/1.15 Georgia,serif;white-space:nowrap}
.stage #chapters button[aria-current]{color:#09283b;background:transparent;border-radius:999px}
.stage #chapters button:focus-visible{outline:2px solid white;outline-offset:-3px}
@media(prefers-reduced-motion:no-preference){
 .stage #chapters::before{transition:transform .44s cubic-bezier(.22,.84,.25,1)}
 .stage #chapters button{transition:color .18s ease}
}
#notebook .shelf-heading{font:500 clamp(1.65rem,2.6vw,3rem)/1.12 var(--display);letter-spacing:-.044em}
@media(max-width:700px){
 .stage #chapters{width:min(100%,23rem);margin-left:auto}
 .stage #chapters button{font-size:clamp(.78rem,3.45vw,.96rem)}
}

/* Project and notebook shelves share equal columns and image frames. */
.engineering-shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.8rem,1.8vw,2rem);padding:1.1rem 0 .35rem}
.engineering-shelf article{min-width:0}
.engineering-card{height:100%;display:flex;flex-direction:column;align-items:stretch;border-bottom:1px solid #99adb3;color:#17354a;text-decoration:none}
.engineering-card figure{margin:0}.engineering-plate{height:clamp(112px,11.5vw,178px);display:flex;align-items:center;justify-content:center;overflow:hidden;background:#132f39}
.engineering-plate img{display:block;width:100%;height:100%;object-fit:contain}
.image-pair{gap:.35rem;padding:.55rem}.image-pair img{width:40%;height:100%}.image-pair span{color:#ffd466;font-size:1.15rem}
.river-plate{background:#092d4a}.gps-plate{background:#142e42}
.engineering-type{margin:.85rem 0 .25rem;font:600 .72rem/1.3 var(--display);letter-spacing:.025em;color:#3e6478}
.engineering-card h4{font:500 clamp(1.3rem,1.8vw,2.1rem)/1.1 var(--display);letter-spacing:-.042em;margin:0 0 .8rem;color:#002855}


.engineering-link{margin-top:auto;padding:.35rem 0 .7rem;font:650 .81rem/1.3 var(--display);color:#003b60}
.engineering-card:is(:hover,:focus-visible) .engineering-link{color:#68500c;text-decoration:underline;text-underline-offset:.22em}
.engineering-card:focus-visible{outline:2px solid #00629b;outline-offset:2px}
@media(max-width:719px){
 .engineering-shelf{grid-template-columns:none;grid-auto-columns:min(83%,350px);grid-auto-flow:column;overflow-x:auto;scroll-snap-type:x proximity;gap:1rem;scroll-padding-inline:2px;padding-inline:2px;scrollbar-color:#79909a #e4e8e4}
 .engineering-shelf article{scroll-snap-align:start}
 .engineering-plate{height:clamp(105px,30vw,140px)}
 .engineering-card h4{font-size:1.45rem}
}

.engineering-card .card-summary{font:.96rem/1.5 var(--display);color:#344958;margin:0 0 1rem;max-width:48ch}
.portal-entry figcaption{padding-top:.8rem}
.portal-entry h4{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;margin-bottom:.45rem}
.portal-entry h4 span{font:500 1rem var(--display);color:#446575}
.portal-art img{max-height:90%;max-width:92%;width:auto}
.art-ai{background:radial-gradient(ellipse at center,#1e4b63,#082438)}
.art-notes{background:#d2e2e6}.art-teaching{background:#efe5c6}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .engineering-card{transition:transform .28s cubic-bezier(.2,.7,.25,1);transform-origin:center}
 .engineering-card:is(:hover,:focus-visible){transform:scale(1.025);position:relative;z-index:1}
 .engineering-plate img{transition:transform .35s cubic-bezier(.2,.7,.25,1)}
 .engineering-card:is(:hover,:focus-visible) .engineering-plate img{transform:scale(1.035)}
}

/* Reading layout: the type and navigation share a column over full-width artwork. */
:root {
  --page-gutter: clamp(5%, calc(65% - 36rem), 20%);
  --section-space: clamp(2.25rem, 3.6vw, 4rem);
  --body-size: clamp(1.0625rem, 1.25vw, 1.1875rem);
}

.masthead, .profile-sheet, .career, #notebook, .bibliography, .contact-footer {
  padding-inline: var(--page-gutter);
}
.profile-sheet, .career, #notebook, .bibliography {
  padding-block: var(--section-space);
}
.profile-sheet, .career, #notebook {
  font-size: var(--body-size);
  line-height: 1.55;
}
.stage .intro { left: var(--page-gutter); }
.stage .controls { inset-inline: var(--page-gutter); }
.collection-head, .career-head { padding-bottom: 1rem; }
.profile-sheet { row-gap: clamp(1.5rem, 2.5vw, 2.25rem); }
.appointment-line { column-gap: 5%; }
.career-details p, .lead-copy p, .engineering-card .card-summary,
.education-strip .record-list li {
  font-size: var(--body-size);
  line-height: 1.5;
}
.collection-head h2, .career-head h2 {
  font-size: clamp(2.4rem, 4.3vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -.055em;
}
#projects { container-type: inline-size; }
.lead-copy, .county-guide { padding: clamp(1.2rem, 3.5cqw, 2.5rem); }
.lead-copy h3 { font-size: clamp(2rem, 4.6cqw, 3.6rem); }
.county-guide figcaption { font-size: clamp(1.25rem, 2.65cqw, 2rem); }
.engineering-card h4 { font-weight: 600; }
.contact-base { flex-wrap: wrap; }

@media (min-width: 1100px) {
  .stage .intro { width: min(38vw, 42rem); }
  #site-menu { gap: clamp(.35rem, .7vw, .9rem); }
  #site-menu a { font-size: .8rem; letter-spacing: .035em; }
}
@media (max-width: 700px) {
  .career-head { flex-wrap: wrap; gap: .5rem 1rem; }
  .bibliography .pub-year { grid-template-columns: 1fr; }
}
