/* ════════════════════════════════════════════════════════════
   14-RISOGRAPH — דפוס ריזו
   Print-shop aesthetic with halftone textures and overprint effects.
   Cream substrate, coral + federal blue + flour yellow inks.
   Signature: GSAP stamping animations, SVG halftone dots,
   mix-blend-mode: multiply overprint, registration marks.
   ════════════════════════════════════════════════════════════ */

/* ── Design tokens ── */
:root {
  /* Substrate */
  --cream:        #f7f3ea;   /* primary cream paper substrate */
  --cream-deep:   #efe8d6;   /* second pull / shadow side */
  --cream-light:  #fbf8f1;   /* highlight side */

  /* Print inks (Riso fluorescent-but-matte) */
  --coral:        #ff5c5c;   /* fluorescent coral */
  --coral-deep:   #e64545;
  --coral-soft:   rgba(255, 92, 92, 0.82);

  --blue:         #1a3a8a;   /* federal blue */
  --blue-deep:    #122a66;
  --blue-soft:    rgba(26, 58, 138, 0.82);

  --yellow:       #f5e6a8;   /* flour yellow */
  --yellow-deep:  #e8d485;
  --yellow-soft:  rgba(245, 230, 168, 0.85);

  /* Ink */
  --ink:          #1a1a1a;
  --ink-soft:     #2e2e2e;
  --ink-mute:     #6a6a6a;

  /* Hairlines */
  --line:         #1a1a1a;
  --line-soft:    rgba(26, 26, 26, 0.18);

  /* Chat skins (brand colors for W/T/M) */
  --wa-green:     #25D366;
  --wa-dark:      #075E54;
  --wa-bg:        #efe6d8;
  --tg-blue:      #2AABEE;
  --tg-bg:        #e3eef6;
  --ms-1:         #0099FF;
  --ms-2:         #A033FF;

  /* Halftone */
  --halftone-blue:    radial-gradient(rgba(26,58,138,0.55) 22%, transparent 23%);
  --halftone-coral:   radial-gradient(rgba(255,92,92,0.55) 22%, transparent 23%);
  --halftone-yellow:  radial-gradient(rgba(212,170,40,0.55) 22%, transparent 23%);
  --halftone-ink:     radial-gradient(rgba(26,26,26,0.5) 22%, transparent 23%);

  /* Type */
  --serif: 'Frank Ruhl Libre', 'Times New Roman', serif;
  --sans:  'Heebo', 'Arial Hebrew', sans-serif;
  --mono:  'JetBrains Mono', 'Courier New', monospace;
}

/* ── Reset (scoped — no leaks to switcher widget) ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background-color: var(--cream);
  line-height: 1.65;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  /* Paper substrate texture: layered faint halftone dots + warm grain */
  background-image:
    radial-gradient(rgba(26,26,26,0.025) 18%, transparent 22%),
    radial-gradient(rgba(255,92,92,0.02) 18%, transparent 22%),
    linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 45%, var(--cream-deep) 100%);
  background-size: 7px 7px, 11px 11px, 100% 100%;
  background-position: 0 0, 4px 4px, 0 0;
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
.serif { font-family: var(--serif); }
.mono  { font-family: var(--mono); }

/* ════════════════════════════════════════
   LAYOUT — container & sections
════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

.section-pad { padding: 64px 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral-deep);
  font-weight: 500;
  display: inline-block;
  padding: 3px 9px;
  border: 1.2px solid var(--coral-deep);
  background: var(--cream-light);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding-bottom: 14px;
  border-bottom: 2.5px solid var(--ink);
}
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 8px 0 0; }

.section-link {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--blue);
  padding: 6px 12px;
  border: 1.5px solid var(--blue);
  background: var(--yellow);
  transition: background 0.18s, color 0.18s;
}
.section-link:hover { background: var(--blue); color: var(--cream); text-decoration: none; }

/* ════════════════════════════════════════
   REGISTRATION MARKS — crosshair decorations
════════════════════════════════════════ */
.reg-mark {
  position: absolute;
  width: 26px;
  height: 26px;
  pointer-events: none;
  color: var(--ink);
  opacity: 0.55;
  z-index: 3;
}
.reg-mark svg { width: 100%; height: 100%; display: block; }
.reg-tl { top: 14px; left: 14px; }
.reg-tr { top: 14px; right: 14px; }
.reg-bl { bottom: 14px; left: 14px; }
.reg-br { bottom: 14px; right: 14px; }

