/* One news story (templates/news-story.php), first used 2026-11-24 for the bomb threat at The Henry Ford.
   The site's paper-and-ink voice: a dark photo hero with a slow Ken Burns drift and an amber "alert" sweep, fact tiles,
   a timeline that lights up as you scroll, a warm paper section, numbered sources. No inline styles (strict CSP). */
.ns-page { --deep: #12100e; --deep2: #1c1916; --cream: #f7f5ec; --paper: #f4efe3; --ink: #17201b; --muted: #58635b; --muted-l: #c9c2b4;
  --amber: #f2a93b; --amber-d: #c9771a; --red: #e0533d; --lime: #e9fc82; --line: rgba(23, 32, 27, .14); --line-l: rgba(247, 245, 236, .16);
  background: var(--deep); color: var(--cream); }
.ns-page main { overflow: hidden; overflow: clip; }
.ns-page a { color: inherit; }
.ns-page .home-header { color: var(--cream); border-bottom-color: var(--line-l); }
.ns-page .home-language a { color: var(--muted-l); }
.ns-page .home-language a[aria-current] { color: var(--cream); }
.ns-page h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.02em; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.08; margin: 0 0 1.4rem; }

/* Hero */
.ns-hero { position: relative; min-height: min(92vh, 880px); display: flex; align-items: flex-end; isolation: isolate; padding-bottom: 4.5rem; }
.ns-hero-photo { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.ns-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; display: block; }
.ns-kb { animation: ns-kb 30s ease-in-out infinite alternate; transform-origin: 50% 35%; }
@keyframes ns-kb { from { transform: scale(1.03); } to { transform: scale(1.14) translateY(-1.5%); } }
.ns-wash { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(18, 16, 14, .3) 0%, rgba(18, 16, 14, .7) 42%, rgba(18, 16, 14, .97) 100%), radial-gradient(55% 45% at 78% 22%, rgba(242, 169, 59, .28), transparent 70%); }
.ns-sweep { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(100deg, transparent 0%, rgba(242, 169, 59, 0) 40%, rgba(242, 169, 59, .16) 50%, rgba(242, 169, 59, 0) 60%, transparent 100%); background-size: 260% 100%; animation: ns-sweep 9s ease-in-out infinite; mix-blend-mode: screen; }
@keyframes ns-sweep { 0% { background-position: 120% 0; } 55%, 100% { background-position: -40% 0; } }
.ns-hero-inner { position: relative; padding-top: 3rem; }
.ns-kicker { display: inline-flex; align-items: center; gap: .6rem; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin: 0 0 1.2rem; }
.ns-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); animation: ns-pulse 2.6s infinite; }
@keyframes ns-pulse { 0% { box-shadow: 0 0 0 0 rgba(242, 169, 59, .6); } 70% { box-shadow: 0 0 0 12px rgba(242, 169, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 169, 59, 0); } }
.ns-hero h1 { font-size: clamp(2.3rem, 6vw, 5.2rem); font-weight: 900; letter-spacing: -.045em; line-height: .98; margin: 0 0 1.5rem; max-width: 17ch; }
.ns-hero h1 em { display: block; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; letter-spacing: -.025em; color: var(--amber); }
.ns-lead { max-width: 66ch; font-size: clamp(1.04rem, 1.5vw, 1.25rem); line-height: 1.6; color: #ece7dc; margin: 0 0 1.4rem; }
.ns-byline { font-size: .82rem; letter-spacing: .06em; color: var(--muted-l); margin: 0; }
.ns-credit { position: absolute; right: 1rem; bottom: .7rem; margin: 0; font-size: .7rem; color: rgba(247, 245, 236, .6); }
.ns-credit a { text-decoration: underline; text-decoration-color: rgba(247, 245, 236, .3); }

/* Citations */
.ns-cites { display: inline-flex; gap: .2rem; margin-left: .3rem; vertical-align: super; font-size: .62em; line-height: 1; }
.ns-cite { display: inline-grid; place-items: center; min-width: 1.45em; height: 1.45em; padding: 0 .25em; border-radius: 999px; background: rgba(242, 169, 59, .18); color: var(--amber) !important; text-decoration: none; font-weight: 700; }
.ns-cite:hover, .ns-cite:focus-visible { background: var(--amber); color: var(--deep) !important; }
.ns-paper .ns-cite { background: rgba(201, 119, 26, .14); color: var(--amber-d) !important; }

/* Fact tiles */
.ns-facts { background: var(--deep2); border-top: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); }
.ns-facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.ns-facts li { position: relative; padding: 1.6rem 1.4rem 1.7rem; border-left: 1px solid var(--line-l); display: grid; gap: .45rem; align-content: start; }
.ns-facts li:first-child { border-left: 0; }
.ns-facts li::after { content: ""; position: absolute; left: 1.4rem; right: 1.4rem; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--amber), var(--red)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s cubic-bezier(.2, .7, .2, 1) .15s; }
.ns-facts li.is-in::after, .ns-page:not(.ns-js) .ns-facts li::after { transform: scaleX(1); }
.ns-fact-n { font-family: Georgia, serif; font-style: italic; color: var(--amber); font-size: .95rem; }
.ns-fact-label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-l); }
.ns-facts strong { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }

