/* ============================================================
   TESS GROUP · BLOG STYLESHEET
   Shared by Blog-Index.html and Blog-Article.html
   Built on the TESS homepage v5 design system.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand */
  --pink: #E5097F;
  --pink-dark: #B81272;
  --pink-soft: #FCE4F0;
  --yellow: #FFC20E;
  --yellow-dark: #C58809;
  --teal: #14B8B8;
  --teal-light: #5DD8D8;
  --teal-soft: #DBF6F6;
  --orange: #F7941D;
  --green: #5BA631;
  --green-dark: #3F7A22;
  --blue: #1B75BC;
  --purple: #7C3AED;

  /* Neutrals */
  --ink: #0A1530;
  --ink-soft: #1A2342;
  --body: #3E434C;
  --slate: #5F6470;
  --slate-2: #8B909B;
  --slate-3: #C6C9D1;
  --line: #E5DFCE;
  --line-soft: #F1ECDC;

  /* Surfaces */
  --paper: #FFFFFF;
  --cream: #FFFBEF;
  --cream-2: #FAF5E5;
  --navy: #0A1530;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10,21,48,.04), 0 1px 2px rgba(10,21,48,.03);
  --shadow: 0 4px 16px -4px rgba(10,21,48,.08), 0 2px 6px -2px rgba(10,21,48,.04);
  --shadow-lg: 0 24px 48px -16px rgba(10,21,48,.18), 0 8px 16px -8px rgba(10,21,48,.06);
  --shadow-xl: 0 36px 80px -24px rgba(10,21,48,.25);
  --ease: cubic-bezier(.22,.61,.36,1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }
a { color: inherit; text-decoration: none; }
input, textarea { font-family: inherit; }
::selection { background: var(--pink); color: #fff; }

h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -.028em;
  line-height: 1.05;
  color: var(--ink);
  text-wrap: balance;
}
.serif {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.04em;
}
.mono { font-family: 'JetBrains Mono', monospace; }

.container { width: 100%; max-width: 1340px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) { .container { padding: 0 18px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 800;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--slate);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 700;
  letter-spacing: -.005em; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: all .2s var(--ease);
  cursor: pointer; text-decoration: none;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--pink); transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(229,9,127,.5); }
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: #FF1A8E; transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(229,9,127,.55); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #FFD43D; transform: translateY(-1px); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.30); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,.10); }
.btn-lg { padding: 15px 26px; font-size: 15px; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============ TOPBAR ============ */
.topbar { background: var(--ink); color: #fff; font-size: 12.5px; padding: 9px 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding: 0 32px; }
.topbar a { color: rgba(255,255,255,.85); font-weight: 600; }
.topbar a:hover { color: var(--yellow); }
.topbar .left { display: flex; gap: 16px; align-items: center; }
.topbar .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 11px;
  background: rgba(20,184,184,.18);
  border: 1px solid rgba(20,184,184,.40);
  border-radius: 999px;
  font-size: 11px; font-weight: 800;
  color: var(--teal-light);
  letter-spacing: .04em;
}
.topbar .pill .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-light); animation: pulseTeal 2s infinite; }
@keyframes pulseTeal {
  0% { box-shadow: 0 0 0 0 rgba(93,216,216,.7); }
  70% { box-shadow: 0 0 0 7px rgba(93,216,216,0); }
  100% { box-shadow: 0 0 0 0 rgba(93,216,216,0); }
}
.topbar .right { display: flex; gap: 14px; align-items: center; font-weight: 600; }
.topbar .right strong { color: #fff; }
.topbar .sep { color: rgba(255,255,255,.25); }
@media (max-width: 900px) { .topbar .left span:nth-child(2) { display: none; } }
@media (max-width: 760px) { .topbar { display: none; } }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,251,239,.92);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid rgba(10,21,48,.06);
  transition: background .2s, box-shadow .2s;
}
.nav.scrolled { background: rgba(255,251,239,.98); box-shadow: 0 4px 20px -8px rgba(10,21,48,.10); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 32px; gap: 18px;
  max-width: 1400px; margin: 0 auto;
}
@media (max-width: 768px) { .nav-inner { padding: 10px 18px; } }

.brand { display: inline-flex; align-items: center; flex-shrink: 0; transition: transform .15s; }
.brand:hover { transform: scale(1.03); }
.brand img {
  height: 48px; width: auto; display: block;
  max-width: 220px; object-fit: contain;
  background: #fff; border-radius: 12px;
  padding: 6px 12px;
  box-shadow: 0 4px 14px -4px rgba(10,21,48,.10);
  transition: box-shadow .2s, transform .2s;
}
.brand:hover img { box-shadow: 0 8px 22px -6px rgba(229,9,127,.25); }

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-item { position: relative; }
.nav-item > a {
  font-size: 14px; font-weight: 700;
  color: var(--ink); padding: 10px 14px; border-radius: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap; cursor: pointer;
  position: relative; letter-spacing: -.01em;
  transition: all .15s var(--ease);
}
.nav-item > a::after {
  content: ''; position: absolute;
  bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--pink);
  border-radius: 2px; transition: width .2s var(--ease);
}
.nav-item:hover > a { color: var(--pink); }
.nav-item:hover > a::after { width: calc(100% - 28px); }
.nav-item.active > a { color: var(--pink); }
.nav-item.active > a::after { width: calc(100% - 28px); }
.nav-item .caret { font-size: 9px; opacity: .45; transition: transform .2s var(--ease); }
.nav-item:hover .caret { transform: rotate(180deg); color: var(--pink); opacity: 1; }
@media (max-width: 1180px) { .nav-links { display: none; } }

.nav-cta { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.nav-cta .btn-primary {
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--pink) 0%, #B81272 100%);
  box-shadow: 0 8px 22px -8px rgba(229,9,127,.5);
  font-weight: 800;
}
.nav-cta .btn-primary:hover { background: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(229,9,127,.55); }

/* ============ CATEGORY COLOURS ============ */
.cat--ai { --cat: var(--teal); --cat-soft: var(--teal-soft); }
.cat--funding { --cat: var(--yellow-dark); --cat-soft: rgba(255,194,14,.18); }
.cat--leadership { --cat: var(--pink); --cat-soft: var(--pink-soft); }
.cat--case { --cat: var(--blue); --cat-soft: rgba(27,117,188,.12); }
.cat--guide { --cat: var(--ink); --cat-soft: rgba(10,21,48,.08); }
.cat--policy { --cat: var(--orange); --cat-soft: rgba(247,148,29,.14); }
.cat--tools { --cat: var(--purple); --cat-soft: rgba(124,58,237,.12); }
.cat--opinion { --cat: var(--green-dark); --cat-soft: rgba(91,166,49,.14); }

.cat-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--cat, var(--slate));
}
.cat-tag::before {
  content: ''; width: 8px; height: 8px;
  background: var(--cat, var(--pink));
  border-radius: 2px;
}

/* ============ INDEX: MASTHEAD ============ */
.masthead {
  position: relative;
  padding: 56px 0 28px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.masthead::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(10,21,48,.08) 1px, transparent 1.4px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 100%);
  pointer-events: none; z-index: 0; opacity: .55;
}
.masthead .container { position: relative; z-index: 1; }
.masthead-meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(10,21,48,.08);
  margin-bottom: 28px;
}
.masthead-meta .stamp {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate);
}
.masthead-meta .stamp .vol {
  font-family: 'JetBrains Mono', monospace;
  padding: 4px 10px;
  background: var(--ink); color: var(--cream);
  border-radius: 4px;
  letter-spacing: .08em;
}
.masthead-meta .stats { display: flex; gap: 24px; font-size: 12.5px; color: var(--slate); }
.masthead-meta .stats strong { color: var(--ink); font-weight: 800; }

