/* V7. Targeted evolution of Editorial v6: appearance, identity, space and interaction.
 * Figures and photographic assets are never inverted, recoloured or cropped.
 * H1 and all hero font sizes are deliberately inherited unchanged from v6.
 */
:root {
 --control-bg:#f9fcff; --control-ink:#294f69; --control-line:#cedce7;
 --panel:#fbfdff; --panel-muted:#edf3f9; --focus:#965923;
 color-scheme:light;
}
html[data-theme='dark'] {
 --paper:#0d1520; --ink:#e6eff7; --muted:#aabdd0; --line:#2d4053;
 --accent:#97cdec; --soft:#182637; --white:#172435;
 --surface:#142132; --surface-strong:#1a2c40;
 --control-bg:#1a2b3e; --control-ink:#d7ecfa; --control-line:#3b526a;
 --panel:#142233; --panel-muted:#192b3e; --focus:#efca87;
 --shadow:0 18px 48px #0004;
 color-scheme:dark;
}
body { transition:background-color .25s ease,color .25s ease; }
:focus-visible {outline-color:var(--focus)!important;}
::selection {background:#83bee966;color:inherit;}
/* Original complete logo plus the requested site name. */
.site-header .header-inner {gap:20px;}
.header-inner>.brand {flex:0 0 auto;margin-right:auto;}
.brand {display:inline-flex;align-items:center;gap:12px;text-decoration:none;}
.brand-logo-wrap {display:grid;place-items:center;flex:0 0 auto;width:78px;height:56px;padding:5px;background:#fff;border-radius:9px;}
.brand-logo {display:block;width:100%;height:100%;object-fit:contain;max-width:100%;}
.brand-name {font:600 23px/1.15 var(--tech);letter-spacing:-.045em;white-space:nowrap;}
.brand-lab {white-space:nowrap;}
.header-actions {display:flex;align-items:center;gap:9px;flex:0 0 auto;}
.theme-toggle {min-width:84px;min-height:44px;display:flex;align-items:center;justify-content:center;gap:8px;padding:9px 13px;border:1px solid var(--control-line);border-radius:999px;background:var(--control-bg);color:var(--control-ink);font:500 12px var(--tech);}
.theme-toggle:hover {border-color:var(--accent);}
.theme-toggle .icon {width:18px;height:18px;}
.theme-sun {display:none!important;}
html[data-theme='dark'] .theme-moon {display:none!important;}
html[data-theme='dark'] .theme-sun {display:block!important;}
.menu-toggle {align-items:center;justify-content:center;}
.footer .brand-logo-wrap {width:112px;height:78px;padding:7px;}
.footer .brand-name {font-size:23px;}
/* Less empty vertical space — retain name sizes, line heights and copy sizes. */
.hero-inner {min-height:0;padding-block:17px;}
.hero-eyebrow {margin-bottom:14px;}
.hero-role {margin-top:15px;}
.hero-description {margin-top:12px;}
.hero-links {margin-top:15px;}
.icrea-profile {display:inline-flex;gap:6px;align-items:center;text-decoration:underline;text-decoration-color:#88a7bc88;text-underline-offset:4px;}
.icrea-profile:hover {text-decoration-color:currentColor;}
.icrea-profile .icon {height:12px;width:12px;}
/* Local canvas hit area, no scroll interception, no movement of text or photos. */
.field-interact {position:absolute;z-index:1;left:57%;right:0;top:19px;bottom:70px;display:block;padding:0;border:0;border-radius:28px;background:transparent;color:var(--accent);cursor:crosshair;touch-action:pan-y;}
.field-interact[aria-disabled='true'] {cursor:default;}
.field-interact:focus-visible {outline:1px solid var(--accent);outline-offset:0;box-shadow:inset 0 0 45px #87bddd0c;}
.field-cursor {position:absolute;left:var(--pointer-x,50%);top:var(--pointer-y,50%);width:36px;height:36px;border:1px solid #76a9c944;border-radius:50%;transform:translate(-50%,-50%);opacity:0;pointer-events:none;transition:opacity .25s;}
.field-interact:hover:not([aria-disabled='true']) .field-cursor {opacity:1;}
.art-note {z-index:3;bottom:19px;gap:15px;}
#field-hint {max-width:210px;line-height:1.6;font-size:9px;}
/* Larger TOC images and viewport, same content, controls and caption typography. */
.toc-graphic {height:255px;padding:16px 20px;}
.toc-graphic>img {object-fit:contain;background:#fff;}
.toc-graphic:hover>img {transform:none;} /* no edge clipping of scientific artwork */
/* Full dark palette, not a filter. Scientific figures keep their original white. */
html[data-theme='dark'] body {
 background:radial-gradient(ellipse 950px 600px at 95% 0%,#264a6b32,transparent 70%),radial-gradient(ellipse 750px 550px at -5% 28%,#24223c2d,transparent 75%),var(--paper);
 color:var(--ink);
}
html[data-theme='dark'] .site-header {background:#142233e8;border-color:#35495f;box-shadow:0 7px 30px #0003;}
html[data-theme='dark'] .site-header.is-scrolled {background:#142233f5;border-color:#49637c;box-shadow:0 8px 38px #0006;}
html[data-theme='dark'] .brand,html[data-theme='dark'] .hero h1,
html[data-theme='dark'] .section-heading h2,html[data-theme='dark'] .toc-heading h2,
html[data-theme='dark'] .themes h3,html[data-theme='dark'] .research-intro h2,
html[data-theme='dark'] .tile-copy h3,html[data-theme='dark'] .venture h3 {color:var(--ink);}
html[data-theme='dark'] .brand-point {color:#92c6e5;}
html[data-theme='dark'] .hero-role,html[data-theme='dark'] .hero-description,
html[data-theme='dark'] .eyebrow,html[data-theme='dark'] .art-note,
html[data-theme='dark'] .media-footnote,html[data-theme='dark'] .research-intro>p:not(.eyebrow),
html[data-theme='dark'] .toc-heading .eyebrow,html[data-theme='dark'] .toc-footer>p,
html[data-theme='dark'] .toc-credit,html[data-theme='dark'] .result-count,
html[data-theme='dark'] .theme-number,html[data-theme='dark'] .paper-year,
html[data-theme='dark'] .broadcast-mark {color:var(--muted);}
html[data-theme='dark'] #primary-nav a:last-child {background:#21364b;border-color:#415b73;}
html[data-theme='dark'] #primary-nav a:last-child:hover {background:#29435c;}
html[data-theme='dark'] .menu-toggle {background:var(--control-bg);color:var(--control-ink);border-color:var(--control-line);}
html[data-theme='dark'] .primary {background:#a5d5ef;color:#0b263b;border-color:#a5d5ef;}
html[data-theme='dark'] .primary:hover {background:#c4e6f8;color:#081c2a;border-color:#c4e6f8;}
html[data-theme='dark'] .hero-art {background:radial-gradient(ellipse at 62% 47%,#255b7838,transparent 60%),radial-gradient(ellipse at 89% 24%,#5b438534,transparent 62%);}
html[data-theme='dark'] .hero-art::before {background:radial-gradient(ellipse at 44% 57%,#527ca92b,transparent 64%),radial-gradient(ellipse at 79% 25%,#a397f21b,transparent 60%);}
html[data-theme='dark'] #field {filter:none;}
html[data-theme='dark'] #motion-toggle,html[data-theme='dark'] .motion-dock {background:#182b3fee;color:#c9dfef;border-color:#40596f;}
html[data-theme='dark'] #motion-toggle:hover,html[data-theme='dark'] .motion-dock:hover {background:#29435a;}
html[data-theme='dark'] .discipline-strip {color:#cbdeee;border-color:#30475c;}
html[data-theme='dark'] .discipline-strip span {color:#536e85;}
html[data-theme='dark'] .discipline-strip a:hover {color:#b3e0fa;}
html[data-theme='dark'] .discipline-strip a::before {background:#93bfda;}
html[data-theme='dark'] .toc-section {background:linear-gradient(180deg,#14233599,#152738bf 72%,#0d1520);border-color:#2d4358;}
html[data-theme='dark'] .toc-card {background:var(--panel);border-color:#354f67;box-shadow:0 5px 18px #0002;}
html[data-theme='dark'] .toc-card:hover {border-color:#86b7d9;box-shadow:0 8px 28px #0004;}
html[data-theme='dark'] .toc-card-meta {background:#1c3045;color:#c0d6e7;border-color:#304960;}
html[data-theme='dark'] .toc-card-bottom {border-color:#304960;}
html[data-theme='dark'] .toc-card-bottom .eyebrow {color:#adc9dc;}
html[data-theme='dark'] .toc-controls button,html[data-theme='dark'] .icon-button {background:var(--control-bg);color:var(--control-ink);border-color:var(--control-line);}
html[data-theme='dark'] .toc-controls button:hover,html[data-theme='dark'] .icon-button:hover {background:#2c4760;}
html[data-theme='dark'] .toc-rail {scrollbar-color:#58778f transparent;}
html[data-theme='dark'] .toc-rail::-webkit-scrollbar-thumb {background:#58778f;}
html[data-theme='dark'] .toc-progress {background:#2b4257;}
html[data-theme='dark'] .toc-progress>span {background:linear-gradient(90deg,#84cfeb,#ada7e8);}
html[data-theme='dark'] .media-tile:not(.robot-tile) {background:var(--panel);border-color:#30485e;box-shadow:none;}
html[data-theme='dark'] .media-tile:not(.robot-tile):hover {border-color:#668bab;box-shadow:0 12px 40px #0003;}
html[data-theme='dark'] .interview-tile {background:radial-gradient(ellipse at top right,#59518133,transparent 70%),linear-gradient(145deg,#172639,#1b2a40);}
html[data-theme='dark'] .outline-play {color:#c3dced;background:#263a52;border-color:#66829a;}
html[data-theme='dark'] .broadcast-divider {color:#7290a8;}
html[data-theme='dark'] .people-visual {background:#152537;}
/* Transparent molecular artwork keeps the same light plate, not a colour shift. */
html[data-theme='dark'] .molecular-visual {background:#f2f6fa;}
html[data-theme='dark'] .figure-label {color:#4b657a;}
html[data-theme='dark'] .molecular-visual .small-arrow {color:#274e64;}
html[data-theme='dark'] .podcast-strip {background:linear-gradient(105deg,#152335,#1c2a40);border-color:#36526a;}
html[data-theme='dark'] .podcast-symbol {color:#8cc6e4;}
html[data-theme='dark'] .research-section {background:radial-gradient(ellipse 70% 110% at 5% 10%,#24466645,transparent 74%),linear-gradient(160deg,#122131,#162538 75%,#132234);border-color:#314b62;}
html[data-theme='dark'] .research-section::before,html[data-theme='dark'] .publications::before {background:none;border-color:transparent;}
html[data-theme='dark'] .themes>article,html[data-theme='dark'] .themes,
html[data-theme='dark'] .publication-tools,html[data-theme='dark'] .paper,
html[data-theme='dark'] .publication-bottom {border-color:#31495f;}
html[data-theme='dark'] .filter-button {background:#172a3e;border-color:#3d5a72;color:#d1e5f3;}
html[data-theme='dark'] .filter-button:hover {background:#294761;}
html[data-theme='dark'] .filter-button[aria-pressed='true'] {background:#a3d3ef;color:#0d293e;border-color:#a3d3ef;}
html[data-theme='dark'] .paper::before {background:linear-gradient(90deg,#1a304444,#1d324ab3);}
html[data-theme='dark'] .paper:hover {background:#1a304455;box-shadow:inset 3px 0 #80badc;}
html[data-theme='dark'] .paper-arrow {background:#1b3044;border-color:#4b6b84;color:#c2def0;}
html[data-theme='dark'] .paper:hover .paper-arrow {background:#2c4963;}
html[data-theme='dark'] .technology {background:linear-gradient(140deg,#14263bcc,#1a233bcc);border-color:#31495f;}
html[data-theme='dark'] .ventures-grid {background:transparent;}
html[data-theme='dark'] .venture,html[data-theme='dark'] .venture+.venture {background:#182b3e;border-color:#3c5570;box-shadow:none;}
html[data-theme='dark'] .venture:hover {background:#20344b;}
html[data-theme='dark'] .code-venture {background:linear-gradient(130deg,#1a2a43,#21354b);}
html[data-theme='dark'] .contact-section {background:radial-gradient(ellipse at bottom left,#264c7160,transparent 68%),#101f31;border-color:#31495f;}
html[data-theme='dark'] .footer-shell {background:#0b1523;border-color:#283f55;}
html[data-theme='dark'] .footer {background:transparent;}
html[data-theme='dark'] dialog {background:#142233;color:var(--ink);border-color:#496279;box-shadow:0 30px 110px #0008;}
html[data-theme='dark'] .dialog-header,html[data-theme='dark'] .toc-dialog .dialog-header {background:#1a2d42;color:var(--ink);border-color:#36506a;}
html[data-theme='dark'] .dialog-close,html[data-theme='dark'] .toc-dialog .dialog-close {background:#253c53;color:#e4f1f9;border-color:#5f7d96;}
html[data-theme='dark'] .dialog-close:hover {background:#35546f;}
html[data-theme='dark'] .toc-dialog-info {background:#152639;border-color:#36506a;}
html[data-theme='dark'] #toc-paper-link {color:#0b263b;}
html[data-theme='dark'] .document-body th {background:#213951;}
html[data-theme='dark'] .toc-dialog-stage {background:#fff;}
html[data-theme='dark'] .skip {background:#16283b;color:#fff;}
/* Header adapts early so the new name/logo and theme button never collide. */
@media(min-width:1700px) {.toc-graphic {height:274px;}}
@media(max-width:1150px) {
 .site-header .header-inner {gap:12px;width:calc(100% - 36px);}
 .brand {gap:9px;}.brand-name {font-size:21px;}
 #primary-nav {gap:17px;font-size:11px;}
 #primary-nav a:last-child {padding-inline:12px;margin-left:0;}
 .theme-toggle {min-width:76px;padding-inline:11px;}
}
@media(max-width:1050px) {
 .js .menu-toggle {display:flex;}
 .js #primary-nav {display:none;position:absolute;top:calc(100% + 8px);left:0;right:0;padding:15px 24px 23px;background:var(--paper);border:1px solid var(--line);border-radius:18px;box-shadow:0 15px 25px #172c3b18;}
 .js .menu-open #primary-nav {display:flex;flex-direction:column;align-items:stretch;gap:0;}
 .js #primary-nav a {padding:10px 0;min-height:46px;}
 .js #primary-nav a:last-child {margin-left:0;padding:10px 14px;}
 .site-header .header-inner {flex-wrap:nowrap;min-height:70px;padding-block:8px;}
 html[data-theme='dark'] .js #primary-nav {background:#17283bf8;border-color:#435e77;}
 html.js[data-theme='dark'] #primary-nav {background:#17283bf8;border-color:#435e77;}
}
@media(max-width:850px) {
 .hero-inner {min-height:0;padding-block:17px;}
 .toc-graphic {height:246px;}
 .art-note {bottom:16px;}
 #field-hint {display:none;}
 .field-interact {left:66%;bottom:65px;}
}
@media(max-width:600px) {
 .site-header .header-inner {width:calc(100% - 24px);gap:8px;min-height:64px;padding-block:7px;}
 .brand {gap:7px;}
 .brand-logo-wrap {width:52px;height:41px;padding:3px;border-radius:6px;}
 .brand-name {font-size:17px;letter-spacing:-.035em;line-height:1.12;}
 .brand-lab {display:block;font-size:12px;letter-spacing:.08em;text-transform:uppercase;margin-top:4px;}
 .header-actions {gap:6px;}
 .theme-toggle {width:44px;min-width:44px;padding:10px;}
 .theme-label,.menu-label {display:none;}
 .menu-toggle {width:44px;height:44px;min-width:44px;padding:9px;gap:0;}
 .menu-toggle .icon {height:20px;width:20px;}
 .hero-inner {min-height:540px;padding-block:28px 112px;}
 .hero-eyebrow {margin-bottom:16px;}
 .hero-role {margin-top:18px;}
 .hero-description {margin-top:12px;}
 .hero-links {margin-top:16px;}
 .hero-art {inset:340px -30% -20px -12%;}
 .field-interact {left:0;right:0;top:auto;bottom:57px;height:91px;border-radius:18px;}
 .art-note {bottom:10px;right:0;}
 .toc-graphic {height:242px;padding:15px;}
 .footer .brand-logo-wrap {width:105px;height:74px;}
 .footer .brand-name {font-size:22px;}
 .footer .brand-lab {font-size:14px;margin-top:6px;}
}
@media(max-width:380px) {
 .brand-name {font-size:16px;}.brand-logo-wrap {width:48px;height:39px;}
 .site-header .header-inner {gap:5px;width:calc(100% - 22px);}
 .hero-inner {min-height:539px;}
 .hero-art {top:337px;}
 .toc-graphic {height:229px;}
}
@media(prefers-reduced-motion:reduce) {body,.field-cursor {transition:none;}.field-cursor {display:none;}}
html[data-motion-paused='true'] .field-cursor {display:none;}
@media print {
 .theme-toggle,.header-actions,.field-interact {display:none!important;}
 .hero-inner {min-height:0;padding-block:20px;}
 .toc-graphic {height:175px;}
 html[data-theme='dark'] body,html[data-theme='dark'] .section,html[data-theme='dark'] .toc-section,
 html[data-theme='dark'] .site-header,html[data-theme='dark'] .footer-shell,html[data-theme='dark'] .footer,
 html[data-theme='dark'] .toc-card,html[data-theme='dark'] .toc-card-meta,html[data-theme='dark'] .venture {background:#fff!important;color:#172c3b!important;}
 html[data-theme='dark'] p,html[data-theme='dark'] a,html[data-theme='dark'] h1,html[data-theme='dark'] h2,html[data-theme='dark'] h3,html[data-theme='dark'] span {color:#172c3b!important;}
}
/* Keep plain HTML navigation usable when scripts are unavailable. */
html:not(.js) .site-header .header-inner {flex-wrap:wrap;padding-block:10px;}
html:not(.js) #primary-nav {flex-wrap:wrap;}
@media(max-width:1050px){html:not(.js) #primary-nav {flex-basis:100%;}}
@media(max-width:600px){.toc-graphic{padding-inline:12px;}}
