/* Shared gallery appearance. Content, molecular assets and interaction code are retained. */
:root{--gallery-bg:#000;--gallery-panel:#050505;--gallery-ink:#e6e2da;--gallery-muted:#a39f97;--gallery-gold:#cbb58a;--gallery-line:#252525;--gallery-display:Didot,"Bodoni 72",Baskerville,Georgia,serif;--gallery-reading:"Avenir Next","Helvetica Neue",Arial,sans-serif}
html:has(body[data-gallery-theme]){background:#000;color-scheme:dark}
body[data-gallery-theme]{--bg:#000;--panel:#050505;--field:#000;--text:#e6e2da;--ink:#e6e2da;--muted:#a39f97;--gold:#cbb58a;--accent:#cbb58a;--line:#252525;background:var(--gallery-bg);color:var(--gallery-ink);font-family:var(--gallery-reading);font-size:14px;line-height:1.8;-webkit-font-smoothing:antialiased}
body[data-gallery-theme] :focus-visible{outline:1px solid var(--gallery-gold);outline-offset:5px}
body[data-gallery-theme] a{transition:color .2s,border-color .2s}
body[data-gallery-theme] a:hover{color:var(--gallery-gold)}
/* A single masthead rhythm across the story, reference pages and records. */
body[data-gallery-theme]>header:is(.site-header,.recognition-header,.museum-header,.gallery-header),body[data-gallery-theme="unified"][data-theme="nocturne"]>header{box-sizing:border-box;width:100%;max-width:none;height:auto;min-height:80px;margin:0;padding:25px 4.8%;display:flex;align-items:center;justify-content:space-between;gap:24px;border:0;border-bottom:1px solid var(--gallery-line);background:#000;box-shadow:none}
body[data-gallery-theme="unified"][data-theme="nocturne"]>header{border-bottom:0;background:linear-gradient(#000 65%,#0000)}
body[data-gallery-theme] :is(.brand,.wordmark,.gallery-brand,.brand-name){font:400 20px/1.2 Baskerville,Georgia,serif;letter-spacing:-.35px;color:var(--gallery-ink);white-space:nowrap;text-decoration:none}
body[data-gallery-theme] :is(.brand em,.wordmark em,.gallery-brand>span,.brand-name>span){font:inherit;font-style:italic;color:var(--gallery-gold)}
body[data-gallery-theme] nav[aria-label="Main navigation"]{display:flex;flex:0 1 auto;align-items:center;justify-content:flex-end;flex-wrap:wrap;width:auto;gap:8px 20px;margin:0;padding:0;color:var(--gallery-muted);font:400 12px/1.6 Baskerville,Georgia,serif;letter-spacing:0}
body[data-gallery-theme] nav[aria-label="Main navigation"] a{display:inline-block;padding:4px 0;border:0;border-bottom:1px solid transparent;border-radius:0;color:inherit;white-space:nowrap;text-decoration:none}
body[data-gallery-theme] nav[aria-label="Main navigation"] a[aria-current="page"],body[data-gallery-theme] nav[aria-label="Main navigation"] a:hover{color:var(--gallery-gold);border-bottom-color:var(--gallery-gold)}
body[data-gallery-theme] nav[aria-label="Main navigation"] a:after{display:none}
body[data-gallery-theme]>header.museum-header{justify-content:flex-end}
/* One page width, one title scale and the same restrained reading texture. */
body[data-gallery-theme] :is(.shell,.wrap,.museum-main){width:90.4%;max-width:1200px;margin-inline:auto}
body[data-gallery-theme] :is(.about-page,.method-revised,.publication-page){max-width:1200px}
body[data-gallery-theme] :is(h1,h2,h3){font-family:var(--gallery-display);font-weight:400;color:var(--gallery-ink);text-wrap:balance}
body[data-gallery-theme] :is(.page-heading h1,.collection-hero h1,.about-intro h1,.method-intro h1,.museum-heading h1,.hero h1,.molecule-heading h1){font:400 clamp(36px,4.1vw,56px)/1.12 var(--gallery-display);letter-spacing:-.022em;white-space:normal;text-shadow:none}
body[data-gallery-theme] :is(h1 em,h2 em,h3 em){color:var(--gallery-gold);font-weight:400}
body[data-gallery-theme] :is(.page-heading,.method-intro,.about-intro){padding:58px 0 44px;margin:0}
body[data-gallery-theme] :is(.page-heading h1,.method-intro h1,.about-intro h1){margin:12px 0 22px}
body[data-gallery-theme] :is(.page-heading>p,.method-intro .method-lead,.about-page .about-lead,.hero .intro,.section-heading>p:last-child,.seeing-copy>p:not(.eyebrow)){color:var(--gallery-muted);font:400 15px/1.85 var(--gallery-reading);letter-spacing:0;max-width:70ch}
body[data-gallery-theme] :is(.eyebrow,.pub-topic){font:500 9px/1.6 var(--gallery-reading);letter-spacing:.2em;color:var(--gallery-gold);text-transform:uppercase}
body[data-gallery-theme] :is(.text-link,.method-source,.pub-links a,.exhibit-link,.collection-return,.gold-link){font:400 11px/1.7 var(--gallery-reading);letter-spacing:.025em;color:var(--gallery-gold);border-color:#cbb58a66;border-radius:0;box-shadow:none}
body[data-gallery-theme] :is(.citation,.pub-authors,.pub-journal,.pub-doi,figcaption){font-family:var(--gallery-reading);color:var(--gallery-muted)}
/* Collection: quiet black plates and hairline divisions, without ornament. */
body[data-gallery-theme].collection-page .collection-hero{width:90.4%;max-width:1200px;margin:52px auto 30px;padding:0;text-align:left;background:none;border:0}
body[data-gallery-theme].collection-page .paired-subtitle{font:400 12px/1.7 var(--gallery-reading);color:var(--gallery-muted);margin-top:16px;letter-spacing:.015em}
body[data-gallery-theme].collection-page :is(.search,.filter-toggle,.collection-controls button,.filter-panel){background:#000;border:1px solid var(--gallery-line);border-radius:2px;box-shadow:none;color:var(--gallery-muted);font:400 12px/1.6 var(--gallery-reading)}
body[data-gallery-theme].collection-page .search input{font:400 12px/1.6 var(--gallery-reading);color:var(--gallery-ink)}
body[data-gallery-theme].collection-page .identity-card{background:#000;border:1px solid var(--gallery-line);border-radius:0;box-shadow:none;transition:border-color .2s,transform .2s}
body[data-gallery-theme].collection-page .identity-card:hover{border-color:#cbb58a80;transform:translateY(-2px)}
body[data-gallery-theme].collection-page :is(.identity-art,.identity-pair,.identity-body){background:#000}
body[data-gallery-theme].collection-page .identity-card h2{font:400 22px/1.35 var(--gallery-display);letter-spacing:-.015em;color:var(--gallery-ink)}
body[data-gallery-theme].collection-page :is(.identity-provenance,.identity-meta,.identity-code,.identity-tags,.catalog-summary,.identity-pair-label){font-family:var(--gallery-reading);color:var(--gallery-muted)}
body[data-gallery-theme].collection-page #result-count{font:400 12px/1.7 var(--gallery-reading);color:var(--gallery-muted)}
body[data-gallery-theme].collection-page #result-count .published-count{font:inherit;color:inherit}
/* Reference pages retain their diagrams and layouts, with shared editorial spacing. */
body[data-gallery-theme] .hero{min-height:620px;padding:52px 0 66px}
body[data-gallery-theme] :is(.section-heading h2,.seeing h2){font:400 clamp(30px,3.2vw,42px)/1.18 var(--gallery-display);letter-spacing:-.022em}
body[data-gallery-theme] :is(.story-copy h3,.evolution-copy h2,.method-history h2,.about-row h2,.about-page #creator){font:400 clamp(26px,2.6vw,34px)/1.22 var(--gallery-display);letter-spacing:-.02em}
body[data-gallery-theme] :is(.principles,.stories,.story,.about-row,.generation-section,.method-reading,footer.wrap){border-color:var(--gallery-line)}
body[data-gallery-theme] :is(.principle-grid p,.story-copy>p:not(.eyebrow),.method-revised p,.method-revised .evolution-copy p,.about-page p,.about-contact){font:400 14px/1.9 var(--gallery-reading);color:var(--gallery-muted)}
body[data-gallery-theme] .principle-grid h3{font:400 25px/1.25 var(--gallery-display);letter-spacing:-.015em}
body[data-gallery-theme] :is(.citation,.method-source){font-size:11px;line-height:1.85;border-color:var(--gallery-line)}
body[data-gallery-theme] :is(.citation span,.method-year,.index,.pub-journal strong,.about-contact a,.about-page a.about-link){color:var(--gallery-gold)}
body[data-gallery-theme] .method-year{font:400 48px/1.15 var(--gallery-display);letter-spacing:-.02em}
body[data-gallery-theme] :is(.origin-reference,.method-arch){border-radius:0;background:#000;border-color:var(--gallery-line);box-shadow:none}
body[data-gallery-theme] .about-page{padding-top:0;padding-bottom:80px}
body[data-gallery-theme] #about.about-page{width:90.4%;max-width:1200px}
body[data-gallery-theme] .about-page>section[aria-labelledby="creator"]{padding-top:36px;border-top:1px solid var(--gallery-line)}
body[data-gallery-theme] .about-row{padding:40px 0;gap:52px}
body[data-gallery-theme] .about-page .about-role{font:400 24px/1.4 var(--gallery-display);color:var(--gallery-ink)}
body[data-gallery-theme] .about-contact :is(dt,dd),body[data-gallery-theme] .about-page .about-credits p{font:400 12px/1.85 var(--gallery-reading);color:var(--gallery-muted)}
body[data-gallery-theme] .publication{padding:38px 0;border-color:var(--gallery-line);background:#000;border-radius:0;box-shadow:none}
body[data-gallery-theme] .pub-body{max-width:940px}
body[data-gallery-theme] .pub-body h2{font:400 clamp(23px,2.4vw,31px)/1.35 var(--gallery-display);letter-spacing:-.015em;max-width:52ch}
body[data-gallery-theme] :is(.pub-authors,.pub-journal,.pub-doi,.pub-summary){font:400 12px/1.85 var(--gallery-reading);color:var(--gallery-muted)}
/* Scale and Design preserve every animated structure and their controls. */
body[data-gallery-theme] .museum-main{padding:52px 0 30px}
body[data-gallery-theme] .museum-heading p{font:400 13px/1.8 var(--gallery-reading);color:var(--gallery-muted)}
body[data-gallery-theme] .museum-heading h1 em{font-style:normal;color:var(--gallery-ink)}
body[data-gallery-theme] .exhibit:after{background:linear-gradient(90deg,#000,transparent 12%,transparent 88%,#000)}
body[data-gallery-theme] :is(.exhibit-caption p,.rail-head,.rail-labels,.museum-note){font-family:var(--gallery-reading);color:var(--gallery-muted)}
body[data-gallery-theme] .exhibit-caption h2{font:400 26px/1.25 var(--gallery-display);letter-spacing:-.02em}
body[data-gallery-theme].cinema-home .title h1{font:400 clamp(36px,4.1vw,56px)/1.12 var(--gallery-display);letter-spacing:-.022em;max-width:1000px;text-shadow:none}
body[data-gallery-theme].cinema-home .title>p:first-child{font:500 9px/1.7 var(--gallery-reading);letter-spacing:.2em;color:var(--gallery-gold)}
body[data-gallery-theme].cinema-home :is(.title>p:last-child,.bottom,.controls,.readout){font-family:var(--gallery-reading)}
body[data-gallery-theme].cinema-home .controls :is(button,summary){border-radius:2px;border-color:#cbb58a55;font:400 11px/1.6 var(--gallery-reading);box-shadow:none}
body[data-gallery-theme].cinema-home .collection-shortcut{font:400 11px/1.6 var(--gallery-reading);border-radius:2px;border-color:#cbb58a66;color:var(--gallery-gold)}
/* Individual records belong to the same gallery, including their long-form stories. */
body[data-gallery-theme].molecule-page .molecule-record{padding-top:32px}
body[data-gallery-theme].molecule-page .molecule-heading h1{max-width:22ch;overflow-wrap:anywhere}
body[data-gallery-theme].molecule-page :is(.molecule-heading,.molecule-interactive,.molecule-interactive>header,.molecule-history,.molecule-publication,.history-timeline,.history-timeline li,.history-references,.molecule-facts div){border-color:var(--gallery-line)}
body[data-gallery-theme].molecule-page :is(.molecule-interactive,.molecule-interactive>header,.molecule-images figure,.molecule-images img,.history-visuals figure,.history-outcome){background:#000;border-radius:0;box-shadow:none}
body[data-gallery-theme].molecule-page :is(.molecule-formula,.molecule-note,.molecule-facts,.breadcrumbs,.molecule-legend,.history-timeline p,.history-intro>p,.history-references,.molecule-publication p){font:400 13px/1.85 var(--gallery-reading);color:var(--gallery-muted)}
body[data-gallery-theme].molecule-page :is(.molecule-interactive h2,.history-intro h2,.molecule-publication h2){font:400 clamp(25px,2.8vw,36px)/1.2 var(--gallery-display);letter-spacing:-.02em;max-width:none}
body[data-gallery-theme].molecule-page :is(.molecule-description,.history-outcome>p:last-child){font:400 clamp(21px,2.1vw,28px)/1.5 var(--gallery-display);color:var(--gallery-ink)}
body[data-gallery-theme].molecule-page .history-present{background:#cbb58a08;box-shadow:inset 1px 0 #cbb58a80}
body[data-gallery-theme].molecule-page .history-timeline h3{font:400 23px/1.35 var(--gallery-display)}
body[data-gallery-theme].molecule-page :is(.history-year,.molecule-first,.molecule-facts a){color:var(--gallery-gold)}
body[data-gallery-theme] .interactive-controls{font:400 11px/1.6 var(--gallery-reading);background:#000;border-bottom:1px solid var(--gallery-line);color:var(--gallery-muted)}
body[data-gallery-theme] .interactive-controls button{font:400 11px/1.6 var(--gallery-reading);background:#000;color:var(--gallery-muted);border:1px solid #cbb58a44;border-radius:2px;padding:8px 12px;box-shadow:none}
body[data-gallery-theme] .interactive-controls button[aria-pressed="true"]{background:#cbb58a12;border-color:var(--gallery-gold);color:var(--gallery-gold);box-shadow:none}
body[data-gallery-theme] .interactive-controls input{accent-color:var(--gallery-gold)}
body[data-gallery-theme] .help{font:400 11px/1.6 var(--gallery-reading);color:var(--gallery-muted)}
body[data-gallery-theme] :is(.page-heading,.method-intro,.generation-section,.about-page,.section-heading)>.eyebrow,body[data-gallery-theme] .evolution-copy>.eyebrow{font:500 9px/1.6 var(--gallery-reading);letter-spacing:.2em;color:var(--gallery-gold)}
@media(min-width:1800px){body[data-gallery-theme]>header:is(.site-header,.recognition-header,.museum-header,.gallery-header){padding-inline:max(4.8%,calc((100vw - 1560px)/2))}}
@media(max-width:1000px){
 body[data-gallery-theme]>header:is(.site-header,.recognition-header,.museum-header,.gallery-header),body[data-gallery-theme="unified"][data-theme="nocturne"]>header{flex-direction:row;flex-wrap:wrap;align-items:center;gap:16px;padding:23px 4.8%}
 body[data-gallery-theme] nav[aria-label="Main navigation"]{justify-content:flex-start;width:100%;gap:8px 18px}
 body[data-gallery-theme]>.museum-header nav[aria-label="Main navigation"]{justify-content:flex-end}
}
@media(max-width:700px){
 body[data-gallery-theme] :is(.shell,.wrap,.museum-main,.collection-hero){width:88.6%}
 body[data-gallery-theme] #about.about-page{width:88.6%}
 body[data-gallery-theme]>header:is(.site-header,.recognition-header,.museum-header,.gallery-header),body[data-gallery-theme="unified"][data-theme="nocturne"]>header{padding:23px 5.7%}
 body[data-gallery-theme] :is(.page-heading,.method-intro,.about-intro){padding:38px 0 30px}
 body[data-gallery-theme] :is(.page-heading h1,.collection-hero h1,.about-intro h1,.method-intro h1,.museum-heading h1,.hero h1,.molecule-heading h1){font-size:36px;line-height:1.16}
 body[data-gallery-theme].collection-page .collection-hero{width:88.6%;margin-top:36px}
 body[data-gallery-theme] .hero{padding:36px 0 48px;min-height:0}
 body[data-gallery-theme] .hero .intro{font-size:14px}
 body[data-gallery-theme] .about-row{gap:20px;padding:30px 0}
 body[data-gallery-theme] .museum-main{padding-top:36px}
 body[data-gallery-theme].cinema-home .title h1{font-size:36px}
}
@media(max-width:480px){
 body[data-gallery-theme] :is(.brand,.wordmark,.gallery-brand,.brand-name){font-size:18px;white-space:normal}
 body[data-gallery-theme] nav[aria-label="Main navigation"]{font-size:11px;gap:6px 15px}
 body[data-gallery-theme="unified"][data-theme="nocturne"] nav[aria-label="Main navigation"]>a:not(.edition-link){display:inline-block}
 body[data-gallery-theme] :is(.page-heading h1,.collection-hero h1,.about-intro h1,.method-intro h1,.museum-heading h1,.hero h1,.molecule-heading h1){font-size:32px}
 body[data-gallery-theme].molecule-page .molecule-heading{gap:24px}
 body[data-gallery-theme].molecule-page .collection-return{padding:10px 12px}
 body[data-gallery-theme].cinema-home .title h1{font-size:32px}
}

body[data-gallery-theme] .pub-date{font:400 11px/1.85 var(--gallery-reading);color:var(--gallery-muted);margin:8px 0 16px}
