/* ───────────────────────────────────────────────────────────────────────────
   Newfeed — public site
   Brand contract: cream paper, near-black ink, one typeface family throughout —
   Bricolage Grotesque, a modern grotesque with optical sizing, used light in body
   text and tighter in display. Whitespace over decoration; hairline rules, no
   shadows, no gradients, no rounded "SaaS" cards. Dark ink only for the closing band.
   ─────────────────────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/static/fonts/BricolageGrotesque-Variable.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/static/fonts/BricolageGrotesque-Variable-LatinExt.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #F4F0E7;
  --paper-tint: #EDE8DB;
  --ink: #201F1D;
  --ink-soft: #43423B;
  --muted: #7A776B;
  --rule: #D5CFBE;
  --accent: #8C2F27;
  --shell: 1180px;
  --measure: 700px;
  --step: clamp(1rem, 0.9rem + 0.4vw, 1.125rem);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: var(--step);
  line-height: 1.66;
  font-weight: 380;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }

a { color: inherit; text-decoration-color: var(--rule); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); color: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper);
  padding: 12px 18px; z-index: 50; font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .85rem;
}
.skip:focus { left: 12px; top: 12px; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 clamp(20px, 4vw, 44px); }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }

/* ── type ─────────────────────────────────────────────────────────────────── */

h1, h2, h3, h4, .label, .nav, .btn, .wordmark-text, .colophon, .band, .crumbs {
  font-family: 'Bricolage Grotesque', -apple-system, 'Helvetica Neue', sans-serif;
}

h1, h2, h3 { font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }

.hero h1 { font-size: clamp(2.5rem, 1.6rem + 4.2vw, 4.7rem); letter-spacing: -0.032em; line-height: 1.02; max-width: 17ch; }
.h1-small { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem); letter-spacing: -0.028em; max-width: 22ch; }
.section h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); letter-spacing: -0.022em; }
.triad h3, .card-title { font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 500; }

