/* ===== Em Primeira Pessoa — design tokens ===== */
:root {
  --paper: #f5efe3;
  --paper-2: #ece4d3;
  --paper-3: #e2d8c2;
  --ink: #1a1815;
  --ink-2: #3a342c;
  --ink-3: #5a5043;
  --ink-mute: #8a7f6e;
  --rule: #d8ceb6;
  --rule-soft: #e8e0cd;
  --terra: #c34a26;
  --terra-deep: #9c3818;
  --mustard: #c89c3a;

  --serif-display: "Instrument Serif", "Source Serif 4", Georgia, serif;
  --serif-body: "Source Serif 4", "Newsreader", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Menlo", monospace;

  --maxw: 1320px;
  --maxw-narrow: 720px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; padding: 0; }
img { display: block; max-width: 100%; }

/* Tipografia base */
.display { font-family: var(--serif-display); font-weight: 400; line-height: 0.95; letter-spacing: -0.012em; }
.body-serif { font-family: var(--serif-body); }
.sans { font-family: var(--sans); }
.mono { font-family: var(--mono); }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-2);
}
.eyebrow.terra { color: var(--terra); }

.rule { border-top: 1px solid var(--ink); margin: 0; }
.rule-soft { border-top: 1px solid var(--rule); }

/* ===== Header ===== */
.topbar {
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-2);
}
.topbar-left .date { color: var(--ink-mute); }
.topbar-left.socials { gap: 18px; }
.topbar-left.socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  transition: color .15s;
}
.topbar-left.socials a:hover { color: var(--terra); }
.topbar-left.socials svg { flex-shrink: 0; }
.brand {
  font-family: "DM Serif Display", "Instrument Serif", Georgia, serif;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1;
  letter-spacing: -0.018em;
  white-space: nowrap;
  font-weight: 400;
}
.brand em { font-style: italic; color: var(--terra); font-weight: 400; }
.brand .brand-word {
  display: inline-block;
}
.brand .brand-word-1 {
  font-style: italic;
  color: var(--terra);
}
.topbar-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.topbar-right .pill {
  border: 1px solid var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .15s, color .15s;
}
.topbar-right .pill:hover { background: var(--ink); color: var(--paper); }

/* Nav strip */
.navstrip {
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}
.navstrip-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
}
.nav-cats {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.nav-cats button {
  position: relative;
  padding: 4px 0;
  color: var(--ink-2);
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav-cats button.active { color: var(--ink); }
.nav-cats button.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -11px;
  height: 2px;
  background: var(--terra);
}
.nav-cats button:hover { color: var(--ink); }

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--ink);
  padding: 4px 0;
  min-width: 220px;
}
.search-box input {
  background: transparent;
  border: 0;
  outline: 0;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  flex: 1;
  padding: 2px 0;
}
.search-box input::placeholder { color: var(--ink-mute); }
.search-box svg { color: var(--ink-2); }

/* ===== Layout primitives ===== */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow {
  max-width: var(--maxw-narrow);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ===== Hero / lead ===== */
.lead {
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--ink);
}
.lead-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.lead-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.lead-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--terra);
}
.lead h1 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.015em;
  margin: 0 0 26px;
}
.lead h1 em { color: var(--terra); }
.lead .dek {
  font-family: var(--serif-body);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  margin: 0 0 28px;
  max-width: 56ch;
}
.lead-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--ink-3);
}
.lead-meta .by { text-transform: uppercase; letter-spacing: 0.1em; font-size: 11px; }
.lead-meta .name { font-weight: 600; color: var(--ink); }
.lead-meta .sep { width: 4px; height: 4px; background: var(--ink-mute); border-radius: 50%; }
.lead-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 14px 22px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background .15s;
}
.lead-cta:hover { background: var(--terra); }
.lead-cta .arrow {
  display: inline-block;
  transition: transform .2s;
}
.lead-cta:hover .arrow { transform: translateX(4px); }

.lead-image {
  aspect-ratio: 4/5;
  position: relative;
}

