/*
 * lanobots-blog.css
 * Blog page — extends lanobots-homepage.css design system.
 * #000 / #F5F0E8 / #F5C400 yellow / #7B4FD4 purple
 * Barlow Condensed (headings) / Barlow (body) / Caveat (tagline)
 */

/* ============================================================
   SHARED UTILITIES
   ============================================================ */
.lb-eyebrow {
  display: block;
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7B4FD4;
  margin-bottom: 0.6rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal].lb-revealed {
  opacity: 1;
  transform: translateY(0);
}

.lb-hero__content--left { align-items: flex-start; text-align: left; }
@media (max-width: 640px) { .lb-hero__content--left { align-items: center; text-align: center; } }

.lb-btn--lg { font-size: 1.05rem; padding: 0.9rem 2.4rem; letter-spacing: 0.12em; }
.lb-btn--ghost {
  background: transparent;
  border: 1px solid rgba(245,240,232,0.25);
  color: rgba(245,240,232,0.7);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none;
  padding: 0.65rem 1.5rem;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.lb-btn--ghost:hover { border-color: #7B4FD4; color: #F5F0E8; }

/* ============================================================
   BLOG HERO
   ============================================================ */
.lb-hero--blog {
  min-height: 90vh;
  align-items: center;
  position: relative;
}
/* Extra gradient — left-biased for text contrast */
.lb-hero--blog .lb-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.7)  45%,
    rgba(0,0,0,0.25) 100%
  );
  pointer-events: none;
}
.lb-hero--blog .lb-hero__content { z-index: 2; }

.lb-blog-hero__eyebrow {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #7B4FD4; margin-bottom: 1rem;
}
.lb-blog-hero__title {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 900; line-height: 0.92;
  text-transform: uppercase; letter-spacing: -0.01em;
  color: #F5F0E8;
  text-shadow: 0 4px 40px rgba(0,0,0,0.85);
  margin: 0 0 1.25rem;
}
.lb-blog-hero__title em { color: var(--page-accent, #f4f2ec); font-style: italic; }
.lb-blog-hero__body {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.1rem); line-height: 1.65;
  color: rgba(245,240,232,0.82); max-width: 52ch;
  margin-bottom: 2rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}
.lb-hero--blog .lb-hero__ctas {
  display: flex; gap: 1rem; flex-wrap: wrap;
}

.lb-blog-hero__scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(245,240,232,0.3);
}
.lb-blog-hero__scroll svg { animation: lb-bounce 1.8s ease-in-out infinite; }
@keyframes lb-bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(5px)} }

/* ============================================================
   CATEGORY TICKER
   ============================================================ */