.masthead-title {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 56px; align-items: end;
}
@media (max-width: 900px) { .masthead-title { grid-template-columns: 1fr; gap: 28px; } }
.masthead-title h1 {
  font-size: clamp(56px, 8.5vw, 132px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.045em;
}
.masthead-title h1 .serif {
  display: block;
  font-size: .85em;
  color: var(--pink);
  margin-top: -.02em;
}
.masthead-title .dek {
  font-size: 18px; line-height: 1.55;
  color: var(--body); max-width: 440px;
  padding-bottom: 8px;
}
.masthead-title .dek strong { color: var(--ink); font-weight: 700; }

/* ============ FEATURED ARTICLE ============ */
.featured {
  background: var(--cream);
  padding: 48px 0 64px;
  border-bottom: 1px solid var(--line);
}
.featured-card {
  position: relative;
  display: grid; grid-template-columns: 1fr 1.05fr;
  background: var(--ink); color: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  min-height: 460px;
}
@media (max-width: 880px) { .featured-card { grid-template-columns: 1fr; min-height: 0; } }
.featured-card-art {
  position: relative;
  background: linear-gradient(135deg, #2A1942 0%, #0A1530 65%);
  overflow: hidden;
  padding: 56px 48px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.featured-card-art::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(229,9,127,.35), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,194,14,.28), transparent 55%),
    radial-gradient(circle at 50% 60%, rgba(20,184,184,.22), transparent 60%);
  opacity: .85;
}
.featured-card-art::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 40%, transparent 100%);
}
.featured-card-art > * { position: relative; z-index: 1; }
.featured-card-art .stamp {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  background: rgba(255,194,14,.20);
  border: 1px solid rgba(255,194,14,.45);
  border-radius: 999px;
  color: var(--yellow);
  font-size: 11px; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  align-self: flex-start;
}
.featured-card-art .glyph {
  font-family: 'Fraunces', serif;
  font-style: italic; font-weight: 400;
  font-size: clamp(72px, 10vw, 144px);
  line-height: .9;
  color: rgba(255,255,255,.92);
}
.featured-card-art .glyph .pink { color: var(--pink); }
.featured-card-art .glyph .teal { color: var(--teal-light); }
.featured-card-art .glyph .yel { color: var(--yellow); }
.featured-card-art .timeline {
  display: flex; gap: 18px;
  align-items: center;
  font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 18px;
}
.featured-card-art .timeline .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-light); }
.featured-card-body {
  padding: 56px 56px;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 24px;
}
@media (max-width: 880px) { .featured-card-art, .featured-card-body { padding: 36px 28px; } }
.featured-card-body .meta-row {
  display: flex; align-items: center; gap: 14px;
  font-size: 11.5px; font-weight: 700;
  color: rgba(255,255,255,.55);
  letter-spacing: .12em; text-transform: uppercase;
}
.featured-card-body .meta-row .yellow { color: var(--yellow); }
.featured-card-body .meta-row .sep { color: rgba(255,255,255,.20); }
.featured-card-body h2 {
  color: #fff;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 18px 0 16px;
}
.featured-card-body p {
  font-size: 16px; line-height: 1.6;
  color: rgba(255,255,255,.72);
  max-width: 520px;
}
.featured-card-body .key-points {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
  margin-top: 22px;
}
.featured-card-body .kp {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; line-height: 1.4;
  color: rgba(255,255,255,.85);
}
.featured-card-body .kp::before {
  content: ''; flex-shrink: 0;
  width: 6px; height: 6px;
  background: var(--pink); border-radius: 50%;
  margin-top: 7px;
}
.featured-card-body .cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.featured-card-body .read-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: rgba(255,255,255,.45);
  letter-spacing: .08em; text-transform: uppercase;
}

/* ============ FILTER BAR ============ */
.filter-wrap {
  position: sticky;
  top: 72px; /* below nav */
  z-index: 50;
  background: rgba(255,251,239,.96);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.filter-wrap .container {
  display: flex; align-items: center; gap: 18px;
  padding-top: 14px; padding-bottom: 14px;
}
.filters {
  display: flex; gap: 6px; align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}
.filters::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  font-size: 13px; font-weight: 700;
  color: var(--ink);
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: transparent;
  cursor: pointer; white-space: nowrap;
  transition: all .15s var(--ease);
  letter-spacing: -.005em;
}
.chip:hover { background: var(--paper); border-color: var(--line); }
.chip.is-active {
  background: var(--ink); color: #fff;
  border-color: var(--ink);
}
.chip .count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 600;
  padding: 2px 6px;
  background: rgba(10,21,48,.08);
  border-radius: 4px;
  color: var(--slate);
}
.chip.is-active .count { background: rgba(255,255,255,.18); color: rgba(255,255,255,.85); }

.search {
  position: relative;
  width: 280px; flex-shrink: 0;
}
.search input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  font-size: 13.5px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.search input::placeholder { color: var(--slate-2); }
.search input:focus { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(229,9,127,.10); }
.search svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; color: var(--slate-2);
}
@media (max-width: 760px) { .search { display: none; } }

/* ============ SECTION HEADERS ============ */
.sec-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px;
  padding: 64px 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.sec-head .title {
  display: flex; align-items: baseline; gap: 16px;
}
.sec-head h2 {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800; letter-spacing: -.035em;
  line-height: 1;
}
.sec-head h2 .serif { display: inline; color: var(--pink); margin-right: .1em; }
.sec-head .count-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 700;
  padding: 5px 10px;
  background: var(--ink); color: var(--cream);
  border-radius: 4px;
  letter-spacing: .06em;
  position: relative; bottom: 4px;
}
.sec-head .lead {
  font-size: 14px; color: var(--slate);
  max-width: 380px; line-height: 1.55;
  padding-bottom: 6px;
}

/* ============ ARTICLE CARDS ============ */
.grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3 { grid-template-columns: 1fr; gap: 20px; } }

.grid-feat {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px 24px;
  margin-bottom: 36px;
}
@media (max-width: 980px) { .grid-feat { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-feat { grid-template-columns: 1fr; } }
.grid-feat > .card.is-hero { grid-row: span 2; }

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .15s;
  text-decoration: none;
  color: inherit;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--cat, var(--pink));
  box-shadow: 0 24px 48px -20px rgba(10,21,48,.18);
}
.card:hover .card-thumb .glyph { transform: scale(1.04); }
/* ============================================================
   CARD THUMB — slim editorial top, NO giant glyph.
   Category-coloured dotted texture + accent stripe + stamps.
   Designed to read as "newsroom card", not "magazine art".
   ============================================================ */
.card-thumb {
  position: relative;
  height: 6px;
  background: var(--cat, var(--ink));
  overflow: visible;
  border-bottom: 0;
  flex-shrink: 0;
}
/* Hide any legacy glyph markup if present — kept for backwards compat */
.card-thumb .glyph,
.card-thumb .glyph .sub { display: none !important; }

