/* Shared layout for the news samples; each publication sets its own colors, type, and extras below. */
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.6 var(--body); }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; z-index: 200; padding: 10px 16px; background: var(--accent); color: var(--on-accent); }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.progress { position: fixed; left: 0; top: 0; z-index: 120; width: 100%; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.sample-bar { margin: 0; padding: 8px 16px; background: var(--bar-bg); color: var(--bar-ink); font: 13px/1.5 var(--ui); text-align: center; }
.sample-bar a { color: var(--accent); }
.wrap { width: min(1220px, 100% - 32px); margin: 0 auto; }
.wrap-n { width: min(720px, 100% - 32px); margin: 0 auto; }
.wrap-w { width: min(1000px, 100% - 32px); margin: 0 auto; }

.mast { position: sticky; top: 0; z-index: 100; background: var(--mast); color: var(--mast-ink); box-shadow: 0 1px 0 var(--mast-line); }
.mast-in { display: flex; align-items: center; gap: 24px; width: min(1220px, 100% - 32px); margin: 0 auto; padding: 14px 0; }
.logo { display: inline-flex; align-items: center; gap: 12px; margin: 0; text-decoration: none; }
.seal { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--accent); font: 700 14px var(--ui); letter-spacing: 0.04em; color: var(--accent); }
.logo-t { font: var(--logo-font); letter-spacing: var(--logo-ls, -0.01em); white-space: nowrap; }
.main-nav { display: flex; gap: 26px; margin-left: auto; font: 500 15px var(--ui); }
.main-nav a { text-decoration: none; opacity: 0.85; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current] { opacity: 1; border-bottom-color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 0; border-radius: var(--btn-r, 10px); font: 600 15px var(--ui); text-decoration: none; cursor: pointer; transition: transform 0.2s, filter 0.2s; }
.btn-sub { background: var(--btn); color: var(--btn-ink); }
.btn-sub:hover { transform: translateY(-1px); filter: brightness(1.08); }
.menu { display: none; min-height: 44px; padding: 0 14px; border: 1px solid var(--mast-line); border-radius: 10px; background: none; color: inherit; font: 600 14px var(--ui); cursor: pointer; }
.sections { border-top: 1px solid var(--mast-line); }
.sections ul { display: flex; justify-content: center; gap: 6px 30px; flex-wrap: wrap; width: min(1220px, 100% - 32px); margin: 0 auto; padding: 10px 0; list-style: none; font: 500 14px var(--ui); }
.sections a { text-decoration: none; opacity: 0.8; display: inline-block; min-width: 24px; padding: 6px 0; text-align: center; }
.sections a:hover { opacity: 1; color: var(--accent); }
@media (max-width: 980px) {
  .main-nav, .mast-in > .btn-sub { display: none; }
  .menu { display: inline-flex; align-items: center; margin-left: auto; }
  .sections { display: none; } .sections.open { display: block; }
  .sections ul { justify-content: flex-start; gap: 4px 22px; }
  .logo-t { font-size: 20px; white-space: normal; }
}

