/* Charcoal dark mode. Yellow accent. Light colors are unchanged outside this query. */
html[data-theme="dark"] {
    color-scheme: dark;
    --ink: #F5F5F7;
    --blue: #ffe100;
    --brand: #ffe100;
    --muted: #AAB4DC;
    --line: #2A2D34;
    --surface: #1B1D22;
    --cobalt: #ffe100;
    --cobalt-hover: #ffe100;
    --cobalt-pale: #1B1D22;
    --cobalt-tint: #1B1D22;
    --muted-2: #AAB4DC;
    --border: #2A2D34;
    --border-pale: #2A2D34;
    --white: #1B1D22;
    --bg: #111214;
    --bg-alt: #1B1D22;
    --h-blue: #ffe100;
    --h-ink: #F5F5F7;
    --h-muted: #AAB4DC;
    --h-line: #2A2D34;
    --h-tint: #1B1D22;
    --n-blue: #ffe100;
    --n-ink: #F5F5F7;
    --n-muted: #AAB4DC;
    --n-line: #2A2D34;
    --n-tint: #1B1D22;
  }

html[data-theme="dark"],
html[data-theme="dark"] body {
    background: #111214;
    color: #F5F5F7;
  }

html[data-theme="dark"] .hn-bar {
    background: rgba(17, 18, 20, 0.94);
    border-bottom-color: #2A2D34;
  }