/* Color split registration marks (per-ink, slight drift) */
.reg-stack { position: relative; }
.reg-stack .reg-coral,
.reg-stack .reg-blue,
.reg-stack .reg-yellow {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.reg-stack .reg-coral  { color: var(--coral); }
.reg-stack .reg-blue   { color: var(--blue); }
.reg-stack .reg-yellow { color: var(--yellow-deep); }

/* ════════════════════════════════════════
   HALFTONE TEXTURES — SVG pattern surfaces
════════════════════════════════════════ */
.halftone-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: var(--halftone-ink);
  background-size: 7px 7px;
  opacity: 0.35;
  mix-blend-mode: multiply;
  z-index: 1;
}
.halftone-coral {
  background-image: var(--halftone-coral);
  background-size: 9px 9px;
  mix-blend-mode: multiply;
  opacity: 0.55;
}
.halftone-blue {
  background-image: var(--halftone-blue);
  background-size: 9px 9px;
  mix-blend-mode: multiply;
  opacity: 0.55;
}
.halftone-yellow {
  background-image: var(--halftone-yellow);
  background-size: 10px 10px;
  mix-blend-mode: multiply;
  opacity: 0.6;
}

/* ════════════════════════════════════════
   OVERPRINT BLOCKS — color layers w/ multiply
════════════════════════════════════════ */
.overprint-stage {
  position: relative;
  isolation: isolate; /* keep multiply within block */
}
.overprint-layer {
  position: absolute;
  inset: 0;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.ink-coral  { background: var(--coral); }
.ink-blue   { background: var(--blue); }
.ink-yellow { background: var(--yellow); }

/* Registration drift on hover — color layers shift a few px */
.drift:hover .drift-coral  { transform: translate(2px, -2px); }
.drift:hover .drift-blue   { transform: translate(-2px, 2px); }
.drift:hover .drift-yellow { transform: translate(1px, 1px); }
.drift-layer { transition: transform 0.18s cubic-bezier(0.22,1,0.36,1); }

/* ════════════════════════════════════════
   MASTHEAD
════════════════════════════════════════ */
.masthead {
  position: relative;
  background: var(--cream-light);
  border-bottom: 3px solid var(--ink);
  z-index: 10;
}
.masthead::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 3px;
  background: var(--ink);
  opacity: 0.6;
}
.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 16px;
  padding-bottom: 16px;
  position: relative;
}

.masthead-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  filter: drop-shadow(2px 2px 0 var(--coral));
}
.brand-name {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
}
.brand-sub {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 3px;
}

.masthead-nav {
  display: flex;
  gap: 6px;
  align-items: center;
}
.masthead-nav a {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 8px 13px;
  color: var(--ink);
  border: 1.6px solid var(--ink);
  background: var(--cream);
  transition: background 0.15s, color 0.15s;
}
.masthead-nav a:hover { background: var(--yellow); text-decoration: none; }
.masthead-nav a[aria-current="page"] {
  background: var(--ink);
  color: var(--cream);
}

/* ════════════════════════════════════════
   HERO — stamped headline on press sheet
════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 70px 0 60px;
  background: var(--cream-light);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}
.hero::before {
  /* big flour-yellow press flood */
  content: '';
  position: absolute;
  top: -40px; bottom: -40px;
  left: -10%; right: 55%;
  background: var(--yellow);
  mix-blend-mode: multiply;
  opacity: 0.85;
  transform: rotate(-3deg);
  z-index: 0;
}
.hero::after {
  /* coral overprint wedge */
  content: '';
  position: absolute;
  top: -30px; bottom: -30px;
  right: -8%; left: 62%;
  background: var(--coral);
  mix-blend-mode: multiply;
  opacity: 0.7;
  transform: rotate(2deg);
  z-index: 0;
}
.hero-inner { position: relative; z-index: 2; }
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--cream);
  padding: 6px 11px;
  border: 1.5px solid var(--blue);
  display: inline-block;
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(38px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink);
  text-shadow: 3px 3px 0 var(--coral);
}
.hero-title .accent {
  color: var(--blue);
  text-shadow: 3px 3px 0 var(--yellow-deep);
}
.hero-title-name { display: block; }
.hero-tagline {
  font-size: clamp(16px, 1.8vw, 20px);
  max-width: 620px;
  color: var(--ink-soft);
  margin: 0 0 22px;
  font-weight: 500;
}
.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--ink);
  text-transform: uppercase;
}
.hero-meta-row span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta-row .dot {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 1.5px 1.5px 0 var(--blue);
}

