/* ============================================================
   /BLOG — UP YOUR REACH
   Minimalist newsroom index. Empty-state + newsletter signup.
   ============================================================ */

.page-blog { padding-top: 72px; }

/* ============================ HERO ============================ */
.blog-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 5rem + 4vw, 9rem);
}
.blog-hero__inner {
  position: relative;
  z-index: var(--z-base);
  max-width: var(--tight-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-10);
  align-items: end;
}
@media (min-width: 880px) {
  .blog-hero__inner { grid-template-columns: 1.2fr 1fr; gap: var(--s-12); }
}
.blog-hero__h {
  font-size: clamp(2.5rem, 1.6rem + 5vw, 5.5rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: var(--s-5);
}
.blog-hero__lede {
  color: var(--cyan-300);
  font-size: var(--text-lg);
  max-width: 50ch;
  line-height: 1.45;
}

/* Newsletter signup compact (in hero) */
.blog-news {
  background: rgba(0, 208, 255, 0.05);
  border: 1px solid var(--card-border-on-dark);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.blog-news__h {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: var(--text-xl);
  letter-spacing: var(--tracking-headline);
  line-height: 1.15;
}
.blog-news__h .cyan { color: var(--cyan-500); }
.blog-news__body {
  color: var(--fg-muted-dark);
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
}
.blog-news .news__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
}
@media (min-width: 540px) {
  .blog-news .news__row { grid-template-columns: 1fr 1fr; }
}
.blog-news .news__field {
  display: flex; flex-direction: column; gap: var(--s-2);
}
.blog-news .news__field span {
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--fg-muted-dark);
  font-weight: 500;
}
.blog-news .news__field input {
  width: 100%;
  padding: var(--s-3) var(--s-4);
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  border: 1px solid var(--card-border-on-dark);
  border-radius: var(--r-md);
  font-size: var(--text-base);
  transition: border-color var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.blog-news .news__field input:focus {
  outline: 0;
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 3px rgba(0, 208, 255, 0.18);
}
.blog-news .news__field input::placeholder { color: rgba(242,242,242,0.30); }
.blog-news .news__success {
  font-size: var(--text-sm);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  background: rgba(0, 208, 255, 0.10);
  color: var(--cyan-500);
  border: 1px solid var(--cyan-500);
}
.blog-news .news__error {
  font-size: var(--text-sm);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  background: rgba(255, 47, 0, 0.07);
  color: var(--signal-red);
  border: 1px solid var(--signal-red);
}
.blog-news .news__error a { color: var(--signal-red); text-decoration: underline; }
.blog-news .news__terms {
  font-size: var(--text-xs);
  color: var(--fg-muted-dark);
}

/* ============================ ARTICLE LIST ============================ */
.blog-list {
  background: var(--bg-light);
  padding-block: var(--section-y);
}
.blog-list__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-12);
  border-bottom: 1px solid var(--rule-on-light);
  padding-bottom: var(--s-6);
}
.blog-list__h {
  color: var(--charcoal);
  font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);
  letter-spacing: var(--tracking-headline);
  line-height: 1.1;
  font-weight: 800;
}
.blog-list__meta {
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--fg-muted-light);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}
@media (min-width: 720px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--rule-on-light);
  border-radius: var(--r-xl);
  min-height: 280px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.blog-card--coming {
  background: linear-gradient(160deg, var(--white), rgba(0, 208, 255, 0.04));
}
.blog-card--coming::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 12px,
    rgba(0, 208, 255, 0.04) 12px,
    rgba(0, 208, 255, 0.04) 13px
  );
  pointer-events: none;
}
.blog-card__tag {
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--cyan-700);
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.blog-card__tag--coming {
  color: var(--fg-muted-light);
}
.blog-card__h {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: var(--text-lg);
  letter-spacing: var(--tracking-headline);
  line-height: 1.2;
  color: var(--charcoal);
  position: relative;
  z-index: 1;
}
.blog-card__h--placeholder {
  color: var(--fg-muted-light);
  font-weight: 500;
  font-style: italic;
}
.blog-card__body {
  color: var(--fg-muted-light);
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
  position: relative;
  z-index: 1;
  margin-bottom: auto;
}
.blog-card__meta {
  font-size: var(--text-xs);
  color: var(--fg-muted-light);
  display: flex;
  gap: var(--s-3);
  align-items: center;
  position: relative;
  z-index: 1;
}
.blog-card__meta strong {
  color: var(--charcoal);
  font-weight: 600;
}

/* Empty state */
.blog-empty {
  margin-top: var(--s-12);
  padding: var(--s-10);
  text-align: center;
  border: 1px dashed var(--rule-on-light);
  border-radius: var(--r-xl);
  color: var(--fg-muted-light);
}
.blog-empty p {
  font-size: var(--text-sm);
}
.blog-empty p strong {
  color: var(--charcoal);
}
