@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --paper: #f5f2ed;
  --paper-2: #ebe7e1;
  --ink: #11121a;
  --ink-soft: #555667;
  --blue: #2850ed;
  --blue-pale: #cbd5ff;
  --rose: #ff4f70;
  --rose-pale: #ffd2dc;
  --lilac: #a68af5;
  --lilac-pale: #e0d7ff;
  --coral: #ff8060;
  --coral-pale: #ffd8cd;
  --aqua: #67c9d4;
  --aqua-pale: #cceef1;
  --wa: #128c7e;
  --tg: #229ed9;
  --messenger: #0a7cff;
  --ease: cubic-bezier(.22, .85, .22, 1);
  --elastic: cubic-bezier(.2, 1.3, .35, 1);
  --header-h: 74px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Assistant", "Arial Hebrew", Arial, sans-serif;
  font-size: 16px;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
::selection { color: white; background: var(--blue); }

.ambient {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
}

.ambient::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .055;
  background-image: radial-gradient(circle, var(--ink) 1px, transparent 1.2px);
  background-size: 24px 24px;
  animation: grain-drift 18s linear infinite;
}

.orbit {
  position: absolute;
  width: 52vw;
  aspect-ratio: 1;
  border: 1px solid rgba(40, 80, 237, .17);
  border-radius: 50%;
  animation: orbit-turn 34s linear infinite;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.orbit::before {
  width: 13px;
  height: 13px;
  top: 11%;
  left: 16%;
  background: var(--rose);
  box-shadow: 0 0 0 9px rgba(255, 79, 112, .10), 0 0 34px rgba(255, 79, 112, .4);
}

.orbit::after {
  inset: 14%;
  border: 1px dashed rgba(17, 18, 26, .12);
  animation: orbit-turn 20s linear infinite reverse;
}

.orbit-a { top: -25vw; left: -12vw; }
.orbit-b { width: 34vw; right: -12vw; top: 35vh; animation-duration: 26s; animation-direction: reverse; }
.orbit-c { width: 68vw; right: 12vw; bottom: -54vw; animation-duration: 46s; }

.drifter {
  position: absolute;
  display: block;
  width: 74px;
  height: 74px;
  border-radius: 22px;
  border: 1px solid currentColor;
  opacity: .23;
  animation: drift 15s var(--ease) infinite alternate;
}

.drifter::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 2.8s ease-in-out infinite;
}

.drifter-a { color: var(--blue); left: 8vw; top: 61vh; transform: rotate(12deg); }
.drifter-b { color: var(--rose); right: 9vw; top: 20vh; width: 44px; height: 44px; border-radius: 50%; animation-delay: -4s; }
.drifter-c { color: var(--lilac); left: 46vw; bottom: 8vh; width: 92px; height: 38px; border-radius: 50px; animation-delay: -8s; }

.ambient-code {
  position: absolute;
  font: 500 11px/1 "IBM Plex Mono", monospace;
  letter-spacing: .12em;
  color: rgba(17, 18, 26, .2);
  writing-mode: vertical-rl;
  animation: code-flicker 6s steps(1, end) infinite;
}

.code-a { top: 21%; left: 3.5%; }
.code-b { right: 3%; bottom: 14%; animation-delay: -2s; }
.code-c { left: 42%; top: 4%; writing-mode: initial; animation-delay: -4s; }

@keyframes orbit-turn { to { transform: rotate(360deg); } }
@keyframes grain-drift { to { background-position: 48px 24px; } }
@keyframes drift { to { transform: translate3d(40px, -55px, 0) rotate(168deg); } }
@keyframes pulse-dot { 50% { transform: scale(.2); opacity: .35; } }
@keyframes code-flicker { 0%, 84%, 100% { opacity: 1; } 86% { opacity: .12; } 88% { opacity: .9; } 92% { opacity: .22; } }

/* A moving vocabulary layer repeated across the site, rather than a single decorative hero trick. */
.has-signal-word { position: relative; isolation: isolate; }
.has-signal-word > :not(.signal-word) { z-index: 1; }
.now-river .section-intro,
.now-river .news-river,
.now-river .inline-route,
.news-console .console-topline,
.news-console .news-stream,
.news-console .load-more,
.library .library-stage,
.library .pagination,
.article-layout .article-body,
.channel-cta > .eyebrow,
.channel-cta > h2,
.channel-cta > .cta-links { position: relative; z-index: 1; }
.signal-word {
  --signal-color: var(--blue);
  --signal-ink: rgba(17,18,26,.035);
  position: absolute;
  z-index: 0;
  direction: ltr;
  display: block;
  width: max-content;
  color: var(--signal-ink);
  font: 800 clamp(120px, 22vw, 390px)/.72 "Assistant", sans-serif;
  letter-spacing: -.09em;
  user-select: none;
  pointer-events: none;
}
.signal-word > span { display: block; }
.signal-word i { position: absolute; top: 47%; left: 1%; width: 11px; height: 11px; border-radius: 50%; background: var(--signal-color); box-shadow: 0 0 18px var(--signal-color), 0 0 45px color-mix(in srgb, var(--signal-color) 52%, transparent); animation: signal-trace calc(6.4s + var(--signal-order, 0) * .9s) var(--ease) infinite; }
.signal-word i::after { content: ""; position: absolute; top: 50%; right: 5px; width: 86px; height: 2px; background: linear-gradient(90deg, transparent, var(--signal-color)); transform: translateY(-50%); opacity: .45; }
.signal-word-think { --signal-color: var(--rose); }
.signal-word-build { --signal-color: var(--aqua); }
.signal-word-innovate { --signal-color: var(--lilac); }
.signal-word-hero { left: -3vw; top: 12%; transform: rotate(-4deg); }
.signal-word-now { right: -4vw; top: 34%; transform: rotate(2deg); }
.signal-word-articles { left: -3vw; bottom: 7%; --signal-ink: rgba(255,255,255,.038); }
.signal-word-cta { right: -7vw; top: 9%; transform: rotate(-3deg); }
.signal-word-console { left: 8vw; bottom: 8%; transform: rotate(-2deg); }
.articles-hero .signal-word,
.article-lead .signal-word,
.article-next .signal-word { --signal-ink: rgba(255,255,255,.042); }
@keyframes signal-trace {
  0% { left: 1%; opacity: 0; transform: scale(.45); }
  8% { opacity: 1; }
  48% { transform: scale(1.25); }
  88% { opacity: 1; }
  100% { left: calc(100% - 14px); opacity: 0; transform: scale(.5); }
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(22px, 4vw, 72px);
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, height .35s var(--ease);
}

.site-header.scrolled {
  height: 62px;
  background: rgba(245, 242, 237, .9);
  border-color: rgba(17, 18, 26, .11);
  backdrop-filter: blur(18px) saturate(130%);
}

.brand {
  position: relative;
  justify-self: start;
  direction: ltr;
  display: inline-flex;
  align-items: center;
  min-width: 152px;
  height: 46px;
  isolation: isolate;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.055em;
}

.brand-word { position: relative; z-index: 2; display: inline-flex; white-space: nowrap; perspective: 400px; }
.brand-letter { position: relative; display: inline-block; transform-origin: 50% 75%; min-width: .15em; }
.brand-letter.space { width: .27em; min-width: .27em; }
.brand-signal {
  position: absolute;
  z-index: 4;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
  right: -12px;
  top: 11px;
  box-shadow: 0 0 0 5px rgba(255, 79, 112, .12);
}

/* Ten short logo gestures. JavaScript restarts and rotates these every 2.6 seconds. */
.logo-echo .brand-word::before,
.logo-echo .brand-word::after {
  content: "nVision AI";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  animation: logo-echo .8s var(--ease) both;
}
.logo-echo .brand-word::before { color: var(--rose); }
.logo-echo .brand-word::after { color: var(--blue); animation-delay: .06s; }
@keyframes logo-echo { 0% { transform: translate(0); opacity: .8; } 75% { transform: translate(-8px, 6px); opacity: .35; } 100% { transform: translate(0); opacity: 0; } }

