
/* ========== LETTERMAN LABS · base v4 (newspaper paper-frame) ========== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT,WONK@9..144,400;9..144,500;9..144,700;9..144,900&family=DM+Sans:wght@400;500;700&family=Caveat:wght@500;700&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
  --bg: #2a2018;
  --bg-grain: #2f251a;
  --paper: #f8f1e3;
  --paper-shade: #ede2c9;
  --ink: #20160e;
  --ink-soft: #5a4a3e;
  --ink-mute: #8a7864;
  --cherry: #c44e3a;
  --cherry-deep: #9c2f1f;
  --mustard: #d4a017;
  --teal: #6e8460;
  --copper: #c2845b;
  --rule: rgba(32,22,14,0.14);
  --rule-strong: rgba(32,22,14,0.28);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: 'Fraunces', Georgia, serif;
  background: var(--bg);
  background-image:
    radial-gradient(circle at 20% 10%, rgba(196,78,58,0.08), transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(212,160,23,0.06), transparent 50%);
  color: var(--ink);
  line-height: 1.62;
  font-size: 19px;
  font-feature-settings: "ss01", "ss02", "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
a { color: inherit; text-decoration: underline; text-decoration-color: var(--cherry); text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: color .15s; word-break: break-word; }
a:hover { color: var(--cherry); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ========== MASTHEAD (sits above the paper) ========== */
.masthead {
  background: var(--paper) !important;
  border-top: 8px solid var(--ink) !important;
  border-bottom: 1px solid var(--ink) !important;
  padding: 16px 0 14px !important;
  position: relative !important;
  z-index: 2 !important;
  font-family: 'Fraunces', Georgia, serif !important;
  color: var(--ink) !important;
}
.masthead::after { content: ""; position: absolute; bottom: -6px; left: 0; right: 0; height: 2px; background: var(--ink); }
.masthead-inner { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.brand { font-family: 'Fraunces', serif !important; font-weight: 900 !important; font-size: clamp(28px, 4vw, 42px) !important; line-height: 1 !important; letter-spacing: -0.03em !important; font-variation-settings: "SOFT" 100, "WONK" 1 !important; color: var(--ink) !important; background: none !important; }
.brand a { text-decoration: none; }
.brand .dot { color: var(--cherry); }
.tag { font-family: 'Fraunces', Georgia, serif !important; font-style: italic !important; font-weight: 400 !important; font-size: 16px !important; color: var(--ink-soft) !important; transform: none !important; display: inline-block !important; background: none !important; border: none !important; padding: 0 !important; letter-spacing: 0.01em !important; text-transform: none !important; font-variation-settings: 'SOFT' 80 !important; opacity: 0.85 !important; }
.nav { display: flex !important; gap: 22px !important; font-family: 'DM Sans', sans-serif !important; font-size: 13px !important; text-transform: uppercase !important; letter-spacing: 0.12em !important; font-weight: 500 !important; color: var(--ink) !important; }
.nav a { text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; transition: border-color .15s; }
.nav a:hover { border-bottom-color: var(--cherry); color: var(--cherry); }

/* ========== ARTICLE PAPER FRAME ========== */
article.issue {
  max-width: 1080px;
  margin: 32px auto 64px;
  background: var(--paper);
  padding: 56px clamp(32px, 6vw, 88px) 64px;
  box-shadow:
    0 30px 80px -30px rgba(0,0,0,0.55),
    0 8px 24px -8px rgba(0,0,0,0.4);
  position: relative;
  border-radius: 2px;
}
article.issue::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: var(--ink);
}

/* ========== FRONT MATTER ========== */
.front-matter { max-width: 920px; margin: 0 auto 44px; }
.kicker {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--cherry);
  font-weight: 700;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.kicker::before { content: ""; width: 36px; height: 2px; background: var(--cherry); display: inline-block; }
.kicker .vibe { font-style: italic; text-transform: none; letter-spacing: 0.01em; color: var(--ink-soft); font-weight: 500; font-size: 14px; font-family: 'Fraunces', serif; }

