.journal-page { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; line-height: 1.7; }

.blog-main { width: 100%; flex: 1; }
.blog-hero { position: relative; isolation: isolate; min-height: 650px; display: grid; align-items: center; overflow: hidden; background: var(--blog-colour); color: var(--ink); }
.blog-hero::before { content: ""; position: absolute; z-index: -1; top: -245px; right: -185px; width: 660px; height: 660px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 51px, currentColor 52px 54px); color: var(--ink); opacity: .11; pointer-events: none; }
.blog-hero-inner { padding-block: clamp(74px, 9vw, 118px); }
.blog-hero-copy { max-width: 790px; }
.post-kicker { width: fit-content; margin: 0 0 18px; padding: 6px 10px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--lime); color: var(--ink); font: 500 .72rem var(--mono); text-transform: uppercase; letter-spacing: .1em; box-shadow: 3px 3px 0 var(--ink); }
.blog-hero h1, .post-header h1 { margin: 0; letter-spacing: -.058em; line-height: 1.01; }
.blog-hero h1 { max-width: 720px; font-size: clamp(3.8rem, 6.7vw, 6.6rem); line-height: .92; letter-spacing: -.07em; }
.blog-hero-copy > p { max-width: 720px; margin: 27px 0 0; color: var(--ink); font-size: clamp(1rem, 1.5vw, 1.13rem); line-height: 1.72; }

