/* ════════════════════════════════════════════════════════════════
   15-TACTILE — פיזיקה מוחשית
   Concrete-grey palette, warm-orange accents, hard-edged shadows.
   Signature: Matter.js physics deck + draggable phone mockup.
   ════════════════════════════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
  --concrete:       #8a8a8a;
  --concrete-mid:   #74716c;
  --concrete-dark:  #5a5752;
  --concrete-darker:#3a3835;
  --orange:         #e8754a;
  --orange-bright:  #f2875c;
  --orange-dark:    #c95c34;
  --off-white:      #f0ede8;
  --off-white-2:    #e6e1d8;
  --paper:          #f7f4ef;
  --charcoal:       #2a2a2a;
  --ink:            #1a1a1a;
  --white:          #ffffff;

  /* Chat skin brand colors (functional, scoped to phone) */
  --wa-green:   #25D366;
  --wa-green-d: #128C7E;
  --wa-bg:      #e5ddd5;
  --tg-blue:    #2AABEE;
  --tg-blue-d:  #229ED9;
  --tg-bg:      #e7f0f5;
  --ms-blue:    #0099FF;
  --ms-purple:  #A033FF;
  --ms-bg:      #f0f2f5;

  /* Hard tactile shadow (no blur) */
  --shadow-hard:    6px 6px 0 var(--charcoal);
  --shadow-hard-sm: 3px 3px 0 var(--charcoal);
  --shadow-hard-lg: 10px 10px 0 var(--ink);
  --shadow-orange:  5px 5px 0 var(--orange);

  --radius: 2px;
  --radius-lg: 4px;

  --font-body: 'Heebo', system-ui, sans-serif;
  --font-head: 'Heebo', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --font-serif: 'Instrument Serif', Georgia, serif;

  --container: 1180px;
}

/* ─── Reset (scoped — avoid touching switcher widget) ─── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--charcoal);
  background-color: var(--off-white);
  background-image:
    /* subtle concrete grain */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--off-white) 0%, var(--off-white-2) 100%);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--orange-dark); text-decoration: none; transition: color .15s; }
a:hover { color: var(--orange); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 .4em;
  letter-spacing: -0.02em;
  color: var(--ink);
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.mono { font-family: var(--font-mono); }
.serif { font-family: var(--font-serif); font-style: italic; }

/* ─── Utility ─── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-dark);
  background: var(--charcoal);
  padding: 5px 10px 4px;
  border-radius: var(--radius);
  margin-bottom: 14px;
}

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

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--charcoal);
}
.section-head h2 {
  font-size: clamp(26px, 4vw, 40px);
  margin: 0;
}
.section-link {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
  background: var(--orange);
  padding: 8px 14px;
  box-shadow: var(--shadow-hard-sm);
  transition: transform .12s, box-shadow .12s;
}
.section-link:hover {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-hard-sm);
  box-shadow: 1px 1px 0 var(--charcoal);
  color: var(--ink);
}

/* ════════════════════════════════════════
   MASTHEAD
════════════════════════════════════════ */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--charcoal);
  color: var(--off-white);
  border-bottom: 3px solid var(--orange);
  box-shadow: 0 4px 0 var(--concrete-darker);
}
.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
.masthead-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: var(--orange);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-hard-sm);
}
.brand-mark span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  color: var(--charcoal);
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--off-white);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--concrete);
  margin-top: 3px;
}
.masthead-nav {
  display: flex;
  gap: 6px;
  align-items: center;
}
.masthead-nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--off-white);
  padding: 8px 12px;
  border: 1.5px solid transparent;
  transition: all .15s;
}
.masthead-nav a:hover,
.masthead-nav a[aria-current="page"] {
  color: var(--orange);
  border-color: var(--orange);
}