/* Decorative press roller SVG inside hero */
.hero-press-art {
  position: absolute;
  left: 4%;
  bottom: -30px;
  width: 220px;
  height: 220px;
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* ════════════════════════════════════════
   TICKER — printed news ticker strip
════════════════════════════════════════ */
.ticker {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 5;
}
.ticker-label {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--coral);
  color: var(--cream);
  padding: 10px 16px;
  font-weight: 500;
  border-left: 2px solid var(--ink);
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 38s linear infinite;
  will-change: transform;
}
.ticker-item {
  font-family: var(--mono);
  font-size: 12.5px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.ticker-item .t-time {
  color: var(--yellow);
  font-weight: 500;
}
.ticker-item::after {
  content: '◆';
  color: var(--coral);
  margin-right: 14px;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(33.33%); } /* rtl flow */
}

/* ════════════════════════════════════════
   FEATURED ARTICLES — print plates
════════════════════════════════════════ */
.featured-lead {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 36px;
}

.feature-main {
  position: relative;
  background: var(--cream-light);
  border: 2.5px solid var(--ink);
  padding: 28px;
  overflow: hidden;
}
.feature-main::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 140px; height: 140px;
  background-image: var(--halftone-blue);
  background-size: 8px 8px;
  mix-blend-mode: multiply;
  opacity: 0.55;
  pointer-events: none;
}
.feature-main .feat-cat {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--blue);
  padding: 4px 10px;
  display: inline-block;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}
.feature-main h3 {
  font-size: clamp(24px, 3.2vw, 34px);
  margin: 0 0 12px;
  position: relative;
  z-index: 2;
}
.feature-main p {
  font-size: 15.5px;
  color: var(--ink-soft);
  max-width: 60ch;
  position: relative;
  z-index: 2;
}
.feat-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-mute);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1.5px dashed var(--line-soft);
  position: relative;
  z-index: 2;
}

.feature-side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.feature-mini {
  position: relative;
  background: var(--cream-light);
  border: 2px solid var(--ink);
  padding: 18px 20px;
  overflow: hidden;
}
.feature-mini::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--halftone-coral);
  background-size: 10px 10px;
  mix-blend-mode: multiply;
  opacity: 0.32;
  pointer-events: none;
}
.feature-mini > * { position: relative; z-index: 2; }
.feature-mini .mini-cat {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--coral);
  padding: 3px 8px;
  display: inline-block;
  margin-bottom: 9px;
}
.feature-mini h4 {
  font-size: 18px;
  line-height: 1.2;
  margin: 0 0 6px;
}
.feature-mini p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* Halftone card grid */
.halftone-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.halftone-card {
  position: relative;
  background: var(--cream-light);
  border: 2.2px solid var(--ink);
  padding: 22px;
  overflow: hidden;
  transition: transform 0.18s;
  cursor: pointer;
}
.halftone-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--halftone-ink);
  background-size: 8px 8px;
  mix-blend-mode: multiply;
  opacity: 0.2;
  pointer-events: none;
}
.halftone-card > * { position: relative; z-index: 2; }
.halftone-card .card-num {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.halftone-card .card-cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--ink);
  padding: 3px 8px;
  display: inline-block;
  margin-bottom: 10px;
}
.halftone-card h3 {
  font-size: 20px;
  line-height: 1.18;
  margin: 0 0 8px;
}
.halftone-card .card-excerpt {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.halftone-card .card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  padding-top: 10px;
  border-top: 1.5px dashed var(--line-soft);
}

