/* ===================================================================
   GREENHAT — BLOG / INSIGHTS STYLES
   Linked after style.css on all blog pages. Overrides and extends.
   =================================================================== */

/* ===== WHITE BACKGROUND OVERRIDE ===== */

body {
  background: var(--bg-light);
}

.site-header {
  background: rgba(232, 239, 234, 0.96);
}

/* ===================================================================
   BLOG INDEX — blog/index.html
   =================================================================== */

/* ---- Hero ---- */

.blog-hero {
  padding: 5.5rem 0 4rem;
  border-bottom: 1px solid var(--rule-soft);
}

.blog-hero h1 {
  font-size: clamp(2.8rem, 4.5vw, 4rem);
  line-height: 1.02;
  font-weight: 320;
  letter-spacing: -0.03em;
  margin: 0 0 1.2rem;
  max-width: 20ch;
  font-variation-settings: "opsz" 144, "SOFT" 40;
}

.blog-hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--leaf-green);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.blog-hero-lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 52ch;
  line-height: 1.6;
  margin: 0;
}

/* ---- Preface card ---- */

.preface-card {
  display: block;
  margin-top: 3rem;
  padding: 2.5rem 3rem;
  background: var(--bg-dark);
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink-light);
  transition: background 0.25s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.preface-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 22px,
    rgba(234,243,238,0.03) 22px 23px
  );
  pointer-events: none;
}

.preface-card:hover {
  background: #091219;
  transform: translateY(-2px);
}

.preface-tag {
  display: inline-block;
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--spring-green);
  margin-bottom: 1rem;
}

.preface-card h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 350;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink-light);
  margin: 0 0 0.8rem;
  max-width: 28ch;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

.preface-card p {
  color: rgba(234,243,238,0.75);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 52ch;
  margin: 0 0 1.5rem;
}

.preface-read-more {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--spring-green);
}

/* ---- Stage sections ---- */

.blog-stage {
  padding: 5rem 0;
  border-top: 1px solid var(--rule-soft);
}

.blog-stage.alt {
  background: var(--paper);
}

.stage-header {
  margin-bottom: 2.5rem;
}

.stage-header h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 350;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 16px 0 0.8rem;
  max-width: 24ch;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

.stage-header h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--leaf-green);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.stage-intro {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 58ch;
  margin: 0;
}

/* ---- Stage tag pills ---- */

.stage-tag {
  display: inline-block;
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.stage-tag.s-preface {
  background: rgba(19, 24, 21, 0.06);
  color: var(--ink-mute);
}

.stage-tag.s1 {
  background: rgba(0,136,255,0.08);
  color: var(--signal-blue);
}

.stage-tag.s2 {
  background: rgba(44,158,28,0.08);
  color: var(--leaf-green);
}

.stage-tag.s3 {
  background: rgba(93, 103, 96, 0.1);
  color: var(--ink-mute);
}

/* ---- Article grid & cards ---- */

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  gap: 1.25rem;
  justify-content: start;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: 6px;
  overflow: hidden;
  padding: 1.6rem 1.8rem 1.4rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.article-card:hover {
  border-color: var(--rule);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.article-card.coming-soon {
  opacity: 0.5;
  pointer-events: none;
}

/* ---- Preview banner (full-bleed media slot at top of a card) ---- */

.article-media {
  display: block;
  margin: -1.6rem -1.8rem 1.3rem;   /* bleed to card edges, gap below */
  background: var(--bone-deep);
  border-bottom: 1px solid var(--rule-soft);
}

.article-media img {                /* future posts: a real image */
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Distilled "capacity targets" graphic, re-rendered as a clean banner */
.article-media.alloc {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  padding: 1.4rem 1.45rem;
  text-decoration: none;
}

.alloc-figs {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
}

.alloc-figs .fig {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.alloc-figs b {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: "opsz" 36, "SOFT" 30;
}

.alloc-figs span {
  font-family: 'Geist Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.alloc-bar {
  display: flex;
  height: 14px;
  border-radius: 5px;
  overflow: hidden;
}

.alloc-bar i {
  display: block;
  height: 100%;
}

.article-media.alloc:hover .alloc-figs b {
  color: var(--signal-blue);
}

.article-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 0.6rem;
  flex: 1;
  font-variation-settings: "opsz" 36, "SOFT" 30;
}

.article-card h3 a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s;
}

.article-card h3 a:hover {
  color: var(--signal-blue);
}

.article-summary {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 1rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule-soft);
}

.article-meta .read-time {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.article-meta .coming-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: var(--bone-deep);
  border-radius: 3px;
  padding: 2px 7px;
}

/* ===================================================================
   BLOG POSTS — blog/stage-X-slug.html
   =================================================================== */

/* ---- Reading measure ---- */

:root {
  --measure-px: 720px;
  --measure-wide: 980px;
}

.post main { overflow: visible; }

.measure {
  max-width: var(--measure-px);
  margin-inline: auto;
}

/* ---- Article header ---- */

.article-head {
  padding: 4rem 0 2.5rem;
}

.kicker {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--leaf-green);
}

