/*
  HOME PAGE
*/

/* ── HERO ── */
.home-hero {
  padding: clamp(var(--s16), 12vw, var(--s24)) 0 clamp(var(--s12), 8vw, var(--s20));
  position: relative;
  overflow: hidden;
}

/* Subtle scanline / grid texture */
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(57,211,83,0.015) 2px,
    rgba(57,211,83,0.015) 3px
  );
  pointer-events: none;
  z-index: 0;
}

.home-hero .wrap { position: relative; z-index: 1; }

.home-hero__prompt {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--accent);
  margin-bottom: var(--s4);
  letter-spacing: 0.05em;
}

.home-hero__cursor {
  display: inline-block;
  animation: blink 1s step-end infinite;
}

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

.home-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--s5);
}

.home-hero__sub {
  font-family: var(--font-mono);
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-bottom: var(--s8);
  letter-spacing: 0.01em;
}

.home-hero__cta-row {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
}

/* ── SECTION HEADER ── */
.home-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--s6);
}

.home-section-head__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--accent);
  letter-spacing: 0.06em;
}

.home-section-head__all {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--ease);
}
.home-section-head__all:hover { color: var(--accent); opacity: 1; }

/* ── SECTIONS ── */
.home-latest  { padding: clamp(var(--s10), 6vw, var(--s16)) 0; }
.home-topics  { padding: 0 0 clamp(var(--s12), 6vw, var(--s20)); }

/* ── TOPIC CHIPS ── */
.topic-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

.topic-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s4);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  text-decoration: none;
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}

.topic-chip:hover {
  color: var(--accent);
  border-color: var(--accent-dim);
  background: var(--accent-glow);
  opacity: 1;
}

.topic-chip__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