/* ===== Section header ===== */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 48px 0 24px;
  border-bottom: 1px solid var(--ink);
}
.section-head h2 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0;
}
.section-head h2 em { color: var(--terra); }
.section-head .meta {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-head a.more {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.section-head a.more:hover { color: var(--terra); border-color: var(--terra); }

/* ===== Card grid ===== */
.grid {
  display: grid;
  gap: 0;
  border-bottom: 1px solid var(--ink);
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  padding: 36px 28px 40px;
  border-right: 1px solid var(--rule);
  cursor: pointer;
  transition: background .15s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card:last-child { border-right: 0; }
.card:hover { background: var(--paper-2); }
.card-image {
  aspect-ratio: 4/5;
}
.card .kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--terra);
  display: flex;
  align-items: center;
  gap: 10px;
}
.card .kicker .tag-format {
  color: var(--ink-mute);
  font-weight: 500;
}
.card h3 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0;
}
.card h3 em { color: var(--terra); font-style: italic; }
.card .deck {
  font-family: var(--serif-body);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
}
.card .byline {
  margin-top: auto;
  font-size: 12px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 10px;
}
.card .byline .name { font-weight: 600; color: var(--ink); }
.card .byline .biz { color: var(--ink-mute); }

/* Variant: text-only card */
.card.text-only .card-image { display: none; }
.card.text-only h3 { font-size: clamp(28px, 2.8vw, 38px); }
.card.text-only .deck { -webkit-line-clamp: 4; }

/* ===== Pull quote band ===== */
.quoteband {
  border-bottom: 1px solid var(--ink);
  padding: 88px 0 96px;
  background: var(--ink);
  color: var(--paper);
}
.quoteband-inner {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}
.quoteband .markmark {
  font-family: var(--serif-display);
  font-size: 84px;
  line-height: 0.4;
  color: var(--terra);
  margin-bottom: 16px;
}
.quoteband blockquote {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.012em;
  margin: 0;
  font-style: italic;
}
.quoteband blockquote em { color: var(--terra); font-style: normal; }
.quoteband .attr {
  margin-top: 32px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-3);
}
.quoteband .attr .name { color: var(--paper); font-weight: 600; }

/* ===== Audio / Video strip ===== */
.media-strip {
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.media-strip > div {
  padding: 56px var(--gutter);
}
.media-strip .video-side {
  border-right: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.media-strip .audio-side {
  background: var(--paper-2);
}
.media-block {
  max-width: 560px;
}
.media-block .label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.media-block .label .live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--terra);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.media-block h3 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.media-block h3 em { color: var(--terra); font-style: italic; }
.media-block .blurb {
  font-family: var(--serif-body);
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 24px;
  color: var(--ink-3);
}
.video-side .media-block .blurb { color: var(--paper-3); }

.video-frame {
  aspect-ratio: 16/9;
  position: relative;
  margin-top: 24px;
  cursor: pointer;
}
.video-frame .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.video-frame .play .circle {
  width: 76px; height: 76px;
  background: var(--terra);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
}
.video-frame:hover .play .circle { transform: scale(1.08); }

.audio-player {
  border: 1px solid var(--ink);
  padding: 18px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--paper);
  margin-top: 24px;
}
.audio-player .btn-play {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.audio-player .track {
  flex: 1;
  min-width: 0;
}
.audio-player .track .title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--ink-3);
}
.audio-player .track .title-row .name { font-weight: 600; color: var(--ink); }
.audio-player .bar {
  height: 3px;
  background: var(--rule);
  position: relative;
}
.audio-player .bar .fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  background: var(--terra);
}
.audio-player .bar .head {
  position: absolute;
  top: -4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--terra);
  left: calc(38% - 5px);
}