/* Stamps (Breaking, Hero pick, etc) — float above the card top, not in the thumb */
.card-thumb .stamp {
  position: absolute;
  top: 14px; right: 16px;          /* moved right so it never collides with the .cat-tag in the body */
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  z-index: 3;
  white-space: nowrap;
  box-shadow: 0 4px 12px -4px rgba(10,21,48,.20);
}
.card-thumb .stamp.urgent { background: var(--pink); color: #fff; }
.card-thumb .stamp.featured { background: var(--yellow); color: var(--ink); }
.card-body {
  flex: 1;
  display: flex; flex-direction: column;
  padding: 26px 24px 22px;
  gap: 12px;
}
.card-body .cat-tag { margin-bottom: 4px; }
.card-body h3 {
  font-size: 19px; font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.02em;
  color: var(--ink);
}
.card-body p {
  font-size: 13.5px; line-height: 1.55;
  color: var(--body);
}
.card-body .meta {
  margin-top: auto;
  display: flex; align-items: center;
  gap: 10px;
  padding-top: 16px;
  font-size: 11.5px; font-weight: 600;
  color: var(--slate);
  letter-spacing: .04em;
}
.card-body .meta .sep { width: 3px; height: 3px; background: var(--slate-3); border-radius: 50%; }
.card-body .meta .read { color: var(--cat, var(--ink)); font-weight: 700; }

/* Hero variant — same slim treatment, slightly thicker stripe */
.card.is-hero .card-thumb { height: 8px; }
.card.is-hero .card-body { padding: 32px 30px 28px; }
.card.is-hero h3 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.1; }
.card.is-hero p { font-size: 15.5px; }
/* The hero card spans 2 rows in the feat grid; ensure it doesn't grow unnecessarily */
.card.is-hero { min-height: 0; }

/* Compact list variant (used in lists, series) */
.card-list { display: flex; flex-direction: column; gap: 0; }
.card-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 22px; align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: padding .15s var(--ease);
}
.card-row:hover { padding-left: 8px; }
.card-row:hover h4 { color: var(--cat, var(--pink)); }
.card-row .idx {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 700;
  color: var(--cat, var(--slate));
  letter-spacing: .06em;
  padding: 8px 12px;
  background: var(--cat-soft, var(--cream-2));
  border-radius: 8px;
  text-align: center;
  white-space: nowrap;
}
.card-row h4 {
  font-size: 17px; font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--ink);
  transition: color .15s;
  margin-bottom: 4px;
}
.card-row .dek { font-size: 13px; line-height: 1.5; color: var(--slate); max-width: 640px; }
.card-row .meta-r {
  text-align: right;
  font-size: 11px; font-weight: 700;
  color: var(--slate);
  letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
}
.card-row .meta-r .read { display: block; font-family: 'JetBrains Mono', monospace; color: var(--cat, var(--ink)); margin-top: 4px; font-size: 10.5px; }
@media (max-width: 640px) {
  .card-row { grid-template-columns: 56px 1fr; padding: 18px 0; }
  .card-row .meta-r { display: none; }
  .card-row .dek { display: none; }
}

/* ============ TOPIC BLOCKS ============ */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .topics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .topics-grid { grid-template-columns: 1fr; } }
.topic {
  display: block;
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform .2s var(--ease), border-color .15s, box-shadow .2s;
  text-decoration: none; color: inherit;
}
.topic:hover {
  transform: translateY(-3px);
  border-color: var(--cat, var(--pink));
  box-shadow: var(--shadow-lg);
}
.topic .ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--cat-soft, var(--pink-soft));
  color: var(--cat, var(--pink));
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 24px; font-weight: 500;
  margin-bottom: 18px;
}
.topic h3 {
  font-size: 18px; font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.topic p {
  font-size: 13.5px; line-height: 1.5;
  color: var(--slate);
  margin-bottom: 14px;
}
.topic .count {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 800;
  color: var(--cat, var(--pink));
  letter-spacing: .08em; text-transform: uppercase;
}
.topic .count::after { content: '→'; transition: transform .15s; }
.topic:hover .count::after { transform: translateX(3px); }

/* ============ NEWSLETTER ============ */
.newsletter {
  background: var(--ink); color: #fff;
  padding: 84px 0;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 12% 30%, rgba(229,9,127,.30), transparent 45%),
    radial-gradient(circle at 88% 70%, rgba(20,184,184,.20), transparent 50%);
}
.newsletter::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 40%, transparent 100%);
}
.newsletter .container { position: relative; z-index: 1; }
.newsletter-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 56px; align-items: center;
}
@media (max-width: 880px) { .newsletter-grid { grid-template-columns: 1fr; gap: 32px; } }
.newsletter h2 {
  color: #fff;
  font-size: clamp(32px, 4.5vw, 54px);
  letter-spacing: -.035em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.newsletter h2 .serif { color: var(--yellow); display: inline; margin-right: .12em; }
.newsletter p {
  color: rgba(255,255,255,.72);
  font-size: 17px; line-height: 1.55;
  max-width: 480px;
}
.newsletter-form {
  display: flex; gap: 8px; align-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 6px;
  backdrop-filter: blur(8px);
}
.newsletter-form input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: 0;
  padding: 12px 18px;
  color: #fff; font-size: 14.5px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.50); }
.newsletter-form button {
  padding: 12px 22px;
  background: var(--pink); color: #fff;
  border-radius: 999px;
  font-size: 14px; font-weight: 800;
  transition: all .2s var(--ease);
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--yellow); color: var(--ink); transform: translateX(2px); }
.newsletter-perks {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin-top: 18px;
  font-size: 12px; color: rgba(255,255,255,.55);
  letter-spacing: .04em;
}
.newsletter-perks span { display: inline-flex; align-items: center; gap: 6px; }
.newsletter-perks span::before {
  content: '✓';
  color: var(--teal-light);
  font-weight: 800;
}

/* ============ FOOTER ============ */
.footer {
  background: linear-gradient(180deg, #050817 0%, #0a0f24 100%);
  color: rgba(255,255,255,.72);
  padding: 80px 0 36px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: ''; position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(circle, rgba(229,9,127,.15), transparent 60%);
  pointer-events: none; z-index: 0;
}
.footer .container { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img {
  height: 52px; width: auto;
  background: #fff;
  border-radius: 12px;
  padding: 8px 14px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,.30);
}
.footer-brand p { font-size: 14px; line-height: 1.65; max-width: 360px; margin-bottom: 22px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-contact a {
  color: #fff; font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .15s;
}
.footer-contact a:hover { color: var(--pink); }
.footer-contact .small { font-size: 12.5px; color: rgba(255,255,255,.50); font-weight: 500; line-height: 1.5; padding-top: 4px; }
.footer-trust { display: flex; gap: 16px; align-items: center; margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-trust-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,.85);
}
.footer-trust-pill.ofsted { color: #93d465; border-color: rgba(91,166,49,.30); background: rgba(91,166,49,.10); }
.footer-trust-pill.stars { color: var(--yellow); border-color: rgba(255,194,14,.30); background: rgba(255,194,14,.10); }
.footer-col h4 {
  color: #fff;
  font-size: 12.5px; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase;
  margin-bottom: 22px; padding-bottom: 14px;
  position: relative;
}
.footer-col h4::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; width: 24px; height: 2px;
  background: var(--pink);
  border-radius: 2px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(255,255,255,.65);
  padding: 7px 0;
  transition: all .15s;
}
.footer-col a:hover { color: #fff; padding-left: 8px; }
.footer-bottom {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px;
  align-items: end;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 11.5px;
  color: rgba(255,255,255,.40);
}
@media (max-width: 768px) { .footer-bottom { grid-template-columns: 1fr; } }
.footer-bottom-keywords { line-height: 1.55; color: rgba(255,255,255,.32); }
.footer-bottom .legal { text-align: right; font-size: 11px; color: rgba(255,255,255,.55); line-height: 1.7; }
@media (max-width: 768px) { .footer-bottom .legal { text-align: left; } }

/* ============ ARTICLE PAGE ============ */
.article-head {
  background: var(--cream);
  padding: 56px 0 0;
  position: relative;
  overflow: hidden;
}
.article-head::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(10,21,48,.08) 1px, transparent 1.4px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 60% 50% at 70% 20%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 70% 20%, #000 30%, transparent 100%);
  pointer-events: none; opacity: .5;
}
.article-head .container { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: baseline; gap: 4px 8px;
  flex-wrap: wrap;
  font-size: 12.5px; font-weight: 700;
  color: var(--slate);
  letter-spacing: .04em;
  line-height: 1.6;
  margin-bottom: 32px;
}
.breadcrumb a, .breadcrumb .current { white-space: nowrap; }
.breadcrumb a { color: var(--slate); transition: color .15s; padding: 2px 2px; }
.breadcrumb a:hover { color: var(--pink); }
.breadcrumb .sep { color: var(--slate-3); opacity: .6; padding: 0 2px; }
.breadcrumb .current { color: var(--ink); }

.article-head-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
  align-items: end;
  padding-bottom: 48px;
}
@media (max-width: 960px) { .article-head-inner { grid-template-columns: 1fr; gap: 32px; } }

