/* ═══════════════════════════════════════════════════════════════════════
   /solutions/news-media — the news wire as data. Own spine: live wire (crawl
   + latest) → article → clean record → what-you-pull grid → purple coverage
   band (centre-split curtain). Accent PURPLE. Hairline-on-transparent, no fills.
   ═══════════════════════════════════════════════════════════════════════ */
@import url("../../_ds/fonts.css");
@import url("../../_ds/theme.css");
@import url("../../_shared/chrome.css");
@import url("../../_shared/components.css");
@import url("../../_shared/audience-switcher.css");

main { position: relative; z-index: 1; overflow-x: clip; }
.blur-t { opacity: 0; filter: blur(12px); transition: opacity 760ms cubic-bezier(0.22,1,0.36,1), filter 760ms cubic-bezier(0.22,1,0.36,1); transform: translateZ(0); backface-visibility: hidden; will-change: filter, opacity; }
.blur-t.is-in { opacity: 1; filter: blur(0); }
@media (prefers-reduced-motion: reduce) { .blur-t { opacity: 1; filter: none; transition: none; } }
.nx-p { color: var(--text-quaternary); } .nx-k { color: var(--text-secondary); } .nx-s { color: var(--text-tertiary); }
[data-nm-field].is-lit { color: #7C4FE8 !important; transition: color 160ms ease; }

/* ── Act 1 — Hero ─────────────────────────────────────────────────────── */
.nm-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 4vw, 72px); align-items: center; max-width: 1500px; margin-inline: auto; padding: clamp(120px, 15vh, 176px) clamp(20px, 5vw, 72px) clamp(64px, 9vh, 110px); }
.nm-hero-h1 { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-hero-xl); line-height: 0.98; letter-spacing: -0.03em; color: var(--text-primary); margin: 0; max-width: 13ch; }
.nm-hero-h1 em { font-style: normal; color: var(--text-primary); }
.nm-hero-sub { font-family: var(--font-base); font-size: var(--mkt-body); line-height: 1.5; color: var(--text-secondary); margin: 22px 0 0; max-width: 44ch; }
.nm-hero-cta { margin-top: clamp(26px, 4vh, 40px); }

.nm-wire-bar { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--border-subtle); }
.nm-wire-live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-code); font-size: 10.5px; letter-spacing: 0.14em; color: #7C4FE8; }
.nm-wire-dot { width: 7px; height: 7px; border-radius: 50%; background: #7C4FE8; animation: nm-pulse 1.8s cubic-bezier(0.22,1,0.36,1) infinite; }
@keyframes nm-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, #7C4FE8 55%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.nm-wire-title { font-family: var(--font-code); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-tertiary); }
.nm-crawl { overflow: hidden; border-bottom: 1px solid var(--border-subtle); padding: 11px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.nm-crawl-track { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; animation: nm-crawl 34s linear infinite; will-change: transform; }
@keyframes nm-crawl { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.nm-wire:hover .nm-crawl-track { animation-play-state: paused; }
.nm-crawl-item { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-base); font-size: 13px; color: var(--text-secondary); }
.nm-crawl-sep { color: var(--text-quaternary); }
.nm-fav { width: 16px; height: 16px; border-radius: 4px; flex: none; }
.nm-latest { list-style: none; margin: 0; padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.nm-latest-row { display: grid; grid-template-columns: 16px 1fr; gap: 11px; padding: 12px 12px; border-radius: 10px; align-items: start; transition: border-color 300ms ease; border: 1px solid transparent; }
.nm-latest-row.is-fresh { border-color: var(--border); }
.nm-latest-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nm-latest-h { font-family: var(--font-base); font-size: 13.5px; color: var(--text-primary); line-height: 1.3; }
.nm-latest-meta { font-family: var(--font-code); font-size: 11px; color: var(--text-quaternary); }
.nm-latest-cat { color: #7C4FE8; }
@media (prefers-reduced-motion: reduce) { .nm-crawl-track { animation: none; } .nm-wire-dot { animation: none; } }

/* ── Act 2 — Article → record ─────────────────────────────────────────── */
.nm-rec { max-width: 1200px; margin-inline: auto; padding: clamp(56px, 9vh, 120px) clamp(20px, 5vw, 72px); }
.nm-rec-head { max-width: 700px; }
.nm-rec-h2, .nm-kinds-h2, .nm-use-h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-h2); line-height: 1.02; letter-spacing: -0.026em; color: var(--text-primary); margin: 0; }
.nm-rec-h2 em, .nm-kinds-h2 em, .nm-use-h2 em, .nm-end-h2 em { font-style: normal; color: var(--text-primary); }
.nm-rec-sub, .nm-kinds-sub, .nm-use-sub { font-family: var(--font-base); font-size: var(--mkt-body); line-height: 1.5; color: var(--text-secondary); margin: 16px 0 0; max-width: 52ch; }
.nm-rec-stage { margin-top: clamp(30px, 4vh, 52px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); align-items: start; }
.nm-art { border: 1px solid var(--border-subtle); border-radius: 14px; overflow: hidden; }
.nm-art-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--border-subtle); }
.nm-art-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.nm-art-url { margin-left: 8px; font-family: var(--font-code); font-size: 11.5px; color: var(--text-tertiary); }
.nm-art-body { padding: clamp(18px, 2vw, 26px); }
.nm-art-kicker { font-family: var(--font-code); font-size: 10.5px; letter-spacing: 0.12em; color: var(--text-quaternary); margin: 0; }
.nm-art-head { font-family: var(--font-display); font-size: var(--mkt-h4); line-height: 1.1; color: var(--text-primary); margin: 8px 0 0; }
.nm-art-byline { font-family: var(--font-code); font-size: 11.5px; color: var(--text-tertiary); margin: 10px 0 0; }
.nm-art-p { height: 8px; border-radius: 3px; background: var(--border-subtle); margin: 12px 0 0; }
.nm-art-p--sh { width: 70%; }
.nm-rec-json { border: 1px solid var(--border-subtle); border-radius: 14px; margin: 0; padding: 18px 20px; overflow-x: auto; }
.nm-rec-json code { font-family: var(--font-code); font-size: 12.5px; line-height: 1.8; white-space: pre; }