/* ===== Photo essay row ===== */
.essay-row {
  border-bottom: 1px solid var(--ink);
  padding: 64px 0;
}
.essay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  margin-top: 32px;
}
.essay-cell {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.essay-cell .img-wrap { aspect-ratio: 4/5; }
.essay-cell.tall .img-wrap { aspect-ratio: 4/6; }
.essay-cell .cap {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-3);
  display: flex;
  gap: 8px;
}
.essay-cell .cap .num {
  color: var(--terra);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ===== Newsletter band ===== */
.newsletter {
  background: var(--terra);
  color: var(--paper);
  padding: 88px var(--gutter);
  border-bottom: 1px solid var(--ink);
}
.newsletter-inner {
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.newsletter h3 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  margin: 0 0 16px;
  letter-spacing: -0.012em;
}
.newsletter h3 em { font-style: italic; }
.newsletter p {
  margin: 0;
  font-family: var(--serif-body);
  font-size: 17px;
  line-height: 1.5;
  max-width: 46ch;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.newsletter-form .row {
  display: flex;
  border: 1px solid var(--paper);
  background: var(--terra-deep);
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 18px 18px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--paper);
}
.newsletter-form input::placeholder { color: rgba(245, 239, 227, 0.6); }
.newsletter-form button {
  padding: 0 22px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.newsletter-form button:hover { background: var(--ink); color: var(--paper); }
.newsletter-form .note {
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

/* ===== Archive list ===== */
.archive {
  border-bottom: 1px solid var(--ink);
  padding: 32px 0 56px;
}
.archive-row {
  display: grid;
  grid-template-columns: 60px 1.2fr 2fr 1fr 100px;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
  cursor: pointer;
  transition: background .12s, padding .12s;
}
.archive-row:hover { background: var(--paper-2); padding-left: 12px; padding-right: 12px; }
.archive-row .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
}
.archive-row .who {
  font-family: var(--serif-display);
  font-size: 22px;
  line-height: 1.05;
}
.archive-row .who .biz {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-top: 4px;
  font-weight: 500;
}
.archive-row .what {
  font-family: var(--serif-body);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.4;
}
.archive-row .cat {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 600;
}
.archive-row .format {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  text-align: right;
}

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  color: var(--paper-2);
  padding: 64px var(--gutter) 40px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--ink-3);
}
.footer .brand-foot {
  font-family: var(--serif-display);
  font-size: 36px;
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.footer .brand-foot em { color: var(--terra); }
.footer .tagline {
  margin-top: 16px;
  font-family: var(--serif-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--paper-3);
  max-width: 36ch;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--paper);
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col ul a:hover { color: var(--terra); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

/* ===== Placeholder image ===== */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: var(--paper-3);
  overflow: hidden;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg,
      rgba(26,24,21,0.05) 0px,
      rgba(26,24,21,0.05) 1px,
      transparent 1px,
      transparent 8px);
}
.ph-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}
.ph-tint-terra { background: oklch(0.74 0.07 40); }
.ph-tint-warm  { background: oklch(0.78 0.05 60); }
.ph-tint-cool  { background: oklch(0.76 0.03 200); }
.ph-tint-ink   { background: oklch(0.38 0.02 60); }
.ph-tint-paper { background: oklch(0.86 0.03 70); }
.ph-tint-olive { background: oklch(0.68 0.05 100); }
.ph-tint-sage  { background: oklch(0.72 0.04 140); }
.ph-tint-rose  { background: oklch(0.78 0.06 20); }

.ph-tint-ink .ph-label { color: var(--paper-3); }

.ph .initial {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  font-family: var(--serif-display);
  font-size: clamp(72px, 14vw, 220px);
  line-height: 0.85;
  font-style: italic;
  color: rgba(26, 24, 21, 0.18);
  letter-spacing: -0.04em;
  pointer-events: none;
}
.ph-tint-ink .initial { color: rgba(245, 239, 227, 0.16); }

/* ===== Share buttons (in byline + standalone) ===== */
.share-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
.share-row .share-label { white-space: nowrap; }
.share-row .share-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}
.share-row .share-btns a,
.share-row .share-btns button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  transition: border-color .15s, color .15s, background .15s;
  background: transparent;
  position: relative;
}
.share-row .share-btns a:hover,
.share-row .share-btns button:hover {
  border-color: var(--terra);
  color: var(--terra);
}
.share-row .share-btns button.is-copied {
  border-color: var(--terra);
  color: var(--terra);
  background: rgba(195, 74, 38, 0.06);
}
.share-row .share-btns .copied-msg {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--paper);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: 3px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity .15s;
}
.share-row .share-btns button.is-copied .copied-msg { opacity: 1; }