.headline {
  font-family: 'Fraunces', serif !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-size: clamp(40px, 6.2vw, 80px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.025em !important;
  margin: 0 0 22px !important;
  font-variation-settings: "SOFT" 80, "WONK" 1, "opsz" 144 !important;
  color: var(--ink);
  text-align: left !important;
}
.headline em { font-style: italic; color: var(--cherry); font-variation-settings: "SOFT" 100, "WONK" 1; }

.dek {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.4;
  color: var(--ink-soft);
  margin-bottom: 22px;
  max-width: 820px;
}

.byline {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 16px 0;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}
.byline .issue-num {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--cherry);
  text-transform: none;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.byline .sep { width: 4px; height: 4px; background: var(--cherry); border-radius: 50%; }

/* ========== HERO IMAGE ========== */
.hero-figure { margin: 0 -8px 40px; }
@media (min-width: 760px) { .hero-figure { margin: 0 -24px 40px; } }
.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  max-height: 580px;
  border-radius: 2px;
  box-shadow: 0 24px 60px -20px rgba(32,22,14,0.45);
}

/* ========== ARTICLE BODY ========== */
.body { max-width: 780px; margin: 0 auto; font-size: 19px; line-height: 1.72; color: var(--ink); }
.body > * + * { margin-top: 0.85em; }
.body p { font-family: 'Fraunces', serif; }
.body p strong, .body li strong { font-weight: 700; color: var(--ink); }

/* DROP CAP — only on first paragraph of entire article */
.body > p:first-child::first-letter,
.body > .lead::first-letter {
  font-family: 'Fraunces', serif !important;
  font-weight: 900 !important;
  font-size: 5.2em !important;
  float: left !important;
  line-height: 0.82 !important;
  margin: 0.04em 0.1em -0.06em -0.04em !important;
  color: var(--cherry) !important;
  font-variation-settings: "SOFT" 100, "WONK" 1 !important;
}

/* SECTION HEADERS — locked structure with !important so themes can't break */
.body h2 {
  font-family: 'Fraunces', serif !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-size: clamp(28px, 3.4vw, 38px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em !important;
  margin: 1.8em 0 0.45em !important;
  padding: 0 !important;
  position: static !important;
  font-variation-settings: "SOFT" 60, "WONK" 1 !important;
  clear: both !important;
  color: var(--ink);
  text-align: left !important;
  text-transform: none !important;
  display: block !important;
  width: 100% !important;
  background: none !important;
  border: none !important;
  border-top: 1px solid var(--rule-strong) !important;
  padding-top: 0.9em !important;
}
.body h2::before {
  content: "" !important;
  display: block !important;
  width: 56px !important;
  height: 3px !important;
  margin: -1.4em 0 1em !important;
  padding: 0 !important;
  background: var(--cherry) !important;
  position: static !important;
  text-align: left !important;
  font-size: 0 !important;
  letter-spacing: 0 !important;
  border: none !important;
  transform: none !important;
  float: none !important;
}
.body h2::after { content: none !important; }
.body h2:first-of-type { border-top: none !important; padding-top: 0 !important; margin-top: 1em !important; }
.body h2:first-of-type::before { margin-top: 0 !important; }

.body h3 { font-family: 'Fraunces', serif; font-weight: 700; font-style: italic; font-size: 22px; line-height: 1.25; margin: 1.6em 0 0.35em; color: var(--ink); font-variation-settings: "SOFT" 80; }

.body code { font-family: 'JetBrains Mono', monospace; font-size: 0.86em; background: var(--paper-shade); padding: 1px 6px; border-radius: 3px; border: 1px solid var(--rule); }
.body pre { background: var(--ink) !important; color: var(--paper) !important; padding: 20px 24px; border-radius: 4px; overflow-x: auto; font-size: 14px; line-height: 1.55; margin: 1.6em 0; }
.body pre code { background: none !important; border: none; padding: 0; color: var(--paper) !important; }
.body a { font-weight: 600; }

/* PULL QUOTE */
.body blockquote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.32em;
  line-height: 1.42;
  color: var(--ink);
  border-left: 3px solid var(--cherry);
  padding: 4px 0 4px 28px;
  margin: 1.8em 0;
  clear: both;
  font-variation-settings: "SOFT" 80, "WONK" 1;
}

/* CALLOUTS */
.body blockquote.tldr,
.body blockquote.trick,
.body blockquote.stat {
  font-style: normal !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 17px !important;
  line-height: 1.58 !important;
  border: none !important;
  border-top: 4px solid var(--ink) !important;
  border-bottom: 1px solid var(--rule-strong) !important;
  padding: 14px 0 20px !important;
  margin: 1.5em 0 !important;
  position: relative;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: var(--ink);
  clear: both;
}
.body blockquote.tldr  { border-top-color: var(--cherry) !important; }
.body blockquote.trick { border-top-color: var(--mustard) !important; }
.body blockquote.stat  { border-top-color: var(--teal) !important; }

