  .logo-word { display:inline-flex; align-items:baseline; gap:0; }
  .logo-word .a { font-weight:700; }
  .logo-word .s { font-weight:300; color:var(--ink-2); }
  .logo.footer-logo .logo-word .s { color:#8A8A8F; }
  [data-theme="dark"] .footer-logo { color:#E7E7E2 !important; }

  /* ── DARK THEME ── */
  [data-theme="dark"] {
    --ink: #E7E7E2;
    --ink-2: #B0B0B3;
    --muted: #8A8A8F;
    --hair: #2A2A2E;
    --paper: #0E0E10;
    --white: #141418;
    --crimson: #E8294E;
    --crimson-2: #C8133A;
  }
  [data-theme="dark"] body { background: #0E0E10; color: #E7E7E2; }
  [data-theme="dark"] .nav { background: transparent !important; }
  [data-theme="dark"] .svc-card { background: #141418 !important; }
  [data-theme="dark"] .svc-card:hover { background: #1A1A1E !important; }
  [data-theme="dark"] .svc-card.feat { background: #1C1C1F !important; }
  [data-theme="dark"] .post .img { background: repeating-linear-gradient(135deg,#1A1A1E 0 8px,#141418 8px 16px) !important; }
  [data-theme="dark"] .blog-search { background: #141418 !important; border-color: #2A2A2E !important; }
  [data-theme="dark"] .tab { background: #141418 !important; }
  [data-theme="dark"] .section { background: #0E0E10; }
  [data-theme="dark"] .section.dark,
  [data-theme="dark"] .contact,
  [data-theme="dark"] .stack-dark,
  [data-theme="dark"] .quote-s,
  [data-theme="dark"] footer { background: #141418 !important; }
  [data-theme="dark"] .page-hero { background: #0E0E10; }
  [data-theme="dark"] .portrait,
  [data-theme="dark"] .case .img,
  [data-theme="dark"] .prod .art { background: repeating-linear-gradient(135deg,#1A1A1E 0 8px,#141418 8px 16px) !important; }
  [data-theme="dark"] .case { background: #141418 !important; }
  [data-theme="dark"] .contact form { background: #0A0A0C !important; border-color: #2A2A2E !important; }
  [data-theme="dark"] .pill { border-color: #3A3A3E !important; }
  [data-theme="dark"] #floating-cta { background: rgba(200,19,58,0.82) !important; }
  [data-theme="dark"] .eyebrow { color: #8A8A8F; }
  [data-theme="dark"] .eyebrow::before { background: #E7E7E2; }
  [data-theme="dark"] .prod-s { background: #141418; }
  [data-theme="dark"] .proc { border-color: #E7E7E2; }
  [data-theme="dark"] .bio-strip .bs { border-color: #2A2A2E; }
  [data-theme="dark"] .cr { border-color: #2A2A2E; }
  [data-theme="dark"] .mrow { border-color: #2A2A2E; }
  [data-theme="dark"] .me .quick { border-color: #2A2A2E; }
  [data-theme="dark"] .bio-facts { border-color: #2A2A2E; }
  [data-theme="dark"] .post { border-color: #2A2A2E; }
  [data-theme="dark"] .post .img { border-color: #2A2A2E; }
  [data-theme="dark"] .foot-bot { border-color: #1C1C1F; }


  /* ── DARK MODE CONTRAST FIXES ── */
  /* Ghost numbers in manifesto rows */
  [data-theme="dark"] .mrow .mn { color: #3A3A3E; }
  /* Principle titles */
  [data-theme="dark"] .mrow .mt { color: #E7E7E2; }
  /* Principle description */
  [data-theme="dark"] .mrow .md { color: #B0B0B3; }
  /* Bio strip labels */
  [data-theme="dark"] .bio-strip .bs .l { color: #8A8A8F; }
  [data-theme="dark"] .bio-strip .bs .n { color: #E7E7E2; }
  /* Timeline body */
  [data-theme="dark"] .cr .body .t { color: #E7E7E2; }
  [data-theme="dark"] .cr .body p { color: #B0B0B3; }
  /* Stack dark column names */
  [data-theme="dark"] .stack-col .v { color: #E7E7E2; }
  /* Section h2s */
  [data-theme="dark"] .sec-head h2,
  [data-theme="dark"] .chron-intro h2,
  [data-theme="dark"] .manifesto-intro h2 { color: #E7E7E2; }
  /* Desc text */
  [data-theme="dark"] .sec-head .desc,
  [data-theme="dark"] .chron-intro .desc,
  [data-theme="dark"] .manifesto-intro .desc { color: #B0B0B3; }
  /* Service card text in light mode elevated sections */
  [data-theme="dark"] .svc-card h3 { color: #E7E7E2; }
  [data-theme="dark"] .svc-card p { color: #8A8A8F; }
  [data-theme="dark"] .svc-card .tag { background: #1C1C1F; border-color: #2A2A2E; color: #B0B0B3; }
  [data-theme="dark"] .svc-card .num { color: #6B6B70; }
  [data-theme="dark"] .svc-card .arrow path { stroke: #E7E7E2; }
  /* proc grid */
  [data-theme="dark"] .proc h3 { color: #E7E7E2; }
  [data-theme="dark"] .proc p { color: #8A8A8F; }
  [data-theme="dark"] .proc .n { color: #6B6B70; }
  [data-theme="dark"] .proc .dur { color: #E8294E; }
  /* FAQ grid */
  [data-theme="dark"] .h3 { color: #E7E7E2; }
  /* Bio facts */
  [data-theme="dark"] .bio-facts .v { color: #E7E7E2; }
  [data-theme="dark"] .bio-facts .k { color: #6B6B70; }
  /* Quick facts */
  [data-theme="dark"] .quick .v { color: #E7E7E2; }
  [data-theme="dark"] .quick .k { color: #6B6B70; }
  /* me bio text */
  [data-theme="dark"] .bio-text p { color: #B0B0B3; }
  [data-theme="dark"] .bio-quote { color: #E7E7E2; }
  /* prod small cards */
  [data-theme="dark"] .prod-s h4 { color: #E7E7E2; }
  [data-theme="dark"] .prod-s p { color: #8A8A8F; }
  [data-theme="dark"] .prod h3 { color: #E7E7E2; }
  [data-theme="dark"] .prod p { color: #B0B0B3; }
  /* archive posts */
  [data-theme="dark"] .post h3 { color: #E7E7E2; }
  [data-theme="dark"] .post p { color: #8A8A8F; }
  /* stack col */
  [data-theme="dark"] .stack-col li { color: #E7E7E2; }
  [data-theme="dark"] .stack-col h4 { color: #6B6B70; }


  /* ── DARK MODE: pin already-dark sections to real light colors ── */
  /* These sections had dark bg + light text. In dark mode --paper inverts,
     so we must hardcode actual light values to keep them readable. */

  [data-theme="dark"] .stack-dark,
  [data-theme="dark"] .quote-s,
  [data-theme="dark"] .contact,
  [data-theme="dark"] footer,
  [data-theme="dark"] .section.dark,
  [data-theme="dark"] .metrics {
    color: #E7E7E2;
  }

  /* Stack panel tech names */
  [data-theme="dark"] .stack-col-d li .name { color: #E7E7E2; }
  [data-theme="dark"] .stack-col-d li .meta { color: #6B6B70; }
  [data-theme="dark"] .stack-col-d h4 { color: #6B6B70; }
  [data-theme="dark"] .stack-col-d li { border-color: #1A1A1E; }

  /* Quote section text */
  [data-theme="dark"] .quote-s .eyebrow { color: #8A8A8F; }
  [data-theme="dark"] .quote-s .eyebrow::before { background: #E7E7E2; }

  /* Contact section */
  [data-theme="dark"] .contact h2 { color: #E7E7E2; }
  [data-theme="dark"] .contact .lede { color: #B0B0B3; }
  [data-theme="dark"] .contact .dl .k { color: #8A8A8F; }
  [data-theme="dark"] .contact .dl .v { color: #E7E7E2; }
  [data-theme="dark"] .contact .eyebrow { color: #8A8A8F; }
  [data-theme="dark"] .contact .eyebrow::before { background: #E7E7E2; }
  [data-theme="dark"] .contact .submit .note { color: #6B6B70; }
  [data-theme="dark"] .contact input { color: #E7E7E2; }
  [data-theme="dark"] .contact select { color: #E7E7E2; }
  [data-theme="dark"] .contact textarea { color: #E7E7E2; }
  [data-theme="dark"] .contact .lab { color: #8A8A8F; }
  [data-theme="dark"] .contact .budget button { color: #B0B0B3; }
  [data-theme="dark"] .contact .pill[style*="color:var(--paper)"] { color: #E7E7E2 !important; }

  /* Footer */
  [data-theme="dark"] footer { color: #8A8A8F; }
  [data-theme="dark"] .foot h4 { color: #E7E7E2; }
  [data-theme="dark"] .foot a { color: #8A8A8F; }
  [data-theme="dark"] .foot a:hover { color: #E7E7E2; }
  [data-theme="dark"] .foot .brand p { color: #8A8A8F; }
  [data-theme="dark"] .foot-bot { color: #6B6B70; }

  /* Section.dark */
  [data-theme="dark"] .section.dark h2 { color: #E7E7E2; }
  [data-theme="dark"] .section.dark p { color: #B0B0B3; }

  /* Pricing bands dark section */
  [data-theme="dark"] .section.dark > .wrap-inner > div { color: #E7E7E2; }

  /* AI section inline styles use hardcoded colors — already fine in dark */

  /* ── WordPress admin bar offset ──
     Logged-in users get the fixed 32px admin bar at the very top. The sticky
     nav (top:0 in shared.css) and the article progress bar otherwise slide
     under it while scrolling, so nudge them down by the bar height. Below
     783px the admin bar is position:absolute and scrolls away with the page,
     so no offset is needed there (it would only leave a gap). */
  .admin-bar .nav { top: 32px; }
  .admin-bar .progress-bar { top: 32px; }
  @media screen and (max-width: 782px) {
    .admin-bar .nav { top: 0; }
    .admin-bar .progress-bar { top: 0; }
  }