/* Drift-on-hover: per-ink accent strip shifts */
.card-ink-strip {
  position: absolute;
  top: 0; right: 0;
  width: 100%; height: 6px;
  display: flex;
  z-index: 3;
}
.card-ink-strip span { flex: 1; height: 100%; }
.card-ink-strip .s-coral  { background: var(--coral); }
.card-ink-strip .s-blue   { background: var(--blue); }
.card-ink-strip .s-yellow { background: var(--yellow); }
.halftone-card:hover .card-ink-strip .s-coral  { transform: translateY(-3px); }
.halftone-card:hover .card-ink-strip .s-blue   { transform: translateY(2px); }
.halftone-card:hover .card-ink-strip .s-yellow { transform: translateY(-1px); }
.card-ink-strip span { transition: transform 0.2s cubic-bezier(0.22,1,0.36,1); }

/* ════════════════════════════════════════
   CHAT COMPONENT — printed telegram
════════════════════════════════════════ */
.chat-section { padding: 64px 0; background: var(--cream-deep); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); position: relative; }
.chat-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--halftone-ink);
  background-size: 11px 11px;
  mix-blend-mode: multiply;
  opacity: 0.1;
  pointer-events: none;
}
.chat-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.chat-intro h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin: 10px 0 12px;
  text-shadow: 2px 2px 0 var(--coral);
}
.chat-intro p { font-size: 15.5px; color: var(--ink-soft); max-width: 50ch; }
.chat-points {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 8px;
}
.chat-points li {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  padding-right: 18px;
  position: relative;
}
.chat-points li::before {
  content: '✶';
  position: absolute;
  right: 0;
  color: var(--coral);
  font-weight: 700;
}

/* Telegram device — printed sheet */
.telegram-wrap { position: relative; max-width: 420px; margin: 0 auto; }
.telegram-wrap::before,
.telegram-wrap::after {
  content: '';
  position: absolute;
  background: var(--ink);
  z-index: 0;
}
.telegram-wrap::before { top: -8px; right: 12px; width: 80px; height: 3px; opacity: 0.4; }
.telegram-wrap::after  { bottom: -8px; left: 12px; width: 80px; height: 3px; opacity: 0.4; }

.telegram {
  position: relative;
  background: var(--cream-light);
  border: 2.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--blue);
  overflow: hidden;
  z-index: 1;
}

/* Telegram header — masthead bar */
.telegram-header {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid var(--ink);
}
.telegram-header::after {
  content: 'ריזו·טלגרף';
  position: absolute;
  top: 6px;
  left: 14px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  color: var(--yellow);
  opacity: 0.85;
}
.tgm-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 18px;
  flex-shrink: 0;
  border: 2px solid var(--cream);
}
.tgm-head-info { flex: 1; min-width: 0; }
.tgm-head-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.1;
  color: var(--cream);
}
.tgm-head-status {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--yellow);
  margin-top: 2px;
  letter-spacing: 0.04em;
}

/* Skin tints */
.telegram.skin-wa .telegram-header { background: var(--wa-dark); }
.telegram.skin-wa .tgm-avatar { background: var(--wa-green); }
.telegram.skin-wa .tgm-head-status { color: #c8e6c9; }
.telegram.skin-wa .tgm-send { background: var(--wa-green); }

.telegram.skin-tg .telegram-header { background: var(--tg-blue); }
.telegram.skin-tg .tgm-avatar { background: #fff; color: var(--tg-blue); }
.telegram.skin-tg .tgm-head-status { color: #e3f2fd; }
.telegram.skin-tg .tgm-send { background: var(--tg-blue); }

.telegram.skin-ms .telegram-header { background: linear-gradient(135deg, var(--ms-1), var(--ms-2)); }
.telegram.skin-ms .tgm-avatar { background: var(--ms-2); }
.telegram.skin-ms .tgm-head-status { color: #e3f2fd; }
.telegram.skin-ms .tgm-send { background: linear-gradient(135deg, var(--ms-1), var(--ms-2)); }

/* Telegram body — feed */
.telegram-messages {
  height: 360px;
  overflow-y: auto;
  padding: 14px 14px 6px;
  background: var(--cream);
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 27px,
      rgba(26,26,26,0.05) 27px,
      rgba(26,26,26,0.05) 28px
    );
  scroll-behavior: smooth;
}

.msg-date-sep {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: center;
  margin: 6px 0 12px;
  position: relative;
}
.msg-date-sep::before,
.msg-date-sep::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--line-soft);
  vertical-align: middle;
  margin: 0 8px;
}

/* Telegram bubble — stamped slip of paper */
.bubble {
  position: relative;
  max-width: 84%;
  margin: 0 0 12px;
  margin-right: 0;
  background: var(--cream-light);
  border: 1.8px solid var(--ink);
  padding: 9px 12px 10px;
  box-shadow: 2px 2px 0 var(--coral);
  font-size: 13.5px;
  line-height: 1.45;
  animation: bubble-stamp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.bubble:nth-child(3n) { box-shadow: 2px 2px 0 var(--blue); }
.bubble:nth-child(3n+1) { box-shadow: 2px 2px 0 var(--yellow-deep); }
.bubble:nth-child(3n+2) { box-shadow: 2px 2px 0 var(--coral); }

.bubble.urgent {
  background: var(--yellow);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--coral);
}
.bubble.urgent::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--halftone-ink);
  background-size: 6px 6px;
  mix-blend-mode: multiply;
  opacity: 0.15;
  pointer-events: none;
}
.bubble > * { position: relative; z-index: 2; }