.body blockquote.tldr::before,
.body blockquote.trick::before,
.body blockquote.stat::before {
  display: block !important;
  margin-bottom: 10px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  position: static !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
}
.body blockquote.tldr::before  { content: "↓ The Briefing" !important; color: var(--cherry) !important; }
.body blockquote.trick::before { content: "✦ Pro Tip" !important; color: var(--mustard) !important; }
.body blockquote.stat::before  { content: "By the Numbers" !important; color: var(--teal) !important; }

.body ul, .body ol { margin: 1em 0 1em 1.5em; padding-left: 0.5em; }
.body li { margin: 0.55em 0; padding-left: 0.3em; line-height: 1.6; }
.body ul li::marker { color: var(--cherry); content: "▸  "; font-weight: 700; }
.body ol li::marker { color: var(--cherry); font-weight: 700; }

.body hr { border: none; height: 1px; margin: 1.8em auto; width: 64px; background: var(--ink); opacity: 0.4; clear: both; }

/* SPOT ILLUSTRATIONS — float into the right side of the column on desktop, NO captions */
.spot {
  margin: 1.4em auto 0.8em;
  display: block;
  max-width: 320px;
  clear: both;
}
.spot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  max-height: 320px;
  margin: 0 auto;
  border-radius: 2px;
  box-shadow: 0 12px 30px -12px rgba(32,22,14,0.4);
}
@media (min-width: 740px) {
  .spot {
    float: right;
    margin: 0.4em -90px 1.6em 32px;
    max-width: 280px;
  }
  .spot.left {
    float: left;
    margin: 0.4em 32px 1.6em -90px;
  }
}
.spot-caption { display: none !important; }

.body::after { content: ""; display: table; clear: both; }

/* ========== SOURCES ========== */
.sources { margin: 4em auto 1.5em; max-width: 780px; border-top: 1px solid var(--rule-strong); padding-top: 2em; text-align: left; clear: both; }
.sources summary { cursor: pointer; list-style: none; display: block; }
.sources summary::-webkit-details-marker { display: none; }
.sources summary::marker { display: none; content: ""; }
.sources summary .src-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px; border: 1.5px solid var(--ink); border-radius: 999px;
  background: var(--paper);
  font-family: 'DM Sans', sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--ink); font-weight: 700; user-select: none;
  transition: background .15s, color .15s, transform .15s;
}
.sources summary .src-icon { font-size: 13px; }
.sources summary .src-count { background: var(--cherry); color: var(--paper); font-size: 10px; padding: 2px 8px; border-radius: 999px; letter-spacing: 0.05em; margin-left: 2px; font-weight: 700; }
.sources summary:hover .src-pill { background: var(--ink); color: var(--paper); transform: translateY(-1px); }
.sources[open] summary .src-pill { background: var(--ink); color: var(--paper); }
.sources ol { list-style: none; margin: 1.6em 0 0 0; padding: 0; counter-reset: src; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper); overflow: hidden; }
.sources ol li { counter-increment: src; padding: 16px 20px 16px 60px; position: relative; border-bottom: 1px solid var(--rule); }
.sources ol li:last-child { border-bottom: none; }
.sources ol li:hover { background: var(--paper-shade); }
.sources ol li::before { content: counter(src); position: absolute; left: 18px; top: 16px; width: 28px; height: 28px; border: 1.5px solid var(--cherry); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 700; color: var(--cherry); background: var(--paper); }
.sources ol li a { display: flex; flex-direction: column; gap: 3px; text-decoration: none; }
.sources ol li a .src-domain { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 700; color: var(--ink); }
.sources ol li a .src-url { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-soft); word-break: break-all; line-height: 1.4; }
.sources ol li a:hover .src-domain { color: var(--cherry); }

