/* Beneath Psychology — shared styles */

:root {
  --bg: #eef1f4;
  --bg-soft: #e4e8ec;
  --ink: #14171c;
  --ink-soft: #3d434c;
  --ink-faded: #7a808a;
  --rule: #c8cfd7;
  --accent: #1f3a68;
  --accent-soft: #3b5a8c;
  --measure: 72ch;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1217;
    --bg-soft: #161a21;
    --ink: #dde2ea;
    --ink-soft: #a4abb6;
    --ink-faded: #6a717c;
    --rule: #262c36;
    --accent: #7aa6d6;
    --accent-soft: #a4c2e0;
  }
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: 'Newsreader', ui-serif, Georgia, serif;
  font-optical-sizing: auto;
  font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.1875rem);
  line-height: 1.62;
  font-weight: 400;
}

.page {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 3.5rem var(--gutter) 6rem;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 14, "SOFT" 50;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.nav a:hover { color: var(--accent); }

.nav .home { font-style: italic; font-weight: 500; }

.nav .meta { display: flex; gap: 1.5rem; }

.article-head { margin-bottom: 3.5rem; }

.article-head h1 {
  font-family: 'Newsreader', ui-serif, Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.article-head .subtitle {
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 36, "SOFT" 50;
  font-weight: 350;
  font-style: italic;
  font-size: clamp(1.1rem, 0.95rem + 0.55vw, 1.4rem);
  color: var(--ink-soft);
  line-height: 1.25;
  margin: 0 0 1.4rem;
}

.article-head .dateline {
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 14;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faded);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.article-head .dateline::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
  max-width: 8rem;
}

article p { margin: 0 0 1.4em; }

article em, article i { font-style: italic; color: var(--ink); }

article strong { font-weight: 600; }

article h2 {
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 36, "SOFT" 30;
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 2.6em 0 1em;
}

article h3 {
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 36, "SOFT" 30;
  font-weight: 450;
  font-size: 1.2rem;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 2.2em 0 0.9em;
}

article a {
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 92%;
  padding-bottom: 0.05em;
  transition: background-size 0.2s ease, color 0.2s ease;
}

article a:hover { color: var(--accent); background-size: 100% 2px; }

/* Standard prose lists (for the body bullets like the "absolute minimum force" list) */
  article > ul { margin: 1.4em 0; padding-left: 1.5em; }

article > ul > li { margin-bottom: 0.6em; }

/* ---------- CLAIM LIST (the opening three-bullet reframe) ---------- */

  .claims {
  margin: 2em 0 2.5em;
  padding: 0;
  list-style: none;
}

.claims li {
  padding: 0.55em 0 0.55em 1.5em;
  position: relative;
  line-height: 1.5;
}

.claims li:last-child { ; }

.claims li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0.55em;
  color: var(--ink-faded);
}

/* ---------- FIGURES ---------- */

  article figure { margin: 2.2em 0; text-align: center; }

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

article figure figcaption {
  margin-top: 0.7em;
  font-family: 'Newsreader', ui-serif, Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink-faded);
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

/* Side-by-side image pair */
  article figure .pair {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
}

article figure .pair img {
  flex: 1 1 0;
  min-width: 0;
  max-width: calc(50% - 0.75rem);
  height: auto;
}

@media (max-width: 480px) {
  article figure .pair img { max-width: 100%; }
}

/* Placeholder treatment for missing figure images */
  figure.placeholder {
  margin: 2.2em 0;
  padding: 2.5em 1.5em;
  background: var(--bg-soft);
  border: 1px dashed var(--rule);
  text-align: center;
}

figure.placeholder figcaption {
  margin-top: 0;
  color: var(--ink-faded);
  font-style: italic;
}

/* ---------- TABLES ---------- */

