/* =====================================================
   SHIMI'S CYBER WORLD — FEED / EDITORIAL THEME
   Not a landing page. A living cyber stream.
   ===================================================== */

/* Fonts loaded via <link> in head.html for performance */

:root {
  --black: #08080c;
  --deep: #0d0d14;
  --surface: #121219;
  --card: #16161f;
  --card-hi: #1c1c28;
  --border: rgba(255,255,255,.06);
  --border-hi: rgba(255,255,255,.12);

  --white: #f0f0f5;
  --gray: #888898;
  --dim: #555566;
  --faint: rgba(255,255,255,.04);

  --electric: #3b82f6;
  --acid: #a855f7;
  --pink: #ec4899;
  --lime: #84cc16;
  --orange: #f97316;
  --red: #ef4444;
  --cyan: #06b6d4;

  --grad-1: linear-gradient(135deg, var(--electric), var(--acid));
  --grad-2: linear-gradient(135deg, var(--acid), var(--pink));
  --grad-3: linear-gradient(135deg, var(--pink), var(--orange));

  --f-display: 'Space Grotesk', 'Inter', sans-serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono: 'JetBrains Mono', 'SF Mono', monospace;

  --w-content: 720px;
  --w-wide: 1100px;
  --w-max: 1280px;
  --r: 10px;
  --r-sm: 5px;
  --r-lg: 16px;
}

/* =====================================================
   LIGHT THEME
   ===================================================== */
[data-theme="light"] {
  --black: #f5f5f7;
  --deep: #eaeaef;
  --surface: #e2e2ea;
  --card: #ffffff;
  --card-hi: #f0f0f5;
  --border: rgba(0,0,0,.08);
  --border-hi: rgba(0,0,0,.14);

  --white: #111118;
  --gray: #555566;
  --dim: #777788;
  --faint: rgba(0,0,0,.04);

  --electric: #2563eb;
  --acid: #7c3aed;
  --pink: #db2777;
  --lime: #65a30d;
  --orange: #ea580c;
  --red: #dc2626;
  --cyan: #0891b2;
}
[data-theme="light"] ::selection { background: rgba(37,99,235,.2); color: #111118; }
[data-theme="light"] .site-header { background: rgba(235,240,252,.92); }
[data-theme="light"] .hamburger,
[data-theme="light"] .hamburger::before,
[data-theme="light"] .hamburger::after { background: var(--gray); }
[data-theme="light"] .nav-menu {
  background: rgba(245,245,247,.97);
}
[data-theme="light"] .post-share__btn--twitter { background: #333; }
[data-theme="light"] .share-float__btn--twitter { background: #333; }
[data-theme="light"] .premium-tool-card__lock { background: rgba(245,245,247,.5); }
[data-theme="light"] .newsletter { background: var(--card); border-color: var(--border); }
[data-theme="light"] .newsletter__input { background: var(--deep); color: var(--white); border-color: var(--border); }
[data-theme="light"] .newsletter__input::placeholder { color: var(--dim); }
[data-theme="light"] .newsletter__privacy { color: var(--dim); }
[data-theme="light"] .newsletter__privacy a { color: var(--gray); }
[data-theme="light"] .newsletter__title { color: var(--white); }
[data-theme="light"] .newsletter__desc { color: var(--gray); }
[data-theme="light"] .newsletter__input-wrap { background: var(--deep); border-color: var(--border); }

/* Light theme — post pages */
[data-theme="light"] .post-summary { background: rgba(0,0,0,.03); }
[data-theme="light"] .post-why-it-matters { background: rgba(0,0,0,.02); border-color: rgba(0,0,0,.08); }
[data-theme="light"] .post-why-it-matters li { color: var(--white); }
[data-theme="light"] .post-mitre-attack { background: rgba(100,140,255,.04); border-color: rgba(100,140,255,.15); }
[data-theme="light"] .mitre-attack__item { background: rgba(100,140,255,.06); border-color: rgba(100,140,255,.12); }
[data-theme="light"] .mitre-attack__name { color: var(--white); }
[data-theme="light"] .mitre-attack__tactic { color: var(--dim); }
[data-theme="light"] .post-iocs__table thead th { color: var(--dim); border-bottom-color: var(--border); }
[data-theme="light"] .post-iocs__table tbody tr { border-bottom-color: var(--border); }
[data-theme="light"] .post-iocs__table td { color: var(--white); }
[data-theme="light"] .post-byline { border-top-color: var(--border); }
[data-theme="light"] .post-byline p { color: var(--gray); }
[data-theme="light"] .post-attribution { background: rgba(0,0,0,.02); border-color: var(--border); color: var(--gray); }
[data-theme="light"] .post-attribution__toggle { color: var(--gray); }
[data-theme="light"] .post-attribution__source { color: var(--white); }
[data-theme="light"] .post-attribution__table td { border-bottom-color: var(--border); color: var(--gray); }
[data-theme="light"] .post-attribution__table td:first-child { color: var(--dim); }
[data-theme="light"] .post-image__credit { color: var(--dim); }
[data-theme="light"] .post-image__credit a { color: var(--gray); }

/* Light theme — manifesto / about page */
[data-theme="light"] .manifesto-line:first-child { color: var(--dim); }
[data-theme="light"] .manifesto-item { background: rgba(0,0,0,.03); border-color: rgba(0,0,0,.08); }
[data-theme="light"] .manifesto-item:hover { border-color: rgba(0,0,0,.18); }

/* Light theme — feed cards & badges */
[data-theme="light"] .badge--soon { background: rgba(0,0,0,.05); }

/* THEME TOGGLE */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: .3rem .5rem;
  margin-left: .5rem;
  font-size: .85rem;
  line-height: 1;
  transition: border-color .15s, background .15s;
  display: inline-flex;
  align-items: center;
}
.theme-toggle:hover { border-color: var(--border-hi); background: var(--faint); }
.theme-toggle__icon--light { display: none; }
[data-theme="light"] .theme-toggle__icon--dark { display: none; }
[data-theme="light"] .theme-toggle__icon--light { display: inline; }

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
.sr-only { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

body {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--white);
  background: var(--black);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--electric); text-decoration: none; transition: color .15s; }
a:hover { color: var(--acid); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.3em; }
hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

::selection { background: rgba(168,85,247,.3); color: var(--white); }

/* CONTAINER */
.container { max-width: var(--w-max); margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); width: 100%; }
.container--narrow { max-width: var(--w-content); }
.container--wide { max-width: var(--w-wide); }

/* =====================================================
   SIGNAL BAR — thin energy strip
   ===================================================== */