.kicker .sep { color: var(--rule); margin: 0 10px; }
.kicker .date { color: var(--ink-mute); }

.post-title {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144, "SOFT" 40;
  font-weight: 340;
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 18px 0 0;
  max-width: 18ch;
  color: var(--ink-light);
}

.post-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--spring-green);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.post-dek {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 320;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 22px 0 0;
  font-variation-settings: "opsz" 80, "SOFT" 40;
}

/* ---- Post subtitle (sits above the dek) ---- */

.post-subtitle {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 320;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--ink-mute);
  margin: 0 0 0.4rem;
  font-variation-settings: "opsz" 80, "SOFT" 30;
}

/* ---- Byline ---- */

.byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

.byline .avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  background: var(--leaf-green);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 17px;
  border: 1px solid var(--rule-soft);
}

.byline .who { line-height: 1.3; }

.byline .who strong {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.byline .who span {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

.byline .read {
  margin-left: auto;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---- Feature hero (full-bleed) ---- */

.feature-hero {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  height: clamp(340px, 52vh, 580px);
  background:
    linear-gradient(180deg, rgba(14,26,35,0) 40%, rgba(14,26,35,0.65) 100%),
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(234,243,238,0.05) 22px 23px),
    linear-gradient(150deg, #091219, var(--bg-dark) 60%, #162D3A);
  display: flex;
  align-items: flex-end;
  position: relative;
}

.feature-hero .ph-label {
  position: absolute;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(234,243,238,0.5);
}

.feature-hero .feature-cap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px 2.6rem;
  color: var(--ink-light);
}

.feature-hero .kicker { color: var(--spring-green); }

/* ---- Prose body ---- */

.prose { padding-bottom: 4.5rem; }

.prose > * { margin-top: 0; }

.prose p {
  font-size: 1.16rem;
  line-height: 1.72;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
}

/* Highlighted key line (controversial / important) */
.prose mark {
  background: linear-gradient(180deg, transparent 55%, rgba(95, 184, 57, 0.30) 55%);
  color: inherit;
  padding: 0 0.06em;
}

.prose > p.lead-in:first-of-type {
  font-size: 1.32rem;
  line-height: 1.6;
  color: var(--ink);
}

.prose h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  font-weight: 350;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 3rem 0 1rem;
  max-width: 24ch;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

.prose h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--leaf-green);
}

.prose h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 2.25rem 0 0.6rem;
  font-variation-settings: "opsz" 36, "SOFT" 30;
}

.prose a {
  color: var(--signal-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0,136,255,0.35);
  text-decoration-thickness: 1px;
  transition: color 0.15s, text-decoration-color 0.15s;
}

.prose a:hover { color: var(--signal-blue-deep); text-decoration-color: var(--signal-blue-deep); }

.prose strong { color: var(--ink); font-weight: 600; }

.prose ul, .prose ol {
  margin: 0 0 1.5rem;
  padding-left: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.65;
}

.prose ul li, .prose ol li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--leaf-green);
}

.prose ol { counter-reset: li; }