/* ========== HOMEPAGE ========== */
.home-wrap { max-width: 1200px; margin: 32px auto 64px; background: var(--paper); padding: 56px clamp(24px, 5vw, 64px) 64px; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.55), 0 8px 24px -8px rgba(0,0,0,0.4); border-radius: 2px; position: relative; }
.home-wrap::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--ink); }
.home-hero { display: grid; grid-template-columns: 1fr; gap: 32px; padding: 0 0 32px; }
@media (min-width: 820px) { .home-hero { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; } }
.home-hero-img img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; max-height: 460px; border-radius: 2px; box-shadow: 0 24px 60px -20px rgba(32,22,14,0.45); }
.home-hero-meta { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--cherry); text-transform: uppercase; letter-spacing: 0.22em; margin-bottom: 16px; font-weight: 700; }
.home-hero h1 { font-family: 'Fraunces', serif; font-weight: 900; font-size: clamp(36px, 5.2vw, 56px); line-height: 1.04; letter-spacing: -0.025em; margin: 0 0 18px; font-variation-settings: "SOFT" 80, "WONK" 1; color: var(--ink); }
.home-hero h1 em { font-style: italic; color: var(--cherry); }
.home-hero .lede { font-family: 'Fraunces', serif; font-style: italic; font-size: 19px; color: var(--ink-soft); margin-bottom: 26px; line-height: 1.52; }
.home-hero .cta { display: inline-block; font-family: 'DM Sans', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; background: var(--ink); color: var(--paper); padding: 14px 28px; text-decoration: none; border-radius: 999px; transition: transform .15s, background .15s; }
.home-hero .cta:hover { transform: translateY(-2px); background: var(--cherry); }

.section-head { display: flex; align-items: baseline; gap: 16px; margin: 60px 0 32px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.section-head h2 { font-family: 'Fraunces', serif; font-weight: 900; font-size: 32px; letter-spacing: -0.015em; font-variation-settings: "SOFT" 80, "WONK" 1; }
.section-head .scrawl { font-family: 'Caveat', cursive; font-size: 19px; color: var(--ink-soft); transform: rotate(-1deg); }

.archive { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; margin-bottom: 0; }
.card { background: transparent; text-decoration: none; color: var(--ink); transition: transform .25s; }
.card:hover { transform: translateY(-4px); }
.card .card-img { overflow: hidden; border-radius: 2px; box-shadow: 0 12px 30px -12px rgba(32,22,14,0.35); }
.card img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; max-height: 220px; transition: transform .4s ease; }
.card:hover img { transform: scale(1.04); }
.card-body { padding: 16px 4px 4px; }
.card .ix { font-family: 'DM Sans', sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--cherry); font-weight: 700; }
.card h3 { font-family: 'Fraunces', serif; font-weight: 800; font-size: 22px; line-height: 1.15; margin: 8px 0 6px; letter-spacing: -0.01em; }
.card .when { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--ink-mute); letter-spacing: 0.06em; }

footer { padding: 32px 0 36px !important; color: rgba(248,241,227,0.7) !important; background: var(--bg) !important; border: none !important; }
footer .row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-family: 'DM Sans', sans-serif; font-size: 13px; align-items: center; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
footer .scrawl { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500; transform: none; color: rgba(248,241,227,0.7); letter-spacing: 0.04em; }
footer a { font-weight: 700; color: var(--paper); }



.designed-by { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500; color: var(--ink-soft); letter-spacing: 0.04em; transform: none; }
.designed-by a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--cherry); text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-weight: 700; }



/* ========== VIDEO EMBEDS ========== */
.body figure.video-embed {
  margin: 1.6em auto 1.8em;
  max-width: 760px;
  clear: both;
}
.body figure.video-embed .video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 24px 60px -20px rgba(32,22,14,0.45);
}
.body figure.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}

.row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }


/* ========== HOMEPAGE EXTRAS ========== */
.vibe-marquee {
  background: var(--ink);
  color: var(--paper);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 500;
  font-style: italic;
  position: relative;
  font-variation-settings: "SOFT" 80, "WONK" 1;
}
.vibe-marquee::before, .vibe-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.vibe-marquee::before { left: 0; background: linear-gradient(to right, var(--ink), transparent); }
.vibe-marquee::after { right: 0; background: linear-gradient(to left, var(--ink), transparent); }
.vibe-marquee-track {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 38s linear infinite;
}
.vibe-marquee-track span {
  display: inline-block;
  padding: 0 32px;
  position: relative;
}
.vibe-marquee-track span::after {
  content: "✦"; color: var(--cherry); margin-left: 32px; font-size: 11px; vertical-align: middle;
}
.vibe-marquee-track span.now { color: var(--mustard); font-weight: 700; }
.vibe-marquee-track span.now::before {
  content: "NOW"; display: inline-block; background: var(--cherry); color: var(--paper);
  font-family: 'DM Sans', sans-serif; font-style: normal; font-size: 9px;
  font-weight: 700; letter-spacing: 0.2em; padding: 2px 6px; border-radius: 3px;
  margin-right: 10px; vertical-align: middle;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.home-shell { max-width: 1200px; margin: 24px auto 64px; background: var(--paper); padding: 0; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.55), 0 8px 24px -8px rgba(0,0,0,0.4); border-radius: 2px; position: relative; }
