/* Blog: listing, article and the homepage strip.
   Leans on the tokens and the nav/footer/cta rules in style.css; everything
   here is prefixed so it cannot collide with the case study stylesheets. */

/* The article page has no dark hero for the transparent nav to sit on. */
.nav.is-solid {
  background: rgba(10,10,11,.92);
  backdrop-filter: blur(14px) saturate(140%);
}

/* ---------- listing hero ---------- */
.blog-hero {
  background: var(--bg-dark);
  color: var(--text-dark-1);
  padding: 140px 0 72px;
  text-align: center;
}
.blog-hero__title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--h1);
  line-height: var(--lh-h1);
  margin: 0 0 20px;
}
.blog-hero__lede {
  max-width: 680px;
  margin: 0 auto 22px;
  font-size: var(--text-l);
  color: var(--text-dark-2);
}
.blog-hero__meta {
  margin: 0;
  font-size: var(--text-s);
  color: rgba(255,255,255,.45);
}

/* ---------- section scaffolding ---------- */
.blog-sec { padding: 64px 0; }
.blog-sec--featured { padding-top: 72px; }
.blog-sec + .blog-sec { padding-top: 0; }
.blog-sec--related { border-top: 1px solid var(--border-soft); padding-top: 64px; }
.blog-sec__head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin: 0 0 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid #dcdcdc;
}
.blog-sec__head--split { justify-content: space-between; flex-wrap: wrap; row-gap: 14px; }
.blog-sec__title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--h5);
  line-height: 1.2;
  margin: 0;
}
/* same as the homepage "See all": dark by default, accent on hover */
.blog-sec__link {
  font-size: var(--text-s);
  font-weight: 600;
  color: var(--text-light-1);
  transition: color .2s ease;
}
.blog-sec__link:hover { color: var(--accent-dark); }
.blog-empty { color: var(--text-light-2); margin: 24px 0 0; }

/* category chips */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: var(--text-t);
  font-weight: 600;
  color: var(--text-light-2);
  background: #fff;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.chip:hover { color: var(--text-light-1); border-color: var(--text-light-1); }
.chip.is-active { background: var(--text-light-1); border-color: var(--text-light-1); color: #fff; }

/* ---------- shared card atoms ---------- */
.bcard__thumb, .brow__thumb, .feature__media {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  aspect-ratio: 16 / 10;
}
/* a faint inner hairline so covers with white backgrounds still read as
   cards against the page; painted above the image so hover zoom cannot hide it */
.bcard__thumb, .brow__thumb, .feature__media, .reco__thumb { position: relative; }
.bcard__thumb::after, .brow__thumb::after, .feature__media::after, .reco__thumb::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .05);
  pointer-events: none;
}
.bcard__thumb img, .brow__thumb img, .feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.bcard:hover .bcard__thumb img,
.pop:hover .bcard__thumb img,
.brow:hover .brow__thumb img,
.feature:hover .feature__media img { transform: scale(1.04); }

.bcard__cat {
  display: inline-block;
  font-size: var(--text-t);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 8px;
}
.bcard__title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--text-l);
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--text-light-1);
  transition: color .2s ease;
}
.bcard:hover .bcard__title, .pop:hover .bcard__title, .brow:hover .brow__title { color: var(--accent-dark); }
.bcard__dek {
  margin: 0 0 10px;
  color: var(--text-light-2);
  font-size: var(--text-r);
  line-height: var(--lh-prose);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bcard__meta { margin: 0; font-size: var(--text-t); color: var(--text-light-2); }

/* grid card */
.bcard { display: flex; flex-direction: column; gap: 14px; }
.bcard--sm .bcard__title { font-size: var(--text-m); }
.bcard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
}
.bcard-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* featured */
.feature {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 40px;
  align-items: center;
}
.feature__media { aspect-ratio: 16 / 10; border-radius: var(--radius-lg); }
.feature__title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--h3);
  line-height: 1.15;
  margin: 0 0 14px;
  transition: color .2s ease;
}
.feature:hover .feature__title { color: var(--accent-dark); }
.feature__dek {
  margin: 0 0 14px;
  font-size: var(--text-m);
  line-height: var(--lh-prose);
  color: var(--text-light-2);
}
.feature__more {
  display: inline-block;
  margin-top: 18px;
  font-size: var(--text-s);
  font-weight: 600;
  color: var(--text-light-1);
}

