/* A framed image and reading notes, with one complete description underneath. */
.reader-page .publication-layout>.illustrated-about{
 --about-accent:color-mix(in srgb,var(--work-start) 28%,#d8e1ef);
 padding:10px;margin-top:12px;isolation:isolate;border:1px solid transparent;border-radius:22px;
 background:linear-gradient(135deg,color-mix(in srgb,var(--work-start) 9%,var(--ef-surface-deep)),color-mix(in srgb,var(--work-end) 5%,var(--ef-surface-deep))) padding-box,linear-gradient(135deg,color-mix(in srgb, var(--ef-white) 31.37%, transparent),color-mix(in srgb,var(--work-start) 38%,color-mix(in srgb, var(--ef-accent) 21.96%, transparent)) 38%,color-mix(in srgb, var(--ef-accent) 10.2%, transparent) 68%,color-mix(in srgb, var(--ef-accent) 25.1%, transparent)) border-box;
 box-shadow:inset 0 1px 0 color-mix(in srgb, var(--ef-white) 1.96%, transparent);overflow:clip;scroll-margin-top:120px;
 transition:border-color .45s,box-shadow .45s;
}
.reader-page .publication-layout>.illustrated-about::before,.reader-page .publication-layout>.illustrated-about::after{display:none;}
.illustrated-about:focus-visible{outline:2px solid var(--about-accent);outline-offset:5px;}
.illustrated-about .about-feature{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(0,1.65fr);gap:0;align-items:stretch;}
.illustrated-about .about-art{position:relative;width:100%;min-width:0;min-height:0;aspect-ratio:1;align-self:start;margin:0;border-radius:14px;overflow:hidden;background:var(--ef-surface-deep);border:1px solid color-mix(in srgb, var(--ef-white) 10.2%, transparent);}
.illustrated-about .about-art img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:42% 50%;transform:scale(1.025);filter:brightness(.86) saturate(.85);transition:transform 1.1s cubic-bezier(.2,.75,.25,1),filter .85s,object-position 1.1s cubic-bezier(.2,.75,.25,1);}
.illustrated-about .about-art::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,color-mix(in srgb, var(--ef-surface-deep) 0%, transparent) 50%,color-mix(in srgb, var(--ef-surface-deep) 20.78%, transparent)),linear-gradient(90deg,transparent 75%,color-mix(in srgb, var(--ef-surface-deep) 10.2%, transparent));box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--ef-white) 2.75%, transparent);border-radius:inherit;}
.illustrated-about[data-about-scene="1"] .about-art img{transform:scale(1.09);object-position:58% 58%;filter:brightness(.93) saturate(.9);}
.illustrated-about[data-about-scene="2"] .about-art img{transform:scale(1.055);object-position:50% 34%;filter:brightness(1) saturate(.95);}
.illustrated-about .about-copy{min-width:0;padding:22px 30px 18px 32px;align-self:start;}
.illustrated-about .about-heading{display:flex;align-items:center;justify-content:space-between;gap:16px 24px;flex-wrap:wrap;margin:0 0 22px;padding-bottom:14px;border-bottom:1px solid color-mix(in srgb, var(--ef-white) 10.2%, transparent);}
.illustrated-about .about-heading h2{margin:0;font:500 1rem/1.5 Inter,"Segoe UI",sans-serif;letter-spacing:0;color:var(--ef-text);}
.illustrated-about .about-topics{display:flex;align-items:center;flex-wrap:wrap;gap:4px 18px;max-width:100%;}
.illustrated-about .about-topics[hidden]{display:none;}
.illustrated-about .about-topics button{position:relative;min-height:36px;padding:6px 0;border:0;border-radius:0;background:none;box-shadow:none;font:400 .875rem/1.5 Inter,"Segoe UI",sans-serif;color:var(--ef-quiet);cursor:pointer;transition:color .2s;}
.illustrated-about .about-topics button::after{content:"";position:absolute;inset:auto 0 0;height:1px;background:var(--about-accent);transform:scaleX(0);transform-origin:center;transition:transform .5s cubic-bezier(.16,1,.3,1);}
.illustrated-about .about-topics button:hover{color:var(--ef-text);}
.illustrated-about .about-topics button[aria-selected=true]{color:var(--ef-text);}
.illustrated-about .about-topics button[aria-selected=true]::after{transform:scaleX(1);}
.illustrated-about :is(button,summary):focus-visible{outline:2px solid var(--about-accent);outline-offset:5px;border-radius:3px;}
.illustrated-about .about-panels{display:grid;align-items:start;}
.illustrated-about .about-topic{grid-area:1/1;min-width:0;}
.illustrated-about .about-topic[hidden]{display:none!important;}
.illustrated-about .about-topic blockquote{position:relative;margin:0 0 16px;padding:0 0 0 18px;border:0;border-left:1px solid color-mix(in srgb,var(--about-accent) 65%,transparent);background:none;border-radius:0;box-shadow:none;font:400 1.375rem/1.55 Georgia,"Times New Roman",serif;letter-spacing:0;color:var(--ef-text);white-space:pre-line;overflow-wrap:break-word;max-width:42ch;}
.illustrated-about .about-topic p{margin:0;max-width:65ch;font:400 1rem/1.75 Inter,"Segoe UI",sans-serif;color:var(--ef-quiet);text-wrap:pretty;}
.illustrated-about .about-details{margin:20px 0 0;border:0;background:none;border-radius:0;}
.illustrated-about .about-details>summary{display:inline-flex;align-items:center;gap:10px;min-height:38px;margin:0;padding:5px 0;list-style:none;cursor:pointer;color:var(--ef-text);font:500 .875rem/1.5 Inter,"Segoe UI",sans-serif;}
.illustrated-about .about-details>summary::-webkit-details-marker{display:none;}
.illustrated-about .about-details>summary svg{flex-shrink:0;transition:transform .5s cubic-bezier(.16,1,.3,1);opacity:.7;}
.illustrated-about .about-details[open]>summary svg{transform:rotate(180deg);}
.illustrated-about .about-details.is-moving{overflow:clip;}
.illustrated-about .about-detail-body.work-about-content{margin-top:16px;padding:20px 0 4px;border:0;border-top:1px solid color-mix(in srgb, var(--ef-white) 10.2%, transparent);max-width:70ch;font-size:1rem;line-height:1.85;color:var(--ef-text);}
.illustrated-about .about-detail-body>:first-child{margin-top:0;}
.illustrated-about .about-detail-body>:last-child{margin-bottom:0;}
.illustrated-about .about-detail-body img{max-width:100%;height:auto;border-radius:12px;}
.illustrated-about.about-no-image .about-feature{grid-template-columns:1fr;}
.illustrated-about.about-no-image .about-copy{padding:22px 28px;}
@media(hover:hover) and (pointer:fine){.illustrated-about .about-art:hover img{transform:scale(1.075);filter:brightness(1) saturate(1);}.reader-page .publication-layout>.illustrated-about:hover{box-shadow:inset 0 1px 0 color-mix(in srgb, var(--ef-white) 4.31%, transparent);}}
@media(max-width:1000px){.illustrated-about .about-feature{grid-template-columns:minmax(210px,.75fr) minmax(0,1.4fr);}.illustrated-about .about-copy{padding:18px 22px 16px 24px;}.illustrated-about .about-heading{gap:10px;margin-bottom:18px;}.illustrated-about .about-topic blockquote{font-size:1.25rem;}}
@media(max-width:680px){.reader-page .publication-layout>.illustrated-about{padding:8px;border-radius:18px;}.illustrated-about .about-feature{grid-template-columns:1fr;}.illustrated-about .about-art{min-height:0;aspect-ratio:1.8;border-radius:11px;}.illustrated-about .about-copy{padding:22px 14px 14px;}.illustrated-about .about-heading{align-items:flex-start;}.illustrated-about .about-topics{gap:4px 18px;}.illustrated-about .about-topic blockquote{font-size:1.25rem;}.illustrated-about .about-detail-body.work-about-content{line-height:1.8;}}
@media(prefers-reduced-motion:reduce){.reader-page .publication-layout>.illustrated-about,.illustrated-about .about-art img,.illustrated-about .about-topics button,.illustrated-about .about-topics button::after,.illustrated-about .about-details>summary svg{transition:none;}.illustrated-about .about-art:hover img{transform:none;}}

