/* Museum addition. Existing website and locked SISTAS styles are independent. */
:root{--paper:#f3eef8;--panel:#fffcff;--ink:#25182b;--muted:#6e6275;--line:#d8cbe4;--purple:#74449a;--deep:#24152f;--gold:#c19a52;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:130px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit}button{font:inherit}a,button,summary{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible,iframe:focus-visible{outline:3px solid #9a6521;outline-offset:6px}button,summary{touch-action:manipulation}img{display:block;width:100%;height:auto}figure{margin:0}figcaption{font-size:12px;line-height:1.6;color:var(--muted);padding:12px 0}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{text-wrap:balance}.skip-link{position:fixed;left:16px;top:-100px;padding:15px;background:white;z-index:20}.skip-link:focus{top:12px}.review-banner{display:flex;align-items:center;justify-content:center;gap:20px;padding:10px 24px;background:#352342;color:#f7f0fc;font-size:11px;line-height:1.5}.review-banner>span:first-child{letter-spacing:.12em;font-weight:800;color:#ebc98d;white-space:nowrap}.review-banner a{white-space:nowrap;text-underline-offset:4px}.site-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px max(4vw,22px);border-bottom:1px solid var(--line)}.brand{text-decoration:none;font-weight:800;font-size:19px;letter-spacing:-.6px}.brand span{display:block;margin-top:6px;font-size:8px;letter-spacing:.21em;font-weight:500}.site-header nav{display:flex;flex-wrap:wrap;gap:25px;font-size:12px}.site-header nav a{text-decoration:none;min-height:32px;display:flex;align-items:center}.site-header nav a:hover,.site-header nav [aria-current]{color:var(--purple);text-decoration:underline;text-underline-offset:8px}.museum-hero{display:grid;grid-template-columns:1.05fr 1fr;max-width:1440px;margin:auto;padding:64px max(4vw,22px) 80px;gap:45px;align-items:center}.eyebrow{font-size:10px;font-weight:700;line-height:1.7;letter-spacing:.17em;text-transform:uppercase}.hero-copy>.eyebrow{display:flex;align-items:center;gap:13px;color:#63427e;margin-bottom:32px}.gold-rule{display:block;width:32px;height:1px;background:var(--gold);flex-shrink:0}.hero-copy h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:clamp(64px,6.9vw,103px);line-height:.96;letter-spacing:-.055em;margin-bottom:28px}.hero-copy h1 em{font-weight:400;color:var(--purple)}.hero-name{font-size:19px;font-weight:700;margin-bottom:9px}.hero-categories{font-family:Georgia,serif;font-size:17px;color:#635369;line-height:1.7;max-width:32ch}.enter-link{display:inline-flex;align-items:center;justify-content:space-between;gap:50px;border-bottom:1px solid #8a669f;padding:14px 0;text-decoration:none;font-size:13px;margin-top:13px;min-width:210px}.enter-link span{font-size:20px}.hero-stats{display:flex;gap:35px;margin-top:40px}.hero-stats>span{display:flex;align-items:center;gap:12px;font-size:9px;letter-spacing:.13em;color:var(--muted)}.hero-stats strong{font-family:Georgia,serif;font-weight:400;font-size:30px;color:var(--ink);letter-spacing:-.03em}.hero-portrait{position:relative;background:var(--deep);padding:12px 12px 0;box-shadow:16px 16px 0 #e1d6ea}.hero-portrait img{max-height:630px;aspect-ratio:4/5;object-fit:contain;background:var(--deep)}.portrait-label{display:block;padding:17px 8px;color:#e4d8ec;font-size:9px;letter-spacing:.17em}.collection-intro{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:30px max(4vw,22px) 20px;background:var(--paper);position:sticky;top:0;z-index:8}.collection-intro>.eyebrow{margin-bottom:12px;color:var(--muted)}.filters{display:flex;flex-wrap:wrap;gap:8px}.filter{padding:11px 13px;border:1px solid #d3c4de;border-radius:3px;background:transparent;font-size:11px;min-height:44px;color:#4e365f;cursor:pointer}.filter span{margin-left:8px;opacity:.75;font-size:10px}.filter:hover{background:#e9dfef}.filter.active{background:var(--deep);border-color:var(--deep);color:white}#filter-status{font-size:10px;margin:12px 0 0;color:var(--muted)}.gallery{max-width:1440px;padding:70px max(4vw,22px) 0;margin:auto;scroll-margin-top:30px}.gallery-heading{display:grid;grid-template-columns:1fr auto;align-items:end;border-bottom:1px solid #c9b7d9;padding-bottom:26px;margin-bottom:40px}.gallery-heading .eyebrow{grid-column:1/-1;color:var(--purple);margin-bottom:10px}.gallery-heading h2{font-family:Georgia,serif;font-size:clamp(37px,4.5vw,59px);line-height:1.04;letter-spacing:-.04em;font-weight:400;margin-bottom:0;max-width:700px}.gallery-heading>p:last-child{font-size:11px;color:var(--muted);margin:0 0 5px 15px;white-space:nowrap}.exhibit-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px 38px;align-items:start}.exhibit{min-width:0;position:relative;scroll-margin-top:180px;border-bottom:1px solid var(--line);padding-bottom:16px}.exhibit-art{background:#e6dce9;overflow:hidden;align-self:start}.exhibit-art img{height:clamp(280px,33vw,460px);object-fit:contain;background:#251b2c}.exhibit-art figcaption{padding:11px 14px;background:#e9e0ef;color:#604f6a}.exhibit-copy{padding:23px 0 0}.exhibit-copy>.eyebrow{color:var(--purple);margin-bottom:14px;font-size:9px}.exhibit-copy>.eyebrow span{color:var(--muted);letter-spacing:.09em}.exhibit h3{font-family:Georgia,serif;font-size:clamp(28px,2.7vw,39px);font-weight:400;line-height:1.14;letter-spacing:-.035em;max-width:22ch;margin-bottom:20px}.typographic-art{height:clamp(280px,33vw,460px);position:relative;display:flex;flex-direction:column;justify-content:center;padding:38px;background:var(--deep);color:#ecdfef;isolation:isolate;overflow:hidden}.typographic-art::before{content:"";position:absolute;inset:18px;border:1px solid #705a7b;z-index:-1}.typographic-art>span{position:absolute;right:20px;bottom:-20px;font:200px/.9 Georgia,serif;letter-spacing:-.07em;color:#44324f;z-index:-1}.typographic-art em{font:italic 34px/1.2 Georgia,serif;max-width:15ch}.typographic-art i{font-size:8px;letter-spacing:.22em;font-style:normal;color:#dbbb83;margin-top:25px}.review-note{border-left:2px solid #bb995a;background:#eee4f3;padding:12px 15px;color:#5a4366;font-size:12px;line-height:1.65;margin:0 0 20px}.review-note b{display:block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;margin-bottom:3px}.image-note{font-size:12px;line-height:1.6;color:var(--muted)}.story{border-top:1px solid var(--line)}.story summary{display:flex;align-items:center;justify-content:space-between;gap:20px;list-style:none;padding:18px 4px 14px;cursor:pointer;font-size:12px;font-weight:650;min-height:50px}.story summary::-webkit-details-marker{display:none}.story summary:hover{color:var(--purple)}.toggle-mark{font-size:22px;line-height:1;font-weight:400}.story[open]>.story summary{color:var(--purple)}.story[open]>summary .toggle-mark{transform:rotate(45deg)}.story-content{padding:17px 0 8px;font:18px/1.7 Georgia,serif}.story-content figure{margin:25px 0;background:#e6dce9}.story-content figure img{max-height:650px;object-fit:contain;background:#251b2c}.story-content figcaption{padding:12px;font-family:Inter,system-ui,sans-serif}.reserved-text{border-bottom:1px solid var(--line);padding:10px 0 15px;margin-bottom:20px}.reserved-text h4{font-size:24px;line-height:1.3;font-weight:400;margin-bottom:12px}.reserved-text p{font:13px/1.7 Inter,system-ui,sans-serif;color:var(--muted)}blockquote{font:italic 24px/1.4 Georgia,serif;margin:24px 0;padding-left:20px;border-left:2px solid var(--gold)}.related{display:flex;flex-direction:column;border-top:1px solid var(--line);padding-top:14px;margin-top:25px;font:12px/1.6 Inter,system-ui,sans-serif;gap:12px}.related a{min-height:32px;text-underline-offset:5px}.permalink{display:inline-block;font-size:10px;color:var(--muted);text-decoration:none;min-width:44px;min-height:32px;padding:8px 0}.sistas-frame{display:block;width:100%;border:0;height:3200px;background:var(--paper)}.exhibit:has(.story[open]){grid-column:1/-1}.exhibit:has(.story[open]) .exhibit-copy{padding-top:0}.sistas-exhibit:has(.story[open]){display:block}.sistas-exhibit:has(.story[open])>.exhibit-art{display:none}.sistas-exhibit:has(.story[open]) .exhibit-copy>h3{max-width:none}.character-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.character-grid figure{margin:0}.character-grid img{height:280px;object-fit:contain}.study-pending{height:280px;background:#e7dceb;padding:22px;display:flex;flex-direction:column;justify-content:space-between;color:#67516f}.study-pending span{font:60px Georgia,serif}.study-pending p{font:12px/1.6 Inter,system-ui,sans-serif}.review-status{max-width:900px;margin:90px auto 0;padding:45px max(4vw,22px);border-top:1px solid var(--line);font-size:14px;line-height:1.8}.review-status h2{font:40px/1.15 Georgia,serif}.review-status>.eyebrow{color:var(--purple)}.review-status>a{display:inline-block;margin-top:15px;min-height:44px;text-underline-offset:5px}footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:35px max(4vw,22px);margin-top:55px;background:var(--deep);color:var(--paper);font-size:12px}footer p{margin:0;color:#ccbcd5}footer>a:last-child{min-height:44px;display:flex;align-items:center}[hidden]{display:none!important}
@media(min-width:1600px){.gallery,.museum-hero{padding-left:58px;padding-right:58px}}
@media(max-width:900px){.site-header{align-items:flex-start}.site-header nav{gap:14px}.museum-hero{gap:28px}.hero-copy h1{font-size:65px}.hero-copy>.eyebrow{font-size:8px}.hero-categories{font-size:15px}.review-banner{gap:12px}.review-banner>span:nth-child(2){max-width:410px}.collection-intro{position:relative}.gallery{padding-top:48px}.exhibit{scroll-margin-top:20px}.exhibit-grid{gap:45px 24px}.exhibit h3{font-size:30px}}
@media(max-width:700px){html{scroll-padding-top:20px}.review-banner{flex-wrap:wrap;justify-content:flex-start;font-size:10px;padding:10px 20px;gap:4px 12px}.review-banner>span:nth-child(2){flex-basis:100%;order:3}.site-header{display:block;padding:20px}.brand{font-size:18px}.site-header nav{gap:20px;margin-top:18px;font-size:11px}.museum-hero{grid-template-columns:1fr;padding:40px 22px 45px;gap:32px}.hero-copy h1{font-size:clamp(65px,15vw,92px)}.hero-copy>.eyebrow{font-size:9px;margin-bottom:25px}.hero-copy h1{margin-bottom:23px}.hero-categories{max-width:none}.hero-stats{margin-top:25px}.hero-portrait{margin-right:10px;max-width:480px}.hero-portrait img{max-height:470px;aspect-ratio:4/4.4}.collection-intro{padding:25px 20px 20px}.filters{gap:7px}.filter{font-size:11px;padding:9px 10px}.filter span{margin-left:5px}.gallery{padding:42px 20px 0}.gallery-heading{margin-bottom:27px;padding-bottom:22px}.gallery-heading h2{font-size:39px;max-width:15ch}.gallery-heading>p:last-child{font-size:10px}.exhibit-grid{grid-template-columns:1fr;gap:40px}.exhibit-art img,.typographic-art{height:auto;max-height:490px;min-height:260px}.exhibit-art img{object-fit:contain}.typographic-art{height:320px}.exhibit h3{font-size:34px;max-width:24ch}.exhibit:has(.story[open]){display:block}.exhibit:has(.story[open]) .exhibit-art{position:static}.exhibit:has(.story[open]) .exhibit-copy{padding-top:23px}.story-content{font-size:17px}.character-grid{gap:10px}.character-grid img,.study-pending{height:220px;min-height:0}.study-pending{padding:13px}.review-status{margin-top:50px}.review-status h2{font-size:34px}footer{flex-wrap:wrap;padding:25px 20px}footer p{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}

/* Exhibit 23: preserve both complete Lucille Soong portraits. */
#exhibit-lucille .lucille-portraits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
    max-width: 700px;
    margin: 0 auto;
  }
  
#exhibit-lucille .lucille-portraits figure {
    margin: 0;
    min-width: 0;
  }
  
