.list-page {
  padding-top: clamp(130px, 20vh, 190px);
}

.list-title {
  margin-top: 24px;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 450;
  max-width: 18ch;
}

.tl-lede {
  margin-top: 24px;
  max-width: 34rem;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
}

/* the timeline: date, a node on the line, then the model */

.tl {
  --date: 96px;
  --gutter-w: 80px;
  position: relative;
  margin-top: clamp(56px, 9vh, 96px);
  padding: 0;
  list-style: none;
}

.tl-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--date) + var(--gutter-w) / 2);
  width: 1px;
  background: var(--line);
}

.tl-fill {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform-origin: 50% 0;
  transform: scaleY(0);
}

.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: var(--date) var(--gutter-w) minmax(0, 40rem);
  align-items: start;
  padding-bottom: clamp(56px, 9vh, 96px);
}

.tl-item:last-of-type {
  padding-bottom: 0;
}

.tl-date {
  padding-top: 10px;
  color: var(--ink-2);
}

.tl-day {
  display: block;
  margin-top: 2px;
  color: var(--ink-3);
}

/* each dot is sized by the cube root of the model's parameters */
.tl-node {
  --s: 8px;
  justify-self: center;
  width: var(--s);
  height: var(--s);
  margin-top: calc(22px - var(--s) / 2);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 6px var(--bg);
  transform: scale(0.25);
  opacity: 0.35;
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.tl-node.tiny {
  margin-top: 18px;
}

.tl-node.lit {
  transform: none;
  opacity: 1;
}

@media (hover: hover) {
  .tl-item:hover .tl-node.lit {
    transform: scale(1.15);
  }
}

/* same weights as lilbase, finetuned, so the same size but hollow */
.tl-node.ring {
  background: var(--bg);
  box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 6px var(--bg);
}

/* the newest one */
.tl-node.latest {
  background: var(--accent);
}

.tl-name {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 450;
}

.tl-name a {
  display: inline-block;
  transition: transform 0.6s var(--ease);
}

.tl-name a:hover {
  transform: translateX(8px);
}

.tl-text {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
}

.tl-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.tl-facts span {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.tl-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
}

.tl-links a,
.tl-after a {
  color: var(--ink-2);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: color 0.2s ease, background-size 0.4s var(--ease);
}

.tl-links a:hover,
.tl-after a:hover {
  color: var(--ink);
  background-size: 0% 1px;
  background-position: 100% 100%;
}

.tl-after {
  margin-top: clamp(56px, 9vh, 96px);
  max-width: 34rem;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-3);
}

.tl-after a {
  color: var(--ink);
}

@media (max-width: 700px) {
  .tl {
    --gutter-w: 48px;
  }

  .tl-line {
    left: calc(var(--gutter-w) / 2);
  }

  .tl-item {
    grid-template-columns: var(--gutter-w) minmax(0, 1fr);
  }

  .tl-date {
    grid-column: 2;
    grid-row: 1;
    padding-top: 0;
  }

  .tl-day {
    display: inline;
    margin: 0 0 0 10px;
  }

  .tl-node {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: calc(var(--s) * 0.6);
    height: calc(var(--s) * 0.6);
    margin-top: calc(10px - var(--s) * 0.3);
  }

  .tl-node.tiny {
    width: 7px;
    height: 7px;
    margin-top: 7px;
  }

  .tl-body {
    grid-column: 2;
    margin-top: 6px;
  }
}

/* without the script the whole line is drawn and every dot is there */
html:not(.js) .tl-fill {
  transform: none;
}

html:not(.js) .tl-node {
  transform: none;
  opacity: 1;
}
