/* ══════════════════════════════════════════════════════════
   EXMACHINA NEWS — CSS Principal
   Estética: dark-tech, fondo #060d18, acentos cyan/gold/green
   Tipografía: Roboto (display) + Space Mono (labels/mono)
══════════════════════════════════════════════════════════ */

/* ── VARIABLES ─────────────────────────────────────── */
:root {
  --bg:           #060d18;
  --bg-2:         #0d1c30;
  --bg-3:         #1a2d44;
  --border:       #1a3048;
  --border-soft:  rgba(26,48,72,0.6);

  --text:         #e2eef8;
  --text-soft:    #9dbbd0;
  --text-muted:   #5a7890;

  --cyan:         #00c8dc;
  --gold:         #c89a40;
  --green:        #00c882;
  --red:          #dc3a3a;
  --white:        #ffffff;

  --section-color: var(--cyan);
  --section-muted: rgba(0,200,220,0.08);

  --font-display: 'Roboto', 'DejaVu Sans', sans-serif;
  --font-mono:    'Space Mono', 'Liberation Mono', monospace;

  --radius:    2px;
  --container: 1280px;
  --pad:       clamp(20px, 4vw, 48px);

  --header-h:  64px;
  --transition: 0.22s ease;
}

/* ── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Grid de fondo global */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,220,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,220,0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

a { color: var(--section-color); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── LAYOUT ─────────────────────────────────────────── */
.site-wrapper { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }

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

.container--narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ══════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6,13,24,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 var(--pad);
  max-width: var(--container);
  margin: 0 auto;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  text-decoration: none;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}

.logo-mark {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.logo-sep {
  color: var(--cyan);
  font-size: 18px;
  font-weight: 700;
  animation: blink 1.2s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.logo-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-soft);
}

.logo-badge {
  margin-left: 10px;
  padding: 2px 8px;
  background: var(--cyan);
  color: var(--bg);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  align-self: center;
}

/* Nav */
.site-nav { display: flex; align-items: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-decoration: none;
  border: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.nav-link:hover {
  color: var(--white);
  border-color: var(--border);
  background: var(--bg-2);
  text-decoration: none;
}

.nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dot-color, var(--cyan));
  flex-shrink: 0;
  animation: pulse-nav 2s ease-in-out infinite;
}

@keyframes pulse-nav {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.nav-link--ghost {
  font-size: 10px;
  color: var(--text-muted);
  margin-left: 8px;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.toggle-line {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text-soft);
  transition: var(--transition);
}

/* Bot status bar */
.bot-status-bar {
  border-top: 1px solid var(--border);
  background: rgba(13,28,48,0.8);
  padding: 6px var(--pad);
}

.bot-status-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.bsb-item { display: flex; align-items: center; gap: 6px; }

.bsb-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dot);
  animation: pulse-nav 1.5s ease-in-out infinite;
}

.bsb-label { color: var(--text-soft); }
.bsb-count { color: var(--text-muted); }
.bsb-sep   { color: var(--border); }
.bsb-sep--right { margin-left: auto; color: var(--cyan); opacity: 0.6; }

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: clamp(60px, 10vw, 120px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}

.hero-grid-deco {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 70% 50%, rgba(0,200,220,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container { position: relative; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse-nav 1.5s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 100;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--cyan);
}

.hero-title--muted {
  color: var(--text-muted);
  font-weight: 100;
}

.hero-lead {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-soft);
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: 32px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-pill {
  padding: 6px 14px;
  border: 1px solid color-mix(in srgb, var(--p) 30%, transparent);
  background: color-mix(in srgb, var(--p) 6%, transparent);
  color: var(--p);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.hero-line {
  margin-top: clamp(40px, 6vw, 80px);
  height: 1px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--border) 40%, transparent 100%);
}

/* ══════════════════════════════════════════════════════
   SECCIONES DE NOTICIAS
══════════════════════════════════════════════════════ */
.news-section {
  padding: clamp(40px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--border);
}

