/* White reading, original dark artwork, and generous unframed scene changes. */
html:has(.hp-hybrid) { background:#fff; color-scheme:light; scrollbar-color:#aeb8c0 #fff; }
body.editorial-page.hp-hybrid {
  --paper:#fff; --paper-strong:#fff; --ink:#172c39; --muted:#4b5e6a;
  --line:#dce2e6; --hp-body:#405461; --hp-rose:#a34363; --coral-dark:#a34363;
  --hp-sage:#326951; --hp-gold:#806026; --hp-blue:#3e6387; --hp-soft:#f5eef2;
  background:#fff; color:var(--ink); color-scheme:light;
}
.hp-hybrid #starfield,.hp-hybrid .cosmic-dust { visibility:hidden; opacity:0; }
.hp-hybrid .page-main,.hp-hybrid .editorial-layout,.hp-hybrid .editorial-article { background:transparent; }
.hp-hybrid .city-intro,.hp-hybrid .model-city-stage,.hp-hybrid .model-city-scene { background:#fff; }
.hp-hybrid ::selection { color:#fff; background:#a34363; }
.hp-hybrid .editorial-layout { padding-top:88px; }
.hp-hybrid .editorial-sidebar { background:#ffffffed; backdrop-filter:blur(12px); scrollbar-color:#c4b6bd #fff; }
.hp-hybrid .editorial-contents { border-color:#ac7186; }
.hp-hybrid .editorial-toc-link { color:#3b505e; }
.hp-hybrid .editorial-toc-number { color:#98536c; }
.hp-hybrid .editorial-toc-link:hover,.hp-hybrid .editorial-toc-link[aria-current="location"],
.hp-hybrid .hp-subcontents a:hover,.hp-hybrid .hp-subcontents a[aria-current="location"] { background:#f7edf1; color:#913c59; border-left-color:#a34363; }
.hp-hybrid .hp-subcontents { border-color:#e4dce1; }
.hp-hybrid .hp-subcontents a { color:#53626b; }
.hp-hybrid .editorial-back-top { color:#4b5e6a; }
.hp-hybrid .hp-chapter-opening h2,.hp-hybrid .editorial-prose > .hp-section-heading,
.hp-hybrid .editorial-prose > h4:not(.hp-phase),.hp-hybrid .hp-core-questions li { color:#172c39; }
.hp-hybrid .editorial-section-kicker { color:#a34363; }
.hp-hybrid .editorial-prose > p,.hp-hybrid .hp-interview-copy > p { color:#405461; }
.hp-hybrid #hp-framework .editorial-prose > .hp-framework-lead:first-child { color:#243e4c; }
.hp-hybrid .editorial-section strong { color:#233b49; }
.hp-hybrid .hp-interview-copy strong { color:#903d5a; }
.hp-hybrid .hp-subsection-number { background:#f8f2f5; border-color:#e1cdd5; color:#98425f; }
.hp-hybrid .hp-phase { color:#263e4b; }
.hp-hybrid .hp-phase-label { color:#9a3d5b; }
.hp-hybrid .hp-phase-integrate .hp-phase-label { color:#326951; }
.hp-hybrid .hp-phase-validate .hp-phase-label { color:#806026; }
.hp-hybrid .hp-speaker::after { color:#98425f; }
.hp-hybrid .hp-core-questions { border-color:#b47b8f; }
.hp-hybrid .hp-core-questions > p,.hp-hybrid .hp-source-caption,.hp-hybrid .hp-media-group figcaption { color:#566974; }
.hp-hybrid .hp-reflection { background:linear-gradient(105deg,#f4f5f8,#fafbfc); border-color:#b3768c; }
.hp-hybrid .hp-reflection-body > p { color:#405461; }
.hp-hybrid .hp-consent { background:#f7f8fa; border-color:#b3768c; }
.hp-hybrid .editorial-table th { color:#fff; background:#263e4d; }
.hp-hybrid .editorial-table td { color:#405461; }
.hp-hybrid .editorial-table tbody tr:nth-child(even) { background:#f7f9fa; }
.hp-hybrid .editorial-equation { background:#f7f9fa; }
.hp-hybrid .hp-plain-button { color:#3b515f; background:#f5f7f9; border-color:#ced7dd; }
.hp-hybrid .hp-plain-button:hover { color:#87334f; background:#f6eaf0; border-color:#b4778e; }
.hp-hybrid .hp-image-button::after { color:#647781; }
.hp-hybrid .hp-image-button:hover::after { color:#98425f; }

/* A scene reaches the right-hand page edge, without covering the contents rail.
   Its shallow paper-cut edge stays in empty padding, never across image labels. */
.hp-hybrid .hp-dark-stage {
  --ink:#edf2f6; --muted:#b8c8d4; --hp-rose:#edb2c9; --line:#33434f;
  --hp-scene-inset:clamp(18px,2.3vw,34px); --hp-scene-edge:22px;
  position:relative; isolation:isolate; min-width:0; padding:112px 0 116px; margin:62px 0 66px;
  color:#e4edf3; color-scheme:dark; scroll-margin-top:88px;
}
.hp-hybrid .hp-dark-stage::before {
  content:''; position:absolute; z-index:-1; top:0; bottom:0;
  left:calc(-1 * var(--hp-scene-inset)); right:calc(-1 * max(var(--editorial-gutter), (100vw - var(--editorial-shell))/2));
  background-color:#000;
  background-image:radial-gradient(ellipse at 75% 46%,#1d26352b,transparent 70%),var(--hp-stage-sky,none);
  background-size:100% 100%,auto var(--hp-sky-height,1000px);
  background-position:center,calc(50% + var(--hp-stage-pointer,0px)) calc(50% + var(--hp-stage-shift,0px));
  background-repeat:no-repeat,repeat-y;
  clip-path:polygon(0 var(--hp-scene-edge),100% 0,100% calc(100% - 22px),0 100%);
}
.hp-stage-content { min-width:0; }
.hp-hybrid .hp-dark-stage > .hp-stage-content { width:calc(100% + max(0px, (100vw - var(--editorial-shell))/2 - var(--editorial-gutter))); }
.hp-hybrid .hp-dark-stage .editorial-figure,.hp-hybrid .hp-dark-stage .hp-network,
.hp-hybrid .hp-dark-stage #hp-activity-timeline { margin:0; }
.hp-hybrid .hp-dark-stage .hp-diagram-toolbar { margin:0 0 18px; color:#b7c7d3; }
.hp-hybrid .hp-dark-stage .hp-widget-heading { margin:0 0 22px; }
.hp-hybrid .hp-dark-stage .hp-widget-heading h3 { color:#f0f3f5 !important; }
.hp-hybrid #hp-expert-network .hp-widget-heading { justify-content:flex-end; margin-bottom:14px; }
/* The original map already contains its title. Keep the semantic heading without
   making readers see the same title twice above the artwork. */
.hp-hybrid #hp-expert-network .hp-widget-heading h3 { position:absolute; width:1px; height:1px; padding:0; margin:-1px !important; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.hp-hybrid .hp-dark-stage figcaption { color:#b5c6d3; }
.hp-hybrid .hp-dark-stage > .hp-stage-content > figcaption { margin-top:22px; }
.hp-hybrid .hp-dark-stage .hp-plain-button,
.hp-hybrid .hp-dialog:is(.is-map,.is-image,.is-diagram) .hp-plain-button { color:#e3ecf3; background:#152130e8; border-color:#8999ae66; }
.hp-hybrid .hp-dark-stage .hp-plain-button:hover,
.hp-hybrid .hp-dialog:is(.is-map,.is-image,.is-diagram) .hp-plain-button:hover { background:#253447; border-color:#efb0c7; }
.hp-hybrid .hp-dark-stage .hp-image-button::after { color:#b1c5d6; }
.hp-hybrid .hp-dark-stage .hp-image-button:hover::after { color:#efb8cd; }
.hp-hybrid .hp-dark-stage .hp-expert-index { border-color:#34404b; }
.hp-hybrid .hp-dark-stage .hp-expert-index > summary { color:#bfccd5; }
.hp-hybrid .hp-dark-stage .hp-expert-names button { color:#dce5ed; border-color:#34404b; }
.hp-hybrid .hp-dark-stage .hp-expert-names button:hover { color:#efb8cd; }
.hp-hybrid .hp-dark-stage .hp-map-viewport { background:#000; }
.hp-hybrid .hp-dark-stage .hp-diagram-viewport { scrollbar-color:#718093 #10161e; }
.hp-hybrid .hp-dark-stage .hp-image-grid + .hp-image-grid { margin-top:30px; }
.hp-hybrid .hp-dark-stage .hp-media-diagram > .hp-interactive-figure + .hp-interactive-figure { margin-top:34px; }

.hp-hybrid .hp-stage-ready .hp-stage-content { opacity:.94; transform:translateY(18px); transition:transform .72s cubic-bezier(.22,.7,.25,1),opacity .6s ease; }
.hp-hybrid .hp-stage-ready.is-stage-entered .hp-stage-content { opacity:1; transform:none; }

/* Long profile/activity text returns to paper; expanded original artwork stays
   on a dark, stable viewer. The same dialog logic and focus behavior are used. */
.hp-hybrid .hp-dialog { color:#172c39; background:#fff; color-scheme:light; }
.hp-hybrid .hp-dialog-header { background:#fff; border-color:#e0e5e9; }
.hp-hybrid .hp-dialog-close:hover { background:#f7edf2; }
.hp-hybrid .hp-profile-portrait { background:#f5f7f9; }
.hp-hybrid .hp-profile-location,.hp-hybrid .hp-profile-summary,.hp-hybrid .hp-profile-source p,
.hp-hybrid .hp-event-body > p,.hp-hybrid .hp-image-description,.hp-hybrid .hp-gallery-counter { color:#405461; }
.hp-hybrid .hp-profile-source,.hp-hybrid .hp-event-meta,.hp-hybrid .hp-translation { border-color:#dce2e6; }
.hp-hybrid .hp-dialog:is(.is-map,.is-image,.is-diagram) {
  --ink:#edf2f6; --muted:#b8c8d4; --hp-rose:#edb2c9; --line:#33434f;
  background:#05090f; color:#edf2f6; color-scheme:dark;
}
.hp-hybrid .hp-dialog:is(.is-map,.is-image,.is-diagram) .hp-dialog-header { background:#0c141e; border-color:#2b3a46; }
.hp-hybrid .hp-dialog:is(.is-map,.is-image,.is-diagram) .hp-dialog-close:hover { background:#2b2330; }
.hp-hybrid .hp-dialog:is(.is-map,.is-image,.is-diagram) .hp-image-description,
.hp-hybrid .hp-dialog:is(.is-map,.is-image,.is-diagram) .hp-gallery-counter { color:#bdcad4; }
.hp-hybrid .site-footer { background:#07121c; }

@media (max-width:960px) {
  .hp-hybrid .hp-dark-stage { --hp-scene-inset:14px; padding-block:100px; margin-block:46px; }
}
@media (max-width:700px) {
  .hp-hybrid .editorial-layout { padding-top:36px; }
  .hp-hybrid .editorial-sidebar { background:#fffffff5; box-shadow:0 5px 14px #192b3810; }
  .hp-hybrid .hp-dark-stage { --hp-scene-inset:var(--editorial-gutter); --hp-scene-edge:14px; padding-block:78px 84px; margin-block:34px 38px; }
  .hp-hybrid .hp-dark-stage::before { clip-path:polygon(0 var(--hp-scene-edge),100% 0,100% calc(100% - 14px),0 100%); }
  .hp-hybrid .hp-dark-stage .hp-widget-heading { align-items:center; }
  .hp-hybrid .hp-dark-stage .hp-widget-heading h3 { font-size:30px !important; }
  .hp-hybrid .hp-stage-ready .hp-stage-content { transform:translateY(10px); }
  .hp-hybrid .hp-stage-ready.is-stage-entered .hp-stage-content { transform:none; }
}
@media (prefers-reduced-motion:reduce) {
  .hp-hybrid .hp-stage-ready .hp-stage-content { opacity:1; transform:none; transition:none; }
}
@media print {
  .hp-hybrid .hp-dark-stage { margin-block:22px; padding-block:20px; break-inside:avoid; }
  .hp-hybrid .hp-dark-stage::before { inset:0; clip-path:none; background-image:none; }
  .hp-hybrid .hp-stage-ready .hp-stage-content { opacity:1; transform:none; }
}