#exhibit-lucille .lucille-portraits img {
    width: 100%;
    height: auto;
    max-height: none;
    min-height: 0;
    object-fit: contain;
    background: var(--deep);
  }

@media (max-width: 520px) {
  #exhibit-lucille .lucille-portraits {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  }

  /* Russell G. Jones — complete photograph */
#exhibit-russell .exhibit-art img {
    width: 100%;
    height: auto;max-height: none;
    object-fit: contain;
  }
    
/* Exhibit 21: feature the complete indoor photograph above the complete filmstrip. */
#exhibit-rachel { --book-art-width: 720px; }
#exhibit-rachel .rachel-photos {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 18px;
    background: transparent;
    overflow: visible;
}
#exhibit-rachel .rachel-photos figure {
    width: 100%;
    min-width: 0;
}
#exhibit-rachel .rachel-photos figure:first-child { max-width: 720px; }
#exhibit-rachel .rachel-photos figure:last-child { max-width: 460px; }
#exhibit-rachel .rachel-photos img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: contain;
}
@media (max-width: 700px) {
    #exhibit-rachel .rachel-photos { gap: 14px; }
    #exhibit-rachel .rachel-photos figure:last-child { max-width: 100%; }
}

/* Preserve Exhibit 04's existing mobile cover height. */
@media (max-width: 700px) {
    #exhibit-luke-cage-s2 .exhibit-art img { height: 320px; }
}