.front { display: grid; gap: 28px; margin-top: 28px; }
@media (min-width: 1000px) { .front { grid-template-columns: minmax(0, 1fr) 360px; } }
.lead { display: grid; overflow: hidden; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
@media (min-width: 760px) { .lead { grid-template-columns: 0.85fr 1fr; } }
.lead-txt { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: clamp(22px, 3.4vw, 40px); }
.badge { align-self: flex-start; margin: 0; padding: 4px 10px; border-radius: 4px; background: var(--badge); color: var(--badge-ink); font: 700 11px var(--ui); letter-spacing: 0.14em; text-transform: uppercase; }
.topic { margin: 0; color: var(--topic); font: 600 14px var(--ui); }
.lead h1 { margin: 0; font: var(--h1-font); letter-spacing: -0.015em; }
.lead h1 a, .card h3 a { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.35s; }
.lead h1 a:hover, .card h3 a:hover { background-size: 100% 2px; }
.dek { margin: 0; color: var(--mute); font-size: 1.05rem; }
.meta { margin: 0; color: var(--mute); font: 13px var(--ui); }
.meta .date { color: var(--accent-2); font-weight: 600; }
.lead-img { position: relative; display: block; min-height: 280px; overflow: hidden; }
.lead-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.lead-img img { animation: kenburns 22s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.credit { position: absolute; right: 10px; bottom: 8px; color: #fff; font: 11px var(--ui); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7); }
.top { overflow: hidden; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.top h2 { margin: 0; padding: 18px 20px; background: var(--top-h); color: var(--top-h-ink); font: 700 20px var(--ui); border-bottom: 3px solid var(--accent); }
.top ol { margin: 0; padding: 6px 0; list-style: none; }
.top li a { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: start; padding: 12px 20px; text-decoration: none; }
.top li a:hover b { color: var(--accent-2); }
.top li + li a { border-top: 1px solid var(--line); }
.top img { width: 74px; height: 52px; object-fit: cover; border-radius: 6px; }
.top li a:hover img { filter: brightness(1.08); }
.top b { display: block; font: 700 15px/1.3 var(--ui); transition: color 0.2s; }
.top em { display: block; margin-top: 4px; font: normal 12px var(--ui); color: var(--mute); }

.latest { margin-top: 56px; }
.row-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.sec-h { margin: 0; font: var(--h2-font); letter-spacing: -0.01em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 36px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); color: var(--ink); font: 500 13px var(--ui); cursor: pointer; }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--page); }
.filter-note { min-height: 1.4em; margin: 10px 0 0; color: var(--mute); font: 13px var(--ui); }
.grid { display: grid; gap: 22px; margin-top: 10px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.card { overflow: hidden; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); transition: transform 0.35s, box-shadow 0.35s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-b { display: grid; gap: 6px; padding: 18px 20px 22px; }
.card h3 { margin: 0; font: var(--h3-font); }

.band { margin-top: 64px; padding: 56px 0; background: var(--band); }
.two { display: grid; gap: 24px; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; } }
.panel { padding: clamp(20px, 3vw, 32px); border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.panel-note { margin: 4px 0 16px; color: var(--mute); font: 13px var(--ui); }

.news { margin-top: 64px; padding: 56px 0; background: var(--news); color: var(--news-ink); }
.news-in { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .news-in { grid-template-columns: 1fr 1fr; } }
.news h2 { margin: 0; font: var(--h2-font); }
.news p { margin: 8px 0 0; opacity: 0.85; }
.news-f { display: flex; flex-wrap: wrap; gap: 10px; }
.news-f input { flex: 1 1 220px; min-height: 48px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: var(--btn-r, 10px); background: rgba(255, 255, 255, 0.08); color: inherit; font: 15px var(--ui); }
.news-f input::placeholder { color: inherit; opacity: 0.6; }
.tiny { flex-basis: 100%; margin: 0; font: 13px var(--ui); opacity: 0.75; }

.foot { padding: 48px 0 70px; background: var(--foot); color: var(--foot-ink); font: 14px var(--ui); }
.foot-in { display: grid; gap: 28px; width: min(1220px, 100% - 32px); margin: 0 auto; }
@media (min-width: 800px) { .foot-in { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot p { margin: 0 0 10px; opacity: 0.85; }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.foot a { display: inline-block; padding: 4px 0; text-decoration: none; opacity: 0.85; } .foot a:hover { opacity: 1; text-decoration: underline; }
.foot-h { font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 12px; }
.foot-logo { margin-bottom: 14px !important; opacity: 1 !important; }
/* Pause motion lives in the header, so it never covers the page */
.motion { display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: none; min-width: 38px; min-height: 38px; padding: 0 12px; border-radius: 999px; cursor: pointer; font-size: 12px; font-weight: 600; }
.motion .mi { position: relative; width: 10px; height: 10px; }
.motion .mi::before, .motion .mi::after { content: ""; position: absolute; top: 0; width: 3px; height: 10px; background: currentColor; }
.motion .mi::before { left: 1px; } .motion .mi::after { right: 1px; }
.motion[aria-pressed="true"] .mi::before { left: 1px; width: 0; height: 0; background: none; border-left: 9px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.motion[aria-pressed="true"] .mi::after { display: none; }
@media (max-width: 700px) { .motion { padding: 0; width: 38px; } .motion .ml { display: none; } }
.motion { border: 1px solid var(--mast-line); background: transparent; color: var(--mast-ink); font-family: var(--ui); }
@media (max-width: 980px) { .mast-in .motion { margin-left: auto; } .mast-in .menu { margin-left: 0; } }
.rise { opacity: 0; transform: translateY(18px); transition: opacity 0.7s, transform 0.7s cubic-bezier(.2, .7, .2, 1); }
.rise.in { opacity: 1; transform: none; }
.motion-off .rise { opacity: 1; transform: none; transition: none; }
.motion-off *, .motion-off *::before, .motion-off *::after { animation-play-state: paused !important; }

/* Story page */
.story { padding-top: 40px; }
.story-h { display: grid; gap: 14px; }
.story-h .badge { justify-self: start; }
.story-h h1 { margin: 0; font: var(--story-h1); letter-spacing: -0.02em; }
.story-h .dek { font-size: 1.2rem; }
.story-fig { margin-top: 30px; margin-bottom: 0; }
.story-fig img { width: 100%; border-radius: var(--r); }
.story-fig figcaption { margin-top: 8px; color: var(--mute); font: 13px var(--ui); }
.story-body { margin-top: 30px; font: var(--story-body); }
.story-body p { margin: 0 0 1.3em; }
.story-body > p:first-of-type::first-letter { float: left; margin: 0.08em 0.1em 0 0; font: 700 3.6em/0.85 var(--display); color: var(--accent-2); }
.points { margin: 0 0 30px; padding: 20px 24px; border-left: 4px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; background: var(--band); font: 15px/1.6 var(--ui); }
.points h2 { margin: 0 0 8px; font: 700 13px var(--ui); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); }
.points ul { margin: 0; padding-left: 18px; }
.pull { margin: 34px 0; padding: 0 0 0 24px; border-left: 3px solid var(--accent); }
.pull p { margin: 0; font: var(--pull-font); color: var(--ink); }
.endmark { padding-top: 18px; border-top: 1px solid var(--line); color: var(--mute); font: italic 14px var(--ui); }
.related { margin-top: 40px; margin-bottom: 20px; }
.related ul { display: grid; gap: 18px; margin: 18px 0 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.related a { display: grid; gap: 10px; text-decoration: none; font: 700 16px/1.35 var(--ui); }
.related img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }
.related a:hover b { color: var(--accent-2); }
/* Signal Desk: night mode editorial, electric cyan, crisp sans. */
:root { --page: #0a0e1a; --card: #121829; --ink: #e9eefb; --mute: #98a3bf; --line: #1f2840; --line-2: #2a3554;
  --accent: #5ad1ff; --accent-2: #8fe0ff; --on-accent: #001520; --topic: #ff7ad9;
  --mast: #070a14; --mast-ink: #e9eefb; --mast-line: rgba(233, 238, 251, 0.12); --bar-bg: #04060d; --bar-ink: #98a3bf;
  --btn: linear-gradient(135deg, #5ad1ff, #7a8cff); --btn-ink: #041022; --badge: #ff7ad9; --badge-ink: #1a0414; --top-h: #0d1222; --top-h-ink: #fff;
  --band: #0d1222; --news: linear-gradient(135deg, #1b2a6b, #4a1f6b); --news-ink: #fff; --foot: #04060d; --foot-ink: #98a3bf;
  --r: 14px; --btn-r: 999px; --shadow: 0 0 0 1px #1f2840; --shadow-h: 0 0 0 1px #5ad1ff, 0 20px 50px -20px rgba(90, 209, 255, 0.5);
  --display: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; --body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; --ui: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --logo-font: 800 24px var(--ui); --logo-ls: -0.03em; --h1-font: 800 clamp(1.8rem, 3.2vw, 2.7rem)/1.08 var(--ui); --h2-font: 800 clamp(1.5rem, 2.6vw, 2.1rem)/1.15 var(--ui);
  --h3-font: 700 1.15rem/1.3 var(--ui); --story-h1: 800 clamp(2.2rem, 5vw, 3.6rem)/1.04 var(--ui); --story-body: 1.12rem/1.8 var(--ui); --pull-font: 700 1.45rem/1.35 var(--ui); }
.seal { border-radius: 10px; background: linear-gradient(135deg, #5ad1ff, #ff7ad9); color: #041022; border: 0; }
.chip.on { background: var(--accent); border-color: var(--accent); color: #041022; }
.ticker { display: flex; align-items: center; gap: 0; background: #0d1222; border-bottom: 1px solid var(--line); font: 600 14px var(--ui); overflow: hidden; }
.live { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: #ff7ad9; color: #1a0414; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1a0414; animation: blinkL 1.2s infinite; }
@keyframes blinkL { 50% { opacity: 0.2; } }
.tk { overflow: hidden; flex: 1; }
.tk-track { display: flex; width: max-content; animation: tick 60s linear infinite; }
.tk-track span { padding: 10px 28px; white-space: nowrap; color: var(--mute); }
.tk-track span::before { content: "/"; margin-right: 28px; color: var(--accent); }
@keyframes tick { to { transform: translateX(-50%); } }
.ex-ctl { display: flex; gap: 8px; }
.ex-ctl button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font-size: 18px; cursor: pointer; }
.ex-ctl button:hover { border-color: var(--accent); }
.ex-row { display: flex; gap: 18px; margin: 22px 0 0; padding: 4px 4px 14px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.ex-card { flex: 0 0 min(300px, 82%); scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 14px; background: linear-gradient(160deg, #172041, #101628); box-shadow: 0 0 0 1px var(--line); }
.ex-n { font: 800 34px var(--ui); background: linear-gradient(90deg, #5ad1ff, #ff7ad9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ex-card h3 { margin: 0; font: 700 1.2rem var(--ui); } .ex-card p { margin: 0; color: var(--mute); }
.ex-card a { margin-top: auto; color: var(--accent); font-weight: 600; text-decoration: none; padding: 6px 0; }
.pod { display: grid; grid-template-columns: auto auto 1fr; gap: 18px 22px; align-items: center; margin-top: 34px; padding: 22px; border-radius: 16px; background: linear-gradient(135deg, #141c38, #1d1238); box-shadow: 0 0 0 1px var(--line); }
@media (min-width: 760px) { .pod { grid-template-columns: auto auto 1fr auto; } }
.pod-cover { width: 88px; height: 88px; border-radius: 12px; object-fit: cover; }
@media (max-width: 520px) { .pod { grid-template-columns: auto 1fr; } .pod-cover { width: 64px; height: 64px; } .pod-meta { grid-column: 1 / -1; } }
.pod-play { width: 64px; height: 64px; border: 0; border-radius: 50%; background: linear-gradient(135deg, #5ad1ff, #ff7ad9); cursor: pointer; display: grid; place-items: center; }
.pod-play span { width: 0; height: 0; margin-left: 4px; border-left: 18px solid #041022; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.pod-play[aria-pressed="true"] span { width: 16px; height: 20px; margin: 0; border: 0; border-left: 5px solid #041022; border-right: 5px solid #041022; }
.pod-k { margin: 0; color: #ff7ad9; font: 700 12px var(--ui); letter-spacing: 0.1em; text-transform: uppercase; }
.pod-t { margin: 4px 0 10px; font-weight: 700; }
.pod-wave { display: flex; align-items: center; gap: 3px; height: 40px; }
.pod-wave i { flex: 1; height: var(--h, 40%); border-radius: 2px; background: #2a3554; transform-origin: 50% 50%; }
.pod-wave i.done { background: #5ad1ff; }
.pod-wave.play i { animation: eq 1.1s ease-in-out infinite alternate; }
.pod-wave.play i:nth-child(3n) { animation-delay: -0.4s; } .pod-wave.play i:nth-child(3n+1) { animation-delay: -0.8s; }
@keyframes eq { to { transform: scaleY(0.45); } }
.pod-time { margin: 0; grid-column: 1 / -1; color: var(--mute); font: 600 13px var(--ui); font-variant-numeric: tabular-nums; }
@media (min-width: 760px) { .pod-time { grid-column: auto; } }
