/* Slate palette: user's exact #6c757d is the dominant hero, navigation, and contact color. */
.home-theme {
  --brand: #6c757d;
  --ink: #343a40;
  --ink-soft: #495057;
  --muted: #495057;
  --dark: #343a40;
  --ivory: #f8f9fa;
  --line: #ced4da;
  --light-line: #dee2e6;
  --rose: #dee2e6;
  --accent: #495057;
  --focus: #212529;
  background: var(--brand);
}
.home-theme .site-header { background: var(--brand); color: #fff; border-color: #dee2e6; }
.home-theme .wordmark .dot { color: #fff; }
.home-theme .wordmark-caption { border-color: #dee2e6; }
.home-theme .nav-items .nav-resume { background: #fff; color: #343a40; border-color: #fff; }
.home-theme .nav-items .nav-resume:hover { background: #e9ecef; color: #343a40; }
.home-theme .menu-button span { background: #fff; }
.home-theme .hero { background: var(--brand); color: #fff; }
.home-theme .hero h1 span:first-child { -webkit-text-stroke-color: #fff; }
.home-theme .hero h1 .period { color: #fff; }
.home-theme .hero-topline, .home-theme .hero-bottom,
.home-theme .hero .eyebrow, .home-theme .hero-description,
.home-theme .hero-summary strong, .home-theme .portrait-hint { color: #fff; }
.home-theme .hero-bottom { border-color: #dee2e6; }
.home-theme .hero .button-light { background: #fff; color: #343a40; }
.home-theme .hero .button-light:hover { background: #e9ecef; color: #343a40; }
.home-theme .hero .button-outline { border-color: #fff; color: #fff; }
.home-theme .hero .button-outline:hover { background: #343a40; color: #fff; }
.home-theme .hero-image:focus-visible { outline-color: #fff; }
.home-theme .ticker { background: #343a40; color: #fff; border-color: #343a40; }
.home-theme .ticker-group b { color: #dee2e6; }
.home-theme .about, .home-theme .personal { background: #fff; box-shadow: none; }
.home-theme .personal-image { background: #ced4da; }
.home-theme .work { background: #e9ecef; }
.home-theme .work .wrap { background: #f8f9fa; }
.home-theme .project-dark, .home-theme .experience { background: #343a40; }
.home-theme .project-light { background: #ced4da; }
.home-theme .project-visual { background: radial-gradient(circle at 60% 45%, #6c757d, #343a40 58%, #212529); }
.home-theme .flow-primary { background: #495057; }
.home-theme .flow-node small, .home-theme .flow-head, .home-theme .flow-foot { color: #f1f3f5; }
.home-theme .document-art { background: radial-gradient(circle at 50% 50%, #e9ecef, #adb5bd); }
.home-theme .document-art::before { border-color: #6c757d55; }
.home-theme .document-sheet { box-shadow: 15px 17px 0 #49505738, 0 28px 70px #343a4055; }
.home-theme .document-badge { background: #343a40; }
.home-theme .experience .company { color: #fff; }
.home-theme .experience .section-index, .home-theme .experience .experience-meta,
.home-theme .experience .section-intro, .home-theme .experience .experience-list article>p:not(.company),
.home-theme .experience .experience-tags span { color: #e9ecef; }
.home-theme .capabilities { background: #f1f3f5; }
.home-theme .contact { background: var(--brand); color: #fff; }
.home-theme .contact .wrap { background: transparent; box-shadow: 0 0 0 1px #dee2e6; }
.home-theme .contact .section-index, .home-theme .contact-bottom,
.home-theme .contact-bottom p, .home-theme .contact-kicker,
.home-theme .contact h2 em { color: #fff; border-color: #dee2e6; }
.home-theme .contact .button-light { background: #fff; color: #343a40; }
.home-theme .contact .button-light:hover { background: #e9ecef; color: #343a40; }
.home-theme .footer { color: #fff; }
@media(max-width:760px) {
  .home-theme .nav-items { background: var(--brand); border-color: #dee2e6; }
}
/* Existing case studies and resume share the same slate identity without replacing their layout. */
.case-theme {
  color-scheme: dark;
  --bg: #6c757d;
  --bg-2: #495057;
  --ink: #fff;
  --muted: #e9ecef;
  --dim: #dee2e6;
  --line: #ffffff40;
  --line-strong: #ffffff70;
  --violet: #ced4da;
  --blue: #adb5bd;
  --pink: #dee2e6;
  --ship: #dee2e6;
  --cream: #f8f9fa;
  --cream-text: #343a40;
  --cream-muted: #495057;
  background: linear-gradient(180deg, #6c757d 0%, #495057 100%);
}
.case-theme .site-header, .case-theme .site-header[data-elevated="true"] { background: #6c757df2; border-color: #ffffff45; }
.case-theme .brand-mark { background: #343a40; box-shadow: 0 0 0 1px #ffffff70; }
.case-theme .nav-links { background: #343a40; }
@media(min-width:761px) { .case-theme .nav-links { background: transparent; } }
.case-theme .brand-copy small, .case-theme .nav-links a { color: #fff; }
.case-theme .kicker, .case-theme .section-label, .case-theme .case-top span,
.case-theme .case-top p, .case-theme time { color: #fff; }
.case-theme .hero-lede, .case-theme pre, .case-theme .console-top b { color: #f8f9fa; }
.case-theme .primary { background: #fff; color: #343a40; box-shadow: 0 0 0 1px #fff; }
.case-theme .button:hover { box-shadow: 0 0 0 1px #fff; }
.case-theme a:focus-visible, .case-theme button:focus-visible { outline-color: #fff; }
.case-theme .system-console { background: #343a40ee; }
.case-theme .case-card, .case-theme .skill-bento article { background: #343a40b8; }
.case-theme .systems .pipeline article { background: #fff; color: #343a40; }
.case-theme .systems .pipeline article p { color: #495057; }
.case-theme .systems .pipeline article b { color: #495057; }
.case-theme .systems .section-label, .case-theme .intro .section-label { color: #495057; }
.case-theme .intro .primary { background: #343a40; color: #fff; }
.case-theme .intro .secondary { color: #343a40; box-shadow: 0 0 0 1px #6c757d; }
.case-theme #neural-canvas { opacity: .15; }