.signal-bar {
  background: var(--deep);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.signal-bar__track {
  display: flex;
  gap: 2.5rem;
  padding: .5rem 0;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.signal-bar__item {
  font-family: var(--f-mono);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.signal-bar__item--link {
  text-decoration: none;
  color: var(--dim);
  transition: color .2s;
  cursor: pointer;
}
.signal-bar__item--link:hover { color: var(--white); }
.signal-bar__label {
  font-size: .55rem;
  font-weight: 700;
  padding: .1em .4em;
  border-radius: 2px;
  background: rgba(168,85,247,.2);
  color: var(--acid);
  letter-spacing: .08em;
}
.signal-bar__label--cve {
  background: rgba(239,68,68,.2);
  color: var(--red);
}
.signal-bar__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 6px var(--electric);
  animation: pulse-dot 2s ease-in-out infinite;
}
.signal-bar__dot--acid { background: var(--acid); box-shadow: 0 0 6px var(--acid); }
.signal-bar__dot--pink { background: var(--pink); box-shadow: 0 0 6px var(--pink); }
.signal-bar__dot--lime { background: var(--lime); box-shadow: 0 0 6px var(--lime); }
.signal-bar__dot--red { background: var(--red); box-shadow: 0 0 6px var(--red); }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

/* =====================================================
   HEADER — minimal glass nav
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(6,10,28,.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.site-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #7c3aed, #db2777, #2563eb);
  box-shadow: 0 0 12px rgba(37,99,235,.5), 0 0 24px rgba(124,58,237,.3);
  z-index: 201;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.logo-link:hover { color: var(--white); }
.nav-logo {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-hi);
  box-shadow: 0 0 8px rgba(37,99,235,.45), 0 0 20px rgba(124,58,237,.2);
}
.site-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: -.01em;
  color: var(--white);
}
.nav-menu {
  display: flex;
  align-items: center;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: .2rem;
  padding: 0;
}
.nav-links a {
  color: var(--gray);
  font-size: .78rem;
  font-weight: 500;
  padding: .35rem .65rem;
  border-radius: var(--r-sm);
  transition: all .15s;
}
.nav-links a:hover { color: var(--white); background: var(--faint); }
.nav-links a.active { color: var(--white); background: rgba(59,130,246,.12); }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 28px; height: 24px; position: relative;
}
.hamburger, .hamburger::before, .hamburger::after {
  display: block; width: 20px; height: 1.5px;
  background: var(--gray); border-radius: 2px;
  position: absolute; left: 4px; transition: transform .2s, opacity .15s;
}
.hamburger { top: 11px; }
.hamburger::before { content: ''; top: -6px; }
.hamburger::after { content: ''; top: 6px; }
.nav-toggle.open .hamburger { background: transparent; }
.nav-toggle.open .hamburger::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open .hamburger::after { transform: translateY(-6px) rotate(-45deg); }

.nav-subscribe {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-left: .75rem;
  padding: .32rem .85rem;
  font-size: .75rem;
  font-weight: 600;
  color: #0a0a0f;
  background: #f59e0b;
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: background .15s, transform .15s;
}
.nav-subscribe:hover {
  background: #fbbf24;
  color: #0a0a0f;
  transform: translateY(-1px);
}

/* =====================================================
   MAIN
   ===================================================== */
.site-main { flex: 1; }
.site-main > .container { padding-top: 0; padding-bottom: 4rem; }

/* =====================================================
   MICRO LABELS / TAGS
   ===================================================== */
.label {
  font-family: var(--f-mono);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray);
}
.label--electric { color: var(--electric); }
.label--acid { color: var(--acid); }
.label--pink { color: var(--pink); }
.label--lime { color: var(--lime); }
.label--red { color: rgba(255, 60, 60, .9); }

.badge {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .2em .6em;
  border-radius: var(--r-sm);
  white-space: nowrap;
}
.badge--signal { background: rgba(59,130,246,.15); color: var(--electric); }
.badge--drop { background: rgba(168,85,247,.15); color: var(--acid); }
.badge--live { background: rgba(239,68,68,.15); color: var(--red); }
.badge--new { background: rgba(132,204,22,.15); color: var(--lime); }
.badge--vault { background: rgba(6,182,212,.15); color: var(--cyan); }
.badge--beta { background: rgba(249,115,22,.15); color: var(--orange); }
.badge--soon { background: rgba(255,255,255,.06); color: var(--dim); }
.badge--partner { background: rgba(0,230,118,.15); color: #00e676; }
.label--amber { color: #f59e0b; }

.tag {
  display: inline-block;
  font-size: .65rem;
  font-weight: 500;
  padding: .15em .5em;
  border-radius: var(--r-sm);
  background: var(--faint);
  color: var(--gray);
  border: 1px solid var(--border);
}

/* =====================================================
   IDENTITY BLOCK — compact hero
   ===================================================== */
.identity {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
}
.identity__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.identity__logo {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid var(--border-hi);
  flex-shrink: 0;
}
.identity__text {}
.identity__title {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: .25rem;
}
.identity__tagline {
  font-size: .88rem;
  color: var(--gray);
  line-height: 1.5;
  max-width: 480px;
}
.identity__actions {
  display: flex;
  gap: .5rem;
  margin-top: .8rem;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--f-body);
  font-size: .78rem;
  font-weight: 600;
  padding: .5rem 1rem;
  border-radius: var(--r);
  transition: all .2s;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--electric);
  color: #fff;
}
.btn--primary:hover { background: #4f8ff7; color: #fff; transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  border: 1px solid var(--border-hi);
  color: var(--gray);
}
.btn--ghost:hover { color: var(--white); border-color: var(--white); background: var(--faint); }
.btn--sm { font-size: .72rem; padding: .35rem .7rem; }
.btn--disabled { opacity: .35; cursor: default; pointer-events: none; }

/* =====================================================
   FEED SECTION — the core
   ===================================================== */
.feed { padding: 2rem 0; }
.feed__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}
.feed__title {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.feed__link {
  font-size: .72rem;
  font-weight: 500;
  color: var(--dim);
}
.feed__link:hover { color: var(--electric); }

/* Feed layout — THN-inspired article list */
.feed__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Article card — horizontal thumbnail + text */
.feed-item {
  display: flex;
  gap: 1.2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background .15s;
}
.feed-item:first-child { padding-top: 0; }
.feed-item:hover { color: inherit; }
.feed-item:hover h3 { color: var(--electric); }

/* Thumbnail */
.feed-item__img {
  width: 140px;
  height: 95px;
  border-radius: var(--r);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface);
}
.feed-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feed-item__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.feed-item__img--placeholder span {
  font-family: var(--f-mono);
  font-size: .6rem;
  font-weight: 700;
  color: var(--dim);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Hero (first article) — larger */
.feed-item--hero .feed-item__img {
  width: 220px;
  height: 148px;
}
.feed-item--hero h3 {
  font-size: 1.2rem;
}
.feed-item--hero p {
  font-size: .88rem;
}

/* Body */
.feed-item__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.feed-item__body h3 {
  font-family: var(--f-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: .35rem;
  transition: color .15s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feed-item__body p {
  font-size: .8rem;
  color: var(--gray);
  line-height: 1.55;
  margin-bottom: .4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Meta line — date / channel / score / tags */
.feed-item__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .15rem;
  font-family: var(--f-mono);
  font-size: .65rem;
  color: var(--dim);
}
.feed-item__meta time { color: var(--gray); font-weight: 500; }
.feed-item__sep { color: var(--border-hi); margin: 0 .15rem; }
.feed-item__score { font-weight: 600; }
.feed-item__score--high { color: rgba(255, 60, 60, .9); }
.feed-item__score--medium { color: rgba(255, 180, 0, .9); }
.feed-item__score--low { color: var(--dim); }
.feed-item__ioc-badge { font-family: var(--f-mono); font-size: .65rem; font-weight: 600; color: rgba(255,100,100,.8); letter-spacing: .02em; }

/* RTL feed items */
[dir="rtl"].feed-item { flex-direction: row-reverse; }
[dir="rtl"] .feed-item__body { text-align: right; }
[dir="rtl"] .feed-item__meta { justify-content: flex-end; }

/* =====================================================
   QUICK SIGNALS — short notes strip
   ===================================================== */
.signals { padding: 2.5rem 0; }
.signals__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .75rem;
}
.signal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1rem 1.2rem;
  transition: border-color .2s, transform .2s;
  cursor: pointer;
}
.signal-card:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.signal-card__toggle {
  font-size: .6rem;
  color: var(--gray);
  transition: transform .25s;
}
.signal-card.open .signal-card__toggle { transform: rotate(180deg); }
.signal-card__detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, opacity .3s ease;
  opacity: 0;
}
.signal-card.open .signal-card__detail {
  max-height: 12rem;
  opacity: 1;
  margin-top: .5rem;
}
.signal-card__detail p {
  font-size: .76rem;
  color: var(--gray-light, #bbb);
  line-height: 1.55;
  margin-bottom: .5rem;
}
.signal-card__link {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  color: var(--acid);
  text-decoration: none;
  transition: opacity .2s;
}
.signal-card__link:hover { opacity: .8; text-decoration: underline; }
.signal-card.open { border-color: var(--border-hi); }
.signal-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .5rem;
}
.signal-card h4 {
  font-family: var(--f-display);
  font-size: .85rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: .3rem;
}
.signal-card p {
  font-size: .76rem;
  color: var(--gray);
  line-height: 1.5;
}
.signal-card__tags {
  display: flex; gap: .3rem; margin-top: .5rem; flex-wrap: wrap;
}