/* ════════════════════════════════════════
   HERO — concrete slab
════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 80px 0 70px;
  background: var(--concrete);
  color: var(--off-white);
  overflow: hidden;
  border-bottom: 3px solid var(--charcoal);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--off-white);
  background: var(--orange);
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-hard-sm);
}
.hero-title {
  font-size: clamp(38px, 7vw, 76px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--off-white);
  margin-bottom: 22px;
  max-width: 14ch;
}
.hero-title .accent {
  color: var(--orange);
  position: relative;
  white-space: nowrap;
}
.hero-title .accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 5px;
  background: var(--orange);
}
.hero-tagline {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  max-width: 52ch;
  color: var(--off-white);
  opacity: 0.92;
  margin-bottom: 28px;
}
.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.hero-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--off-white);
}
.hero-meta-row .dot {
  width: 9px; height: 9px;
  background: var(--orange);
  display: inline-block;
}
/* Decorative rebar lines */
.hero-rebar {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.hero-rebar.r1 {
  top: 0; bottom: 0;
  left: 8%;
  width: 2px;
  background: rgba(255,255,255,0.06);
}
.hero-rebar.r2 {
  top: 0; bottom: 0;
  left: 92%;
  width: 2px;
  background: rgba(255,255,255,0.06);
}

/* Hero slab art */
.hero-slab {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.hero-slab.s1 {
  bottom: -40px;
  left: -30px;
  width: 220px; height: 220px;
  background: var(--concrete-dark);
  transform: rotate(-12deg);
  opacity: 0.5;
  box-shadow: 12px 12px 0 rgba(0,0,0,0.18);
}
.hero-slab.s2 {
  top: 30px;
  left: 60%;
  width: 120px; height: 120px;
  background: var(--orange);
  transform: rotate(8deg);
  opacity: 0.22;
}

/* ════════════════════════════════════════
   TICKER
════════════════════════════════════════ */
.ticker {
  background: var(--ink);
  color: var(--off-white);
  border-bottom: 3px solid var(--orange);
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.ticker-label {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--ink);
  padding: 10px 14px;
}
.ticker-track {
  display: inline-flex;
  animation: ticker-scroll 60s linear infinite;
  padding: 10px 0;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 0 26px;
  border-left: 1px solid var(--concrete-darker);
}
.ticker-item .t-time {
  color: var(--orange);
  font-weight: 600;
  margin-left: 8px;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(33.333%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ════════════════════════════════════════
   PHYSICS DECK (signature Matter.js arena)
════════════════════════════════════════ */
.deck-wrap {
  position: relative;
}
.deck {
  position: relative;
  width: 100%;
  background: var(--off-white-2);
  border: 3px solid var(--charcoal);
  box-shadow: var(--shadow-hard-lg);
  overflow: hidden;
  /* height set inline / by JS for physics */
}
.deck::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0, transparent 22px, rgba(42,42,42,0.025) 22px, rgba(42,42,42,0.025) 23px);
  pointer-events: none;
  z-index: 0;
}
.deck-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.deck-toolbar {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 20;
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.deck-toolbar .tag {
  background: var(--charcoal);
  color: var(--off-white);
  padding: 5px 9px;
}
.deck-toolbar .tag.orange { background: var(--orange); color: var(--ink); }
.deck-reset {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--ink);
  border: 2px solid var(--charcoal);
  padding: 5px 11px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: var(--shadow-hard-sm);
  transition: transform .1s;
}
.deck-reset:hover { transform: translate(1px,1px); }
.deck-reset:active { transform: translate(3px,3px); box-shadow: 1px 1px 0 var(--charcoal); }

/* Physics cards (absolute-positioned when physics active) */
.deck-card {
  position: relative;
  background: var(--paper);
  border: 2.5px solid var(--charcoal);
  box-shadow: var(--shadow-hard);
  padding: 22px 22px 18px;
  width: 280px;
  cursor: grab;
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.deck-card:active { cursor: grabbing; }
.deck-card .card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--concrete-dark);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.deck-card .card-cat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  background: var(--charcoal);
  color: var(--off-white);
  padding: 3px 8px;
  margin-bottom: 10px;
}
.deck-card .card-cat.urgent { background: var(--orange); color: var(--ink); }
.deck-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.2;
}
.deck-card p {
  font-size: 14px;
  color: var(--concrete-dark);
  margin: 0 0 14px;
  line-height: 1.5;
}
.deck-card .card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--concrete-dark);
  border-top: 1.5px solid var(--off-white-2);
  padding-top: 10px;
}