/* Sections */
.ns-section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.ns-narrow { max-width: 860px; }
.ns-para { font-size: 1.08rem; line-height: 1.7; margin: 0 0 1.1rem; color: #e6e1d6; max-width: 68ch; }

/* Timeline */
.ns-timeline { list-style: none; margin: 0; padding: 0 0 0 2rem; position: relative; }
.ns-timeline::before { content: ""; position: absolute; left: .45rem; top: .4rem; bottom: .4rem; width: 2px; background: linear-gradient(180deg, var(--amber), rgba(242, 169, 59, .15)); }
.ns-timeline li { position: relative; padding: 0 0 2rem; }
.ns-timeline li:last-child { padding-bottom: 0; }
.ns-timeline li::before { content: ""; position: absolute; left: -2rem; top: .3rem; width: 16px; height: 16px; border-radius: 50%; background: var(--deep); border: 3px solid var(--amber); box-sizing: border-box; transition: background .5s ease, box-shadow .5s ease; }
.ns-timeline li.is-in::before { background: var(--amber); box-shadow: 0 0 0 6px rgba(242, 169, 59, .16); }
.ns-when { display: block; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: .35rem; }
.ns-timeline p { margin: 0; font-size: 1.06rem; line-height: 1.65; color: #e6e1d6; max-width: 64ch; }

/* Paper section: who was affected */
.ns-paper { background: var(--paper); color: var(--ink); }
.ns-paper h2 { color: var(--ink); }
.ns-paper .ns-para { color: #2b332e; }
.ns-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.ns-figure { margin: 0; }
.ns-figure img { width: 100%; height: auto; display: block; border-radius: 6px; box-shadow: 0 24px 60px -28px rgba(23, 32, 27, .55); }
.ns-figure figcaption { font-size: .86rem; line-height: 1.5; color: var(--muted); margin-top: .7rem; }
.ns-figure small { display: block; font-size: .74rem; margin-top: .2rem; }
.ns-figure small a { text-decoration: underline; text-decoration-color: rgba(23, 32, 27, .3); }

/* Where things stand, sources */
.ns-actions { margin: 1.8rem 0 0; }
.ns-button { display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.4rem; border-radius: 999px; background: var(--amber); color: var(--deep) !important; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.ns-button:hover, .ns-button:focus-visible { background: var(--lime); transform: translateY(-2px); }
.ns-page .ns-src-title { margin: 4.5rem 0 .6rem; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.ns-src-note { color: var(--muted-l); font-size: .92rem; margin: 0 0 1rem; }
.ns-src { margin: 0 0 3rem; padding-left: 1.4rem; display: grid; gap: .55rem; font-size: .92rem; line-height: 1.5; }
.ns-src li { scroll-margin-top: 90px; }
.ns-src li:target { color: var(--amber); }
.ns-src a { text-decoration: underline; text-decoration-color: rgba(247, 245, 236, .3); text-underline-offset: .18em; }
.ns-src a:hover { text-decoration-color: var(--amber); }
.ns-page .home-footer { color: var(--cream); border-top: 1px solid var(--line-l); }

/* Reveal (only with JavaScript; without it everything is simply there) */
.ns-js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.ns-js [data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .ns-facts ul { grid-template-columns: repeat(2, 1fr); }
  .ns-facts li:nth-child(3) { border-left: 0; }
  .ns-facts li:nth-child(n+3) { border-top: 1px solid var(--line-l); }
  .ns-split { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ns-hero { min-height: auto; padding: 7rem 0 3.6rem; }
  .ns-facts ul { grid-template-columns: 1fr; }
  .ns-facts li { border-left: 0; border-top: 1px solid var(--line-l); }
  .ns-facts li:first-child { border-top: 0; }
  .ns-credit { position: static; padding: 0 16px; margin-top: 1rem; }
  .ns-hero { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .ns-kb, .ns-sweep, .ns-dot { animation: none; }
  .ns-js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
