/* Need-led orientation inside the existing home expertise gallery. */
.nx-site .ko-featured .nx-featured-steps[hidden],
.nx-site .ko-featured .ko-path [hidden],
.nx-site .ko-context[hidden] { display: none !important; }

@media screen {
  .nx-site .nx-hero-actions:has(a[href="#nx-home-expertise"]) { display: flex; flex-wrap: wrap; gap: 14px 20px; max-width: 100%; }
  .nx-site .nx-hero-actions:has(a[href="#nx-home-expertise"]) > a { min-width: 0; max-width: 100%; white-space: normal; }
  .nx-site .nx-hero-actions a[href="#nx-home-expertise"] { min-height: 48px; font-size: 14px !important; }
  .nx-site .nx-hero-actions a[href="#nx-home-expertise"] > span:first-child { min-width: 0; white-space: normal; overflow-wrap: normal; }
  .nx-site .nx-hero-actions a[href="#nx-home-expertise"] > span[aria-hidden=true] { flex: 0 0 auto; }
  .nx-site .nx-expertise-layout.ko-oriented { grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr); scroll-margin-top: 18px; }
  .nx-site .ko-oriented .nx-expertise-index { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 7px; min-width: 0; padding: 20px 18px; }
  .nx-site .ko-oriented .nx-service-index-item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-width: 0;
    min-height: 93px;
    padding: 17px 14px;
    border: 1px solid #7c918344;
    border-radius: 3px;
    background: #22312a3d;
    color: #d1dfd3;
    text-align: left;
    box-shadow: inset 0 1px #d8e6d708;
  }
  .nx-site .ko-oriented .nx-service-index-item > .kc-service-icon { width: 32px; height: 35px; margin: 0; color: #b3cbb9; }
  .nx-site .ko-oriented .nx-service-index-item .ko-need-copy { display: grid; gap: 7px; min-width: 0; max-width: 100%; margin: 0; font-family: var(--nx-font, 'Manrope', sans-serif); }
  .nx-site .ko-oriented .ko-need-copy > b { display: block; color: #dce7d9; font-size: 16px; font-weight: 550; line-height: 1.65; letter-spacing: -.015em; word-break: normal; overflow-wrap: break-word; }
  .nx-site .ko-oriented .ko-need-copy > small { display: block; color: #b8cbbd; font-size: 14px; font-weight: 400; line-height: 1.6; letter-spacing: 0; word-break: normal; overflow-wrap: break-word; }
  .nx-site .ko-oriented .nx-service-index-item > span:last-child:not(.ko-need-copy):not(.kc-service-icon) { display: block; margin: 0; color: #b9c8ae; font-size: 18px; line-height: 1.3; }
  .nx-site .ko-oriented .nx-service-index-item[aria-pressed=true] { border-color: #b7ba96a6; background: linear-gradient(115deg, #3c4a3c, #283e31); box-shadow: inset 3px 0 #d1c39e, inset 0 1px #e5ead31a; }
  .nx-site .ko-oriented .nx-service-index-item[aria-pressed=true] .ko-need-copy > b { color: #f0eddb; }
  .nx-site .ko-oriented .nx-service-index-item[aria-pressed=true] .ko-need-copy > small { color: #d2dfc9; }
  .nx-site .ko-oriented .nx-service-index-item[aria-pressed=true] > .kc-service-icon { background: linear-gradient(135deg, #5b6650, #3d5040); color: #eadfbd; border-color: #c4c0a27a; }
  .nx-site .ko-oriented .nx-service-index-item:focus-visible { outline: 2px solid #d0e8c9; outline-offset: -5px; }
  .nx-site .nx-featured-service.ke-featured.ko-featured { min-width: 0; }
  .nx-site .ko-featured .ko-path { min-width: 0; margin: 28px 0 24px; padding-top: 25px; border-top: 1px solid #849b885c; }
  .nx-site .ko-featured .ko-path-head { margin-bottom: 20px; }
  .nx-site .ko-featured .ko-eyebrow { display: block; color: #c8bea0; font-size: 11px; font-weight: 550; line-height: 1.8; letter-spacing: .07em; }
  .nx-site .ko-featured .ko-path-head h4 { margin: 8px 0 0; color: #e2ebdd; font-size: 22px; font-weight: 550; line-height: 1.5; letter-spacing: -.025em; }
  .nx-site .ko-featured .ko-lenses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; min-width: 0; }
  .nx-site .ko-featured .ko-lenses > button { display: inline-flex; align-items: center; justify-content: center; min-width: 0; min-height: 57px; padding: 12px 10px; border: 1px solid #7f9b846b; border-radius: 3px; background: #20372d; color: #d0e0d0; font: 500 14px/1.65 var(--nx-font, 'Manrope', sans-serif); text-align: center; white-space: normal; word-break: normal; overflow-wrap: normal; cursor: pointer; }
  .nx-site .ko-featured .ko-lenses > button[aria-selected=true],
  .nx-site .ko-featured .ko-lenses > button[aria-pressed=true] { background: linear-gradient(125deg, #45533b, #334a35); border-color: #c7be9d; color: #f0ead2; box-shadow: inset 0 -2px #d6c8a3; }
  .nx-site .ko-featured .ko-read { display: flex; align-items: center; justify-content: flex-end; gap: 10px; width: fit-content; max-width: 100%; min-height: 44px; margin: 5px 0 12px auto; padding: 9px 0; border: 0; border-radius: 2px; background: none; color: #c5deca; font: 500 14px/1.7 var(--nx-font, 'Manrope', sans-serif); text-align: left; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #90b58e8a; cursor: pointer; }

  .nx-site .ko-featured .ko-path > [role=tabpanel] {
    min-width: 0;
    padding: 26px 25px 24px;
    border: 1px solid #b3c2a7;
    border-bottom: 3px solid #8a9e7c;
    border-radius: 3px;
    background: linear-gradient(125deg, #e4e9db, #d8e1cf 70%, #e0e7d6);
    color: #2e4834;
    box-shadow: inset 0 1px #fff9, 0 11px 28px #071a1424;
    scroll-margin-top: 18px;
    overflow-wrap: break-word;
  }
  .nx-site .ko-featured .ko-path > [role=tabpanel] ::selection { background: #aec8a0; color: #1b3420; }
  .nx-site .ko-featured .ko-path .ko-answer-head { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #758b6659; }
  .nx-site .ko-featured .ko-answer-head .ko-eyebrow { color: #4d6549; font-size: 11px; line-height: 1.8; }
  .nx-site .ko-featured .ko-path .ko-answer-head h5 { margin: 9px 0 0; color: #2b4631; font-size: 21px; font-weight: 600; line-height: 1.5; letter-spacing: -.025em; scroll-margin-top: 18px; }
  .nx-site .ko-featured .ko-path .ko-label { display: block; color: #496343; font-size: 12px; font-weight: 650; line-height: 1.75; letter-spacing: .035em; }
  .nx-site .ko-featured .ko-path p { max-width: none; margin: 9px 0 0; color: #3b553d; font-size: 16px; line-height: 1.85; }
  .nx-site .ko-featured .ko-fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
  .nx-site .ko-featured .ko-fit-grid > section { min-width: 0; }
  .nx-site .ko-featured .ko-fit-grid > section + section { padding-left: 25px; border-left: 1px solid #7489694f; }
  .nx-site .ko-featured .ko-criterion { min-width: 0; }
  .nx-site .ko-featured .ko-criterion > b { display: block; color: #304f35; font-size: 16px; font-weight: 600; line-height: 1.7; }
  .nx-site .ko-featured .ko-evidence { min-width: 0; margin-top: 23px; padding: 20px 21px; border: 1px solid #849b746d; border-left: 3px solid #9c9871; border-radius: 2px; background: #cbd8c2; box-shadow: inset 0 1px #f2f5e14d; }
  .nx-site .ko-featured .ko-evidence > .ko-label { padding-bottom: 12px; margin-bottom: 9px; border-bottom: 1px solid #738c6357; color: #405d3b; }
  .nx-site .ko-featured .ko-evidence > a { display: flex; align-items: center; justify-content: space-between; gap: 17px; min-height: 48px; margin: 0 0 14px; padding: 6px 0; border-radius: 2px; color: #294b30; font-size: 16px; line-height: 1.7; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #5e7d508c; }
  .nx-site .ko-featured .ko-evidence > a > strong { min-width: 0; font-size: 16px; font-weight: 600; line-height: 1.7; }
  .nx-site .ko-featured .ko-evidence > a > span { flex: 0 0 auto; color: #4f7046; font-size: 20px; line-height: 1; }
  .nx-site .ko-featured .ko-evidence > .ko-evidence-title { display: block; margin: 7px 0 16px; color: #294b30; font-size: 16px; font-weight: 600; line-height: 1.7; }
  .nx-site .ko-featured .ko-evidence > b { display: block; margin-top: 2px; color: #385737; font-size: 14px; font-weight: 600; line-height: 1.75; }
  .nx-site .ko-featured .ko-path .ko-evidence > p { margin-top: 8px; color: #3c573a; }
  .nx-site .ko-featured .ko-questions { display: grid; gap: 16px; margin: 0; padding: 0 0 0 19px; list-style: disc; }
  .nx-site .ko-featured .ko-questions > li { min-width: 0; margin: 0; padding: 0 0 0 4px; color: #36513b; font-size: 16px; line-height: 1.85; }
  .nx-site .ko-featured .ko-questions > li::marker { color: #6e8559; font-size: 12px; }
  .nx-site .ko-featured .ko-next { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 21px; margin-top: 25px; padding-top: 21px; border-top: 1px solid #758b6659; }
  .nx-site .ko-featured .ko-next .nx-button.ko-project { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; max-width: 100%; padding: 12px 16px; border: 1px solid #3d603b; border-radius: 3px; background: #324c33; color: #eff2df; font: 500 14px/1.7 var(--nx-font, 'Manrope', sans-serif); text-align: left; text-decoration: none; box-shadow: inset 0 1px #cbd9b21a; }
  .nx-site .ko-featured .ko-next .ko-method { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; max-width: 100%; padding: 9px 0; border: 0; border-radius: 2px; background: none; color: #3b5a39; font-size: 14px; font-weight: 500; line-height: 1.7; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #6e895982; }
  .nx-site .ko-featured .ko-path > p.ko-note { margin: 17px 0 0; color: #b9cdbe; font-size: 13px; line-height: 1.8; }
  .nx-site .ko-featured .ko-path > [role=tabpanel] p.ko-note { margin-top: 23px; padding-top: 16px; border-top: 1px solid #758b6659; color: #4c6549; font-size: 13px; line-height: 1.8; }
  .nx-site .ko-featured .ko-path :is(button, a):focus-visible { outline: 2px solid #d0e8c9; outline-offset: 4px; }
  .nx-site .ko-featured .ko-lenses > button:focus-visible { outline-offset: -4px; }
  .nx-site .ko-featured .ko-path > [role=tabpanel]:focus-visible,
  .nx-site .ko-featured .ko-path > [role=tabpanel] :is(a, button):focus-visible,
  .nx-site .ko-featured .ko-path [data-ko-title]:focus-visible { outline: 2px solid #355e37; outline-offset: 5px; }
  .nx-site .ko-featured .ko-path > [role=tabpanel]:focus-visible { outline-offset: -6px; }

  .nx-site .nx-quote .ko-context { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px 26px; margin: 0 0 25px; padding: 19px 22px; border: 1px solid #8aab8f70; border-left: 3px solid #a9c7a4; border-radius: 3px; background: linear-gradient(110deg, #294537, #1b332a); color: #d9e7d7; }
  .nx-site .nx-quote .ko-context > div { min-width: 0; }
  .nx-site .nx-quote .ko-context .ko-eyebrow { display: block; margin: 0 0 6px; color: #d6c9a8; font-size: 11px; font-weight: 550; line-height: 1.8; letter-spacing: .055em; }
  .nx-site .nx-quote .ko-context [data-ko-context-label] { display: block; color: #e8eedb; font-size: 16px; font-weight: 600; line-height: 1.7; overflow-wrap: break-word; }
  .nx-site .nx-quote .ko-context p.ko-context-note { margin: 6px 0 0; color: #c4d7c2; font-size: 16px; line-height: 1.75; }
  .nx-site .nx-quote .ko-context-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 18px; }
  .nx-site .nx-quote .ko-context-actions :is(a, button) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%; padding: 9px 0; border: 0; border-radius: 2px; background: none; color: #d2e4ce; font: 500 14px/1.7 var(--nx-font, 'Manrope', sans-serif); text-align: left; cursor: pointer; }
  .nx-site .nx-quote .ko-context-actions a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #9dbe928f; }
  .nx-site .nx-quote .ko-context-actions button { padding-inline: 12px; border: 1px solid #89a67b7a; background: #334d35; }
  .nx-site .nx-quote .ko-context-actions :is(a, button):focus-visible { outline: 2px solid #d3e9c9; outline-offset: 4px; }

  @media (max-width: 1100px) {
    .nx-site .ko-oriented .nx-expertise-index { padding: 17px 14px; }
    .nx-site .ko-oriented .nx-service-index-item { grid-template-columns: 28px minmax(0, 1fr) 13px; gap: 11px; padding: 16px 12px; }
    .nx-site .ko-oriented .nx-service-index-item > .kc-service-icon { width: 28px; height: 32px; }
    .nx-site .ko-featured .ko-fit-grid { grid-template-columns: minmax(0, 1fr); gap: 21px; }
    .nx-site .ko-featured .ko-fit-grid > section + section { padding: 19px 0 0; border-left: 0; border-top: 1px solid #7489694f; }
    .nx-site .ko-featured .ko-path > [role=tabpanel] { padding: 24px 22px; }
  }
  @media (max-width: 720px) {
    .nx-site .nx-expertise-layout.ko-oriented { grid-template-columns: minmax(0, 1fr); }
    .nx-site .ko-oriented .nx-expertise-index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 15px; }
    .nx-site .ko-oriented .nx-service-index-item { grid-template-columns: 28px minmax(0, 1fr); min-height: 104px; padding: 15px 12px; gap: 12px; }
    .nx-site .ko-oriented .nx-service-index-item > span:last-child:not(.ko-need-copy):not(.kc-service-icon) { display: none; }
    .nx-site .ko-featured .ko-path { margin-top: 25px; padding-top: 23px; }
    .nx-site .nx-quote .ko-context { grid-template-columns: minmax(0, 1fr); padding: 19px 20px; gap: 13px; }
    .nx-site .nx-quote .ko-context-actions { justify-content: flex-start; gap: 8px 19px; }
  }
  @media (max-width: 650px) {
    .nx-site .ko-featured .ko-path-head h4 { font-size: 22px; }
    .nx-site .ko-featured .ko-lenses { grid-template-columns: minmax(0, 1fr); gap: 7px; }
    .nx-site .ko-featured .ko-lenses > button { justify-content: flex-start; min-height: 48px; padding: 12px 15px; text-align: left; }
    .nx-site .ko-featured .ko-lenses > button[aria-selected=true],
    .nx-site .ko-featured .ko-lenses > button[aria-pressed=true] { box-shadow: inset 3px 0 #d6c8a3; }
    .nx-site .ko-featured .ko-read { margin-bottom: 11px; }
    .nx-site .ko-featured .ko-path > [role=tabpanel] { padding: 24px 20px 22px; }
    .nx-site .ko-featured .ko-path .ko-answer-head h5 { font-size: 21px; }
    .nx-site .ko-featured .ko-evidence { padding: 19px 17px; }
    .nx-site .ko-featured .ko-next { align-items: stretch; flex-direction: column; gap: 9px; }
    .nx-site .ko-featured .ko-next .ko-method { justify-content: flex-start; }
  }
  @media (max-width: 480px) {
    .nx-site .ko-oriented .nx-expertise-index { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px; gap: 7px; }
    .nx-site .ko-oriented .nx-service-index-item { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; min-width: 0; min-height: 148px; padding: 14px 10px; gap: 11px; }
    .nx-site .ko-oriented .nx-service-index-item .ko-need-copy { gap: 7px; }
    .nx-site .ko-oriented .ko-need-copy > b { font-size: 16px; }
    .nx-site .ko-oriented .ko-need-copy > small { font-size: 14px; }
    .nx-site .ko-featured .ko-path > [role=tabpanel] { margin-inline: -18px; padding: 23px 18px 21px; }
    .nx-site .ko-featured .ko-path .ko-answer-head { margin-bottom: 19px; padding-bottom: 18px; }
    .nx-site .ko-featured .ko-path .ko-answer-head h5 { font-size: 20px; }
    .nx-site .ko-featured .ko-evidence { padding: 18px 14px; }
    .nx-site .ko-featured .ko-evidence > a { gap: 11px; }
    .nx-site .ko-featured .ko-questions { padding-left: 17px; }
    .nx-site .ko-featured .ko-questions > li { padding-left: 2px; }
    .nx-site .nx-quote .ko-context { padding: 18px 16px; }
  }
  @media (hover: hover) and (pointer: fine) {
    .nx-site .ko-oriented .nx-service-index-item:hover { border-color: #a8b89a88; background-color: #354638; }
    .nx-site .ko-featured .ko-lenses > button:hover { border-color: #b1c29b; background-color: #3b523b; }
    .nx-site .ko-featured .ko-read:hover { color: #e0e9c9; text-decoration-color: #d7d0a9; }
    .nx-site .ko-featured .ko-evidence > a:hover { color: #173d22; text-decoration-color: #315d35; }
    .nx-site .ko-featured .ko-next .nx-button.ko-project:hover { border-color: #506e43; background: #425e3d; color: #f4f4e1; }
    .nx-site .ko-featured .ko-next .ko-method:hover { color: #244a2a; text-decoration-color: #244a2a; }
    .nx-site .nx-quote .ko-context-actions a:hover { color: #edf0d8; text-decoration-color: #d7cba5; }
    .nx-site .nx-quote .ko-context-actions button:hover { background: #425e3f; border-color: #b0c39b; }
  }
  @media (prefers-reduced-motion: reduce) {
    .nx-site .ko-oriented *, .nx-site .ko-oriented *::before, .nx-site .ko-oriented *::after, .nx-site .ko-context * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  }
  @media (forced-colors: active) {
    .nx-site .ko-oriented .nx-service-index-item,
    .nx-site .ko-featured .ko-path > [role=tabpanel],
    .nx-site .ko-featured .ko-evidence { background: Canvas; color: CanvasText; border: 1px solid CanvasText; box-shadow: none; }
    .nx-site .ko-oriented .nx-service-index-item[aria-pressed=true],
    .nx-site .ko-featured .ko-lenses > button[aria-selected=true] { outline: 2px solid Highlight; outline-offset: -4px; }
    .nx-site .ko-featured .ko-path :is(p, h4, h5, b, strong, .ko-label, .ko-eyebrow),
    .nx-site .ko-oriented .ko-need-copy > :is(b, small) { color: CanvasText; }
  }
}

@media print {
  .nx-site .ko-featured .ko-path { margin: 14pt 0; padding: 0; border: 0; }
  .nx-site .ko-featured .ko-lenses,
  .nx-site .ko-featured .ko-read { display: none; }
  .nx-site .ko-featured .ko-path > [role=tabpanel] { padding: 12pt; border: 1pt solid #999; background: none; box-shadow: none; color: #111; }
  .nx-site .ko-featured .ko-fit-grid { display: block; }
  .nx-site .ko-featured .ko-fit-grid > section + section { margin-top: 12pt; padding-top: 10pt; border-left: 0; border-top: 1pt solid #aaa; }
  .nx-site .ko-featured .ko-path :is(h4, h5) { margin: 8pt 0; color: #111; font-size: 13pt; line-height: 1.5; }
  .nx-site .ko-featured .ko-path :is(p, li, b, strong, a) { color: #111; font-size: 11pt; line-height: 1.7; }
  .nx-site .ko-featured .ko-path :is(.ko-label, .ko-eyebrow, .ko-note) { color: #333; font-size: 9pt; line-height: 1.6; }
  .nx-site .ko-featured .ko-evidence { margin-top: 12pt; padding: 10pt; border: 1pt solid #aaa; background: none; box-shadow: none; }
  .nx-site .ko-featured .ko-questions { list-style: disc; padding-left: 14pt; }
  .nx-site .ko-featured .ko-questions li { margin: 8pt 0; }
  .nx-site .ko-featured .ko-next { margin-top: 12pt; }
  .nx-site .ko-featured .ko-next a { display: block; margin: 5pt 0; padding: 0; border: 0; background: none; color: #111; text-decoration: underline; }
  .nx-site .ko-context { margin: 10pt 0; padding: 9pt 0; border-block: 1pt solid #999; background: none; color: #111; }
  .nx-site .ko-context :is(p, strong) { color: #111; font-size: 11pt; line-height: 1.65; }
  .nx-site .ko-context .ko-eyebrow { display: block; color: #333; font-size: 9pt; }
  .nx-site .ko-context-actions { display: none; }
}
/* A short route from the need selector to its reading panel. */
@media screen {
  .nx-site .ko-oriented .ko-index-footer {grid-column:1/-1;padding:20px 0 2px;border-top:1px solid #829b9f40;margin-top:10px;min-width:0}
  .nx-site .ko-index-footer button {display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:48px;width:100%;padding:12px 15px;border:1px solid #8fa79872;border-radius:3px;background:#253b34;color:#dfebe2;text-align:left;font:500 14px/1.6 var(--nx-font,'Manrope',sans-serif);cursor:pointer}
  .nx-site .ko-index-footer button:focus-visible {outline:2px solid #b1e5d6;outline-offset:4px}
  .nx-site .ko-path [data-ko-path-title] {scroll-margin-top:18px}
  .nx-site .ko-path [data-ko-path-title]:focus-visible {outline:2px solid #b1e5d6;outline-offset:5px}
}
@media print {.ko-index-footer {display:none!important}}
@media screen {
  .nx-site .ko-path .ko-change {display:inline-flex;align-items:center;min-height:44px;margin-top:13px;padding:8px 0;color:#bfd6c9;font:500 14px/1.6 var(--nx-font,'Manrope',sans-serif);text-decoration:underline;text-underline-offset:4px}
  .nx-site .ko-path .ko-change:focus-visible {outline:2px solid #b1e5d6;outline-offset:4px}
}
@media screen and (min-width:1101px) and (min-height:820px) {
  .nx-site .nx-expertise-layout.ko-oriented {overflow:clip}
  .nx-site .ko-oriented .nx-expertise-index {position:sticky;top:105px;align-self:start}
}
@media print {.ko-change {display:none!important}}