.label {
  margin: 0 0 14px;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* ── masthead ─────────────────────────────────────────────────────────────── */

.masthead { border-bottom: 1px solid var(--rule); background: var(--paper); }
.masthead-inner {
  display: flex; align-items: center; gap: clamp(18px, 3vw, 44px);
  padding-top: 20px; padding-bottom: 20px;
}
.wordmark { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
.wordmark:hover { color: var(--ink); }
.mark {
  font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 900; font-size: 1.55rem;
  letter-spacing: -0.05em; line-height: 1;
}
.wordmark-text { font-size: .86rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; }

.nav { display: flex; gap: clamp(14px, 2.2vw, 30px); margin-left: auto; }
.nav a { text-decoration: none; font-size: .84rem; letter-spacing: .04em; color: var(--ink-soft); }
.nav a:hover { color: var(--accent); }

.btn {
  display: inline-block; text-decoration: none; text-align: center;
  background: var(--ink); color: var(--paper);
  padding: 15px 26px; font-size: .84rem; letter-spacing: .06em;
  border: 1px solid var(--ink); transition: background .18s ease, color .18s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-small { padding: 10px 18px; font-size: .78rem; }

/* ── front page ───────────────────────────────────────────────────────────── */

.front { padding: clamp(20px, 3vw, 34px) 0 clamp(48px, 7vw, 96px); }

.issue-line {
  display: flex; flex-wrap: wrap; gap: clamp(14px, 2.4vw, 34px);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule);
  padding: 11px 0; margin: 0 0 clamp(34px, 5vw, 62px);
  font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .7rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.issue-line span + span { position: relative; }
.issue-line span + span::before {
  content: ""; position: absolute; left: calc(-1 * clamp(7px, 1.2vw, 17px)); top: 50%;
  width: 3px; height: 3px; background: var(--rule); border-radius: 50%; transform: translateY(-50%);
}

.lead { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(26px, 4.5vw, 62px); align-items: start; }
.lead-title {
  font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 500;
  font-size: clamp(2.1rem, 1.45rem + 2.6vw, 3.55rem); line-height: 1.07; letter-spacing: -0.026em; margin: 0;
}
.lead-title a { text-decoration: none; }
.lead-title a:hover { color: var(--accent); }
.lead-deck { font-weight: 360;
  font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: clamp(1.12rem, 1rem + .55vw, 1.4rem);
  line-height: 1.48; color: var(--ink-soft); margin: 24px 0 0; max-width: 46ch;
}
.lead-byline { margin: 26px 0 0; font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.link-arrow {
  display: inline-block; margin-top: 26px; padding-bottom: 4px;
  font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .82rem; letter-spacing: .05em;
  text-decoration: none; border-bottom: 1px solid var(--ink); color: var(--ink);
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.lead-art { margin: 0; }
.lead-art .cover { aspect-ratio: 1 / 1; border: 0; object-position: center top; }
.lead-art figcaption { margin-top: 12px; font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .76rem; line-height: 1.5; color: var(--muted); }

/* the note: first person, specific, and the only place the page argues */
.standfirst {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px); align-items: start;
  margin-top: clamp(46px, 6.5vw, 88px); padding-top: clamp(26px, 3.6vw, 42px);
  border-top: 1px solid var(--ink);
}
.note { font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: clamp(1.02rem, .96rem + .4vw, 1.16rem); line-height: 1.64; color: var(--ink-soft); max-width: 74ch; margin: 0; }
.note-facts { margin: 0; }
.note-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.note-facts > div:first-child { border-top: 1px solid var(--rule); }
.note-facts dt { font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.note-facts dd { margin: 0; font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 1.02rem; color: var(--ink); }

/* contents page, not a card grid */
.contents { margin-top: clamp(46px, 6.5vw, 88px); padding-top: clamp(26px, 3.6vw, 42px); border-top: 1px solid var(--ink); }
.contents-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.contents-head .label { margin: 0; }
.more { font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .78rem; letter-spacing: .04em; text-decoration: none; color: var(--accent); }
.more:hover { text-decoration: underline; }
.contents-list { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.contents-list li { border-bottom: 1px solid var(--rule); }
.contents-list a {
  display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: clamp(10px, 2vw, 28px);
  align-items: baseline; padding: 17px 2px; text-decoration: none;
}
.c-num { font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .7rem; letter-spacing: .14em; color: var(--muted); font-variant-numeric: tabular-nums; }
.c-title { font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: clamp(1.02rem, .98rem + .4vw, 1.26rem); line-height: 1.3; letter-spacing: -0.012em; }
.contents-list a:hover .c-title { color: var(--accent); }
.c-meta { font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* the proof: a real sources list, printed */
.evidence {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(26px, 4.5vw, 62px); align-items: start;
  margin-top: clamp(46px, 6.5vw, 88px); padding-top: clamp(26px, 3.6vw, 42px);
  border-top: 1px solid var(--ink);
}
.evidence h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem); margin-bottom: 16px; }
.evidence p { color: var(--ink-soft); max-width: 46ch; margin: 0; }
.evidence p + p { margin-top: 14px; }
.small { font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .78rem; line-height: 1.55; color: var(--muted); }
.evidence-list { background: var(--paper-tint); border: 1px solid var(--rule); padding: clamp(20px, 2.6vw, 32px); }
.evidence-list-head {
  margin: 0 0 14px; padding-bottom: 11px; border-bottom: 1px solid var(--rule);
  font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted);
}
.source-list { margin: 0; padding-left: 1.15em; font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .9rem; line-height: 1.55; color: var(--ink-soft); }
.source-list li + li { margin-top: 10px; }
.evidence-list .link-arrow { margin-top: 20px; font-size: .76rem; padding-bottom: 3px; }

/* the app, stated plainly */
.appblock {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(26px, 4.5vw, 62px); align-items: start;
  margin-top: clamp(46px, 6.5vw, 88px); padding-top: clamp(26px, 3.6vw, 42px);
  border-top: 1px solid var(--ink);
}
.appblock h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem); margin-bottom: 14px; }
.appblock p { color: var(--ink-soft); max-width: 54ch; margin: 0; }
.appblock p + p { margin-top: 12px; }
.appblock .btn { margin-top: 24px; }
.app-facts { list-style: none; margin: 0; padding: 0; }
.app-facts li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--rule);
  font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .8rem; color: var(--ink-soft);
}
.app-facts li:first-child { border-top: 1px solid var(--rule); }
.app-facts li span:last-child { color: var(--ink); }