.prose ol li::before {
  counter-increment: li;
  content: counter(li, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.05em;
  font-family: 'Geist Mono', monospace;
  font-size: 0.78rem;
  color: var(--ochre);
  letter-spacing: 0.04em;
}

.prose hr {
  border: none;
  height: 1px;
  background: var(--rule);
  margin: 3rem auto;
  max-width: 60px;
}

.prose blockquote {
  margin: 2rem 0;
  padding: 0.2rem 0 0.2rem 1.5rem;
  border-left: 2px solid var(--ochre);
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.6;
}

.prose blockquote p:last-child { margin-bottom: 0; }

/* Pull quote */
.pullquote {
  margin: 2.75rem 0;
  padding: 0;
  border: none;
}

.pullquote p {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 320;
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--leaf-green);
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 80;
}

.pullquote cite {
  display: block;
  margin-top: 0.9rem;
  font-style: normal;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Callout box */
.callout {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-left: 3px solid var(--leaf-green);
  border-radius: 6px;
  padding: 1.4rem 1.6rem;
  margin: 2.25rem 0;
}

.callout .callout-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--leaf-green);
  display: block;
  margin-bottom: 0.5rem;
}

.callout p { font-size: 1.02rem; line-height: 1.6; margin: 0; color: var(--ink-soft); }

/* ---- Executive summary (standalone panel at top of a post) ---- */

.exec-summary {
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-left: 3px solid var(--ochre);
  border-radius: 6px;
  padding: 1.6rem 1.8rem 1.7rem;
  margin: 1.9rem 0 0;
  box-shadow: var(--shadow);
}

.exec-summary .exec-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 0.7rem;
}

.exec-summary .exec-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule-soft);
}

.exec-summary p {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 450;
  font-size: 1.24rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 0.9rem;
  font-variation-settings: "opsz" 48, "SOFT" 30;
}

.exec-summary p:last-child { margin-bottom: 0; }

/* ---- Article share rail (floats on scroll; HBR-style) ---- */

.share-rail {
  position: fixed;
  top: 50%;
  /* Tuck into the gutter just left of the reading column
     (360px = half of --measure-px 720px) */
  left: calc(50% - 360px - 5rem);
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Revealed by JS once the reader scrolls past the hero */
.share-rail.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Hairline divider between the rail and the text (HBR-style) */
.share-rail::after {
  content: "";
  position: absolute;
  top: -0.3rem;
  bottom: -0.3rem;
  right: -1.6rem;
  width: 1px;
  background: rgba(19, 33, 27, 0.16);
}

.share-subscribe {
  display: grid;
  place-items: center;
  width: 42px;
  min-height: 116px;
  border-radius: 999px;
  background: var(--signal-blue);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(14, 26, 35, 0.14);
  transition: background 0.2s, transform 0.2s;
}

.share-subscribe:hover { background: #0072d6; transform: translateY(-1px); }

.share-subscribe-text {
  writing-mode: vertical-rl;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}

.share-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--rule-soft);
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(14, 26, 35, 0.10);
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}

.share-btn:hover {
  color: #fff;
  background: var(--signal-blue);
  border-color: var(--signal-blue);
  transform: translateY(-1px);
}

.share-btn svg { width: 18px; height: 18px; display: block; }

.share-save[aria-pressed="true"] {
  color: var(--signal-blue);
  border-color: var(--signal-blue);
}
.share-save[aria-pressed="true"] svg { fill: currentColor; }
.share-save[aria-pressed="true"]:hover { color: #fff; }

/* Collapse to an inline horizontal bar on smaller screens */
@media (max-width: 1179px) {
  .share-rail {
    position: static;
    transform: none;
    flex-direction: row;
    justify-content: center;
    gap: 0.9rem;
    max-width: var(--measure-px);
    margin: 0 auto;
    padding: 1rem 0;
    border-top: 1px solid var(--rule-soft);
    border-bottom: 1px solid var(--rule-soft);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .share-rail::after { display: none; }
  .share-subscribe {
    width: auto;
    min-height: 0;
    height: 42px;
    padding: 0 1.2rem;
  }
  .share-subscribe-text { writing-mode: horizontal-tb; }
}

/* Clean print output */
@media print {
  .site-header,
  .site-footer,
  .share-wrap,
  .read-next,
  .subscribe-overlay,
  #hs-script-loader { display: none !important; }
  .feature-hero { min-height: 0 !important; }
}

/* ---- Subscribe modal ---- */

.subscribe-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(14, 26, 35, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  animation: subscribe-fade 0.18s ease;
}

.subscribe-overlay[hidden] { display: none; }

@keyframes subscribe-fade { from { opacity: 0; } to { opacity: 1; } }

body.subscribe-open { overflow: hidden; }

.subscribe-dialog {
  position: relative;
  width: 100%;
  max-width: 444px;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(14, 26, 35, 0.28);
  padding: 2.3rem 2.2rem 2rem;
}

.subscribe-close {
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: none;
  background: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink-mute);
  cursor: pointer;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}
.subscribe-close:hover { color: var(--ink); background: var(--bone-deep); }

.subscribe-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--leaf-green);
  margin: 0 0 0.7rem;
}
.subscribe-eyebrow .num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  text-transform: none;
}