/* Fallback grid (no physics / reduced motion) */
.deck:not(.physics-active) {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  min-height: auto;
}
.deck:not(.physics-active) .deck-card {
  position: relative;
  width: auto;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  cursor: default;
}
.deck:not(.physics-active) .deck-canvas,
.deck:not(.physics-active) .deck-toolbar { display: none; }
.deck.physics-active .deck-card {
  position: absolute;
  margin: 0;
}

/* Drop animation (GSAP) for article/news pages */
.drop-card {
  opacity: 0;
}

/* ════════════════════════════════════════
   FEATURED STATIC (home — non-physics extras)
════════════════════════════════════════ */
.featured-lead {
  display: grid;
  gap: 22px;
  margin-bottom: 28px;
}
@media (min-width: 860px) {
  .featured-lead {
    grid-template-columns: 2fr 1fr;
  }
}
.feature-main {
  background: var(--paper);
  border: 3px solid var(--charcoal);
  box-shadow: var(--shadow-hard);
  padding: 30px;
  position: relative;
}
.feature-main::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60px; height: 6px;
  background: var(--orange);
}
.feature-main .feat-cat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  background: var(--orange);
  color: var(--ink);
  padding: 4px 9px;
  margin-bottom: 14px;
  font-weight: 600;
}
.feature-main h3 {
  font-size: clamp(24px, 3.5vw, 34px);
  margin-bottom: 12px;
}
.feature-main p {
  font-size: 16px;
  color: var(--concrete-dark);
}
.feature-main .feat-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--concrete-dark);
  margin-top: 18px;
  padding-top: 14px;
  border-top: 2px solid var(--off-white-2);
}
.feature-side {
  display: grid;
  gap: 16px;
}
.feature-mini {
  background: var(--paper);
  border: 2.5px solid var(--charcoal);
  box-shadow: var(--shadow-hard-sm);
  padding: 18px;
}
.feature-mini .mini-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--orange-dark);
  font-weight: 600;
}
.feature-mini h4 {
  font-size: 16px;
  font-weight: 800;
  margin: 6px 0;
}
.feature-mini p {
  font-size: 13px;
  color: var(--concrete-dark);
  margin: 0;
}

/* ════════════════════════════════════════
   CHAT SECTION (home)
════════════════════════════════════════ */
.chat-section {
  background: var(--concrete-darker);
  color: var(--off-white);
  border-top: 3px solid var(--charcoal);
  border-bottom: 3px solid var(--charcoal);
  position: relative;
  overflow: hidden;
}
.chat-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.chat-layout {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .chat-layout { grid-template-columns: 1fr 360px; }
}
.chat-intro h2 {
  color: var(--off-white);
  font-size: clamp(26px, 4vw, 40px);
}
.chat-intro .eyebrow { background: var(--orange); color: var(--ink); }
.chat-intro p {
  color: var(--off-white);
  opacity: 0.85;
  font-size: 16px;
  max-width: 50ch;
}
.chat-points {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}
.chat-points li {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--off-white);
  opacity: 0.9;
  padding-right: 22px;
  position: relative;
}
.chat-points li::before {
  content: '▸';
  position: absolute;
  right: 0;
  color: var(--orange);
  font-weight: 700;
}

/* Phone mockup wrap — draggable nudge zone */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 10px 0;
}
.phone {
  position: relative;
  width: 320px;
  max-width: 100%;
  background: var(--ink);
  border: 3px solid var(--charcoal);
  border-radius: 34px;
  padding: 10px;
  box-shadow: var(--shadow-hard-lg);
  will-change: transform;
  cursor: grab;
  transition: box-shadow .2s;
}
.phone.nudging { cursor: grabbing; }
.phone-screen {
  background: var(--white);
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 520px;
  touch-action: none;
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 18px;
  background: var(--charcoal);
  border-radius: 0 0 12px 12px;
  z-index: 5;
}
.phone-handle {
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 6px;
  background: var(--orange);
  border-radius: 3px 3px 0 0;
  cursor: grab;
  z-index: 6;
}
.phone-hint {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--concrete);
  white-space: nowrap;
}