/* popular: four numbered cards */
.pop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
}
.pop { position: relative; display: flex; flex-direction: column; gap: 14px; }

/* latest: rows */
.brow-list { display: flex; flex-direction: column; }
.brow {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-soft);
  align-items: center;
}
.brow:last-child { border-bottom: none; }
.brow[hidden] { display: none; }
.brow__title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--h5);
  line-height: 1.25;
  margin: 0 0 8px;
  transition: color .2s ease;
}
.brow__dek {
  margin: 0 0 10px;
  color: var(--text-light-2);
  font-size: var(--text-r);
  line-height: var(--lh-prose);
  max-width: 640px;
}

/* ---------- article ---------- */
.read-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 110;
  pointer-events: none;
}
.read-progress span {
  display: block;
  height: 100%;
  background: var(--mint);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

.post { padding-top: 120px; }
.post-head { padding: 0 var(--pad-global); }
.post-head__inner { max-width: 760px; margin: 0 auto; }
/* category over the title: a step larger, sitting close to the title */
.post-kicker {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 2px;
}
.post-kicker:hover { color: var(--mint-2); }
.post-byline__name a { color: inherit; }
.post-byline__name a:hover strong { color: var(--accent-dark); }
.post-byline__role { color: var(--text-light-2); }
.author-card__name { color: var(--text-light-1); transition: color .2s ease; }
.author-card__name:hover { color: var(--accent-dark); }
.post-title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0 0 20px;
}
.post-dek {
  font-size: 22px;
  line-height: 1.4;
  color: var(--text-light-2);
  margin: 0 0 30px;
}
.post-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--border-soft);
}
.post-byline__text { flex: 1 1 auto; min-width: 0; }
.post-byline__avatar { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; }
.post-byline__text { display: flex; flex-direction: column; gap: 2px; font-size: var(--text-s); }
.post-byline__name { color: var(--text-light-1); }
.post-byline__name strong { font-weight: 600; }
.post-byline__meta { color: var(--text-light-2); }
.post-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.post-tags {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.post-tags li {
  padding: 5px 10px;
  border-radius: 999px;
  background: #f4f4f4;
  border: 1px solid #e4e4e4;
  font-size: var(--text-t);
  font-weight: 600;
  color: #555;
}

/* "Preferred sources" on Google, to the right of the byline */
.gsource {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid #e4e4e4;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  color: var(--text-light-1);
  white-space: nowrap;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.gsource:hover { border-color: #c9c9c9; box-shadow: 0 6px 18px rgba(0,0,0,.08); transform: translateY(-1px); }
/* a calm blue light that travels slowly around the pill's edge: only the
   1px border ring, drawn with a rotating conic gradient. Registered custom
   property so the angle itself animates; browsers without @property show a
   still, faint ring instead. */
@property --gsource-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.gsource { position: relative; isolation: isolate; --gsource-angle: 0deg; }
.gsource::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(from var(--gsource-angle),
    transparent 0deg, transparent 220deg,
    rgba(41,182,246,.18) 262deg, rgba(41,182,246,.9) 300deg, rgba(41,182,246,.18) 338deg,
    transparent 360deg);
  animation: gsource-orbit 5.5s linear infinite;
  z-index: 1;
  padding: 1px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
@keyframes gsource-orbit { to { --gsource-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  .gsource::before { animation: none; }
}
.gsource__g { flex: none; width: 20px; height: 20px; }
/* two lines: "Get my articles" over "on Google" */
.gsource__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1px;
  line-height: 1.25;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #3b3b3b;
}

.share { display: flex; align-items: center; gap: 6px; position: relative; }
.share__label { font-size: var(--text-t); font-weight: 600; color: var(--text-light-2); margin-right: 4px; }
.share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--text-light-1);
  background: #fff;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.share__btn:hover { background: var(--text-light-1); border-color: var(--text-light-1); color: #fff; }
.share__toast {
  position: absolute;
  right: 0; top: calc(100% + 8px);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: var(--text-light-1);
  color: #fff;
  font-size: var(--text-t);
  white-space: nowrap;
}

/* cover: wider than the text column, captioned and credited underneath */
.post-cover {
  max-width: 1040px;
  margin: 40px auto 0;
  padding: 0 var(--pad-global);
}
.post-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
}
/* caption left, credit right, both the same size and grey. On desktop the
   credit stays top right under the picture even when the caption wraps. */
.post-cover figcaption, .post-figure figcaption {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px 24px;
  margin-top: 10px;
  font-size: var(--text-t);
  line-height: 1.5;
  color: var(--text-light-2);
}
.figure__cap { flex: 1 1 auto; min-width: 0; }
.figure__credit {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: var(--text-t);
  line-height: 1.5;
  color: var(--text-light-2);
  white-space: nowrap;
}
.post-body .figure__credit a, .post-cover .figure__credit a, .figure__credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.post-body .figure__credit a:hover, .post-cover .figure__credit a:hover, .figure__credit a:hover { color: #5a5a5a; }

/* body copy */
.post-body {
  max-width: 740px;
  margin: 48px auto 0;
  padding: 0 var(--pad-global);
  font-size: 19px;
  line-height: 1.72;
  color: var(--text-light-1);
}
.post-body > * { margin: 0 0 1.35em; }
.post-body p { letter-spacing: -.01em; }
.post-lead::first-letter {
  float: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 4.2em;
  line-height: .8;
  padding: .08em .1em 0 0;
  color: var(--text-light-1);
}
.post-body h2 {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--h4);
  line-height: 1.2;
  margin: 2em 0 .7em;
}
.post-body h3 {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--h5);
  line-height: 1.3;
  margin: 1.6em 0 .6em;
}
.post-body a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.post-body a:hover { color: var(--mint-2); }
.post-body strong { font-weight: 600; }
.post-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .86em;
  padding: .1em .4em;
  border-radius: 4px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
}
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body li { margin-bottom: .55em; }
.post-body li::marker { color: var(--accent-dark); font-weight: 600; }
.post-body blockquote {
  margin: 2em 0;
  padding: 0 0 0 26px;
  border-left: 3px solid var(--accent-dark);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.35;
  letter-spacing: -.02em;
  color: var(--text-light-1);
}
.post-body blockquote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--text-s);
  color: var(--text-light-2);
}
.post-body hr {
  width: 64px;
  border: none;
  border-top: 2px solid var(--text-light-1);
  margin: 2.4em auto;
}
/* note / callout: quiet grey, no colour */
.post-note {
  padding: 20px 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: #f4f4f4;
  border: 1px solid #e4e4e4;
  border-left: 3px solid var(--accent-dark);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-light-1);
}
.post-note a { color: inherit; }
.post-figure {
  /* same width as the copy */
  margin: 2.2em 0;
}
.post-figure img {
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
}