html[data-theme="dark"] .hn-nav a { color: #AAB4DC; }

html[data-theme="dark"] .hn-nav a:hover,
html[data-theme="dark"] .hn-nav a.active { color: #ffe100; background: #1B1D22; }

html[data-theme="dark"] .hn-cta {
    background: #1B1D22;
    color: #ffe100;
    border-color: #ffe100;
  }

html[data-theme="dark"] .hn-cta:hover { background: #1B1D22; }

html[data-theme="dark"] .hn-cta.hn-cta-primary {
    background: #EED200;
    color: #101633;
    border-color: #EED200;
  }

html[data-theme="dark"] .hn-cta.hn-cta-primary:hover { background: #FFE100; color: #101633; }

html[data-theme="dark"] .hn-cta.hn-cta-quiet {
    background: transparent;
    color: #AAB4DC;
    border-color: transparent;
  }

html[data-theme="dark"] .hn-cta.hn-cta-quiet:hover { background: #1B1D22; color: #ffe100; }

html[data-theme="dark"] .hx-persona-card-primary .hx-persona-h3 { color: #F5F7FF; }
html[data-theme="dark"] .hx-persona-card-primary .hx-persona-p { color: #d5dcf8; }
html[data-theme="dark"] .hx-persona-card-primary .hx-persona-link { color: #FFE100; }
html[data-theme="dark"] .hx-offer-inner,
html[data-theme="dark"] .hx-offer-inner h2 { color: #F5F7FF; }
html[data-theme="dark"] .hx-offer-inner p { color: #d5dcf8; }
html[data-theme="dark"] .hx-offer-inner .eyebrow { color: #FFE100; }

html[data-theme="dark"] .testimonials-section {
    background: #111214;
    color: #F5F7FF;
    border-top-color: #2A2D34;
  }
html[data-theme="dark"] .about-page .testimonials-section h2 {
    color: #F5F7FF;
  }
html[data-theme="dark"] .about-page .testimonials-section .testimonials-header p {
    color: #AAB4DC;
  }
html[data-theme="dark"] .testimonial-card {
    background: #1B1D22;
    color: #F5F7FF;
    border-color: #2A2D34;
  }
html[data-theme="dark"] .testimonial-card:hover { box-shadow: none; }
html[data-theme="dark"] .testimonial-quote,
html[data-theme="dark"] .testimonial-author-name { color: #F5F7FF; }
html[data-theme="dark"] .testimonial-author-title { color: #AAB4DC; }
html[data-theme="dark"] .testimonial-author-block { border-top-color: #2A2D34; }
html[data-theme="dark"] .testimonial-role-badge { color: #101633; background: #FFE100; }

html[data-theme="dark"] .hn-pulse { background: #ffe100; }

html[data-theme="dark"] .hx-drawer { background: #1B1D22; color: #F5F5F7; border-color: #2A2D34; }

html[data-theme="dark"] .hx-overlay { background: rgba(17, 18, 20, 0.72); }

html[data-theme="dark"] .hx-drawer-head,
html[data-theme="dark"] .hx-drawer-nav-section { border-color: #2A2D34; }

html[data-theme="dark"] a:focus-visible,
html[data-theme="dark"] button:focus-visible,
html[data-theme="dark"] input:focus-visible,
html[data-theme="dark"] select:focus-visible,
html[data-theme="dark"] textarea:focus-visible,
html[data-theme="dark"] summary:focus-visible {
    outline: 3px solid #ffe100;
    outline-offset: 3px;
  }

html[data-theme="dark"] .button,
html[data-theme="dark"] .btn-cobalt,
html[data-theme="dark"] .hx-drawer-cta-primary,
html[data-theme="dark"] .case-layout .case-chip-primary,
html[data-theme="dark"] .case-badge,
html[data-theme="dark"] .choice-options input:checked + span {
    background: #ffe100;
    color: #111214;
    border-color: #ffe100;
  }

html[data-theme="dark"] .button:hover,
html[data-theme="dark"] .btn-cobalt:hover,
html[data-theme="dark"] .case-layout .case-chip-primary:hover {
    background: #ffe100;
    color: #111214;
  }

html[data-theme="dark"] .btn-ghost,
html[data-theme="dark"] .btn-outline,
html[data-theme="dark"] .hx-drawer-cta-secondary,
html[data-theme="dark"] .case-layout .case-chip {
    background: #1B1D22;
    color: #ffe100;
    border-color: #2A2D34;
  }

html[data-theme="dark"] .text-link,
html[data-theme="dark"] .breadcrumb a,
html[data-theme="dark"] .service a,
html[data-theme="dark"] .hn-nav a.active,
html[data-theme="dark"] h1 span,
html[data-theme="dark"] h2 span,
html[data-theme="dark"] .hx-h1 span {
    color: #ffe100;
  }

html[data-theme="dark"] main p a:not(.button),
html[data-theme="dark"] main li a:not(.button):not(.wi-card):not(.home-card-link):not(.svc-link),
html[data-theme="dark"] .case-layout p a:not(.button):not(.case-chip):not(.case-chip-primary),
html[data-theme="dark"] .case-layout li a:not(.button):not(.case-chip):not(.case-chip-primary),
html[data-theme="dark"] .reading a:not(.button) {
    color: #ffe100;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

html[data-theme="dark"] footer,
html[data-theme="dark"] footer.centered-footer {
    background: #111214;
    color: #AAB4DC;
  }

html[data-theme="dark"] .centered-footer .footer-bottom,
html[data-theme="dark"] footer { border-color: #2A2D34; }

html[data-theme="dark"] .centered-footer .footer-logo img {
    content: url("/assets/logo-footer-transparent.png");
    filter: brightness(0) invert(0.96);
  }

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
    background: #1B1D22;
    color: #F5F5F7;
    border-color: #2A2D34;
  }

html[data-theme="dark"] .header,
html[data-theme="dark"] .header.is-dark,
html[data-theme="dark"] .header.is-dark nav {
    background: #111214;
    color: #F5F5F7;
    border-color: #2A2D34;
  }

html[data-theme="dark"] .header.is-dark nav a:hover,
html[data-theme="dark"] .header.is-dark nav a[aria-current="page"] { color: #ffe100; }

html[data-theme="dark"] .hero-loader { background: #111214; color: #F5F5F7; }

html[data-theme="dark"] .founder { background: #1B1D22; color: #F5F5F7; }

html[data-theme="dark"] .founder h2 span,
html[data-theme="dark"] .founder .eyebrow,
html[data-theme="dark"] .founder .split > div > p:not(.eyebrow):not(.founder-name) { color: #AAB4DC; }

html[data-theme="dark"] .offering-section,
html[data-theme="dark"] .services,
html[data-theme="dark"] .contact,
html[data-theme="dark"] .enquiry-section,
html[data-theme="dark"] .service,
html[data-theme="dark"] .workshop-card,
html[data-theme="dark"] .resource-card,
html[data-theme="dark"] .demo-form,
html[data-theme="dark"] #project-brief {
    background: #1B1D22;
    color: #F5F5F7;
    border-color: #2A2D34;
  }

html[data-theme="dark"] .offering { border-color: #2A2D34; }

html[data-theme="dark"] .case-layout {
    --case-blue: #ffe100;
    --case-ink: #F5F5F7;
    --case-muted: #AAB4DC;
    --case-line: #2A2D34;
    --case-tint: #1B1D22;
    color: #F5F5F7;
  }

html[data-theme="dark"] .case-study section { border-color: #2A2D34; }

html[data-theme="dark"] .case-layout .case-eyebrow,
html[data-theme="dark"] .case-layout .case-note,
html[data-theme="dark"] .case-layout .case-constraints li,
html[data-theme="dark"] .case-layout .case-oir > div,
html[data-theme="dark"] .case-steps li > span,
html[data-theme="dark"] .case-dcards li > span,
html[data-theme="dark"] .case-layout .case-seq li > p:first-child,
html[data-theme="dark"] .case-steps-auto li::before {
    background: #1B1D22;
    color: #ffe100;
  }

html[data-theme="dark"] .case-chapters {
    background: rgba(17, 18, 20, 0.94);
    border-color: #2A2D34;
  }

html[data-theme="dark"] .case-layout .case-meta > div,
html[data-theme="dark"] .case-layout .case-frame,
html[data-theme="dark"] .case-layout .case-glance-grid > div,
html[data-theme="dark"] .case-layout .case-options li,
html[data-theme="dark"] .case-layout .case-cards3 li,
html[data-theme="dark"] .case-layout .case-outcome-grid article,
html[data-theme="dark"] .case-layout .case-gallery figure,
html[data-theme="dark"] .case-layout .case-reels figure,
html[data-theme="dark"] .case-layout .case-gallery > figure,
html[data-theme="dark"] .case-layout .case-dcards li,
html[data-theme="dark"] .case-layout .case-seq li,
html[data-theme="dark"] .case-chapter,
html[data-theme="dark"] .case-layout .case-brief-grid > section,
html[data-theme="dark"] .case-layout .case-surface,
html[data-theme="dark"] .case-layout .case-glance {
    background: #1B1D22;
    color: #F5F5F7;
    border-color: #2A2D34;
  }

html[data-theme="dark"] .case-layout .case-options li.case-chosen { background: #1B1D22; color: #F5F5F7; }

html[data-theme="dark"] .case-layout .case-result {
    background: #111214;
    color: #F5F5F7;
    border: 1px solid #2A2D34;
  }

html[data-theme="dark"] .case-cta-band {
    background: #1B1D22;
    color: #F5F5F7;
    border: 1px solid #2A2D34;
  }

html[data-theme="dark"] .case-layout .case-cta-band .case-chip-primary {
    background: #ffe100;
    color: #111214;
    border-color: #ffe100;
  }

html[data-theme="dark"] .case-layout .case-chip { color: #ffe100; }

html[data-theme="dark"] .case-study a {
    color: #ffe100;
    text-decoration: underline;
    text-underline-offset: 0.15em;
  }

html[data-theme="dark"] .case-study a.case-chip,
html[data-theme="dark"] .case-study a.button,
html[data-theme="dark"] .case-study a.case-chip-primary {
    text-decoration: none;
  }

html[data-theme="dark"] .case-study a:focus-visible { outline-color: #ffe100; }

html[data-theme="dark"] body .et-pill,
html[data-theme="dark"] body .et-next {
    background: #ffe100;
    color: #111214;
  }

html[data-theme="dark"] body .et-pill:hover,
html[data-theme="dark"] body .et-next:hover { background: #ffe100; color: #111214; }

html[data-theme="dark"] .et-card {
    background: #1B1D22;
    color: #F5F5F7;
    border-color: #2A2D34;
  }

html[data-theme="dark"] .et-step,
html[data-theme="dark"] #et-tour-body { color: #AAB4DC; }

html[data-theme="dark"] .et-text,
html[data-theme="dark"] .intent-browse,
html[data-theme="dark"] .intent-cv-note a {
    color: #ffe100;
    text-decoration: underline;
    text-underline-offset: 0.15em;
  }

html[data-theme="dark"] .intent-status,
html[data-theme="dark"] .intent-line,
html[data-theme="dark"] .intent-cv-note { color: #AAB4DC; }

html[data-theme="dark"] .et-tour-target { outline-color: #ffe100; }


html[data-theme="dark"] .teaching-lead,
html[data-theme="dark"] .hx-lede,
html[data-theme="dark"] .hx-work-desc,
html[data-theme="dark"] .hx-persona-p,
html[data-theme="dark"] .hx-section-note,
html[data-theme="dark"] .hx-location,
html[data-theme="dark"] .on-repeat-intro { color: #AAB4DC; }
html[data-theme="dark"] .eyebrow { color: #E4E9FA; }
html[data-theme="dark"] .teaching-kicker,
html[data-theme="dark"] .on-repeat-chapter,
html[data-theme="dark"] .ch-card p { color: #ffe100; }
html[data-theme="dark"] .centered-footer .footer-social a { color: #AAB4DC; }
html[data-theme="dark"] .centered-footer .footer-social a:hover { color: #ffe100; background: #1B1D22; }
html[data-theme="dark"] .home-page { --h-ink: #F5F7FF; --h-muted: #AAB4DC; --h-line: #2A2D34; --h-tint: #1B1D22; }
html[data-theme="dark"] .learning-page { --l-muted: #AAB4DC; --l-ink: #F5F7FF; --l-line: #2A2D34; --l-tint: #1B1D22; }
html[data-theme="dark"] .tools-page { --t-muted: #AAB4DC; --t-ink: #F5F7FF; --t-line: #2A2D34; --t-tint: #1B1D22; }
html[data-theme="dark"] .resources-page { --r-muted: #AAB4DC; --r-ink: #F5F7FF; --r-line: #2A2D34; --r-tint: #1B1D22; }
html[data-theme="dark"] .services-page { --s-muted: #AAB4DC; --s-ink: #F5F7FF; --s-line: #2A2D34; --s-tint: #1B1D22; }
html[data-theme="dark"] .about-page { --a-muted: #AAB4DC; --a-ink: #F5F7FF; --a-line: #2A2D34; --a-tint: #1B1D22; }
html[data-theme="dark"] .newsletter-page { --n-muted: #AAB4DC; --n-ink: #F5F7FF; --n-line: #2A2D34; --n-tint: #1B1D22; }
html[data-theme="dark"] .worksheet-page { --w-muted: #AAB4DC; --w-ink: #F5F7FF; --w-line: #2A2D34; --w-tint: #1B1D22; }
html[data-theme="dark"] .work-index { --wi-muted: #AAB4DC; --wi-ink: #F5F7FF; --wi-line: #2A2D34; --wi-tint: #1B1D22; }

/* Contrast: light text was landing on surfaces that stay paper, and light-mode
   grays were landing on charcoal. Paper fields keep ink text. Sun buttons keep ink text. */
html[data-theme="dark"] :is(
  .inner-intro,
  .resource-return,
  .review-first,
  .review-example,
  .review-return,
  .review-next,
  .review-app form,
  .review-app pre,
  .resources-page .rp-filters,
  .resources-page .guide-grid .guide-card,
  .resources-page .rp-next-card,
  .resources-page .rp-launch,
  .home-page .entry-proof,
  .home-service-card,
  .home-page .process li,
  .home-page .home-process > li,
  .discovery-link,
  .project-evidence-card,
  .role-strip,
  .offer-card,
  .teaching-groups article,
  .lp-workshops .workshop-entry,
  .learning-page .course-preview,
  .lp-process li,
  .about-page .practice-pills li,
  .about-page .credentials-grid article,
  .about-page .editorial-grid article,
  .about-page .principles-timeline > li,
  .about-page .career-list > li,
  .svc-card,
  .services-page .project-evidence-card,
  .services-page .engagement-card.is-open,
  .services-page .services-process > li,
  .services-page .faqs details,
  .nl-paths li,
  .newsletter-page .demo-form,
  .newsletter-page .resource-card,
  .tools-page .discovery-link,
  .tools-page .tp-filter,
  .tools-page .tp-grid .resource-card,
  .tools-page .tp-note,
  .wi-card,
  .resource-card,
  .tool-work,
  .tool-result,
  .tool-next,
  .knowledge-article blockquote,
  .source-note,
  .timeline > li,
  .faqs details,
  .worksheet-page .wp-card,
  .demo-form,
  #project-brief
) {
  background: #1B1D22;
  color: #F5F7FF;
  border-color: #2A2D34;
}

html[data-theme="dark"] :is(.home-page, .learning-page, .tools-page, .resources-page, .services-page, .about-page, .newsletter-page, .worksheet-page, .work-index) main .eyebrow,
html[data-theme="dark"] .wi-kicker {
  color: #E4E9FA;
}

html[data-theme="dark"] :is(
  .resources-page .guide-action,
  .learning-page main .text-link,
  .services-page .project-evidence-copy .text-link,
  .newsletter-page .resource-card .text-link,
  .tools-page .tp-open,
  .home-page .entry-proof .text-link,
  .home-page .project-evidence-copy .text-link,
  .discovery-link strong,
  .discovery-link i,
  .teaching-groups h3,
  .learning-page .course-format,
  .learning-page .course-preview summary,
  .wi-role,
  .wi-arrow,
  .offer-price,
  .about-page .editorial-grid article > span,
  .about-page .credentials-grid article strong,
  .about-page .career-date,
  .svc-kicker
) {
  color: #ffe100 !important;
}

html[data-theme="dark"] .teaching-groups p,
html[data-theme="dark"] .offer-card p,
html[data-theme="dark"] .role-book-placeholder,
html[data-theme="dark"] .discovery-link > span {
  color: #AAB4DC;
}

html[data-theme="dark"] .lp-process span,
html[data-theme="dark"] .home-page .home-process > li > span {
  background: #ffe100;
  color: #111214;
}

html[data-theme="dark"] .resources-page .guide-body .rp-free {
  background: #e3f4ea;
  color: #0b5a2c;
}
html[data-theme="dark"] .resources-page .guide-body .rp-paid {
  background: #e6eaff;
  color: #10206e;
}

html[data-theme="dark"] .demo-form label:not(.check),
html[data-theme="dark"] #project-brief label,
html[data-theme="dark"] #project-brief .consent-set legend,
html[data-theme="dark"] .choice-group legend,
html[data-theme="dark"] .newsletter-page .demo-form label:not(.check) {
  color: #AAB4DC;
}
html[data-theme="dark"] .demo-form > p,
html[data-theme="dark"] #project-brief .consent-set p,
html[data-theme="dark"] #project-brief .form-note,
html[data-theme="dark"] .form-note {
  color: #AAB4DC;
}
html[data-theme="dark"] .demo-form .check,
html[data-theme="dark"] #project-brief .check,
html[data-theme="dark"] .newsletter-page .check {
  color: #F5F7FF;
}

html[data-theme="dark"] input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]):not([type=file]),
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .demo-form input:not([type=checkbox]),
html[data-theme="dark"] .demo-form select,
html[data-theme="dark"] #project-brief input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
html[data-theme="dark"] #project-brief select,
html[data-theme="dark"] #project-brief textarea,
html[data-theme="dark"] .newsletter-page .demo-form input:not([type=checkbox]),
html[data-theme="dark"] .newsletter-page select,
html[data-theme="dark"] .review-app input,
html[data-theme="dark"] .review-app textarea,
html[data-theme="dark"] .review-app select,
html[data-theme="dark"] .resources-page .rp-filters :is(input, select),
html[data-theme="dark"] .tools-page #tool-search,
html[data-theme="dark"] .tool-work :is(input, textarea, select),
html[data-theme="dark"] .reading textarea {
  background: #F5F7FF;
  color: #1D1D1F;
  border-color: #8B95B3;
}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder,
html[data-theme="dark"] .demo-form input::placeholder,
html[data-theme="dark"] .newsletter-page .demo-form input::placeholder,
html[data-theme="dark"] .resources-page .rp-filters input::placeholder,
html[data-theme="dark"] .tools-page #tool-search::placeholder,
html[data-theme="dark"] .reading textarea::placeholder {
  color: #3E4A68;
  opacity: 1;
}

html[data-theme="dark"] .choice-options span {
  background: #F5F7FF;
  color: #1D1D1F;
  border-color: #C5CDE0;
}
html[data-theme="dark"] .choice-options input:checked + span {
  background: #ffe100;
  color: #111214;
  border-color: #ffe100;
}

html[data-theme="dark"] a.button,
html[data-theme="dark"] button.button,
html[data-theme="dark"] .demo-form .button,
html[data-theme="dark"] #project-brief .button,
html[data-theme="dark"] main p a.button,
html[data-theme="dark"] main li a.button,
html[data-theme="dark"] .reading a.button,
html[data-theme="dark"] .home-page .home-contact-band .button {
  background: #ffe100;
  color: #111214;
  border-color: #ffe100;
  text-decoration: none;
}
html[data-theme="dark"] .home-card-link,
html[data-theme="dark"] .svc-link {
  background: #0022cb;
  color: #fff;
}

html[data-theme="dark"] .skip,
html[data-theme="dark"] #motion-toggle {
  background: #F5F7FF;
  color: #1D1D1F;
  border-color: #8B95B3;
}

html[data-theme="dark"] .teaching-institutions li,
html[data-theme="dark"] .teaching-institutions span {
  color: #1D1D1F;
}

html[data-theme="dark"] .nl-note,
html[data-theme="dark"] .tool-notice {
  background: #fff7e0;
  color: #3d2a00;
}

html[data-theme="dark"] .home-workshops a {
  background: #1B1D22;
  color: #F5F7FF;
  border-color: #2A2D34;
}
html[data-theme="dark"] .home-workshops a:hover,
html[data-theme="dark"] .home-workshops a:focus-visible {
  color: #ffe100;
  border-color: #ffe100;
}

html[data-theme="dark"] a.discovery-link,
html[data-theme="dark"] .offering,
html[data-theme="dark"] .about-bio,
html[data-theme="dark"] .audience-stats li,
html[data-theme="dark"] .wi-toggle {
  background: #1B1D22 !important;
  color: #F5F7FF;
  border-color: #2A2D34;
}
html[data-theme="dark"] .wi-toggle button {
  background: transparent;
  color: #F5F7FF;
}
html[data-theme="dark"] .wi-toggle button[aria-pressed="true"] {
  background: #0022cb;
  color: #fff;
}
html[data-theme="dark"] .audience-stats a,
html[data-theme="dark"] .audience-stats strong {
  color: #F5F7FF;
  text-decoration: none;
}
html[data-theme="dark"] .audience-stats span,
html[data-theme="dark"] .faqs details p,
html[data-theme="dark"] .review-device p,
html[data-theme="dark"] .nl-kicker {
  color: #AAB4DC !important;
}
html[data-theme="dark"] .practice-pills li { color: #F5F7FF; }
html[data-theme="dark"] .lead-modal-container { background: #F5F7FF; color: #1D1D1F; }
html[data-theme="dark"] .lead-modal-title,
html[data-theme="dark"] .lead-modal-form label,
html[data-theme="dark"] .lead-modal-eyebrow { color: #1D1D1F; }
html[data-theme="dark"] .lead-modal-desc,
html[data-theme="dark"] .lead-modal-note { color: #3E4A68; }
html[data-theme="dark"] .lead-modal-form input {
  background: #fff;
  color: #1D1D1F;
  border-color: #8B95B3;
}
html[data-theme="dark"] .lead-modal-form input::placeholder { color: #3E4A68; opacity: 1; }
html[data-theme="dark"] .lead-modal-btn { background: #0022cb; color: #fff; }
html[data-theme="dark"] .wi-count {
  background: #1B1D22;
  color: #E4E9FA;
}