.topics-inline {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 9px;
  margin-top: clamp(40px, 5.5vw, 68px); padding-top: 18px; border-top: 1px solid var(--rule);
  font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .8rem;
}
.topics-inline .label { margin: 0 10px 0 0; }
.topics-inline a { text-decoration: none; color: var(--ink-soft); }
.topics-inline a:hover { color: var(--accent); }
.topics-inline .dot { color: var(--rule); }

/* ── cards ────────────────────────────────────────────────────────────────── */

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(24px, 3vw, 40px); }

.card { margin: 0; }
.card-link { text-decoration: none; display: block; }
.cover {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border: 1px solid var(--rule); background: var(--paper-tint);
  filter: grayscale(1) contrast(1.04);
  /* the artwork is drawn on paper-white grounds; multiply lets it sit on ours */
  mix-blend-mode: multiply;
  transition: filter .25s ease, border-color .25s ease;
}
.card-link:hover .cover { filter: grayscale(0) contrast(1); border-color: var(--ink); }
.cover-empty { background: repeating-linear-gradient(45deg, var(--paper-tint), var(--paper-tint) 8px, #E5DFCE 8px, #E5DFCE 9px); }
.card-body { padding-top: 16px; }
.card .label { margin-bottom: 8px; font-size: .66rem; letter-spacing: .16em; }
.card-title { font-size: 1.12rem; line-height: 1.24; letter-spacing: -0.012em; margin: 0; }
.card-link:hover .card-title { color: var(--accent); }
.card-desc { margin: 8px 0 0; font-size: .9rem; line-height: 1.45; color: var(--muted); }

/* ── topics ───────────────────────────────────────────────────────────────── */

.topics { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.topics li { border-bottom: 1px solid var(--rule); }
.topics a {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: 16px 4px; text-decoration: none;
  font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .98rem; letter-spacing: .01em;
}
.topics a:hover { color: var(--accent); padding-left: 10px; transition: padding .15s ease; }
.topic-count { color: var(--muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.topics-large a { padding: 22px 4px; font-size: 1.24rem; }

.tag-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(36px, 5vw, 60px); }
.tag-filter a {
  font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .76rem; letter-spacing: .06em;
  text-decoration: none; border: 1px solid var(--rule); padding: 8px 14px; color: var(--ink-soft);
}
.tag-filter a:hover { border-color: var(--ink); color: var(--ink); }

.topic-block { padding-top: clamp(36px, 5vw, 60px); }
.topic-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--ink); padding-bottom: 12px; margin-bottom: 28px; }
.topic-head h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.topic-head .section-link { margin: 0; }

/* ── article ──────────────────────────────────────────────────────────────── */

.article { padding: clamp(36px, 5vw, 64px) 0 0; }
.article-shell { max-width: 860px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: clamp(24px, 3vw, 38px); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs .current { max-width: 60ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-soft); }

.article-head { border-bottom: 1px solid var(--rule); padding-bottom: 30px; }
.article-head h1 { font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 500; font-size: clamp(1.95rem, 1.4rem + 2.3vw, 3.15rem); line-height: 1.1; letter-spacing: -0.022em; max-width: 24ch; }
.article-desc { margin: 18px 0 0; font-size: clamp(1.02rem, .95rem + .4vw, 1.18rem); color: var(--ink-soft); max-width: 56ch; line-height: 1.5; }
.byline { margin: 22px 0 0; font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.article-figure { margin: clamp(28px, 4vw, 44px) 0 0; }
.cover-hero { width: min(100%, 620px); aspect-ratio: 1 / 1; border-color: var(--rule); }

/* reading measure, generous */
.prose { font-weight: 380; line-height: 1.7; max-width: var(--measure); margin: clamp(32px, 4.4vw, 52px) 0 0; font-size: clamp(1.04rem, .98rem + .3vw, 1.16rem); line-height: 1.72; color: var(--ink-soft); }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 520; font-size: clamp(1.28rem, 1.15rem + .7vw, 1.6rem); letter-spacing: -0.015em; margin-top: 1.9em; color: var(--ink); }
.prose h3 { font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 500; font-size: 1.06rem; letter-spacing: .01em; margin-top: 1.7em; color: var(--ink); }
.prose p { margin: 0 0 1.15em; }
.prose h2 { margin-bottom: .5em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); }
.prose a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.6em 0; padding-left: 22px; border-left: 2px solid var(--accent); font-style: italic; color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2.2em 0; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--paper-tint); padding: 2px 5px; }
.prose h2:first-child { margin-top: 0; }

