/* MMC / graphite palette. Color-only layer; existing geometry and type remain. */
:root {
  --mmc-night: #070911;
  --mmc-graphite: #4c4c4c;
  --mmc-surface: #22242a;
  --mmc-white: #f3f3f1;
  --mmc-copy: #d0d0ce;
  --mmc-rule: #56575c;
  --hub-paper: var(--mmc-night);
  --hub-ink: var(--mmc-white);
  --hub-muted: var(--mmc-surface);
  --hub-line: var(--mmc-rule);
  --paper: var(--mmc-night);
  --ink: var(--mmc-white);
  --signal: var(--mmc-white);
  --line: var(--mmc-rule);
  color-scheme: dark;
}
body.hub-site, body.rs-site, body.mmc-inner, body.m-practical {
  background: var(--mmc-night);
  color: var(--mmc-white);
}
.hub-header, .hub-mobile {
  background: #101218 !important;
  color: var(--mmc-white) !important;
  border-color: var(--mmc-rule);
}
.hub-brand img, .rs-final > img { filter: none; }
.hub-menu { color: var(--mmc-white); }
.hub-language button { opacity: .7; }
.hub-language button[aria-pressed="true"] { opacity: 1; }
.hub-skip { background: var(--mmc-white); color: var(--mmc-night); }
.hub-site :focus-visible, .hub-header :focus-visible,
.hub-footer :focus-visible, .mmc-inner :focus-visible {
  outline-color: var(--mmc-white);
}