.logo-wave .brand-letter { animation: logo-wave .75s var(--elastic) both; animation-delay: calc(var(--i) * 42ms); }
@keyframes logo-wave { 0% { transform: translateY(0); } 45% { transform: translateY(-10px) rotate(-4deg); color: var(--blue); } 100% { transform: translateY(0); } }

.logo-flip .brand-letter { animation: logo-flip .72s var(--ease) both; animation-delay: calc(var(--i) * 32ms); }
@keyframes logo-flip { 0% { transform: rotateX(0); } 45% { transform: rotateX(90deg); color: var(--rose); } 100% { transform: rotateX(0); } }

.logo-split .brand-letter:nth-child(odd) { animation: logo-split-up .7s var(--ease) both; }
.logo-split .brand-letter:nth-child(even) { animation: logo-split-down .7s var(--ease) both; }
@keyframes logo-split-up { 40% { transform: translateY(-9px) rotate(3deg); color: var(--lilac); } }
@keyframes logo-split-down { 40% { transform: translateY(9px) rotate(-3deg); color: var(--blue); } }

.logo-scan .brand-word { overflow: hidden; }
.logo-scan .brand-word::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 12px; background: var(--blue); opacity: .4; filter: blur(4px); animation: logo-scan .9s var(--ease) both; }
@keyframes logo-scan { from { right: -18px; } to { right: calc(100% + 18px); } }

.logo-bounce .brand-letter { animation: logo-bounce .8s var(--elastic) both; animation-delay: calc((10 - var(--i)) * 31ms); }
@keyframes logo-bounce { 35% { transform: translateY(-7px) scaleX(.86) scaleY(1.12); } 62% { transform: translateY(2px) scaleX(1.08) scaleY(.94); } }

.logo-glitch .brand-word { animation: logo-glitch .62s steps(2, end) both; }
.logo-glitch .brand-letter:nth-child(3n) { color: var(--rose); }
@keyframes logo-glitch { 15% { transform: translate(-3px, 1px) skewX(8deg); } 32% { transform: translate(4px, -1px); } 45% { clip-path: inset(35% 0 25%); } 66% { transform: translate(-1px); clip-path: none; } }

.logo-compress .brand-word { animation: logo-compress .88s var(--elastic) both; transform-origin: left; }
@keyframes logo-compress { 0% { letter-spacing: -.055em; } 35% { transform: scaleX(.44); letter-spacing: -.12em; color: var(--blue); } 100% { transform: scaleX(1); } }

.logo-ink .brand-letter { animation: logo-ink .9s var(--ease) both; }
@keyframes logo-ink { 0% { color: transparent; text-shadow: 0 0 0 var(--ink); clip-path: inset(100% 0 0); } 55% { color: var(--rose); clip-path: inset(0); } 100% { color: var(--ink); } }

.logo-orbit .brand-signal { animation: logo-dot-orbit 1.15s var(--ease) both; }
@keyframes logo-dot-orbit { 0% { transform: translate(0, 0); } 25% { transform: translate(-52px, -12px) scale(.7); } 60% { transform: translate(-132px, 17px) scale(1.4); } 100% { transform: translate(0, 0); } }

.logo-type .brand-letter { animation: logo-type .55s steps(2, end) both; animation-delay: calc(var(--i) * 55ms); }
@keyframes logo-type { 0% { opacity: 0; transform: translateX(-5px); } 40% { opacity: 0; } 41%, 100% { opacity: 1; transform: none; } }

.main-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.main-nav a { position: relative; padding: 10px 0; }
.main-nav a::after { content: ""; position: absolute; height: 2px; left: 50%; right: 50%; bottom: 3px; background: var(--blue); transition: left .35s var(--ease), right .35s var(--ease); }
.main-nav a:hover::after, .main-nav a.active::after { left: 0; right: 0; }

.channel-links { justify-self: end; display: flex; gap: 8px; direction: ltr; }
.channel-link { display: inline-flex; align-items: center; height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid rgba(17, 18, 26, .15); font: 500 10px/1 "IBM Plex Mono", monospace; transition: color .25s ease, background .25s ease, transform .25s var(--ease); }
.channel-link:hover { color: white; transform: translateY(-2px); }
.channel-link.wa:hover { background: var(--wa); border-color: var(--wa); }
.channel-link.tg:hover { background: var(--tg); border-color: var(--tg); }
.menu-button { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 10px; }
.menu-button span { display: block; height: 1px; background: currentColor; margin: 7px 0; transition: transform .3s var(--ease); }

.resonance-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  align-items: center;
  gap: clamp(25px, 6vw, 110px);
  padding: calc(var(--header-h) + 60px) clamp(24px, 7vw, 120px) 112px;
  overflow: hidden;
}

.resonance-hero::before {
  content: "";
  position: absolute;
  width: 36vw;
  height: 36vw;
  left: -12vw;
  bottom: -20vw;
  border-radius: 50%;
  background: var(--blue-pale);
  opacity: .7;
  filter: blur(1px);
  animation: hero-blob 10s var(--ease) infinite alternate;
  z-index: -1;
}
@keyframes hero-blob { to { transform: translate(6vw, -4vw) scale(.82); border-radius: 38% 62% 46% 54%; } }

.hero-copy { position: relative; z-index: 3; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 26px; font: 500 10px/1.2 "IBM Plex Mono", monospace; letter-spacing: .08em; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 0 rgba(255, 79, 112, .42); animation: live-pulse 1.8s ease-out infinite; }
@keyframes live-pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 79, 112, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 79, 112, 0); } }

.hero-copy h1 { max-width: 760px; margin: 0; font-size: clamp(60px, 7.3vw, 132px); font-weight: 300; line-height: .84; letter-spacing: -.075em; }
.hero-copy h1 .kinetic-line { position: relative; display: inline-flex; direction: rtl; align-items: baseline; gap: .025em; min-width: 3.05em; padding-inline: .015em; font-weight: 800; color: var(--blue); letter-spacing: 0; white-space: nowrap; vertical-align: bottom; transition: color .35s ease; }
.hero-copy h1 .kinetic-line::after { content: ""; align-self: stretch; width: .055em; min-height: .76em; margin-right: .07em; background: var(--rose); animation: caret .75s steps(1, end) infinite; }
.kinetic-letter { display: inline-block; min-width: .52em; text-align: center; opacity: 0; transform: translateY(.22em) rotate(5deg) scale(.72); filter: blur(5px); transition: opacity .18s ease, transform .32s var(--elastic), filter .25s ease; }
.kinetic-letter.visible { opacity: 1; transform: none; filter: none; }
.kinetic-letter.deleting { opacity: 0; transform: translateY(-.12em) scale(.72); filter: blur(4px); transition-duration: .09s; }
@keyframes caret { 50% { opacity: 0; } }

.hero-dek { max-width: 540px; margin: 36px 0 0; font-size: clamp(18px, 1.45vw, 24px); line-height: 1.5; color: var(--ink-soft); }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.action-primary { display: inline-flex; align-items: center; gap: 34px; min-width: 190px; height: 52px; padding: 0 22px; color: white; background: var(--ink); border-radius: 2px 22px 22px 22px; font-weight: 700; transition: border-radius .35s var(--ease), transform .35s var(--ease), background .3s ease; }
.action-primary span { font-size: 24px; transition: transform .3s var(--ease); }
.action-primary:hover { background: var(--blue); border-radius: 22px 2px 22px 22px; transform: translateY(-3px); }
.action-primary:hover span { transform: translateX(-6px); }
.action-quiet { padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-weight: 600; transition: color .2s ease, border-color .2s ease; }
.action-quiet:hover { color: var(--blue); border-color: var(--blue); }