/* ── sources ──────────────────────────────────────────────────────────────── */
/* A real source list, not a paragraph: every entry is a line a reader can check
   and, where the piece gives a DOI or a URL, a link a machine can follow. */
.sources { margin: clamp(40px, 5.6vw, 64px) 0 0; padding: 26px 0 0; border-top: 1px solid var(--rule); max-width: var(--measure); }
.sources .label { margin: 0; }
.sources-count { margin: 10px 0 0; font-size: .82rem; color: var(--muted); font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.source-list { margin: 20px 0 0; padding-left: 1.5em; font-size: .9rem; line-height: 1.55; color: var(--ink-soft); }
.source-list li { margin: 0 0 .7em; }
.source-list li::marker { color: var(--muted); font-variant-numeric: tabular-nums; }
.source-list a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); }
.source-list a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.source-note { margin: 20px 0 0; padding: 16px 0 0; border-top: 1px dotted var(--rule); max-width: var(--measure); font-size: .88rem; }
.source-note p { margin: 0 0 .8em; color: var(--muted); }
.source-note p:last-child { margin-bottom: 0; }
.byline a { color: inherit; text-decoration-color: var(--rule); }
.byline a:hover { color: var(--accent); }
.byline-name { color: var(--ink); }

.cite { margin: clamp(36px, 5vw, 56px) 0 0; padding: 22px 0 0; border-top: 1px solid var(--rule); max-width: var(--measure); }
.cite p { margin: 0; font-size: .86rem; line-height: 1.5; color: var(--muted); font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; }

/* ── closing band ─────────────────────────────────────────────────────────── */

