/* NOT OUT LABS V17.7.2 — targeted contact routing + legibility patch.
   Additive only, loaded after V17.7.1. Keep existing hero layout and app JS intact. */

/* The old V17.2 rule forces navy on the interior of the policy navigation.
   V17.7 expects an ivory band with dark visible labels, even before hover. */
body.nol17.nol172.nol-legal172.nol-policy-premium .nol-policy-nav .nol-policy-nav-inner {
  background:transparent !important;
  background-image:none !important;
}
body.nol17.nol-policy-premium .nol-policy-nav strong {
  color:#332c23 !important;
  font-size:13px !important;
}
body.nol17.nol-policy-premium .nol-policy-nav a {
  color:#4c3b29 !important;
  font-size:13.5px !important;
  min-height:44px !important;
  display:inline-flex !important;
  align-items:center !important;
}
body.nol17.nol-policy-premium .nol-policy-nav a[aria-current="page"] {
  color:#ffffff !important;
}
body.nol17.nol-policy-premium .nol-policy-nav a:focus-visible {
  outline:2px solid #6c4a18 !important;
  outline-offset:2px;
}
/* Link body text in the gold email button must contrast on gold at rest. */
body.nol17 .page-hero .nol-legal-side a[href^="mailto:"] {
  color:#1b1a17 !important;
}
/* Trust shares the same button pattern. */
body.nol17 .nol-legal-last-contact a[href^="mailto:"] {
  color:#1b1a17 !important;
}
/* Three legacy Work article jump panels: pale cards must use dark text. */
.n177-editorial-rail-card > strong,
.n177-editorial-rail-card > .n177-toc-mobile > summary,
.n177-editorial-rail-card > .n177-side-label {
  color:#332c23 !important;
}
.n177-editorial-rail-card .n177-toc-mobile > summary {
  min-height:44px !important;
}
/* Preserve dark hero treatment while making the pale Trust section kicker readable. */
body.nol17 .nol-v175 .n174-eyebrow,
body.nol17 .n174-legal-section .n174-eyebrow,
body.nol17 .n174-light-surface .n174-eyebrow,
body.nol17 .n174-policy-body > .n174-eyebrow {
  color:#66502c !important;
}
/* Insights search caption, previously ~2.67:1 on light blue. */
body.nol17 label.insight-search,body.nol17 label.insight-search > span {
  color:#334453 !important;
}
/* Older IT Services CTA in a pale content section. */
body.nol17 .content-section > .wrap > a.btn.secondary[href="/technology-software-consultation/"] {
  color:#202c36 !important;
  background:#fffaf2 !important;
  border:1px solid #74664d !important;
}

/* Contact: compact direct-routing directory, responsive and consistent with heritage design. */
.nol1772-email-directory {background:#0b0e12;color:#f4f1ea;padding:28px 0 35px;border-bottom:1px solid rgba(199,165,107,.18)}
.nol1772-email-directory .nol1772-email-heading {margin-bottom:14px}
.nol1772-email-directory .nol1772-email-heading > span{font-size:12px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:#ddc38a}
.nol1772-email-directory h2{margin:5px 0 6px;font-size:clamp(23px,3vw,32px);line-height:1.14;color:#fff;font-family:Georgia,serif;font-weight:500}
.nol1772-email-directory p{font-size:13.5px;color:#cbd2d8;margin:0}
.nol1772-email-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.nol1772-email-option{display:flex;flex-direction:column;gap:5px;min-width:0;min-height:110px;padding:15px 14px;text-decoration:none;color:#f4f1ea;background:#151b23;border:1px solid #3d4650;border-radius:14px;transition:border-color .12s ease,background .12s ease}
.nol1772-email-option:hover,.nol1772-email-option:focus-visible{background:#1c2530;border-color:#c7a56b}
.nol1772-email-option:focus-visible{outline:2px solid #eed39a;outline-offset:2px}
.nol1772-email-option span{font-size:13px;font-weight:750;color:#ead7a8;line-height:1.3}
.nol1772-email-option strong{font-size:14px;font-weight:700;color:#f9f8f5;overflow-wrap:anywhere;line-height:1.4}
.nol1772-email-option small{font-size:12px;color:#c4cbd1;line-height:1.4}
@media(max-width:900px){.nol1772-email-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:530px){.nol1772-email-directory{padding:24px 0 26px}.nol1772-email-grid{grid-template-columns:1fr;gap:8px}.nol1772-email-option{min-height:0;padding:12px 14px;gap:3px}.nol1772-email-option small{font-size:12px}}
@media(prefers-reduced-motion: reduce){.nol1772-email-option{transition:none}}