/* Shared expanded reading system. SISTAS retains its cinematic iframe. */
.exhibit:not(.sistas-exhibit):has(.story[open]) {
    display: flow-root;
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
}
.exhibit:not(.sistas-exhibit):has(.story[open]) > .exhibit-art {
    position: static;
    align-self: start;
    max-width: var(--book-art-width, 480px);
    margin: 0 auto 28px;
}
.exhibit:not(.sistas-exhibit):has(.story[open]) > .exhibit-art img {
    width: auto;
    max-width: 100%;
    height: auto;
    min-height: 0;
    max-height: 460px;
    margin-inline: auto;
    object-fit: contain;
}
.exhibit:not(.sistas-exhibit):has(.story[open]) > .exhibit-copy {
    padding-top: 0;
    text-align: left;
}
.exhibit:not(.sistas-exhibit) .story-content {
    max-width: 720px;
    margin-inline: auto;
    overflow-wrap: break-word;
}
.exhibit:not(.sistas-exhibit) .story-content figure img {
    width: auto;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
    object-fit: contain;
}
/* Preserve the approved portrait-above-story reference. */
#exhibit-eb { --book-art-width: 280px; }
#exhibit-character-studies { --book-art-width: 520px; }
#exhibit-character-studies .story-content > figure {
    max-width: 720px;
    margin-inline: auto;
}
#exhibit-character-studies .story-content > figure img { max-height: none; }
/* Selected single-photo openings wrap naturally into the same reading column. */
@media (min-width: 701px) {
    .exhibit.book-opening:has(.story[open]) > .exhibit-art {
        float: left;
        width: 240px;
        margin: 0 32px 24px 0;
    }
    .exhibit.book-opening:has(.story[open]) > .exhibit-art img { max-height: 320px; }
    .exhibit.book-opening:has(.story[open]) .exhibit-copy > .eyebrow,
    .exhibit.book-opening:has(.story[open]) .exhibit-copy > h3,
    .exhibit.book-opening:has(.story[open]) .exhibit-copy > .image-note,
    .exhibit.book-opening:has(.story[open]) .story > summary {
        margin-left: 272px;
    }
    .exhibit.book-opening:has(.story[open]) .story { border-top: 0; }
    .exhibit.book-opening:has(.story[open]) .story > summary { border-top: 1px solid var(--line); }
}
