/* Anthracite theme override for index.html
   - Former black areas (body, hero, projects, reviews, footer) -> anthracite
   - Former white areas (services, logo strip, CTA box) -> neutral off-white
   Remove the <link> to this file to restore the original dark design. */

:root {
  --th-base: #2f3236;        /* anthracite main field: replaces #151515 */
  --th-card: #3c4046;   /* lighter anthracite cards: replaces #212121 */
  --th-on-base: #ffffff;
  --th-on-base-muted: rgba(255, 255, 255, 0.58); /* replaces gray #aaa */
  --th-light: #f4f4f3;      /* replaces former white backgrounds */
}

/* ---- Anthracite fields (were black) ---- */
body.body-black,
.section.footer-new {
  background-color: var(--th-base);
  color: var(--th-on-base);
}

body.body-black .gray,
body.body-black .mid-gray-text {
  color: var(--th-on-base-muted);
}

/* Reviews bento cards (were #212121) */
.bento-column._01,
.benefit-inner-box._01,
.benefit-inner-box._02 {
  background-color: var(--th-card);
  color: var(--th-on-base);
}

/* ---- Light areas (were white) ---- */
.section.under-video.services,
.section.white,
.container.above-footer-cta,
.pull-out-bg-body {
  background-color: var(--th-light);
}
.section.under-video.services,
.section.white,
.container.above-footer-cta {
  color: #1d1f22;
}
.image-wrapper.award-site-logo {
  background-color: #ffffff;
}
.section.under-video.services .gray,
.section.white .gray,
.container.above-footer-cta .gray {
  color: #8a8d91;
}

/* ---- Buttons ---- */
/* white pills on anthracite: anthracite text */
.general-button.w-button:not(.black) {
  color: var(--th-base);
}
.general-button.w-button:not(.black):hover {
  background-color: var(--th-light);
}

/* dark pills on light areas -> anthracite */
.general-button.black.w-button {
  background-color: var(--th-base);
  border-color: var(--th-base);
  color: var(--th-on-base);
}
.general-button.black.w-button:hover {
  background-color: var(--th-card);
  border-color: var(--th-card);
}

/* hero service pills: outline on anthracite, fill white on hover */
.section.hero .hero-buttons.w-button {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background-color: transparent;
  color: var(--th-on-base);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.section.hero .hero-buttons.w-button:hover,
.section.hero .hero-buttons.w-button:focus-visible {
  background-color: var(--th-on-base);
  border-color: var(--th-on-base);
  color: var(--th-base);
}

/* footer newsletter */
.section.footer-new .text-field.w-input {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--th-on-base);
}
.section.footer-new .text-field.w-input::placeholder {
  color: var(--th-on-base-muted);
}
.section.footer-new .button.footer-submit {
  background-color: var(--th-on-base);
  color: var(--th-base);
}

/* Visible keyboard focus on anthracite */
body.body-black a:focus-visible,
body.body-black button:focus-visible {
  outline: 2px solid var(--th-on-base);
  outline-offset: 3px;
}
