/* ─────────────────────────────────────────────────────────────────────────
   Manifesto detail page — extends styles.css
   Lives under manifestos/<slug>.html
   ───────────────────────────────────────────────────────────────────────── */

.m-page {
  padding-top: 120px;
  padding-bottom: 0;
}

/* Back link */
.m-back {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  margin-bottom: 56px;
}
.m-back a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-muted);
  display: inline-flex; align-items: center; gap: 10px;
  transition: color 0.4s var(--ease-out), gap 0.4s var(--ease-out);
}
.m-back a:hover { color: var(--bone); gap: 14px; }
.m-back a .arr { display: inline-block; transition: transform 0.4s var(--ease-out); }
.m-back a:hover .arr { transform: translateX(-4px); }

/* Hero */
.m-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

.m-hero-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone-faint);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 56px;
}
.m-hero-meta::before {
  content: ""; width: 36px; height: 1px;
  background: var(--hairline-strong);
}

.m-hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 6.4vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.026em;
  color: var(--bone);
  margin: 0 0 32px;
  text-wrap: balance;
  max-width: 22ch;
}
.m-hero-title em, .m-hero-title .italic { font-style: italic; }

.m-hero-sub {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 2.1vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.008em;
  color: var(--bone-muted);
  max-width: 38ch;
  margin: 0 0 96px;
}

/* Hero illustration */
.m-hero-art {
  margin: 32px 0 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 24px 0;
  position: relative;
}
.m-hero-art-stage {
  width: 100%;
  /* 200% larger than the original 16/7.2 stage. */
  aspect-ratio: 4 / 3;
  max-height: 90vh;
  position: relative;
  color: var(--bone);
}
.m-hero-art-stage svg {
  width: 100%; height: 100%;
  display: block;
  color: var(--bone);
}
.m-hero-art-caption {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone-whisper);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px 0;
}

/* Body */
.m-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px var(--gutter) 0;
}
.m-body p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(19px, 1.55vw, 22px);
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: var(--bone);
  margin: 0 0 1.3em;
  text-wrap: pretty;
}
.m-body p.lead {
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--bone);
  margin-bottom: 1.4em;
}
.m-body p.minor {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--bone-muted);
}
.m-body p em {
  font-style: italic;
  color: var(--bone);
}
.m-body p strong {
  font-weight: 400;
  color: var(--bone);
}
.m-body .m-section {
  margin-bottom: 72px;
}
.m-body .m-section:last-child {
  margin-bottom: 0;
}
.m-body .m-divider {
  border: 0;
  height: 1px;
  background: var(--hairline);
  margin: 0 auto 72px;
  width: 64px;
  position: relative;
}
.m-body .m-divider::before {
  content: "§"; position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--obsidian);
  padding: 0 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--bone-faint);
}

/* Pull-quote / emphasis lines (single-line paragraphs that look like declarations) */
.m-body p.declarative {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 1.95vw, 28px);
  color: var(--bone);
  line-height: 1.35;
  padding: 4px 0 4px 24px;
  border-left: 1px solid var(--hairline-strong);
  margin: 0.4em 0 1.3em;
}

/* ── Editorial bullet list (asterisked lists from the doc) ─────────────── */
.m-body .m-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6em;
  display: flex;
  flex-direction: column;
  gap: 0.45em;
}
.m-body .m-list li {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.45;
  letter-spacing: -0.004em;
  color: var(--bone-muted);
  padding-left: 28px;
  position: relative;
  text-wrap: pretty;
}
.m-body .m-list li::before {
  content: "—";
  position: absolute;
  left: 0; top: 0;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--bone-whisper);
  line-height: 1.65;
}
.m-body .m-list.tight { gap: 0.18em; }
.m-body .m-list.tight li { font-size: clamp(16px, 1.25vw, 18px); }

/* ── Key declaration: standalone italic line in serif ──────────────────── */
.m-body p.m-key {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.014em;
  color: var(--bone);
  margin: 0.5em 0 1.4em;
  text-wrap: balance;
  max-width: 22ch;
}
.m-body p.m-key.center { margin-left: auto; margin-right: auto; text-align: center; }
.m-body p.m-key.right  { margin-left: auto; text-align: right; }