/* Chat inner — skin system */
.chat-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 12px;
  background: var(--charcoal);
  color: var(--off-white);
  border-bottom: 2px solid var(--concrete-darker);
}
.chat-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
}
.chat-head-info { flex: 1; min-width: 0; }
.chat-head-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
}
.chat-head-status {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--concrete);
  margin-top: 2px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--off-white);
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 5px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--concrete); }

.msg-date-sep {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--concrete-dark);
  background: var(--concrete);
  color: var(--off-white);
  padding: 3px 10px;
  border-radius: 10px;
  align-self: center;
  margin: 4px 0 6px;
}
.bubble {
  max-width: 82%;
  padding: 8px 11px 6px;
  border-radius: 10px 10px 10px 2px;
  font-size: 13.5px;
  line-height: 1.45;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--off-white-2);
  box-shadow: 2px 2px 0 rgba(0,0,0,0.06);
  animation: bubble-in .28s ease-out;
}
@keyframes bubble-in {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.bubble-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}
.bubble-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: var(--concrete);
  color: var(--off-white);
  padding: 2px 5px;
  border-radius: 2px;
}
.urgent-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--orange);
  color: var(--ink);
  padding: 2px 5px;
  border-radius: 2px;
  animation: urgent-pulse 1.4s ease-in-out infinite;
}
@keyframes urgent-pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.55; }
}
.bubble.urgent {
  border-color: var(--orange);
  border-width: 1.5px;
}
.bubble-time {
  display: block;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--concrete-dark);
  margin-top: 4px;
}

.typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 12px;
  background: var(--white);
  border-radius: 10px 10px 10px 2px;
  border: 1px solid var(--off-white-2);
  align-self: flex-start;
}
.typing-dot {
  width: 7px; height: 7px;
  background: var(--concrete);
  border-radius: 50%;
  animation: typing-bounce 1.2s infinite ease-in-out;
}
.typing-dot:nth-child(2) { animation-delay: 0.18s; }
.typing-dot:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--off-white-2);
  border-top: 2px solid var(--concrete-darker);
}
.chat-input-field {
  flex: 1;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--concrete-dark);
  padding: 8px 12px;
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--off-white-2);
}
.chat-send {
  width: 34px; height: 34px;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 14px;
  color: var(--white);
  flex-shrink: 0;
  transition: transform .12s;
}
.chat-send:active { transform: scale(0.92); }

/* Skin switcher */
.skin-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.skin-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--concrete);
}
.skin-btn {
  width: 40px; height: 40px;
  border: 2.5px solid var(--off-white);
  background: transparent;
  color: var(--off-white);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  transition: all .15s;
  box-shadow: var(--shadow-hard-sm);
}
.skin-btn:hover { transform: translate(1px,1px); }
.skin-btn.active {
  background: var(--orange);
  color: var(--ink);
  border-color: var(--orange);
}

/* ── Skin: WhatsApp ── */
.chat-inner.skin-wa .chat-header { background: var(--wa-green-d); }
.chat-inner.skin-wa .chat-avatar { background: var(--wa-green); color: var(--white); }
.chat-inner.skin-wa .chat-messages { background: var(--wa-bg); }
.chat-inner.skin-wa .bubble { background: var(--white); }
.chat-inner.skin-wa .bubble-tag { background: var(--wa-green-d); }
.chat-inner.skin-wa .chat-send { background: var(--wa-green); }
.chat-inner.skin-wa .skin-btn.active { background: var(--wa-green); border-color: var(--wa-green); color: var(--white); }

/* ── Skin: Telegram ── */
.chat-inner.skin-tg .chat-header { background: var(--tg-blue-d); }
.chat-inner.skin-tg .chat-avatar { background: var(--tg-blue); color: var(--white); }
.chat-inner.skin-tg .chat-messages { background: var(--tg-bg); }
.chat-inner.skin-tg .bubble { background: var(--white); }
.chat-inner.skin-tg .bubble-tag { background: var(--tg-blue-d); }
.chat-inner.skin-tg .chat-send { background: var(--tg-blue); }
.chat-inner.skin-tg .skin-btn.active { background: var(--tg-blue); border-color: var(--tg-blue); color: var(--white); }

