/* Shared editorial rhythm. Explanations own their visual language below. */
/* Short labels keep the project navigation useful on narrow screens. */
:root{--paper:#fcfdff;--ink:#1d2d40;--muted:#53637a;--line:#dbe3ef;--max:1320px}
.wrap{padding-inline:46px}.header-inner{height:74px}.header{background:#fcfdfff5}.nav{gap:24px}.nav a{font-size:14px}.wordmark-note{display:none}.home-hero{grid-template-columns:1fr 1.12fr;gap:65px;padding-top:62px;padding-bottom:64px;align-items:center}.home-introduction{font-size:15px;color:#52637d;margin:0 0 18px}.hero-copy h1{font:52px/1.08 var(--serif);letter-spacing:-.035em;margin:0 0 25px}.hero-copy h1 span{display:block;font-size:33px;letter-spacing:-.025em;margin-top:9px}.hero-statement{font:30px/1.3 var(--serif);letter-spacing:-.02em;max-width:18ch;margin:0 0 20px}.hero-copy .intro{font-size:16px;line-height:1.8;margin-bottom:15px;max-width:51ch}.hero-copy .social{margin-top:25px;font-size:14px;gap:22px}.recognition-links{display:flex;flex-wrap:wrap;gap:18px 25px;margin-top:30px;padding-top:22px;border-top:1px solid var(--line)}.recognition-links a{text-decoration:none;color:var(--muted);font-size:12px;display:flex;flex-direction:column;gap:5px;max-width:150px}.recognition-links strong{font-size:14px;color:#2b4f8d}.recognition-links a:hover strong{text-decoration:underline;text-underline-offset:4px}.section-title h2{font-size:40px;letter-spacing:-.03em}.section-title p{font-size:17px;line-height:1.75;max-width:66ch}.eyebrow{font-size:14px;text-transform:none;letter-spacing:.02em;font-weight:600}.accepted-work{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.accepted-work .feature-visual{height:190px}.accepted-work .feature-visual svg{padding:0}.accepted-work .feature-visual img{padding:12px}.accepted-work .feature-content{padding:24px}.accepted-work .project-short{font-size:28px;line-height:1.15}.accepted-work h3{font-size:17px;line-height:1.5;font-weight:550}.accepted-work .summary{font-size:15px;line-height:1.75}.accepted-work .authors{font-size:13px}.accepted-work .paper-links{gap:10px 16px;padding-top:12px}.visual-tag{font-size:12px;bottom:9px;left:12px;padding:4px 8px;background:#fffffff2}.feature-card{transition:border-color .2s;box-shadow:none!important}.feature-card:hover{transform:none;border-color:#9eb6d8}.experience-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 30px}.experience-card{border-radius:10px;overflow:hidden;background:white;border:1px solid var(--line);display:flex;flex-direction:column}.experience-art{display:block;position:relative;text-decoration:none;overflow:hidden}.experience-art .project-art{display:block;width:100%;height:auto}.experience-art>span{display:inline-block;position:absolute;bottom:13px;left:17px;color:#43556e;background:#ffffffee;border:1px solid #dbe3ee;padding:5px 9px;border-radius:4px;font-size:12px}.experience-copy{padding:28px 30px 31px;display:flex;flex-direction:column;flex:1}.experience-meta{display:flex;gap:15px;flex-wrap:wrap;align-items:center;font-size:14px;color:var(--accent);margin-bottom:16px}.experience-meta>span:first-child{font-weight:650}.experience-meta .status{font-size:12px;font-weight:400;padding:3px 7px}.experience-copy h3{font:31px/1.2 var(--serif);letter-spacing:-.025em;margin:0 0 17px;max-width:26ch}.experience-copy h3 a{color:var(--ink);text-decoration:none}.experience-copy h3 a:hover{text-decoration:underline;text-underline-offset:5px}.experience-copy>p{font-size:16px;line-height:1.75;color:var(--muted);max-width:49ch;margin:0 0 24px}.experience-link{font-size:15px;color:var(--accent);margin-top:auto;align-self:start}.research-library .paper-row{grid-template-columns:155px minmax(0,1fr);padding:27px 0}.paper-row h3{font-size:20px;line-height:1.45}.paper-row .summary{font-size:16px;line-height:1.7}.paper-row .authors{font-size:14px}.paper-row .paper-links{font-size:14px}.status{font-size:13px}.filter{min-height:42px;font-size:14px}.search input{font-size:16px}.patent summary{grid-template-columns:165px 1fr 22px;align-items:start}.patent-kind{line-height:1.5;font-size:14px!important}.patent-details{padding-left:188px;font-size:16px}.patent h3{font-size:18px}.year-note{font-size:14px;line-height:1.7}.about-aside{background:#edf3fb}.about-grid h2{font-size:42px}.about-grid p{line-height:1.85}.footer{font-size:14px}.paper-hero{max-width:1080px;padding-bottom:28px}.paper-hero h1{font-size:clamp(30px,3.3vw,43px);line-height:1.2;max-width:1040px}.paper-heading-meta{margin-bottom:15px}.paper-kicker{font-size:15px;letter-spacing:0;text-transform:none;margin-bottom:10px}.project-deck{font-size:25px;line-height:1.45;color:#435673;max-width:60ch}.paper-hero .authors{font-size:14px;line-height:1.8;margin-bottom:18px}.author-details{font-size:14px;color:var(--muted);margin:0 0 20px}.author-details summary{cursor:pointer;width:fit-content;min-height:30px;text-decoration:underline;text-decoration-color:#b5c4da;text-underline-offset:5px}.author-details .authors{margin:10px 0 0}.paper-hero .paper-links{margin-top:22px}.project-nav{top:74px;gap:32px;padding:14px 0}.project-nav a{font-size:15px}.why-section{padding:28px 0;grid-template-columns:155px 1fr;gap:30px}.why-section .eyebrow{font-size:14px;line-height:1.5}.why-section>p:last-child{font-size:17px;line-height:1.8;max-width:76ch}.project-section .eyebrow{font-size:14px}.mechanism-step h3{line-height:1.5}.findings-grid{gap:24px}.finding{padding:27px;border-radius:7px}.finding h3{line-height:1.45}.finding p{line-height:1.8}.source-link{font-size:14px}.take-home .eyebrow{font-size:14px}.related-grid a{border-radius:6px}.related-grid a p{font-size:15px}.pill-link{min-height:42px}.resource-list .pill-link{font-size:15px}.topic-tag{font-size:14px}.project-section{scroll-margin-top:145px}.bibtex{font-size:14px}.back-link{font-size:14px}.initiative-page .interactive-section{scroll-margin-top:96px}
@media(max-width:1100px){.home-hero{gap:35px}.hero-copy h1{font-size:46px}.hero-copy h1 span{font-size:30px}.accepted-work{gap:18px}.accepted-work .feature-content{padding:20px}.accepted-work .feature-visual{height:165px}.accepted-work .project-short{font-size:25px}.nav{gap:17px}.nav a{font-size:13px}.hero-statement{font-size:28px}.experience-copy{padding:25px}.experience-copy h3{font-size:29px}}
@media(max-width:900px){.wrap{padding-inline:32px}.home-hero{grid-template-columns:1fr;max-width:none;gap:30px}.hero-copy h1 span{display:inline;font-size:37px}.hero-copy h1{font-size:49px}.hero-statement{max-width:30ch;font-size:31px}.hero-copy .intro{max-width:66ch}.recognition-links{gap:30px;margin-top:25px}.recognition-links a{max-width:170px}.home-lab{min-height:0}.accepted-work{grid-template-columns:1fr 1fr}.accepted-work .feature-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.accepted-work .feature-card:last-child .feature-visual{height:100%;border-bottom:0}.accepted-work .feature-card:last-child .feature-content{padding:25px}.nav{gap:16px}.wordmark{font-size:15px}.header-inner{gap:14px}.experience-grid{gap:24px}.experience-copy{padding:23px}.experience-copy h3{font-size:27px}.why-section{grid-template-columns:1fr;gap:8px}.patent summary{grid-template-columns:145px 1fr 22px;gap:20px}.patent-details{padding-left:165px}}
@media(max-width:680px){.wrap{padding-inline:21px}.header-inner{height:68px}.nav{top:68px}.home-hero{padding-top:31px;padding-bottom:35px}.home-introduction{font-size:14px;margin-bottom:13px}.hero-copy h1{font-size:43px;margin-bottom:20px}.hero-copy h1 span{display:block;font-size:29px;margin-top:7px}.hero-statement{font-size:29px;max-width:22ch}.hero-copy .intro{font-size:16px;line-height:1.8}.recognition-links{gap:17px 24px}.recognition-links a{max-width:140px;font-size:12px}.recognition-links strong{font-size:13px}.recognition-links a:last-child{max-width:190px}.section-title h2{font-size:34px}.section-title p{font-size:16px}.accepted-work,.experience-grid{grid-template-columns:1fr}.accepted-work .feature-card:last-child{grid-column:auto;display:flex}.accepted-work .feature-card:last-child .feature-visual,.accepted-work .feature-visual{height:auto;min-height:165px;aspect-ratio:600/280}.accepted-work .feature-visual img{max-height:225px}.accepted-work .feature-content,.accepted-work .feature-card:last-child .feature-content{padding:24px}.accepted-work .project-short{font-size:29px}.accepted-work h3{font-size:18px}.accepted-work .summary{font-size:16px}.experience-art>span{bottom:7px;left:10px;font-size:12px;padding:4px 7px}.experience-copy{padding:24px}.experience-copy h3{font-size:29px}.experience-copy>p{font-size:16px}.experience-meta{font-size:14px;gap:9px}.research-library .paper-row{grid-template-columns:1fr;gap:12px}.paper-row h3{font-size:20px}.paper-row .authors{font-size:14px}.paper-links a{font-size:14px}.patent summary{grid-template-columns:1fr 20px;gap:9px 15px}.patent-details{padding:0 0 24px}.patent h3{font-size:18px}.project-nav{top:68px;gap:23px}.project-nav a{font-size:14px}.paper-hero h1{font-size:33px}.project-deck{font-size:23px}.paper-kicker{font-size:14px}.paper-hero .authors{font-size:14px}.why-section>p:last-child{font-size:16px}.finding{padding:23px}.finding p{font-size:16px}.paper-hero .pill-link{font-size:14px!important}.about-grid h2{font-size:36px}.footer{font-size:14px}}
.project-nav{padding-block:3px}.project-nav a{display:inline-flex;align-items:center;min-height:44px}.nav a{display:inline-flex;align-items:center;min-height:44px}

/* A source figure can be inspected without leaving its explanation. */
.figure-enlarge{display:inline-flex;align-items:center;min-height:44px;margin:8px 12px 12px;padding:7px 13px;border:1px solid #b9c8dc;border-radius:5px;background:#fff;color:#214b88;font:14px/1.5 var(--sans);cursor:zoom-in}
.spatial-demo .sd-inputs .figure-thumbnail-button{display:block;position:relative;padding:0 0 25px;border:1px solid #c5d3e4;border-radius:7px;background:white;color:#214b88;cursor:zoom-in;min-width:0;min-height:44px}
.spatial-demo .sd-inputs .figure-thumbnail-button img{width:100%;border:0;border-radius:6px 6px 0 0}
.figure-thumbnail-button>span{position:absolute;left:0;right:0;bottom:2px;font:13px/1.5 var(--sans);text-align:center}
.figure-viewer{width:calc(100% - 40px);max-width:1500px;height:calc(100vh - 40px);height:calc(100dvh - 40px);max-height:none;padding:18px 22px;border-radius:10px;overflow:hidden}
.figure-viewer[open]{display:flex;flex-direction:column;gap:12px}
.figure-viewer::backdrop{background:#101d30c9;backdrop-filter:blur(4px)}
.figure-viewer-head{display:flex;align-items:center;justify-content:space-between;gap:20px;flex:0 0 auto}
.figure-viewer-head h2{font:26px/1.2 var(--serif);margin:0}
.figure-viewer button{min-height:44px;border:1px solid #b9c8dc;background:white;color:var(--ink);border-radius:5px;padding:7px 14px;font:14px/1.4 var(--sans)}
.figure-viewer-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;font-size:14px;flex:0 0 auto}
.figure-viewer-tools a{display:inline-flex;align-items:center;min-height:44px}
.figure-viewer-tools [role=status]{color:var(--muted)}
.figure-viewer-viewport{flex:1 1 auto;min-height:0;min-width:0;overflow:auto;display:flex;align-items:center;justify-content:center;border:1px solid #dbe3ef;border-radius:5px;background:#f2f5fa;overscroll-behavior:contain}
.figure-viewer-viewport img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;flex:0 0 auto;background:white}
.figure-viewer-viewport.is-original-size{display:block}
.figure-viewer-viewport.is-original-size img{max-width:none;max-height:none}
#figure-viewer-caption{margin:0;font:14px/1.6 var(--sans);color:var(--muted);max-height:15vh;overflow:auto;flex:0 0 auto}
body.figure-viewer-open{overflow:hidden}
@media(max-width:680px){.figure-viewer{width:calc(100% - 16px);height:calc(100vh - 16px);height:calc(100dvh - 16px);padding:14px;gap:10px}.figure-viewer-head h2{font-size:23px}.figure-viewer-tools{gap:5px 14px}.figure-viewer-tools [role=status]{flex-basis:100%;font-size:13px}.figure-enlarge{font-size:14px}.figure-viewer-viewport img{max-width:100%}}
@media(max-width:650px){.spatial-demo .sd-inputs .figure-thumbnail-button{flex:1 1 0}.spatial-demo .sd-inputs .figure-thumbnail-button img{width:100%}}

.walkthrough-links{display:flex;align-items:center;flex-wrap:wrap;gap:4px 14px;margin-top:12px;font:13px/1.5 var(--sans);color:var(--muted)}
.walkthrough-links>button{min-height:44px;border:0;border-radius:3px;background:transparent;color:var(--accent,#245877);padding:7px 0;font:14px/1.5 var(--sans);text-decoration:underline;text-underline-offset:4px}
.walkthrough-links>button:disabled{color:var(--muted);opacity:.65;text-decoration:none;cursor:default}
.walkthrough-links [role=status]:not(:empty){flex-basis:100%;color:#24684d}
.walkthrough-link-fallback{display:flex;flex-direction:column;gap:5px;width:100%;font-size:14px}
.walkthrough-link-fallback input{width:100%;min-width:0;border:1px solid #adbed2;border-radius:4px;background:white;padding:10px;font-size:14px;color:var(--ink)}
@media(max-width:420px){.project-nav{gap:0;justify-content:space-between}.project-nav a{font-size:13px}}

/* A single combined offset clears the header and the project navigation. */
html{scroll-padding-top:90px}
.interactive-section,.project-section{scroll-margin-top:50px}
.initiative-page .interactive-section{scroll-margin-top:6px}
.language-demo .ld-tour-secondary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:0 16px;margin-top:8px}
.language-demo .ld-tour-secondary .ld-tour-outline{margin:0;min-width:0}
.language-demo .ld-tour-secondary .ld-tour-outline[open]{flex-basis:100%}
.language-demo .ld-tour-secondary .ld-tour-outline summary{display:list-item;align-content:center;min-height:44px}
.language-demo .ld-tour-secondary .walkthrough-links{display:contents}
.language-demo .ld-tour-secondary [data-copy-step]{margin-left:auto}
.language-demo .ld-tour-secondary [data-step-hint]:empty,.language-demo .ld-tour-secondary [data-step-copy-status]:empty{display:none}
.language-demo .ld-tour-secondary [data-step-hint]:not(:empty),.language-demo .ld-tour-secondary [data-step-copy-status]:not(:empty){flex-basis:100%;font:13px/1.5 var(--sans)}