/* =====================================================
   VAULT — resource library
   ===================================================== */

.vault-disclaimer {
  margin-bottom: 1.5rem;
  padding: .8rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: .75rem;
  line-height: 1.6;
  color: var(--dim);
}
.vault-disclaimer p { margin: 0; }
.vault-disclaimer strong { color: var(--gray); }
.vault-disclaimer a { color: var(--electric); }

/* Controls: search + filter */
.vault-controls {
  margin-bottom: 2rem;
}
.vault-search {
  position: relative;
  margin-bottom: 1rem;
}
.vault-search__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dim);
  pointer-events: none;
}
.vault-search__input {
  width: 100%;
  padding: .8rem 1rem .8rem 2.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--white);
  font-family: var(--f-body);
  font-size: .88rem;
  outline: none;
  transition: border-color .2s;
}
.vault-search__input::placeholder { color: var(--dim); }
.vault-search__input:focus { border-color: var(--electric); }
.vault-search__count {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-mono);
  font-size: .7rem;
  color: var(--dim);
  background: var(--card);
  padding: .15rem .5rem;
  border-radius: var(--r-sm);
}

.vault-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.vault-filter {
  padding: .35rem .75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--gray);
  font-family: var(--f-body);
  font-size: .72rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.vault-filter:hover { border-color: var(--border-hi); color: var(--white); }
.vault-filter.active {
  background: var(--electric);
  border-color: var(--electric);
  color: var(--white);
}

/* Category accordion */
.vault-category {
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
}
.vault-category__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  cursor: pointer;
  user-select: none;
  transition: background .15s;
}
.vault-category__header:hover { background: var(--card); }
.vault-category__info {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.vault-category__icon { font-size: 1.1rem; }
.vault-category__title {
  font-family: var(--f-display);
  font-size: .92rem;
  font-weight: 600;
  color: var(--white);
}
.vault-category__count {
  font-family: var(--f-mono);
  font-size: .65rem;
  color: var(--dim);
  background: var(--card);
  padding: .1rem .45rem;
  border-radius: var(--r-sm);
}
.vault-category__chevron {
  color: var(--dim);
  transition: transform .2s;
  flex-shrink: 0;
}
.vault-category.collapsed .vault-category__body { display: none; }
.vault-category.collapsed .vault-category__chevron { transform: rotate(-90deg); }

.vault-category__body {
  border-top: 1px solid var(--border);
  padding: .8rem 1.2rem 1rem;
}

/* Subcategory */
.vault-subcategory { margin-bottom: 1rem; }
.vault-subcategory:last-child { margin-bottom: 0; }
.vault-subcategory__title {
  font-family: var(--f-display);
  font-size: .75rem;
  font-weight: 600;
  color: var(--acid);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .5rem;
  padding-bottom: .3rem;
  border-bottom: 1px solid rgba(168,85,247,.15);
}

/* Resource items */
.vault-subcategory__grid {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.vault-resource {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .4rem .7rem;
  border-radius: var(--r-sm);
  transition: background .1s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  gap: .6rem;
}
.vault-resource:hover { background: var(--card); color: inherit; }
.vault-resource:hover .vault-resource__open { opacity: 1; color: var(--electric); }
.vault-resource__thumb {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.vault-resource__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vault-resource__thumb .vault-resource__type-fallback {
  display: none;
  font-family: var(--f-mono);
  font-size: .5rem;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.vault-resource__thumb.no-thumb img { display: none; }
.vault-resource__thumb.no-thumb .vault-resource__type-fallback { display: block; }
.vault-resource__info {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  flex: 1;
}
.vault-resource__title {
  font-size: .8rem;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vault-resource__open {
  color: var(--dim);
  opacity: 0;
  flex-shrink: 0;
  transition: opacity .15s, color .15s;
  margin-left: .5rem;
}

/* Legacy vault-card (for homepage vault picks) */
.vault__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: .75rem;
}
.vault-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, transform .2s;
}
.vault-card:hover { color: inherit; border-color: var(--border-hi); transform: translateY(-2px); }
.vault-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .4rem;
}
.vault-card h4 {
  font-family: var(--f-display);
  font-size: .88rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
}
.vault-card p {
  font-size: .78rem;
  color: var(--gray);
  line-height: 1.5;
  flex: 1;
}
.vault-card__meta {
  font-size: .7rem;
  color: var(--dim);
  margin-top: .35rem;
  font-family: var(--f-mono);
  letter-spacing: .02em;
}

/* NEW badge for recently added vault resources */
.vault-resource__new {
  font-size: .6rem;
  font-weight: 700;
  font-family: var(--f-mono);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--bg);
  background: var(--acid);
  padding: .12em .45em;
  border-radius: 3px;
  margin-left: .5rem;
  flex-shrink: 0;
}

/* =====================================================
   TOOLKIT — field tools
   ===================================================== */
.toolkit { padding: 2.5rem 0; }
.toolkit__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: .75rem;
}
.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.2rem 1.4rem;
  transition: border-color .2s, transform .2s;
}
a.tool-card { text-decoration: none; color: inherit; display: block; }
.tool-card--sponsored { border-color: rgba(0, 230, 118, .25); }
.tool-card--sponsored:hover { border-color: rgba(0, 230, 118, .5); }
.tool-card:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.tool-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .35rem;
}
.tool-card h4 {
  font-family: var(--f-display);
  font-size: .88rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
}
.tool-card p {
  font-size: .76rem;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: .5rem;
}
.tool-card__tags {
  display: flex; gap: .3rem; flex-wrap: wrap; margin-bottom: .6rem;
}
.tool-card__action { margin-top: auto; }