/* ── Skin: Messenger ── */
.chat-inner.skin-ms .chat-header {
  background: linear-gradient(135deg, var(--ms-blue), var(--ms-purple));
}
.chat-inner.skin-ms .chat-avatar {
  background: linear-gradient(135deg, var(--ms-blue), var(--ms-purple));
  color: var(--white);
}
.chat-inner.skin-ms .chat-messages { background: var(--ms-bg); }
.chat-inner.skin-ms .bubble { background: var(--white); }
.chat-inner.skin-ms .bubble-tag { background: var(--ms-purple); }
.chat-inner.skin-ms .chat-send {
  background: linear-gradient(135deg, var(--ms-blue), var(--ms-purple));
}
.chat-inner.skin-ms .skin-btn.active {
  background: var(--ms-blue);
  border-color: var(--ms-blue);
  color: var(--white);
}

/* ════════════════════════════════════════
   NEWS HIGHLIGHTS (home)
════════════════════════════════════════ */
.news-highlights {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.news-mini {
  background: var(--paper);
  border: 2.5px solid var(--charcoal);
  box-shadow: var(--shadow-hard-sm);
  padding: 18px;
  position: relative;
}
.news-mini.urgency-breaking {
  border-color: var(--orange);
  border-width: 3px;
  box-shadow: 5px 5px 0 var(--orange);
}
.news-mini.urgency-high {
  border-left: 6px solid var(--orange);
}
.news-mini .mini-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  display: inline-block;
  padding: 3px 7px;
  margin-bottom: 8px;
}
.news-mini.urgency-breaking .mini-tag {
  background: var(--orange); color: var(--ink);
}
.news-mini.urgency-high .mini-tag {
  background: var(--charcoal); color: var(--orange);
}
.news-mini.urgency-normal .mini-tag {
  background: var(--concrete); color: var(--off-white);
}
.news-mini h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.25;
}
.news-mini .mini-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--concrete-dark);
}

/* ════════════════════════════════════════
   QUOTE STRIP
════════════════════════════════════════ */
.quote-strip {
  background: var(--charcoal);
  color: var(--off-white);
  padding: 64px 0;
  text-align: center;
  position: relative;
  border-top: 3px solid var(--orange);
}
.quote-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.quote-strip .container { position: relative; z-index: 2; }
.quote-mark {
  font-family: var(--font-serif);
  font-size: 80px;
  line-height: 0.5;
  color: var(--orange);
  margin-bottom: 10px;
}
.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3.5vw, 34px);
  line-height: 1.35;
  max-width: 30ch;
  margin: 0 auto 18px;
  color: var(--off-white);
}
.quote-author {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--concrete);
}
.quote-author .role {
  display: block;
  color: var(--orange);
  font-size: 11px;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ════════════════════════════════════════
   CTA
════════════════════════════════════════ */
.cta-strip {
  background: var(--orange);
  padding: 56px 0;
  text-align: center;
  border-bottom: 3px solid var(--charcoal);
}
.cta-strip h2 {
  font-size: clamp(26px, 4vw, 40px);
  color: var(--ink);
  margin-bottom: 12px;
}
.cta-strip p {
  color: var(--charcoal);
  font-size: 16px;
  max-width: 46ch;
  margin: 0 auto 24px;
}
.cta-btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  background: var(--ink);
  color: var(--off-white);
  padding: 14px 30px;
  box-shadow: var(--shadow-hard);
  transition: transform .12s, box-shadow .12s;
}
.cta-btn:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--charcoal);
  color: var(--orange);
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
  background: var(--ink);
  color: var(--concrete);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  color: var(--off-white);
}
.footer-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--concrete);
  margin-top: 4px;
}
.footer-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: left;
  line-height: 1.9;
}
.footer-meta a { color: var(--orange); }
.footer-meta code {
  background: var(--concrete-darker);
  color: var(--orange);
  padding: 1px 5px;
}

