/* The changelog in the front page's look: its bar and its footer as the front page has them (hero.css, base.css, nav.css), and between them a quiet page on paper:
   an eyebrow, a heading and a line, then the entries on a thread, one square to each, the way the front page draws a connection. The words are in the markup. */
.cl-page { display: flex; flex-direction: column; min-height: 100vh; background: var(--th-bg); }
@supports (height: 100svh) { .cl-page { min-height: 100svh; } }
.cl-page > .site-header { flex: none; }
.cl-page > .foot { flex: none; }

.cl { flex: 1 0 auto; background: var(--th-bg); color: var(--th-fg);
  --cl-ink: var(--th-fg); --cl-ink-2: var(--th-fg-2); --cl-hair: var(--th-hair); --cl-date-w: 11.5rem; --cl-gap: 2.5rem; }
.cl-wrap { padding: clamp(56px, 10vh, 104px) var(--padding) clamp(72px, 12vh, 140px); }

/* the heading, the line under it, at the front page's section scale */
.cl-head { margin-bottom: clamp(44px, 8vh, 80px); }
.cl-eyebrow { margin: 0 0 14px; font: 500 12px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cl-ink-2); }
.cl-title { margin: 0 0 12px; font: 500 clamp(30px, 3.6vw, 48px)/1 var(--display); letter-spacing: -.05em; color: var(--cl-ink); }
.cl-lead { margin: 12px 0 0; max-width: 52ch; font: 400 17px/1.5 var(--body); letter-spacing: 0; color: var(--cl-ink-2); }
.cl-lead a { color: var(--cl-ink); text-decoration: none; padding-bottom: 1px; border-bottom: 1px solid var(--cl-hair); transition: border-color .2s ease; }
.cl-lead a:hover, .cl-lead a:focus-visible { border-bottom-color: currentColor; }

/* the thread: a hairline down the page, a square on it for each entry (the newest filled), fading out below the last */
.cl-list { list-style: none; margin: 0; padding: 0; }
.cl-entry { position: relative; display: grid; grid-template-columns: var(--cl-date-w) minmax(0, 1fr); column-gap: var(--cl-gap); padding-bottom: clamp(40px, 7vh, 64px); scroll-margin-top: calc(var(--bar-h) + 30px); }
.cl-entry::before { content: ""; position: absolute; left: calc(var(--cl-date-w) + var(--cl-gap) / 2); top: 16px; bottom: -16px; width: 1px; margin-left: -.5px; background: var(--cl-hair); }
.cl-entry:last-child::before { bottom: auto; height: 96px; background: linear-gradient(to bottom, var(--cl-hair), transparent); }
.cl-entry::after { content: ""; position: absolute; left: calc(var(--cl-date-w) + var(--cl-gap) / 2); top: 10px; width: 11px; height: 11px; margin-left: -5.5px; box-sizing: border-box; background: var(--th-bg); border: 1.5px solid var(--cl-ink); transition: background .2s ease, box-shadow .2s ease; }
.cl-entry:first-child::after, .cl-entry:target::after { background: var(--cl-ink); }
.cl-entry:target::after { box-shadow: 0 0 0 4px rgb(var(--th-fg-rgb) / .12); }

/* what an entry says: its day, then what is true from that day, then what it means */
.cl-date { padding-top: 9px; font: 500 12.5px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cl-ink-2); white-space: nowrap; }
.cl-body h3 { margin: 0 0 14px; font: 500 clamp(22px, 2.3vw, 30px)/1.15 var(--display); letter-spacing: -.035em; color: var(--cl-ink); text-wrap: balance; }
.cl-body p { margin: 0; max-width: 62ch; font: 400 17px/1.6 var(--body); letter-spacing: 0; color: var(--cl-ink-2); }
.cl-body p + p { margin-top: 14px; }

/* a narrow screen: the thread stands at the left edge and the day goes over the heading */
@media (max-width: 720px) {
  .cl-entry { grid-template-columns: minmax(0, 1fr); padding-left: 30px; }
  .cl-entry::before { left: 5.5px; top: 8px; bottom: -8px; }
  .cl-entry::after { left: 5.5px; top: 2px; }
  .cl-date { padding-top: 0; margin-bottom: 10px; }
}

@media (prefers-reduced-motion: no-preference) {
  .cl-head > *, .cl-list { animation: cl-in .8s cubic-bezier(.22, .8, .24, 1) both; }
  .cl-title { animation-delay: .05s; }
  .cl-lead { animation-delay: .1s; }
  .cl-list { animation-delay: .2s; }
}
@keyframes cl-in { from { opacity: 0; transform: translateY(10px); } }