article figure.table {
  margin: 2.4em 0;
  text-align: left;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Wide tables get to breathe past the reading measure on large screens */
@media (min-width: 68rem) {
  article figure.table {
    width: min(88rem, calc(100vw - 2 * var(--gutter)));
    margin-left: 50%;
    transform: translateX(-50%);
  }
}

article figure.table table,
article table {
  border-collapse: collapse;
  width: 100%;
  min-width: 44rem;
  font-size: 0.875rem;
  line-height: 1.45;
}

article table th,
article table td {
  padding: 0.6em 0.75em;
  border: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

article table thead th,
article table tr:first-child th {
  background: var(--bg-soft);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}

/* First column reads as a row label */
article table tbody td:first-child {
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink);
}

article table tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--bg-soft) 45%, transparent);
}

@media (max-width: 640px) {
  article figure.table table,
  article table { min-width: 38rem; font-size: 0.8125rem; }
  article table th,
  article table td { padding: 0.5em 0.6em; }
}

/* ---------- SECTION BREAK ---------- */

  article hr.break {
  border: none;
  text-align: center;
  margin: 2.5em 0;
  height: auto;
}

article hr.break::before {
  content: "* * *";
  font-family: 'Newsreader', ui-serif, Georgia, serif;
  color: var(--ink-faded);
  font-size: 1.1em;
  letter-spacing: 0.6em;
  padding-left: 0.6em;
  /* compensate for trailing letter-spacing so it visually centers */;
}

/* ---------- FOOTNOTES ---------- */

  article a.fn-ref {
  background: none;
  padding: 0;
  color: var(--accent);
  font-size: 0.7em;
  vertical-align: super;
  line-height: 0;
  text-decoration: none;
  margin-left: 0.05em;
  margin-right: 0.05em;
  font-variant-numeric: tabular-nums;
}

article a.fn-ref:hover { color: var(--accent-soft); background: none; }

article a.fn-ref::before { content: "["; }

article a.fn-ref::after { content: "]"; }

.footnotes {
  margin-top: 4rem;
  padding-top: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.footnotes-label {
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 14;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faded);
  margin: 0 0 1.25rem;
}

.footnotes ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: footnote;
}

.footnotes li {
  counter-increment: footnote;
  padding-left: 2em;
  position: relative;
  margin-bottom: 1.2em;
}

.footnotes li::before {
  content: counter(footnote) ".";
  position: absolute;
  left: 0;
  color: var(--ink-faded);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.footnotes li p { margin: 0 0 0.7em; }

.footnotes li p:last-child { margin-bottom: 0; }

.footnotes a.fn-back {
  color: var(--ink-faded);
  background: none;
  padding: 0;
  margin-left: 0.35em;
  font-size: 0.85em;
  text-decoration: none;
}

.footnotes a.fn-back:hover { color: var(--accent); background: none; }

/* ---------- FOOTER ---------- */

  .article-foot {
  margin-top: 5rem;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 14;
  font-size: 0.9rem;
  color: var(--ink-faded);
}

.article-foot a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-foot a:hover { color: var(--accent); }

@media (max-width: 640px) {
  .nav { margin-bottom: 3rem; }
    .nav .meta { gap: 1rem; }
    .article-foot { flex-direction: column; gap: 0.5rem; }
    article h2 { font-size: 1.35rem; }
    .meme { padding: 1em 1.25em; font-size: 0.93rem; }
    .toc a { font-size: 1.05rem; }
    .topnav { gap: 1rem; margin-bottom: 1.5rem; }
    .masthead { margin-bottom: 2rem; padding-bottom: 1rem; }
}

::selection { background: var(--accent); color: var(--bg); }

article del { color: var(--ink-faded); }

/* ---------- STAGE LIST ---------- */

  article ol.stages {
  list-style: none;
  margin: 1.4em 0;
  padding: 0;
  counter-reset: stage;
}

article ol.stages > li {
  counter-increment: stage;
  padding-left: 2.5em;
  position: relative;
  margin-bottom: 1.4em;
}

article ol.stages > li::before {
  content: counter(stage) ")";
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 24;
  font-weight: 500;
  color: var(--ink-faded);
  font-variant-numeric: tabular-nums;
}

/* ---------- BELL CURVE MEME BLOCK ---------- */

  .meme {
  margin: 2em 0;
  padding: 1.25em 1.5em;
  background: var(--bg-soft);
  border-left: 2px solid var(--rule);
  font-family: 'Newsreader', ui-serif, Georgia, serif;
  font-size: 0.98rem;
  line-height: 1.5;
}

.meme-label {
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 14;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faded);
  display: block;
  margin-bottom: 0.7em;
}