.article-head .stamp-row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
}
.article-head .stamp-row .urgent {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--pink); color: #fff;
  border-radius: 6px;
  font-size: 10.5px; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
}
.article-head h1 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.02;
  margin-bottom: 22px;
}
.article-head h1 .serif {
  display: inline; color: var(--pink);
  margin-right: .08em;
}
.article-head .dek {
  font-size: 21px;
  line-height: 1.5;
  color: var(--body);
  max-width: 760px;
  text-wrap: pretty;
}
.article-head .meta-row {
  display: flex; align-items: center; gap: 20px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(10,21,48,.10);
  flex-wrap: wrap;
}
.article-head .author {
  display: flex; align-items: center; gap: 12px;
}
.article-head .author .avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800; font-size: 14px;
  letter-spacing: .02em;
}
.article-head .author .name { font-size: 14px; font-weight: 800; color: var(--ink); display: block; }
.article-head .author .role { font-size: 12px; color: var(--slate); display: block; margin-top: 2px; }
.article-head .meta-row .sep { width: 1px; height: 32px; background: var(--line); }
.article-head .meta-info {
  display: flex; flex-direction: column; gap: 2px;
  font-size: 12px; color: var(--slate);
}
.article-head .meta-info strong { color: var(--ink); font-weight: 700; font-size: 13px; }

.article-head .share { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.article-head .share-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--slate);
  transition: all .15s var(--ease);
}
.article-head .share-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-1px); }
.article-head .share-btn svg { width: 14px; height: 14px; }

.article-aside-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.article-aside-card h4 {
  font-size: 11px; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 14px;
}
.article-aside-card .kp {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; line-height: 1.5;
  color: var(--ink);
  padding: 6px 0;
}
.article-aside-card .kp::before {
  content: ''; flex-shrink: 0;
  width: 6px; height: 6px;
  background: var(--pink); border-radius: 50%;
  margin-top: 7px;
}

.article-hero-art {
  position: relative;
  height: 280px;
  background: linear-gradient(135deg, #2A1942 0%, #0A1530 65%);
  overflow: hidden;
  margin-bottom: 56px;
}
.article-hero-art::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(229,9,127,.35), transparent 50%),
    radial-gradient(circle at 75% 70%, rgba(255,194,14,.28), transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(20,184,184,.22), transparent 60%);
}
.article-hero-art::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1.4px);
  background-size: 22px 22px;
}
.article-hero-art .glyph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-style: italic; font-weight: 400;
  font-size: clamp(72px, 12vw, 200px);
  line-height: 1;
  color: rgba(255,255,255,.92);
}
.article-hero-art .glyph .pink { color: var(--pink); }
.article-hero-art .glyph .yel { color: var(--yellow); }
.article-hero-art .glyph .teal { color: var(--teal-light); }

/* ============ ARTICLE BODY ============ */
.article-body {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 280px;
  gap: 56px;
  padding-bottom: 96px;
}
@media (max-width: 1100px) { .article-body { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; } .article-body .article-aside-right { display: none; } }
@media (max-width: 820px) { .article-body { grid-template-columns: 1fr; gap: 24px; } .article-body .article-toc { display: none; } }

.article-toc {
  position: sticky; top: 96px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.article-toc h4 {
  font-size: 11px; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 18px;
}
.article-toc ol {
  list-style: none;
  border-left: 1px solid var(--line);
  padding: 0;
}
.article-toc li { display: block; }
.article-toc a {
  display: block;
  padding: 8px 0 8px 18px;
  font-size: 13px; line-height: 1.4;
  color: var(--slate);
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: all .15s var(--ease);
}
.article-toc a:hover { color: var(--ink); border-color: var(--pink); padding-left: 22px; }
.article-toc a.is-active { color: var(--pink); border-color: var(--pink); font-weight: 700; }

.prose {
  font-size: 18px;
  line-height: 1.7;
  color: var(--body);
  max-width: 720px;
}
.prose > * + * { margin-top: 1.4em; }
.prose h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
  color: var(--ink);
  margin: 2em 0 .6em;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h2 .num {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 700;
  color: var(--pink);
  letter-spacing: .15em; text-transform: uppercase;
  margin-bottom: 14px;
}
.prose h3 {
  font-size: 22px; font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 1.6em 0 .4em;
}
.prose p { color: var(--body); text-wrap: pretty; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--pink); border-bottom: 1px solid rgba(229,9,127,.30); transition: all .15s; }
.prose a:hover { background: var(--pink-soft); border-color: var(--pink); }
/* Buttons inside .prose keep their own button styling — the generic
   .prose a pinkifies link colour, which breaks .btn-pink (pink-on-pink)
   and over-decorates the other btn variants with an underline. */