/* two small recommendations inside the copy, near the end */
.post-reco {
  margin: 2.4em 0;
  padding: 18px 0 22px;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.post-reco__label {
  display: block;
  margin-bottom: 14px;
  font-size: var(--text-t);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-light-2);
}
.post-reco__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}
.post-body .reco, .post-body .reco:hover {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.reco__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-subtle);
}
.reco__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.reco:hover .reco__thumb img { transform: scale(1.05); }
.reco__text { display: flex; flex-direction: column; min-width: 0; }
.reco__text .bcard__cat { margin-bottom: 4px; font-size: 10px; letter-spacing: .06em; }
.reco__title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--text-r);
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--text-light-1);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s ease;
}
.reco:hover .reco__title { color: var(--accent-dark); }

/* table of contents, from the H2/H3 headings */
.post-toc {
  margin: 0 0 2.2em;
  padding: 18px 22px 16px;
  border-radius: var(--radius-md);
  background: #f7f7f7;
  border: 1px solid #ececec;
  font-size: 15px;
  line-height: 1.5;
}
.post-toc__label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--text-t);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-light-2);
}
.post-toc ol { list-style: none; margin: 0; padding: 0; }
.post-toc li { margin: 0; padding: 3px 0; }
.post-toc__h3 { padding-left: 18px !important; font-size: 14px; }
.post-body .post-toc a { color: var(--text-light-1); text-decoration: none; }
.post-body .post-toc a:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.post-body h2, .post-body h3 { scroll-margin-top: 90px; }

