/* ═══════════════════════════════════════════════════════════════════════
   /for/nonprofits — audience: nonprofits, watchdogs, newsrooms.
   NOUN = the receipt. Watch the public record, capture the version before it
   is edited, keep a dated archive. Accent TEAL #7ADAE6 (distinct from the
   purple /for/universities). Hairline-on-transparent, no card fills.
   Every mechanic is time / tap / IO driven, so it works on mobile too.
   ═══════════════════════════════════════════════════════════════════════ */
@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");

.np-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; } }

/* ── Act 1 — Hero ─────────────────────────────────────────────────────── */
.np-hero { display: grid; grid-template-columns: 1fr 1.02fr; 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); }
.np-hero-h1 { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-hero-xl); line-height: 0.97; letter-spacing: -0.032em; color: var(--text-primary); margin: 0; max-width: 14ch; }
.np-hero-h1 em { font-style: normal; color: var(--text-primary); }
.np-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: 46ch; }
.np-hero-cta { margin-top: clamp(26px, 4vh, 40px); }

/* the public record document */
.np-doc { position: relative; margin: 0; border: 1px solid var(--border-subtle); border-radius: 16px; overflow: hidden; }
.np-doc-bar { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; border-bottom: 1px solid var(--border-subtle); }
.np-doc-url { font-family: var(--font-code); font-size: 12px; color: var(--text-tertiary); }
.np-doc-live { font-family: var(--font-code); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #7ADAE6; display: inline-flex; align-items: center; gap: 7px; }
.np-doc-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #7ADAE6; animation: np-pulse 1.8s cubic-bezier(0.22,1,0.36,1) infinite; }
@keyframes np-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, #7ADAE6 55%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.np-doc-body { padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 15px; }
.np-doc-h { font-family: var(--font-display); font-size: clamp(18px, 1.7vw, 24px); color: var(--text-primary); margin: 0; }
.np-doc-line { font-family: var(--font-base); font-size: clamp(14px, 1.15vw, 16.5px); line-height: 1.5; color: var(--text-secondary); margin: 0; position: relative; }
.np-doc-para { color: var(--text-tertiary); }
.np-amt { font-family: var(--font-code); color: var(--text-primary); transition: color 300ms ease; }
.np-amt .np-amt-old { color: var(--text-quaternary); text-decoration: line-through; margin-right: 8px; }
.np-amt .np-amt-new { color: var(--text-primary); }
/* a redaction bar wipes across the line, then the capture is logged */
.np-doc-line--redacting::after, .np-doc-line--redacted::after { content: ""; position: absolute; inset: -2px -4px; background: var(--text-primary); border-radius: 3px; transform-origin: left center; transform: scaleX(0); }
.np-doc-line--redacting::after { animation: np-redact 700ms cubic-bezier(0.5,0,0.2,1) forwards; }
.np-doc-line--redacted::after { transform: scaleX(1); }
@keyframes np-redact { to { transform: scaleX(1); } }
.np-capture { display: flex; align-items: center; gap: 9px; padding: 12px 18px; border-top: 1px solid var(--border-subtle); font-family: var(--font-code); font-size: 12px; color: var(--text-tertiary); opacity: 0; transform: translateY(4px); transition: opacity 320ms ease, transform 320ms ease; }
.np-capture.is-on { opacity: 1; transform: none; }
.np-capture-dot { width: 7px; height: 7px; border-radius: 50%; background: #7ADAE6; flex: none; }
.np-capture-txt { color: var(--text-secondary); }

/* ── Act 2 — Version history ──────────────────────────────────────────── */
.np-hist { max-width: 1200px; margin-inline: auto; padding: clamp(70px, 12vh, 150px) clamp(20px, 5vw, 72px); }
.np-hist-head { max-width: 680px; margin-bottom: clamp(34px, 5vh, 60px); }
.np-hist-h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-h2); line-height: 1.0; letter-spacing: -0.028em; color: var(--text-primary); margin: 0; }
.np-hist-h2 em { font-style: normal; color: var(--text-primary); }
.np-hist-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: 50ch; }
.np-hist-grid { display: grid; grid-template-columns: minmax(210px, 0.7fr) 1.3fr; gap: clamp(20px, 3vw, 44px); align-items: start; }
.np-rail { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.np-rev { width: 100%; text-align: left; background: none; border: 1px solid var(--border-subtle); border-radius: 12px; padding: 16px 18px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; transition: border-color 200ms ease, transform 200ms ease; font: inherit; }
.np-rev:hover { transform: translateX(3px); }
.np-rev.is-active { border-color: var(--border); }
.np-rev-v { font-family: var(--font-display); font-size: 19px; color: var(--text-primary); }
.np-rev.is-active .np-rev-v { color: #7ADAE6; }
.np-rev-t { font-family: var(--font-code); font-size: 12px; color: var(--text-tertiary); }
.np-view { border: 1px solid var(--border-subtle); border-radius: 16px; overflow: hidden; min-height: 260px; }
.np-view-cap { font-family: var(--font-code); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-tertiary); padding: 14px 22px; border-bottom: 1px solid var(--border-subtle); margin: 0; }
.np-view-body { padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 13px; font-family: var(--font-base); font-size: var(--mkt-body-sm); line-height: 1.5; }
.np-view-body p { margin: 0; color: var(--text-secondary); }
.np-d-add { color: #7ADAE6; }
.np-d-del { color: var(--text-quaternary); text-decoration: line-through; }
.np-d-flag { font-family: var(--font-code); font-size: 11px; color: var(--text-tertiary); }

/* ── Act 3 — What you watch (editorial ledger) ────────────────────────── */
.np-watch { max-width: 1180px; margin-inline: auto; padding: clamp(70px, 12vh, 150px) clamp(20px, 5vw, 72px); }
.np-watch-h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-h2); line-height: 1.0; letter-spacing: -0.026em; color: var(--text-primary); margin: 0 0 clamp(20px, 3vh, 40px); }
.np-watch-list { list-style: none; margin: 0; padding: 0; }
.np-watch-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; align-items: baseline; gap: clamp(12px, 2vw, 40px); padding: clamp(18px, 2.4vw, 30px) 0; border-top: 1px solid var(--border-subtle); transition: padding-left 240ms cubic-bezier(0.22,1,0.36,1); }
.np-watch-row:last-child { border-bottom: 1px solid var(--border-subtle); }
.np-watch-row:hover { padding-left: clamp(6px, 1.2vw, 18px); }
.np-watch-t { font-family: var(--font-display); font-size: var(--mkt-h4); line-height: 1.05; letter-spacing: -0.018em; color: var(--text-primary); }
.np-watch-d { font-family: var(--font-base); font-size: var(--mkt-body-sm); line-height: 1.5; color: var(--text-tertiary); }
.np-watch-tick { font-family: var(--font-code); font-size: 11.5px; color: #7ADAE6; white-space: nowrap; }

/* ── Act 4 — The archive band (SOLID teal, top-right circle bloom) ────── */
.np-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(90px, 14vh, 184px) clamp(20px, 5vw, 72px); }
.np-band-fill { position: absolute; inset: 0; z-index: -1; background: #7ADAE6; clip-path: circle(0% at 100% 0%); transition: clip-path 920ms cubic-bezier(0.22,1,0.36,1); }
.np-band.is-in .np-band-fill { clip-path: circle(155% at 100% 0%); }
.np-band-inner { position: relative; z-index: 1; max-width: 1200px; margin-inline: auto; }
.np-band-h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-h2); line-height: 1.0; letter-spacing: -0.028em; color: #14100D; margin: 0; }
.np-band-list { list-style: none; margin: clamp(30px, 4vh, 54px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.np-band-item { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid rgba(20,16,13,0.24); padding-top: 18px; }
.np-band-k { font-family: var(--font-display); font-size: clamp(18px, 1.8vw, 25px); color: #14100D; }
.np-band-v { font-family: var(--font-base); font-size: 14.5px; line-height: 1.5; color: rgba(20,16,13,0.78); max-width: 32ch; }

/* ── Act 5 — Closer (receipt, ticking timestamp) ──────────────────────── */
.np-end { padding: clamp(96px, 16vh, 200px) clamp(20px, 5vw, 72px); text-align: center; }
.np-end-frame { max-width: 800px; margin-inline: auto; }
.np-end-h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-hero); line-height: 0.96; letter-spacing: -0.03em; color: var(--text-primary); margin: 0; }
.np-end-h2 em { font-style: normal; color: var(--text-primary); }
.np-end-cta { margin-top: clamp(28px, 4vh, 44px); }
.np-end-stamp { font-family: var(--font-code); font-size: 12px; color: var(--text-tertiary); margin: 22px 0 0; display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.np-end-dot { width: 7px; height: 7px; border-radius: 50%; background: #7ADAE6; }
.np-end-links { font-family: var(--font-base); font-size: 14px; color: var(--text-tertiary); margin: 20px 0 0; }
.np-end-links a { color: var(--text-secondary); text-decoration: none; border-bottom: 1px solid var(--border); }
.np-end-links a:hover { color: var(--text-primary); }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .np-hero { grid-template-columns: 1fr; gap: 40px; }
  .np-hist-grid { grid-template-columns: 1fr; }
  .np-rail { flex-direction: row; flex-wrap: wrap; }
  .np-rev { flex: 1 1 30%; }
  .np-band-list { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 640px) {
  .np-watch-row { grid-template-columns: 1fr auto; }
  .np-watch-d { grid-column: 1 / -1; order: 3; }
  .np-watch-tick { grid-column: 2; }
}
@media (min-width: 1600px) {
  .np-hero, .np-hist, .np-watch { max-width: 1560px; }
  
}