.prose a.btn { border-bottom: 0; transition: all .2s var(--ease); }
.prose a.btn:hover { background: inherit; border-bottom: 0; }
.prose a.btn-primary { color: #fff; }
.prose a.btn-primary:hover { background: var(--pink); color: #fff; }
.prose a.btn-pink { color: #fff; background: var(--pink); }
.prose a.btn-pink:hover { background: #FF1A8E; color: #fff; }
.prose a.btn-yellow { color: var(--ink); background: var(--yellow); }
.prose a.btn-yellow:hover { background: #FFD43D; color: var(--ink); }
.prose a.btn-ghost { color: var(--ink); background: transparent; }
.prose a.btn-ghost:hover { background: var(--ink); color: #fff; }
.prose a.btn-ghost-light { color: #fff; background: transparent; }
.prose a.btn-ghost-light:hover { background: rgba(255,255,255,.10); color: #fff; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-top: .4em; padding-left: .25em; }
.prose ul li::marker { color: var(--pink); }
.prose ol li::marker { color: var(--pink); font-weight: 800; }

/* Dropcap on first paragraph */
.prose > p.lead {
  font-size: 22px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
}
.prose > p.lead::first-letter {
  float: left;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 5em;
  line-height: .85;
  padding: 6px 14px 0 0;
  color: var(--pink);
}

/* Pull quote */
.pull-quote {
  display: block;
  padding: 12px 0 12px 32px;
  margin: 2em 0 !important;
  border-left: 4px solid var(--pink);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--ink);
  text-wrap: balance;
}
.pull-quote cite {
  display: block;
  margin-top: 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-style: normal;
  font-size: 12px; font-weight: 800;
  color: var(--slate);
  letter-spacing: .14em; text-transform: uppercase;
}

/* Callouts */
.callout {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px 24px;
  background: var(--cream-2);
  border-radius: 14px;
  margin: 2em 0 !important;
}
.callout--tess { background: var(--pink-soft); }
.callout--tess .callout-ic { background: var(--pink); color: #fff; }
.callout--key { background: rgba(255,194,14,.16); }
.callout--key .callout-ic { background: var(--yellow); color: var(--ink); }
.callout--data { background: var(--teal-soft); }
.callout--data .callout-ic { background: var(--teal); color: #fff; }
.callout-ic {
  width: 44px; height: 44px;
  background: var(--ink); color: #fff;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 22px;
  align-self: start;
}
.callout-body h5 {
  font-size: 11px; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}
.callout-body p {
  font-size: 16px !important;
  line-height: 1.55 !important;
  color: var(--ink) !important;
  margin: 0 !important;
  text-wrap: pretty;
}

/* Data table inside prose */
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.prose table th, .prose table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
}
.prose table th {
  background: var(--cream-2);
  font-weight: 800;
  color: var(--ink);
  font-size: 11.5px;
  letter-spacing: .1em; text-transform: uppercase;
}
.prose table tr:last-child td { border-bottom: 0; }
.prose table tbody tr:hover { background: var(--cream); }

/* Inline CTA card */
.inline-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px; align-items: center;
  margin: 2.4em 0 !important;
  padding: 28px 32px;
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}
.inline-cta::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 0% 50%, rgba(229,9,127,.30), transparent 50%),
    radial-gradient(circle at 100% 50%, rgba(255,194,14,.18), transparent 50%);
  pointer-events: none;
}
.inline-cta > * { position: relative; z-index: 1; }
.inline-cta h4 {
  color: #fff;
  font-size: 20px; font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.inline-cta p {
  color: rgba(255,255,255,.72) !important;
  font-size: 14px !important;
  margin: 0 !important;
}
@media (max-width: 640px) { .inline-cta { grid-template-columns: 1fr; padding: 22px 24px; } }

/* Aside right column */
.article-aside-right { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 24px; }
.aside-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.aside-block h4 {
  font-size: 11px; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 14px;
}
.aside-block .aside-cta {
  background: var(--ink); color: #fff;
  border-radius: 12px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.aside-block .aside-cta h5 {
  color: #fff;
  font-size: 16px; font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.aside-block .aside-cta p {
  font-size: 12.5px; line-height: 1.5;
  color: rgba(255,255,255,.65);
  margin-bottom: 14px;
}
.aside-related {
  display: flex; flex-direction: column; gap: 0;
}
.aside-related a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: all .15s var(--ease);
}
.aside-related a:last-child { border-bottom: 0; padding-bottom: 0; }
.aside-related a:first-child { padding-top: 0; }
.aside-related a:hover h6 { color: var(--pink); }
.aside-related .meta-r {
  font-size: 10.5px; font-weight: 700;
  color: var(--slate-2);
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 4px;
}
.aside-related h6 {
  font-size: 13.5px; font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -.01em;
  transition: color .15s;
}

/* Tags row */
.article-tags {
  max-width: 720px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.article-tags .label {
  font-size: 11px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate);
  margin-right: 6px;
}
.article-tags a {
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  color: var(--body);
  transition: all .15s;
}
.article-tags a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Continue reading band */
.continue-band {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 72px 0;
}

/* Reading progress bar */
.read-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--pink) 0%, var(--yellow) 50%, var(--teal) 100%);
  z-index: 200;
  transition: width .1s linear;
  box-shadow: 0 0 12px rgba(229,9,127,.4);
}

/* ============================================================
   NEWS / OPINION ARTICLE VARIANT
   Lighter top, no TOC, single-column body
   ============================================================ */
.news-head {
  background: var(--cream);
  padding: 56px 0 40px;
  position: relative; overflow: hidden;
}
.news-head::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(10,21,48,.08) 1px, transparent 1.4px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 80% 30%, #000 25%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 80% 30%, #000 25%, transparent 100%);
  opacity: .45;
}
.news-head .container { position: relative; z-index: 1; max-width: 980px; }
.news-head .label-row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px; flex-wrap: wrap;
}
.news-head .label-row .stamp {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--ink); color: #fff;
  border-radius: 6px;
  font-size: 11px; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
}
.news-head .label-row .stamp.breaking { background: var(--pink); }
.news-head .label-row .stamp.opinion { background: var(--green); }
.news-head h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.news-head h1 .serif { display: inline; color: var(--pink); margin-right: .1em; }
.news-head .dek {
  font-size: 19px; line-height: 1.55;
  color: var(--body);
  max-width: 720px;
}
.news-head .meta-row {
  display: flex; align-items: center; gap: 18px;
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid rgba(10,21,48,.10);
  flex-wrap: wrap;
  font-size: 12.5px; color: var(--slate);
  font-weight: 600;
}
.news-head .meta-row strong { color: var(--ink); font-weight: 700; }
.news-head .meta-row .sep { color: var(--slate-3); }
.news-head .meta-row .share { margin-left: auto; display: flex; gap: 8px; }
.news-head .meta-row .share-btn {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line);
  color: var(--slate);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .15s var(--ease);
}
.news-head .meta-row .share-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.news-head .meta-row .share-btn svg { width: 13px; height: 13px; }

.news-body {
  padding: 56px 0 96px;
}
.news-body .container { max-width: 760px; }
.news-body .prose { max-width: none; font-size: 18px; }

/* ============================================================
   CASE STUDY ARTICLE VARIANT
   Client logo + result stat + quote-led intro
   ============================================================ */
.case-head {
  background: var(--ink); color: #fff;
  padding: 64px 0 80px;
  position: relative; overflow: hidden;
}
.case-head::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(229,9,127,.25), transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(20,184,184,.20), transparent 55%);
}
.case-head::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 40%, transparent 100%);
}
.case-head .container { position: relative; z-index: 1; }
.case-head .breadcrumb { color: rgba(255,255,255,.55); margin-bottom: 36px; }
.case-head .breadcrumb a { color: rgba(255,255,255,.65); }
.case-head .breadcrumb a:hover { color: var(--yellow); }
.case-head .breadcrumb .sep { color: rgba(255,255,255,.30); }
.case-head .breadcrumb .current { color: #fff; }

.case-head-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .case-head-grid { grid-template-columns: 1fr; gap: 40px; } }