/* Cabecera de sección */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}

.section-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-rule {
  width: 28px;
  height: 1px;
  background: var(--section-color);
  flex-shrink: 0;
}

.section-rule-inline {
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--section-color, var(--cyan));
  margin-right: 10px;
  vertical-align: middle;
}

.section-label-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-icon {
  font-size: 16px;
  color: var(--section-color);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--section-color);
}

.section-orch {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.section-counter {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.section-all-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity var(--transition);
}

.section-all-link:hover { opacity: 0.7; text-decoration: none; }

/* ── Cards Grid ─────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cards-grid--archive {
  grid-template-columns: repeat(3, 1fr);
}

/* ── Card ───────────────────────────────────────────── */
.news-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--card-accent, var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.news-card:hover {
  border-color: color-mix(in srgb, var(--card-accent) 40%, var(--border));
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.news-card:hover::before { transform: scaleX(1); }

/* Thumbnail */
.card-thumb-link { display: block; text-decoration: none; }

.card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-3);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .card-img { transform: scale(1.04); }

.card-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(6,13,24,0.7) 100%);
}

.card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--section-muted, var(--bg-3));
}

.placeholder-icon {
  font-size: 32px;
  opacity: 0.3;
  color: var(--card-accent);
}

/* Card body */
.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.card-meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 2px 8px;
  border: 1px solid currentColor;
  background: color-mix(in srgb, currentColor 8%, transparent);
}

.card-hot {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--bg);
  background: var(--red);
  padding: 2px 6px;
}

.card-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  flex: 1;
}

.card-title-link {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}

.card-title-link:hover {
  color: var(--white);
  text-decoration: none;
}