/* v639: once the full analysis opens, suppress the repeated short preview.
   The full text and annotation data are preserved; no content is removed. */
.illustrated-about .about-copy:has(> .about-details[open]) .about-panels,
.illustrated-about .about-copy:has(> .about-details[open]) .about-topics{display:none!important;}
.illustrated-about .about-copy:has(> .about-details[open]) .about-heading{margin-bottom:8px;}

/* v640: short, self-contained descriptions are shown directly once.
   Hidden tabs must not reserve space in the CSS grid. */
.illustrated-about .about-simple-content.work-about-content{margin:0;max-width:70ch;font:400 1rem/1.85 Inter,"Segoe UI",sans-serif;color:var(--ef-text);overflow-wrap:anywhere;}
.illustrated-about .about-simple-content.work-about-content :first-child{margin-top:0;}
.illustrated-about .about-simple-content.work-about-content :last-child{margin-bottom:0;}
.illustrated-about .about-simple-content.work-about-content img{max-width:100%;height:auto;border-radius:12px;}
@media(max-width:680px){.illustrated-about .about-simple-content.work-about-content{line-height:1.8;}}
/* A prose-only introduction does not use .about-panels. Hide that preview too. */
.illustrated-about .about-copy:has(> .about-details[open])>.about-intro-preview{display:none!important;}