.subscribe-dialog h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.subscribe-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
}

.subscribe-form { display: flex; flex-direction: column; gap: 1rem; }
.subscribe-form[hidden] { display: none; }

.subscribe-form .optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--ink-mute);
}

.subscribe-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-soft);
  cursor: pointer;
}
.subscribe-consent input {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
  accent-color: var(--signal-blue);
}

.subscribe-submit { justify-content: center; margin-top: 0.2rem; }

.subscribe-status {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
  min-height: 1.1rem;
  color: var(--ink-mute);
}
.subscribe-status.is-error { color: #b3261e; }

.subscribe-form.is-pending .subscribe-submit { opacity: 0.6; pointer-events: none; }

.subscribe-success { text-align: center; padding: 0.4rem 0 0.3rem; }
.subscribe-success .subscribe-tick {
  width: 54px;
  height: 54px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(44, 158, 28, 0.12);
  color: var(--leaf-green);
  font-size: 1.5rem;
}
.subscribe-success h2 { margin-bottom: 0.5rem; }
.subscribe-success p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 1.3rem;
}

/* ---- Figures ---- */

figure { margin: 2.5rem 0; }

figure img, figure .ph {
  display: block;
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--rule-soft);
  background: var(--bone-deep);
}

/* Lead image: contained at text measure, fixed 16:10 landscape */
.lead-figure img {
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: center;
}

figcaption {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  margin-top: 0.7rem;
  border-left: 2px solid var(--ochre-soft);
  padding-left: 0.7rem;
}

figcaption b { color: var(--ink-soft); font-weight: 600; }

.figure-wide {
  width: min(var(--measure-wide), 92vw);
  margin-left: 50%;
  transform: translateX(-50%);
}

.figure-bleed {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

.figure-bleed img, .figure-bleed .ph { border-radius: 0; border-left: none; border-right: none; }

.figure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.figure-grid figure { margin: 0; }

/* Placeholder graphic */
.ph {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(31,61,44,0.04) 14px 15px),
    var(--bone-deep);
  color: var(--ink-mute);
}

.ph.tall { aspect-ratio: 4 / 5; }
.ph.chart { aspect-ratio: 16 / 8; }

.ph span {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* End mark */
.post-end {
  text-align: center;
  margin: 3rem 0 0;
}

.post-end span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--leaf-green);
  color: #fff;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 13px;
}

/* ---- Keep reading ---- */

.read-next {
  border-top: 1px solid var(--rule);
  padding: 2.5rem 0 4rem;
}

.read-next .eyebrow { margin-bottom: 1.5rem; }

.next-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.next-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: 6px;
  padding: 1.5rem 1.6rem;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.next-card:hover {
  transform: translateY(-2px);
  border-color: var(--rule);
  box-shadow: var(--shadow);
}

.next-card .cat {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal-blue);
}

.next-card h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0.5rem 0 0;
  color: var(--ink);
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */

@media (max-width: 760px) {
  .blog-hero { padding: 3.5rem 0 2.5rem; }
  .preface-card { padding: 1.8rem 1.6rem; }
  .blog-stage { padding: 3.5rem 0; }
  .article-head { padding: 2.5rem 0 1.75rem; }
  .prose p { font-size: 1.08rem; }
  .prose > p.lead-in:first-of-type { font-size: 1.2rem; }
  .figure-grid, .next-grid { grid-template-columns: 1fr; }
  .figure-wide { width: 100%; margin-left: 0; transform: none; }
  .feature-hero .feature-cap { padding: 0 24px 2rem; }
}