.cta { background: var(--ink); color: var(--paper); padding: clamp(52px, 7vw, 92px) 0; }
.cta .label { color: #A9A498; }
.cta h2 { font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 500; font-size: clamp(1.7rem, 1.3rem + 2vw, 2.8rem); letter-spacing: -0.026em; max-width: 22ch; }
.cta-copy { margin: 20px 0 0; max-width: 54ch; color: #CFC9B9; font-size: .98rem; line-height: 1.6; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta .btn:hover { background: #fff; color: var(--accent); border-color: #fff; }
.cta .btn-ghost { background: transparent; color: var(--paper); border-color: #55534A; }
.cta .btn-ghost:hover { color: #fff; border-color: var(--paper); background: transparent; }

/* ── colophon ─────────────────────────────────────────────────────────────── */

.colophon { border-top: 1px solid var(--rule); padding: clamp(36px, 5vw, 60px) 0 34px; }
.colophon-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.colophon-brand p { margin: 14px 0 0; max-width: 42ch; font-size: .9rem; color: var(--ink-soft); }
.colophon-brand .mark { font-size: 1.3rem; }
.colophon-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 32px; justify-content: end; font-size: .82rem; }
.colophon-nav a { text-decoration: none; color: var(--ink-soft); }
.colophon-nav a:hover { color: var(--accent); }
.colophon-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: .76rem; letter-spacing: .04em; color: var(--muted); }

/* ── responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .lead, .standfirst, .evidence, .appblock { grid-template-columns: 1fr; }
  .lead-art { order: -1; }
  .lead-art .cover { aspect-ratio: 16 / 10; }
  .contents-list a { grid-template-columns: 32px minmax(0, 1fr); }
  .c-meta { grid-column: 2; color: var(--muted); margin-top: 4px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero-art a:nth-child(2), .hero-art a:nth-child(3) { margin-top: 0; }
  .band-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .triad { grid-template-columns: 1fr; gap: 28px; }
  .colophon-inner { grid-template-columns: 1fr; }
  .colophon-nav { justify-content: start; }
  .cover-wide { aspect-ratio: 4 / 3; }
}

@media (max-width: 560px) {
  .issue-line { gap: 6px 14px; }
  .issue-line span + span::before { display: none; }
  .masthead-inner { flex-wrap: wrap; gap: 14px; }
  .nav { order: 3; width: 100%; margin-left: 0; gap: 20px; }
  .masthead-inner .btn { margin-left: auto; }
  .grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .card-desc { display: none; }
  .card-title { font-size: 1rem; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .topic-head { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ── print ────────────────────────────────────────────────────────────────── */

@media print {
  .masthead, .cta, .colophon, .crumbs, .cite { display: none; }
  body { background: #fff; color: #000; }
  .prose { font-weight: 380; line-height: 1.7; max-width: none; }
}

/* ── commercial page ──────────────────────────────────────────────────────── */

.promo-hero { padding: clamp(30px, 4.5vw, 58px) 0 clamp(40px, 6vw, 76px); }
.promo-hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(28px, 5vw, 68px); align-items: center;
}
.promo-title { letter-spacing: -0.03em;
  font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 500;
  font-size: clamp(2.3rem, 1.5rem + 3.1vw, 4rem); line-height: 1.04; letter-spacing: -0.03em;
  margin: 18px 0 0; max-width: 17ch;
}
.promo-sub {
  font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: clamp(1.06rem, 1rem + .5vw, 1.26rem);
  line-height: 1.55; color: var(--ink-soft); max-width: 48ch; margin: 24px 0 0;
}
.promo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.promo-meta {
  margin: 22px 0 0; font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}

/* the plate: a real piece, typeset, not a fake app screenshot */
.promo-plate {
  margin: 0; padding: clamp(24px, 3vw, 38px);
  background: var(--paper-tint); border: 1px solid var(--rule);
}
.plate-kicker {
  margin: 0; font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .66rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.plate-title {
  font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: clamp(1.26rem, 1.1rem + .8vw, 1.62rem);
  line-height: 1.22; letter-spacing: -0.018em; margin: 12px 0 0;
}
.plate-title a { text-decoration: none; }
.plate-title a:hover { color: var(--accent); }
.plate-text {
  font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .98rem; line-height: 1.62;
  color: var(--ink-soft); margin: 16px 0 0;
}
.plate-foot {
  margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--rule);
  font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .68rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted);
}

/* three reasons, written as claims rather than features */
.promo-why { border-top: 1px solid var(--ink); padding: clamp(36px, 5vw, 62px) 0; }
.promo-why-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.6vw, 52px); }
.why-item h2 {
  font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: clamp(1.16rem, 1.02rem + .55vw, 1.42rem);
  line-height: 1.28; letter-spacing: -0.015em; margin: 12px 0 0;
}
.why-item p { color: var(--ink-soft); font-size: .96rem; line-height: 1.62; margin: 12px 0 0; }