.home-shell::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--ink); }

.home-inner { padding: 56px clamp(24px, 5vw, 64px) 0; }

.home-hero-v2 {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  padding: 0 0 28px;
  align-items: center;
}
@media (min-width: 880px) {
  .home-hero-v2 { grid-template-columns: 1.05fr 1fr; gap: 64px; }
}

.hero-stage { position: relative; }
.hero-stage img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4/3; object-fit: cover; max-height: 480px;
  border-radius: 2px;
  box-shadow: 0 24px 60px -20px rgba(32,22,14,0.5);
}

/* NEW THIS WEEK rubber-stamp seal — CSS-drawn */
.new-stamp {
  position: absolute;
  top: -22px; right: -22px;
  width: 130px; height: 130px;
  border-radius: 50%;
  border: 3px double var(--cherry);
  background: rgba(196,78,58,0.06);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: rotate(-14deg);
  font-family: 'DM Sans', sans-serif;
  color: var(--cherry-deep);
  text-align: center;
  z-index: 3;
  box-shadow: inset 0 0 0 2px rgba(196,78,58,0.18);
}
.new-stamp .new-line {
  font-size: 22px; font-weight: 800; letter-spacing: 0.04em; line-height: 1;
}
.new-stamp .new-sub {
  font-size: 9px; letter-spacing: 0.32em; font-weight: 700;
  margin-top: 4px;
}
.new-stamp::before, .new-stamp::after {
  content: ""; position: absolute; left: 14px; right: 14px; height: 1px;
  background: var(--cherry); opacity: 0.35;
}
.new-stamp::before { top: 28px; }
.new-stamp::after { bottom: 28px; }

.hero-text .home-hero-meta { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--cherry); text-transform: uppercase; letter-spacing: 0.22em; margin-bottom: 16px; font-weight: 700; }
.hero-text h1 { font-family: 'Fraunces', serif; font-weight: 900; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -0.025em; margin: 0 0 18px; font-variation-settings: "SOFT" 80, "WONK" 1; color: var(--ink); }
.hero-text h1 em { font-style: italic; color: var(--cherry); }
.hero-text .lede { font-family: 'Fraunces', serif; font-style: italic; font-size: 19px; color: var(--ink-soft); margin-bottom: 28px; line-height: 1.52; }
.hero-text .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-text .cta { display: inline-flex; align-items: center; font-family: 'DM Sans', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; padding: 14px 26px; text-decoration: none; border-radius: 999px; transition: transform .15s, background .15s, color .15s; }
.hero-text .cta.primary { background: var(--ink); color: var(--paper); }
.hero-text .cta.primary:hover { background: var(--cherry); transform: translateY(-2px); }
.hero-text .cta.ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.hero-text .cta.ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

/* ========== STATS STRIP ========== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 0 0 36px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 24px 0;
}
@media (min-width: 760px) { .stats-strip { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 0 16px; border-right: 1px solid var(--rule); }
.stat:last-child { border-right: none; }
.stat .num { font-family: 'Fraunces', serif; font-weight: 900; font-size: clamp(36px, 4.5vw, 54px); line-height: 1; color: var(--cherry); letter-spacing: -0.02em; font-variation-settings: "SOFT" 100, "WONK" 1; }
.stat .label { font-family: 'DM Sans', sans-serif; font-size: 10px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--ink-soft); font-weight: 700; margin-top: 8px; }

/* ========== COUNTDOWN ========== */
.countdown-bar {
  background: var(--ink);
  color: var(--paper);
  padding: 18px 24px;
  margin: 0 0 36px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  border-radius: 2px;
}
.countdown-bar .label { font-family: 'DM Sans', sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: 0.24em; color: var(--mustard); font-weight: 700; }
.countdown-bar .countdown { font-family: 'Fraunces', serif; font-weight: 900; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.02em; font-variation-settings: "SOFT" 100, "WONK" 1; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.countdown-bar .countdown small { font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(248,241,227,0.6); margin-left: 4px; }

/* ========== MANIFESTO ========== */
.manifesto {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  padding: 48px 0 8px;
  border-top: 1px solid var(--rule-strong);
}
@media (min-width: 820px) { .manifesto { grid-template-columns: 240px 1fr; gap: 56px; } }
.manifesto-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--cherry);
  font-weight: 700;
  padding-top: 8px;
  position: relative;
}
.manifesto-label::before { content: ""; display: block; width: 36px; height: 2px; background: var(--cherry); margin-bottom: 18px; }
.manifesto-body p { font-family: 'Fraunces', serif; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.45; color: var(--ink); font-variation-settings: "SOFT" 60, "WONK" 1; }
.manifesto-body p + p { margin-top: 0.7em; }
.manifesto-body em { color: var(--cherry); font-style: italic; }
.manifesto-byline { font-family: 'Caveat', cursive; font-size: 22px; color: var(--ink-soft); margin-top: 18px; transform: rotate(-1deg); display: inline-block; }

