/* NEXT Values widget: black band, heading + intro, a grid of numbered cards.
 * A red panel sweeps in at the 19.03° slant on hover/focus.
 * Colors + fonts come from the site brand kit (--next-* tokens).
 */
.nx-vals {
  --nx-slant: 19.03deg;
  --nx-gutter: clamp(16px, 4vw, 56px);
  position: relative; box-sizing: border-box;
  padding: clamp(64px, 8vw, 110px) var(--nx-gutter);
  background: var(--next-black); color: #C9C9CC; font-family: var(--next-font-head);
}
.nx-vals *, .nx-vals *::before, .nx-vals *::after { box-sizing: border-box; }
.nx-vals-in { max-width: 1480px; margin: 0 auto; padding-inline: clamp(28px, 3vw, 56px); }

.nx-vals-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 52px; }
.nx-vals .eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 16px;
  font: 700 12px/1 var(--next-font-sub); letter-spacing: .2em; text-transform: uppercase; color: var(--next-red);
}
.nx-vals .eyebrow::after { content: ""; width: 48px; height: 2px; background: var(--next-red); }
.nx-vals-head h2, .nx-vals-head h3 { margin: 0; color: var(--next-white); font: 700 clamp(32px, 4vw, 52px)/1.08 var(--next-font-head); letter-spacing: -.02em; text-wrap: balance; }
.nx-vals-head .intro { margin: 0; max-width: 62ch; font: 400 17px/1.7 var(--next-font-head); color: #C9C9CC; }

.nx-vals-grid { display: grid; grid-template-columns: repeat(var(--nx-cols, 3), minmax(0, 1fr)); gap: 2px; background: #1C1C1F; }
.nx-val { position: relative; display: block; padding: 40px 34px 38px; background: var(--next-panel); color: inherit; text-decoration: none; overflow: hidden; isolation: isolate; }
.nx-val::before {
  content: ""; position: absolute; inset: 0 -30%; z-index: -1; background: var(--next-red);
  transform: translateX(-110%) skewX(calc(var(--nx-slant) * -1)); transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}
.nx-val:hover::before, .nx-val:focus-visible::before { transform: translateX(0) skewX(calc(var(--nx-slant) * -1)); }
.nx-val:focus-visible { outline: 3px solid var(--next-cyan); outline-offset: -3px; }
.nx-val-num { display: block; font: 700 15px/1 var(--next-font-call); letter-spacing: .12em; color: var(--next-red); transition: color .3s; }
.nx-val h3 { margin: 26px 0 12px; font: 700 26px/1.1 var(--next-font-head); letter-spacing: .02em; text-transform: uppercase; color: var(--next-white); transition: color .3s; }
.nx-val p { margin: 0; font: 400 15.5px/1.6 var(--next-font-head); color: #B9B9BE; transition: color .3s; }
.nx-val:hover .nx-val-num, .nx-val:hover h3, .nx-val:hover p,
.nx-val:focus-visible .nx-val-num, .nx-val:focus-visible h3, .nx-val:focus-visible p { color: var(--next-black); }
.nx-val-ghost { position: absolute; right: -6px; bottom: -22px; font: 900 110px/1 var(--next-font-call); color: rgba(255, 255, 255, .04); transition: color .3s; pointer-events: none; }
.nx-val:hover .nx-val-ghost, .nx-val:focus-visible .nx-val-ghost { color: rgba(0, 0, 0, .08); }

/* NEXT Cyan background: black type, white cards (the red sweep still turns them red) */
.nx-vals--cyan { background: var(--next-cyan); color: var(--next-black); }
.nx-vals--cyan .eyebrow { color: var(--next-black); }
.nx-vals--cyan .eyebrow::after { background: var(--next-black); }
.nx-vals--cyan .nx-vals-head h2, .nx-vals--cyan .nx-vals-head h3, .nx-vals--cyan .nx-vals-head .intro { color: var(--next-black); }
.nx-vals--cyan .nx-vals-grid { gap: 14px; background: transparent; }
.nx-vals--cyan .nx-val { background: var(--next-white); }
.nx-vals--cyan .nx-val h3 { color: var(--next-black); }
.nx-vals--cyan .nx-val p { color: var(--next-body); }
.nx-vals--cyan .nx-val-ghost { color: rgba(0, 0, 0, .05); }

@media (max-width: 1100px) {
  .nx-vals-in { padding-inline: 28px; }
  .nx-vals-head { grid-template-columns: 1fr; }
  .nx-vals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .nx-vals-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nx-vals-in { padding-inline: 20px; }
  .nx-val { padding: 32px 24px 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .nx-val::before, .nx-val-num, .nx-val h3, .nx-val p, .nx-val-ghost { transition: none; }
}