.case-head-grid .client-row {
  display: flex; align-items: center; gap: 18px;
  padding: 14px 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  margin-bottom: 26px; max-width: max-content;
}
.case-head-grid .client-row .logo {
  width: 48px; height: 48px;
  background: #fff; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 16px;
  color: var(--ink); letter-spacing: -.02em;
}
.case-head-grid .client-row .info { display: flex; flex-direction: column; }
.case-head-grid .client-row .info strong { font-size: 14px; font-weight: 800; color: #fff; }
.case-head-grid .client-row .info span { font-size: 12px; color: rgba(255,255,255,.55); }

.case-head-grid h1 {
  color: #fff;
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.05;
  margin-bottom: 22px;
}
.case-head-grid h1 .serif { color: var(--yellow); display: inline; margin-right: .1em; }
.case-head-grid .dek {
  font-size: 19px; line-height: 1.55;
  color: rgba(255,255,255,.72);
  max-width: 600px;
}

.case-stats {
  display: grid; gap: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
}
.case-stat {
  padding: 22px 26px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.case-stat:last-child { border-bottom: 0; }
.case-stat .num {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: #fff;
  margin-bottom: 6px;
}
.case-stat .num.pink { color: var(--pink); }
.case-stat .num.yel { color: var(--yellow); }
.case-stat .num.teal { color: var(--teal-light); }
.case-stat .num .serif { font-size: .55em; vertical-align: 0.2em; color: rgba(255,255,255,.5); margin-left: 6px; }
.case-stat .lbl {
  font-size: 11px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

.case-quote-band {
  background: var(--cream);
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.case-quote-band .container { max-width: 920px; }
.case-quote-band .big-quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: 28px;
}
.case-quote-band .big-quote::before {
  content: '“';
  display: block;
  font-size: 1.8em;
  line-height: .5;
  color: var(--pink);
  margin-bottom: 18px;
}
.case-quote-band .attribution {
  display: flex; align-items: center; gap: 14px;
}
.case-quote-band .attribution .avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800; font-size: 18px;
  letter-spacing: .02em;
}
.case-quote-band .attribution .meta { display: flex; flex-direction: column; }
.case-quote-band .attribution .name { font-size: 15px; font-weight: 800; color: var(--ink); }
.case-quote-band .attribution .role { font-size: 13px; color: var(--slate); margin-top: 2px; }

.case-snapshot {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 28px;
  margin: 2.4em 0;
}
.case-snapshot .item .lbl {
  font-size: 11px; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 6px;
}
.case-snapshot .item .val {
  font-size: 16px; font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
@media (max-width: 640px) { .case-snapshot { grid-template-columns: 1fr; gap: 14px; } }

.case-section-num {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 700;
  padding: 4px 10px;
  background: var(--pink); color: #fff;
  border-radius: 4px;
  letter-spacing: .08em;
  margin-bottom: 18px;
}

/* ============================================================
   TIER AUDIT DOC
   ============================================================ */
.audit-head {
  background: var(--cream);
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.audit-head::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(10,21,48,.08) 1px, transparent 1.4px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 20%, #000 25%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 20%, #000 25%, transparent 100%);
  opacity: .45;
}
.audit-head .container { position: relative; z-index: 1; }
.audit-head .stamp {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px;
  background: var(--ink); color: var(--cream);
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em;
  margin-bottom: 22px;
}
.audit-head h1 {
  font-size: clamp(40px, 5.5vw, 68px);
  letter-spacing: -.035em;
  line-height: 1.04;
  margin-bottom: 22px;
}
.audit-head h1 .serif { color: var(--pink); display: inline; margin-right: .1em; }
.audit-head .dek {
  font-size: 18px; color: var(--body);
  line-height: 1.55; max-width: 720px;
}

.audit-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}
@media (max-width: 800px) { .audit-summary { grid-template-columns: repeat(2, 1fr); } }
.audit-summary .stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}
.audit-summary .stat .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 32px; font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.audit-summary .stat .num.pink { color: var(--pink); }
.audit-summary .stat .num.yel { color: var(--yellow-dark); }
.audit-summary .stat .num.teal { color: var(--teal); }
.audit-summary .stat .num.slate { color: var(--slate); }
.audit-summary .stat .lbl {
  font-size: 11px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate);
}

.tier-block {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.tier-block:last-child { border-bottom: 0; }
.tier-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.tier-head .lhs { display: flex; align-items: center; gap: 16px; }
.tier-head .badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  letter-spacing: .08em;
}
.tier-head .badge.hero { background: var(--pink); color: #fff; }
.tier-head .badge.standard { background: var(--ink); color: #fff; }
.tier-head .badge.light { background: var(--cream-2); color: var(--ink); border: 1px solid var(--line); }
.tier-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -.03em;
  line-height: 1;
}
.tier-head .lead {
  font-size: 14px; color: var(--slate);
  max-width: 480px; line-height: 1.55;
}

.audit-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 130px 140px 160px;
  gap: 16px; align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.audit-row:hover { background: rgba(229,9,127,.02); }
.audit-row .glyph-mini {
  width: 44px; height: 44px;
  background: var(--cat-soft, var(--cream-2));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--cat, var(--ink));
  border: 1px solid var(--line);
}
.audit-row .title {
  font-size: 14.5px; font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
  line-height: 1.35;
}
.audit-row .title .date {
  display: block; margin-top: 3px;
  font-size: 11px; font-weight: 600;
  color: var(--slate-2);
}
.audit-row .pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: var(--cat-soft, var(--cream-2));
  color: var(--cat, var(--ink));
  border-radius: 999px;
  font-size: 10.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  max-width: max-content;
}
.audit-row .template {
  font-size: 11.5px; font-weight: 700;
  color: var(--slate);
  letter-spacing: .04em; text-transform: uppercase;
}
.audit-row .action {
  font-size: 12.5px; font-weight: 600;
  color: var(--body);
  line-height: 1.4;
}
.audit-row .action strong { color: var(--ink); }
@media (max-width: 900px) {
  .audit-row { grid-template-columns: 40px 1fr; }
  .audit-row .pill, .audit-row .template, .audit-row .action { grid-column: 2; padding-left: 0; font-size: 11px; }
  .audit-row .action { display: none; }
}

/* ============================================================
   HANDOFF PACK
   ============================================================ */
.handoff-toc {
  position: sticky; top: 96px;
  align-self: start;
}
.handoff-toc h4 {
  font-size: 11px; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 18px;
}
.handoff-toc ol {
  list-style: none; padding: 0;
  border-left: 1px solid var(--line);
}
.handoff-toc li { display: block; }
.handoff-toc a {
  display: block;
  padding: 8px 0 8px 18px;
  font-size: 13px; line-height: 1.4;
  color: var(--slate);
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: all .15s var(--ease);
}
.handoff-toc a:hover, .handoff-toc a.is-active { color: var(--pink); border-color: var(--pink); font-weight: 700; padding-left: 22px; }

.code-block {
  background: #0A1530;
  color: #DBF6F6;
  border-radius: 12px;
  padding: 18px 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.55;
  margin: 1.4em 0;
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,.10);
}
.code-block .com { color: #8B909B; }
.code-block .key { color: var(--yellow); }
.code-block .str { color: var(--teal-light); }
.code-block .tag { color: var(--pink); }

.spec-block {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.5;
}
.spec-block:last-child { border-bottom: 0; }
.spec-block .key {
  font-weight: 800;
  color: var(--ink);
  font-size: 12.5px;
  letter-spacing: .04em;
}
.spec-block .val { color: var(--body); }
.spec-block .val code {
  background: var(--cream-2);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--pink);
}
@media (max-width: 680px) { .spec-block { grid-template-columns: 1fr; gap: 4px; } }


/* ================================================================
   ARTICLE COMPONENTS — reusable on ANY long-form post.
   Pulled in from the 9-Questions article so they can be applied
   by class name (no inline CSS needed per article).
   Components: .article-chapter / .article-answers / .stat-block /
               .state-cta / .authors-block
   ================================================================ */