/* =====================================================
   MANIFESTO
   ===================================================== */
.scw-manifesto {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.scw-manifesto-inner {
  max-width: 640px;
  margin: 0 auto;
}
.manifesto-line {
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--gray);
  margin-bottom: .6rem;
}
.manifesto-line:first-child {
  color: rgba(255,255,255,.45);
}
.manifesto-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin: 1.5rem 0;
}
.manifesto-item {
  padding: .5rem .9rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  font-family: var(--f-display);
  font-size: .82rem;
  font-weight: 500;
  color: var(--gray);
  transition: border-color .2s, color .2s;
}
.manifesto-item:hover {
  border-color: rgba(255,255,255,.15);
  color: var(--white);
}
.manifesto-final {
  margin-top: 1.5rem;
  font-family: var(--f-display);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 700;
  color: var(--white);
}
.manifesto-tag {
  margin-top: .6rem;
  font-family: var(--f-body);
  font-size: .82rem;
  color: var(--dim);
}
.manifesto-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: .78rem;
  font-weight: 600;
}
.founder-sig {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.founder-sig__logo {
  width: 22px; height: 22px;
  border-radius: 50%;
  opacity: .6;
}
.founder-sig__text {
  font-family: var(--f-mono);
  font-size: .6rem;
  letter-spacing: .04em;
  color: var(--dim);
}

/* Legacy manifesto classes (about page) */
.manifesto__sub {
  font-size: .85rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

/* =====================================================
   SECTION DIVIDERS
   ===================================================== */
.section-break {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* =====================================================
   FEATURED DROP — big post block
   ===================================================== */
.featured-drop {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.featured-drop__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 2.5rem;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color .3s, transform .2s;
  position: relative;
  overflow: hidden;
}
.featured-drop__card:hover { color: inherit; border-color: var(--electric); transform: translateY(-2px); }
.featured-drop__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--grad-1);
}
.featured-drop__badge { margin-bottom: .8rem; }
.featured-drop__title {
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: .5rem;
}
.featured-drop__excerpt {
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: .8rem;
}
.featured-drop__meta {
  font-family: var(--f-mono);
  font-size: .68rem;
  color: var(--dim);
}

/* =====================================================
   POST ARCHIVE — feed-item based
   ===================================================== */
.archive { padding: 2rem 0; }
.archive__list {
  display: flex;
  flex-direction: column;
}
/* Archive uses same .feed-item component from post-card.html */

/* Feed Search */
.feed-controls { margin-bottom: 1.5rem; }
.feed-search {
  position: relative;
}
.feed-search__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: .9rem;
  pointer-events: none;
  opacity: .5;
}
.feed-search__input {
  width: 100%;
  padding: .75rem 5.5rem .75rem 2.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--white);
  font-family: var(--f-body);
  font-size: .88rem;
  outline: none;
  transition: border-color .2s;
}
.feed-search__input::placeholder { color: var(--dim); }
.feed-search__input:focus { border-color: var(--electric); }
.feed-search__count {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-mono);
  font-size: .7rem;
  color: var(--dim);
  background: var(--card);
  padding: .15rem .5rem;
  border-radius: var(--r-sm);
}

/* Category Filters */
.feed-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .75rem;
}
.feed-filters--compact {
  margin-top: 0;
  margin-bottom: 1rem;
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  padding: .35rem .85rem;
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  background: transparent;
  color: var(--gray);
  font-family: var(--f-body);
  font-size: .75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.filter-pill:hover {
  border-color: var(--electric);
  color: var(--white);
  background: rgba(59, 130, 246, .08);
}
.filter-pill--active {
  background: var(--electric);
  border-color: var(--electric);
  color: #fff;
}
.filter-pill--active:hover {
  background: var(--electric);
  border-color: var(--electric);
}
.home-drop--hidden { display: none; }

@media (max-width: 600px) {
  .feed-filters {
    gap: .35rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: .25rem;
  }
  .feed-filters::-webkit-scrollbar { display: none; }
  .filter-pill { font-size: .7rem; padding: .3rem .7rem; }
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .35rem;
  padding: 2rem 0 1rem;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 .5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--gray);
  font-family: var(--f-mono);
  font-size: .8rem;
  cursor: pointer;
  transition: all .15s;
}
.page-btn:hover:not(.page-btn--disabled):not(.page-btn--active) {
  border-color: var(--border-hi);
  color: var(--white);
  background: var(--card);
}
.page-btn--active {
  background: var(--electric);
  border-color: var(--electric);
  color: var(--white);
  font-weight: 600;
}
.page-btn--disabled {
  opacity: .3;
  cursor: default;
}
.page-ellipsis {
  color: var(--dim);
  font-family: var(--f-mono);
  font-size: .8rem;
  padding: 0 .2rem;
}

@media (max-width: 480px) {
  .page-btn { min-width: 1.8rem; height: 1.8rem; font-size: .7rem; }
}

/* =====================================================
   PAGE LAYOUT
   ===================================================== */