/* table */
.post-table { margin: 2em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.post-table table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.post-table th, .post-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid #e6e6e6; }
.post-table th { font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; color: var(--text-light-2); border-bottom: 2px solid #dcdcdc; -webkit-text-stroke: 0; }
.post-table tbody tr:last-child td { border-bottom: none; }
.post-table__cap { margin: 10px 0 0; font-size: var(--text-t); color: var(--text-light-2); }

/* video */
.post-video { margin: 2.2em 0; }
.post-video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; background: #000; }
.post-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-video figcaption { margin-top: 10px; font-size: var(--text-t); line-height: 1.5; color: var(--text-light-2); }

/* sources */
.post-refs { margin: 2.4em 0 0; padding-top: 1.4em; border-top: 1px solid #ececec; font-size: 16px; }
.post-refs h2 { font-size: var(--text-l) !important; margin: 0 0 .7em !important; }
.post-refs ol { padding-left: 1.4em; margin: 0; }
.post-refs li { margin-bottom: .45em; }
.post-refs__note { color: var(--text-light-2); }

/* end of article */
.post-foot {
  max-width: 740px;
  margin: 24px auto 0;
  padding: 0 var(--pad-global) 72px;
}
.post-foot__share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
/* who wrote it: photo, name, title */
.author-card {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
}
.author-card__head { display: flex; align-items: center; gap: 16px; }
.author-card__bio {
  margin: 14px 0 0;
  font-size: var(--text-s);
  line-height: 1.6;
  color: var(--text-light-2);
  opacity: .85;
}
.author-card__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-subtle);
}
.author-card__text { display: flex; flex-direction: column; gap: 2px; }
.author-card__name {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--text-m);
  line-height: 1.25;
  color: var(--text-light-1);
}
.author-card__role { font-size: var(--text-s); color: var(--text-light-2); }