/* ---------- Chapter section (big numbered editorial breaks) ---------- */
.article-chapter {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 32px;
  align-items: start;
  margin: 3.2em 0 1em !important;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.article-chapter:first-of-type {
  padding-top: 0; border-top: 0; margin-top: 1em !important;
}
.article-chapter .num-big {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(64px, 7vw, 96px);
  line-height: .85;
  color: var(--pink);
  letter-spacing: -.04em;
  display: block;
  position: sticky;
  top: 100px;
}
.article-chapter .num-big::after {
  content: ''; display: block;
  width: 36px; height: 3px;
  background: var(--pink); border-radius: 2px;
  margin-top: 14px;
}
.article-chapter h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.15;
  color: var(--ink);
  border-top: 0 !important; padding-top: 0 !important;
  margin-top: 8px !important;
}
.article-chapter .why {
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--cream-2);
  border-left: 3px solid var(--yellow);
  border-radius: 0 8px 8px 0;
}
.article-chapter .why .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--yellow-dark); display: block;
  margin-bottom: 4px;
}
.article-chapter .why p {
  font-size: 15px !important; line-height: 1.55 !important;
  margin: 0 !important; color: var(--ink) !important;
}
@media (max-width: 720px) {
  .article-chapter { grid-template-columns: 1fr; gap: 16px; }
  .article-chapter .num-big { position: static; }
}

/* ---------- Answers section (Q-and-our-A reversal pattern) ---------- */
.article-answers {
  background: var(--cream-2);
  border-radius: 22px;
  padding: 48px 40px;
  margin: 3em 0 !important;
}
@media (max-width: 720px) { .article-answers { padding: 32px 24px; } }
.article-answers .head-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: end;
  margin-bottom: 36px;
}
@media (max-width: 820px) { .article-answers .head-row { grid-template-columns: 1fr; gap: 18px; } }
.article-answers .head-row .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--pink); margin-bottom: 10px;
}
.article-answers .head-row h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.05;
  border: 0 !important; padding: 0 !important; margin: 0 !important;
}
.article-answers .head-row h3 .serif { color: var(--pink); display: inline; }
.article-answers .head-row p {
  font-size: 15px !important;
  color: var(--slate) !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}
.answer-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  transition: all .15s var(--ease);
}
.answer-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 18px -10px rgba(20,184,184,.30);
  transform: translateY(-1px);
}
.answer-card .check {
  width: 36px; height: 36px;
  background: var(--teal-soft);
  color: var(--teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800;
  flex-shrink: 0; margin-top: 4px;
}
.answer-card .body { font-family: 'Plus Jakarta Sans', sans-serif; }
.answer-card .q {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 6px;
}
.answer-card .q .qnum { color: var(--pink); margin-right: 8px; }
.answer-card .a {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-style: normal !important;
  font-size: 15px !important; line-height: 1.55 !important;
  color: var(--ink) !important;
  font-weight: 500; margin: 0 !important;
  letter-spacing: -.005em;
}
.answer-card .a strong { color: var(--ink); font-weight: 800; }

/* ---------- Stat block (4-up dark stats with coloured numerals) ---------- */
.stat-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--ink); color: #fff;
  border-radius: 22px;
  overflow: hidden;
  margin: 2.4em 0 !important;
  position: relative;
}
.stat-block::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(229,9,127,.20), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(20,184,184,.18), transparent 50%);
}
@media (max-width: 720px) { .stat-block { grid-template-columns: 1fr 1fr; } }
.stat-block .stat {
  padding: 28px 24px;
  border-right: 1px solid rgba(255,255,255,.10);
  position: relative; z-index: 1;
}
.stat-block .stat:last-child { border-right: 0; }
@media (max-width: 720px) {
  .stat-block .stat:nth-child(2) { border-right: 0; }
  .stat-block .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.10); }
}
.stat-block .stat .lbl {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-bottom: 8px;
}
.stat-block .stat .num {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800; letter-spacing: -.035em; line-height: 1;
  color: #fff; margin-bottom: 4px;
}
.stat-block .stat .num.pink { color: #FF6BBD; }
.stat-block .stat .num.yel  { color: var(--yellow); }
.stat-block .stat .num.teal { color: var(--teal-light); }
.stat-block .stat .sub {
  font-size: 12px; color: rgba(255,255,255,.6);
  font-weight: 600; line-height: 1.4;
}

/* ---------- Reader-state CTA (3 colour variants) ---------- */
.state-cta {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 6px solid var(--pink);
  border-radius: 12px;
  padding: 22px 26px;
  margin: 1.6em 0 !important;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}
@media (max-width: 640px) { .state-cta { grid-template-columns: 1fr; } }
.state-cta.teal { border-left-color: var(--teal); }
.state-cta.yel  { border-left-color: var(--yellow); }
.state-cta .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 4px; display: block;
}
.state-cta.teal .lbl { color: var(--teal); }
.state-cta.yel .lbl  { color: var(--yellow-dark); }
.state-cta strong {
  font-size: 16.5px; font-weight: 800;
  letter-spacing: -.015em;
  color: var(--ink);
  display: block; margin-bottom: 4px;
}
.state-cta p {
  font-size: 14px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  color: var(--body) !important;
}

/* ---------- Authors block ---------- */
.authors-block {
  margin: 4em 0 0 !important;
  padding: 36px 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.authors-block .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 24px; display: block;
}
.authors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 720px) { .authors-grid { grid-template-columns: 1fr; gap: 18px; } }
.author-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
}
.author-card .avatar {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800; font-size: 22px;
  letter-spacing: .01em;
  box-shadow: 0 10px 20px -8px rgba(229,9,127,.35);
}
.author-card.alt .avatar {
  background: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
  box-shadow: 0 10px 20px -8px rgba(20,184,184,.35);
}
.author-card .name {
  font-size: 18px; font-weight: 800;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0 0 2px;
}
.author-card .role {
  font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 10px;
}
.author-card.alt .role { color: var(--teal); }
.author-card p {
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: var(--body) !important;
  margin: 0 0 10px !important;
}
.author-card .links { display: flex; gap: 10px; margin-top: 8px; }
.author-card .links a {
  width: 28px; height: 28px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--slate);
  transition: all .15s var(--ease);
}
.author-card .links a:hover {
  background: var(--ink); color: #fff; border-color: var(--ink);
  transform: translateY(-1px);
}
.author-card .links svg { width: 12px; height: 12px; }
.authors-block .joint-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 16px; line-height: 1.5;
  color: var(--slate);
  text-wrap: balance;
}

/* Drop-cap colour tweak (pink) for any article using p.lead */
.prose > p.lead::first-letter { color: var(--pink); }


/* ================================================================
   BLOG END CTA — the unified pink-to-orange band that closes every
   post. Styled like the /book page hero. Sits after .authors-block,
   before .continue-band. Apply via class name; no inline styles.
   ================================================================ */