/* ── Act 3 — What you pull ────────────────────────────────────────────── */
.nm-kinds { max-width: 1200px; margin-inline: auto; padding: clamp(56px, 9vh, 120px) clamp(20px, 5vw, 72px); }
.nm-kinds-head { max-width: 620px; }
.nm-kind-grid { list-style: none; margin: clamp(30px, 4vh, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.4vw, 18px); }
.nm-kind { border: 1px solid var(--border-subtle); border-radius: 16px; padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 8px; transition: border-color 200ms ease, transform 200ms ease; }
.nm-kind:hover { border-color: var(--border); transform: translateY(-2px); }
.nm-kind:hover .nm-kind-t { color: #7C4FE8; }
.nm-kind-t { font-family: var(--font-display); font-size: var(--mkt-lead); color: var(--text-primary); transition: color 200ms ease; }
.nm-kind-d { font-family: var(--font-base); font-size: 13.5px; line-height: 1.5; color: var(--text-secondary); }

/* ── Act 4 — Coverage band (SOLID purple, centre-split curtain) ───────── */
.nm-cover { position: relative; overflow: hidden; isolation: isolate; padding: clamp(90px, 14vh, 180px) clamp(20px, 5vw, 72px); }
.nm-cover-fill { position: absolute; inset: 0; z-index: -1; background: #7C4FE8; clip-path: inset(0 50% 0 50%); transition: clip-path 820ms cubic-bezier(0.22,1,0.36,1); }
.nm-cover.is-in .nm-cover-fill { clip-path: inset(0 0 0 0); }
.nm-cover-inner { position: relative; z-index: 1; max-width: 1200px; margin-inline: auto; }
.nm-cover-h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-h2); line-height: 1.0; letter-spacing: -0.026em; color: #FFFFFF; margin: 0; }
.nm-cover-list { list-style: none; margin: clamp(30px, 4vh, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
.nm-cover-k { font-family: var(--font-display); font-size: clamp(17px, 1.7vw, 23px); color: #FFFFFF; }
.nm-cover-v { font-family: var(--font-base); font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,0.82); max-width: 38ch; }

/* ── Act 5 — Use-cases ────────────────────────────────────────────────── */
.nm-use { max-width: 1200px; margin-inline: auto; padding: clamp(56px, 9vh, 120px) clamp(20px, 5vw, 72px); }
.nm-use-head { max-width: 620px; }
.nm-use-grid { margin-top: clamp(30px, 4vh, 52px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }

/* ── Act 6 — Closer ───────────────────────────────────────────────────── */
.nm-end { padding: clamp(96px, 16vh, 200px) clamp(20px, 5vw, 72px); text-align: center; }
.nm-end-frame { max-width: 800px; margin-inline: auto; }
.nm-end-h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-hero); line-height: 0.98; letter-spacing: -0.03em; color: var(--text-primary); margin: 0; }
.nm-end-cta { margin-top: clamp(28px, 4vh, 44px); justify-content: center; }
.nm-end-x { margin-top: 20px; }

@media (max-width: 960px) {
  .nm-hero { grid-template-columns: 1fr; gap: 40px; }
  .nm-rec-stage { grid-template-columns: 1fr; }
  .nm-kind-grid, .nm-cover-list, .nm-use-grid { grid-template-columns: 1fr; }
}
@media (min-width: 1600px) {
  
  .nm-hero, .nm-rec, .nm-kinds, .nm-use { max-width: 1640px; }
}