/* ===== image-slot integration ===== */
image-slot {
  display: block;
  width: 100%;
  background: var(--paper-3);
}
image-slot[shape="circle"] { border-radius: 50%; }
.byline-avatar image-slot,
.author-bio-avatar image-slot { background: transparent; }

/* ===== Author bio block (story footer) ===== */
.author-bio {
  border-top: 1px solid var(--ink);
  margin-top: 64px;
  padding-top: 28px;
}
.author-bio-row {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.author-bio-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.author-bio-text { min-width: 0; flex: 1; }
.author-bio-name {
  font-family: var(--serif-display);
  font-size: 28px;
  line-height: 1;
}
.author-bio-role {
  color: var(--ink-mute);
  font-size: 13px;
  margin-top: 4px;
}
.author-bio-follow {
  margin-left: auto;
  border: 1px solid var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.author-bio-follow:hover { background: var(--ink); color: var(--paper); }

/* ===== Card link (related) ===== */
.card-link { display: block; color: inherit; text-decoration: none; }

/* ===== Story page ===== */
.story-kicker {
  padding: 36px 0 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.story-kicker .cat { color: var(--terra); }
.story-kicker .sep { color: var(--ink-mute); }
.story-kicker .fmt { color: var(--ink-2); }

.story-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
}
.story-title em { color: var(--terra); font-style: italic; }

.story-dek {
  font-family: var(--serif-body);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  color: var(--ink-2);
  margin: 0 0 32px;
  max-width: 60ch;
  font-style: italic;
}

.story-byline {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--ink-3);
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 48px;
}
.story-byline .who { display: flex; align-items: center; gap: 12px; }
.story-byline .who img { width: 36px; height: 36px; border-radius: 50%; }
.story-byline .byline-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.story-byline .byline-share {
  margin-left: auto;
}
.story-byline .name { font-weight: 600; color: var(--ink); font-size: 13px; }
.story-byline .role { color: var(--ink-mute); font-size: 12px; }
.story-byline .sep { width: 1px; height: 28px; background: var(--rule); }
.story-byline .item .lbl { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); display: block; margin-bottom: 2px; }
.story-byline .actions { margin-left: auto; display: flex; gap: 8px; }
.story-byline .actions button {
  width: 36px; height: 36px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  transition: border-color .15s, color .15s;
}
.story-byline .actions button:hover { border-color: var(--terra); color: var(--terra); }

/* Hero image / video */
.story-hero {
  width: 100%;
  aspect-ratio: 16/9;
  margin-bottom: 16px;
  position: relative;
  cursor: pointer;
}
.story-hero .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-hero .play-overlay .circle {
  width: 92px; height: 92px;
  background: var(--terra);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s;
}
.story-hero:hover .play-overlay .circle { transform: scale(1.06); }
.story-hero .video-info {
  position: absolute;
  left: 24px; bottom: 24px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.story-hero .video-info .live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--terra);
}

.story-hero-cap {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-3);
  padding: 4px 0 32px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
}

/* Sticky audio */
.audio-sticky {
  position: sticky;
  top: 110px;
  margin-bottom: 32px;
  z-index: 5;
}

/* Article body */
.article-body {
  font-family: var(--serif-body);
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 660px;
  margin: 48px auto 0;
}
.article-body p { margin: 0 0 1.2em; }
.article-body .dropcap::first-letter {
  font-family: var(--serif-display);
  font-size: 5.8em;
  float: left;
  line-height: 0.85;
  padding: 0.08em 0.1em 0 0;
  color: var(--terra);
  font-weight: 400;
}
.article-body h2 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.012em;
  margin: 56px 0 24px;
}
.article-body h2 em { color: var(--terra); font-style: italic; }
.article-body h3 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--terra);
  margin: 48px 0 8px;
}
.article-body .q-intro {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: -0.005em;
  margin: 28px 0 8px;
  display: flex;
  gap: 8px;
}
.article-body .q-intro::before {
  content: "EPP";
  color: var(--terra);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-right: 2px;
  padding-top: 3px;
}