.card-excerpt {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta-bottom {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

.card-source-sep { color: var(--border); }

.card-source {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.card-source:hover { color: var(--card-accent); text-decoration: none; }

.card-orch {
  margin-left: auto;
  color: var(--card-accent);
  opacity: 0.5;
  font-size: 9px;
  letter-spacing: 0.08em;
}

/* ── Empty state ────────────────────────────────────── */
.section-empty {
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed var(--border);
}

.empty-icon {
  font-size: 40px;
  color: var(--section-color);
  opacity: 0.2;
  margin-bottom: 16px;
}

.empty-msg {
  font-size: 16px;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.empty-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════
   ABOUT STRIP
══════════════════════════════════════════════════════ */
.about-strip {
  padding: clamp(60px, 8vw, 100px) 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.about-text .section-label-group { margin-bottom: 16px; }

.about-title {
  font-family: var(--font-display);
  font-weight: 100;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 16px;
}

.about-title em { font-style: italic; color: var(--cyan); }

.about-body {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 12px;
  max-width: 520px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  flex-shrink: 0;
}

.about-stat {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 20px 24px;
  text-align: center;
}

.astat-n {
  display: block;
  font-family: var(--font-display);
  font-weight: 100;
  font-size: 32px;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 6px;
}

.astat-l {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════
   ARCHIVE PAGE
══════════════════════════════════════════════════════ */
.archive-wrap {
  padding: clamp(40px, 6vw, 72px) 0;
}

.archive-header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.archive-header .section-rule { margin-bottom: 14px; }

.archive-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.archive-icon { font-size: 20px; color: var(--section-color); }
.archive-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--section-color);
}
.archive-orch {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.archive-title {
  font-weight: 100;
  font-size: clamp(28px, 5vw, 52px);
  letter-spacing: -0.5px;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 12px;
}

.archive-desc {
  font-size: 15px;
  color: var(--text-soft);
}

/* Paginación */
.archive-pagination { margin-top: 48px; }
.archive-pagination ul {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.archive-pagination ul li a,
.archive-pagination ul li span {
  display: block;
  padding: 8px 14px;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-soft);
  text-decoration: none;
  transition: var(--transition);
}
.archive-pagination ul li a:hover { border-color: var(--section-color); color: var(--section-color); }
.archive-pagination ul li .current { background: var(--section-color); color: var(--bg); border-color: var(--section-color); }

/* ══════════════════════════════════════════════════════
   SINGLE POST
══════════════════════════════════════════════════════ */
.single-post { padding: 40px 0 80px; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.bc-link { color: var(--text-muted); text-decoration: none; }
.bc-link:hover { color: var(--text-soft); }
.bc-sep { color: var(--border); }
.bc-current { color: var(--text-soft); }

/* Post header */
.post-header { margin-bottom: 28px; }
.post-badges { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }

.post-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid currentColor;
  background: color-mix(in srgb, currentColor 8%, transparent);
}

.post-title {
  font-weight: 300;
  font-size: clamp(24px, 4vw, 38px);
  letter-spacing: -0.3px;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 16px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.pm-label { color: var(--text-muted); }
.pm-sep   { color: var(--border); }
.pm-source { color: var(--section-color); text-decoration: none; }
.pm-source:hover { text-decoration: underline; }

/* Featured image */
.post-featured-img { margin-bottom: 32px; }
.feat-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.feat-img-caption {
  padding: 8px 0;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
}

/* Post content */
.post-content {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 32px;
}

.post-content p { margin-bottom: 1.2em; }
.post-content h2, .post-content h3 {
  color: var(--white);
  font-weight: 600;
  margin: 1.8em 0 0.6em;
}
.post-content a { color: var(--section-color); }
.post-content strong { color: var(--white); font-weight: 600; }
.post-content em { color: var(--text-soft); }

/* Tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 40px;
}

.post-tag {
  padding: 4px 12px;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}
.post-tag:hover {
  border-color: var(--section-color);
  color: var(--section-color);
  text-decoration: none;
}

/* Bot ficha */
.bot-ficha {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--section-color);
  padding: 20px 24px;
  margin-bottom: 40px;
}

.bf-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.bf-icon { color: var(--section-color); }
.bf-title { color: var(--text-soft); }
.bf-orch { color: var(--section-color); }

.bf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.bf-item { display: flex; flex-direction: column; gap: 3px; }

.bf-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.bf-value {
  font-size: 13px;
  color: var(--text-soft);
}

.bf-value--link { color: var(--section-color); text-decoration: none; }
.bf-value--link:hover { text-decoration: underline; }

.bf-score {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--score-color);
}

.bf-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
  line-height: 1.6;
}

.bf-disclaimer a { color: var(--section-color); }

/* Post navigation */
.post-navigation { margin-top: 48px; }

.pn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 16px;
}

.pn-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: var(--transition);
}
.pn-item:hover { border-color: var(--section-color); text-decoration: none; }
.pn-item--next { text-align: right; }

.pn-dir {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.pn-title {
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
}

.pn-archive {
  display: block;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-decoration: none;
}
.pn-archive:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: clamp(40px, 6vw, 64px) 0 0;
  margin-top: auto;
}

.footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  display: block;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-logo span { color: var(--cyan); }

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col { display: flex; flex-direction: column; gap: 8px; }

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.footer-link {
  font-size: 13px;
  color: var(--text-soft);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.footer-link:hover { color: var(--white); text-decoration: none; }

.footer-tech {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ft-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c, var(--cyan));
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}

.footer-copy a { color: var(--cyan); text-decoration: none; }
.footer-copy a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid--archive { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --header-h: 56px; }

  .nav-list { display: none; }
  .nav-list.nav-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 24px var(--pad);
    gap: 2px;
    z-index: 200;
  }
  .nav-list.nav-open .nav-link { font-size: 14px; padding: 12px; }
  .nav-toggle { display: flex; }

  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid--archive { grid-template-columns: 1fr; }

  .section-header { flex-direction: column; align-items: flex-start; }
  .pn-grid { grid-template-columns: 1fr; }
  .bot-status-bar { display: none; }
  .footer-links { grid-template-columns: 1fr; }
  .bf-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-pills { flex-direction: column; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