/* ── Cascade: stacked short statements (e.g. "Prediction changes the future…") ── */
.m-body .m-cascade {
  margin: 0.4em 0 1.6em;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  border-left: 1px solid var(--hairline-strong);
  padding-left: 24px;
}
.m-body .m-cascade p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(19px, 1.55vw, 23px);
  line-height: 1.35;
  color: var(--bone);
  margin: 0;
}
.m-body .m-cascade p.fade { color: var(--bone-muted); font-style: normal; }

/* ── Concept tag rail under hero illustration (FIG · LIVING DIAGRAM) ──── */
.m-fig-tags {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px var(--gutter) 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}
.m-fig-tags .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-faint);
  padding: 6px 12px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.m-fig-tags .tag:hover {
  color: var(--bone);
  border-color: var(--hairline-strong);
}
.m-fig-tags .tag.sep {
  border: 0;
  padding: 6px 4px;
  color: var(--bone-whisper);
  letter-spacing: 0.4em;
}

/* ── Layer cards (used in M06, M08, M10, M11, M12) ────────────────────── */
.m-body .m-layers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--hairline);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin: 0.6em 0 1.8em;
}
.m-body .m-layer {
  background: var(--obsidian);
  padding: 22px 0;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  align-items: baseline;
}
.m-body .m-layer .num {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bone-faint);
  padding-top: 4px;
}
.m-body .m-layer .name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 1.8vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--bone);
  margin: 0 0 6px;
}
.m-body .m-layer .body {
  display: block;
}
.m-body .m-layer .desc {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.5;
  color: var(--bone-muted);
  margin: 0;
  max-width: 56ch;
}