/* Pull quote */
.pullquote {
  margin: 56px -80px;
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.012em;
  color: var(--ink);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 36px 0 36px 56px;
  position: relative;
  font-style: italic;
}
.pullquote::before {
  content: "❝";
  position: absolute;
  left: -4px;
  top: 28px;
  color: var(--terra);
  font-size: 64px;
  line-height: 1;
  font-family: var(--serif-display);
  font-style: normal;
}
.pullquote .attr {
  display: block;
  margin-top: 22px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Inline photo */
.inline-photo {
  margin: 56px -80px;
}
.inline-photo .img-wrap { aspect-ratio: 16/10; }
.inline-photo .cap {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-3);
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  margin-top: 10px;
}

/* Story sidebar (timeline) */
.story-side {
  position: sticky;
  top: 110px;
  align-self: start;
}
.story-side h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink-2);
}
.story-side .ts-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
}
.story-side .ts-item:last-child { border-bottom: 0; }
.story-side .ts-year {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--terra);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.story-side .ts-text {
  color: var(--ink-2);
  line-height: 1.4;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 64px;
  padding: 24px 0 80px;
}

/* Selection */
::selection { background: var(--terra); color: var(--paper); }

/* ===================================================================
   RESPONSIVE
   Breakpoints: 1100 (laptop), 900 (tablet), 720 (phone-L), 480 (phone-S)
   =================================================================== */

/* ---------- Laptop & below ---------- */
@media (max-width: 1100px) {
  :root { --maxw: 100%; }
  .essay-grid { gap: 20px; }
}