.meme p { margin: 0 0 0.4em; }

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

.meme .role { font-weight: 500; color: var(--ink); }

/* ---------- QUIZ ANSWER BLOCK ---------- */

  .quiz-answer { margin-top: 4rem; padding-top: 1.5rem; }

.quiz-answer-label {
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 14;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faded);
  margin: 0 0 1.25rem;
}

/* ---------- BLOCKQUOTE ---------- */

  article blockquote {
  margin: 1.4em 0;
  padding: 0 0 0 1.25em;
  border-left: 2px solid var(--rule);
  color: var(--ink-soft);
  font-style: italic;
}

article blockquote p { margin-bottom: 0.7em; }

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

/* ---------- SECTION HEADERS ---------- */

  article h2 {
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 36, "SOFT" 30;
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 2.6em 0 1em;
}

/* ---------- IMAGES ---------- */

  article figure { margin: 2.2em 0; text-align: center; }

/* Side-by-side image pair (e.g. rope + rain) */
  article figure .pair {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
}

/* Stacked images within one figure (e.g. speech bubble panels) */
  article figure .stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

article figure .stack img { max-width: 100%; height: auto; }

/* ---------- DISCUSS LINK + FOOTER ---------- */

  .discuss {
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 14;
  font-size: 0.9rem;
  color: var(--ink-faded);
}

.discuss a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.discuss a:hover { color: var(--accent); }

.article-foot {
  margin-top: 5rem;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 14;
  font-size: 0.9rem;
  color: var(--ink-faded);
}

article blockquote {
  margin: 1.4em 0;
  padding: 0 0 0 1.25em;
  border-left: 2px solid var(--rule);
  color: var(--ink-soft);
  font-style: italic;
}

/* Footnotes */
  article a.fn-ref {
  background: none;
  padding: 0;
  color: var(--accent);
  font-size: 0.7em;
  vertical-align: super;
  line-height: 0;
  text-decoration: none;
  margin-left: 0.05em;
  margin-right: 0.05em;
  font-variant-numeric: tabular-nums;
}

/* Section break */
  article hr.break {
  border: none;
  text-align: center;
  margin: 3em 0;
  height: auto;
}

/* --- Additions for mirrored LessWrong posts (safe to tweak/remove) --- */
  article figure { margin: 2.2rem 0; }

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

article figcaption {
  text-align: center;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--ink-faded);
  margin-top: 0.6rem;
}

article .discuss { margin-top: 3.5rem; }

/* ---------- TOP: nav row, then centered masthead ---------- */

  .topnav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.topnav a {
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 14, "SOFT" 50;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.topnav a:hover { color: var(--accent); }

.masthead {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
}

.masthead h1 {
  margin: 0;
  font-family: 'Newsreader', ui-serif, Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.05;
}

.masthead .analogy {
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 14;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--ink-faded);
  margin: 0 0 0.5rem;
}

/* ---------- SECTIONS ---------- */

  .section { margin-bottom: 2rem; }

.section-head { margin-bottom: 0.85rem; padding-bottom: 0.6rem; }

.section-head h2 {
  margin: 0;
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 14;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faded);
}

.section-head h2 a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.1em;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.section-head h2 a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- shelf entries ---------- */

  .shelf-link {
  display: block;
  text-decoration: none;
  color: var(--ink);
}

.shelf-link h3 {
  font-family: 'Newsreader', ui-serif, Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.008em;
  margin: 0 0 0.35rem;
  color: var(--ink);
  transition: color 0.2s ease;
}