.bubble-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bubble-top {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bubble-tag {
  background: var(--ink);
  color: var(--cream);
  padding: 2px 6px;
  font-weight: 500;
}
.urgent-badge {
  background: var(--coral);
  color: var(--cream);
  padding: 2px 6px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: 1px solid var(--ink);
}
.bubble-time {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-mute);
  align-self: flex-end;
}

/* Typing indicator — printed "dots" */
.typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 10px 12px;
  background: var(--cream-light);
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--blue);
  max-width: 60px;
  margin-bottom: 10px;
}
.typing-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.55;
  animation: typing-blink 1.4s infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; background: var(--coral); }
.typing-dot:nth-child(3) { animation-delay: 0.4s; background: var(--blue); }
@keyframes typing-blink {
  0%, 60%, 100% { opacity: 0.3; transform: scale(0.85); }
  30% { opacity: 1; transform: scale(1); }
}
@keyframes bubble-stamp {
  0%   { opacity: 0; transform: scale(1.15) rotate(-2deg); }
  60%  { opacity: 1; transform: scale(0.97) rotate(0.5deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

/* Telegram footer — input bar */
.telegram-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: var(--cream-light);
  border-top: 2px solid var(--ink);
}
.tgm-input-field {
  flex: 1;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-mute);
  background: var(--cream);
  border: 1.5px solid var(--ink);
  padding: 8px 12px;
}
.tgm-send {
  background: var(--coral);
  color: var(--cream);
  border: 1.5px solid var(--ink);
  width: 38px; height: 38px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.12s;
}
.tgm-send:hover { transform: translate(-1px,-1px); box-shadow: 2px 2px 0 var(--ink); }
.tgm-send:active { transform: translate(1px,1px); box-shadow: none; }

/* Skin switcher — print chips */
.skin-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
  flex-wrap: wrap;
}
.skin-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.skin-btn {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 14px;
  width: 36px; height: 36px;
  background: var(--cream-light);
  border: 2px solid var(--ink);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform 0.12s, background 0.12s, color 0.12s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.skin-btn:hover { transform: translate(-1px,-1px); }
.skin-btn.active {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 2px 2px 0 var(--coral);
}
.skin-btn.active[data-skin="wa"]  { background: var(--wa-green); color: #fff; box-shadow: 2px 2px 0 var(--ink); }
.skin-btn.active[data-skin="tg"]  { background: var(--tg-blue); color: #fff; box-shadow: 2px 2px 0 var(--ink); }
.skin-btn.active[data-skin="ms"]  { background: linear-gradient(135deg, var(--ms-1), var(--ms-2)); color: #fff; box-shadow: 2px 2px 0 var(--ink); }

/* ════════════════════════════════════════
   NEWS HIGHLIGHTS — proof sheet
════════════════════════════════════════ */
.news-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.news-mini {
  position: relative;
  background: var(--cream-light);
  border: 2px solid var(--ink);
  padding: 16px 18px;
  overflow: hidden;
}
.news-mini > * { position: relative; z-index: 2; }
.news-mini .mini-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 500;
}
.news-mini.urgency-breaking {
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--coral);
}
.news-mini.urgency-breaking .mini-tag { background: var(--coral); color: var(--cream); }
.news-mini.urgency-breaking::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--halftone-coral);
  background-size: 7px 7px;
  mix-blend-mode: multiply;
  opacity: 0.3;
  pointer-events: none;
}
.news-mini.urgency-high .mini-tag { background: var(--blue); color: var(--cream); }
.news-mini.urgency-normal .mini-tag { background: var(--ink); color: var(--cream); }
.news-mini h3 {
  font-size: 17px;
  line-height: 1.22;
  margin: 0 0 6px;
}
.news-mini .mini-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-mute);
}