/* v641 — the annotation manuscript opens as ink, not a collapsing rectangle. */
.illustrated-about .about-details{position:relative;transform-origin:top center;}
.illustrated-about .about-details>summary{position:relative;font-size:1rem;letter-spacing:.004em;transition:color .3s ease;}
.illustrated-about .about-details>summary::after{content:"";position:absolute;bottom:2px;left:0;width:100%;height:1px;transform:scaleX(0);transform-origin:0 50%;background:linear-gradient(90deg,var(--about-accent),transparent);transition:transform .54s cubic-bezier(.18,1,.3,1);pointer-events:none;}
.illustrated-about .about-details:is([open],:hover,:focus-within)>summary::after{transform:scaleX(1);}
.illustrated-about .about-details>summary:hover{color:var(--about-accent);}
.illustrated-about .about-details .about-detail-body{position:relative;isolation:isolate;}
.illustrated-about .about-details .about-detail-body::before{content:"";position:absolute;pointer-events:none;z-index:1;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--about-accent) 72%,transparent),transparent);opacity:0;}
.illustrated-about[data-reveal-state=opening] .about-detail-body::before{animation:about-ink-beam .9s cubic-bezier(.17,1,.28,1) both;}
@keyframes about-ink-beam{0%{opacity:0;transform:translateX(-45%) scaleX(.1);}35%{opacity:.85;}100%{opacity:0;transform:translateX(40%) scaleX(.75);}}
.illustrated-about[data-reveal-state=opening] .about-art img{filter:brightness(.98) saturate(.9);}
.illustrated-about .about-detail-body blockquote{border-left-color:color-mix(in srgb,var(--about-accent) 70%,transparent);}
@media(prefers-reduced-motion:reduce){.illustrated-about .about-details>summary,.illustrated-about .about-details>summary::after{transition:none!important;}.illustrated-about[data-reveal-state=opening] .about-detail-body::before{animation:none!important;}}