/* proof: real pieces */
.promo-library { padding: clamp(36px, 5vw, 62px) 0; border-top: 1px solid var(--ink); }
.promo-library-head { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.promo-library-head h2 { font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: clamp(1.4rem, 1.2rem + .9vw, 1.9rem); letter-spacing: -0.02em; margin: 10px 0 0; }

/* price, stated flatly */
.promo-price { border-top: 1px solid var(--ink); padding: clamp(36px, 5vw, 62px) 0; }
.promo-price-inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.promo-price-copy h2 { font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; letter-spacing: -0.022em; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.05rem); margin: 10px 0 0; max-width: 21ch; }
.promo-price-copy p { color: var(--ink-soft); line-height: 1.62; margin: 14px 0 0; max-width: 44ch; }
.price-table { border-top: 1px solid var(--rule); }
.price-row {
  display: grid; grid-template-columns: 118px minmax(0, 1fr) auto;
  gap: clamp(14px, 2vw, 26px); align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--rule);
}
.price-name { margin: 0; font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .82rem; letter-spacing: .04em; }
.price-detail { margin: 0; font-size: .88rem; line-height: 1.55; color: var(--muted); }
.price-amount { margin: 0; font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 1.16rem; white-space: nowrap; }
.price-amount span { margin-left: 6px; font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* the app: honest status plus a real form */
.promo-app { background: var(--paper-tint); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: clamp(36px, 5vw, 62px) 0; }
.promo-app-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.promo-app .waitlist { padding-top: 34px; }
.promo-app h2 { font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; letter-spacing: -0.022em; font-size: clamp(1.4rem, 1.15rem + 1vw, 1.95rem); margin: 10px 0 0; max-width: 24ch; }
.promo-app-copy { color: var(--ink-soft); line-height: 1.62; margin: 14px 0 0; max-width: 46ch; }
.waitlist { margin: 0; }
.waitlist-label { display: block; font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.waitlist-row { display: flex; gap: 0; margin-top: 10px; }
.waitlist input[type=email] {
  flex: 1 1 auto; min-width: 0; padding: 15px 16px; font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .92rem;
  color: var(--ink); background: var(--paper); border: 1px solid var(--ink); border-right: 0; border-radius: 0;
}
.waitlist input[type=email]::placeholder { color: #A9A498; }
.waitlist .btn { border-radius: 0; }
.waitlist-note { margin: 12px 0 0; font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .76rem; line-height: 1.5; color: var(--muted); }

/* objections, answered without accordions that hide the answer */
.promo-faq { padding: clamp(36px, 5vw, 62px) 0; }
.promo-faq-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.promo-faq h2 { font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; letter-spacing: -0.022em; font-size: clamp(1.4rem, 1.2rem + 1vw, 1.95rem); margin: 10px 0 0; max-width: 16ch; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  cursor: pointer; padding: 15px 0; font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1.04rem; line-height: 1.4; list-style: none; display: flex; justify-content: space-between; gap: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; color: var(--muted); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 16px; color: var(--ink-soft); line-height: 1.62; max-width: 62ch; }

@media (max-width: 900px) {
  .promo-hero-inner, .promo-price-inner, .promo-app-inner, .promo-faq-inner { grid-template-columns: 1fr; }
  .promo-why-inner { grid-template-columns: 1fr; gap: 30px; }
  .promo-title { letter-spacing: -0.03em; max-width: 100%; }
  .price-row { grid-template-columns: 1fr auto; }
  .price-detail { grid-column: 1 / -1; }
  .waitlist-row { flex-direction: column; }
  .waitlist input[type=email] { border-right: 1px solid var(--ink); border-bottom: 0; }
}

/* ── reading paths ────────────────────────────────────────────────────────── */

.c-sub {
  display: block; margin-top: 6px; font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: .8rem; line-height: 1.5; letter-spacing: 0; color: var(--muted); font-weight: 400;
}
.paths-strip { margin: clamp(28px, 4vw, 44px) 0 8px; }
.paths-strip .label { margin-bottom: 6px; }
.path-note {
  margin-top: clamp(30px, 4vw, 48px); padding-top: 20px;
  border-top: 1px solid var(--rule); max-width: 70ch;
}
.path-note p { font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 1.02rem; line-height: 1.62; color: var(--ink-soft); margin: 10px 0 0; }

/* ── footer subscribe ─────────────────────────────────────────────────────── */

.colophon-sub { padding-top: clamp(22px, 3vw, 30px); }
.subscribe { max-width: 520px; }
.subscribe-label {
  display: block; font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .68rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
}
.subscribe-row { display: flex; gap: 0; margin-top: 10px; }
.subscribe input[type=email] {
  flex: 1 1 auto; min-width: 0; padding: 12px 14px; font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: .9rem; color: var(--ink); background: transparent;
  border: 1px solid var(--rule); border-right: 0; border-radius: 0;
}
.subscribe input[type=email]::placeholder { color: #A9A498; }
.subscribe input[type=email]:focus { outline: none; border-color: var(--ink); }
.subscribe .btn { border-radius: 0; }
.subscribe-note { margin: 10px 0 0; font-family: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .74rem; line-height: 1.5; color: var(--muted); }

@media (max-width: 560px) {
  .subscribe-row { flex-direction: column; }
  .subscribe input[type=email] { border-right: 1px solid var(--rule); border-bottom: 0; }
}

/* ── continuation ─────────────────────────────────────────────────────────── */
/* A piece ends with a way forward, not a dead stop: one recommended next piece
   as the default, three alternatives if the reader would rather choose. */

.next-up { padding: clamp(52px, 7vw, 96px) 0 clamp(64px, 8vw, 104px); border-top: 1px solid var(--rule); background: var(--paper); }
.nu-transition { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(26px, 3.4vw, 40px); }
.nu-rule { flex: 1; height: 1px; background: var(--rule); transform-origin: left; transform: scaleX(0); transition: transform 900ms cubic-bezier(.2,.7,.2,1); }
.next-up.is-in .nu-rule { transform: scaleX(1); }
.nu-cue { font-family: 'Bricolage Grotesque', sans-serif; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.nu-arrow { display: inline-block; animation: nf-bob 2.6s ease-in-out infinite; }
@keyframes nf-bob { 0%, 100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(3px); opacity: 1; } }

.nu-card {
  display: grid; grid-template-columns: 190px 1fr; gap: clamp(18px, 2.4vw, 34px);
  align-items: center; text-decoration: none; color: inherit;
  padding: clamp(18px, 2.2vw, 26px) 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  opacity: 0; transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
}
.nu-card.is-in { opacity: 1; transform: none; }
.nu-cover { display: block; overflow: hidden; }
.nu-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 900ms cubic-bezier(.2,.7,.2,1); }
.nu-card:hover .nu-img { transform: scale(1.04); }
.nu-copy { display: block; min-width: 0; }
.nu-meta { display: block; font-family: 'Bricolage Grotesque', sans-serif; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.nu-title { display: block; margin-top: 10px; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 500; letter-spacing: -.028em; line-height: 1.12; color: var(--ink); transition: color 220ms ease; }
.nu-card:hover .nu-title { color: var(--accent); }
.nu-deck { display: block; margin-top: 10px; color: var(--ink-soft); font-size: .98rem; line-height: 1.6; max-width: 56ch; }
.nu-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: 'Bricolage Grotesque', sans-serif; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.nu-go span { transition: transform 260ms cubic-bezier(.2,.7,.2,1); }
.nu-card:hover .nu-go span { transform: translateX(6px); }

.nu-alts { margin-top: clamp(30px, 4vw, 46px); opacity: 0; transform: translateY(14px); transition: opacity 700ms 120ms cubic-bezier(.2,.7,.2,1), transform 700ms 120ms cubic-bezier(.2,.7,.2,1); }
.nu-alts.is-in { opacity: 1; transform: none; }
.nu-alts .label { margin-bottom: 10px; }

/* the default way out: a bar that appears once the piece is finished */
.next-bar {
  position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 140%);
  z-index: 40; display: flex; align-items: center; gap: 14px;
  max-width: min(680px, calc(100vw - 32px)); width: max-content;
  padding: 12px 16px 12px 18px; background: var(--ink); color: var(--paper);
  border: 1px solid rgba(244, 240, 231, .22);
  text-decoration: none; border-radius: 2px;
  box-shadow: 0 10px 30px rgba(32, 31, 29, .18);
  transition: transform 520ms cubic-bezier(.2,.8,.2,1), opacity 380ms ease;
  opacity: 0;
}
.next-bar.is-in { transform: translate(-50%, 0); opacity: 1; }
.next-bar-label { font-family: 'Bricolage Grotesque', sans-serif; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: #B9B4A5; flex: none; }
.next-bar-title { font-size: .9rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.next-bar-go { flex: none; font-size: 1rem; transition: transform 260ms ease; }
.next-bar:hover .next-bar-go { transform: translateX(4px); }
.next-bar:hover { color: var(--paper); }

@media (max-width: 720px) {
  .nu-card { grid-template-columns: 1fr; align-items: start; }
  .nu-cover { max-width: 150px; }
  .next-bar { left: 12px; right: 12px; transform: translate(0, 140%); max-width: none; width: auto; }
  .next-bar.is-in { transform: translate(0, 0); }
  .next-bar-title { max-width: 52vw; }
}

@media (prefers-reduced-motion: reduce) {
  .nu-card, .nu-alts, .nu-rule, .next-bar { transition: none !important; transform: none !important; opacity: 1 !important; }
  .nu-arrow { animation: none; }
}

/* artwork: the app's duotone treatment, multiply on paper and invert on ink */

.cover, .nu-img, .article-figure img, .prose img, .card .cover, .lead-art .cover, .promo-plate img {
  mix-blend-mode: multiply;
}
:root[data-theme='dark'] .cover:not(.cover-empty),
:root[data-theme='dark'] .nu-img,
:root[data-theme='dark'] .article-figure img,
:root[data-theme='dark'] .prose img,
:root[data-theme='dark'] .promo-plate img {
  filter: invert(1);
  mix-blend-mode: screen;
}

/* ── dark surface ─────────────────────────────────────────────────────────── */

:root[data-theme='dark'] {
  --paper: #202822;
  --paper-tint: #26302A;
  --ink: #EEE8D8;
  --ink-soft: #D3CFBF;
  --muted: #A7AC9F;
  --rule: #3B453D;
  --accent: #D98E7E;
  color-scheme: dark;
}

html, body { transition: background-color 260ms ease, color 260ms ease; }

/* ── theme toggle ─────────────────────────────────────────────────────────── */

.masthead-tools { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; padding: 0;
  border: 1px solid var(--rule); background: transparent; color: var(--ink);
  cursor: pointer; border-radius: 0; appearance: none;
  transition: border-color 200ms ease, color 200ms ease;
}
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle .tt-sun { display: none; }
.theme-toggle .tt-moon { display: block; }
:root[data-theme='dark'] .theme-toggle .tt-sun { display: block; }
:root[data-theme='dark'] .theme-toggle .tt-moon { display: none; }

@media (max-width: 780px) {
  .masthead-tools { gap: 8px; }
  .masthead-tools .btn-small { display: none; }
}

/* ── what an account adds ─────────────────────────────────────────────────── */

.promo-account { border-top: 1px solid var(--rule); padding: clamp(56px, 8vw, 104px) 0; }
.promo-account-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.promo-account-copy h2 { margin: 10px 0 16px; max-width: 22ch; }
.promo-account-copy p { max-width: 46ch; color: var(--muted); line-height: 1.65; }
.account-items { display: grid; gap: 0; }
.account-item { padding: 18px 0; border-top: 1px solid var(--rule); }
.account-item:first-child { border-top: 0; padding-top: 0; }
.account-item h3 { margin: 0 0 6px; font-size: clamp(19px, 1.5vw, 23px); font-weight: 520; letter-spacing: -0.01em; }
.account-item p { margin: 0; color: var(--muted); line-height: 1.6; max-width: 46ch; }
.account-cta { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin: 8px 0 0; padding-top: 22px; border-top: 1px solid var(--rule); }
.account-cta span { color: var(--muted); font-size: 14px; }

/* the quiet line at the end of a piece */
.read-note { margin: 34px auto 0; max-width: var(--measure, 34rem); padding: 0 24px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.read-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 860px) {
  .promo-account-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .account-cta { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* the letter's signup, at the end of a piece */
.read-subscribe {
  max-width: var(--measure, 34rem);
  margin: 44px auto 0;
  padding: 22px 24px 0;
  border-top: 1px solid var(--rule);
}
.read-subscribe .subscribe-label { display: block; margin-bottom: 10px; }
.read-subscribe .subscribe-row { display: flex; gap: 10px; }
.read-subscribe .subscribe-row input { flex: 1 1 auto; min-width: 0; }
.read-subscribe .subscribe-note { margin: 8px 0 0; font-size: 13px; color: var(--muted); }

@media (max-width: 520px) {
  .read-subscribe .subscribe-row { flex-direction: column; }
  .read-subscribe .subscribe-row button { width: 100%; }
}
