/* Older pages (contact, consulting, media, privacy, terms) on the dark sx chrome.
   Layout and copy stay; only type, buttons and chrome follow the homepage. */
body.sx-legacy header.sx-header { background: rgba(14,14,14,0.92) !important; border-bottom: 0 !important; height: auto !important; }
body.sx-legacy .sx-overlay { background: #0e0e0e; }
body.sx-legacy footer.sx-footer { border-top: 1px solid #222 !important; }
body.sx-legacy footer.sx-footer .sx-powered span,
body.sx-legacy footer.sx-footer .sx-powered strong { color: inherit !important; }

/* Headings: homepage type instead of the old condensed display face */
body.sx-legacy main h1,
body.sx-legacy main h2,
body.sx-legacy main h3 {
  font-family: var(--font) !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
  line-height: 1.1 !important;
}
body.sx-legacy main h1 { font-size: clamp(2.1rem, 5.6vw, 3.6rem) !important; }
body.sx-legacy main h2 { font-size: clamp(1.5rem, 3vw, 2.1rem) !important; }
body.sx-legacy main h3 { font-size: clamp(1rem, 1.6vw, 1.2rem) !important; }
body.sx-legacy main p,
body.sx-legacy main li,
body.sx-legacy main label { font-family: var(--font) !important; }

/* Buttons: same rust button as the homepage */
body.sx-legacy main .btn-primary,
body.sx-legacy main .btn-call,
body.sx-legacy main .btn-submit,
body.sx-legacy main form button[type="submit"] {
  font-family: var(--font) !important;
  font-weight: 400 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  color: #fff !important;
  background: var(--rust) !important;
  border: 1px solid var(--rust) !important;
  border-radius: 0 !important;
}
body.sx-legacy main .btn-primary:hover,
body.sx-legacy main .btn-call:hover,
body.sx-legacy main .btn-submit:hover,
body.sx-legacy main form button[type="submit"]:hover { filter: brightness(1.1); }
body.sx-legacy main .btn-outline {
  font-family: var(--font) !important;
  font-weight: 400 !important;
  letter-spacing: 0.14em !important;
  color: #fff !important;
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.6) !important;
  border-radius: 0 !important;
}
body.sx-legacy main .btn-outline:hover { border-color: #fff !important; }

/* Inline links in body copy stay visible on black */
body.sx-legacy main p a:not([class]),
body.sx-legacy main li a:not([class]) { text-decoration: underline; text-underline-offset: 3px; }

/* Form fields on black */
body.sx-legacy main input,
body.sx-legacy main textarea,
body.sx-legacy main select {
  background: #161616 !important;
  color: #fff !important;
  border: 1px solid #333 !important;
  border-radius: 0 !important;
}
body.sx-legacy main input:focus,
body.sx-legacy main textarea:focus,
body.sx-legacy main select:focus { border-color: var(--rust) !important; outline: none; }

/* Footer: keep the homepage footer spacing, drop the old motif */
body.sx-legacy footer.sx-footer { padding: 2.5rem 1.5rem 2rem !important; background: #0e0e0e !important; }
body.sx-legacy footer.sx-footer::before { display: none !important; }

/* Grids: no gray fill in empty cells; outline the cards instead */
body.sx-legacy .audience-grid { background: transparent !important; gap: 1px !important; }
body.sx-legacy .audience-card { box-shadow: 0 0 0 1px #333; }
