/* Black, pure white, and quiet gray. Media retain their colors. */
html[data-theme="dark"] {
  color-scheme: dark;
  background: #000;
}
html[data-theme="dark"] .portfolio-page {
  --paper: #000;
  --ink: #fff;
  --muted: #92928e;
  --rule: #ffffff29;
  --accent: #fff;
  --media-surface: #0b0b0b;
  color: var(--ink);
  background: var(--paper);
}
html[data-theme="dark"] .portfolio-page header {
  background: #000000f2;
}
html[data-theme="dark"] .hdr-logo,
html[data-theme="dark"] .hamburger-circle,
html[data-theme="dark"] .home-title,
html[data-theme="dark"] #film-track p {
  color: var(--ink);
}
html[data-theme="dark"] .home-mark img,
html[data-theme="dark"] .home-page.menu-open .home-mark img {
  filter: brightness(0) invert(1);
}
html[data-theme="dark"] #film-strip {
  background: var(--paper);
}
html[data-theme="dark"] #film-track > div > div {
  background-color: var(--media-surface) !important;
}
html[data-theme="dark"] .pf-work-controls,
html[data-theme="dark"] .pf-footer {
  border-color: var(--rule);
}
html[data-theme="dark"] .pf-work-row::after {
  background: var(--rule);
}
html[data-theme="dark"] .pf-work-info .pf-eyebrow {
  color: var(--muted);
}
html[data-theme="dark"] .pf-work-slide,
html[data-theme="dark"] .pf-project-hero,
html[data-theme="dark"] .pf-case-media figure,
html[data-theme="dark"] .pf-case-carousel,
html[data-theme="dark"] .pf-related-image {
  background: var(--media-surface);
}
html[data-theme="dark"] .pf-mobile-menu {
  background: #0b0b0b;
  color: var(--ink);
}
html[data-theme="dark"] .portfolio-page.menu-open header {
  background: transparent;
}
html[data-theme="dark"] .portfolio-page.menu-open .hdr-logo,
html[data-theme="dark"] .portfolio-page.menu-open .hamburger-circle {
  color: var(--ink);
}
html[data-theme="dark"] .portfolio-page .grain {
  mix-blend-mode: screen;
  opacity: .035;
}
html[data-theme="dark"] header a:focus-visible,
html[data-theme="dark"] header button:focus-visible,
html[data-theme="dark"] #mobile-menu a:focus-visible {
  outline-color: var(--ink);
}
html[data-theme="dark"] .pf-header-link:hover,
html[data-theme="dark"] .pf-work-info a:hover h2 {
  color: #fff;
}
html[data-theme="dark"] ::selection {
  background: #fff;
  color: #000;
}