/* Broad, quiet gradients follow the supplied black-and-graphite reference. */
.rs-page-intro, .rs-home-about {
  background: linear-gradient(112deg, #4c4c4c 0%, #333438 30%, #070911 72%);
  border-color: var(--mmc-rule);
}
.rs-hero { background: var(--mmc-night); }
.rs-hero-shade {
  background: linear-gradient(100deg, #070911f2 0%, #28292bb8 29%, #0709114d 65%, #0709111a 100%);
}
.rs-yellow-signal path { stroke: #d0d0ce; }
.rs-hero-note { color: var(--mmc-copy); }
.rs-home-about p, .rs-tile-copy p, .rs-featured p,
.rs-page-intro > p, .rs-service-top > div:last-child > p,
.hub-usps p, .hub-values p, .hub-room-copy p, .hub-work-copy p {
  color: var(--mmc-copy);
}
.rs-room { color: var(--mmc-white); background: var(--mmc-night); }
.rs-room:after {
  background: linear-gradient(90deg, #070911e6 0%, #07091180 45%, transparent 100%);
}
.rs-room-black:after {
  background: linear-gradient(90deg, #070911eb 0%, #07091166 60%, transparent 100%);
}
.rs-room-credit { color: var(--mmc-white); opacity: 1; text-shadow: 0 1px 5px #000; }
.rs-services-preview { background: var(--mmc-night); }
.rs-service-tile {
  background: linear-gradient(135deg, #36373a, #17191f 85%);
  border-color: var(--mmc-rule);
}
.rs-tile-arrow { border-color: #898a8f; }
.rs-featured {
  background: linear-gradient(105deg, #070911 40%, #2c2d31 72%, #4c4c4c);
  color: var(--mmc-white);
}
.rs-final {
  background: linear-gradient(112deg, #4c4c4c 0%, #2b2c30 38%, #070911 80%);
  border-color: var(--mmc-rule);
}
.hub-footer { background: var(--mmc-night); color: var(--mmc-white); }
.hub-footer-bottom { border-color: var(--mmc-rule); }

.hub-site .hub-button, .hub-site .m-button, .mmc-inner .btn,
.hub-equipment-inquiry .hub-button {
  background: var(--mmc-white);
  border-color: var(--mmc-white);
  color: var(--mmc-night) !important;
}
.hub-site .hub-button:hover, .hub-site .m-button:hover, .mmc-inner .btn:hover {
  background: #d0d0ce;
  border-color: #d0d0ce;
  color: var(--mmc-night) !important;
}
.hub-site .rs-outline, .hub-site .m-outline, .mmc-inner .btn.outline {
  background: transparent;
  border-color: #bdbdbb;
  color: var(--mmc-white) !important;
}
.hub-site .rs-outline:hover, .hub-site .m-outline:hover, .mmc-inner .btn.outline:hover {
  background: var(--mmc-white);
  color: var(--mmc-night) !important;
}
.hub-link:hover { opacity: .85; }

.hub-soft, .m-muted {
  background: linear-gradient(110deg, #070911 4%, #292a2e 58%, #4c4c4c);
}
.hub-ink { background: var(--mmc-night); color: var(--mmc-white); }
.hub-room, .hub-room-black {
  background: linear-gradient(135deg, #343539 0%, #15171e 100%);
  color: var(--mmc-white);
  border-color: var(--mmc-rule);
}
.hub-site .hub-picture figcaption, .mmc-inner .image-caption {
  background: #070911e6;
  color: var(--mmc-copy);
}
.rs-service-jumps {
  background: #1d1f25;
  border-color: var(--mmc-rule);
}
.rs-service-jumps a { border-color: #898a8f; }
.rs-service-section { border-color: var(--mmc-rule); }
.rs-service-section:nth-of-type(even) {
  background: linear-gradient(112deg, #3c3d40 0%, #1d1f25 38%, #070911 78%);
}
.rs-service-section:nth-of-type(odd) {
  background: linear-gradient(105deg, #070911 25%, #1b1d23 68%, #343539);
}
.rs-details, .rs-studio-detail-grid > article,
.rs-package-body .package-row, .rs-package-body .package-group,
.hub-usps article, .hub-values, .hub-work:last-child {
  border-color: var(--mmc-rule);
}
.rs-studio-detail-grid > article, .m-rate {
  background: linear-gradient(135deg, #36373b 0%, #17191f 100%);
  border-color: var(--mmc-rule);
}
.m-note { border-color: #bdbdbb; }
.hub-badge { border-color: #898a8f; color: var(--mmc-copy); }
.hub-site .hub-fine, .hub-ref-credit, .hub-gear-model,
.rs-works-note, .hub-kicker > span:first-child {
  color: #c4c4c2;
  opacity: 1;
}

.hub-gear {
  background: linear-gradient(135deg, #343539, #17191f 100%);
  border-color: var(--mmc-rule);
}
/* Product photos keep their original backgrounds and colors for identification. */
.hub-gear-photo, .rs-service-tile:nth-child(6) img { background: #fff; }
.hub-gear-select { border-color: var(--mmc-rule); }
.hub-gear-select input { accent-color: #e3e3e1; }
.hub-gear-selected { outline-color: var(--mmc-white); }
.hub-filters button { border-color: #898a8f; }
.hub-filters button[aria-pressed="true"] {
  background: var(--mmc-white);
  border-color: var(--mmc-white);
  color: var(--mmc-night);
}
.hub-site .hub-catalog-note {
  background: #2c2e34;
  border-color: #bdbdbb;
}
.hub-equipment-inquiry {
  background: #303238;
  color: var(--mmc-white);
  box-shadow: 0 6px 20px #0004;
}
.hub-empty { border-color: #898a8f; }

.rs-site .m-contact-layout {
  background: linear-gradient(110deg, #070911 0%, #1d1f25 60%, #3c3d40);
}
.rs-site .m-form {
  background: linear-gradient(135deg, #393a3e 0%, #1d1f25 85%);
  border-color: var(--mmc-rule);
}
.rs-site .m-form input, .rs-site .m-form select,
.rs-site .m-form textarea, .hub-search input {
  background: #13151b;
  border-color: #797a7f;
  color: var(--mmc-white);
  color-scheme: dark;
}
.rs-site .m-form option { background: #13151b; color: var(--mmc-white); }
.rs-site .m-form input::placeholder, .rs-site .m-form textarea::placeholder,
.hub-search input::placeholder { color: #bdbdbb; opacity: 1; }
.rs-site .m-help { color: var(--mmc-copy); opacity: 1; }
.m-summary { background: #15171e; border-color: #797a7f; }
.hub-site .m-contact-aside dt { color: #c4c4c2; opacity: 1; }
.hub-footer .hub-small { color: #c4c4c2; opacity: 1; }
.m-contact-aside dd { color: var(--mmc-white); }
.journal-article, .not-found {
  background: linear-gradient(112deg, #3c3d40 0%, #1d1f25 30%, #070911 72%);
}
.journal-credit { color: var(--mmc-copy); }
::selection { background: #d0d0ce; color: #070911; }