/* ========== ARCHIVE override for homepage v2 ========== */
.section-head-v2 { display: flex; align-items: baseline; gap: 16px; margin: 60px 0 32px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.section-head-v2 h2 { font-family: 'Fraunces', serif; font-weight: 900; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.015em; font-variation-settings: "SOFT" 80, "WONK" 1; }
.section-head-v2 .scrawl { font-family: 'Caveat', cursive; font-size: 19px; color: var(--ink-soft); transform: rotate(-1deg); }

/* ========== HOMEPAGE FOOTER STRIP ========== */
.home-bottom {
  padding: 40px clamp(24px, 5vw, 64px) 48px !important;
  border-top: 1px solid var(--rule-strong) !important;
  display: flex !important; justify-content: space-between !important; align-items: center !important; gap: 24px !important; flex-wrap: wrap !important;
  font-family: 'DM Sans', sans-serif !important; font-size: 12px !important; color: var(--ink-soft) !important; letter-spacing: 0.06em !important; background: none !important;
}
.home-bottom a.rss { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink); font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; font-size: 11px; transition: background .15s, color .15s; }
.home-bottom a.rss:hover { background: var(--ink); color: var(--paper); }


/* ========== LENIS SMOOTH SCROLL ========== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ========== PROMPT LIBRARY ========== */
.body h2 + h3, .body h2 + figure + h3 { margin-top: 1.4em; }
.body h3 + p em, .body h3 + p i { color: var(--ink-soft); font-style: italic; font-size: 0.96em; display: block; margin-bottom: 0.5em; }

/* Polished pre + Copy button */
.body .prompt-block { position: relative; margin: 0.6em 0 1.6em; }
.body .prompt-block pre {
  background: var(--ink) !important;
  color: var(--paper) !important;
  padding: 22px 26px 22px 26px !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  white-space: pre-wrap !important;
  word-break: break-word;
  margin: 0 !important;
}
.body .prompt-block .copy-btn {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(248,241,227,0.08);
  border: 1px solid rgba(248,241,227,0.25);
  color: var(--paper);
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background .15s, transform .15s;
  z-index: 2;
}
.body .prompt-block .copy-btn:hover { background: rgba(248,241,227,0.18); transform: translateY(-1px); }
.body .prompt-block .copy-btn.copied { background: var(--mustard); color: var(--ink); border-color: var(--mustard); }


/* ========== PROMPT LIBRARY — numbered cards ========== */
.body h3.prompt-h3 {
  position: relative;
  padding: 0.6em 0 0.4em 70px !important;
  margin: 2.6em 0 0.4em !important;
  font-family: 'Fraunces', serif !important;
  font-weight: 800 !important;
  font-style: normal !important;
  font-size: clamp(20px, 2.4vw, 26px) !important;
  line-height: 1.2 !important;
  color: var(--ink) !important;
  border-top: 1px solid var(--rule-strong) !important;
  font-variation-settings: "SOFT" 80 !important;
}
.body h3.prompt-h3:first-of-type { border-top: none !important; padding-top: 0.4em !important; margin-top: 1em !important; }
.body h3.prompt-h3::before {
  content: attr(data-num);
  position: absolute;
  left: 0; top: 0.55em;
  width: 50px; height: 50px;
  border: 2.5px solid var(--cherry);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--cherry);
  background: var(--paper);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.body h3.prompt-h3 + p {
  padding-left: 70px;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.96em;
  margin-top: 0.4em;
}
.body h3.prompt-h3 + p + .prompt-block,
.body h3.prompt-h3 + .prompt-block {
  margin-left: 70px;
}
@media (max-width: 720px) {
  .body h3.prompt-h3 { padding-left: 60px !important; }
  .body h3.prompt-h3::before { width: 40px; height: 40px; font-size: 16px; }
  .body h3.prompt-h3 + p, .body h3.prompt-h3 + p + .prompt-block, .body h3.prompt-h3 + .prompt-block { padding-left: 0; margin-left: 60px; }
}