.post-index { padding: 30px 0 100px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; padding: 0 0 15px; border-bottom: 2px solid var(--line); }
.section-heading h2 { margin: 0; font-size: 1rem; }
.section-heading a { color: var(--blue-dark); font: 500 .72rem var(--mono); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.journal-links { display: flex; align-items: center; gap: 16px; }
.journal-filter {
  margin-top: 18px;
  padding: clamp(20px, 3vw, 28px);
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: var(--sky);
  box-shadow: var(--shadow-sm);
}
.journal-filter__heading { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.journal-filter__heading h2 { margin: 0; font-size: 1.15rem; }
.journal-filter__heading p { max-width: 680px; margin: 7px 0 0; color: var(--ink-soft); font-size: .85rem; }
.journal-filter__clear { flex: 0 0 auto; padding: 8px 12px; border-radius: 8px; background: var(--pink); font-size: .72rem; }
.journal-filter__search { margin-top: 20px; }
.journal-filter__search label { display: block; margin-bottom: 7px; color: var(--ink); font: 800 .7rem var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.journal-filter__search input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font: 500 .85rem var(--sans);
}
.journal-filter__search input::placeholder { color: var(--ink-soft); opacity: 1; }
.journal-filter__search input:hover { background: var(--yellow); }
.journal-filter__search input:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.journal-filter__fieldset { min-width: 0; margin: 20px 0 0; padding: 17px 0 0; border: 0; border-top: 1.5px solid var(--line); }
.journal-filter__fieldset legend { padding: 0 10px 0 0; color: var(--ink); font: 800 .7rem var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.journal-filter__options { display: flex; flex-wrap: wrap; gap: 9px; }
.journal-filter__option { position: relative; cursor: pointer; }
.journal-filter__option input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.journal-filter__option span {
  display: block;
  padding: 7px 11px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font: 800 .7rem var(--mono);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.journal-filter__option:hover span { transform: translate(2px, 2px); background: var(--yellow); box-shadow: 1px 1px 0 var(--ink); }
.journal-filter__option:active span { transform: translate(3px, 3px); box-shadow: none; }
.journal-filter__option input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 3px; }
.journal-filter__option input:checked + span { background: var(--blue); color: var(--paper); }
.journal-filter__summary { margin: 17px 0 0; color: var(--ink-soft); font: .7rem var(--mono); }
.post-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; padding-top: 16px; }
.post-card[hidden] { display: none; }
.post-card.featured { grid-column: 1 / -1; min-height: 330px; padding: clamp(28px, 5vw, 48px); box-shadow: 8px 8px 0 var(--ink); }
.post-card.featured h3 { max-width: 690px; font-size: clamp(1.8rem, 4vw, 3rem); }
.post-header.post-colour--orange .post-description,
.post-header.post-colour--orange .post-meta { color: var(--ink); }
.journal-links a:focus-visible,
.post-nav a:focus-visible {
  border-radius: 2px;
  outline: 3px solid var(--pink);
  outline-offset: 4px;
}
.empty-posts { padding: 80px 20px; text-align: center; color: var(--ink-soft); }

.post { padding: clamp(65px, 9vw, 110px) 0 100px; }
.post-header { padding: clamp(30px, 4vw, 48px); border: 2px solid var(--ink); border-radius: 16px; background: var(--post-colour, var(--sky)); box-shadow: 8px 8px 0 var(--ink); }
.post-header .post-kicker { margin-bottom: 20px; background: var(--pink); }
.post-header h1 { max-width: 900px; font-size: clamp(2.5rem, 6vw, 4.6rem); }
.post-description { max-width: 680px; margin: 24px 0; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.7; }
.post-header .post-author { margin-top: 8px; }
.post-header .post-meta { margin-top: 13px; }
.post-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.post-content { width: 100%; padding-top: 58px; color: #30354b; font-size: 1.02rem; }
.post-content h2 { margin: 2.4em 0 .65em; color: var(--ink); font-size: 1.65rem; line-height: 1.25; letter-spacing: -.025em; scroll-margin-top: 110px; }
.post-content > h2:not(:first-child),
.post-content > .section-heading-row--h2:not(:first-child) { padding-top: 1.25em; border-top: 2px solid var(--line); }
.post-content h3 { margin: 2em 0 .55em; color: var(--ink); font-size: 1.2rem; }
.section-heading-row {
  display: flex;
  min-width: 0;
  padding-right: 4px;
  gap: 12px;
  align-items: flex-start;
  overflow: visible;
}
.section-heading-row,
.section-heading-row > h2,
.section-heading-row > h3,
.section-link-copy { scroll-margin-top: 110px; }
.post-content .section-heading-row--h2 { margin: 2.4em 0 .65em; }
.post-content .section-heading-row--h3 { margin: 2em 0 .55em; }
.post-content .section-heading-row > h2,
.post-content .section-heading-row > h3 {
  min-width: 0;
  margin: 0;
  flex: 1 1 18rem;
  overflow-wrap: anywhere;
}
.post-content h4 { margin: 1.8em 0 .5em; color: var(--ink); font-size: 1.02rem; line-height: 1.35; }
.post-content p, .post-content ul, .post-content ol { margin: 0 0 1.45em; }
.post-content a { color: var(--blue-dark); text-underline-offset: 3px; }
.post-content a.has-link-preview {
  text-decoration-thickness: 2px;
  text-decoration-style: dotted;
}
.post-content a.has-link-preview:focus-visible {
  border-radius: 2px;
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}
.link-preview {
  --link-preview-shadow-offset: 7px;
  position: fixed;
  z-index: 20;
  display: block;
  width: min(470px, calc(100% - 24px - var(--link-preview-shadow-offset)));
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--link-preview-shadow-offset) var(--link-preview-shadow-offset) 0 var(--pink);
  color: var(--ink);
}
.link-preview[hidden] { display: none; }
.link-preview__body { display: flex; min-width: 0; padding: 17px; flex-direction: column; align-items: flex-start; }
.link-preview__site {
  color: var(--blue-dark);
  font: 800 .62rem var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.link-preview__title { margin-top: 5px; font-size: 1rem; line-height: 1.25; }
.link-preview__description { margin-top: 8px; color: var(--ink-soft); font-size: .76rem; line-height: 1.45; }
.link-preview__action {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: 14px;
  padding: 7px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 7px;
  background: var(--pink);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
  font: 800 .68rem var(--mono);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.link-preview__action:hover { transform: translate(2px, 2px); background: var(--yellow); box-shadow: 1px 1px 0 var(--ink); }
.link-preview__action:active { transform: translate(3px, 3px); box-shadow: none; }
.link-preview__action:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.post-content code { padding: .15em .36em; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--blue-dark); font: .86em var(--mono); }
.post-content :not(pre) > code { overflow-wrap: anywhere; word-break: break-word; }
.post-content table {
  width: 100%;
  margin: 2em 0;
  border: 2px solid var(--ink);
  border-spacing: 0;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.post-content th,
.post-content td {
  min-width: 8rem;
  padding: 13px 15px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}
.post-content th {
  border-color: var(--ink);
  background: var(--blue);
  color: var(--paper);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .015em;
}
.post-content tbody tr:nth-child(even) { background: var(--canvas); }
.post-content th:last-child,
.post-content td:last-child { border-right: 0; }
.post-content tbody tr:last-child td { border-bottom: 0; }
.post-content td code {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.record-map {
  margin: 2.2em 0;
  padding: clamp(20px, 3vw, 30px);
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--sky);
  box-shadow: 6px 6px 0 var(--ink);
}
.record-map figcaption {
  position: relative;
  width: min(100%, 440px);
  margin: 0 auto 34px;
  padding: 14px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
  text-align: center;
}
.record-map figcaption::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 2px;
  height: 36px;
  background: var(--ink);
  transform: translateX(-50%);
}
.record-map figcaption span,
.record-map figcaption strong { display: block; }
.record-map figcaption span { color: var(--blue-dark); font: 800 .64rem var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.record-map figcaption strong { margin-top: 3px; color: var(--ink); font-size: 1rem; line-height: 1.35; }
.post-content .record-map__sources {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.record-map__sources::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--ink);
}
.record-map__source {
  position: relative;
  min-width: 0;
  padding: 15px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 9px;
  background: var(--paper);
}
.record-map__source::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 2px;
  height: 18px;
  background: var(--ink);
}
.record-map__source--session { box-shadow: 4px 4px 0 var(--blue); }
.record-map__source--history { box-shadow: 4px 4px 0 var(--pink); }
.record-map__source--desktop { box-shadow: 4px 4px 0 var(--yellow); }
.record-map__source--otel { box-shadow: 4px 4px 0 var(--lime); }
.record-map__source > span,
.record-map__source > strong,
.post-content .record-map__source > code,
.record-map__source > small { display: block; }
.record-map__source > span { color: var(--blue-dark); font: 800 .56rem var(--mono); letter-spacing: .03em; text-transform: uppercase; }
.record-map__source > strong { margin-top: 8px; color: var(--ink); font-size: .82rem; line-height: 1.3; }
.post-content .record-map__source > code { width: fit-content; max-width: 100%; margin-top: 8px; padding: 0; border: 0; background: transparent; overflow-wrap: anywhere; color: var(--blue-dark); font-size: .63rem; }
.record-map__source > small { margin-top: 12px; color: var(--ink-soft); font-size: .7rem; line-height: 1.45; }
.evidence-map {
  margin: 2.2em 0;
  padding: clamp(20px, 3vw, 30px);
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--sky);
  box-shadow: 6px 6px 0 var(--ink);
}
.evidence-map figcaption {
  position: relative;
  width: min(100%, 430px);
  margin: 0 auto 34px;
  padding: 16px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
  text-align: center;
}
.evidence-map figcaption::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 2px;
  height: 36px;
  background: var(--ink);
  transform: translateX(-50%);
}
.evidence-map figcaption span,
.evidence-map figcaption strong,
.evidence-map figcaption small { display: block; }
.evidence-map figcaption span { color: var(--blue-dark); font: 800 .66rem var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.evidence-map figcaption strong { margin-top: 3px; color: var(--ink); font-size: 1.05rem; }
.evidence-map figcaption small { margin-top: 6px; color: var(--ink-soft); font-size: .72rem; line-height: 1.45; }
.evidence-map__lanes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.evidence-map__lanes::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 25%;
  right: 25%;
  height: 2px;
  background: var(--ink);
}
.evidence-map__lane {
  position: relative;
  min-width: 0;
  padding: 18px;
  border: 1.5px solid var(--ink);
  border-radius: 11px;
  background: var(--paper);
}
.evidence-map__lane::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 2px;
  height: 18px;
  background: var(--ink);
}
.evidence-map__lane--answers { box-shadow: 4px 4px 0 var(--blue); }
.evidence-map__lane--limits { box-shadow: 4px 4px 0 var(--pink); }
.post-content .evidence-map__heading { margin: 0 0 14px; color: var(--ink); font-size: .82rem; font-weight: 800; line-height: 1.35; }
.evidence-map__heading span {
  display: block;
  width: fit-content;
  margin-bottom: 6px;
  padding: 4px 8px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font: 800 .62rem var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.evidence-map__lane--answers .evidence-map__heading span { background: var(--lime); }
.evidence-map__lane--limits .evidence-map__heading span { background: var(--pink); }
.post-content .evidence-map__lane ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.evidence-map__lane li {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: var(--ink-soft);
  font-size: .8rem;
  line-height: 1.45;
}
.evidence-map__lane li > span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--sky);
  color: var(--ink);
  font: 800 .56rem var(--mono);
}
.event-sequence {
  margin: 2.2em 0;
  padding: clamp(20px, 3vw, 30px);
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--sky);
  box-shadow: 6px 6px 0 var(--ink);
}
.event-sequence figcaption { margin-bottom: 22px; color: var(--ink); line-height: 1.55; }
.event-sequence ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.event-sequence li {
  position: relative;
  min-width: 0;
  padding: 16px 12px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 9px;
  background: var(--paper);
}
.event-sequence li:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -15px;
  width: 18px;
  color: var(--blue-dark);
  background: var(--sky);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  transform: translateY(-50%);
}
.event-sequence__number {
  display: grid;
  width: 25px;
  height: 25px;
  margin-bottom: 12px;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--pink);
  color: var(--ink);
  font: 800 .68rem var(--mono);
}
.event-sequence strong,
.event-sequence small,
.event-sequence code { display: block; }
.event-sequence strong { color: var(--ink); font-size: .9rem; line-height: 1.25; }
.event-sequence small { min-height: 3.3em; margin: 7px 0 12px; color: var(--ink-soft); font-size: .68rem; line-height: 1.45; }
.post-content .event-sequence code {
  width: fit-content;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  overflow-wrap: anywhere;
  color: var(--blue-dark);
  font-size: .66rem;
}
.post-content pre { overflow-x: auto; margin: 2em 0; padding: 20px; border: 2px solid var(--line); border-radius: 10px; background: var(--ink); box-shadow: 5px 5px 0 var(--pink); }
.post-content pre code { padding: 0; border: 0; background: transparent; color: var(--blue-soft); }
.post-content .highlight.has-code-copy { position: relative; }
.post-content .highlight.has-code-copy pre { padding-top: 54px; }
.copy-button {
  border: 1.5px solid var(--ink);
  border-radius: 7px;
  background: var(--sky);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--pink);
  cursor: pointer;
  font: 800 .68rem var(--mono);
  letter-spacing: .02em;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.code-copy-button {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  min-width: 82px;
  max-width: calc(100% - 24px);
  padding: 7px 10px;
}
.section-link-copy { min-width: 76px; margin: 3px 3px 4px 0; padding: 5px 8px; font-size: .62rem; }
.copy-button:hover { transform: translate(2px, 2px); background: var(--yellow); box-shadow: 1px 1px 0 var(--pink); }
.copy-button:active { transform: translate(3px, 3px); box-shadow: none; }
.copy-button:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.copy-button:disabled { background: var(--sky); color: #596075; cursor: not-allowed; box-shadow: 3px 3px 0 var(--ink); }
.copy-button[data-state="copied"] { background: var(--lime); }
.copy-button[data-state="error"] { background: var(--pink); }
.post-content blockquote { margin: 2em 0; padding: 16px 18px; border: 1.5px solid var(--ink); border-left: 7px solid var(--pink); border-radius: 8px; background: #fff; color: var(--ink-soft); }
.post-toc {
  position: sticky;
  top: 28px;
  max-height: calc(100vh - 56px);
  margin-top: 58px;
  overflow-y: auto;
}
.post-toc__inner {
  padding: 18px 0 18px 18px;
  border-left: 2px solid var(--line);
}
.post-toc__title {
  margin: 0 0 13px;
  color: var(--ink);
  font: 800 .72rem var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.post-toc__list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.post-toc__sublist { display: grid; gap: 1px; margin: 2px 0 4px; padding: 0; list-style: none; }
.post-toc__list a {
  display: block;
  margin-left: -20px;
  padding: 7px 8px 7px 18px;
  border-left: 3px solid transparent;
  color: var(--ink-soft);
  font-size: .74rem;
  line-height: 1.4;
  text-decoration: none;
}
.post-toc__sublist a { padding-block: 4px; padding-left: 30px; font-size: .68rem; line-height: 1.35; }
.post-toc__list a:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.post-toc__list a[aria-current="location"] { border-left-color: var(--pink); color: var(--ink); font-weight: 800; }
.post-toc__list a:focus-visible { border-radius: 2px; outline: 3px solid var(--pink); outline-offset: 2px; }
.post-nav { width: 100%; margin: 70px 0 0; padding-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; border-top: 2px solid var(--line); }
.post-nav a { padding: 16px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; text-decoration: none; }
.post-nav a:hover { background: var(--lime); box-shadow: 3px 3px 0 var(--ink); }
.post-nav a.next { text-align: right; }
.post-nav span { display: block; color: var(--ink-soft); font: .65rem var(--mono); text-transform: uppercase; }
.post-nav strong { display: block; margin-top: 4px; color: var(--ink); font-size: .78rem; }

@media (max-width: 980px) {
  .post-body { grid-template-columns: minmax(0, 1fr); }
  .post-toc { display: none; }
}

@media (max-width: 700px) {
  .blog-hero { min-height: 0; }
  .blog-hero::before { top: -170px; right: -190px; width: 460px; height: 460px; }
  .blog-hero-inner { padding-block: 60px 78px; }
  .blog-hero h1 { font-size: clamp(3rem, 15vw, 4.1rem); }
  .journal-filter__heading { align-items: stretch; flex-direction: column; gap: 15px; }
  .journal-filter__clear { width: 100%; }
  .post-list { grid-template-columns: 1fr; }
  .post-card.featured { grid-column: auto; }
  .record-map { padding: 20px 16px; }
  .record-map figcaption { margin-bottom: 28px; }
  .record-map figcaption::after { height: 30px; }
  .post-content .record-map__sources { grid-template-columns: 1fr; gap: 14px; padding-left: 20px; }
  .record-map__sources::before { top: 0; right: auto; bottom: 0; left: 0; width: 2px; height: auto; }
  .record-map__sources::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 2px;
    background: var(--ink);
  }
  .record-map__source::before { top: 22px; bottom: auto; left: -20px; width: 20px; height: 2px; }
  .record-map__source:last-child::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 24px;
    bottom: -2px;
    left: -23px;
    width: 6px;
    background: var(--sky);
  }
  .evidence-map { padding: 20px 16px; }
  .evidence-map figcaption { margin-bottom: 28px; }
  .evidence-map figcaption::after { height: 30px; }
  .evidence-map__lanes { grid-template-columns: 1fr; gap: 18px; padding-left: 20px; }
  .evidence-map__lanes::before { top: 0; right: auto; bottom: 0; left: 0; width: 2px; height: auto; }
  .evidence-map__lanes::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 2px;
    background: var(--ink);
  }
  .evidence-map__lane::before { top: 24px; bottom: auto; left: -20px; width: 20px; height: 2px; }
  .evidence-map__lane:last-child::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 26px;
    bottom: -2px;
    left: -23px;
    width: 6px;
    background: var(--sky);
  }
  .post-header { padding: 24px 20px; box-shadow: 6px 6px 0 var(--ink); }
  .post-content table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .event-sequence ol { grid-template-columns: 1fr; gap: 14px; }
  .event-sequence li { display: grid; grid-template-columns: 32px 1fr; column-gap: 10px; padding: 13px; }
  .event-sequence li:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: auto;
    bottom: -17px;
    left: 17px;
    width: 18px;
    transform: none;
  }
  .event-sequence__number { grid-row: 1 / 4; margin: 0; }
  .event-sequence small { min-height: 0; margin: 4px 0 8px; }
  .section-heading-row { gap: 8px; flex-wrap: wrap; }
  .section-heading-row,
  .section-heading-row > h2,
  .section-heading-row > h3,
  .section-link-copy { scroll-margin-top: 90px; }
  .code-copy-button { top: 10px; right: 10px; min-width: 76px; padding: 6px 9px; }
  .link-preview__body { padding: 14px; }
  .link-preview__description { font-size: .72rem; }
  .post-nav { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