/* ---------- Tablet (≤900px) ---------- */
@media (max-width: 900px) {
  /* Header */
  .topbar-inner {
    grid-template-columns: auto 1fr;
    text-align: left;
    gap: 16px;
    padding: 12px var(--gutter);
  }
  .brand { grid-column: 1; font-size: clamp(24px, 5vw, 32px); }
  .topbar-left.socials { display: none; } /* social moves to footer on mobile */
  .topbar-right {
    grid-column: 2;
    justify-content: flex-end;
    gap: 12px;
  }
  .topbar-right .pill { padding: 7px 12px; font-size: 11px; }

  /* Lead */
  .lead { padding: 40px 0 48px; }
  .lead-grid { grid-template-columns: 1fr; gap: 32px; }
  .lead-image { aspect-ratio: 16/11; }

  /* Grids */
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .card:nth-child(2n) { border-right: 0; }

  /* Media strip */
  .media-strip { grid-template-columns: 1fr; }
  .media-strip > div { padding: 40px var(--gutter); }
  .media-strip .video-side { border-right: 0; border-bottom: 1px solid var(--ink); }

  /* Quoteband */
  .quoteband { padding: 56px 0 64px; }

  /* Newsletter */
  .newsletter { padding: 56px var(--gutter); }
  .newsletter-inner { grid-template-columns: 1fr; gap: 32px; }

  /* Archive */
  .archive-row {
    grid-template-columns: 44px 1fr auto;
    gap: 16px;
    padding: 18px 0;
  }
  .archive-row:hover { padding-left: 8px; padding-right: 8px; }
  .archive-row .what, .archive-row .format { display: none; }

  /* Essay */
  .essay-grid { grid-template-columns: 1fr 1fr; }
  .essay-cell.tall .img-wrap { aspect-ratio: 4/5; }

  /* Footer */
  .footer { padding: 48px var(--gutter) 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Story page */
  .story-grid { grid-template-columns: 1fr; gap: 40px; padding: 16px 0 56px; }
  .story-side { position: static; }
  .audio-sticky { position: static; }
  .pullquote, .inline-photo { margin-left: 0; margin-right: 0; }
  .pullquote { font-size: clamp(24px, 4.5vw, 36px); padding: 28px 0 28px 40px; }
  .pullquote::before { font-size: 48px; top: 22px; }
  .story-byline { flex-wrap: wrap; gap: 14px; }
  .story-byline .actions { margin-left: 0; }
}

/* ---------- Phone Large (≤720px) ---------- */
@media (max-width: 720px) {
  /* Section heads stack */
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 36px 0 18px;
  }
  .section-head .meta { flex-wrap: wrap; gap: 10px; }

  /* Card grid → single column */
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card { border-right: 0; border-bottom: 1px solid var(--rule); padding: 28px var(--gutter); }
  .card:last-child { border-bottom: 0; }
  .card-image { aspect-ratio: 16/10; }

  /* Nav: horizontal scroll instead of wrap */
  .navstrip-inner { padding: 8px var(--gutter); }
  .nav-cats {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 18px;
    margin-right: -16px;
    padding-right: 16px;
  }
  .nav-cats::-webkit-scrollbar { display: none; }
  .nav-cats button { white-space: nowrap; font-size: 13px; }
  .search-box { display: none; }

  /* Essay 1 col */
  .essay-grid { grid-template-columns: 1fr; gap: 24px; }
  .essay-cell .img-wrap, .essay-cell.tall .img-wrap { aspect-ratio: 16/11; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  /* Story page */
  .article-body { font-size: 18px; line-height: 1.6; margin-top: 32px; }
  .article-body .dropcap::first-letter { font-size: 4.2em; padding-right: 0.06em; }
  .article-body h2 { font-size: 28px; margin: 40px 0 18px; }
  .pullquote { padding: 24px 0 24px 32px; margin: 36px 0; }
  .pullquote::before { font-size: 40px; top: 18px; left: -2px; }
  .inline-photo { margin: 36px 0; }

  /* Story hero */
  .story-hero .play-overlay .circle { width: 64px; height: 64px; }
  .story-hero .play-overlay .circle svg { width: 22px; height: 22px; }
  .story-hero .video-info { left: 16px; bottom: 16px; font-size: 10px; }
  .story-hero-cap { font-size: 11px; flex-direction: column; gap: 4px; }

  /* Newsletter form: stack input/button */
  .newsletter-form .row { flex-direction: column; }
  .newsletter-form input { padding: 16px; }
  .newsletter-form button {
    padding: 14px 22px;
    border-top: 1px solid var(--paper);
  }

  /* Quoteband tighter */
  .quoteband { padding: 48px 0 52px; }
  .quoteband .markmark { font-size: 64px; margin-bottom: 8px; }

  /* Story title byline */
  .story-byline {
    padding: 14px 0;
    margin-bottom: 32px;
    font-size: 12px;
  }
  .story-byline .sep { display: none; }
  .story-byline .who img { width: 32px; height: 32px; }
}

/* ---------- Phone Small (≤480px) ---------- */
@media (max-width: 480px) {
  :root { --gutter: 18px; }

  /* Header — compact, one row */
  .topbar-inner { gap: 10px; padding: 10px var(--gutter); }
  .brand { font-size: 22px; }
  .topbar-right .hide-sm { display: none; }
  .topbar-right .pill {
    padding: 6px 10px;
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  /* Lead */
  .lead { padding: 32px 0 40px; }
  .lead h1 { font-size: clamp(36px, 10vw, 56px); margin-bottom: 20px; }
  .lead .dek { font-size: 16px; margin-bottom: 20px; }
  .lead-cta { padding: 12px 18px; font-size: 12px; }

  /* Quoteband */
  .quoteband blockquote { font-size: clamp(24px, 6.5vw, 32px); }

  /* Newsletter */
  .newsletter { padding: 40px var(--gutter); }
  .newsletter h3 { font-size: clamp(28px, 7vw, 36px); }
  .newsletter p { font-size: 15px; }

  /* Archive */
  .archive-row { grid-template-columns: 36px 1fr; gap: 12px; }
  .archive-row .cat { display: none; } /* drops "category" tag too */
  .archive-row .who { font-size: 18px; }

  /* Section head */
  .section-head h2 { font-size: clamp(26px, 7vw, 34px); }

  /* Cards */
  .card { padding: 24px var(--gutter); }
  .card h3 { font-size: clamp(22px, 6vw, 28px); }

  /* Media strip */
  .media-strip > div { padding: 32px var(--gutter); }
  .media-block h3 { font-size: clamp(24px, 6.5vw, 30px); }
  .video-frame .play .circle { width: 56px; height: 56px; }
  .video-frame .play .circle svg { width: 20px; height: 20px; }

  /* Story page */
  .story-title { font-size: clamp(36px, 10vw, 56px); margin-bottom: 20px; }
  .story-dek { font-size: 17px; }
  .article-body { font-size: 17px; }
  .article-body .dropcap::first-letter { font-size: 3.6em; }
  .pullquote { font-size: clamp(20px, 5.5vw, 26px); padding: 20px 0 20px 26px; }
  .pullquote::before { font-size: 34px; top: 14px; }

  /* Footer */
  .footer { padding: 36px var(--gutter) 28px; }
  .footer .brand-foot { font-size: 30px; }
}

/* ===================================================================
   GHOST KOENIG EDITOR — content card styles
   These map Ghost's content blocks to our editorial design system.
   =================================================================== */

/* All cards centered in article body */
.article-body .kg-card {
  margin: 32px 0;
}
.article-body .kg-card:first-child { margin-top: 0; }
.article-body .kg-card:last-child { margin-bottom: 0; }

/* Image card */
.article-body .kg-image {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}
.article-body .kg-image-card { margin: 40px 0; }
.article-body .kg-image-card figcaption {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-3);
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  margin-top: 10px;
  text-align: left;
}
.article-body .kg-width-wide .kg-image {
  max-width: 850px;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}
.article-body .kg-width-full .kg-image {
  max-width: 100vw;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

/* Gallery card */
.article-body .kg-gallery-card { margin: 40px -80px; }
.article-body .kg-gallery-container { display: flex; flex-direction: column; gap: 12px; }
.article-body .kg-gallery-row { display: flex; gap: 12px; }
.article-body .kg-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Callout card → use as pullquote */
.article-body .kg-callout-card {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.012em;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 32px 0 32px 48px;
  margin: 48px -40px;
  background: transparent !important;
  position: relative;
  font-style: italic;
  color: var(--ink);
}
.article-body .kg-callout-card::before {
  content: "❝";
  position: absolute;
  left: 0;
  top: 22px;
  color: var(--terra);
  font-size: 56px;
  line-height: 1;
  font-family: var(--serif-display);
  font-style: normal;
}
.article-body .kg-callout-emoji { display: none; }
.article-body .kg-callout-text {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.article-body .kg-callout-card em {
  color: var(--terra);
  font-style: normal;
}

/* Bookmark card */
.article-body .kg-bookmark-card {
  margin: 32px 0;
  border: 1px solid var(--rule);
  background: var(--paper-2);
  transition: border-color .15s;
}
.article-body .kg-bookmark-card:hover { border-color: var(--ink); }
.article-body .kg-bookmark-container {
  display: flex;
  text-decoration: none;
  color: inherit;
  min-height: 148px;
}
.article-body .kg-bookmark-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.article-body .kg-bookmark-title {
  font-family: var(--serif-display);
  font-size: 18px;
  line-height: 1.1;
  margin-bottom: 8px;
}
.article-body .kg-bookmark-description {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-body .kg-bookmark-metadata {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.article-body .kg-bookmark-thumbnail {
  flex: 0 0 200px;
  background: var(--paper-3);
}
.article-body .kg-bookmark-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-body .kg-bookmark-icon { width: 14px; height: 14px; }

/* Audio card → sticky-ish player */
.article-body .kg-audio-card {
  border: 1px solid var(--ink);
  background: var(--paper-2);
  padding: 18px 22px;
  margin: 32px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
.article-body .kg-audio-thumbnail {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  flex-shrink: 0;
}
.article-body .kg-audio-player-container { flex: 1; }
.article-body .kg-audio-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  margin: 0 0 6px;
}
.article-body .kg-audio-player { width: 100%; }

/* Video card */
.article-body .kg-video-card {
  margin: 32px 0;
  background: var(--ink);
}
.article-body .kg-video-container {
  position: relative;
  aspect-ratio: 16/9;
}

/* Embed card (YouTube, Spotify, etc.) */
.article-body .kg-embed-card {
  margin: 32px 0;
  display: flex;
  justify-content: center;
}
.article-body .kg-embed-card iframe {
  max-width: 100%;
}

/* Toggle card */
.article-body .kg-toggle-card {
  border: 1px solid var(--rule);
  padding: 18px 22px;
  margin: 32px 0;
  background: var(--paper-2);
}
.article-body .kg-toggle-heading-text {
  font-family: var(--serif-display);
  font-size: 22px;
  line-height: 1.1;
  margin: 0;
}

/* Button card → CTA */
.article-body .kg-button-card { text-align: center; margin: 40px 0; }
.article-body .kg-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s;
}
.article-body .kg-btn:hover { background: var(--terra); }
.article-body .kg-btn-accent { background: var(--terra); }
.article-body .kg-btn-accent:hover { background: var(--ink); }

/* Header card → big section break */
.article-body .kg-header-card {
  padding: 48px var(--gutter);
  background: var(--paper-2);
  text-align: center;
  margin: 48px -40px;
}
.article-body .kg-header-card h2,
.article-body .kg-header-card h3 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.012em;
  margin: 0 0 12px;
}
.article-body .kg-header-card h3 em { color: var(--terra); font-style: italic; }
.article-body .kg-header-card .kg-header-card-subheader {
  font-family: var(--serif-body);
  font-size: 16px;
  color: var(--ink-3);
  margin: 0;
}

/* File card */
.article-body .kg-file-card {
  border: 1px solid var(--rule);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  background: var(--paper-2);
}
.article-body .kg-file-card-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

/* Default blockquote styling (when not using callout card) */
.article-body blockquote:not([class*="kg-"]) {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--ink);
  border-left: 3px solid var(--terra);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  font-style: italic;
}
.article-body blockquote.kg-blockquote-alt {
  text-align: center;
  border-left: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 32px 0;
  font-size: clamp(28px, 3.5vw, 44px);
}

/* Code block */
.article-body pre {
  background: var(--ink);
  color: var(--paper);
  padding: 20px 24px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  margin: 32px 0;
}
.article-body code:not(pre code) {
  background: var(--paper-2);
  padding: 2px 6px;
  font-family: var(--mono);
  font-size: 0.92em;
  color: var(--terra);
}

/* HR */
.article-body hr {
  border: 0;
  height: 1px;
  background: var(--rule);
  margin: 48px 0;
}

/* First paragraph dropcap (auto-applied to first p of post) */
.article-body > p:first-of-type::first-letter,
.article-body > .kg-card + p::first-letter {
  /* skip — too aggressive, opt-in via class instead */
}
.article-body .has-dropcap p:first-of-type::first-letter,
.article-body p.kg-callout-card:first-child + p::first-letter {
  /* opt-in via Ghost paragraph tag */
}

/* Members-only content notices */
.gh-post-upgrade-cta {
  border: 1px solid var(--ink);
  padding: 32px 28px;
  margin: 48px 0;
  text-align: center;
  background: var(--paper-2);
}
.gh-post-upgrade-cta h3 {
  font-family: var(--serif-display);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1;
  margin: 0 0 12px;
}
.gh-post-upgrade-cta p {
  font-family: var(--serif-body);
  color: var(--ink-3);
  margin: 0 0 20px;
}
.gh-post-upgrade-cta a {
  display: inline-block;
  padding: 12px 22px;
  background: var(--terra);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Responsive Ghost cards on mobile */
@media (max-width: 720px) {
  .article-body .kg-callout-card { margin: 32px 0; padding: 24px 0 24px 32px; font-size: 22px; }
  .article-body .kg-callout-card::before { font-size: 40px; top: 18px; }
  .article-body .kg-gallery-card { margin: 32px 0; }
  .article-body .kg-header-card { margin: 32px 0; padding: 32px 20px; }
  .article-body .kg-bookmark-container { flex-direction: column; }
  .article-body .kg-bookmark-thumbnail { flex: 0 0 180px; order: -1; }
  .article-body .kg-width-wide .kg-image,
  .article-body .kg-width-full .kg-image {
    width: 100%;
    margin-left: 0;
    transform: none;
  }
}

/* ---------- Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