/* ════════════════════════════════════════
   QUOTE STRIP — printed pull quote
════════════════════════════════════════ */
.quote-strip {
  position: relative;
  background: var(--blue);
  color: var(--cream);
  padding: 60px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}
.quote-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--halftone-yellow);
  background-size: 10px 10px;
  mix-blend-mode: multiply;
  opacity: 0.6;
  pointer-events: none;
}
.quote-strip > * { position: relative; z-index: 2; }
.quote-mark {
  font-family: var(--serif);
  font-size: 90px;
  line-height: 0.5;
  color: var(--yellow);
  font-weight: 900;
  margin-bottom: 10px;
}
.quote-text {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.3;
  margin: 0 0 18px;
  max-width: 30ch;
}
.quote-author {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--yellow);
  display: flex;
  align-items: center;
  gap: 10px;
}
.quote-author .role {
  background: var(--coral);
  color: var(--cream);
  padding: 3px 8px;
  text-transform: uppercase;
  font-size: 10px;
}

/* ════════════════════════════════════════
   CTA STRIP
════════════════════════════════════════ */
.cta-strip {
  padding: 56px 0;
  background: var(--cream-light);
  text-align: center;
  border-top: 2px solid var(--ink);
}
.cta-strip h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin: 0 0 10px;
  text-shadow: 2px 2px 0 var(--blue);
}
.cta-strip p {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 50ch;
  margin: 0 auto 20px;
}
.cta-btn {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 16px;
  padding: 12px 24px;
  background: var(--coral);
  color: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.12s, box-shadow 0.12s;
}
.cta-btn:hover {
  transform: translate(-2px,-2px);
  box-shadow: 6px 6px 0 var(--ink);
  text-decoration: none;
}
.cta-btn:active {
  transform: translate(2px,2px);
  box-shadow: 2px 2px 0 var(--ink);
}

/* ════════════════════════════════════════
   ARTICLE LISTING PAGE — press sheets
════════════════════════════════════════ */
.page-hero {
  position: relative;
  padding: 56px 0 44px;
  background: var(--cream-light);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -30px; bottom: -30px;
  right: -10%; left: 60%;
  background: var(--yellow);
  mix-blend-mode: multiply;
  opacity: 0.8;
  transform: rotate(-2deg);
  z-index: 0;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--halftone-blue);
  background-size: 12px 12px;
  mix-blend-mode: multiply;
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: clamp(34px, 6vw, 60px);
  margin: 12px 0;
  text-shadow: 3px 3px 0 var(--coral);
}
.page-hero p {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* Article press sheets */
.article-sheet {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.sheet-item {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  background: var(--cream-light);
  border: 2.5px solid var(--ink);
  padding: 22px;
  overflow: hidden;
}
.sheet-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--halftone-ink);
  background-size: 9px 9px;
  mix-blend-mode: multiply;
  opacity: 0.18;
  pointer-events: none;
}
.sheet-item > * { position: relative; z-index: 2; }
.sheet-num {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 42px;
  line-height: 1;
  color: var(--coral);
  text-align: center;
  border-left: 2px solid var(--ink);
  padding-left: 14px;
  align-self: start;
}
.sheet-cat {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
  font-weight: 500;
}
.sheet-title {
  font-size: clamp(20px, 2.6vw, 26px);
  margin: 0 0 8px;
  line-height: 1.18;
}
.sheet-excerpt {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0 0 12px;
  max-width: 70ch;
}
.sheet-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  padding-top: 10px;
  border-top: 1.5px dashed var(--line-soft);
}
.sheet-meta .sep { color: var(--coral); }