.page-head {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.page-head__label { margin-bottom: .4rem; }
.page-head__title {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: .35rem;
}
.page-head__desc {
  font-size: .9rem;
  color: var(--gray);
  max-width: 500px;
}

.page-section {
  margin-bottom: 2.5rem;
}
.page-section__title {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

/* =====================================================
   ABOUT / MANIFESTO PAGE
   ===================================================== */
.about-identity {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-bottom: 2.5rem;
}
.about-identity__logo {
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 2px solid var(--border-hi);
  flex-shrink: 0;
}
.about-identity__text h2 {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .3rem;
}
.about-identity__text p {
  font-size: .88rem;
  color: var(--gray);
  line-height: 1.55;
}

/* LinkedIn / Connect buttons */
.connect-buttons {
  margin: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.connect-buttons--grid {
  margin: 1.5rem 0 2rem;
}
.btn--linkedin {
  background: #0a66c2;
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.1rem;
  border-radius: var(--r);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.btn--linkedin:hover { background: #004182; }
.btn--linkedin svg { flex-shrink: 0; }
.btn--linkedin-group { background: #0a66c2; }

.prose {
  max-width: var(--w-content);
}
.prose h2 {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin: 2rem 0 .6rem;
}
.prose h3 {
  font-family: var(--f-display);
  font-size: .95rem;
  font-weight: 600;
  color: var(--white);
  margin: 1.5rem 0 .4rem;
}
.prose p { margin-bottom: .8rem; color: var(--gray); }
.prose ul, .prose ol { margin-bottom: .8rem; color: var(--gray); }
.prose li { margin-bottom: .2rem; }
.prose strong { color: var(--white); font-weight: 600; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose code {
  background: var(--card);
  padding: .15em .4em;
  border-radius: 3px;
  font-family: var(--f-mono);
  font-size: .85em;
  color: var(--electric);
}
.prose pre {
  background: var(--card);
  padding: 1rem;
  border-radius: var(--r);
  border: 1px solid var(--border);
  overflow-x: auto;
  margin-bottom: 1rem;
}
.prose pre code { background: none; padding: 0; font-size: .82rem; color: var(--white); }
.prose blockquote {
  border-left: 2px solid var(--acid);
  padding: .5rem 1rem;
  margin: 1rem 0;
  color: var(--gray);
}
.prose img { border-radius: var(--r); margin: 1rem 0; }

/* =====================================================
   POST LAYOUT
   ===================================================== */
.post { max-width: var(--w-content); }
.post-header { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.post-title {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: .5rem;
}
.post-meta {
  font-family: var(--f-mono);
  font-size: .7rem;
  color: var(--dim);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem;
}
.meta-sep { opacity: .3; }
.post-body { font-size: .95rem; line-height: 1.8; }
.post-body h2 { font-family: var(--f-display); font-size: 1.25rem; color: var(--white); font-weight: 700; margin: 2rem 0 .6rem; }
.post-body h3 { font-family: var(--f-display); font-size: 1rem; color: var(--white); font-weight: 600; margin: 1.5rem 0 .5rem; }
.post-body p { margin-bottom: .9rem; color: var(--gray); }
.post-body ul, .post-body ol { margin-bottom: .9rem; color: var(--gray); }
.post-body li { margin-bottom: .2rem; }
.post-body strong { color: var(--white); }
.post-body a { color: var(--electric); text-decoration: underline; text-underline-offset: 2px; }
.post-body code {
  background: var(--card); padding: .12em .4em; border-radius: 3px;
  font-family: var(--f-mono); font-size: .85em; color: var(--electric);
}
.post-body pre {
  background: var(--card); padding: 1rem; border-radius: var(--r);
  border: 1px solid var(--border); overflow-x: auto; margin-bottom: 1rem;
}
.post-body pre code { background: none; padding: 0; color: var(--white); }
.post-body blockquote {
  border-left: 2px solid var(--acid); padding: .5rem 1rem; margin: 1rem 0; color: var(--gray);
}
.post-body img { border-radius: var(--r); margin: 1rem 0; }
/* Hide duplicate feed images in post body (already shown in post-image header) */
.post-body img[src*="/assets/images/feed/"] { display: none; }

/* Source info collapsible */
.post-source-info {
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--card);
  font-family: var(--f-mono);
  font-size: .75rem;
}
.post-source-info summary {
  padding: .6rem 1rem;
  cursor: pointer;
  color: var(--dim);
  user-select: none;
  list-style: none;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.post-source-info summary::before {
  content: '▸';
  transition: transform .2s;
}
.post-source-info[open] summary::before {
  transform: rotate(90deg);
}
.post-source-info summary::-webkit-details-marker { display: none; }
.post-source-info__body {
  padding: 0 1rem .8rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.post-source-info__row {
  display: flex;
  gap: .6rem;
  color: var(--gray);
}
.post-source-info__label {
  color: var(--dim);
  min-width: 80px;
}

/* Follow bar in posts */
.post-follow {
  margin: 2rem 0 1.2rem;
  padding: 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  text-align: center;
}
.post-follow p {
  font-size: .85rem;
  color: var(--gray);
  margin-bottom: .8rem;
}
.post-follow__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
}

/* ── Floating Share Sidebar (desktop) ── */
.share-float {
  position: fixed;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 100;
}
.share-float__label {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dim);
  margin-bottom: 0.2rem;
}
.share-float__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  transition: transform 0.2s, opacity 0.2s;
  text-decoration: none;
}
.share-float__btn:hover {
  transform: scale(1.15);
  opacity: 0.9;
}
.share-float__btn--linkedin { background: #0a66c2; }
.share-float__btn--twitter { background: #000; }
.share-float__btn--whatsapp { background: #25d366; }
.share-float__btn--facebook { background: #1877f2; }
.share-float__btn--reddit { background: #ff4500; }



@media (max-width: 1100px) {
  /* Convert floating sidebar to fixed bottom bar on mobile */
  .share-float {
    position: fixed;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
    flex-direction: row;
    justify-content: center;
    gap: 0;
    background: var(--deep);
    border-top: 1px solid var(--border);
    padding: 0.4rem 0;
    z-index: 200;
  }
  .share-float__label { display: none; }
  .share-float__btn {
    width: 36px;
    height: 36px;
    margin: 0 0.35rem;
  }
  .share-float__btn svg { width: 16px; height: 16px; }
  /* Add bottom padding to body so content isn't hidden behind bar */
  body { padding-bottom: 52px; }
}

/* Share inline buttons (kept for mobile) */
.post-share__label {
  font-family: var(--f-mono);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--dim);
  flex-shrink: 0;
}
.post-share__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.post-share__btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .7rem;
  border-radius: var(--r);
  font-size: .75rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: opacity .2s;
}
.post-share__btn:hover { opacity: .85; }
.post-share__btn svg { flex-shrink: 0; }
.post-share__btn--linkedin { background: #0a66c2; }
.post-share__btn--twitter { background: #000; }
.post-share__btn--whatsapp { background: #25d366; color: #fff; }
.post-share__btn--facebook { background: #1877f2; }
.post-share__btn--reddit { background: #ff4500; }

/* ── Curated Post Styles ─────────────────────────────── */
.badge--curated { background: #0a66c2; color: #fff; font-size: .7rem; padding: 2px 10px; border-radius: 12px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; display: inline-block; margin-bottom: .5rem; margin-right: .4rem; }
.badge--featured { background: var(--acid, #39ff14); color: #000; font-size: .7rem; padding: 2px 10px; border-radius: 12px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; display: inline-block; margin-bottom: .5rem; }
.badge--curated-sm { background: #0a66c2; color: #fff; font-size: .6rem; padding: 1px 6px; border-radius: 8px; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.badge--featured-sm { background: var(--acid, #39ff14); color: #000; font-size: .6rem; padding: 1px 6px; border-radius: 8px; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }

.post-summary { background: rgba(255,255,255,.04); border-left: 3px solid var(--electric, #00b4d8); padding: 1rem 1.25rem; border-radius: 6px; margin: 1.5rem 0; font-size: 1.05rem; line-height: 1.65; }
.post-summary p { margin: 0; }

.post-why-it-matters { margin: 1.5rem 0; padding: 1rem 1.25rem; background: rgba(255,255,255,.03); border-radius: 8px; border: 1px solid rgba(255,255,255,.08); }
.post-why-it-matters h2 { font-size: 1rem; margin: 0 0 .75rem 0; color: var(--acid, #39ff14); text-transform: uppercase; letter-spacing: .05em; }
.post-why-it-matters ul { margin: 0; padding-left: 1.2rem; }
.post-why-it-matters li { margin-bottom: .4rem; line-height: 1.5; color: rgba(255,255,255,.85); }

/* MITRE ATT&CK Section */
.post-mitre-attack { margin: 1.5rem 0; padding: 1rem 1.25rem; background: rgba(100,140,255,.04); border-radius: 8px; border: 1px solid rgba(100,140,255,.15); }
.post-mitre-attack h2 { font-size: 1rem; margin: 0 0 .75rem 0; color: rgba(100,160,255,.9); text-transform: uppercase; letter-spacing: .05em; }
.mitre-attack__techniques { display: flex; flex-direction: column; gap: .5rem; }
.mitre-attack__item { display: flex; align-items: center; gap: .75rem; padding: .5rem .75rem; background: rgba(100,140,255,.06); border: 1px solid rgba(100,140,255,.12); border-radius: 6px; text-decoration: none; color: inherit; transition: all .15s; }
.mitre-attack__item:hover { background: rgba(100,140,255,.12); border-color: rgba(100,160,255,.3); }
.mitre-attack__id { font-family: var(--f-mono); font-size: .8rem; font-weight: 700; color: rgba(100,160,255,.95); white-space: nowrap; min-width: 5.5rem; }
.mitre-attack__name { flex: 1; font-size: .85rem; color: rgba(255,255,255,.9); font-weight: 500; }
.mitre-attack__tactic { font-size: .72rem; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }

/* IOC Section */
.post-iocs { margin: 1.5rem 0; padding: 1rem 1.25rem; background: rgba(255,60,60,.03); border-radius: 8px; border: 1px solid rgba(255,60,60,.15); }
.post-iocs__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.post-iocs__header h2 { font-size: 1rem; margin: 0; color: rgba(255,100,100,.9); text-transform: uppercase; letter-spacing: .05em; }
.post-iocs__actions { display: flex; gap: .4rem; }
.ioc-download-btn { padding: .3rem .7rem; background: var(--surface); border: 1px solid rgba(255,60,60,.25); border-radius: var(--r-sm); color: rgba(255,100,100,.9); font-family: var(--f-mono); font-size: .7rem; font-weight: 600; cursor: pointer; transition: all .15s; text-transform: uppercase; letter-spacing: .04em; }
.ioc-download-btn:hover { background: rgba(255,60,60,.12); border-color: rgba(255,60,60,.4); color: #ff6464; }
.post-iocs__table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.post-iocs__table thead th { text-align: left; padding: .4rem .5rem; color: rgba(255,255,255,.4); font-weight: 600; font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid rgba(255,255,255,.08); }
.post-iocs__table tbody tr { border-bottom: 1px solid rgba(255,255,255,.04); }
.post-iocs__table tbody tr:last-child { border-bottom: none; }
.post-iocs__table td { padding: .4rem .5rem; color: rgba(255,255,255,.8); vertical-align: top; }
.ioc-id { font-family: var(--f-mono); font-size: .75rem; color: rgba(255,100,100,.9); font-weight: 600; white-space: nowrap; }
.ioc-type { display: inline-block; padding: .1rem .4rem; border-radius: 3px; font-family: var(--f-mono); font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; background: rgba(255,60,60,.12); color: rgba(255,100,100,.9); }
.ioc-type--rce, .ioc-type--code-injection, .ioc-type--command-injection { background: rgba(255,30,30,.15); color: rgba(255,80,80,.95); }
.ioc-type--xss, .ioc-type--csrf, .ioc-type--open-redirect { background: rgba(255,165,0,.12); color: rgba(255,180,60,.9); }
.ioc-type--sqli, .ioc-type--deserialization { background: rgba(138,43,226,.12); color: rgba(180,120,255,.9); }
.ioc-type--path-traversal, .ioc-type--ssrf { background: rgba(0,180,216,.12); color: rgba(100,200,255,.9); }
.ioc-type--auth-bypass, .ioc-type--idor, .ioc-type--privilege-escalation { background: rgba(255,180,0,.12); color: rgba(255,200,60,.9); }
.ioc-type--information-disclosure, .ioc-type--misconfiguration, .ioc-type--cryptographic-failure { background: rgba(100,200,255,.12); color: rgba(140,210,255,.85); }
.ioc-type--dos, .ioc-type--buffer-overflow, .ioc-type--use-after-free, .ioc-type--memory-corruption, .ioc-type--race-condition { background: rgba(255,60,60,.1); color: rgba(255,120,120,.85); }
.ioc-value { font-family: var(--f-mono); font-size: .78rem; word-break: break-all; }
.ioc-value a { color: rgba(100,200,255,.8); text-decoration: none; }
.ioc-value a:hover { text-decoration: underline; }

.post-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .5rem; }

.post-read-original { margin: 1.5rem 0; }
.post-read-original a { color: var(--electric, #00b4d8); font-size: .85rem; word-break: break-all; text-decoration: none; opacity: .8; }
.post-read-original a:hover { opacity: 1; text-decoration: underline; }

.post-byline { margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.08); }
.post-byline p { font-size: .85rem; color: rgba(255,255,255,.5); margin: 0; }
.post-byline strong { color: var(--electric, #00b4d8); }

.post-attribution { margin: 1.5rem 0; padding: 0; background: rgba(255,255,255,.03); border-radius: 6px; border: 1px solid rgba(255,255,255,.06); font-size: .85rem; color: rgba(255,255,255,.6); }
.post-attribution__toggle { padding: .75rem 1rem; cursor: pointer; font-weight: 600; color: rgba(255,255,255,.5); list-style: none; }
.post-attribution__toggle::-webkit-details-marker { display: none; }
.post-attribution__toggle::before { content: '▸ '; font-size: .75rem; }
.post-attribution[open] .post-attribution__toggle::before { content: '▾ '; }
.post-attribution__content { padding: 0 1rem .75rem; }
.post-attribution__source { margin: 0 0 .25rem 0; font-weight: 600; color: rgba(255,255,255,.7); }
.post-attribution__table { width: 100%; border-collapse: collapse; margin-bottom: .75rem; font-size: .8rem; }
.post-attribution__table td { padding: .3rem .5rem; border-bottom: 1px solid rgba(255,255,255,.06); color: rgba(255,255,255,.6); }
.post-attribution__table td:first-child { font-weight: 600; color: rgba(255,255,255,.45); white-space: nowrap; width: 110px; }
.post-attribution__table a { color: #00b4d8; word-break: break-all; }
.post-attribution__disclaimer { margin: .4rem 0 0; font-style: italic; font-size: .78rem; line-height: 1.5; }
.post-attribution__disclaimer a { color: #00b4d8; }

.feed-item__badges { display: flex; gap: .3rem; margin-bottom: .25rem; }
.feed-item__tags { display: flex; flex-wrap: wrap; gap: .2rem; margin-top: .35rem; }
.tag--xs { font-size: .6rem; padding: 1px 5px; }
.tag--source { background: rgba(0,180,216,.15); color: #00b4d8; border-color: rgba(0,180,216,.3); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.feed-item__original { font-size: .7rem; color: var(--electric, #00b4d8); font-weight: 400; margin-top: .3rem; display: inline-block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; opacity: .7; }

.post-image--cover { opacity: .7; }
.post-image--cover img { max-height: 180px; object-fit: cover; width: 100%; border-radius: 8px; }

.feed-item__img--cover img { object-fit: cover; opacity: .7; }

.post--rtl { direction: rtl; }
.post--rtl .post-header { text-align: right; }
.post--rtl .post-meta { justify-content: flex-end; direction: rtl; }
.post--rtl .post-body { text-align: right; direction: rtl; unicode-bidi: embed; }
.post--rtl .post-body blockquote { border-left: none; border-right: 2px solid var(--acid); padding: .5rem 1rem .5rem 0; }
.post--rtl .post-nav { text-align: left; direction: ltr; }
[dir="rtl"] { direction: rtl; text-align: right; unicode-bidi: embed; }
[dir="rtl"] h3 { text-align: right; }
[dir="rtl"] p { text-align: right; }

/* Link preview card */
.link-preview {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin: 1rem 0;
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s;
}
.link-preview:hover { border-color: var(--electric); color: inherit; }
.link-preview__img {
  width: 120px;
  min-height: 90px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--card);
}
.link-preview__body {
  padding: .75rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.link-preview__title {
  font-family: var(--f-display);
  font-size: .85rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: .25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.link-preview__domain {
  font-family: var(--f-mono);
  font-size: .65rem;
  color: var(--dim);
}
.post--rtl .link-preview { direction: ltr; }

/* ── Post Toolbar (Listen + Translate) ── */
.post-toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.post-toolbar__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--card);
  color: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.post-toolbar__btn:hover {
  background: var(--green);
  color: var(--black);
  border-color: var(--green);
}
.post-toolbar__btn--stop {
  background: rgba(231, 76, 60, 0.15);
  border-color: #e74c3c;
  color: #e74c3c;
}
.post-toolbar__btn--stop:hover {
  background: #e74c3c;
  color: #fff;
}
.post-toolbar__btn svg { flex-shrink: 0; }

.post-nav {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 1.5rem;
  margin-top: auto;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}
.footer__brand {
  max-width: 280px;
}
.footer__brand-name {
  font-family: var(--f-display);
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .3rem;
}
.footer__brand-desc {
  font-size: .75rem;
  color: var(--dim);
  line-height: 1.5;
}
.footer__links {
  display: flex;
  gap: 2rem;
}
.footer__col {}
.footer__col-title {
  font-family: var(--f-mono);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: .5rem;
}
.footer__col a {
  display: block;
  font-size: .78rem;
  color: var(--gray);
  padding: .15rem 0;
  transition: color .15s;
}
.footer__col a:hover { color: var(--white); }
.footer__subscribe {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.footer__subscribe-label {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 0.5rem;
  display: block;
}
.footer__subscribe-row {
  display: flex;
  gap: 0.4rem;
  max-width: 420px;
}
.footer__subscribe-row .newsletter__input {
  flex: 1;
  min-width: 0;
}
.footer__subscribe-row .newsletter__btn {
  flex-shrink: 0;
}
.footer__bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-family: var(--f-mono);
  font-size: .6rem;
  color: var(--dim);
}
.footer__disclaimer {
  margin-bottom: .6rem;
  font-size: .55rem;
  line-height: 1.5;
  color: var(--dim);
  opacity: .7;
}
.footer__disclaimer a {
  color: var(--gray);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__disclaimer a:hover { color: var(--white); }

/* =====================================================
   SCROLL REVEAL
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   EMPTY STATE
   ===================================================== */
.empty-state {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--dim);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
}

/* =====================================================
   PREMIUM
   ===================================================== */
.nav-badge {
  font-family: var(--f-mono);
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #000;
  padding: .12em .4em;
  border-radius: 3px;
  margin-left: .3rem;
  vertical-align: top;
  line-height: 1;
  display: inline-block;
  position: relative;
  top: -1px;
}

.premium-hero {
  text-align: center;
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}
.premium-hero__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  filter: grayscale(0);
}
.premium-hero__title {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: .4rem;
}
.premium-hero__title span {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.premium-hero__desc {
  font-size: .92rem;
  color: var(--gray);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.premium-features {
  padding: 2.5rem 0;
}
.premium-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: .75rem;
}
.premium-feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.4rem 1.6rem;
  position: relative;
  overflow: hidden;
}
.premium-feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #f59e0b, #f97316, #ef4444);
  opacity: .6;
}
.premium-feature__icon {
  font-size: 1.5rem;
  margin-bottom: .6rem;
  display: block;
}
.premium-feature h4 {
  font-family: var(--f-display);
  font-size: .9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .3rem;
}
.premium-feature p {
  font-size: .78rem;
  color: var(--gray);
  line-height: 1.5;
}

.premium-cta {
  text-align: center;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}
.premium-cta__box {
  background: var(--surface);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.premium-cta__box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #f97316);
}
.premium-cta__badge {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(245,158,11,.12);
  color: #f59e0b;
  padding: .3em .8em;
  border-radius: var(--r-sm);
  margin-bottom: 1rem;
}
.premium-cta__title {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .4rem;
}
.premium-cta__text {
  font-size: .85rem;
  color: var(--gray);
  line-height: 1.55;
  margin-bottom: 1.2rem;
}
.btn--premium {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #000;
  font-weight: 700;
}
.btn--premium:hover {
  color: #000;
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.btn--premium.btn--disabled {
  opacity: .5;
  filter: none;
  transform: none;
}

/* Premium — Pricing */
.premium-pricing { padding: 2rem 0; }
.premium-pricing__box {
  background: var(--surface);
  border: 1px solid rgba(245,158,11,.15);
  border-radius: var(--r-lg);
  padding: 2rem;
  text-align: center;
}
.premium-pricing__badge {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(245,158,11,.12);
  color: #f59e0b;
  padding: .25em .7em;
  border-radius: var(--r-sm);
  margin-bottom: 1.2rem;
}
.premium-pricing__plans {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.premium-plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem 2rem;
  min-width: 180px;
  position: relative;
}
.premium-plan--highlight {
  border-color: #f59e0b;
  box-shadow: 0 0 20px rgba(245,158,11,.08);
}
.premium-plan__popular {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #000;
  padding: .25em .8em;
  border-radius: var(--r-sm);
  white-space: nowrap;
}
.premium-plan__name {
  font-family: var(--f-display);
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: .4rem;
}
.premium-plan__price { margin-bottom: .3rem; }
.premium-plan__amount {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}
.premium-plan__period {
  font-size: .8rem;
  color: var(--gray);
}
.premium-plan__detail {
  font-size: .72rem;
  color: var(--dim);
  line-height: 1.4;
}
.premium-plan__annual {
  margin-top: .6rem;
  font-size: .72rem;
  color: var(--gray);
}
.premium-plan__annual strong {
  color: var(--white);
  font-weight: 600;
}
.premium-plan__save {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(132,204,22,.12);
  color: var(--lime);
  padding: .15em .5em;
  border-radius: var(--r-sm);
  margin-left: .3rem;
  vertical-align: middle;
}
.premium-pricing__note {
  font-size: .78rem;
  color: var(--dim);
  margin-top: .8rem;
}

/* Premium — Locked Tool Cards */
.premium-tools { padding: 2rem 0; }
.premium-tools__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: .75rem;
}
.premium-tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  position: relative;
  overflow: hidden;
}
.premium-tool-card--locked .premium-tool-card__content {
  filter: blur(1.5px);
  opacity: .5;
  pointer-events: none;
  user-select: none;
}
.premium-tool-card__lock {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  background: rgba(8,8,12,.4);
}
.premium-tool-card__lock span {
  font-size: 1.8rem;
  filter: drop-shadow(0 2px 8px rgba(245,158,11,.3));
}
.premium-tool-card__content {
  padding: 1.4rem 1.6rem;
}
.premium-tool-card__icon {
  font-size: 1.3rem;
  margin-bottom: .5rem;
  display: block;
}
.premium-tool-card h4 {
  font-family: var(--f-display);
  font-size: .88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .3rem;
}
.premium-tool-card p {
  font-size: .76rem;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: .6rem;
}
.premium-tool-card__tag {
  font-family: var(--f-mono);
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #f59e0b;
  background: rgba(245,158,11,.08);
  padding: .2em .6em;
  border-radius: var(--r-sm);
}
.premium-tool-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #f59e0b, #f97316, #ef4444);
  opacity: .4;
  z-index: 3;
}

/* Premium — Includes Grid */
.premium-includes { padding: 2rem 0; }
.premium-includes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .75rem;
}
.premium-include {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.2rem 1.4rem;
}
.premium-include__icon {
  font-size: 1.2rem;
  margin-bottom: .4rem;
  display: block;
}
.premium-include h4 {
  font-family: var(--f-display);
  font-size: .82rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .2rem;
}
.premium-include p {
  font-size: .72rem;
  color: var(--gray);
  line-height: 1.4;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .premium-pricing__plans { flex-direction: column; align-items: center; }
  .premium-plan { min-width: 240px; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 54px; left: 0; right: 0;
    background: rgba(8,8,12,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: .4rem 0;
  }
  .nav-menu.open { display: block; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links li a { display: block; padding: .6rem 1.2rem; border-radius: 0; }
  .nav-subscribe { margin: .4rem 1.2rem .4rem; display: inline-flex; }
  .theme-toggle { margin: .2rem 1.2rem .4rem; }

  .identity__inner { flex-direction: column; text-align: center; }
  .identity__logo { width: 52px; height: 52px; }
  .identity__tagline { margin: 0 auto; }
  .identity__actions { justify-content: center; }

  .feed__grid { grid-template-columns: 1fr; }
  .feed__hero { min-height: 220px; grid-row: auto; }

  .signals__grid { grid-template-columns: 1fr; }
  .vault__grid { grid-template-columns: 1fr; }
  .toolkit__grid { grid-template-columns: 1fr; }

  .vault-filters { gap: .3rem; }
  .vault-filter { font-size: .65rem; padding: .3rem .6rem; }
  .vault-category__header { padding: .8rem 1rem; }
  .vault-category__title { font-size: .82rem; }
  .vault-category__body { padding: .6rem .8rem .8rem; }
  .vault-resource__title { font-size: .75rem; }
  .vault-resource__thumb { width: 28px; height: 28px; border-radius: 3px; }
  .vault-resource { padding: .35rem .5rem; gap: .45rem; }
  .vault-resource__open { display: none; }

  .feed-item { gap: .8rem; }
  .feed-item__img { width: 90px; height: 65px; }
  .feed-item--hero .feed-item__img { width: 120px; height: 85px; }
  .feed-item__body h3 { font-size: .85rem; }
  .feed-item--hero h3 { font-size: 1rem; }

  .footer__inner { flex-direction: column; }
  .footer__links { flex-direction: column; gap: 1rem; }

  .about-identity { flex-direction: column; text-align: center; padding: 1.5rem; }
  .about-identity__logo { width: 72px; height: 72px; }

  .featured-drop__card { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .page-head__title { font-size: 1.4rem; }
  .featured-drop__title { font-size: 1.2rem; }
  .vault-resource__thumb { width: 24px; height: 24px; }
  .vault-resource__title { white-space: normal; line-height: 1.3; }
  .vault-resource__info { gap: .35rem; }
}

/* ── Post images ─────────────────────────── */
.post-image { margin: 1.5rem 0; border-radius: 8px; overflow: hidden; }
.post-image img { width: 100%; height: auto; display: block; }
.post-image__credit { margin: .35rem 0 0; font-size: .72rem; color: rgba(255,255,255,.35); text-align: right; }
.post-image__credit a { color: rgba(255,255,255,.45); text-decoration: none; }
.post-image__credit a:hover { color: #00b4d8; }

/* ── Score badges ────────────────────────── */
.tag--high { background: rgba(255, 60, 60, 0.15); color: #ff3c3c; border: 1px solid rgba(255, 60, 60, 0.3); }
.tag--medium { background: rgba(255, 180, 0, 0.15); color: #ffb400; border: 1px solid rgba(255, 180, 0, 0.3); }

/* ── Newsletter ──────────────────────────── */
.newsletter {
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.08) 0%, rgba(0, 180, 216, 0.02) 100%);
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 560px;
  margin: 3rem auto;
}
.newsletter--inline { margin: 2rem 0; }
.newsletter--post { margin: 2.5rem 0; }
.newsletter__icon { color: #00b4d8; margin-bottom: 0.75rem; }
.newsletter__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #f0f0f0;
  margin: 0 0 0.5rem;
}
.newsletter__desc {
  color: #a0a0a0;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 1.25rem;
}
.newsletter__form { margin: 0; }
.newsletter__input-wrap {
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.3);
  transition: border-color 0.2s;
}
.newsletter__input-wrap:focus-within {
  border-color: #00b4d8;
  box-shadow: 0 0 0 2px rgba(0, 180, 216, 0.15);
}
.newsletter__input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.75rem 1rem;
  color: #f0f0f0;
  font-size: 0.95rem;
  outline: none;
  min-width: 0;
}
.newsletter__input::placeholder { color: #666; }
.newsletter__btn {
  background: #00b4d8;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.newsletter__btn:hover { background: #0096b7; }
.newsletter__btn:disabled { opacity: 0.6; cursor: not-allowed; }
.newsletter__status {
  font-size: 0.85rem;
  margin-top: 0.75rem;
  min-height: 1.2em;
}
.newsletter__status--success { color: #22c55e; }
.newsletter__status--error { color: #ff4444; }
.newsletter__privacy {
  font-size: 0.75rem;
  color: #666;
  margin: 0.75rem 0 0;
}
.newsletter__privacy a { color: #888; text-decoration: underline; }
@media (max-width: 600px) {
  .newsletter { padding: 1.5rem 1.25rem; }
  .newsletter__input-wrap { flex-direction: column; }
  .newsletter__btn { padding: 0.75rem; }
}