/* fixed cards to the neighbouring articles, desktop only, after the cover */
.bjump-layer {
  position: fixed;
  left: 0; right: 0;
  bottom: 24px;
  z-index: 90;
  padding: 0 24px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s;
}
.bjump-layer.is-visible { opacity: 1; visibility: visible; }
.bjump {
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  /* wide enough for a two line title of up to 60 characters */
  width: 320px;
  height: 88px;
  padding: 0 14px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: #fafafa;
  box-shadow: 0 8px 26px rgba(15,25,40,.14);
  color: var(--text-light-1);
  pointer-events: auto;
  transform: translateY(10px);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
}
.bjump-layer.is-visible .bjump { transform: translateY(0); }
.bjump--prev { left: 24px; }
.bjump--next { right: 24px; }
.bjump:hover { box-shadow: 0 14px 34px rgba(15,25,40,.2); transform: translateY(-3px); }
.bjump__arrow { flex: none; color: #6e6e6e; transition: transform .3s ease, color .3s ease; }
.bjump--next .bjump__arrow { transform: rotate(180deg); }
.bjump--prev:hover .bjump__arrow { color: var(--text-light-1); transform: translateX(-3px); }
.bjump--next:hover .bjump__arrow { color: var(--text-light-1); transform: rotate(180deg) translateX(-3px); }
.bjump__thumb {
  flex: none;
  width: 52px; height: 52px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 10px;
  background: #eef1f4 center / cover no-repeat;
}
.bjump__text {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  text-align: center;
  line-height: 1.25;
}
.bjump__label {
  color: #8a8f96;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.bjump__name {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
@media (max-width: 1023px) { .bjump-layer { display: none; } }
@media (prefers-reduced-motion: reduce) { .bjump-layer, .bjump, .bjump__arrow { transition: none; } }

/* pagination under Latest */
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}
.pager[hidden] { display: none; }
.pager__btn {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #fff;
  font-size: var(--text-s);
  font-weight: 600;
  color: var(--text-light-1);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.pager__btn:hover:not(:disabled) { border-color: var(--text-light-1); }
.pager__btn:disabled { opacity: .35; cursor: default; }
.pager__nums { display: flex; align-items: center; gap: 4px; }
.pager__num {
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: var(--text-s);
  font-weight: 600;
  color: var(--text-light-2);
  transition: background .2s ease, color .2s ease;
}
.pager__num:hover { background: var(--bg-subtle); color: var(--text-light-1); }
.pager__num.is-active { background: var(--text-light-1); color: #fff; }
.pager__num.is-off, .pager__num:disabled { opacity: .35; cursor: default; }
.pager__num.is-off:hover { background: none; color: var(--text-light-2); }
.pager__gap { padding: 0 4px; color: var(--text-light-2); }

/* three quiet dots while the phone list grows */
.latest-more { display: flex; justify-content: center; gap: 6px; padding: 22px 0 4px; }
.latest-more[hidden] { display: none; }
.latest-more span { width: 6px; height: 6px; border-radius: 50%; background: var(--border-strong); animation: latestDot 1.2s infinite ease-in-out; }
.latest-more span:nth-child(2) { animation-delay: .15s; }
.latest-more span:nth-child(3) { animation-delay: .3s; }
@keyframes latestDot { 0%, 80%, 100% { opacity: .35; transform: scale(.85); } 40% { opacity: 1; transform: scale(1); } }

/* 404 inside the blog */
.post-missing { padding: 180px 0 120px; text-align: center; }
.post-missing h1 { font-family: var(--font-display); font-size: var(--h3); margin: 0 0 12px; }
.post-missing p { color: var(--text-light-2); margin: 0 0 28px; }
.btn-pill {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--text-light-1);
  color: #fff;
  font-size: var(--text-s);
  font-weight: 600;
}

/* unexported drafts are showing */
.draft-badge {
  position: fixed;
  left: 16px; bottom: 16px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 32px);
  padding: 10px 12px 10px 14px;
  border-radius: 999px;
  background: rgba(10,10,11,.92);
  color: #fff;
  font-size: var(--text-t);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
}
.draft-badge strong { color: #ffd166; font-weight: 600; }
.draft-badge span { color: rgba(255,255,255,.7); }
.draft-badge a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.draft-badge button { color: rgba(255,255,255,.7); font-size: 16px; line-height: 1; padding: 0 2px; }
.draft-badge button:hover { color: #fff; }

/* ---------- homepage strip ---------- */
.home-blog { padding-bottom: 0; }
.home-blog__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.home-blog__all {
  margin-bottom: 26px;
  font-size: var(--text-s);
  font-weight: 600;
  color: var(--text-light-1);
  white-space: nowrap;
  transition: color .2s ease;
}
.home-blog__all:hover { color: var(--accent-dark); }


/* ---------- article title face ----------
   Gentium Book Plus, a humanist serif at regular weight, on the blog listing
   and the article page only. Everything is scoped to .blog-main, so the
   homepage strip keeps the site's display face. Swap the first name for
   'Outfit' to go back to sans. */
:root {
  --font-title: var(--font-heading, 'Gentium Book Plus', Georgia, serif);
}
/* the blog's own big headings follow the site rule */
.blog-hero__title, .blog-sec__title, .post-missing h1 {
  font-family: var(--font-title);
  font-weight: 400;
  letter-spacing: -.01em;
  -webkit-text-stroke: .5px currentColor;
  paint-order: stroke fill;
}
.blog-sec__title { font-size: clamp(22px, 2.2vw, 28px); -webkit-text-stroke-width: .35px; }
.blog-main .feature__title,
.blog-main .bcard__title,
.blog-main .brow__title,
.blog-main .reco__title,
.blog-main .post-title,
.blog-main .post-body h2,
.blog-main .post-body h3,
.blog-main .post-body blockquote {
  font-family: var(--font-title);
  font-weight: 400;
  letter-spacing: -.005em;
  /* Gentium ships only 400 and 700; a hairline stroke lands between them */
  -webkit-text-stroke: .35px currentColor;
  paint-order: stroke fill;
}
.blog-main .post-title { font-size: var(--h1); line-height: 1.1; -webkit-text-stroke-width: .5px; }
.blog-main .post-body blockquote { -webkit-text-stroke-width: 0; }
/* card titles one step up from the site defaults */
.blog-main .feature__title { font-size: clamp(28px, 3.7vw, 44px); line-height: 1.15; }
.blog-main .bcard__title { font-size: 22px; }
.blog-main .bcard--sm .bcard__title { font-size: 20px; }
.blog-main .brow__title { font-size: clamp(22px, 2.2vw, 26px); }
.blog-main .reco__title { font-size: 17px; }
.blog-main .blog-sec--related .bcard__title { font-size: 22px; }
.blog-main .post-body h2 { line-height: 1.2; }

/* the same face on the homepage blog strip; the previous/next cards keep the
   sans, which reads better at that small size */
.home-blog .bcard__title {
  font-family: var(--font-title, 'Gentium Book Plus', Georgia, serif);
  font-weight: 400;
  letter-spacing: -.005em;
  -webkit-text-stroke: .3px currentColor;
  paint-order: stroke fill;
}
.home-blog .bcard--sm .bcard__title { font-size: 21px; line-height: 1.3; }
.blog-main .post-body blockquote { font-style: italic; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .bcard-grid, .pop-grid { grid-template-columns: repeat(2, 1fr); }
  .bcard-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .feature { gap: 28px; }
}
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 22px; }
  .bcard-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .brow { grid-template-columns: 200px 1fr; gap: 20px; }
}
@media (max-width: 680px) {
  .blog-hero { padding: 120px 0 56px; }
  .blog-sec { padding: 48px 0; }
  /* compact cards: picture on the left, text on the right */
  .bcard-grid, .bcard-grid--3, .pop-grid { grid-template-columns: 1fr; gap: 14px; }
  .bcard, .pop {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 12px;
    align-items: center;
  }
  .bcard .bcard__thumb, .pop .bcard__thumb { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); }
  .bcard__text { min-width: 0; }
  .bcard__cat { font-size: 10px; letter-spacing: .06em; margin-bottom: 4px; }
  .bcard .bcard__title, .bcard--sm .bcard__title, .pop .bcard__title,
  .blog-main .bcard__title, .blog-main .bcard--sm .bcard__title, .blog-main .blog-sec--related .bcard__title,
  .home-blog .bcard--sm .bcard__title {
    font-size: 17px;
    line-height: 1.3;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .bcard__dek { display: none; }
  .bcard__meta { font-size: 11px; }
  .brow { grid-template-columns: 116px 1fr; gap: 12px; padding: 14px 0; }
  .brow__thumb { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); }
  .brow__text { min-width: 0; }
  .brow__title, .blog-main .brow__title {
    font-size: 17px;
    line-height: 1.3;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .brow__dek { display: none; }
  .pager { display: none; }
  .post { padding-top: 100px; }
  .post-kicker { font-size: 13px; margin-bottom: 0; }
  .post-head, .post-cover, .post-body, .post-foot { padding-left: 20px; padding-right: 20px; }
  .post-body { font-size: 17.5px; line-height: 1.7; }
  .post-dek { font-size: 19px; }
  .post-cover figcaption, .post-figure figcaption { flex-direction: column; align-items: flex-start; gap: 4px; }
  .figure__credit { margin-left: 0; white-space: normal; }
  .figure__credit:only-child { align-self: flex-end; }
  .post-reco__grid { grid-template-columns: 1fr; gap: 16px; }
  .share--top .share__label, .share--bottom .share__label { display: none; }
  .post-byline { gap: 8px; }
  .post-byline__avatar { width: 36px; height: 36px; }
  .post-byline__text { font-size: 12.5px; }
  .gsource { flex: none; gap: 6px; padding: 5px 9px 5px 7px; }
  .gsource__g { width: 17px; height: 17px; }
  .gsource__text { font-size: 9px; letter-spacing: 0; }
  .draft-badge span { display: none; }
  .pager { justify-content: center; }
  .pager__btn { order: 2; }
  .pager__nums { order: 1; width: 100%; justify-content: center; }
  .home-blog__all { margin-bottom: 20px; }
}