/* ════════════════════════════════════════
   NEWS LISTING PAGE — proof grid
════════════════════════════════════════ */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.news-card {
  position: relative;
  background: var(--cream-light);
  border: 2.2px solid var(--ink);
  padding: 20px 22px;
  overflow: hidden;
}
.news-card > * { position: relative; z-index: 2; }
.news-urgency {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  display: inline-block;
  margin-bottom: 10px;
  font-weight: 600;
  border: 1.5px solid var(--ink);
}
.news-headline {
  font-size: clamp(18px, 2.4vw, 23px);
  margin: 0 0 8px;
  line-height: 1.2;
}
.news-dek {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 12px;
  max-width: 65ch;
}
.news-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-mute);
  padding-top: 10px;
  border-top: 1.5px dashed var(--line-soft);
}

/* Urgency treatments */
.news-card.urgency-breaking {
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--coral);
}
.news-card.urgency-breaking .news-urgency {
  background: var(--coral);
  color: var(--cream);
}
.news-card.urgency-breaking::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--halftone-coral);
  background-size: 7px 7px;
  mix-blend-mode: multiply;
  opacity: 0.32;
  pointer-events: none;
}

.news-card.urgency-high {
  background: var(--cream-light);
  box-shadow: 4px 4px 0 var(--blue);
}
.news-card.urgency-high .news-urgency {
  background: var(--blue);
  color: var(--cream);
}

.news-card.urgency-normal {
  background: var(--cream-light);
  box-shadow: 3px 3px 0 var(--ink);
}
.news-card.urgency-normal .news-urgency {
  background: var(--ink);
  color: var(--cream);
}

.divider-rule {
  border: none;
  border-top: 2px solid var(--ink);
  margin: 36px 0 0;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  padding: 40px 0;
  border-top: 3px solid var(--ink);
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--halftone-yellow);
  background-size: 12px 12px;
  mix-blend-mode: overlay;
  opacity: 0.18;
  pointer-events: none;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 22px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.footer-brand {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 24px;
  color: var(--cream);
}
.footer-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--yellow);
  margin-top: 4px;
  text-transform: uppercase;
}
.footer-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(247,243,234,0.7);
  text-align: left;
}
.footer-meta code {
  background: rgba(247,243,234,0.1);
  padding: 1px 6px;
  color: var(--yellow);
}
.footer-meta a { color: var(--coral); }

/* ════════════════════════════════════════
   GSAP STAMP ANIMATION INITIAL STATES
   Only applied when body has .stamp-anim (added by JS when GSAP available)
   so without JS, content is visible by default.
════════════════════════════════════════ */
body.stamp-anim .stamp-target {
  opacity: 0;
}
body.stamp-anim .reg-mark {
  opacity: 0;
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (min-width: 640px) {
  .feature-side { grid-template-columns: 1fr 1fr; }
  .halftone-grid { grid-template-columns: 1fr 1fr; }
  .news-highlights { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .container { padding: 0 32px; }
  .section-pad { padding: 80px 0; }
  .chat-layout {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .featured-lead {
    grid-template-columns: 1.4fr 1fr;
    gap: 26px;
  }
  .feature-side { grid-template-columns: 1fr; }
  .halftone-grid { grid-template-columns: 1fr 1fr 1fr; }
  .hero { padding: 100px 0 80px; }
  .hero-press-art { width: 320px; height: 320px; }
}

@media (min-width: 1024px) {
  .news-grid { grid-template-columns: 1fr 1fr 1fr; }
  .news-highlights { grid-template-columns: 1fr 1fr 1fr; }
}

/* ════════════════════════════════════════
   REDUCED MOTION
════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .typing-dot { animation: none; opacity: 0.6; }
  .bubble { animation: none; opacity: 1; transform: none; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  /* Force-show content even if stamp-anim flag was added */
  body.stamp-anim .stamp-target { opacity: 1 !important; transform: none !important; }
  body.stamp-anim .reg-mark { opacity: 0.55 !important; }
}