@media (max-width: 720px) {
  .m-body .m-layer { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .m-fig-tags { padding-top: 20px; gap: 6px 8px; }
  .m-fig-tags .tag { font-size: 9px; padding: 5px 10px; }
}

/* ── Inline emphasized phrase (in-flow strong italic, in serif) ─────── */
.m-body em.pivot {
  font-family: var(--serif);
  font-style: italic;
  color: var(--bone);
}

/* Foot of article — pager */
.m-foot {
  max-width: var(--max);
  margin: 120px auto 0;
  padding: 36px var(--gutter);
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.m-foot .m-foot-prev,
.m-foot .m-foot-next {
  color: var(--bone-muted);
  transition: color 0.4s var(--ease-out);
}
.m-foot .m-foot-prev:hover,
.m-foot .m-foot-next:hover { color: var(--bone); }
.m-foot .m-foot-prev .arr,
.m-foot .m-foot-next .arr { display: inline-block; transition: transform 0.4s var(--ease-out); }
.m-foot .m-foot-prev:hover .arr { transform: translateX(-4px); }
.m-foot .m-foot-next:hover .arr { transform: translateX(4px); }
.m-foot .m-foot-up {
  text-align: center;
  color: var(--bone-faint);
}
.m-foot .m-foot-next { text-align: right; }

.m-foot small {
  display: block;
  font-family: var(--sans);
  text-transform: none;
  letter-spacing: 0.005em;
  color: var(--bone-faint);
  margin-top: 6px;
  font-size: 12px;
}

/* SVG primitive animations shared across manifestos */
@keyframes mPulse {
  0%, 100% { opacity: 0.38; }
  50%      { opacity: 0.85; }
}
@keyframes mFlow {
  0%, 100% { opacity: 0.12; }
  50%      { opacity: 0.32; }
}
@keyframes mParticle {
  0%, 100% { opacity: 0.10; transform: translate(0, 0); }
  50%      { opacity: 0.42; transform: translate(0.4px, -0.3px); }
}
@keyframes mDrift {
  0%, 100% { opacity: 0.14; }
  50%      { opacity: 0.36; }
}

.m-svg-flow      { fill: none; stroke: currentColor; stroke-width: 0.06; opacity: 0.22; animation: mFlow 14s ease-in-out infinite; }
.m-svg-line      { stroke: currentColor; stroke-width: 0.055; opacity: 0.2; animation: mDrift 16s ease-in-out infinite alternate; }
.m-svg-arc       { fill: none; stroke: currentColor; stroke-width: 0.05; opacity: 0.12; animation: mDrift 22s ease-in-out infinite alternate; }
.m-svg-node      { fill: currentColor; opacity: 0.7; animation: mPulse 10s ease-in-out infinite; }
.m-svg-particle  { fill: currentColor; opacity: 0.28; animation: mParticle 12s ease-in-out infinite alternate; }
.m-svg-ring      { fill: none; stroke: currentColor; stroke-width: 0.045; opacity: 0.22; animation: mFlow 18s ease-in-out infinite alternate; }
.m-svg-axis      { stroke: currentColor; stroke-width: 0.05; stroke-dasharray: 0.5 0.6; opacity: 0.35; }
.m-svg-label     { fill: currentColor; font-family: var(--mono); font-size: 1.2px; letter-spacing: 0.18em; opacity: 0.55; }
.m-svg-desc      { fill: currentColor; font-family: var(--sans); font-size: 1.0px; opacity: 0.4; }
.m-svg-label-line{ stroke: currentColor; stroke-width: 0.045; stroke-dasharray: 0.45 0.55; opacity: 0.3; }
.m-svg-survival  { fill: none; stroke: currentColor; stroke-width: 0.16; opacity: 0.55; animation: mPulse 12s ease-in-out infinite; }
.m-svg-bottleneck{ fill: currentColor; opacity: 0.85; animation: mPulse 8s ease-in-out infinite; }

/* Manifesto landing — index of all 10 - reuse manifesto-row from styles.css */
.m-index-page {
  padding-top: 120px;
}
.m-index-page .label {
  margin-bottom: 24px;
}

@media (max-width: 720px) {
  .m-body { padding: 80px 24px 0; }
  .m-body p { font-size: 18px; }
  .m-foot { grid-template-columns: 1fr; text-align: center; }
  .m-foot .m-foot-next { text-align: center; }
  .m-hero-title { font-size: 40px; }
  .m-hero-art-stage { aspect-ratio: 1 / 1; }
}


/* ── AUTHOR / PUBLICATION META — discreet editorial block ─────────────── */
.m-meta {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--gutter) 0;
}
.m-meta-inner {
  border-top: 1px solid var(--hairline);
  padding-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 40px;
}
.m-meta-item {
  display: flex; flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.m-meta-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone-whisper);
  font-weight: 400;
}
.m-meta-value {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--bone-muted);
  letter-spacing: 0.002em;
}
.m-meta-value a {
  color: var(--bone-muted);
  transition: color 0.3s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.m-meta-value a:hover {
  color: var(--bone);
  border-bottom-color: var(--bone-whisper);
}

@media (max-width: 720px) {
  .m-meta { padding: 36px 24px 0; }
  .m-meta-inner { grid-template-columns: 1fr 1fr; gap: 18px 24px; }
}


/* ── LEGAL — editorial colophon, not a heavy footer ──────────────────── */
.m-legal {
  max-width: var(--max);
  margin: 80px auto 0;
  padding: 48px var(--gutter) 64px;
  border-top: 1px solid var(--hairline);
}
.m-legal-inner {
  max-width: 760px;
}
.m-legal-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-whisper);
  margin: 0 0 24px;
}
.m-legal-copyright {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
  color: var(--bone-muted);
  margin: 0 0 28px;
  max-width: 58ch;
}
.m-legal-text {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--bone-faint);
  letter-spacing: 0.005em;
  margin: 0 0 14px;
  max-width: 70ch;
  text-wrap: pretty;
}
.m-legal-meta {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
}
.m-legal-meta-block {
  display: flex; flex-direction: column;
  gap: 4px;
}
.m-legal-meta-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone-whisper);
  margin-bottom: 6px;
}
.m-legal-meta-line {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--bone-muted);
}
.m-legal-meta-line a {
  color: var(--bone-muted);
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.m-legal-meta-line a:hover {
  color: var(--bone);
  border-bottom-color: var(--bone-whisper);
}

@media (max-width: 720px) {
  .m-legal { padding: 36px 24px 48px; }
  .m-legal-meta { grid-template-columns: 1fr; gap: 18px; }
}
