/* =====================================================================
   HOME PAGE 2 — "Home Page 1 feel" layer
   Loaded last. Gives Home Page 2 the same look as Home Page 1:
   one soft sky background, white rounded cards floating on it,
   quiet grey section labels, blue pill tags, calm spacing.
   Remove this file's <link> in home-v2.html to undo everything here.
   (Previous white-panel version: _backups/home-v2-polish-v1-white-panels.css)
   ===================================================================== */
.nx { --grey: #f5faff; --r-lg: 30px; --r-md: 22px; --soft: 0 1px 2px rgba(30,60,100,.05), 0 14px 34px -22px rgba(30,60,100,.32); }
::selection { background: rgba(59,130,246,.18); }
.nx :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

/* ---------- one continuous sky background (same as Home Page 1) ---------- */
.nx .px-sec, .nx .px-sec.px-grey { background: transparent; }
.nx .px-sec.px-dark { background: var(--navy); }
.nx .px-sec { padding: clamp(64px, 7vw, 92px) 0; }

/* the dark AI band and careers band stay as rounded inset panels, like the hero frame */
.nx .px-sec.px-dark, .nx .px-band { margin-inline: 14px; border-radius: var(--r-lg); overflow: hidden; }

/* ---------- section header: Home Page 1 style ---------- */
.nx .px-head { margin-bottom: clamp(32px, 3.6vw, 44px); padding-bottom: 0; border-bottom: 0; align-items: end; }
.nx .px-k { display: block; margin-bottom: 12px; padding: 0; background: none; font-size: .8rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--mute); }
.nx .px-dark .px-k { color: rgba(255,255,255,.6); }
.nx .px-head h2, .nx .split h2, .nx .band-card h2, .nx .cta h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
.nx .px-aside p { color: var(--ink-2); }

/* ---------- white cards floating on the sky ---------- */
.nx .card, .nx .px-grey .card { border: 0; border-radius: var(--r-md); background: #fff; box-shadow: var(--soft); }
.nx .card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(30,60,100,.05), 0 26px 50px -28px rgba(30,60,100,.45); }
.nx .card-img { margin: 8px 8px 0; border-radius: calc(var(--r-md) - 6px); }
.nx .card-body { padding: 18px 20px 22px; }
.nx .card h3 { font-size: 1.1rem; letter-spacing: -.02em; }

/* tags become blue pills, like the project cards on Home Page 1 */
.nx .card-tag { align-self: flex-start; width: fit-content; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 500; letter-spacing: 0; text-transform: none; }

/* Thinking Edge: featured story + list sit inside one white panel */
.nx .te-wrap { padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r-lg); background: #fff; box-shadow: var(--soft); }
.nx .te-meta, .nx .te-item small { text-transform: none; letter-spacing: 0; font-size: .8rem; }
.nx .te-side li + li { border-top-color: #edf2f8; }

/* industries: tab bar + panel on white */
.nx .tabs { background: rgba(255,255,255,.7); border-color: #e3ecf6; }
.nx .tab-panel { padding: clamp(16px, 2vw, 24px); border-radius: var(--r-lg); background: #fff; box-shadow: var(--soft); gap: clamp(28px, 4vw, 56px); }
.nx .tp-img { border-radius: var(--r-md); overflow: hidden; }

/* other image tiles share the same radius */
.nx .fp-step, .nx .vid { border-radius: var(--r-md); }
.nx .te-img, .nx .split-img { border-radius: var(--r-md); overflow: hidden; }

/* clients filter + logo tiles on white */
.nx .seg { background: #fff; box-shadow: 0 1px 2px rgba(30,60,100,.06); }
.nx .lg-tile { border-color: #e6eef7; }

/* media list on a white panel */
.nx .media { padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r-lg); background: #fff; box-shadow: var(--soft); }

/* ---------- buttons: Home Page 1 sizing ---------- */
.nx .px-btn { height: 46px; padding: 0 22px; font-weight: 500; }
.nx .px-btn:hover { transform: translateY(-1px); }

/* ---------- CTA + footer ---------- */
.nx .cta { border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(37,99,235,.55); }
.nx .nx-foot, .nx .px-foot { background: transparent; }

/* ---------- wider container (lines up with the header) ---------- */
.nx .px-wrap, .nx .wrap { width: min(1440px, calc(100vw - clamp(40px, 8vw, 128px))); }

/* ---------- smoother scroll reveal ---------- */
.nx .rv { transition: opacity .8s var(--ease), transform .8s var(--ease) !important; }

@media (max-width: 700px) {
  .nx .px-wrap, .nx .wrap { width: calc(100vw - 40px); }
  .nx .px-sec.px-dark, .nx .px-band { margin-inline: 8px; border-radius: 22px; }
  .nx .te-wrap, .nx .tab-panel, .nx .media { padding: 16px; border-radius: 22px; }
}
