/* A shared night palette for the home page, project stories, and about page. */
html[data-theme="dark"]{color-scheme:dark;--paper:#101b27;--ink:#eaf1f2;--muted:#b4c5ce;--line:#344653;--teal:#83d4d7;--plum:#e2a5d8;--olive:#c9d187}
html[data-theme="dark"] body{background:#101b27;color:#eaf1f2}
html[data-theme="dark"] .topbar,html[data-theme="dark"] .rail{background:#142331;border-color:#344653}
html[data-theme="dark"] .rail a:before{background:#142331;border-color:#76909a}
html[data-theme="dark"] .rail a.active:before{background:#e2a5d8;border-color:#e2a5d8;box-shadow:0 0 0 4px #142331}
html[data-theme="dark"] .rail:before{background:#516673}
html[data-theme="dark"] .top-sub,html[data-theme="dark"] .location{color:#c2d0d8;border-color:#526571}
html[data-theme="dark"] .theme,html[data-theme="dark"] .back-top{background:#203545;border-color:#627c89;color:#d9eff0;opacity:1;cursor:pointer}
html[data-theme="dark"] .theme:hover,html[data-theme="dark"] .back-top:hover{background:#2c4b59}
html[data-theme="dark"] .theme:focus-visible{outline-color:#e2a5d8}
html[data-theme="dark"] .hero,html[data-theme="dark"] .case-page,html[data-theme="dark"] .case-brief,html[data-theme="dark"] .case-story,html[data-theme="dark"] .approach-panel{background:#101b27}
html[data-theme="dark"] .hero-media:before{background:linear-gradient(90deg,#101b27 0%,rgba(16,27,39,.92) 12%,rgba(16,27,39,0) 42%)}
html[data-theme="dark"] .case-hero{background:#101b27}
html[data-theme="dark"] .case-hero:before{background:linear-gradient(90deg,#101b27 0%,#101b27 34%,rgba(16,27,39,.95) 42%,rgba(16,27,39,.1) 67%,transparent 85%)}
@media(max-width:800px){html[data-theme="dark"] .case-hero:before{background:linear-gradient(180deg,#101b27 0%,#101b27 48%,transparent 80%)}}
@media(max-width:767px){html[data-theme="dark"] .hero-media:before{content:none}}
html[data-theme="dark"] .hero-copy h1,html[data-theme="dark"] .hero-copy p,html[data-theme="dark"] .case-hero h1,html[data-theme="dark"] .brief-heading h1{color:#eaf1f2}
html[data-theme="dark"] .hero-copy h1 .word-plum,html[data-theme="dark"] .explore-card h3 .emphasis,html[data-theme="dark"] .case-hero h1 em{color:#e2a5d8}
html[data-theme="dark"] .hero-copy h1 .word-teal,html[data-theme="dark"] .explore-card:nth-child(2) h3 .emphasis,html[data-theme="dark"] .explore-card:nth-child(5) h3 .emphasis{color:#83d4d7}
html[data-theme="dark"] .hero-copy h1 .word-olive,html[data-theme="dark"] .explore-card:nth-child(3) h3 .emphasis,html[data-theme="dark"] .explore-card:nth-child(6) h3 .emphasis{color:#c9d187}
html[data-theme="dark"] .hero-card,html[data-theme="dark"] .case-hero-panel{background:rgba(4,21,31,.94)}
html[data-theme="dark"] .btn.primary,html[data-theme="dark"] .button.primary{background:#90d5d7;color:#09232c}
html[data-theme="dark"] .btn.secondary,html[data-theme="dark"] .button.secondary{background:#203545;color:#d1edef}
html[data-theme="dark"] .focus p,html[data-theme="dark"] .about-copy p,html[data-theme="dark"] .explore-card p,html[data-theme="dark"] .summary-layout p,html[data-theme="dark"] .work-row p,html[data-theme="dark"] .project-list{color:#bdccd5}
html[data-theme="dark"] .focus h2,html[data-theme="dark"] .explore-group h2,html[data-theme="dark"] .explorer-sidebar .focus h2{color:#e2a5d8}
html[data-theme="dark"] .filter-intro{background:#165263}
html[data-theme="dark"] .filter-family legend,html[data-theme="dark"] .filter-buttons button,html[data-theme="dark"] .focus-description,html[data-theme="dark"] .work-results{color:#e0eaee}
html[data-theme="dark"] .filter-buttons button:hover{background:#263d4c}
html[data-theme="dark"] .filter-buttons button[aria-pressed="true"],html[data-theme="dark"] .filter-buttons button[aria-pressed="true"]:hover{background:#2d7180;color:#fff;border-color:#2d7180}
html[data-theme="dark"] .filter-buttons button svg.icon{color:#e2a5d8}
html[data-theme="dark"] .filter-family:nth-of-type(2) .filter-buttons button svg.icon{color:#83d4d7}
html[data-theme="dark"] .focus-description,html[data-theme="dark"] .work-results{background:#1e3441;border-color:#83d4d7}
html[data-theme="dark"] .focus-description strong,html[data-theme="dark"] #result-count,html[data-theme="dark"] #clear-filters{color:#9ee0e1}
html[data-theme="dark"] .explore-card,html[data-theme="dark"] .card,html[data-theme="dark"] .journey-card,html[data-theme="dark"] .work-cluster{background:#1b2c3a;border-color:#785679}
html[data-theme="dark"] .explore-card h3,html[data-theme="dark"] .card strong,html[data-theme="dark"] .journey-card strong{color:#eaf1f2}
html[data-theme="dark"] .industry-pill{background:#443044;color:#f2c4e8}
html[data-theme="dark"] .card-challenges .technical-pill{background:#214552;color:#b8e8e9}
html[data-theme="dark"] .company-name,html[data-theme="dark"] .card-meta,html[data-theme="dark"] .journey-card-meta{color:#adbfca}
html[data-theme="dark"] .supporting-card,html[data-theme="dark"] .summary-note,html[data-theme="dark"] .note,html[data-theme="dark"] #empty-work{background:#213340;border-color:#4e6470;color:#d7e3e8}
html[data-theme="dark"] .supporting-card .card-action,html[data-theme="dark"] .section-head a{color:#eab2df}
html[data-theme="dark"] .card-action{background:#a8509f}
html[data-theme="dark"] .card-action:hover{background:#c167b6}
html[data-theme="dark"] .journey-related{background:#142431;border-color:#344653}
html[data-theme="dark"] .journey-explorer,html[data-theme="dark"] .journey-context{background:#1c3340;border-color:#557987}
html[data-theme="dark"] .journey-explorer-head h2,html[data-theme="dark"] .journey-explorer-subhead h3,html[data-theme="dark"] .journey-context h2,html[data-theme="dark"] .journey-related h2,html[data-theme="dark"] .journey-explorer-family h4{color:#a5e0e2}
html[data-theme="dark"] .journey-explorer-intro,html[data-theme="dark"] .journey-intro,html[data-theme="dark"] .journey-explorer-row-copy span,html[data-theme="dark"] .journey-filter-copy span,html[data-theme="dark"] .journey-card-summary,html[data-theme="dark"] .journey-explorer-empty{color:#b8cbd4}
html[data-theme="dark"] .journey-explorer-row,html[data-theme="dark"] .journey-filter-copy strong{color:#edf4f5}
html[data-theme="dark"] .journey-explorer-row:hover,html[data-theme="dark"] .journey-explorer .journey-filter-option:hover{background:#274551}
html[data-theme="dark"] .journey-explorer .journey-filter-option[aria-pressed="true"],html[data-theme="dark"] .journey-pills span{background:#2a5461;color:#e7f7f7}
html[data-theme="dark"] .journey-explorer-head a,html[data-theme="dark"] .journey-text-action,html[data-theme="dark"] .journey-actions a,html[data-theme="dark"] .journey-bottom-actions a,html[data-theme="dark"] .journey-card-action{color:#9ee0e1}
html[data-theme="dark"] .journey-supporting{background:#203440;border-color:#536674}
html[data-theme="dark"] .journey-supporting a,html[data-theme="dark"] .journey-supporting h3{color:#c3d4da}
html[data-theme="dark"] .case-kicker,html[data-theme="dark"] .case-label,html[data-theme="dark"] .case-glance h2,html[data-theme="dark"] .related-areas h2,html[data-theme="dark"] .case-brief h2,html[data-theme="dark"] .case-brief h3{color:#9ee0e1}
html[data-theme="dark"] .case-hero-copy p,html[data-theme="dark"] .brief-hook,html[data-theme="dark"] .brief-overview>p,html[data-theme="dark"] .brief-contribution p,html[data-theme="dark"] .brief-context dd,html[data-theme="dark"] .brief-evidence p,html[data-theme="dark"] .brief-beyond p,html[data-theme="dark"] .story-copy p,html[data-theme="dark"] .story-callout,html[data-theme="dark"] .case-field-notes p,html[data-theme="dark"] .case-story-header p{color:#c0d0d8}
html[data-theme="dark"] .brief-context dt,html[data-theme="dark"] .story-copy strong,html[data-theme="dark"] .deep-question{color:#eaf1f2}
html[data-theme="dark"] .case-tags li,html[data-theme="dark"] .brief-context .case-tags li,html[data-theme="dark"] .status,html[data-theme="dark"] .skills li{background:#2a3d4b;color:#d5e4e9;border-color:#5b7380}
html[data-theme="dark"] .case-glance,html[data-theme="dark"] .case-context,html[data-theme="dark"] .target-themes,html[data-theme="dark"] .story-section{border-color:#344653}
html[data-theme="dark"] .target-theme-grid article,html[data-theme="dark"] .target-approach-grid article,html[data-theme="dark"] .target-impact-grid article,html[data-theme="dark"] .problem-inputs article,html[data-theme="dark"] .problem-related a,html[data-theme="dark"] .problem-conclusion,html[data-theme="dark"] .impact-evidence,html[data-theme="dark"] .comparison-card,html[data-theme="dark"] .deep-problem-note,html[data-theme="dark"] .deep-impact-links a,html[data-theme="dark"] .story-facts>div,html[data-theme="dark"] .story-flow span{background:#1d303e;border-color:#4b6270;color:#eaf1f2}
html[data-theme="dark"] .story-callout,html[data-theme="dark"] .story-callout.gold,html[data-theme="dark"] .story-callout.purple,html[data-theme="dark"] .approach-principle,html[data-theme="dark"] .approach-panel>.approach-principle,html[data-theme="dark"] .problem-takeaway,html[data-theme="dark"] .deep-factors>div,html[data-theme="dark"] .deep-approach .deep-approach-question{background:#233a47;color:#e0edef;border-color:#526b78}
html[data-theme="dark"] .target-theme-grid p,html[data-theme="dark"] .target-approach-grid p,html[data-theme="dark"] .target-impact-grid p,html[data-theme="dark"] .story-facts span,html[data-theme="dark"] .glance-summary p,html[data-theme="dark"] .impact-grid p,html[data-theme="dark"] .impact-evidence p,html[data-theme="dark"] .case-context p,html[data-theme="dark"] .case-chapters p,html[data-theme="dark"] .approach-intro p,html[data-theme="dark"] .problem-heading p,html[data-theme="dark"] .impact-head p{color:#bbccd5}
html[data-theme="dark"] .case-context a,html[data-theme="dark"] .related-areas a,html[data-theme="dark"] .target-theme-grid a,html[data-theme="dark"] .target-approach-grid a,html[data-theme="dark"] .target-impact-grid a,html[data-theme="dark"] .artifact-links a,html[data-theme="dark"] .deep-impact-links a{color:#9ee0e1}
html[data-theme="dark"] .impact-grid strong,html[data-theme="dark"] .impact-evidence strong,html[data-theme="dark"] .brief-evidence strong{color:#e2a5d8}
html[data-theme="dark"] .impact-grid>div:nth-child(2) strong,html[data-theme="dark"] .impact-evidence>div:nth-child(2) strong{color:#c9d187}
html[data-theme="dark"] .impact-grid>div:nth-child(n+3) strong,html[data-theme="dark"] .impact-evidence>div:nth-child(n+3) strong{color:#83d4d7}
html[data-theme="dark"] .process h3,html[data-theme="dark"] .deep-approach-question p{color:#eaf1f2}
html[data-theme="dark"] .process ul,html[data-theme="dark"] .process p,html[data-theme="dark"] .problem-inputs ul,html[data-theme="dark"] .problem-related a span,html[data-theme="dark"] .comparison-card p{color:#bdcdd5}
html[data-theme="dark"] .process-number,html[data-theme="dark"] .approach-pillars>div:before,html[data-theme="dark"] .evidence-list span{background:#334c59;color:#cbeaec}
html[data-theme="dark"] .summary-layout .summary-lead{color:#e2edef}
html[data-theme="dark"] .summary-back,html[data-theme="dark"] .summary-label{color:#a6dcdf}
html[data-theme="dark"] .about-page{background:#101b27}
html[data-theme="dark"] .about-intro h1,html[data-theme="dark"] .about-education strong{color:#eaf1f2}
html[data-theme="dark"] .about-lead,html[data-theme="dark"] .about-story p,html[data-theme="dark"] .about-timeline p,html[data-theme="dark"] .capability-grid p,html[data-theme="dark"] .about-education p,html[data-theme="dark"] .about-timeline h2 span{color:#beced6}
html[data-theme="dark"] .about-section-label,html[data-theme="dark"] .about-timeline a,html[data-theme="dark"] .about-next a{color:#9ee0e1}
html[data-theme="dark"] .about-intro .eyebrow,html[data-theme="dark"] .about-years{color:#e2a5d8}
html[data-theme="dark"] .about-next a:last-child{background:#83d4d7;color:#102734}
html[data-theme="dark"] .about-next a{border-color:#83d4d7}
html[data-theme="dark"] .about-section-head h2,html[data-theme="dark"] .leadership-grid h3,html[data-theme="dark"] .complexity-list h3,html[data-theme="dark"] .complexity-list article p strong,html[data-theme="dark"] .complexity-note{color:#eaf1f2}
html[data-theme="dark"] .about-section-head p,html[data-theme="dark"] .leadership-grid p,html[data-theme="dark"] .complexity-list p{color:#beced6}
html[data-theme="dark"] .leadership-grid article{background:#172b37;border-color:#35505d}
html[data-theme="dark"] .leadership-grid span,html[data-theme="dark"] .complexity-list article span,html[data-theme="dark"] .complexity-list article a,html[data-theme="dark"] .about-jump a{color:#9ee0e1}
html[data-theme="dark"] .about-jump a{border-color:#486875}html[data-theme="dark"] .about-jump a:hover,html[data-theme="dark"] .about-jump a:focus-visible{background:#203743}