.signal-stage { position: relative; min-height: 650px; display: grid; place-items: center; direction: ltr; }
.signal-stage::before { content: ""; position: absolute; width: 86%; height: 65%; background: var(--rose-pale); border-radius: 44% 56% 56% 44% / 58% 42% 58% 42%; transform: rotate(-8deg); animation: stage-breathe 7s var(--ease) infinite alternate; }
@keyframes stage-breathe { to { border-radius: 58% 42% 38% 62% / 42% 55% 45% 58%; transform: rotate(5deg) scale(.94); } }

.point-morph { position: absolute; z-index: 2; left: clamp(-270px, -18vw, -190px); top: 1%; width: clamp(210px, 17vw, 260px); aspect-ratio: 1; margin: 0; pointer-events: none; opacity: .94; }
.point-morph::before { content: ""; position: absolute; inset: 9%; border: 1px solid rgba(40,80,237,.14); border-radius: 47% 53% 42% 58%; animation: morph-frame 9s var(--ease) infinite alternate; }
.point-morph canvas { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 8px 18px rgba(40,80,237,.12)); }
.point-morph figcaption { position: absolute; direction: ltr; left: 8%; right: 8%; bottom: 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; color: rgba(17,18,26,.55); font: 600 8px/1 "IBM Plex Mono", monospace; letter-spacing: .1em; }
.point-morph figcaption i { height: 1px; background: linear-gradient(90deg, var(--blue), transparent); transform-origin: left; animation: morph-readout 2.4s var(--ease) infinite; }
.point-morph figcaption b { color: var(--rose); font-size: inherit; }
.point-morph.morph-pulse::after { content: ""; position: absolute; inset: 18%; border: 1px solid var(--blue); border-radius: 50%; animation: morph-ping .9s var(--ease) both; }
@keyframes morph-frame { to { transform: rotate(16deg) scale(.92); border-radius: 62% 38% 58% 42%; } }
@keyframes morph-readout { 50% { transform: scaleX(.35); opacity: .35; } }
@keyframes morph-ping { from { opacity: .5; transform: scale(.45); } to { opacity: 0; transform: scale(1.25); } }