/* ════════════════════════════════════════
   ARTICLE LISTING (article.html)
════════════════════════════════════════ */
.listing-hero {
  background: var(--concrete);
  color: var(--off-white);
  padding: 56px 0 48px;
  border-bottom: 3px solid var(--charcoal);
  position: relative;
  overflow: hidden;
}
.listing-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
}
.listing-hero .container { position: relative; z-index: 2; }
.listing-hero h1 {
  color: var(--off-white);
  font-size: clamp(32px, 5vw, 54px);
  margin-bottom: 12px;
}
.listing-hero p {
  color: var(--off-white);
  opacity: 0.85;
  font-size: 17px;
  max-width: 52ch;
}
.listing-hero .eyebrow { background: var(--orange); color: var(--ink); }

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.article-card {
  background: var(--paper);
  border: 3px solid var(--charcoal);
  box-shadow: var(--shadow-hard);
  padding: 24px;
  position: relative;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  transition: box-shadow .15s;
}
.article-card:active { cursor: grabbing; }
.article-card:hover {
  box-shadow: var(--shadow-orange);
}
.article-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50px; height: 5px;
  background: var(--orange);
}
.article-card .ac-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--concrete-dark);
  margin-bottom: 8px;
}
.article-card .ac-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: var(--charcoal);
  color: var(--off-white);
  padding: 3px 8px;
  margin-bottom: 12px;
}
.article-card .ac-cat .ac-cat-en {
  opacity: 0.6;
  font-size: 9px;
}
.article-card h2 {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}
.article-card .ac-excerpt {
  font-size: 14px;
  color: var(--concrete-dark);
  line-height: 1.5;
  margin-bottom: 16px;
}
.article-card .ac-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--concrete-dark);
  padding-top: 12px;
  border-top: 2px solid var(--off-white-2);
}
.article-card .ac-meta .sep { color: var(--orange); }

/* ════════════════════════════════════════
   NEWS LISTING (news.html)
════════════════════════════════════════ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}
.news-card {
  background: var(--paper);
  border: 2.5px solid var(--charcoal);
  box-shadow: var(--shadow-hard-sm);
  padding: 22px;
  position: relative;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.news-card:active { cursor: grabbing; }
.news-card.urgency-breaking {
  border-color: var(--orange);
  border-width: 3px;
  box-shadow: var(--shadow-orange);
  background: linear-gradient(180deg, var(--paper) 0%, #fbe8df 100%);
}
.news-card.urgency-high {
  border-right: 6px solid var(--orange);
}
.news-urgency {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
  margin-bottom: 12px;
}
.news-card.urgency-breaking .news-urgency {
  background: var(--orange); color: var(--ink);
  animation: urgent-pulse 1.6s ease-in-out infinite;
}
.news-card.urgency-high .news-urgency {
  background: var(--charcoal); color: var(--orange);
}
.news-card.urgency-normal .news-urgency {
  background: var(--concrete); color: var(--off-white);
}
.news-headline {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
}
.news-dek {
  font-size: 14px;
  color: var(--concrete-dark);
  line-height: 1.5;
  margin-bottom: 14px;
}
.news-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--concrete-dark);
  padding-top: 12px;
  border-top: 2px solid var(--off-white-2);
}

/* Category chips (article page) */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.chip {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: var(--paper);
  border: 2px solid var(--charcoal);
  color: var(--charcoal);
  padding: 6px 12px;
  cursor: default;
  box-shadow: var(--shadow-hard-sm);
}
.chip.accent { background: var(--orange); color: var(--ink); }

/* ════════════════════════════════════════
   MAGNETIC CURSOR DOT
════════════════════════════════════════ */
.cursor-field {
  position: fixed;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  background: rgba(232,117,74,0.12);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, opacity .2s;
  opacity: 0;
  mix-blend-mode: multiply;
}
.cursor-field.active { opacity: 1; }
@media (pointer: coarse) { .cursor-field { display: none; } }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 760px) {
  .masthead-nav a { padding: 8px 8px; font-size: 11px; }
  .section-pad { padding: 44px 0; }
  .hero { padding: 56px 0 50px; }
  .deck-card { width: 250px; }
  .phone { width: 280px; }
  .phone-screen { height: 460px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .masthead-brand .brand-sub { display: none; }
  .deck-card { width: 220px; padding: 18px; }
  .deck-card h3 { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
