/* Home's original sky, behind a quieter long-form reading composition. */
html:has(.hp-dark) { scrollbar-gutter:stable; }
/* Home's body-level defaults, scoped here to its shared navigation only. */
body.hp-page .site-nav { font-size:20px; }
body.hp-page .site-nav .menu-toggle { color:#fff; }
body.editorial-page.hp-dark { isolation:isolate; background:#000; --hp-body:#c3ccd6; }
.hp-dark #starfield { position:fixed; inset:0; width:100%; height:100%; pointer-events:none; z-index:-2; background:#000; }
.hp-dark .cosmic-dust { position:fixed; inset:0; pointer-events:none; z-index:-1; background:radial-gradient(ellipse at 20% 45%,rgba(93,117,151,.04),transparent 45%),radial-gradient(ellipse at 92% 95%,rgba(159,69,30,.055),transparent 40%); }
.hp-dark .page-main,.hp-dark .editorial-layout { background:transparent; }
.hp-dark .editorial-article { position:relative; background:linear-gradient(90deg,transparent,#060b1280 3%,#060b1290 97%,transparent); }
.hp-dark .editorial-layout { --editorial-column-gap:clamp(36px,4.2vw,64px); padding-top:88px; }
.hp-dark .editorial-sidebar { background:#080d14d9; padding:0 10px 12px 0; backdrop-filter:blur(12px); }
.hp-dark .editorial-toc-link { font-size:15px; font-weight:550; padding-block:11px; }
.hp-dark .editorial-contents { border-top:1px solid #a97689; }
.hp-dark .editorial-contents > summary { padding-block:18px; }
.hp-dark .hp-subcontents summary { font-size:10px; font-weight:500; }
.hp-dark .hp-sidebar-shortcuts { padding-top:22px; }
.hp-dark .hp-chapter-opening { margin-bottom:30px; }
.hp-dark .hp-chapter-opening h2 { font-size:clamp(40px,3.8vw,57px); line-height:1.12; text-wrap:balance; }
.hp-dark .editorial-section-kicker { color:#c99bad; margin-bottom:14px; letter-spacing:.14em; }
.hp-dark .editorial-section { padding-block:64px 72px; }
.hp-dark .editorial-prose > p,.hp-dark .hp-interview-copy > p { font-size:17px; line-height:1.9; }
.hp-dark .editorial-prose > p { margin-top:24px; }
.hp-dark #hp-framework .editorial-prose > .hp-framework-lead:first-child { font-size:clamp(25px,2.1vw,31px); line-height:1.5; color:#e2e6e9; }
.hp-dark .editorial-prose > .hp-section-heading { grid-template-columns:40px minmax(0,1fr); align-items:center; gap:18px; margin:58px 0 25px; font:550 clamp(23px,2vw,28px)/1.42 'Segoe UI',Arial,sans-serif; letter-spacing:-.015em; }
.hp-dark .hp-subsection-number { display:grid; place-items:center; width:36px; min-height:34px; color:#e4b1c3; background:#b1788c14; border:1px solid #89647965; font:600 11px/1.2 'Segoe UI',Arial,sans-serif; }
.hp-dark .editorial-prose > h4:not(.hp-phase) { font:550 clamp(21px,1.75vw,25px)/1.5 'Segoe UI',Arial,sans-serif; }
.hp-dark .hp-phase { grid-template-columns:84px minmax(0,1fr); align-items:start; gap:18px; margin:35px 0 20px; font:500 clamp(19px,1.65vw,23px)/1.5 'Segoe UI',Arial,sans-serif; color:#dce5eb; }
.hp-dark .hp-phase-label { padding-top:6px; font-size:10px; line-height:1.6; }
.hp-dark .hp-phase-label::before { display:none; }
.hp-dark .hp-interview-note { gap:24px; margin-block:30px 34px; padding-block:8px; }
.hp-dark .hp-interview-copy strong { color:#f1d4df; }
.hp-dark .hp-speaker::after { content:'Profile ↗'; display:block; margin-top:9px; color:#e8b6c9; font:550 10px/1.5 'Segoe UI',Arial,sans-serif; text-align:left; }
.hp-dark .hp-reflection { margin-top:42px; border-top:1px solid #9d6f83; background:linear-gradient(105deg,#221a24d9,#0e1720c9); }
.hp-dark .hp-reflection > summary { padding:24px; font-size:25px; }
.hp-dark .hp-reflection-body { padding-bottom:26px; }
.hp-dark .hp-media-group { margin-block:34px 42px; }

/* Visible controls are real links/buttons; they never rely on a hover alone. */
.hp-dark .hp-plain-button { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:38px; padding:9px 14px; border:1px solid #8999ae66; background:#152130e8; color:#e1e9f2; font-size:11px !important; font-weight:600 !important; text-decoration:none; transition:background .2s,border-color .2s,transform .2s; }
.hp-dark .hp-plain-button > span { margin:0; }
.hp-dark .hp-plain-button:hover { background:#253447; border-color:#efb0c7; transform:translateY(-1px); }
.hp-dark .hp-diagram-toolbar { gap:18px; margin-bottom:13px; font-size:11px; }
.hp-dark .hp-diagram-spot::after { display:none; }
.hp-dark .hp-diagram-spot { border-color:#c2cddd30; }
.hp-dark .hp-node-control { position:absolute; top:2px; right:2px; display:grid; place-items:center; width:22px; height:22px; border:1px solid #9aabc37a; background:#142236f2; color:#e4edf8; font:500 15px/1 'Segoe UI',Arial,sans-serif; box-shadow:0 2px 6px #0006; transition:background .18s,border-color .18s,transform .18s; }
.hp-dark .hp-diagram-spot:hover .hp-node-control,.hp-dark .hp-diagram-spot:focus-visible .hp-node-control { color:#101520; background:#e9bdd0; border-color:#f8d6e3; transform:translate(1px,-1px); }
.hp-dark .hp-diagram-exploration .hp-node-control { top:auto; bottom:2px; width:19px; height:19px; font-size:13px; }
.hp-dark .hp-timeline-image-column .hp-diagram-spot { border-color:transparent; }
.hp-dark .hp-timeline-image-column .hp-node-control { top:auto; bottom:2px; right:1px; width:20px; height:20px; background:#142236ef; color:var(--hp-node-color); }
.hp-dark .hp-timeline-image-column .hp-diagram-spot:hover,.hp-dark .hp-timeline-image-column .hp-diagram-spot:focus-visible { border-color:var(--hp-node-color); }
.hp-dark .hp-expert-hotspot { border-color:#b3c4d042; }
.hp-dark .hp-map-action { position:absolute; bottom:2px; right:2px; display:grid; place-items:center; width:20px; height:20px; border:1px solid #a7b6c465; background:#17273de8; color:#e8c2d2; font:500 15px/1 'Segoe UI',Arial,sans-serif; }
.hp-dark .hp-expert-hotspot:hover .hp-map-action,.hp-dark .hp-expert-hotspot:focus-visible .hp-map-action { color:#101520; background:#e9bdd0; }
.hp-dark .hp-image-button::after { content:'View image ↗'; display:block; padding:9px 0 0; color:#aec5d8; font:550 10px/1.4 'Segoe UI',Arial,sans-serif; text-align:right; }
.hp-dark .hp-image-button:hover::after { color:#f1bed1; }
.hp-dark .hp-image-button:active,.hp-dark .hp-speaker:active { opacity:.85; }
.hp-dark .site-footer { background:#070d15e8; }

@media (max-width:1050px) {
  .hp-dark .editorial-layout { --editorial-column-gap:28px; }
}
@media (max-width:700px) {
  .hp-dark .editorial-layout { padding-top:30px; }
  .hp-dark .editorial-sidebar { padding:0; background:#0c1420ed; }
  .hp-dark .hp-chapter-opening h2 { font-size:40px; }
  .hp-dark .editorial-section { padding-block:40px 50px; }
  .hp-dark .editorial-prose > p,.hp-dark .hp-interview-copy > p { font-size:16px; line-height:1.9; }
  .hp-dark .editorial-prose > .hp-section-heading { grid-template-columns:32px minmax(0,1fr); gap:12px; font-size:22px; margin-top:43px; }
  .hp-dark .hp-subsection-number { width:30px; min-height:30px; font-size:10px; }
  .hp-dark .hp-phase { display:block; font-size:20px; }
  .hp-dark .hp-phase-label { display:block; padding:0; margin:0 0 7px; }
  .hp-dark .hp-plain-button { min-height:38px; padding:8px 10px; font-size:10px !important; }
  .hp-dark .hp-diagram-toolbar > span { max-width:180px; }
  .hp-dark .hp-speaker::after { margin-top:5px; font-size:9px; }
  .hp-dark .hp-reflection > summary { padding:19px; font-size:23px; }
}
@media (prefers-reduced-motion:reduce) {
  .hp-dark .hp-plain-button,.hp-dark .hp-node-control { transition:none; }
}
@media print {
  .hp-dark #starfield,.hp-dark .cosmic-dust,.hp-dark .hp-node-control,.hp-dark .hp-map-action { display:none; }
  .hp-dark .editorial-article { background:transparent; }
}
