/* A-only dark palette refinement, 2026-10-16.
   Enqueue last instead of color-refresh.css. Layout, content and images stay intact. */
.theme-a {
  color-scheme: dark;
  --deep: #2b3238;
  --ink: #354047;
  --slate: #3b454d;
  --orange: #f49a50;
  --orange-hover: #ffad6b;
  --text: #f4f6f7;
  --muted: #cdd4d9;
  --line: #59656e;
  --a-charcoal: #242a2f;
  --a-orange-text: #ffa65f;
  background: var(--deep);
  color: var(--text);
}

/* Warm, readable accents on graphite; charcoal lettering on orange controls. */
.theme-a .eyebrow,
.theme-a .text-link:hover,
.theme-a .text-button:hover,
.theme-a .equipment-card .text-link,
.theme-a .mission-line > span { color: var(--a-orange-text); }
.theme-a .button,
.theme-a .button:hover,
.theme-a .skip-link,
.theme-a .capability-strip,
.theme-a .image-plaque,
.theme-a .product-image-arrow,
.theme-a .model-list > a:hover { color: var(--a-charcoal); }
.theme-a ::selection { background: var(--orange); color: var(--a-charcoal); }
.theme-a :focus-visible { outline-color: var(--a-orange-text); }
.theme-a .capability-strip :focus-visible { outline-color: var(--a-charcoal); }

/* Restore dark navigation without the original blue-black cast. */
.theme-a .utility-bar { background: #20272c; color: var(--muted); }
.theme-a .site-header {
  background: var(--a-charcoal);
  border-bottom-color: #4a545c;
}
.theme-a .brand-copy small { color: var(--muted); }
.theme-a .products-menu { background: #303940; }
.theme-a .products-menu-grid > a:hover { background: #414c55; }
.theme-a .products-menu-grid small { color: #d5dce1; }
.theme-a .menu-toggle { border-color: #78858f; }

/* Keep the black mine hero, but reveal more of the machinery and rock texture. */
.theme-a .hero-a { background: #20272c; }
.theme-a .hero-a::after {
  background:
    linear-gradient(90deg, rgba(20,26,31,.91) 0%, rgba(20,26,31,.76) 24%, rgba(20,26,31,.22) 48%, rgba(20,26,31,0) 73%),
    linear-gradient(0deg, rgba(20,26,31,.74), transparent 35%);
}
.theme-a .hero-description { color: #e0e5e8; }
.theme-a .hero-a-bottom { color: #d8dfe4; border-top-color: #ffffff4d; }

/* Alternating graphite surfaces make each section legible without a white theme. */
.theme-a .equipment-section,
.theme-a .capabilities-a,
.theme-a .faq-section { background: var(--deep); }
.theme-a .equipment-card { background: var(--ink); border-color: #5a666f; }
.theme-a .image-series { background: var(--a-charcoal); color: var(--text); }
.theme-a .about-a,
.theme-a .contact-section { background: var(--slate); }
.theme-a .manufacturing-figure::before { border-color: #73818b; }
.theme-a .pillar-grid { background: #303940; }
.theme-a .mission-line > p { color: #e0e5e8; }
.theme-a .fleet-banner { background: #242c32; }
.theme-a .resource-section { background: #303940; }
.theme-a .resource-card { background: #3b454d; }

/* Form and modal surfaces stay dark, with bright labels and visible boundaries. */
.theme-a .inquiry-form { background: #303940; }
.theme-a .form-grid label > span { color: var(--a-orange-text); }
.theme-a input,
.theme-a textarea,
.theme-a select {
  background: #252d33;
  color: var(--text);
  border-color: #83919c;
  color-scheme: dark;
}
.theme-a input::placeholder,
.theme-a textarea::placeholder { color: #c2cbd2; opacity: 1; }
.theme-a .model-dialog { background: #303940; color: var(--text); border-color: #7a8791; }
.theme-a .dialog-close { background: #414c55; border-color: #8b98a2; }
.theme-a .model-list > a { border-color: #8b98a2; }

/* Ground the page with neutral charcoal, not near-black blue. */
.theme-a .site-footer { background: #20272c; color: var(--text); }
.theme-a .footer-about > p,
.theme-a .footer-grid > div > a:not(.brand),
.theme-a .footer-bottom,
.theme-a .visual-note { color: var(--muted); }
.theme-a .footer-grid > div > a.footer-cta,
.theme-a .footer-grid > div > a:hover { color: var(--a-orange-text); }
.theme-a .footer-bottom { border-top-color: #59656e; }
.theme-a .contact-dock,
.theme-a .contact-dock-link,
.theme-a .contact-dock-tip { background: #303940; color: #f4f6f7; }
.theme-a .contact-dock-tip { border-color: #7a8791; }
.theme-a .contact-dock-top { background: #414c55; }
.theme-a .contact-dock-link:hover,
.theme-a .contact-dock-link:focus-visible { background: var(--orange); color: var(--a-charcoal); }

@media (max-width: 1024px) {
  .theme-a.js .primary-nav { background: var(--a-charcoal); }
  .theme-a .products-menu { background: transparent; }
}
@media (max-width: 760px) {
  .theme-a .hero-a::after {
    background: linear-gradient(180deg, #20272c 0%, #20272c 39%, rgba(32,39,44,.55) 58%, rgba(32,39,44,0) 80%, rgba(32,39,44,.72) 100%);
  }
}