.lb-blog-ticker {
  background: var(--page-accent, #f4f2ec);
  overflow: hidden;
  padding: 0;
  height: 2.4rem;
  display: flex; align-items: center;
}
.lb-blog-ticker__track {
  display: flex; align-items: center;
  white-space: nowrap;
  animation: lb-ticker 28s linear infinite;
  will-change: transform;
}
.lb-blog-ticker__track:hover { animation-play-state: paused; }
@keyframes lb-ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.lb-blog-ticker__item {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 900;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #000;
  padding: 0 1.6rem;
}
.lb-blog-ticker__dot { font-size: 0.5rem; color: rgba(0,0,0,0.45); }

/* ============================================================
   FEATURED UPDATE
   ============================================================ */
.lb-blog-featured {
  background: #050505;
  padding: 5.5rem 2rem;
}
.lb-blog-featured__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 5rem; align-items: center;
}
.lb-blog-featured__media {
  position: relative; border-radius: 4px; overflow: hidden;
  aspect-ratio: 4/3; background: #0a0a0a;
}
.lb-blog-featured__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.lb-blog-featured__tag {
  position: absolute; top: 1rem; left: 1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: #000;
  background: var(--page-accent, #f4f2ec); padding: 0.2rem 0.6rem; border-radius: 2px;
}
.lb-blog-featured__content {
  display: flex; flex-direction: column; gap: 1.25rem;
}
.lb-blog-featured__title {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900; font-style: italic;
  text-transform: uppercase; line-height: 1.05;
  color: #F5F0E8; margin: 0;
}
.lb-blog-featured__title em { color: var(--page-accent, #f4f2ec); }
.lb-blog-featured__body {
  font-family: 'Barlow', sans-serif;
  font-size: 0.975rem; line-height: 1.7;
  color: rgba(245,240,232,0.62); max-width: 46ch;
}
.lb-blog-featured__meta {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase;
  border-left: 2px solid #7B4FD4; padding-left: 0.75rem;
}
.lb-blog-featured__meta-label { color: rgba(245,240,232,0.4); }
.lb-blog-featured__meta-sep   { color: #7B4FD4; }
.lb-blog-featured__meta-val   { color: #F5F0E8; }
.lb-blog-featured__ctas {
  display: flex; gap: 1rem; flex-wrap: wrap; padding-top: 0.25rem;
}

/* ============================================================
   CATEGORY FILTER BAR
   ============================================================ */
.lb-blog-filter {
  background: #0a0a0a;
  border-top: 1px solid rgba(245,240,232,0.07);
  border-bottom: 1px solid rgba(245,240,232,0.07);
  padding: 1.1rem 2rem;
  position: sticky; top: 64px; z-index: 90;
}
.lb-blog-filter__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem;
  overflow-x: auto; scroll-behavior: smooth;
}
.lb-blog-filter__inner::-webkit-scrollbar { height: 0; }
.lb-blog-filter__label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(245,240,232,0.3);
  flex-shrink: 0;
}
.lb-blog-filter__list {
  display: flex; gap: 0.5rem; list-style: none; margin: 0; padding: 0;
  flex-wrap: nowrap;
}
.lb-blog-filter__btn {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none;
  color: rgba(245,240,232,0.45);
  border: 1px solid rgba(245,240,232,0.1);
  padding: 0.3rem 0.85rem; border-radius: 2px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.lb-blog-filter__btn:hover {
  color: #F5F0E8; border-color: rgba(var(--page-accent-rgb, 244,242,236), 0.5);
}
.lb-blog-filter__btn--active {
  color: #000; background: var(--page-accent, #f4f2ec); border-color: var(--page-accent, #f4f2ec);
}
.lb-blog-filter__btn--active:hover {
  color: #000; background: var(--page-accent, #f4f2ec); border-color: var(--page-accent, #f4f2ec);
}

/* ============================================================
   DISPATCH BOARD — real posts grid
   ============================================================ */
.lb-blog-dispatches {
  background: #000;
  padding: 5rem 2rem;
}
.lb-blog-dispatches__inner { max-width: 1200px; margin: 0 auto; }
.lb-blog-dispatches__head  { margin-bottom: 3rem; }
.lb-blog-dispatches__head .lb-section-title { margin-top: 0.4rem; }

/* Real-posts grid (2-col desktop) */
.lb-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.lb-blog-card {
  background: #111;
  border: 1px solid rgba(245,240,232,0.07);
  border-radius: 4px; overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.lb-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.5);
}
.lb-blog-card--yellow:hover { border-color: rgba(var(--page-accent-rgb, 244,242,236), 0.45); }
.lb-blog-card--purple:hover { border-color: rgba(123,79,212,0.5); }
/* Top accent */
.lb-blog-card::before { content:''; display:block; height:3px; width:100%; }
.lb-blog-card--yellow::before { background: var(--page-accent, #f4f2ec); }
.lb-blog-card--purple::before { background: #7B4FD4; }

.lb-blog-card__img-wrap {
  display: block; aspect-ratio: 16/9; overflow: hidden; background: #0a0a0a;
}
.lb-blog-card__img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.35s ease;
}
.lb-blog-card:hover .lb-blog-card__img-wrap img { transform: scale(1.04); }
.lb-blog-card__body {
  padding: 1.25rem 1.25rem 1.5rem; flex: 1;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.lb-blog-card__tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase;
}
.lb-blog-card--yellow .lb-blog-card__tag { color: var(--page-accent, #f4f2ec); }
.lb-blog-card--purple .lb-blog-card__tag { color: #7B4FD4; }
.lb-blog-card__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem; font-weight: 900; font-style: italic;
  text-transform: uppercase; line-height: 1.1;
}
.lb-blog-card__title a {
  text-decoration: none; color: #F5F0E8;
  transition: color 0.2s;
}
.lb-blog-card--yellow .lb-blog-card__title a:hover { color: var(--page-accent, #f4f2ec); }
.lb-blog-card--purple .lb-blog-card__title a:hover { color: #7B4FD4; }
.lb-blog-card__excerpt {
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem; line-height: 1.6;
  color: rgba(245,240,232,0.5); margin: 0; flex: 1;
}
.lb-blog-card__read {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none;
  color: rgba(245,240,232,0.4); margin-top: 0.25rem;
  transition: color 0.2s;
}
.lb-blog-card--yellow .lb-blog-card__read:hover { color: var(--page-accent, #f4f2ec); }
.lb-blog-card--purple .lb-blog-card__read:hover { color: #7B4FD4; }

/* ── Placeholder dispatch lanes ── */
.lb-blog-lanes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.lb-blog-lane {
  background: #111;
  border: 1px solid rgba(245,240,232,0.07);
  border-radius: 4px; overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.lb-blog-lane:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.lb-blog-lane--yellow:hover { border-color: rgba(var(--page-accent-rgb, 244,242,236), 0.45); }
.lb-blog-lane--purple:hover { border-color: rgba(123,79,212,0.5); }
.lb-blog-lane::before { content:''; display:block; height:3px; width:100%; }
.lb-blog-lane--yellow::before { background: var(--page-accent, #f4f2ec); }
.lb-blog-lane--purple::before { background: #7B4FD4; }
.lb-blog-lane__img-wrap {
  display: block; aspect-ratio: 4/3; overflow: hidden; background: #0a0a0a;
}
.lb-blog-lane__img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.35s ease;
}
.lb-blog-lane:hover .lb-blog-lane__img-wrap img { transform: scale(1.05); }
.lb-blog-lane__body {
  padding: 1.1rem 1.1rem 1.35rem; flex: 1;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.lb-blog-lane__tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
}
.lb-blog-lane--yellow .lb-blog-lane__tag { color: var(--page-accent, #f4f2ec); }
.lb-blog-lane--purple .lb-blog-lane__tag { color: #7B4FD4; }
.lb-blog-lane__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; font-weight: 900; font-style: italic;
  text-transform: uppercase; color: #F5F0E8; margin: 0; line-height: 1.15;
}
.lb-blog-lane__desc {
  font-family: 'Barlow', sans-serif;
  font-size: 0.82rem; line-height: 1.6;
  color: rgba(245,240,232,0.45); margin: 0; flex: 1;
}
.lb-blog-lane__cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none;
  color: rgba(245,240,232,0.35); margin-top: 0.35rem;
  transition: color 0.2s;
}
.lb-blog-lane--yellow .lb-blog-lane__cta:hover { color: var(--page-accent, #f4f2ec); }
.lb-blog-lane--purple .lb-blog-lane__cta:hover { color: #7B4FD4; }

.lb-blog-dispatches__notice {
  margin-top: 2.5rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.8rem; line-height: 1.6;
  color: rgba(245,240,232,0.3);
  border-left: 2px solid rgba(123,79,212,0.3);
  padding-left: 0.75rem;
}
.lb-blog-dispatches__notice strong { color: rgba(var(--page-accent-rgb, 244,242,236), 0.7); }

/* ============================================================
   PUBLISHING RHYTHM
   ============================================================ */
.lb-blog-rhythm {
  background: #080808;
  border-top: 1px solid rgba(123,79,212,0.2);
  padding: 5.5rem 2rem;
}
.lb-blog-rhythm__inner { max-width: 1000px; margin: 0 auto; }
.lb-blog-rhythm__head  { margin-bottom: 3.5rem; }
.lb-blog-rhythm__head .lb-section-title { margin-top: 0.4rem; }

.lb-blog-rhythm__steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; list-style: none; margin: 0; padding: 0;
  position: relative;
}
.lb-blog-rhythm__step {
  position: relative; display: flex; flex-direction: column; gap: 1rem;
}

/* Horizontal connector line between steps */
.lb-blog-rhythm__connector {
  display: none;
}
@media (min-width: 768px) {
  .lb-blog-rhythm__connector {
    display: block;
    position: absolute;
    top: 1.4rem; right: -1rem;
    width: 2rem; height: 1px;
    background: linear-gradient(to right, rgba(123,79,212,0.5), transparent);
  }
}

.lb-blog-rhythm__num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.5rem; font-weight: 900; font-style: italic;
  line-height: 1; color: rgba(var(--page-accent-rgb, 244,242,236), 0.2);
  display: block;
  transition: color 0.3s;
}
.lb-blog-rhythm__step:hover .lb-blog-rhythm__num { color: rgba(var(--page-accent-rgb, 244,242,236), 0.55); }
.lb-blog-rhythm__step-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem; font-weight: 900; font-style: italic;
  text-transform: uppercase; color: #F5F0E8;
  margin: 0 0 0.5rem;
}
.lb-blog-rhythm__step-copy {
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem; line-height: 1.65;
  color: rgba(245,240,232,0.5); margin: 0;
}
.lb-blog-rhythm__step-body {
  padding-top: 0.25rem;
  border-left: 2px solid rgba(123,79,212,0.2);
  padding-left: 1rem;
}

/* ============================================================
   FINAL CTA BANNER
   ============================================================ */
.lb-blog-cta {
  position: relative;
  background: #000 var(--lb-blog-cta-bg, none) center center / cover no-repeat;
  padding: 8rem 2rem; overflow: hidden;
}
.lb-blog-cta__overlay {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.65) 100%);
}
.lb-blog-cta__inner {
  position: relative; z-index: 1;
  max-width: 820px; margin: 0 auto;
  text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 1.25rem;
}
.lb-blog-cta__eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: #7B4FD4;
}
.lb-blog-cta__title {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 900; font-style: italic;
  text-transform: uppercase; line-height: 0.95;
  color: #F5F0E8; margin: 0;
}
.lb-blog-cta__title em { color: var(--page-accent, #f4f2ec); }
.lb-blog-cta__body {
  font-family: 'Barlow', sans-serif;
  font-size: 1rem; line-height: 1.65;
  color: rgba(245,240,232,0.68); max-width: 46ch;
}
.lb-blog-cta__ctas {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  padding-top: 0.5rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .lb-blog-featured__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .lb-blog-featured__media { aspect-ratio: 16/9; max-width: 640px; }
  .lb-blog-lanes           { grid-template-columns: repeat(2, 1fr); }
  .lb-blog-grid            { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lb-hero--blog       { min-height: 80vh; }
  .lb-blog-featured    { padding: 3.5rem 1.25rem; }
  .lb-blog-dispatches  { padding: 3.5rem 1.25rem; }
  .lb-blog-rhythm      { padding: 3.5rem 1.25rem; }
  .lb-blog-cta         { padding: 5rem 1.25rem; }
  .lb-blog-lanes       { grid-template-columns: 1fr; }
  .lb-blog-grid        { grid-template-columns: 1fr; }
  .lb-blog-rhythm__steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .lb-hero--blog .lb-hero__ctas { flex-direction: column; align-items: flex-start; }
  .lb-blog-cta__ctas { flex-direction: column; align-items: center; }
  .lb-blog-filter { top: 56px; }
}

/* ============================================================
   SPRINT 2 — BLOG: Editorial Serif Typography + Calm Motion
   ============================================================ */

/* — Playfair Display for all hero/section headings — editorial identity */
.lb-blog-hero__title,
.lb-blog-featured__title,
.lb-dispatch__title,
.lb-blog-dispatch__title,
.lb-post__title,
.lb-blog-section-title {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, 'Times New Roman', serif);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}
.lb-blog-hero__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
}
.lb-blog-featured__title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}
.lb-dispatch__title,
.lb-blog-dispatch__title,
.lb-post__title {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

/* Eyebrow stays sans-serif */
.lb-blog-hero__eyebrow,
.lb-blog-hero .lb-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-style: normal;
  color: var(--page-accent, #f4f2ec);
}

/* Body text: readable, calm */
.lb-blog-hero__body,
.lb-blog-featured__excerpt,
.lb-dispatch__excerpt,
.lb-post__excerpt {
  font-family: 'Barlow', system-ui, sans-serif;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.72;
  color: rgba(244,242,236,0.72);
  max-width: 64ch;
}

/* Article cards: elegant fade-up */
.lb-dispatch,
.lb-blog-post-card,
.lb-post-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.lb-dispatch.lb-revealed,
.lb-blog-post-card.lb-revealed,
.lb-post-card.lb-revealed {
  opacity: 1;
  transform: translateY(0);
}
.lb-dispatch:hover,
.lb-blog-post-card:hover,
.lb-post-card:hover {
  transform: translateY(-4px);
  transition: transform 300ms cubic-bezier(.2,.7,.2,1), opacity 0.8s ease;
}

/* Stagger dispatches */
.lb-dispatches__grid .lb-dispatch:nth-child(1) { transition-delay:   0ms; }
.lb-dispatches__grid .lb-dispatch:nth-child(2) { transition-delay: 100ms; }
.lb-dispatches__grid .lb-dispatch:nth-child(3) { transition-delay: 200ms; }
.lb-dispatches__grid .lb-dispatch:nth-child(4) { transition-delay: 300ms; }

/* Featured post section reveal — slow editorial fade */
.lb-blog-featured {
  opacity: 0;
  transition: opacity 1.1s ease 0.1s;
}
.lb-blog-featured.lb-revealed { opacity: 1; }

/* Featured image: subtle parallax hint via overflow */
.lb-blog-featured__img-wrap,
.lb-blog-featured picture {
  overflow: hidden;
}
.lb-blog-featured__img-wrap img,
.lb-blog-featured picture img {
  transform: scale(1.05);
  transform-origin: center center;
  will-change: transform;
}

/* Section reveal */
.lb-dispatches,
.lb-blog-cta,
.lb-blog-rhythm {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.lb-dispatches.lb-revealed,
.lb-blog-cta.lb-revealed,
.lb-blog-rhythm.lb-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .lb-dispatch, .lb-blog-post-card, .lb-post-card,
  .lb-blog-featured, .lb-dispatches, .lb-blog-cta, .lb-blog-rhythm {
    opacity: 1; transform: none; transition: none;
  }
}

/* ============================================================
   BLOG PAGE — BUTTON COLOUR THEME OVERRIDES
   All buttons on the blog page use the white/cream accent
   instead of the global yellow.
============================================================ */

/* Primary — cream/white fill, black text */
body.page-blog .lb-btn--primary {
  background:   var(--page-accent, #f4f2ec);
  border-color: var(--page-accent, #f4f2ec);
  color:        #000000;
}
body.page-blog .lb-btn--primary:hover,
body.page-blog .lb-btn--primary:focus {
  background:   #ffffff;
  border-color: #ffffff;
  color:        #000000;
  box-shadow:   0 6px 20px rgba(244, 242, 236, 0.30);
  transform:    translateY(-2px);
}

/* Secondary — transparent, cream border + text */
body.page-blog .lb-btn--secondary {
  background:   transparent;
  border-color: rgba(244, 242, 236, 0.55);
  color:        rgba(244, 242, 236, 0.80);
}
body.page-blog .lb-btn--secondary:hover,
body.page-blog .lb-btn--secondary:focus {
  border-color: var(--page-accent, #f4f2ec);
  color:        var(--page-accent, #f4f2ec);
  transform:    translateY(-2px);
}

/* Ghost — very faint cream, brightens on hover */
body.page-blog .lb-btn--ghost {
  border-color: rgba(244, 242, 236, 0.22);
  color:        rgba(244, 242, 236, 0.50);
}
body.page-blog .lb-btn--ghost:hover,
body.page-blog .lb-btn--ghost:focus {
  border-color: rgba(244, 242, 236, 0.55);
  color:        var(--page-accent, #f4f2ec);
  transform:    translateY(-1px);
}