.shelf-link:hover h3 { color: var(--accent); }

.shelf-meta {
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 14;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink-faded);
  margin: 0 0 0.85rem;
  letter-spacing: 0.01em;
}

.shelf-desc {
  font-size: 1rem;
  font-style: italic;
  color: var(--ink-faded);
  margin: 0 0 2.5rem;
}

.shelf-link:hover .shelf-desc { color: var(--accent); }

/* ---------- compact shelf rows ---------- */

  .shelves {
  margin: 0 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.shelf-row {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.shelf-row a {
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 14;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.1em;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.shelf-row a:hover { border-color: var(--accent); }

/* ---------- WHERE TO START ---------- */

  .start {
  margin: 2rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.start h2 {
  margin: 0 0 1.1rem;
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 24, "SOFT" 50;
  font-weight: 400;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.start ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.start li {
  padding: 0.5em 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.start li a {
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 36, "SOFT" 30;
  font-weight: 420;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--rule);
  text-underline-offset: 0.18em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.start li a:hover { color: var(--accent); }

/* ---------- FRAGMENTS BLOCK ---------- */

  .fragments {
  margin: 2rem auto 0;
  max-width: 56ch;
  text-align: center;
  padding: 2rem 0 0;
  border-top: 1px solid var(--rule);
}

.fragments p {
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 36, "SOFT" 50;
  font-weight: 350;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
  letter-spacing: -0.005em;
}

.fragments p + p {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  position: relative;
}

.fragments p + p::before {
  content: "·";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--ink-faded);
  font-size: 1.2rem;
  line-height: 1;
}

/* ---------- FOOTER ---------- */

  .page-foot {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 1.5rem;
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 14;
  font-size: 0.85rem;
  color: var(--ink-faded);
}

.page-foot a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-foot a:hover { color: var(--accent); }

.foot-links { display: flex; gap: 1.5rem; }

/* ---------- RESPONSIVE ---------- */

  @media (max-width: 640px) {
  .topnav { gap: 1rem;
  margin-bottom: 2rem;
  }
    .masthead { margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  }
    .section { margin-bottom: 2rem;
  };
}

/* ---------- FOOTNOTES ---------- */

  /* Inline footnote reference: small superscript number */
  article a.fn-ref {
  background: none;
  padding: 0;
  color: var(--accent);
  font-size: 0.7em;
  vertical-align: super;
  line-height: 0;
  font-feature-settings: "sups";
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  margin-left: 0.05em;
  margin-right: 0.05em;
}

/* Footnotes list at end of article */
  .footnotes {
  margin-top: 4rem;
  padding-top: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Closing question — gentle treatment */
  article p.closer {
  font-style: italic;
  font-size: 1.15em;
  line-height: 1.45;
  margin-top: 2em;
  color: var(--ink);
}

.edit { margin: 3em 0 1.5em; padding-top: 1.5em; }

.edit-label {
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 14;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faded);
  display: block;
  margin-bottom: 1.4em;
}

.seq-head { margin-bottom: 2rem; }

.seq-head h1 {
  font-family: 'Newsreader', ui-serif, Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-variation-settings: normal;
  font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.1rem);
  letter-spacing: -0.01em;
}

.seq-head .subtitle {
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 24, "SOFT" 50;
  font-weight: 350;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
  line-height: 1.3;
}

.seq-head .dateline {
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 14;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faded);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.seq-head .dateline::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
  max-width: 8rem;
}

.seq-desc { margin: 0 0 3.5rem; }

.seq-desc p { margin: 0 0 1.1em; }

.seq-desc .edition-note {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--ink-faded);
}

.toc {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc li {
  counter-increment: seq;
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding: 0.5em 0;
}

.toc li:last-child { border-bottom: none; }

.toc li::before {
  content: counter(seq);
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 14;
  font-size: 0.8rem;
  color: var(--ink-faded);
  font-variant-numeric: tabular-nums;
  min-width: 1.5em;
  text-align: right;
  flex-shrink: 0;
}

.toc a {
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 36, "SOFT" 30;
  font-weight: 380;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: color 0.2s ease;
}

.toc a:hover { color: var(--accent); }

.seq-foot-note {
  margin: 3rem 0 0;
  padding: 1.25rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-faded);
  font-style: italic;
}

.seq-foot-note a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.seq-foot-note a:hover { color: var(--accent); }

.page-foot {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 1.5rem;
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 14;
  font-size: 0.85rem;
  color: var(--ink-faded);
}

/* ---------- LAYOUT ---------- */

  .page {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 3.5rem var(--gutter) 6rem;
}

/* ---------- TOP NAV ---------- */

  .nav {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 5rem;
  padding-bottom: 1rem;
}

/* ---------- ARTICLE HEADER ---------- */

  .article-head { margin-bottom: 3.5rem; }

/* ---------- BODY PROSE ---------- */

  article p { margin: 0 0 1.4em; }

/* ---------- RESPONSIVE TUNING ---------- */

  @media (max-width: 640px) {
  .nav { margin-bottom: 3rem;
  }
    .nav .meta { gap: 1rem;
  }
    .article-foot { flex-direction: column;
  gap: 0.5rem;
  };
}

/* Selection */
  ::selection { background: var(--accent); color: var(--bg); }

h1 {
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-weight: 380;
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 2rem;
  color: var(--ink);
}

.contact-body p { margin: 0 0 1.1em; }

.contact-body a {
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 92%;
  padding-bottom: 0.05em;
  transition: color 0.2s ease;
}

.contact-body a:hover { color: var(--accent); }

.topnav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.masthead h1 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.masthead h1 a:hover { color: var(--accent); }

.prose p { margin: 0 0 1.15em; }

.prose { margin-bottom: 3rem; }

.reqs { margin: 0 0 1.15em; padding-left: 1.4em; }

.reqs li { margin-bottom: 0.5em; }

.fn-ref {
  font-size: 0.75em;
  vertical-align: super;
  color: var(--accent);
  text-decoration: none;
}

.prose a, .fn p a {
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 92%;
  padding-bottom: 0.05em;
  transition: color 0.2s ease;
}

.prose a:hover, .fn p a:hover { color: var(--accent); }

.group-note {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 2.2rem 0 0.4rem;
  font-style: italic;
}

.toc-wrap { counter-reset: seq; margin-bottom: 3rem; }

blockquote.ai {
  margin: 1.5em 0;
  padding: 0.25em 0 0.25em 1.25em;
  border-left: 2px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.98rem;
}

blockquote.ai p { margin: 0 0 0.9em; }

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

.fn {
  margin: 2.5rem 0 0;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: var(--ink-faded);
}

.fn p { margin: 0; }

.edition-note {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--ink-faded);
  margin: 2.5rem 0 0;
}

.edition-note a { color: var(--ink-soft); text-decoration: none; }

.edition-note a:hover { color: var(--accent); }

.seq-head h1.page-title {
  font-family: 'Newsreader', ui-serif, Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 450;
  font-style: italic;
  font-variation-settings: normal;
  font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.1rem);
  letter-spacing: -0.01em;
}

.items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.items li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.55em 0;
}

.items li:last-child { border-bottom: none; }

.items .item-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  min-width: 0;
}

.items a {
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 36, "SOFT" 30;
  font-weight: 380;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: color 0.2s ease;
}

.items li > a { flex: 1; }

.items a:hover { color: var(--accent); }

.items .subtitle {
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 14, "SOFT" 50;
  font-weight: 350;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-faded);
  line-height: 1.3;
}

.items .date {
  font-family: 'Fraunces', ui-serif, Georgia, serif;
  font-variation-settings: "opsz" 14;
  font-size: 0.8rem;
  color: var(--ink-faded);
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.seq-head h1, h1 {
  font-family: 'Newsreader', ui-serif, Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-variation-settings: normal;
  font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.1rem);
  letter-spacing: -0.01em;
}