.blog-end-cta {
  position: relative;
  margin: 4em 0 2.5em !important;
  padding: 56px 56px 52px;
  background: linear-gradient(135deg, var(--pink) 0%, #FF5A6A 50%, var(--orange) 100%);
  color: #fff;
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.blog-end-cta::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.18) 1px, transparent 1.4px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 70% at 20% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 20% 30%, #000 30%, transparent 100%);
  pointer-events: none; opacity: .9;
}
.blog-end-cta > * { position: relative; z-index: 1; }
.blog-end-cta .eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 800;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  display: inline-block;
  padding: 5px 12px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  margin-bottom: 18px;
}
.blog-end-cta h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 3.4vw, 44px) !important;
  font-weight: 800;
  line-height: 1.05 !important;
  letter-spacing: -.03em;
  color: #fff !important;
  margin: 0 0 18px !important;
  text-wrap: balance;
  border: 0 !important; padding: 0 !important;
}
.blog-end-cta h3 .serif {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--yellow);
  letter-spacing: -.03em;
  display: inline;
}
.blog-end-cta p.intro {
  font-size: 15.5px !important;
  line-height: 1.55 !important;
  color: rgba(255,255,255,.92) !important;
  margin: 0 0 22px !important;
}
.blog-end-cta p.intro strong { color: #fff; }
.blog-end-cta ul {
  list-style: none;
  padding: 0 !important;
  margin: 0 0 28px !important;
  display: flex; flex-direction: column; gap: 10px;
}
.blog-end-cta ul li {
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255,255,255,.95);
  padding-left: 26px;
  position: relative;
  line-height: 1.4;
  margin: 0 !important;
}
.blog-end-cta ul li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 14px; height: 14px;
  background: rgba(255,255,255,.92);
  border-radius: 4px;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}
.blog-end-cta .cta-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}
.blog-end-cta .cta-row a.btn {
  border-bottom: 0 !important;
}
.blog-end-cta .btn-primary,
.prose .blog-end-cta a.btn-primary {
  background: #fff !important;
  color: var(--ink) !important;
  padding: 15px 26px;
  font-size: 15px; font-weight: 800;
}
.blog-end-cta .btn-primary:hover,
.prose .blog-end-cta a.btn-primary:hover {
  background: var(--ink) !important;
  color: #fff !important;
  transform: translateY(-1px);
}
.blog-end-cta .btn-ghost-light,
.prose .blog-end-cta a.btn-ghost-light {
  border: 1.5px solid rgba(255,255,255,.55);
  color: #fff !important;
  background: transparent !important;
  padding: 13px 22px;
}
.blog-end-cta .btn-ghost-light:hover,
.prose .blog-end-cta a.btn-ghost-light:hover {
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
}
.blog-end-cta .trust-strip {
  display: flex; flex-wrap: wrap;
  gap: 10px 14px; align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: 12.5px;
  color: rgba(255,255,255,.85);
}
.blog-end-cta .trust-strip .pip {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700;
}
/* The right column hosts a small "Pick a slot" callout that nods to /book */
.blog-end-cta .blog-end-cta-aside {
  background: rgba(255,255,255,.96);
  color: var(--ink);
  border-radius: 18px;
  padding: 22px 24px 20px;
  box-shadow: 0 24px 60px -20px rgba(10,21,48,.30);
  position: relative;
}
.blog-end-cta .blog-end-cta-aside h4 {
  font-size: 13.5px; font-weight: 800;
  letter-spacing: .04em;
  margin: 0 0 4px;
  color: var(--ink);
}
.blog-end-cta .blog-end-cta-aside .sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate);
  display: block;
  margin-bottom: 18px;
}
.blog-end-cta .blog-end-cta-aside .meta-row {
  display: flex; gap: 12px;
  font-size: 12.5px; color: var(--slate);
  padding-top: 16px; border-top: 1px solid var(--line);
  margin-top: 16px;
  font-weight: 600;
}
.blog-end-cta .blog-end-cta-aside .meta-row strong { color: var(--ink); }
.blog-end-cta .blog-end-cta-aside .name {
  font-size: 17px; font-weight: 800;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0;
}
.blog-end-cta .blog-end-cta-aside .when {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700;
  color: var(--pink);
  padding: 4px 10px;
  border: 1px solid rgba(229,9,127,.30);
  background: var(--pink-soft);
  border-radius: 999px;
}
@media (max-width: 900px) {
  .blog-end-cta { grid-template-columns: 1fr; gap: 28px; padding: 40px 28px; }
  .blog-end-cta h3 { font-size: clamp(26px, 7vw, 36px) !important; }
}


/* ================================================================
   BLOG END CTA — interactive bits (Calendly popup + Formspree modal)
   The right-column "Arrange a Conversation" card is now clickable
   and triggers a lazy-loaded Calendly popup. A small "Send a message"
   secondary link opens a Formspree modal.
   ================================================================ */

/* Make the right card visibly clickable */
.blog-end-cta .blog-end-cta-aside[data-blog-cta-calendly] {
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  position: relative;
}
.blog-end-cta .blog-end-cta-aside[data-blog-cta-calendly]:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 70px -22px rgba(10,21,48,.40);
}
.blog-end-cta .blog-end-cta-aside[data-blog-cta-calendly]:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
.blog-end-cta .blog-end-cta-aside[data-blog-cta-calendly]::after {
  content: 'Click to pick a slot →';
  display: block;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--pink);
  text-align: center;
}

/* "Send a quick message" secondary link inside the cta-row */
.blog-end-cta .send-message-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  background: transparent;
  border: 0;
  padding: 12px 4px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,.40);
  transition: color .15s, border-color .15s;
}
.blog-end-cta .send-message-link:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* ===== Modal ===== */
.blog-end-modal {
  position: fixed; inset: 0;
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .2s var(--ease);
}
.blog-end-modal.open { opacity: 1; }
.blog-end-modal[hidden] { display: none; }
.blog-end-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10,21,48,.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.blog-end-modal-panel {
  position: relative;
  width: 100%; max-width: 520px;
  max-height: 90vh; overflow-y: auto;
  background: var(--paper);
  border-radius: 22px;
  padding: 36px 36px 32px;
  box-shadow: 0 60px 120px -30px rgba(10,21,48,.55);
  transform: translateY(20px);
  transition: transform .25s var(--ease);
}
.blog-end-modal.open .blog-end-modal-panel { transform: translateY(0); }
@media (max-width: 600px) {
  .blog-end-modal-panel { padding: 28px 22px 24px; border-radius: 18px; }
}
.blog-end-modal-x {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--cream-2);
  border: 1px solid var(--line);
  color: var(--slate);
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .15s var(--ease);
}
.blog-end-modal-x:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.blog-end-modal-panel .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--pink);
  display: block;
  margin-bottom: 10px;
}
.blog-end-modal-panel h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 8px;
}
.blog-end-modal-panel p.intro {
  font-size: 14.5px; line-height: 1.55;
  color: var(--body);
  margin: 0 0 22px;
}
.blog-end-form {
  display: flex; flex-direction: column;
  gap: 14px;
}
.blog-end-form label {
  display: block;
}
.blog-end-form label > span {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 6px;
}
.blog-end-form input,
.blog-end-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14.5px;
  padding: 11px 14px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.blog-end-form textarea { resize: vertical; min-height: 86px; }
.blog-end-form input:focus,
.blog-end-form textarea:focus {
  outline: 0;
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(229,9,127,.12);
}
.blog-end-form button[type="submit"] {
  margin-top: 4px;
  align-self: flex-start;
}
.blog-end-form-status {
  font-size: 13px;
  margin: 0;
  min-height: 18px;
  color: var(--slate);
}
.blog-end-form-status.ok { color: var(--green-dark); font-weight: 700; }
.blog-end-form-status.err { color: #B81272; font-weight: 700; }
.blog-end-modal-foot {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--slate);
}
.blog-end-modal-foot a {
  color: var(--pink);
  font-weight: 700;
  border-bottom: 1px solid rgba(229,9,127,.25);
}
.blog-end-modal-foot a:hover { color: var(--pink-dark); border-bottom-color: var(--pink); }