.channel-shell { position: relative; z-index: 3; width: min(100%, 550px); height: 586px; padding: 8px; border: 1px solid rgba(17, 18, 26, .2); border-radius: 54px 16px 54px 54px; background: rgba(245, 242, 237, .76); box-shadow: 0 40px 110px rgba(26, 28, 44, .16), -12px 16px 0 rgba(40, 80, 237, .12); backdrop-filter: blur(18px); transform: rotate(2.4deg); transition: transform .5s var(--ease); }
.channel-shell:hover { transform: rotate(.6deg) translateY(-6px); }
.shell-glint { position: absolute; z-index: 8; pointer-events: none; width: 130px; height: 130px; top: -14px; left: -12px; border-top: 1px solid white; border-left: 1px solid white; border-radius: 38px 0 0; opacity: .8; }
.channel-tabs { height: 56px; display: flex; direction: rtl; align-items: center; gap: 4px; padding: 7px 8px; overflow-x: auto; scrollbar-width: none; }
.channel-tab { flex: 1; min-width: max-content; position: relative; height: 38px; padding: 0 12px; border: 0; border-radius: 14px; background: transparent; font: 500 9px/1 "IBM Plex Mono", monospace; cursor: pointer; transition: background .3s ease, color .3s ease, transform .3s var(--ease); }
.channel-tab span { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: currentColor; }
.channel-tab.active { color: white; background: var(--ink); transform: translateY(-2px); }
.channel-tab[data-skin="whatsapp"].active { background: var(--wa); }
.channel-tab[data-skin="telegram"].active { background: var(--tg); }
.channel-tab[data-skin="messenger"].active { background: var(--messenger); }
.channel-tab[data-skin="terminal"].active { background: #161921; }

.channel-screen { height: calc(100% - 56px); overflow: hidden; border-radius: 44px 9px 48px 48px; background: #efeae2; color: #202c33; display: grid; grid-template-rows: 64px 1fr 52px; transition: background .35s ease, color .35s ease; }
.channel-head { display: flex; direction: rtl; align-items: center; gap: 11px; padding: 0 16px; color: white; background: #075e54; transition: background .3s ease, color .3s ease; }
.channel-avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--rose); font: 700 12px/1 "IBM Plex Mono", monospace; }
.channel-head strong, .channel-head small { display: block; }
.channel-head strong { font-size: 14px; }
.channel-head small { margin-top: 3px; font-size: 10px; opacity: .72; }
.head-action { margin-right: auto; letter-spacing: 3px; }
.channel-feed { position: relative; min-height: 0; padding: 18px 16px 34px; overflow-y: auto; scroll-behavior: smooth; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(17,18,26,.25) transparent; }
.channel-feed::before { content: ""; position: absolute; inset: 0; opacity: .05; background-image: radial-gradient(circle at center, currentColor 1px, transparent 1.3px); background-size: 19px 19px; pointer-events: none; }
.chat-story { position: relative; z-index: 2; width: 86%; margin: 0 0 12px auto; padding: 11px 13px 8px; border-radius: 4px 16px 16px 16px; background: #d9fdd3; box-shadow: 0 1px 1px rgba(17,18,26,.1); cursor: pointer; transition: transform .3s var(--ease), background .3s ease, box-shadow .3s ease; }
.chat-story:nth-child(even) { margin-left: auto; margin-right: 0; border-radius: 16px 4px 16px 16px; background: white; }
.chat-story:hover, .chat-story:focus-visible { transform: translateX(-7px); outline: none; box-shadow: 0 8px 28px rgba(17,18,26,.14); }
.chat-story::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 0; height: 2px; background: var(--wa); transition: width .45s var(--ease), height .45s var(--ease); }
.chat-story:hover::after, .chat-story:focus-visible::after { width: 68%; height: 3px; }
.chat-story b { display: block; font-size: 13px; line-height: 1.35; }
.chat-story p { margin: 5px 0 0; font-size: 11px; line-height: 1.42; opacity: .72; }
.chat-story small { display: block; margin-top: 6px; text-align: left; font: 500 8px/1 "IBM Plex Mono", monospace; opacity: .45; }
.channel-compose { display: flex; align-items: center; gap: 10px; padding: 7px 11px; background: #efeae2; }
.channel-compose p { flex: 1; margin: 0; padding: 10px 14px; border-radius: 20px; color: #6b7378; background: white; font-size: 11px; }
.channel-compose span, .channel-compose b { width: 30px; text-align: center; font-size: 18px; }

.skin-telegram { background: #dfeaf3; }
.skin-telegram .channel-head { background: var(--tg); }
.skin-telegram .channel-feed::before { background-size: 23px 23px; }
.skin-telegram .chat-story { color: #17212b; background: white; border-radius: 14px 14px 4px 14px; }
.skin-telegram .chat-story:nth-child(even) { background: #d8f1ff; border-radius: 14px 14px 14px 4px; }
.skin-telegram .chat-story::after { background: var(--tg); }
.skin-telegram .channel-compose { background: #dfeaf3; }

.skin-messenger { background: white; color: #050505; }
.skin-messenger .channel-head { color: #050505; background: white; border-bottom: 1px solid #e5e5e5; }
.skin-messenger .channel-avatar { background: var(--messenger); box-shadow: 0 0 0 3px #d9eaff; }
.skin-messenger .channel-head small { color: #65676b; }
.skin-messenger .head-action { color: var(--messenger); }
.skin-messenger .channel-feed::before { display: none; }
.skin-messenger .chat-story { width: 78%; color: white; background: var(--messenger); border-radius: 20px 20px 5px 20px; box-shadow: none; }
.skin-messenger .chat-story:nth-child(even) { color: #050505; background: #e4e6eb; border-radius: 20px 20px 20px 5px; }
.skin-messenger .chat-story::after { background: var(--rose); }
.skin-messenger .channel-compose { background: white; border-top: 1px solid #efefef; }
.skin-messenger .channel-compose p { background: #f0f2f5; }
.skin-messenger .channel-compose span, .skin-messenger .channel-compose b { color: var(--messenger); }

.skin-terminal { color: #d8f7e6; background: #0e1118; font-family: "IBM Plex Mono", monospace; }
.skin-terminal .channel-head { color: #91f2be; background: #151923; border-bottom: 1px solid #27303b; }
.skin-terminal .channel-avatar { color: #11151d; background: #91f2be; border-radius: 5px; }
.skin-terminal .channel-feed { padding: 14px; }
.skin-terminal .channel-feed::before { opacity: .12; background-image: linear-gradient(rgba(145,242,190,.18) 1px, transparent 1px); background-size: 100% 4px; animation: terminal-scan 7s linear infinite; }
.skin-terminal .chat-story, .skin-terminal .chat-story:nth-child(even) { width: 100%; margin: 0; padding: 11px 7px; color: #d8f7e6; background: transparent; border-bottom: 1px dashed #314239; border-radius: 0; box-shadow: none; }
.skin-terminal .chat-story::before { content: ">"; margin-right: 8px; color: #91f2be; }
.skin-terminal .chat-story b { display: inline; font-size: 11px; font-weight: 500; }
.skin-terminal .chat-story p { padding-right: 18px; color: #93ac9e; font-size: 9px; }
.skin-terminal .chat-story small { color: #7bf5af; opacity: .7; }
.skin-terminal .chat-story:hover { color: white; background: rgba(145,242,190,.08); transform: translateX(-4px); }
.skin-terminal .channel-compose { color: #91f2be; background: #151923; border-top: 1px solid #27303b; }
.skin-terminal .channel-compose p { color: #88a091; background: #0e1118; border-radius: 3px; }
@keyframes terminal-scan { to { background-position: 0 40px; } }

.hero-current { position: absolute; z-index: 5; left: 0; right: 0; bottom: 38px; direction: ltr; overflow: hidden; border-block: 1px solid rgba(17,18,26,.13); background: rgba(245,242,237,.54); transform: rotate(-1.1deg); }
.current-track { display: flex; width: max-content; animation: ticker-run 34s linear infinite; }
.ticker-bit { display: flex; align-items: center; gap: 14px; min-height: 38px; padding: 0 22px; white-space: nowrap; font: 500 10px/1 "IBM Plex Mono", monospace; }
.ticker-bit time { color: var(--rose); }
.ticker-bit::after { content: "◆"; color: var(--blue); font-size: 7px; }
@keyframes ticker-run { to { transform: translateX(-50%); } }
.scroll-cue { position: absolute; bottom: 72px; right: clamp(24px, 5vw, 70px); z-index: 6; display: flex; align-items: center; gap: 10px; font-size: 11px; writing-mode: vertical-rl; }
.scroll-cue span { width: 1px; height: 34px; background: var(--ink); transform-origin: top; animation: scroll-cue 1.8s var(--ease) infinite; }
@keyframes scroll-cue { 0% { transform: scaleY(.15); } 55% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(.15); transform-origin: bottom; } }

.now-river, .article-current { position: relative; padding: clamp(100px, 12vw, 190px) clamp(24px, 7vw, 120px); }
.now-river { background: var(--paper); }
.section-intro { display: grid; grid-template-columns: minmax(100px, .35fr) minmax(280px, 1.1fr) minmax(260px, .55fr); align-items: end; gap: 40px; margin-bottom: 72px; }
.section-count { align-self: start; margin: 12px 0 0; font: 500 10px/1 "IBM Plex Mono", monospace; color: var(--blue); }
.section-intro h2 { margin: 0; max-width: 850px; font-size: clamp(44px, 6vw, 98px); font-weight: 300; line-height: .92; letter-spacing: -.065em; }
.section-intro > p:last-child { margin: 0 0 7px; max-width: 380px; color: var(--ink-soft); font-size: 18px; line-height: 1.55; }

.news-river { border-top: 1px solid rgba(17,18,26,.2); }
.river-story { position: relative; display: grid; grid-template-columns: 90px minmax(0, 1.35fr) minmax(180px, .55fr) 50px; align-items: center; gap: 28px; min-height: 126px; padding: 18px 16px; border-bottom: 1px solid rgba(17,18,26,.18); overflow: hidden; cursor: pointer; isolation: isolate; }
.river-story::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--story-fill, var(--blue-pale)); transform: translateX(102%) skewX(-9deg); transition: transform .62s var(--ease); }
.river-story:hover::before, .river-story:focus-visible::before { transform: translateX(0) skewX(0); }
.river-story:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.river-story time { direction: ltr; font: 500 12px/1 "IBM Plex Mono", monospace; }
.river-story h3 { margin: 0; font-size: clamp(24px, 2.5vw, 43px); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; }
.river-story p { margin: 0; color: var(--ink-soft); line-height: 1.45; }
.river-story .river-arrow { font-size: 31px; transition: transform .35s var(--ease); }
.river-story:hover .river-arrow { transform: translateX(-9px) rotate(-6deg); }

.inline-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin-top: 50px; font-weight: 700; }
.inline-route i { height: 1px; background: currentColor; transform-origin: right; transition: transform .45s var(--ease); }
.inline-route b { font-size: 24px; }
.inline-route:hover i { transform: scaleX(.88); }
.inline-route:hover b { animation: arrow-nudge .6s var(--ease); }
@keyframes arrow-nudge { 50% { transform: translateX(-10px); } }

.article-current { color: white; background: #171923; overflow: hidden; }
.article-current::before { content: ""; position: absolute; left: 8%; top: 14%; width: 18px; height: 18px; border: 2px solid var(--coral); border-radius: 50%; box-shadow: 0 0 0 12px rgba(255,128,96,.07); animation: roam-dot 11s var(--ease) infinite alternate; }
@keyframes roam-dot { to { transform: translate(62vw, 42vh) scale(.5); border-radius: 2px; } }
.section-intro-light { position: relative; z-index: 2; }
.section-intro-light .section-count { color: var(--rose); }
.section-intro-light > p:last-child { color: rgba(255,255,255,.64); }
.read-ghost { position: absolute; direction: ltr; top: 2%; left: -2%; display: flex; color: rgba(255,255,255,.035); font-size: clamp(150px, 28vw, 500px); font-weight: 800; letter-spacing: -.15em; line-height: 1; user-select: none; }
.read-ghost i { position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--blue); top: 48%; left: 0; box-shadow: 0 0 24px var(--blue), 0 0 50px rgba(40,80,237,.55); animation: read-run 7s linear infinite; }
@keyframes read-run { 0% { left: 0; transform: scale(.45); } 45% { transform: scale(1.15); } 100% { left: 100%; transform: scale(.45); } }
.article-stair { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
.stair-article { --stair-fill: var(--blue); position: relative; width: min(88%, 1080px); min-height: 160px; display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 26px 34px; border-top: 1px solid rgba(255,255,255,.18); overflow: hidden; isolation: isolate; transition: color .35s ease, transform .4s var(--ease); }
.stair-article:nth-child(even) { align-self: flex-end; }
.stair-article:nth-child(3n) { width: min(76%, 940px); }
.stair-article::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--stair-fill); transform: scaleX(.015); transform-origin: right; transition: transform .65s var(--ease); }
.stair-article:hover::before { transform: scaleX(1); }
.stair-article:hover { color: #11121a; transform: translateX(-8px); }
.stair-index { font: 500 11px/1 "IBM Plex Mono", monospace; color: rgba(255,255,255,.52); }
.stair-article:hover .stair-index { color: rgba(17,18,26,.55); }
.stair-article h3 { margin: 0; font-size: clamp(28px, 3.2vw, 54px); font-weight: 500; line-height: 1.05; letter-spacing: -.045em; }
.stair-article p { margin: 10px 0 0; color: rgba(255,255,255,.55); }
.stair-article:hover p { color: rgba(17,18,26,.65); }
.stair-meta { writing-mode: vertical-rl; font: 500 9px/1 "IBM Plex Mono", monospace; opacity: .65; }
.inline-route.light { position: relative; z-index: 2; }

.channel-cta { position: relative; min-height: 78vh; display: grid; align-content: center; justify-items: center; text-align: center; padding: 120px 24px; overflow: hidden; }
.channel-cta h2 { margin: 0; font-size: clamp(56px, 8vw, 138px); font-weight: 300; line-height: .88; letter-spacing: -.075em; }
.channel-cta .eyebrow { margin-bottom: 32px; }
.cta-links { display: flex; gap: 12px; margin-top: 46px; }
.cta-links a { min-width: 230px; padding: 16px 22px; border: 1px solid var(--ink); border-radius: 50px; font-weight: 700; transition: color .25s ease, background .25s ease, transform .3s var(--ease); }
.cta-links a:hover { color: white; background: var(--ink); transform: translateY(-4px); }
.cta-links span { margin-right: 18px; }
.cta-orbit { position: absolute; left: 7vw; top: 50%; width: 150px; height: 150px; display: grid; place-items: center; border: 1px solid rgba(40,80,237,.28); border-radius: 50%; transform: translateY(-50%); animation: orbit-turn 14s linear infinite; }
.cta-orbit b { font: 600 13px/1 "IBM Plex Mono", monospace; animation: orbit-turn 14s linear infinite reverse; }
.cta-orbit i { position: absolute; width: 7px; height: 7px; background: var(--blue); border-radius: 50%; }
.cta-orbit i:nth-child(1) { top: 10px; }
.cta-orbit i:nth-child(2) { left: 12px; background: var(--rose); }
.cta-orbit i:nth-child(3) { right: 9px; background: var(--lilac); }

.site-footer { min-height: 110px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 30px clamp(24px, 7vw, 120px); color: white; background: var(--ink); font-size: 13px; }
.footer-brand { direction: ltr; justify-self: start; font-size: 22px; font-weight: 800; letter-spacing: -.05em; }
.site-footer p { margin: 0; opacity: .55; }
.site-footer > a:last-child { direction: ltr; justify-self: end; font: 500 11px/1 "IBM Plex Mono", monospace; color: var(--rose-pale); }

.story-modal { position: fixed; z-index: 300; inset: 0; display: grid; place-items: center; padding: 24px; pointer-events: none; visibility: hidden; }
.story-modal.open { pointer-events: auto; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; opacity: 0; background: rgba(11,12,19,.62); backdrop-filter: blur(3px); transition: opacity .4s ease; }
.open .modal-backdrop { opacity: 1; }
.modal-sheet { position: relative; width: min(680px, 100%); max-height: min(760px, calc(100svh - 48px)); overflow-y: auto; padding: clamp(34px, 6vw, 72px); color: var(--ink); background: rgba(245,242,237,.94); border: 1px solid rgba(255,255,255,.72); border-radius: 4px 46px 46px 46px; box-shadow: 0 40px 130px rgba(0,0,0,.3), inset 0 1px white; backdrop-filter: blur(22px) saturate(125%); opacity: 0; transform: translateY(28px) scale(.94) rotate(1deg); transition: opacity .42s ease, transform .55s var(--elastic); }
.open .modal-sheet { opacity: 1; transform: none; }
.modal-sheet::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 6px; background: var(--blue); }
.modal-close { position: absolute; top: 18px; left: 18px; width: 40px; height: 40px; border: 1px solid rgba(17,18,26,.2); border-radius: 50%; background: transparent; font-size: 26px; cursor: pointer; transition: color .2s ease, background .2s ease, transform .3s var(--ease); }
.modal-close:hover { color: white; background: var(--ink); transform: rotate(90deg); }
.modal-kicker { margin: 0 0 24px; color: var(--blue); font: 600 10px/1 "IBM Plex Mono", monospace; }
.modal-sheet h2 { margin: 0; font-size: clamp(38px, 5vw, 68px); font-weight: 500; line-height: 1; letter-spacing: -.055em; }
.modal-dek { margin: 26px 0; font-size: 20px; line-height: 1.5; color: var(--ink-soft); }
.modal-meta { display: flex; gap: 18px; padding-block: 14px; border-block: 1px solid rgba(17,18,26,.15); font: 500 10px/1 "IBM Plex Mono", monospace; }
.modal-body { margin: 28px 0 0; font-size: 17px; line-height: 1.8; }
.modal-link { display: inline-flex; gap: 30px; margin-top: 26px; padding-bottom: 4px; border-bottom: 1px solid currentColor; color: var(--blue); font-weight: 700; }

/* Inner pages */
.inner-main { min-height: 100vh; padding-top: var(--header-h); }
.inner-hero { position: relative; min-height: 53vh; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(100px, 12vw, 180px) clamp(24px, 7vw, 120px) 70px; overflow: hidden; }
.inner-hero h1 { position: relative; z-index: 2; margin: 0; font-size: clamp(76px, 12vw, 210px); font-weight: 300; line-height: .78; letter-spacing: -.085em; }
.inner-dek { position: relative; z-index: 2; max-width: 680px; margin: 32px 0 0; color: var(--ink-soft); font-size: clamp(18px, 1.8vw, 28px); }
.inner-hero .eyebrow { position: relative; z-index: 2; }
.news-hero { border-bottom: 1px solid rgba(17,18,26,.18); }
.news-hero h1 span:first-child { display: inline-block; color: var(--blue); animation: question-arrive .9s var(--elastic) both; }
.news-hero .punctuation { display: inline-block; color: var(--rose); animation: punctuation 2.4s var(--ease) infinite; }
@keyframes question-arrive { from { opacity: 0; transform: translateX(100px) rotate(10deg); } }
@keyframes punctuation { 50% { transform: translateY(-9px) rotate(-8deg); } }
.hero-radar { position: absolute; left: 7vw; top: 50%; width: min(31vw, 430px); aspect-ratio: 1; border: 1px solid rgba(40,80,237,.24); border-radius: 50%; transform: translateY(-50%); }
.hero-radar i { position: absolute; inset: calc(var(--i, 1) * 11%); border: 1px dashed rgba(17,18,26,.14); border-radius: 50%; animation: orbit-turn 13s linear infinite; }
.hero-radar i:nth-child(1) { --i: 1; }
.hero-radar i:nth-child(2) { --i: 2; animation-direction: reverse; }
.hero-radar i:nth-child(3) { --i: 3; animation-duration: 7s; }
.hero-radar i:nth-child(4) { --i: 4; animation-direction: reverse; animation-duration: 4s; }
.hero-radar b { position: absolute; width: 11px; height: 11px; top: 15%; left: 17%; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 12px rgba(255,79,112,.12), 0 0 25px var(--rose); animation: radar-blip 2s ease-out infinite; }
@keyframes radar-blip { 50% { transform: scale(.45); opacity: .45; } }
.signal-readout { position: absolute; left: clamp(24px,7vw,120px); bottom: 72px; display: flex; direction: ltr; align-items: center; gap: 10px; color: rgba(17,18,26,.45); font: 500 9px/1 "IBM Plex Mono", monospace; }
.signal-readout i { width: 34px; height: 1px; background: currentColor; animation: readout-line 2.2s var(--ease) infinite alternate; }
.signal-readout b { color: var(--rose); }
@keyframes readout-line { to { width: 68px; } }

.news-console { padding: 70px clamp(24px,7vw,120px) 150px; }
.console-topline { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.console-topline p { margin: 0; font: 500 10px/1 "IBM Plex Mono", monospace; }
.news-filters, .article-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { padding: 8px 13px; border: 1px solid rgba(17,18,26,.18); border-radius: 50px; background: transparent; font-size: 12px; cursor: pointer; transition: color .25s ease, background .25s ease, transform .25s var(--ease); }
.filter-button:hover, .filter-button.active { color: white; background: var(--ink); transform: translateY(-2px); }
.news-stream { border-bottom: 1px solid var(--ink); }
.stream-day { position: sticky; top: 62px; z-index: 4; display: inline-block; margin: 0; padding: 9px 14px; color: white; background: var(--blue); font: 500 9px/1 "IBM Plex Mono", monospace; }
.stream-story { --story-fill: var(--blue-pale); position: relative; display: grid; grid-template-columns: 86px minmax(0, 1fr) minmax(180px, .4fr) 42px; align-items: center; gap: 28px; min-height: 142px; padding: 24px 12px; border-top: 1px solid rgba(17,18,26,.18); overflow: hidden; isolation: isolate; cursor: pointer; }
.stream-story::before { content: ""; position: absolute; z-index: -1; width: 100%; height: 100%; right: -100%; top: 0; background: var(--story-fill); transition: right .62s var(--ease), border-radius .62s var(--ease); border-radius: 70% 0 0 70%; }
.stream-story:hover::before, .stream-story:focus-visible::before { right: 0; border-radius: 0; }
.stream-story:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.stream-time { direction: ltr; font: 500 12px/1 "IBM Plex Mono", monospace; }
.stream-story h2 { margin: 0; font-size: clamp(28px, 3.2vw, 54px); font-weight: 500; line-height: 1.04; letter-spacing: -.04em; }
.stream-story p { margin: 0; color: var(--ink-soft); line-height: 1.5; }
.stream-arrow { font-size: 26px; transition: transform .35s var(--ease); }
.stream-story:hover .stream-arrow { transform: translateX(-9px); }
.stream-story.entering { animation: stream-enter .62s var(--ease) both; animation-delay: calc(var(--order) * 55ms); }
@keyframes stream-enter { from { opacity: 0; transform: translateY(28px); clip-path: inset(0 0 100%); } }
.load-more { position: relative; width: 100%; height: 84px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 0 20px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; cursor: pointer; font-weight: 700; text-align: right; overflow: hidden; }
.load-more::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--rose-pale); transform: translateY(102%); transition: transform .45s var(--ease); }
.load-more:hover::before { transform: translateY(0); }
.load-more i { height: 1px; background: currentColor; }
.load-more b { font-size: 30px; transition: transform .45s var(--ease); }
.load-more:hover b { transform: rotate(180deg); }
.load-more[hidden] { display: none; }

.articles-hero { min-height: 61vh; color: white; background: #171923; }
.articles-hero h1 { font-size: clamp(58px, 8.4vw, 145px); }
.articles-hero h1 span { color: var(--lilac); }
.articles-hero .inner-dek { color: rgba(255,255,255,.62); }
.type-machine { position: absolute; direction: ltr; left: 7vw; bottom: 18%; display: flex; align-items: center; gap: 8px; min-width: 310px; padding: 16px 20px; color: var(--lilac-pale); border-block: 1px solid rgba(255,255,255,.18); font: 500 17px/1 "IBM Plex Mono", monospace; }
.type-machine span { color: var(--rose); }
.type-machine i { width: 2px; height: 22px; background: white; animation: caret .7s steps(1,end) infinite; }

.library { padding: 0 clamp(24px,7vw,120px) 150px; }
.library-tools { position: sticky; z-index: 10; top: 62px; display: grid; grid-template-columns: minmax(260px, .7fr) 1fr auto; align-items: center; gap: 30px; min-height: 100px; padding: 18px 0; background: rgba(245,242,237,.92); border-bottom: 1px solid rgba(17,18,26,.2); backdrop-filter: blur(18px); }
.search-field { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; min-height: 46px; padding: 0 14px; border-bottom: 1px solid var(--ink); }
.search-field span { font: 500 9px/1 "IBM Plex Mono", monospace; color: var(--blue); }
.search-field input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; font-size: 16px; }
.search-field i { position: absolute; right: 0; bottom: -1px; width: 0; height: 2px; background: var(--blue); transition: width .4s var(--ease); }
.search-field:focus-within i { width: 100%; }
.result-count { direction: ltr; margin: 0; font: 500 9px/1 "IBM Plex Mono", monospace; }
.library-stage { display: grid; grid-template-columns: minmax(290px, .65fr) minmax(0, 1.35fr); gap: clamp(35px, 6vw, 100px); padding-top: 64px; }
.library-preview { position: sticky; top: 178px; align-self: start; min-height: 500px; padding: 36px; color: white; background: var(--blue); border-radius: 3px 46px 3px 46px; overflow: hidden; transition: background .35s ease; }
.library-preview::before { content: attr(data-index); position: absolute; left: -12px; bottom: -42px; color: rgba(255,255,255,.13); font-size: 190px; font-weight: 800; letter-spacing: -.1em; }
.library-preview::after { content: ""; position: absolute; width: 90px; height: 90px; left: 28px; top: 28px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; animation: orbit-turn 10s linear infinite; }
.preview-category { margin: 0; font: 500 10px/1 "IBM Plex Mono", monospace; opacity: .7; }
.library-preview h2 { position: relative; z-index: 2; margin: 130px 0 0; font-size: clamp(38px, 4vw, 66px); font-weight: 500; line-height: .98; letter-spacing: -.055em; }
.preview-excerpt { position: relative; z-index: 2; margin: 22px 0 0; font-size: 17px; line-height: 1.55; opacity: .78; }
.preview-meta { position: absolute; z-index: 2; bottom: 34px; right: 36px; left: 36px; display: flex; justify-content: space-between; font: 500 9px/1 "IBM Plex Mono", monospace; }
.library-preview.restart { animation: preview-restart .58s var(--ease) both; }
@keyframes preview-restart { from { opacity: .4; transform: translateY(12px) rotate(.6deg); clip-path: inset(100% 0 0); } }
.library-list { border-top: 1px solid var(--ink); }
.library-row { --row-fill: var(--lilac-pale); position: relative; display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; align-items: center; gap: 24px; min-height: 150px; padding: 22px 12px; border-bottom: 1px solid rgba(17,18,26,.2); overflow: hidden; isolation: isolate; }
.library-row::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--row-fill); clip-path: circle(0 at 100% 50%); transition: clip-path .7s var(--ease); }
.library-row:hover::before, .library-row:focus-within::before { clip-path: circle(150% at 100% 50%); }
.library-index { font: 500 10px/1 "IBM Plex Mono", monospace; color: var(--blue); }
.library-row h3 { margin: 0; font-size: clamp(25px, 2.5vw, 42px); font-weight: 500; line-height: 1.06; letter-spacing: -.04em; }
.library-row h3 a::after { content: ""; position: absolute; inset: 0; }
.library-row p { margin: 9px 0 0; color: var(--ink-soft); }
.library-row-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font: 500 9px/1 "IBM Plex Mono", monospace; white-space: nowrap; }
.library-row.row-enter { animation: library-row-in .52s var(--ease) both; animation-delay: calc(var(--order) * 45ms); }
@keyframes library-row-in { from { opacity: 0; transform: translateY(20px); clip-path: inset(0 0 100%); } }
.library-empty { padding: 100px 0; font-size: 32px; color: var(--ink-soft); }
.pagination { display: flex; justify-content: flex-end; gap: 6px; margin-top: 38px; direction: ltr; }
.page-button { width: 42px; height: 42px; border: 1px solid rgba(17,18,26,.25); border-radius: 50%; background: transparent; cursor: pointer; font: 500 11px/1 "IBM Plex Mono", monospace; transition: color .2s ease, background .2s ease, transform .25s var(--ease); }
.page-button:hover, .page-button.active { color: white; background: var(--ink); transform: translateY(-3px); }

/* Long-form article */
.reading-progress { position: fixed; z-index: 160; top: 0; left: 0; right: 0; height: 3px; pointer-events: none; }
.reading-progress i { display: block; width: 0; height: 100%; background: var(--rose); box-shadow: 0 0 14px var(--rose); }
.article-main { min-height: 100vh; padding-top: var(--header-h); }
.article-lead { position: relative; min-height: 78vh; display: grid; align-content: end; padding: 150px clamp(24px, 8vw, 150px) 80px; color: white; background: #171923; overflow: hidden; }
.article-lead::before { content: attr(data-mark); position: absolute; direction: ltr; left: -3vw; top: 5%; color: rgba(255,255,255,.035); font-size: min(34vw, 560px); font-weight: 800; line-height: .8; letter-spacing: -.12em; }
.article-lead::after { content: ""; position: absolute; width: 270px; height: 270px; left: 7vw; bottom: 9%; border: 1px solid rgba(166,138,245,.55); border-radius: 50%; box-shadow: 0 0 0 42px rgba(166,138,245,.03), 0 0 0 84px rgba(166,138,245,.025); animation: article-orbit 7s var(--ease) infinite alternate; }
@keyframes article-orbit { to { transform: translate(70px, -35px) scale(.68); border-radius: 22%; } }
.article-lead-content { position: relative; z-index: 2; max-width: 1120px; }
.article-breadcrumb { margin: 0 0 32px; color: var(--lilac-pale); font: 500 10px/1 "IBM Plex Mono", monospace; }
.article-lead h1 { margin: 0; max-width: 1050px; font-size: clamp(56px, 8vw, 142px); font-weight: 400; line-height: .88; letter-spacing: -.075em; }
.article-lead .lead-excerpt { max-width: 760px; margin: 34px 0 0; color: rgba(255,255,255,.68); font-size: clamp(19px, 2vw, 30px); line-height: 1.45; }
.article-byline { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 42px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); font: 500 10px/1 "IBM Plex Mono", monospace; }
.article-byline strong { color: var(--rose-pale); }
.article-layout { position: relative; display: grid; grid-template-columns: minmax(220px, .42fr) minmax(0, 1fr) minmax(180px, .34fr); gap: clamp(28px, 5vw, 86px); padding: 100px clamp(24px, 8vw, 150px) 150px; }
.static-article-layout { grid-template-columns: minmax(220px, .42fr) minmax(0, 1fr); }
.article-aside { position: sticky; top: 110px; align-self: start; }
.article-aside-label { margin: 0 0 18px; color: var(--blue); font: 600 10px/1 "IBM Plex Mono", monospace; }
.article-tldr { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.5; }
.article-aside hr { height: 1px; margin: 28px 0; border: 0; background: rgba(17,18,26,.2); }
.share-rail { display: flex; flex-direction: column; gap: 8px; }
.share-rail a { padding: 10px 0; border-bottom: 1px solid rgba(17,18,26,.14); font-size: 13px; transition: color .2s ease, transform .3s var(--ease); }
.share-rail a:hover { color: var(--blue); transform: translateX(-5px); }
.article-body { min-width: 0; max-width: 820px; }
.article-body .drop-paragraph { margin-top: 0; font-size: clamp(24px, 2.3vw, 34px); font-weight: 500; line-height: 1.55; letter-spacing: -.02em; }
.drop-paragraph::first-letter { float: right; margin: 4px 0 0 10px; color: var(--blue); font-size: 4.2em; font-weight: 800; line-height: .72; }
.article-section { position: relative; margin: 86px 0; }
.article-section-label { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; color: var(--rose); font: 600 10px/1 "IBM Plex Mono", monospace; }
.article-section-label::after { content: ""; width: 44px; height: 1px; background: currentColor; }
.article-section h2 { margin: 0 0 24px; font-size: clamp(38px, 4.2vw, 68px); font-weight: 500; line-height: 1; letter-spacing: -.055em; }
.article-section p, .article-body > p { margin: 0 0 30px; font-size: 20px; line-height: 1.92; }
.article-section .ink-word { color: rgba(17,18,26,.27); transition: color .32s ease; transition-delay: calc(var(--word) * 16ms); }
.article-section.ink-ready .ink-word { color: var(--ink); }
.article-section:nth-of-type(even) h2 { color: var(--blue); }
.pull-quote { position: relative; margin: 90px -7vw 90px 0; padding: 50px clamp(30px,6vw,80px); color: white; background: var(--blue); border-radius: 3px 56px 3px 56px; font-size: clamp(34px, 4vw, 64px); font-weight: 500; line-height: 1.12; letter-spacing: -.045em; }
.pull-quote::before { content: "“"; position: absolute; left: 26px; top: -25px; color: var(--rose-pale); font-size: 130px; line-height: 1; opacity: .55; }
.takeaways { margin: 100px 0; padding: 42px 0; border-block: 1px solid var(--ink); }
.takeaways h2 { margin: 0 0 30px; font-size: 38px; font-weight: 500; }
.takeaways ol { margin: 0; padding: 0; list-style: none; counter-reset: takeaway; }
.takeaways li { counter-increment: takeaway; display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 21px 0; border-top: 1px solid rgba(17,18,26,.15); font-size: 18px; line-height: 1.5; }
.takeaways li::before { content: "0" counter(takeaway); color: var(--rose); font: 600 11px/1.5 "IBM Plex Mono", monospace; }
.article-sources { margin-top: 90px; }
.article-sources h2 { margin: 0 0 20px; font-size: 28px; }
.article-sources a { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid rgba(17,18,26,.16); transition: color .2s ease, padding .3s var(--ease); }
.article-sources a:hover { color: var(--blue); padding-right: 10px; }
.article-index-rail { position: sticky; top: 110px; align-self: start; padding-right: 20px; border-right: 1px solid rgba(17,18,26,.18); }
.article-index-rail p { margin: 0 0 18px; color: var(--ink-soft); font: 500 9px/1 "IBM Plex Mono", monospace; }
.article-index-rail a { display: block; margin: 14px 0; font-size: 13px; color: var(--ink-soft); transition: color .2s ease, transform .25s var(--ease); }
.article-index-rail a:hover, .article-index-rail a.active { color: var(--blue); transform: translateX(-5px); }
.article-next { position: relative; min-height: 55vh; display: grid; align-content: center; padding: 100px clamp(24px,8vw,150px); color: white; background: var(--ink); overflow: hidden; }
.article-next::before { content: "NEXT"; position: absolute; direction: ltr; left: -2vw; bottom: -5vw; color: rgba(255,255,255,.035); font-size: 28vw; font-weight: 800; line-height: .8; }
.article-next p { position: relative; z-index: 2; margin: 0 0 20px; color: var(--rose-pale); font: 500 10px/1 "IBM Plex Mono", monospace; }
.article-next a { position: relative; z-index: 2; max-width: 1000px; font-size: clamp(46px, 6vw, 105px); font-weight: 500; line-height: .94; letter-spacing: -.06em; }
.article-next a span { display: inline-block; color: var(--lilac); transition: transform .35s var(--ease); }
.article-next a:hover span { transform: translateX(-14px); }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { display: none; position: absolute; top: 100%; right: 18px; left: 18px; padding: 20px; flex-direction: column; align-items: stretch; background: rgba(245,242,237,.96); border: 1px solid rgba(17,18,26,.16); backdrop-filter: blur(18px); }
  .site-header.menu-open .main-nav { display: flex; }
  .channel-links { display: none; }
  .menu-button { display: block; justify-self: end; }
  .site-header.menu-open .menu-button span:first-child { transform: translateY(4px) rotate(45deg); }
  .site-header.menu-open .menu-button span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .resonance-hero { grid-template-columns: minmax(0, .9fr) minmax(380px, 1.1fr); padding-inline: 42px; gap: 24px; }
  .signal-stage { min-height: 590px; }
  .channel-shell { height: 540px; }
  .point-morph { left: -210px; width: 220px; }
  .section-intro { grid-template-columns: 100px 1fr; }
  .section-intro > p:last-child { grid-column: 2; }
  .library-stage { grid-template-columns: minmax(280px,.55fr) 1fr; gap: 36px; }
  .article-layout { grid-template-columns: minmax(190px,.34fr) 1fr; }
  .article-index-rail { display: none; }
}

@media (max-width: 800px) {
  :root { --header-h: 64px; }
  .site-header { padding-inline: 18px; }
  .resonance-hero { min-height: auto; grid-template-columns: 1fr; padding: 126px 20px 110px; }
  .hero-copy h1 { font-size: clamp(58px, 18vw, 94px); }
  .hero-dek { font-size: 18px; }
  .signal-stage { min-height: 735px; margin-top: 40px; align-content: end; }
  .channel-shell { width: min(100%, 500px); height: 560px; transform: none; }
  .point-morph { left: 50%; top: -12px; width: 170px; transform: translateX(-50%); opacity: .9; }
  .hero-current { bottom: 25px; }
  .scroll-cue { display: none; }
  .now-river, .article-current { padding: 90px 20px; }
  .section-intro { grid-template-columns: 1fr; gap: 18px; margin-bottom: 45px; }
  .section-intro > p:last-child { grid-column: 1; }
  .section-intro h2 { font-size: 53px; }
  .river-story { grid-template-columns: 54px 1fr 30px; gap: 14px; min-height: 120px; padding-inline: 5px; }
  .river-story p { display: none; }
  .river-story h3 { font-size: 25px; }
  .stair-article, .stair-article:nth-child(3n) { width: 100%; min-height: 138px; grid-template-columns: 42px 1fr; padding: 20px 8px; gap: 12px; }
  .stair-article:nth-child(even) { align-self: stretch; }
  .stair-article h3 { font-size: 28px; }
  .stair-article p, .stair-meta { display: none; }
  .cta-orbit { display: none; }
  .cta-links { width: 100%; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; text-align: right; }
  .footer-brand, .site-footer > a:last-child { justify-self: start; }
  .inner-hero { min-height: 48vh; padding-inline: 20px; }
  .inner-hero h1 { font-size: 86px; }
  .hero-radar { width: 280px; left: -90px; opacity: .65; }
  .signal-readout { display: none; }
  .news-console, .library { padding-inline: 20px; }
  .console-topline { align-items: flex-start; flex-direction: column; }
  .stream-story { grid-template-columns: 48px 1fr 28px; gap: 12px; min-height: 126px; padding-inline: 4px; }
  .stream-story p { display: none; }
  .stream-story h2 { font-size: 27px; }
  .articles-hero { min-height: 55vh; }
  .articles-hero h1 { font-size: 59px; }
  .type-machine { left: 20px; right: 20px; bottom: 34px; min-width: 0; }
  .library-tools { position: relative; top: 0; grid-template-columns: 1fr; gap: 14px; padding: 24px 0; }
  .result-count { direction: rtl; }
  .library-stage { grid-template-columns: 1fr; padding-top: 30px; }
  .library-preview { position: relative; top: 0; min-height: 380px; }
  .library-preview h2 { margin-top: 90px; font-size: 42px; }
  .library-row { grid-template-columns: 40px 1fr; gap: 12px; min-height: 130px; padding-inline: 4px; }
  .library-row-meta { display: none; }
  .library-row h3 { font-size: 26px; }
  .library-row p { font-size: 14px; }
  .article-lead { min-height: 75vh; padding: 130px 20px 60px; }
  .article-lead h1 { font-size: 57px; }
  .article-lead::after { width: 180px; height: 180px; left: -40px; }
  .article-layout { grid-template-columns: 1fr; padding: 60px 20px 100px; }
  .signal-word { font-size: clamp(94px, 31vw, 190px); }
  .signal-word-hero { top: 18%; left: -14vw; }
  .signal-word-now { right: -22vw; top: 42%; }
  .signal-word-console { left: -20vw; bottom: 13%; }
  .article-aside { position: relative; top: 0; padding: 26px; background: var(--lilac-pale); border-radius: 2px 30px 2px 30px; }
  .share-rail { flex-direction: row; flex-wrap: wrap; }
  .share-rail a { margin-left: 14px; }
  .article-section { margin: 64px 0; }
  .article-section p, .article-body > p { font-size: 18px; line-height: 1.82; }
  .pull-quote { margin: 70px 0; padding: 40px 28px; font-size: 35px; }
  .article-next { min-height: 48vh; padding-inline: 20px; }
}

@media (max-width: 480px) {
  .brand { min-width: 134px; font-size: 22px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .signal-stage { min-height: 690px; }
  .point-morph { width: 150px; top: 0; }
  .channel-shell { height: 520px; border-radius: 36px 12px 36px 36px; }
  .channel-screen { border-radius: 30px 8px 31px 31px; }
  .channel-tabs { gap: 1px; padding-inline: 3px; }
  .channel-tab { padding-inline: 7px; font-size: 8px; }
  .chat-story { width: 92%; }
  .channel-cta h2 { font-size: 58px; }
  .inner-hero h1 { font-size: 68px; }
  .news-filters, .article-filters { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; padding-bottom: 5px; }
  .filter-button { flex: 0 0 auto; }
  .modal-sheet { padding: 52px 24px 32px; border-radius: 3px 30px 30px 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Restore the broad violet READ searchlight without removing the newer signal pulses. */
.read-ghost {
  z-index: 0;
  isolation: isolate;
  pointer-events: none;
}
.read-ghost > span { position: relative; z-index: 1; }
.read-ghost::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -34%;
  top: 18%;
  width: clamp(320px, 39vw, 680px);
  height: clamp(210px, 25vw, 430px);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 48% 50%, rgba(226,205,255,.55) 0 8%, rgba(177,119,255,.36) 24%, rgba(109,63,231,.2) 46%, transparent 72%),
    radial-gradient(ellipse at 58% 50%, rgba(93,51,202,.22), transparent 67%);
  filter: blur(15px);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translate3d(-8%,0,0) rotate(-7deg) scale(.86);
  animation: read-searchlight-pool 7.8s cubic-bezier(.42,0,.24,1) infinite;
}
.read-ghost::after {
  content: "READ";
  position: absolute;
  z-index: 2;
  inset: 0 auto auto 0;
  direction: ltr;
  width: 100%;
  color: transparent;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  white-space: nowrap;
  background: radial-gradient(ellipse 24% 92% at center, #f4eaff 0 12%, #c79dff 31%, rgba(126,79,238,.8) 52%, transparent 76%);
  background-repeat: no-repeat;
  background-size: 42% 130%;
  background-position: -42% 50%;
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 16px rgba(177,119,255,.38));
  animation: read-searchlight-letters 7.8s cubic-bezier(.42,0,.24,1) infinite;
}
.read-ghost i { z-index: 3; }
@keyframes read-searchlight-pool {
  0%,5% { left:-34%; opacity:0; transform:translate3d(-8%,0,0) rotate(-7deg) scale(.86); }
  14% { opacity:.74; }
  48% { opacity:.92; transform:translate3d(0,-5%,0) rotate(2deg) scale(1.08); }
  88% { opacity:.68; }
  100% { left:94%; opacity:0; transform:translate3d(8%,3%,0) rotate(8deg) scale(.9); }
}
@keyframes read-searchlight-letters {
  0%,5% { background-position:-42% 50%; opacity:0; }
  14%,88% { opacity:1; }
  100% { background-position:142% 50%; opacity:0; }
}
@media (prefers-reduced-motion: reduce) {
  .read-ghost::before { left:34%; opacity:.66; transform:rotate(1deg); animation:none !important; }
  .read-ghost::after { opacity:1; background-position:48% 50%; animation:none !important; }
}
