/* Layout enhancements and interactions. No framework or network dependency. */
:root{--u:min(1px,calc(100vw / 1920));--cream:#fefaef;--green:#004433;--purple:#291146;--gold:#ebab00;--mist:#dae2e4;--lavender:#9982b4;--lilac:#e7deef;--muted:#64756c;--header-height:calc(119 * var(--u));--nav-height:calc(85 * var(--u));--scroll-offset:calc(224 * var(--u))}
*{box-sizing:border-box}html{scroll-behavior:auto;scroll-padding-top:0}body{margin:0;background:var(--cream);color:var(--green);font:400 calc(22 * var(--u))/1.6 Montserrat,sans-serif;-webkit-font-smoothing:antialiased}p,h1,h2,h3,h4,figure{margin:0}h1,h2,h3{font-weight:400}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer;background:none;border:0;text-align:inherit}button,a{-webkit-tap-highlight-color:transparent}button:not(:disabled),a{touch-action:manipulation}img{display:block}video{display:block;width:100%;height:100%;object-fit:cover}a,button{transition:background-color .2s,color .2s,box-shadow .2s,transform .2s}a:hover,button:hover{filter:brightness(.97)}a:focus-visible,button:focus-visible,video:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--gold);outline-offset:5px}a[href^="#"]{scroll-margin-top:var(--scroll-offset)}[hidden]{display:none!important}.heading-line{display:block}.page-shell{width:100%;height:auto;max-width:1920px;margin:0 auto;isolation:isolate}.page-shell>section{scroll-margin-top:var(--scroll-offset)}.site-header{position:fixed!important;z-index:40;top:0!important;left:50%!important;right:auto!important;transform:translateX(-50%);width:calc(1920 * var(--u))!important;height:var(--header-height)}.site-header>div{width:100%}.site-header .brand:hover{color:var(--cream)}.contents-nav{position:fixed!important;z-index:35;top:var(--header-height)!important;left:50%!important;right:auto!important;transform:translateX(-50%);width:calc(1920 * var(--u))!important;border-bottom:1px solid rgba(0,68,51,.09);box-shadow:0 4px 16px #29114605}.contents-nav a{white-space:nowrap}.contents-nav a[aria-current="location"]{background:var(--green);color:var(--cream)}.contents-nav a[aria-current="location"] p{color:inherit}.brand{display:block}.image-slot{cursor:zoom-in}.image-slot img{pointer-events:auto}.field-gallery{scrollbar-width:thin;scrollbar-color:var(--lavender) transparent;scroll-snap-type:x mandatory;touch-action:pan-x pan-y;cursor:grab}.field-gallery.is-dragging{cursor:grabbing;user-select:none}.gallery-track>div{scroll-snap-align:start}.gallery-guidance button:disabled{opacity:.35;cursor:default}.film-player{cursor:auto;background:var(--purple)}.film-player video:fullscreen{object-fit:contain;background:#000}.chapter-heading{opacity:.9}a[data-name="Yaffa/Field artifact"]:hover{transform:translateY(-4px)}.breadcrumb a{text-decoration:underline;text-underline-offset:4px}.paper-section{overflow:visible}.paper-section p{overflow-wrap:anywhere}.paper-section>div[data-name^="Manuscript figure"]{cursor:zoom-in}.paper-section h3{scroll-margin-top:var(--scroll-offset)}.paper-tools{position:fixed;z-index:55;right:20px;top:calc(var(--header-height) + var(--nav-height) + 20px);font:400 12px/1.5 Montserrat,sans-serif;color:var(--green);max-width:calc(100vw - 24px)}.paper-tool-buttons{display:flex;gap:2px;padding:5px;border:1px solid #c7d0c6;border-radius:999px;background:var(--cream);box-shadow:0 4px 24px #29114615}.paper-tool-buttons button{display:flex;align-items:center;gap:6px;padding:9px 11px;border-radius:999px;white-space:nowrap}.paper-tool-buttons button:hover,.paper-tool-buttons button[aria-expanded="true"]{background:var(--lilac)}.paper-tool-buttons button>span:first-child{font:400 19px/1 Georgia,serif}.paper-toc-panel{position:absolute;right:0;top:54px;width:280px;max-height:calc(100dvh - 190px);overflow:auto;padding:22px;background:var(--cream);border:1px solid #c7d0c6;border-radius:18px;box-shadow:0 12px 42px #29114620}.paper-toc-panel .eyebrow{margin-bottom:12px}.paper-toc-panel a{display:block;padding:9px 10px;border-radius:8px}.paper-toc-panel a:hover,.paper-toc-panel a[aria-current="location"]{background:var(--lilac)}.print-hint{font-size:11px;color:var(--muted);margin-top:14px;padding-top:14px;border-top:1px solid #c7d0c6}.eyebrow{font-size:11px;font-weight:600;letter-spacing:.12em}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:8px;left:8px;z-index:100;background:var(--gold);color:var(--purple);padding:12px;border-radius:8px;transform:translateY(-160%);font-size:14px}.skip-link:focus{transform:none}.contact-dialog{border:1px solid #c7d0c6;border-radius:24px;background:var(--cream);color:var(--green);width:min(540px,calc(100vw - 32px));padding:40px;font:400 16px/1.7 Montserrat,sans-serif}.contact-dialog h2{font:400 36px/1.2 Fraunces,serif;margin:20px 0}.contact-dialog .pill{display:inline-block;margin-top:24px;background:var(--gold);border-radius:999px;padding:12px 20px;font-size:14px}.dialog-close{position:absolute;right:12px;top:10px;width:36px;height:36px;border-radius:50%;background:var(--cream);color:var(--green);font-size:26px;z-index:1}dialog::backdrop{background:#12091dc9;backdrop-filter:blur(4px)}.image-dialog{border:0;padding:44px 16px 16px;border-radius:16px;background:var(--cream);max-width:95vw;max-height:95dvh;color:var(--green);overflow:auto}.image-dialog>img{max-width:88vw;max-height:78dvh;width:auto;height:auto;object-fit:contain}.image-caption{font:400 12px/1.6 Montserrat,sans-serif;padding:12px 4px 0;max-width:80vw}.image-dialog .dialog-close{top:4px;right:6px}
/* Below the desktop breakpoint, content reflows rather than shrinking into a poster. */
.home-page .site-header>[data-name="Portfolio navigation"]{width:auto;flex:1;min-width:0}
@media(max-width:1000px){
 :root{--u:1px;--header-height:76px;--nav-height:56px;--scroll-offset:148px}
 body{font-size:16px;line-height:1.7}.page-shell{padding-top:var(--header-height)!important;overflow:hidden}.home-page .page-shell,.research-page .page-shell{padding-top:132px!important}
 .page-shell [data-layout]{width:100%;max-width:100%;min-width:0}.page-shell [data-layout="row"]{flex-direction:column;gap:28px}.page-shell [data-layout="column"]{gap:24px}.page-shell [data-layout]>p,.page-shell [data-layout]>h1,.page-shell [data-layout]>h2,.page-shell [data-layout]>h3{width:100%;max-width:100%;white-space:normal}
 .page-shell>div:not(.site-header):not(.contents-nav),.page-shell>section{width:100%;padding:56px 28px;gap:32px}.page-shell>footer{width:100%;padding:40px 28px;gap:24px}.page-shell>.hero{padding-top:48px!important}.page-shell>[data-name="Yaffa/Detail breadcrumb"]{padding:24px 28px 0;width:100%;gap:8px;flex-direction:row;flex-wrap:wrap}.breadcrumb p,.breadcrumb a p{font-size:12px;line-height:1.6}
 .page-shell [data-type="16"]{font-size:11px;line-height:1.6;letter-spacing:.08em}.page-shell [data-type="18"]{font-size:14px;line-height:1.7}.page-shell [data-type="22"]{font-size:17px;line-height:1.75}.page-shell [data-type="26"]{font-size:21px;line-height:1.4}.page-shell [data-type="32"]{font-size:29px;line-height:1.25}.page-shell [data-type="36"]{font-size:28px;line-height:1.2}.page-shell [data-type="48"]{font-size:36px;line-height:1.2}.page-shell [data-type="72"]{font-size:56px;line-height:1.1}.page-shell [data-type="80"],.page-shell [data-type="88"]{font-size:clamp(44px,7.5vw,68px);line-height:1.08}.page-shell h1 p,.page-shell h1 span,.page-shell [data-type="48"]>p,.page-shell [data-type="32"]>p{line-height:inherit}
 .page-shell .image-slot{width:100%;max-width:100%;height:auto;aspect-ratio:var(--image-ratio,4/3);min-width:0;border-radius:20px}.page-shell .image-slot img{width:100%;height:100%}.page-shell .hero .image-slot{max-height:620px}.page-shell .hero>div{width:100%;gap:24px}.page-shell [data-name="Start with the people"]{flex-direction:row;flex-wrap:wrap;gap:12px}.page-shell a[data-name="Yaffa/Button"],.page-shell button[data-name="Yaffa/Button"]{width:auto;max-width:100%;padding:13px 20px;gap:0}.page-shell [data-name="Yaffa/Button"] p{font-size:13px;line-height:1.6;white-space:normal}.page-shell [data-name="Yaffa/Button"] div{width:auto;line-height:1.6}
 .page-shell .site-header{width:100%!important;height:76px;padding:16px 24px;flex-direction:row;gap:12px;overflow:visible}.page-shell .site-header>div{flex-direction:row;gap:12px;width:100%;padding:0;align-items:center}.page-shell .site-header [data-name="Portfolio navigation"],.page-shell .site-header [data-name="Detail navigation actions"]{width:auto;gap:8px;flex-direction:row;margin-left:auto}.page-shell .site-header .brand{font-size:26px;line-height:1.3}.page-shell .site-header a[data-name="Yaffa/Button"],.page-shell .site-header button[data-name="Yaffa/Button"]{padding:9px 13px}.page-shell .site-header [data-name="Yaffa/Button"] p{font-size:11px;line-height:1.4;white-space:nowrap}
 .page-shell .contents-nav{width:100%!important;height:56px;padding:8px 18px;display:block;overflow:auto;white-space:nowrap;scrollbar-width:none}.page-shell .contents-nav>div{display:flex;flex-direction:row;gap:6px;width:max-content;max-width:none}.page-shell .contents-nav a{flex-shrink:0;width:auto;padding:9px 13px}.page-shell .contents-nav a p{font-size:11px;line-height:1.8;white-space:nowrap}.page-shell .paper-contents>p{display:none}
 .page-shell .field-gallery{width:100%;height:auto;min-height:450px;overflow-x:auto;overflow-y:hidden;max-width:none}.page-shell .gallery-track{position:relative;display:flex;flex-direction:row;gap:20px;width:max-content;max-width:none}.page-shell .gallery-track>div{width:min(70vw,440px);max-width:none;gap:14px}.page-shell .gallery-track .image-slot{width:100%;height:330px;aspect-ratio:auto}.page-shell .gallery-guidance{display:flex;flex-direction:row;align-items:center;gap:16px}.page-shell .gallery-guidance>p{width:55%;font-size:10px}.page-shell [data-name="Gallery controls"]{display:flex;flex-direction:row;width:auto;gap:10px}.page-shell [data-name="Gallery controls"] button{width:44px;height:44px;padding:6px;display:grid;place-items:center}.page-shell [data-name="Gallery controls"] p{font-size:24px;line-height:1}
 .page-shell .film-card{padding:22px;gap:24px}.page-shell .film-player{width:100%;height:auto;aspect-ratio:16/9}.page-shell .film-card>div{width:100%}.page-shell [data-name="Yaffa/Activity step"]{flex-direction:row;gap:16px}.page-shell [data-name="Yaffa/Activity step"]>p{width:42px;flex:0 0 42px}.page-shell [data-name="Yaffa/Activity step"]>div{flex:1;width:calc(100% - 58px)}
 .page-shell [data-name*="illustration" i] img{object-fit:contain}.page-shell img[src$=".svg"]{max-width:100%;height:auto;position:relative}.page-shell [data-name*="illustration" i]{width:100%;height:auto;max-width:100%}.page-shell [data-name^="Manuscript figure"]{height:auto;aspect-ratio:var(--image-ratio);width:100%}.page-shell .paper-section{align-items:stretch;gap:20px}.page-shell .paper-section p{font-size:16px;line-height:1.8}.page-shell .paper-section h2{font-size:32px;line-height:1.25}.page-shell .paper-section h3{font-size:23px;line-height:1.35}.page-shell .paper-section [data-name*="Table"]{max-width:100%}.page-shell .paper-section .manuscript-table{overflow-x:auto}.page-shell .paper-section .manuscript-table [data-layout="row"]{flex-direction:row;gap:0;min-width:640px}.page-shell .paper-section .manuscript-table [data-layout="row"]>*{flex:1;min-width:100px;width:auto;font-size:12px;line-height:1.6}.page-shell .paper-section .manuscript-table [data-layout="column"]{gap:0}.page-shell [data-name="Research reader introduction"] h1{font-size:34px;line-height:1.2}
 .paper-tools{top:148px;right:12px}.paper-tool-buttons button{padding:8px 10px;font-size:11px}.paper-toc-panel{top:49px}.research-page [data-name="Research reader introduction"]{padding-top:84px!important}
}
@media(max-width:480px){.page-shell>div:not(.site-header):not(.contents-nav),.page-shell>section{padding:44px 20px}.page-shell>footer{padding:36px 20px}.page-shell .site-header{padding:16px}.page-shell>[data-name="Yaffa/Detail breadcrumb"]{padding:24px 20px 0}.page-shell .site-header [data-name="Yaffa/Button"] p{font-size:10px}.page-shell .site-header a[data-name="Yaffa/Button"]{padding:9px 10px}.page-shell .hero h1{font-size:45px}.page-shell [data-name="Start with the people"]{flex-direction:column;align-items:flex-start}.page-shell .hero .image-slot{aspect-ratio:1/1}.page-shell .gallery-track>div{width:78vw}.page-shell .gallery-track .image-slot{height:280px}.page-shell .field-gallery{min-height:410px}.contact-dialog{padding:32px 24px}.page-shell .chapter-heading{flex-direction:row;align-items:center;gap:16px}.page-shell .chapter-heading>p{width:auto;flex:0 0 auto;font-size:22px}.page-shell .chapter-heading>h2{font-size:26px}.page-shell .paper-section h2{font-size:29px}.research-page .page-shell [data-name="Research reader introduction"] h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
@page{size:A4;margin:18mm 16mm}
@media print{
 :root{--u:1px}html{scroll-behavior:auto}body{background:white!important;color:#111;font:10pt/1.5 Montserrat,sans-serif}.site-header,.contents-nav,.paper-tools,.skip-link,dialog,.breadcrumb,.page-shell>footer,[data-name="Continue exploring"],[data-name="Yaffa/Detail footer"]{display:none!important}.page-shell{padding:0!important;max-width:none;width:100%;overflow:visible!important;display:block!important}.page-shell>div,.page-shell>section{padding:0!important;margin:0 0 18pt!important;width:100%!important;max-width:none!important;background:white!important;display:block!important;color:#111!important}.research-page .page-shell{padding:0!important}.paper-section>*{width:100%!important;max-width:100%!important;color:#111!important}.paper-section p{font-size:10pt!important;line-height:1.55!important;margin:0 0 10pt!important;orphans:3;widows:3}.paper-section h2{font-size:18pt!important;line-height:1.2!important;margin:18pt 0 12pt!important;break-after:avoid}.paper-section h3{font-size:13pt!important;line-height:1.3!important;margin:14pt 0 8pt!important;break-after:avoid}.research-page h1{font:400 21pt/1.2 Fraunces,serif!important;margin:0 0 14pt!important;width:100%!important}.research-page [data-name="Research reader introduction"]>p{width:100%!important;font-size:10pt!important;line-height:1.4!important;margin:10pt 0!important}.research-page [data-name="Research reader introduction"]>a{display:none!important}.image-slot{max-width:100%!important;width:100%!important;height:auto!important;aspect-ratio:var(--image-ratio);break-inside:avoid}.image-slot img{object-fit:contain!important;width:100%!important;height:100%!important}.paper-section .manuscript-table{width:100%!important;max-width:100%!important;overflow:visible!important;display:block!important;break-inside:avoid;margin:12pt 0}.paper-section .manuscript-table [data-layout="row"]{display:flex!important;flex-direction:row!important;width:100%!important;min-width:0!important;gap:0!important}.paper-section .manuscript-table [data-layout="row"]>p{width:auto!important;flex:1!important;min-width:0!important;font-size:7pt!important;line-height:1.3!important;margin:0!important;padding:5pt!important}.paper-section .manuscript-table [data-layout="column"]{gap:0!important}.paper-section .manuscript-table>p{font-size:9pt!important}.paper-section [data-name^="Manuscript figure"]{margin:12pt 0!important;break-inside:avoid}.research-page .page-shell [data-type="16"]{font-size:9pt!important}a{color:inherit!important;text-decoration:none!important}*{-webkit-print-color-adjust:exact;print-color-adjust:exact;box-shadow:none!important}
}

/* Accessible data tables retain the Figma row colors and cell typography. */
.native-table{width:100%;border-collapse:collapse;table-layout:fixed}.native-table tr{display:table-row!important}.native-table td,.native-table th{display:table-cell!important;width:auto!important;vertical-align:top;padding:calc(16 * var(--u))}.native-table th{font-weight:600}.native-table td,.native-table th{overflow-wrap:anywhere}
@media(max-width:1000px){.manuscript-table>.native-table{min-width:680px}.native-table td,.native-table th{padding:12px!important;font-size:12px!important;line-height:1.6!important}}
@media print{
 .paper-section .manuscript-table{break-inside:auto}
 .paper-section .manuscript-table>.native-table{display:table!important;table-layout:fixed;min-width:0!important;width:100%!important}
 .paper-section .manuscript-table .native-table thead{display:table-header-group!important}
 .paper-section .manuscript-table .native-table tbody{display:table-row-group!important}
 .paper-section .manuscript-table .native-table tr[data-layout="row"]{display:table-row!important;min-width:0!important;break-inside:avoid}
 .paper-section .manuscript-table .native-table td,.paper-section .manuscript-table .native-table th{display:table-cell!important;min-width:0!important;padding:5pt!important;font-size:7pt!important;line-height:1.35!important}
}

@media(max-width:1000px){.page-shell .site-header{background:var(--purple)}.research-page .page-shell>.breadcrumb{padding-top:84px!important}.research-page .page-shell [data-name="Research reader introduction"]{padding-top:32px!important}}

.native-table th:first-child{text-align:left}.native-table tbody tr:not(:last-child){border-bottom:1px solid #c7d0c6}

@media(max-width:1000px){.page-shell div,.page-shell p,.page-shell h1,.page-shell h2,.page-shell h3,.page-shell a{max-width:100%;min-width:0}.page-shell p{white-space:normal}.page-shell .chapter-heading>h2{flex:1;width:auto!important}.page-shell .site-header p,.page-shell .contents-nav a p{white-space:nowrap}.page-shell .gallery-track{max-width:none}.page-shell .gallery-track>div{max-width:none}}

@media(max-width:1000px){.research-page{--scroll-offset:168px}}

/* Selection feedback follows the click immediately, independently of page travel. */
.contents-nav a,.contents-nav a p,.paper-toc-panel a{transition:none}.contents-nav a:not([aria-current="location"]):hover{background:#f1eee4}

/* Keep the expanded contents inside short viewports, including smaller phones. */
.paper-toc-panel{overscroll-behavior:contain;max-height:calc(100dvh - var(--header-height) - var(--nav-height) - 86px)}
@media(max-width:1000px){.paper-toc-panel{max-height:calc(100dvh - 209px)}}

/* Material detail buttons stay with their cards on every screen size. */
.page-shell .material-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:calc(24 * var(--u))}
.material-tile{display:flex;flex-direction:column;gap:calc(28 * var(--u));min-width:0}
.material-tile>.material-card{width:100%;max-width:100%;height:auto}
.page-shell .material-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-width:0;min-height:clamp(52px,calc(76 * var(--u)),76px);margin-top:auto;padding:clamp(12px,calc(18 * var(--u)),18px) clamp(18px,calc(24 * var(--u)),24px);border:1px solid var(--green);border-radius:999px;background:var(--green);color:var(--cream);font:600 clamp(14px,calc(20 * var(--u)),20px)/1.4 Montserrat,sans-serif;box-shadow:0 3px 0 #00443310}
.material-entry-label{min-width:0}
.material-entry-arrow{display:grid;place-items:center;flex:0 0 auto;width:clamp(28px,calc(40 * var(--u)),40px);height:clamp(28px,calc(40 * var(--u)),40px);border-radius:50%;background:var(--gold);color:var(--purple);font-size:clamp(19px,calc(26 * var(--u)),26px);line-height:1;transition:transform .2s,background-color .2s,color .2s}
.page-shell .material-entry:hover,.page-shell .material-entry:focus-visible{background:var(--gold);border-color:var(--gold);color:var(--purple);filter:none}
.material-entry:hover .material-entry-arrow,.material-entry:focus-visible .material-entry-arrow{background:var(--purple);color:var(--cream);transform:translateX(2px)}
.page-shell .material-entry:active{transform:translateY(1px);box-shadow:none}
@media(max-width:1000px){.page-shell .material-grid{grid-template-columns:1fr;gap:44px}.material-tile{gap:20px}.page-shell .material-entry{min-height:56px;padding:14px 18px;font-size:14px}.material-entry-arrow{width:28px;height:28px;font-size:20px}}
